Skip to content

Commit 500c664

Browse files
committed
feat: v1.8.0
1 parent 54e42e2 commit 500c664

36 files changed

Lines changed: 522 additions & 397 deletions

.openapi-generator/FILES

Lines changed: 6 additions & 338 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
The `cloudbeds_pms_v1_3` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v1.3
7-
- Package version: 1.7.0
7+
- Package version: 1.8.0
88
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -338,8 +338,9 @@ Class | Method | HTTP request | Description
338338
- [GetReservationsResponseDataInnerRoomsInner](cloudbeds_pms_v1_3/docs/GetReservationsResponseDataInnerRoomsInner.md)
339339
- [GetReservationsWithRateDetailsResponse](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponse.md)
340340
- [GetReservationsWithRateDetailsResponseDataInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInner.md)
341+
- [GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed.md)
341342
- [GetReservationsWithRateDetailsResponseDataInnerRoomsInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerRoomsInner.md)
342-
- [GetReservationsWithRateDetailsResponseDataInnerSourceInner](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerSourceInner.md)
343+
- [GetReservationsWithRateDetailsResponseDataInnerSource](cloudbeds_pms_v1_3/docs/GetReservationsWithRateDetailsResponseDataInnerSource.md)
343344
- [GetRoomBlocksResponse](cloudbeds_pms_v1_3/docs/GetRoomBlocksResponse.md)
344345
- [GetRoomBlocksResponseDataInner](cloudbeds_pms_v1_3/docs/GetRoomBlocksResponseDataInner.md)
345346
- [GetRoomTypesResponse](cloudbeds_pms_v1_3/docs/GetRoomTypesResponse.md)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0
1+
1.8.0

cloudbeds_pms_v1_3/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.7.0"
17+
__version__ = "1.8.0"
1818

1919
# import apis into sdk package
2020
from cloudbeds_pms_v1_3.api.adjustment_api import AdjustmentApi
@@ -193,8 +193,9 @@
193193
from cloudbeds_pms_v1_3.models.get_reservations_response_data_inner_rooms_inner import GetReservationsResponseDataInnerRoomsInner
194194
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response import GetReservationsWithRateDetailsResponse
195195
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner import GetReservationsWithRateDetailsResponseDataInner
196+
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_balance_detailed import GetReservationsWithRateDetailsResponseDataInnerBalanceDetailed
196197
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_rooms_inner import GetReservationsWithRateDetailsResponseDataInnerRoomsInner
197-
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_source_inner import GetReservationsWithRateDetailsResponseDataInnerSourceInner
198+
from cloudbeds_pms_v1_3.models.get_reservations_with_rate_details_response_data_inner_source import GetReservationsWithRateDetailsResponseDataInnerSource
198199
from cloudbeds_pms_v1_3.models.get_room_blocks_response import GetRoomBlocksResponse
199200
from cloudbeds_pms_v1_3.models.get_room_blocks_response_data_inner import GetRoomBlocksResponseDataInner
200201
from cloudbeds_pms_v1_3.models.get_room_types_response import GetRoomTypesResponse

