Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
344 changes: 6 additions & 338 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The `cloudbeds_pms_v1_3` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v1.3
- Package version: 1.7.0
- Package version: 1.8.0
- Generator version: 7.11.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down Expand Up @@ -338,8 +338,9 @@ Class | Method | HTTP request | Description
- [GetReservationsResponseDataInnerRoomsInner](cloudbeds_pms_v1_3/docs/GetReservationsResponseDataInnerRoomsInner.md)
- [GetReservationsWithRateDetailsResponse](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponse.md)
- [GetReservationsWithRateDetailsResponseDataInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInner.md)
- [GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed.md)
- [GetReservationsWithRateDetailsResponseDataInnerRoomsInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerRoomsInner.md)
- [GetReservationsWithRateDetailsResponseDataInnerSourceInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerSourceInner.md)
- [GetReservationsWithRateDetailsResponseDataInnerSource](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerSource.md)
- [GetRoomBlocksResponse](cloudbeds_pms_v1_3/docs/GetRoomBlocksResponse.md)
- [GetRoomBlocksResponseDataInner](cloudbeds_pms_v1_3/docs/GetRoomBlocksResponseDataInner.md)
- [GetRoomTypesResponse](cloudbeds_pms_v1_3/docs/GetRoomTypesResponse.md)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0
1.8.0
5 changes: 3 additions & 2 deletions cloudbeds_pms_v1_3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
""" # noqa: E501


__version__ = "1.7.0"
__version__ = "1.8.0"

# import apis into sdk package
from cloudbeds_pms_v1_3.api.adjustment_api import AdjustmentApi
Expand Down Expand Up @@ -193,8 +193,9 @@
from cloudbeds_pms_v1_3.models.get_reservations_response_data_inner_rooms_inner import GetReservationsResponseDataInnerRoomsInner
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response import GetReservationsWithRateDetailsResponse
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner import GetReservationsWithRateDetailsResponseDataInner
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_balance_detailed import GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_rooms_inner import GetReservationsWithRateDetailsResponseDataInnerRoomsInner
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_source_inner import GetReservationsWithRateDetailsResponseDataInnerSourceInner
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_source import GetReservationsWithRateDetailsResponseDataInnerSource
from cloudbeds_pms_v1_3.models.get_room_blocks_response import GetRoomBlocksResponse
from cloudbeds_pms_v1_3.models.get_room_blocks_response_data_inner import GetRoomBlocksResponseDataInner
from cloudbeds_pms_v1_3.models.get_room_types_response import GetRoomTypesResponse
Expand Down
32 changes: 32 additions & 0 deletions cloudbeds_pms_v1_3/api/allotment_blocks_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ def _create_allotment_block_notes_post_serialize(
def create_allotment_block_post(
self,
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
Expand Down Expand Up @@ -386,6 +387,8 @@ def create_allotment_block_post(

:param group_code: The unique identifier of the group profile the allotment block should be created
:type group_code: str
:param event_code: The unique identifier of the event the allotment block should be created
:type event_code: str
:param allotment_block_name: The name for the allotment block
:type allotment_block_name: str
:param rate_type: The rate type for the associated intervals
Expand Down Expand Up @@ -426,6 +429,7 @@ def create_allotment_block_post(

_param = self._create_allotment_block_post_serialize(
group_code=group_code,
event_code=event_code,
allotment_block_name=allotment_block_name,
rate_type=rate_type,
rate_plan_id=rate_plan_id,
Expand Down Expand Up @@ -458,6 +462,7 @@ def create_allotment_block_post(
def create_allotment_block_post_with_http_info(
self,
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
Expand Down Expand Up @@ -485,6 +490,8 @@ def create_allotment_block_post_with_http_info(

:param group_code: The unique identifier of the group profile the allotment block should be created
:type group_code: str
:param event_code: The unique identifier of the event the allotment block should be created
:type event_code: str
:param allotment_block_name: The name for the allotment block
:type allotment_block_name: str
:param rate_type: The rate type for the associated intervals
Expand Down Expand Up @@ -525,6 +532,7 @@ def create_allotment_block_post_with_http_info(

_param = self._create_allotment_block_post_serialize(
group_code=group_code,
event_code=event_code,
allotment_block_name=allotment_block_name,
rate_type=rate_type,
rate_plan_id=rate_plan_id,
Expand Down Expand Up @@ -557,6 +565,7 @@ def create_allotment_block_post_with_http_info(
def create_allotment_block_post_without_preload_content(
self,
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
Expand Down Expand Up @@ -584,6 +593,8 @@ def create_allotment_block_post_without_preload_content(

:param group_code: The unique identifier of the group profile the allotment block should be created
:type group_code: str
:param event_code: The unique identifier of the event the allotment block should be created
:type event_code: str
:param allotment_block_name: The name for the allotment block
:type allotment_block_name: str
:param rate_type: The rate type for the associated intervals
Expand Down Expand Up @@ -624,6 +635,7 @@ def create_allotment_block_post_without_preload_content(

_param = self._create_allotment_block_post_serialize(
group_code=group_code,
event_code=event_code,
allotment_block_name=allotment_block_name,
rate_type=rate_type,
rate_plan_id=rate_plan_id,
Expand Down Expand Up @@ -651,6 +663,7 @@ def create_allotment_block_post_without_preload_content(
def _create_allotment_block_post_serialize(
self,
group_code,
event_code,
allotment_block_name,
rate_type,
rate_plan_id,
Expand Down Expand Up @@ -686,6 +699,8 @@ def _create_allotment_block_post_serialize(
# process the form parameters
if group_code is not None:
_form_params.append(('groupCode', group_code))
if event_code is not None:
_form_params.append(('eventCode', event_code))
if allotment_block_name is not None:
_form_params.append(('allotmentBlockName', allotment_block_name))
if rate_type is not None:
Expand Down Expand Up @@ -1033,6 +1048,7 @@ def get_allotment_blocks_get(
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
Expand Down Expand Up @@ -1066,6 +1082,8 @@ def get_allotment_blocks_get(
:type allotment_block_name: str
:param group_code: A group profile code
:type group_code: str
:param event_code: An event code
:type event_code: str
:param allotment_block_status: Allotment block status(es)
:type allotment_block_status: str
:param allotment_block_type: The type of allotment block
Expand Down Expand Up @@ -1109,6 +1127,7 @@ def get_allotment_blocks_get(
allotment_block_code=allotment_block_code,
allotment_block_name=allotment_block_name,
group_code=group_code,
event_code=event_code,
allotment_block_status=allotment_block_status,
allotment_block_type=allotment_block_type,
room_type_id=room_type_id,
Expand Down Expand Up @@ -1144,6 +1163,7 @@ def get_allotment_blocks_get_with_http_info(
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
Expand Down Expand Up @@ -1177,6 +1197,8 @@ def get_allotment_blocks_get_with_http_info(
:type allotment_block_name: str
:param group_code: A group profile code
:type group_code: str
:param event_code: An event code
:type event_code: str
:param allotment_block_status: Allotment block status(es)
:type allotment_block_status: str
:param allotment_block_type: The type of allotment block
Expand Down Expand Up @@ -1220,6 +1242,7 @@ def get_allotment_blocks_get_with_http_info(
allotment_block_code=allotment_block_code,
allotment_block_name=allotment_block_name,
group_code=group_code,
event_code=event_code,
allotment_block_status=allotment_block_status,
allotment_block_type=allotment_block_type,
room_type_id=room_type_id,
Expand Down Expand Up @@ -1255,6 +1278,7 @@ def get_allotment_blocks_get_without_preload_content(
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
Expand Down Expand Up @@ -1288,6 +1312,8 @@ def get_allotment_blocks_get_without_preload_content(
:type allotment_block_name: str
:param group_code: A group profile code
:type group_code: str
:param event_code: An event code
:type event_code: str
:param allotment_block_status: Allotment block status(es)
:type allotment_block_status: str
:param allotment_block_type: The type of allotment block
Expand Down Expand Up @@ -1331,6 +1357,7 @@ def get_allotment_blocks_get_without_preload_content(
allotment_block_code=allotment_block_code,
allotment_block_name=allotment_block_name,
group_code=group_code,
event_code=event_code,
allotment_block_status=allotment_block_status,
allotment_block_type=allotment_block_type,
room_type_id=room_type_id,
Expand Down Expand Up @@ -1361,6 +1388,7 @@ def _get_allotment_blocks_get_serialize(
allotment_block_code,
allotment_block_name,
group_code,
event_code,
allotment_block_status,
allotment_block_type,
room_type_id,
Expand Down Expand Up @@ -1407,6 +1435,10 @@ def _get_allotment_blocks_get_serialize(

_query_params.append(('groupCode', group_code))

if event_code is not None:

_query_params.append(('eventCode', event_code))

if allotment_block_status is not None:

_query_params.append(('allotmentBlockStatus', allotment_block_status))
Expand Down
Loading