cloudbeds-pms 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloudbeds_pms-2.0.0/LICENSE +21 -0
- cloudbeds_pms-2.0.0/PKG-INFO +206 -0
- cloudbeds_pms-2.0.0/README.md +154 -0
- cloudbeds_pms-2.0.0/VERSION +1 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/__init__.py +74 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api/__init__.py +7 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api/doorlock_keys_api.py +1229 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api/doorlock_settings_api.py +866 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api/housekeeping_api.py +353 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api_client.py +797 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/api_response.py +21 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/configuration.py +603 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/exceptions.py +199 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/__init__.py +55 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/bad_request_error_item_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/bad_request_response_schema.py +98 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/bad_request_response_schema_errors.py +133 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/body_dynamic_filter_schema.py +96 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/body_dynamic_filter_schema_filters.py +129 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/cursor_pagination_schema.py +94 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/direction_enum_schema.py +37 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_create_request_schema.py +150 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_failed_to_generate_response_schema.py +87 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_list_request_schema.py +99 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_list_response_schema.py +105 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_response_schema.py +151 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_key_update_request_schema.py +109 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_common_room_request_schema.py +91 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_common_room_response_schema.py +91 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_create_request_schema.py +115 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_encoder_request_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_encoder_response_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_key_type_request_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_key_type_response_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/door_lock_settings_response_schema.py +115 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/dynamic_filter_field_schema.py +101 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/dynamic_filter_field_schema_value.py +269 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/dynamic_filter_schema.py +106 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/dynamic_filter_schema_and_inner.py +139 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/feature_enum.py +37 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/filter_operator_enum_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/forbidden_response_schema.py +87 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/inspection_item_schema.py +114 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/inspection_list_request_schema.py +100 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/inspection_list_response_schema.py +99 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/internal_server_error_response_schema.py +87 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/limit_offset_pagination_schema.py +89 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/not_found_response_schema.py +87 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/query_parameter_dynamic_filter_schema.py +96 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/query_parameter_dynamic_filter_schema_filters.py +129 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/query_parameter_sort_schema.py +91 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/sort_field_schema.py +90 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/models/sort_schema.py +95 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/rest.py +257 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/__init__.py +0 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_bad_request_error_item_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_bad_request_response_schema.py +53 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_bad_request_response_schema_errors.py +50 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_body_dynamic_filter_schema.py +51 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_body_dynamic_filter_schema_filters.py +56 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_cursor_pagination_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_direction_enum_schema.py +33 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_create_request_schema.py +72 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_failed_to_generate_response_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_list_request_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_list_response_schema.py +104 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_response_schema.py +88 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_key_update_request_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_common_room_request_schema.py +60 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_common_room_response_schema.py +60 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_create_request_schema.py +86 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_encoder_request_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_encoder_response_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_key_type_request_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_key_type_response_schema.py +54 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_door_lock_settings_response_schema.py +86 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_doorlock_keys_api.py +59 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_doorlock_settings_api.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_dynamic_filter_field_schema.py +53 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_dynamic_filter_field_schema_value.py +50 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_dynamic_filter_schema.py +56 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_dynamic_filter_schema_and_inner.py +59 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_feature_enum.py +33 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_filter_operator_enum_schema.py +33 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_forbidden_response_schema.py +51 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_housekeeping_api.py +38 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_inspection_item_schema.py +73 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_inspection_list_request_schema.py +53 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_inspection_list_response_schema.py +84 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_internal_server_error_response_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_limit_offset_pagination_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_not_found_response_schema.py +51 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_query_parameter_dynamic_filter_schema.py +51 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_query_parameter_dynamic_filter_schema_filters.py +56 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_query_parameter_sort_schema.py +59 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_sort_field_schema.py +52 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms/test/test_sort_schema.py +55 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms.egg-info/PKG-INFO +206 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms.egg-info/SOURCES.txt +102 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms.egg-info/dependency_links.txt +1 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms.egg-info/requires.txt +8 -0
- cloudbeds_pms-2.0.0/cloudbeds_pms.egg-info/top_level.txt +2 -0
- cloudbeds_pms-2.0.0/pyproject.toml +60 -0
- cloudbeds_pms-2.0.0/setup.cfg +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Cloudbeds (http://cloudbeds.com)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: cloudbeds_pms
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: OpenAPI client for Cloudbeds PMS API.
|
|
5
|
+
Author: Cloudbeds
|
|
6
|
+
License: The MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2025 Cloudbeds (http://cloudbeds.com)
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in
|
|
18
|
+
all copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
26
|
+
THE SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Documentation, https://github.com/cloudbeds/cloudbeds-api-python#README
|
|
29
|
+
Project-URL: Repository, https://github.com/cloudbeds/cloudbeds-api-python
|
|
30
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
31
|
+
Classifier: Intended Audience :: Developers
|
|
32
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
33
|
+
Classifier: Operating System :: OS Independent
|
|
34
|
+
Classifier: Programming Language :: Python :: 3
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
41
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
42
|
+
Requires-Python: >=3.8
|
|
43
|
+
Description-Content-Type: text/markdown
|
|
44
|
+
License-File: LICENSE
|
|
45
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
46
|
+
Requires-Dist: python-dateutil<3.0.0,>=2.8.2
|
|
47
|
+
Requires-Dist: pydantic>=2
|
|
48
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
49
|
+
Provides-Extra: testing
|
|
50
|
+
Requires-Dist: pytest; extra == "testing"
|
|
51
|
+
Requires-Dist: coverage; extra == "testing"
|
|
52
|
+
|
|
53
|
+
# Cloudbeds PMS
|
|
54
|
+
<p>Welcome to the documentation for <strong>Cloudbeds API Version v2</strong>! If you are looking to learn how to use the Cloudbeds API to access guest information, reservations, or similar data for your Cloudbeds customers, then you've come to the right place.</p><p>In this document you will find all the API methods we provide along with explanations for parameters and response examples.</p><p>If you have questions about different implementation steps (e.g. how to implement OAuth 2.0), please refer to our <a href='https://integrations.cloudbeds.com/hc/en-us'>Integrations Portal</a>.</p><p>Be sure to <a href='https://go.pardot.com/l/308041/2018-07-24/qb2lg'>subscribe</a> to the monthly Cloudbeds API announcement mailing list to receive information on new additions and improvements to the Cloudbeds API and related developer tools.</p><p><strong>Endpoint:</strong> https://api.cloudbeds.com/{method}</p><p><strong>HTTPS:</strong> Our API requires HTTPS. We'll respond with an appropriate error if you're not using it.</p><p><strong>Request Format:</strong> HTTP GET, POST and PUT (Content-Type: application/x-www-form-urlencoded)</p><p><strong>Response Format:</strong> JSON</p><p><strong>Response Header:</strong> X-Request-ID is added to response headers in all calls to help accelerate support and troubleshooting.</p><p><strong><a href='https://integrations.cloudbeds.com/hc/en-us/articles/14104678058267-API-Documentation#postman-collection'><img src='https://run.pstmn.io/button.svg' alt='Run in Postman'></a></strong> use this link to access our Public collection in Postman.</p>
|
|
55
|
+
|
|
56
|
+
The `cloudbeds_pms` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
57
|
+
|
|
58
|
+
- API version: v2
|
|
59
|
+
- Package version: 2.0.0
|
|
60
|
+
- Generator version: 7.10.0
|
|
61
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
62
|
+
|
|
63
|
+
## Requirements.
|
|
64
|
+
|
|
65
|
+
Python 3.8+
|
|
66
|
+
|
|
67
|
+
## Installation & Usage
|
|
68
|
+
|
|
69
|
+
This python library package is generated without supporting files like setup.py or requirements files
|
|
70
|
+
|
|
71
|
+
To be able to use it, you will need these dependencies in your own package that uses this library:
|
|
72
|
+
|
|
73
|
+
* urllib3 >= 1.25.3, < 3.0.0
|
|
74
|
+
* python-dateutil >= 2.8.2
|
|
75
|
+
* pydantic >= 2
|
|
76
|
+
* typing-extensions >= 4.7.1
|
|
77
|
+
|
|
78
|
+
## Getting Started
|
|
79
|
+
|
|
80
|
+
In your own code, to use this library to connect and interact with Cloudbeds PMS,
|
|
81
|
+
you can run the following:
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
|
|
85
|
+
import cloudbeds_pms
|
|
86
|
+
from cloudbeds_pms.rest import ApiException
|
|
87
|
+
from pprint import pprint
|
|
88
|
+
|
|
89
|
+
# Defining the host is optional and defaults to https://api.cloudbeds.com
|
|
90
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
91
|
+
configuration = cloudbeds_pms.Configuration(
|
|
92
|
+
host = "https://api.cloudbeds.com"
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
# The client must configure the authentication and authorization parameters
|
|
96
|
+
# in accordance with the API server security policy.
|
|
97
|
+
# Examples for each auth method are provided below, use the example that
|
|
98
|
+
# satisfies your auth use case.
|
|
99
|
+
|
|
100
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Enter a context with an instance of the API client
|
|
104
|
+
with cloudbeds_pms.ApiClient(configuration) as api_client:
|
|
105
|
+
# Create an instance of the API class
|
|
106
|
+
api_instance = cloudbeds_pms.DoorlockKeysApi(api_client)
|
|
107
|
+
door_lock_key_create_request_schema = cloudbeds_pms.DoorLockKeyCreateRequestSchema() # DoorLockKeyCreateRequestSchema | Key data
|
|
108
|
+
|
|
109
|
+
try:
|
|
110
|
+
# Create a new doorlock key.
|
|
111
|
+
api_response = api_instance.door_lock_key_controller_create(door_lock_key_create_request_schema)
|
|
112
|
+
print("The response of DoorlockKeysApi->door_lock_key_controller_create:\n")
|
|
113
|
+
pprint(api_response)
|
|
114
|
+
except ApiException as e:
|
|
115
|
+
print("Exception when calling DoorlockKeysApi->door_lock_key_controller_create: %s\n" % e)
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Documentation for API Endpoints
|
|
120
|
+
|
|
121
|
+
All URIs are relative to *https://api.cloudbeds.com*
|
|
122
|
+
|
|
123
|
+
Class | Method | HTTP request | Description
|
|
124
|
+
------------ | ------------- | ------------- | -------------
|
|
125
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_create**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_create) | **POST** /doorlock/v1/keys | Create a new doorlock key.
|
|
126
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_delete**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_delete) | **DELETE** /doorlock/v1/keys/{id} | Delete a doorlock key.
|
|
127
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_index**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_index) | **GET** /doorlock/v1/keys/{propertyId} | Get a list of doorlock keys for a specific app client and property.
|
|
128
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_update**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_update) | **PATCH** /doorlock/v1/keys/{id} | Update a doorlock key.
|
|
129
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_delete**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_delete) | **DELETE** /doorlock/v1/settings/{propertyId} | Delete doorlock settings for property for specific application client.
|
|
130
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_single**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_single) | **GET** /doorlock/v1/settings/{propertyId} | Get doorlock settings for property for specific application client.
|
|
131
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_upsert**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_upsert) | **PUT** /doorlock/v1/settings/{propertyId} | Upsert doorlock settings for property for specific application client.
|
|
132
|
+
*HousekeepingApi* | [**call_27abd48cb30106ec3251cf3baf34174c**](cloudbeds_pms/docs/HousekeepingApi.md#call_27abd48cb30106ec3251cf3baf34174c) | **GET** /housekeeping/v1/inspections/{propertyId} | Housekeeping inspection list
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## Documentation For Models
|
|
136
|
+
|
|
137
|
+
- [BadRequestErrorItemSchema](cloudbeds_pms/docs/BadRequestErrorItemSchema.md)
|
|
138
|
+
- [BadRequestResponseSchema](cloudbeds_pms/docs/BadRequestResponseSchema.md)
|
|
139
|
+
- [BadRequestResponseSchemaErrors](cloudbeds_pms/docs/BadRequestResponseSchemaErrors.md)
|
|
140
|
+
- [BodyDynamicFilterSchema](cloudbeds_pms/docs/BodyDynamicFilterSchema.md)
|
|
141
|
+
- [BodyDynamicFilterSchemaFilters](cloudbeds_pms/docs/BodyDynamicFilterSchemaFilters.md)
|
|
142
|
+
- [CursorPaginationSchema](cloudbeds_pms/docs/CursorPaginationSchema.md)
|
|
143
|
+
- [DirectionEnumSchema](cloudbeds_pms/docs/DirectionEnumSchema.md)
|
|
144
|
+
- [DoorLockKeyCreateRequestSchema](cloudbeds_pms/docs/DoorLockKeyCreateRequestSchema.md)
|
|
145
|
+
- [DoorLockKeyFailedToGenerateResponseSchema](cloudbeds_pms/docs/DoorLockKeyFailedToGenerateResponseSchema.md)
|
|
146
|
+
- [DoorLockKeyListRequestSchema](cloudbeds_pms/docs/DoorLockKeyListRequestSchema.md)
|
|
147
|
+
- [DoorLockKeyListResponseSchema](cloudbeds_pms/docs/DoorLockKeyListResponseSchema.md)
|
|
148
|
+
- [DoorLockKeyResponseSchema](cloudbeds_pms/docs/DoorLockKeyResponseSchema.md)
|
|
149
|
+
- [DoorLockKeyUpdateRequestSchema](cloudbeds_pms/docs/DoorLockKeyUpdateRequestSchema.md)
|
|
150
|
+
- [DoorLockSettingsCommonRoomRequestSchema](cloudbeds_pms/docs/DoorLockSettingsCommonRoomRequestSchema.md)
|
|
151
|
+
- [DoorLockSettingsCommonRoomResponseSchema](cloudbeds_pms/docs/DoorLockSettingsCommonRoomResponseSchema.md)
|
|
152
|
+
- [DoorLockSettingsCreateRequestSchema](cloudbeds_pms/docs/DoorLockSettingsCreateRequestSchema.md)
|
|
153
|
+
- [DoorLockSettingsEncoderRequestSchema](cloudbeds_pms/docs/DoorLockSettingsEncoderRequestSchema.md)
|
|
154
|
+
- [DoorLockSettingsEncoderResponseSchema](cloudbeds_pms/docs/DoorLockSettingsEncoderResponseSchema.md)
|
|
155
|
+
- [DoorLockSettingsKeyTypeRequestSchema](cloudbeds_pms/docs/DoorLockSettingsKeyTypeRequestSchema.md)
|
|
156
|
+
- [DoorLockSettingsKeyTypeResponseSchema](cloudbeds_pms/docs/DoorLockSettingsKeyTypeResponseSchema.md)
|
|
157
|
+
- [DoorLockSettingsResponseSchema](cloudbeds_pms/docs/DoorLockSettingsResponseSchema.md)
|
|
158
|
+
- [DynamicFilterFieldSchema](cloudbeds_pms/docs/DynamicFilterFieldSchema.md)
|
|
159
|
+
- [DynamicFilterFieldSchemaValue](cloudbeds_pms/docs/DynamicFilterFieldSchemaValue.md)
|
|
160
|
+
- [DynamicFilterSchema](cloudbeds_pms/docs/DynamicFilterSchema.md)
|
|
161
|
+
- [DynamicFilterSchemaAndInner](cloudbeds_pms/docs/DynamicFilterSchemaAndInner.md)
|
|
162
|
+
- [FeatureEnum](cloudbeds_pms/docs/FeatureEnum.md)
|
|
163
|
+
- [FilterOperatorEnumSchema](cloudbeds_pms/docs/FilterOperatorEnumSchema.md)
|
|
164
|
+
- [ForbiddenResponseSchema](cloudbeds_pms/docs/ForbiddenResponseSchema.md)
|
|
165
|
+
- [InspectionItemSchema](cloudbeds_pms/docs/InspectionItemSchema.md)
|
|
166
|
+
- [InspectionListRequestSchema](cloudbeds_pms/docs/InspectionListRequestSchema.md)
|
|
167
|
+
- [InspectionListResponseSchema](cloudbeds_pms/docs/InspectionListResponseSchema.md)
|
|
168
|
+
- [InternalServerErrorResponseSchema](cloudbeds_pms/docs/InternalServerErrorResponseSchema.md)
|
|
169
|
+
- [LimitOffsetPaginationSchema](cloudbeds_pms/docs/LimitOffsetPaginationSchema.md)
|
|
170
|
+
- [NotFoundResponseSchema](cloudbeds_pms/docs/NotFoundResponseSchema.md)
|
|
171
|
+
- [QueryParameterDynamicFilterSchema](cloudbeds_pms/docs/QueryParameterDynamicFilterSchema.md)
|
|
172
|
+
- [QueryParameterDynamicFilterSchemaFilters](cloudbeds_pms/docs/QueryParameterDynamicFilterSchemaFilters.md)
|
|
173
|
+
- [QueryParameterSortSchema](cloudbeds_pms/docs/QueryParameterSortSchema.md)
|
|
174
|
+
- [SortFieldSchema](cloudbeds_pms/docs/SortFieldSchema.md)
|
|
175
|
+
- [SortSchema](cloudbeds_pms/docs/SortSchema.md)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<a id="documentation-for-authorization"></a>
|
|
179
|
+
## Documentation For Authorization
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
Authentication schemes defined for the API:
|
|
183
|
+
<a id="api_key"></a>
|
|
184
|
+
### api_key
|
|
185
|
+
|
|
186
|
+
- **Type**: API key
|
|
187
|
+
- **API key parameter name**: x-api-key
|
|
188
|
+
- **Location**: HTTP header
|
|
189
|
+
|
|
190
|
+
<a id="default"></a>
|
|
191
|
+
### default
|
|
192
|
+
|
|
193
|
+
- **Type**: OAuth
|
|
194
|
+
- **Flow**: accessCode
|
|
195
|
+
- **Authorization URL**: https://api.cloudbeds.com/auth/oauth/authorize
|
|
196
|
+
- **Scopes**:
|
|
197
|
+
- **read:doorLockKey**: Read DoorLock keys and settings
|
|
198
|
+
- **write:doorLockKey**: Write DoorLock keys and settings
|
|
199
|
+
- **read:housekeeping**: Read Housekeeping inspections
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
## Author
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# Cloudbeds PMS
|
|
2
|
+
<p>Welcome to the documentation for <strong>Cloudbeds API Version v2</strong>! If you are looking to learn how to use the Cloudbeds API to access guest information, reservations, or similar data for your Cloudbeds customers, then you've come to the right place.</p><p>In this document you will find all the API methods we provide along with explanations for parameters and response examples.</p><p>If you have questions about different implementation steps (e.g. how to implement OAuth 2.0), please refer to our <a href='https://integrations.cloudbeds.com/hc/en-us'>Integrations Portal</a>.</p><p>Be sure to <a href='https://go.pardot.com/l/308041/2018-07-24/qb2lg'>subscribe</a> to the monthly Cloudbeds API announcement mailing list to receive information on new additions and improvements to the Cloudbeds API and related developer tools.</p><p><strong>Endpoint:</strong> https://api.cloudbeds.com/{method}</p><p><strong>HTTPS:</strong> Our API requires HTTPS. We'll respond with an appropriate error if you're not using it.</p><p><strong>Request Format:</strong> HTTP GET, POST and PUT (Content-Type: application/x-www-form-urlencoded)</p><p><strong>Response Format:</strong> JSON</p><p><strong>Response Header:</strong> X-Request-ID is added to response headers in all calls to help accelerate support and troubleshooting.</p><p><strong><a href='https://integrations.cloudbeds.com/hc/en-us/articles/14104678058267-API-Documentation#postman-collection'><img src='https://run.pstmn.io/button.svg' alt='Run in Postman'></a></strong> use this link to access our Public collection in Postman.</p>
|
|
3
|
+
|
|
4
|
+
The `cloudbeds_pms` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: v2
|
|
7
|
+
- Package version: 2.0.0
|
|
8
|
+
- Generator version: 7.10.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 3.8+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
|
|
17
|
+
This python library package is generated without supporting files like setup.py or requirements files
|
|
18
|
+
|
|
19
|
+
To be able to use it, you will need these dependencies in your own package that uses this library:
|
|
20
|
+
|
|
21
|
+
* urllib3 >= 1.25.3, < 3.0.0
|
|
22
|
+
* python-dateutil >= 2.8.2
|
|
23
|
+
* pydantic >= 2
|
|
24
|
+
* typing-extensions >= 4.7.1
|
|
25
|
+
|
|
26
|
+
## Getting Started
|
|
27
|
+
|
|
28
|
+
In your own code, to use this library to connect and interact with Cloudbeds PMS,
|
|
29
|
+
you can run the following:
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
|
|
33
|
+
import cloudbeds_pms
|
|
34
|
+
from cloudbeds_pms.rest import ApiException
|
|
35
|
+
from pprint import pprint
|
|
36
|
+
|
|
37
|
+
# Defining the host is optional and defaults to https://api.cloudbeds.com
|
|
38
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
39
|
+
configuration = cloudbeds_pms.Configuration(
|
|
40
|
+
host = "https://api.cloudbeds.com"
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
# The client must configure the authentication and authorization parameters
|
|
44
|
+
# in accordance with the API server security policy.
|
|
45
|
+
# Examples for each auth method are provided below, use the example that
|
|
46
|
+
# satisfies your auth use case.
|
|
47
|
+
|
|
48
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
# Enter a context with an instance of the API client
|
|
52
|
+
with cloudbeds_pms.ApiClient(configuration) as api_client:
|
|
53
|
+
# Create an instance of the API class
|
|
54
|
+
api_instance = cloudbeds_pms.DoorlockKeysApi(api_client)
|
|
55
|
+
door_lock_key_create_request_schema = cloudbeds_pms.DoorLockKeyCreateRequestSchema() # DoorLockKeyCreateRequestSchema | Key data
|
|
56
|
+
|
|
57
|
+
try:
|
|
58
|
+
# Create a new doorlock key.
|
|
59
|
+
api_response = api_instance.door_lock_key_controller_create(door_lock_key_create_request_schema)
|
|
60
|
+
print("The response of DoorlockKeysApi->door_lock_key_controller_create:\n")
|
|
61
|
+
pprint(api_response)
|
|
62
|
+
except ApiException as e:
|
|
63
|
+
print("Exception when calling DoorlockKeysApi->door_lock_key_controller_create: %s\n" % e)
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Documentation for API Endpoints
|
|
68
|
+
|
|
69
|
+
All URIs are relative to *https://api.cloudbeds.com*
|
|
70
|
+
|
|
71
|
+
Class | Method | HTTP request | Description
|
|
72
|
+
------------ | ------------- | ------------- | -------------
|
|
73
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_create**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_create) | **POST** /doorlock/v1/keys | Create a new doorlock key.
|
|
74
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_delete**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_delete) | **DELETE** /doorlock/v1/keys/{id} | Delete a doorlock key.
|
|
75
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_index**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_index) | **GET** /doorlock/v1/keys/{propertyId} | Get a list of doorlock keys for a specific app client and property.
|
|
76
|
+
*DoorlockKeysApi* | [**door_lock_key_controller_update**](cloudbeds_pms/docs/DoorlockKeysApi.md#door_lock_key_controller_update) | **PATCH** /doorlock/v1/keys/{id} | Update a doorlock key.
|
|
77
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_delete**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_delete) | **DELETE** /doorlock/v1/settings/{propertyId} | Delete doorlock settings for property for specific application client.
|
|
78
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_single**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_single) | **GET** /doorlock/v1/settings/{propertyId} | Get doorlock settings for property for specific application client.
|
|
79
|
+
*DoorlockSettingsApi* | [**door_lock_settings_controller_upsert**](cloudbeds_pms/docs/DoorlockSettingsApi.md#door_lock_settings_controller_upsert) | **PUT** /doorlock/v1/settings/{propertyId} | Upsert doorlock settings for property for specific application client.
|
|
80
|
+
*HousekeepingApi* | [**call_27abd48cb30106ec3251cf3baf34174c**](cloudbeds_pms/docs/HousekeepingApi.md#call_27abd48cb30106ec3251cf3baf34174c) | **GET** /housekeeping/v1/inspections/{propertyId} | Housekeeping inspection list
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## Documentation For Models
|
|
84
|
+
|
|
85
|
+
- [BadRequestErrorItemSchema](cloudbeds_pms/docs/BadRequestErrorItemSchema.md)
|
|
86
|
+
- [BadRequestResponseSchema](cloudbeds_pms/docs/BadRequestResponseSchema.md)
|
|
87
|
+
- [BadRequestResponseSchemaErrors](cloudbeds_pms/docs/BadRequestResponseSchemaErrors.md)
|
|
88
|
+
- [BodyDynamicFilterSchema](cloudbeds_pms/docs/BodyDynamicFilterSchema.md)
|
|
89
|
+
- [BodyDynamicFilterSchemaFilters](cloudbeds_pms/docs/BodyDynamicFilterSchemaFilters.md)
|
|
90
|
+
- [CursorPaginationSchema](cloudbeds_pms/docs/CursorPaginationSchema.md)
|
|
91
|
+
- [DirectionEnumSchema](cloudbeds_pms/docs/DirectionEnumSchema.md)
|
|
92
|
+
- [DoorLockKeyCreateRequestSchema](cloudbeds_pms/docs/DoorLockKeyCreateRequestSchema.md)
|
|
93
|
+
- [DoorLockKeyFailedToGenerateResponseSchema](cloudbeds_pms/docs/DoorLockKeyFailedToGenerateResponseSchema.md)
|
|
94
|
+
- [DoorLockKeyListRequestSchema](cloudbeds_pms/docs/DoorLockKeyListRequestSchema.md)
|
|
95
|
+
- [DoorLockKeyListResponseSchema](cloudbeds_pms/docs/DoorLockKeyListResponseSchema.md)
|
|
96
|
+
- [DoorLockKeyResponseSchema](cloudbeds_pms/docs/DoorLockKeyResponseSchema.md)
|
|
97
|
+
- [DoorLockKeyUpdateRequestSchema](cloudbeds_pms/docs/DoorLockKeyUpdateRequestSchema.md)
|
|
98
|
+
- [DoorLockSettingsCommonRoomRequestSchema](cloudbeds_pms/docs/DoorLockSettingsCommonRoomRequestSchema.md)
|
|
99
|
+
- [DoorLockSettingsCommonRoomResponseSchema](cloudbeds_pms/docs/DoorLockSettingsCommonRoomResponseSchema.md)
|
|
100
|
+
- [DoorLockSettingsCreateRequestSchema](cloudbeds_pms/docs/DoorLockSettingsCreateRequestSchema.md)
|
|
101
|
+
- [DoorLockSettingsEncoderRequestSchema](cloudbeds_pms/docs/DoorLockSettingsEncoderRequestSchema.md)
|
|
102
|
+
- [DoorLockSettingsEncoderResponseSchema](cloudbeds_pms/docs/DoorLockSettingsEncoderResponseSchema.md)
|
|
103
|
+
- [DoorLockSettingsKeyTypeRequestSchema](cloudbeds_pms/docs/DoorLockSettingsKeyTypeRequestSchema.md)
|
|
104
|
+
- [DoorLockSettingsKeyTypeResponseSchema](cloudbeds_pms/docs/DoorLockSettingsKeyTypeResponseSchema.md)
|
|
105
|
+
- [DoorLockSettingsResponseSchema](cloudbeds_pms/docs/DoorLockSettingsResponseSchema.md)
|
|
106
|
+
- [DynamicFilterFieldSchema](cloudbeds_pms/docs/DynamicFilterFieldSchema.md)
|
|
107
|
+
- [DynamicFilterFieldSchemaValue](cloudbeds_pms/docs/DynamicFilterFieldSchemaValue.md)
|
|
108
|
+
- [DynamicFilterSchema](cloudbeds_pms/docs/DynamicFilterSchema.md)
|
|
109
|
+
- [DynamicFilterSchemaAndInner](cloudbeds_pms/docs/DynamicFilterSchemaAndInner.md)
|
|
110
|
+
- [FeatureEnum](cloudbeds_pms/docs/FeatureEnum.md)
|
|
111
|
+
- [FilterOperatorEnumSchema](cloudbeds_pms/docs/FilterOperatorEnumSchema.md)
|
|
112
|
+
- [ForbiddenResponseSchema](cloudbeds_pms/docs/ForbiddenResponseSchema.md)
|
|
113
|
+
- [InspectionItemSchema](cloudbeds_pms/docs/InspectionItemSchema.md)
|
|
114
|
+
- [InspectionListRequestSchema](cloudbeds_pms/docs/InspectionListRequestSchema.md)
|
|
115
|
+
- [InspectionListResponseSchema](cloudbeds_pms/docs/InspectionListResponseSchema.md)
|
|
116
|
+
- [InternalServerErrorResponseSchema](cloudbeds_pms/docs/InternalServerErrorResponseSchema.md)
|
|
117
|
+
- [LimitOffsetPaginationSchema](cloudbeds_pms/docs/LimitOffsetPaginationSchema.md)
|
|
118
|
+
- [NotFoundResponseSchema](cloudbeds_pms/docs/NotFoundResponseSchema.md)
|
|
119
|
+
- [QueryParameterDynamicFilterSchema](cloudbeds_pms/docs/QueryParameterDynamicFilterSchema.md)
|
|
120
|
+
- [QueryParameterDynamicFilterSchemaFilters](cloudbeds_pms/docs/QueryParameterDynamicFilterSchemaFilters.md)
|
|
121
|
+
- [QueryParameterSortSchema](cloudbeds_pms/docs/QueryParameterSortSchema.md)
|
|
122
|
+
- [SortFieldSchema](cloudbeds_pms/docs/SortFieldSchema.md)
|
|
123
|
+
- [SortSchema](cloudbeds_pms/docs/SortSchema.md)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
<a id="documentation-for-authorization"></a>
|
|
127
|
+
## Documentation For Authorization
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Authentication schemes defined for the API:
|
|
131
|
+
<a id="api_key"></a>
|
|
132
|
+
### api_key
|
|
133
|
+
|
|
134
|
+
- **Type**: API key
|
|
135
|
+
- **API key parameter name**: x-api-key
|
|
136
|
+
- **Location**: HTTP header
|
|
137
|
+
|
|
138
|
+
<a id="default"></a>
|
|
139
|
+
### default
|
|
140
|
+
|
|
141
|
+
- **Type**: OAuth
|
|
142
|
+
- **Flow**: accessCode
|
|
143
|
+
- **Authorization URL**: https://api.cloudbeds.com/auth/oauth/authorize
|
|
144
|
+
- **Scopes**:
|
|
145
|
+
- **read:doorLockKey**: Read DoorLock keys and settings
|
|
146
|
+
- **write:doorLockKey**: Write DoorLock keys and settings
|
|
147
|
+
- **read:housekeeping**: Read Housekeeping inspections
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
## Author
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.0
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Cloudbeds API
|
|
7
|
+
|
|
8
|
+
<p>Welcome to the documentation for <strong>Cloudbeds API Version v2</strong>! If you are looking to learn how to use the Cloudbeds API to access guest information, reservations, or similar data for your Cloudbeds customers, then you've come to the right place.</p><p>In this document you will find all the API methods we provide along with explanations for parameters and response examples.</p><p>If you have questions about different implementation steps (e.g. how to implement OAuth 2.0), please refer to our <a href='https://integrations.cloudbeds.com/hc/en-us'>Integrations Portal</a>.</p><p>Be sure to <a href='https://go.pardot.com/l/308041/2018-07-24/qb2lg'>subscribe</a> to the monthly Cloudbeds API announcement mailing list to receive information on new additions and improvements to the Cloudbeds API and related developer tools.</p><p><strong>Endpoint:</strong> https://api.cloudbeds.com/{method}</p><p><strong>HTTPS:</strong> Our API requires HTTPS. We'll respond with an appropriate error if you're not using it.</p><p><strong>Request Format:</strong> HTTP GET, POST and PUT (Content-Type: application/x-www-form-urlencoded)</p><p><strong>Response Format:</strong> JSON</p><p><strong>Response Header:</strong> X-Request-ID is added to response headers in all calls to help accelerate support and troubleshooting.</p><p><strong><a href='https://integrations.cloudbeds.com/hc/en-us/articles/14104678058267-API-Documentation#postman-collection'><img src='https://run.pstmn.io/button.svg' alt='Run in Postman'></a></strong> use this link to access our Public collection in Postman.</p>
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: v2
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "2.0.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from cloudbeds_pms.api.doorlock_keys_api import DoorlockKeysApi
|
|
21
|
+
from cloudbeds_pms.api.doorlock_settings_api import DoorlockSettingsApi
|
|
22
|
+
from cloudbeds_pms.api.housekeeping_api import HousekeepingApi
|
|
23
|
+
|
|
24
|
+
# import ApiClient
|
|
25
|
+
from cloudbeds_pms.api_response import ApiResponse
|
|
26
|
+
from cloudbeds_pms.api_client import ApiClient
|
|
27
|
+
from cloudbeds_pms.configuration import Configuration
|
|
28
|
+
from cloudbeds_pms.exceptions import OpenApiException
|
|
29
|
+
from cloudbeds_pms.exceptions import ApiTypeError
|
|
30
|
+
from cloudbeds_pms.exceptions import ApiValueError
|
|
31
|
+
from cloudbeds_pms.exceptions import ApiKeyError
|
|
32
|
+
from cloudbeds_pms.exceptions import ApiAttributeError
|
|
33
|
+
from cloudbeds_pms.exceptions import ApiException
|
|
34
|
+
|
|
35
|
+
# import models into sdk package
|
|
36
|
+
from cloudbeds_pms.models.bad_request_error_item_schema import BadRequestErrorItemSchema
|
|
37
|
+
from cloudbeds_pms.models.bad_request_response_schema import BadRequestResponseSchema
|
|
38
|
+
from cloudbeds_pms.models.bad_request_response_schema_errors import BadRequestResponseSchemaErrors
|
|
39
|
+
from cloudbeds_pms.models.body_dynamic_filter_schema import BodyDynamicFilterSchema
|
|
40
|
+
from cloudbeds_pms.models.body_dynamic_filter_schema_filters import BodyDynamicFilterSchemaFilters
|
|
41
|
+
from cloudbeds_pms.models.cursor_pagination_schema import CursorPaginationSchema
|
|
42
|
+
from cloudbeds_pms.models.direction_enum_schema import DirectionEnumSchema
|
|
43
|
+
from cloudbeds_pms.models.door_lock_key_create_request_schema import DoorLockKeyCreateRequestSchema
|
|
44
|
+
from cloudbeds_pms.models.door_lock_key_failed_to_generate_response_schema import DoorLockKeyFailedToGenerateResponseSchema
|
|
45
|
+
from cloudbeds_pms.models.door_lock_key_list_request_schema import DoorLockKeyListRequestSchema
|
|
46
|
+
from cloudbeds_pms.models.door_lock_key_list_response_schema import DoorLockKeyListResponseSchema
|
|
47
|
+
from cloudbeds_pms.models.door_lock_key_response_schema import DoorLockKeyResponseSchema
|
|
48
|
+
from cloudbeds_pms.models.door_lock_key_update_request_schema import DoorLockKeyUpdateRequestSchema
|
|
49
|
+
from cloudbeds_pms.models.door_lock_settings_common_room_request_schema import DoorLockSettingsCommonRoomRequestSchema
|
|
50
|
+
from cloudbeds_pms.models.door_lock_settings_common_room_response_schema import DoorLockSettingsCommonRoomResponseSchema
|
|
51
|
+
from cloudbeds_pms.models.door_lock_settings_create_request_schema import DoorLockSettingsCreateRequestSchema
|
|
52
|
+
from cloudbeds_pms.models.door_lock_settings_encoder_request_schema import DoorLockSettingsEncoderRequestSchema
|
|
53
|
+
from cloudbeds_pms.models.door_lock_settings_encoder_response_schema import DoorLockSettingsEncoderResponseSchema
|
|
54
|
+
from cloudbeds_pms.models.door_lock_settings_key_type_request_schema import DoorLockSettingsKeyTypeRequestSchema
|
|
55
|
+
from cloudbeds_pms.models.door_lock_settings_key_type_response_schema import DoorLockSettingsKeyTypeResponseSchema
|
|
56
|
+
from cloudbeds_pms.models.door_lock_settings_response_schema import DoorLockSettingsResponseSchema
|
|
57
|
+
from cloudbeds_pms.models.dynamic_filter_field_schema import DynamicFilterFieldSchema
|
|
58
|
+
from cloudbeds_pms.models.dynamic_filter_field_schema_value import DynamicFilterFieldSchemaValue
|
|
59
|
+
from cloudbeds_pms.models.dynamic_filter_schema import DynamicFilterSchema
|
|
60
|
+
from cloudbeds_pms.models.dynamic_filter_schema_and_inner import DynamicFilterSchemaAndInner
|
|
61
|
+
from cloudbeds_pms.models.feature_enum import FeatureEnum
|
|
62
|
+
from cloudbeds_pms.models.filter_operator_enum_schema import FilterOperatorEnumSchema
|
|
63
|
+
from cloudbeds_pms.models.forbidden_response_schema import ForbiddenResponseSchema
|
|
64
|
+
from cloudbeds_pms.models.inspection_item_schema import InspectionItemSchema
|
|
65
|
+
from cloudbeds_pms.models.inspection_list_request_schema import InspectionListRequestSchema
|
|
66
|
+
from cloudbeds_pms.models.inspection_list_response_schema import InspectionListResponseSchema
|
|
67
|
+
from cloudbeds_pms.models.internal_server_error_response_schema import InternalServerErrorResponseSchema
|
|
68
|
+
from cloudbeds_pms.models.limit_offset_pagination_schema import LimitOffsetPaginationSchema
|
|
69
|
+
from cloudbeds_pms.models.not_found_response_schema import NotFoundResponseSchema
|
|
70
|
+
from cloudbeds_pms.models.query_parameter_dynamic_filter_schema import QueryParameterDynamicFilterSchema
|
|
71
|
+
from cloudbeds_pms.models.query_parameter_dynamic_filter_schema_filters import QueryParameterDynamicFilterSchemaFilters
|
|
72
|
+
from cloudbeds_pms.models.query_parameter_sort_schema import QueryParameterSortSchema
|
|
73
|
+
from cloudbeds_pms.models.sort_field_schema import SortFieldSchema
|
|
74
|
+
from cloudbeds_pms.models.sort_schema import SortSchema
|