cloudbeds_pms_v1_3/api/allotment_blocks_api.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ def _create_allotment_block_notes_post_serialize(
359359
def create_allotment_block_post(
360360
self,
361361
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
362+
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
362363
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
363364
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
364365
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
@@ -386,6 +387,8 @@ def create_allotment_block_post(
386387
387388
:param group_code: The unique identifier of the group profile the allotment block should be created
388389
:type group_code: str
390+
:param event_code: The unique identifier of the event the allotment block should be created
391+
:type event_code: str
389392
:param allotment_block_name: The name for the allotment block
390393
:type allotment_block_name: str
391394
:param rate_type: The rate type for the associated intervals
@@ -426,6 +429,7 @@ def create_allotment_block_post(
426429

427430
_param = self._create_allotment_block_post_serialize(
428431
group_code=group_code,
432+
event_code=event_code,
429433
allotment_block_name=allotment_block_name,
430434
rate_type=rate_type,
431435
rate_plan_id=rate_plan_id,
@@ -458,6 +462,7 @@ def create_allotment_block_post(
458462
def create_allotment_block_post_with_http_info(
459463
self,
460464
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
465+
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
461466
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
462467
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
463468
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
@@ -485,6 +490,8 @@ def create_allotment_block_post_with_http_info(
485490
486491
:param group_code: The unique identifier of the group profile the allotment block should be created
487492
:type group_code: str
493+
:param event_code: The unique identifier of the event the allotment block should be created
494+
:type event_code: str
488495
:param allotment_block_name: The name for the allotment block
489496
:type allotment_block_name: str
490497
:param rate_type: The rate type for the associated intervals
@@ -525,6 +532,7 @@ def create_allotment_block_post_with_http_info(
525532

526533
_param = self._create_allotment_block_post_serialize(
527534
group_code=group_code,
535+
event_code=event_code,
528536
allotment_block_name=allotment_block_name,
529537
rate_type=rate_type,
530538
rate_plan_id=rate_plan_id,
@@ -557,6 +565,7 @@ def create_allotment_block_post_with_http_info(
557565
def create_allotment_block_post_without_preload_content(
558566
self,
559567
group_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the group profile the allotment block should be created")] = None,
568+
event_code: Annotated[Optional[StrictStr], Field(description="The unique identifier of the event the allotment block should be created")] = None,
560569
allotment_block_name: Annotated[Optional[StrictStr], Field(description="The name for the allotment block")] = None,
561570
rate_type: Annotated[Optional[StrictStr], Field(description="The rate type for the associated intervals")] = None,
562571
rate_plan_id: Annotated[Optional[StrictStr], Field(description="The rate plan ID. Required if rateType is \\\"rate_plan\\\".")] = None,
@@ -584,6 +593,8 @@ def create_allotment_block_post_without_preload_content(
584593
585594
:param group_code: The unique identifier of the group profile the allotment block should be created
586595
:type group_code: str
596+
:param event_code: The unique identifier of the event the allotment block should be created
597+
:type event_code: str
587598
:param allotment_block_name: The name for the allotment block
588599
:type allotment_block_name: str
589600
:param rate_type: The rate type for the associated intervals
@@ -624,6 +635,7 @@ def create_allotment_block_post_without_preload_content(
624635

625636
_param = self._create_allotment_block_post_serialize(
626637
group_code=group_code,
638+
event_code=event_code,
627639
allotment_block_name=allotment_block_name,
628640
rate_type=rate_type,
629641
rate_plan_id=rate_plan_id,
@@ -651,6 +663,7 @@ def create_allotment_block_post_without_preload_content(
651663
def _create_allotment_block_post_serialize(
652664
self,
653665
group_code,
666+
event_code,
654667
allotment_block_name,
655668
rate_type,
656669
rate_plan_id,
@@ -686,6 +699,8 @@ def _create_allotment_block_post_serialize(
686699
# process the form parameters
687700
if group_code is not None:
688701
_form_params.append(('groupCode', group_code))
702+
if event_code is not None:
703+
_form_params.append(('eventCode', event_code))
689704
if allotment_block_name is not None:
690705
_form_params.append(('allotmentBlockName', allotment_block_name))
691706
if rate_type is not None:
@@ -1033,6 +1048,7 @@ def get_allotment_blocks_get(
10331048
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
10341049
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
10351050
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
1051+
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
10361052
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
10371053
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
10381054
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
@@ -1066,6 +1082,8 @@ def get_allotment_blocks_get(
10661082
:type allotment_block_name: str
10671083
:param group_code: A group profile code
10681084
:type group_code: str
1085+
:param event_code: An event code
1086+
:type event_code: str
10691087
:param allotment_block_status: Allotment block status(es)
10701088
:type allotment_block_status: str
10711089
:param allotment_block_type: The type of allotment block
@@ -1109,6 +1127,7 @@ def get_allotment_blocks_get(
11091127
allotment_block_code=allotment_block_code,
11101128
allotment_block_name=allotment_block_name,
11111129
group_code=group_code,
1130+
event_code=event_code,
11121131
allotment_block_status=allotment_block_status,
11131132
allotment_block_type=allotment_block_type,
11141133
room_type_id=room_type_id,
@@ -1144,6 +1163,7 @@ def get_allotment_blocks_get_with_http_info(
11441163
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
11451164
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
11461165
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
1166+
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
11471167
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
11481168
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
11491169
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
@@ -1177,6 +1197,8 @@ def get_allotment_blocks_get_with_http_info(
11771197
:type allotment_block_name: str
11781198
:param group_code: A group profile code
11791199
:type group_code: str
1200+
:param event_code: An event code
1201+
:type event_code: str
11801202
:param allotment_block_status: Allotment block status(es)
11811203
:type allotment_block_status: str
11821204
:param allotment_block_type: The type of allotment block
@@ -1220,6 +1242,7 @@ def get_allotment_blocks_get_with_http_info(
12201242
allotment_block_code=allotment_block_code,
12211243
allotment_block_name=allotment_block_name,
12221244
group_code=group_code,
1245+
event_code=event_code,
12231246
allotment_block_status=allotment_block_status,
12241247
allotment_block_type=allotment_block_type,
12251248
room_type_id=room_type_id,
@@ -1255,6 +1278,7 @@ def get_allotment_blocks_get_without_preload_content(
12551278
allotment_block_code: Annotated[Optional[StrictStr], Field(description="Allotment block code")] = None,
12561279
allotment_block_name: Annotated[Optional[StrictStr], Field(description="Allotment block name")] = None,
12571280
group_code: Annotated[Optional[StrictStr], Field(description="A group profile code")] = None,
1281+
event_code: Annotated[Optional[StrictStr], Field(description="An event code")] = None,
12581282
allotment_block_status: Annotated[Optional[StrictStr], Field(description="Allotment block status(es)")] = None,
12591283
allotment_block_type: Annotated[Optional[StrictStr], Field(description="The type of allotment block")] = None,
12601284
room_type_id: Annotated[Optional[StrictStr], Field(description="Filters allotment blocks with the supplied Room Type ID.")] = None,
@@ -1288,6 +1312,8 @@ def get_allotment_blocks_get_without_preload_content(
12881312
:type allotment_block_name: str
12891313
:param group_code: A group profile code
12901314
:type group_code: str
1315+
:param event_code: An event code
1316+
:type event_code: str
12911317
:param allotment_block_status: Allotment block status(es)
12921318
:type allotment_block_status: str
12931319
:param allotment_block_type: The type of allotment block
@@ -1331,6 +1357,7 @@ def get_allotment_blocks_get_without_preload_content(
13311357
allotment_block_code=allotment_block_code,
13321358
allotment_block_name=allotment_block_name,
13331359
group_code=group_code,
1360+
event_code=event_code,
13341361
allotment_block_status=allotment_block_status,
13351362
allotment_block_type=allotment_block_type,
13361363
room_type_id=room_type_id,
@@ -1361,6 +1388,7 @@ def _get_allotment_blocks_get_serialize(
13611388
allotment_block_code,
13621389
allotment_block_name,
13631390
group_code,
1391+
event_code,
13641392
allotment_block_status,
13651393
allotment_block_type,
13661394
room_type_id,
@@ -1407,6 +1435,10 @@ def _get_allotment_blocks_get_serialize(
14071435

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

1438+
if event_code is not None:
1439+
1440+
_query_params.append(('eventCode', event_code))
1441+
14101442
if allotment_block_status is not None:
14111443

14121444
_query_params.append(('allotmentBlockStatus', allotment_block_status))

0 commit comments

Comments
 (0)