eis-accounting 1.1.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.
Files changed (56) hide show
  1. eis-accounting-1.1.0/PKG-INFO +16 -0
  2. eis-accounting-1.1.0/README.md +194 -0
  3. eis-accounting-1.1.0/eis/__init__.py +0 -0
  4. eis-accounting-1.1.0/eis/accounting/__init__.py +28 -0
  5. eis-accounting-1.1.0/eis/accounting/api/__init__.py +3 -0
  6. eis-accounting-1.1.0/eis/accounting/api/booking_processes_api.py +352 -0
  7. eis-accounting-1.1.0/eis/accounting/api/financial_accounts_api.py +641 -0
  8. eis-accounting-1.1.0/eis/accounting/api/health_api.py +160 -0
  9. eis-accounting-1.1.0/eis/accounting/api_client.py +964 -0
  10. eis-accounting-1.1.0/eis/accounting/apis/__init__.py +19 -0
  11. eis-accounting-1.1.0/eis/accounting/configuration.py +456 -0
  12. eis-accounting-1.1.0/eis/accounting/exceptions.py +159 -0
  13. eis-accounting-1.1.0/eis/accounting/model/__init__.py +5 -0
  14. eis-accounting-1.1.0/eis/accounting/model/booking_entry_class.py +372 -0
  15. eis-accounting-1.1.0/eis/accounting/model/booking_process_class.py +343 -0
  16. eis-accounting-1.1.0/eis/accounting/model/create_booking_entry_request_dto.py +349 -0
  17. eis-accounting-1.1.0/eis/accounting/model/create_booking_process_request_dto.py +313 -0
  18. eis-accounting-1.1.0/eis/accounting/model/create_booking_process_response_class.py +276 -0
  19. eis-accounting-1.1.0/eis/accounting/model/create_financial_account_request_dto.py +303 -0
  20. eis-accounting-1.1.0/eis/accounting/model/create_financial_account_response_class.py +276 -0
  21. eis-accounting-1.1.0/eis/accounting/model/financial_account_class.py +343 -0
  22. eis-accounting-1.1.0/eis/accounting/model/financial_transaction_class.py +350 -0
  23. eis-accounting-1.1.0/eis/accounting/model/financial_transaction_data_dto.py +317 -0
  24. eis-accounting-1.1.0/eis/accounting/model/get_financial_account_response_class.py +276 -0
  25. eis-accounting-1.1.0/eis/accounting/model/inline_response200.py +276 -0
  26. eis-accounting-1.1.0/eis/accounting/model/inline_response503.py +276 -0
  27. eis-accounting-1.1.0/eis/accounting/model/list_booking_process_response_class.py +282 -0
  28. eis-accounting-1.1.0/eis/accounting/model/list_financial_accounts_response_class.py +282 -0
  29. eis-accounting-1.1.0/eis/accounting/model_utils.py +2063 -0
  30. eis-accounting-1.1.0/eis/accounting/models/__init__.py +26 -0
  31. eis-accounting-1.1.0/eis/accounting/rest.py +353 -0
  32. eis-accounting-1.1.0/eis_accounting.egg-info/PKG-INFO +16 -0
  33. eis-accounting-1.1.0/eis_accounting.egg-info/SOURCES.txt +55 -0
  34. eis-accounting-1.1.0/eis_accounting.egg-info/dependency_links.txt +1 -0
  35. eis-accounting-1.1.0/eis_accounting.egg-info/requires.txt +2 -0
  36. eis-accounting-1.1.0/eis_accounting.egg-info/top_level.txt +1 -0
  37. eis-accounting-1.1.0/setup.cfg +11 -0
  38. eis-accounting-1.1.0/setup.py +43 -0
  39. eis-accounting-1.1.0/test/test_booking_entry_class.py +38 -0
  40. eis-accounting-1.1.0/test/test_booking_process_class.py +38 -0
  41. eis-accounting-1.1.0/test/test_booking_processes_api.py +43 -0
  42. eis-accounting-1.1.0/test/test_create_booking_entry_request_dto.py +38 -0
  43. eis-accounting-1.1.0/test/test_create_booking_process_request_dto.py +38 -0
  44. eis-accounting-1.1.0/test/test_create_booking_process_response_class.py +38 -0
  45. eis-accounting-1.1.0/test/test_create_financial_account_request_dto.py +36 -0
  46. eis-accounting-1.1.0/test/test_create_financial_account_response_class.py +38 -0
  47. eis-accounting-1.1.0/test/test_financial_account_class.py +36 -0
  48. eis-accounting-1.1.0/test/test_financial_accounts_api.py +57 -0
  49. eis-accounting-1.1.0/test/test_financial_transaction_class.py +36 -0
  50. eis-accounting-1.1.0/test/test_financial_transaction_data_dto.py +36 -0
  51. eis-accounting-1.1.0/test/test_get_financial_account_response_class.py +38 -0
  52. eis-accounting-1.1.0/test/test_health_api.py +36 -0
  53. eis-accounting-1.1.0/test/test_inline_response200.py +36 -0
  54. eis-accounting-1.1.0/test/test_inline_response503.py +36 -0
  55. eis-accounting-1.1.0/test/test_list_booking_process_response_class.py +38 -0
  56. eis-accounting-1.1.0/test/test_list_financial_accounts_response_class.py +38 -0
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.1
2
+ Name: eis-accounting
3
+ Version: 1.1.0
4
+ Summary: EMIL AccountingService
5
+ Home-page: UNKNOWN
6
+ Author: Contact us
7
+ Author-email: kontakt@emil.de
8
+ License: UNKNOWN
9
+ Keywords: OpenAPI,OpenAPI-Generator,EMIL AccountingService
10
+ Platform: UNKNOWN
11
+ Requires-Python: >=3.6
12
+ Description-Content-Type: text/markdown
13
+
14
+ The EMIL AccountingService API description # noqa: E501
15
+
16
+
@@ -0,0 +1,194 @@
1
+ # eis-accounting
2
+ The EMIL AccountingService API description
3
+
4
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
+
6
+ - API version: 1.0
7
+ - Package version: 1.1.0
8
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
+ For more information, please visit [https://www.emil.de](https://www.emil.de)
10
+
11
+ ## Requirements.
12
+
13
+ Python >=3.6
14
+
15
+ ## Installation & Usage
16
+ ### pip install
17
+
18
+ If the python package is hosted on a repository, you can install directly using:
19
+
20
+ ```sh
21
+ pip install eis.accounting
22
+ ```
23
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
24
+
25
+ Then import the package:
26
+ ```python
27
+ import eis.accounting
28
+ ```
29
+
30
+ ### Setuptools
31
+
32
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
33
+
34
+ ```sh
35
+ python setup.py install --user
36
+ ```
37
+ (or `sudo python setup.py install` to install the package for all users)
38
+
39
+ Then import the package:
40
+ ```python
41
+ import eis.accounting
42
+ ```
43
+
44
+ ## Getting Started
45
+
46
+ The environment variables must be set in order to properly use this SDK.
47
+
48
+ ```shell
49
+ export EMIL_USERNAME=XXXXXXX
50
+ export EMIL_PASSWORD=XXXXXXX
51
+ ```
52
+
53
+ Please follow the [installation procedure](#installation--usage) and then run the following:
54
+
55
+ ```python
56
+ import time
57
+ import eis.accounting
58
+ from pprint import pprint
59
+ from eis.accounting.api import booking_processes_api
60
+ from eis.accounting.model.create_booking_process_request_dto import CreateBookingProcessRequestDto
61
+ from eis.accounting.model.create_booking_process_response_class import CreateBookingProcessResponseClass
62
+ from eis.accounting.model.list_booking_process_response_class import ListBookingProcessResponseClass
63
+ # Defining the host is optional and defaults to https://apiv2.emil.de
64
+ # See configuration.py for a list of all supported configuration parameters.
65
+ configuration = eis.accounting.Configuration(
66
+ host = "https://apiv2.emil.de"
67
+ )
68
+
69
+ # The client must configure the authentication and authorization parameters
70
+ # in accordance with the API server security policy.
71
+ # Examples for each auth method are provided below, use the example that
72
+ # satisfies your auth use case.
73
+
74
+ # Bearer is automatically handled with exported environment variables. However, you
75
+ # can manuallay configure Bearer authorization (JWT): bearer
76
+ configuration = eis.accounting.Configuration(
77
+ access_token = 'YOUR_BEARER_TOKEN'
78
+ )
79
+
80
+ # After manual token becomes invalid, the SDK will default to re-login automatically
81
+ # with environment variable credentials.
82
+
83
+
84
+ # Enter a context with an instance of the API client
85
+ with eis.accounting.ApiClient(configuration) as api_client:
86
+ # Create an instance of the API class
87
+ api_instance = booking_processes_api.BookingProcessesApi(api_client)
88
+ create_booking_process_request_dto = CreateBookingProcessRequestDto(
89
+ policy_number="POL_700001",
90
+ status="paid",
91
+ booking_process_type="recurringInvoice",
92
+ custom_fields={},
93
+ booking_entries=[
94
+ CreateBookingEntryRequestDto(
95
+ booking_date=dateutil_parser('2024-06-24T10:12:46.493Z'),
96
+ description="Invoice payment for policy 010101489/V",
97
+ policy_number="POL_700001",
98
+ entity_name="invoice",
99
+ entity_number="INV2405840",
100
+ currency="EUR",
101
+ amount=100,
102
+ booking_process_id=12345,
103
+ custom_fields={},
104
+ financial_transactions=[
105
+ FinancialTransactionDataDto(
106
+ financial_account_number="40010001",
107
+ amount=100,
108
+ debit_credit="CREDIT",
109
+ partner_number="1234567890",
110
+ partner_group="Partner Group",
111
+ policy_number="1234567890",
112
+ custom_fields={},
113
+ description="Monthly premium payment for policy 1234567890",
114
+ ),
115
+ ],
116
+ ),
117
+ ],
118
+ ) # CreateBookingProcessRequestDto |
119
+ authorization = "Authorization_example" # str | Bearer Token: provided by the login endpoint under the name accessToken. (optional)
120
+
121
+ try:
122
+ # Create the booking process
123
+ api_response = api_instance.create_booking_process(create_booking_process_request_dto, authorization=authorization)
124
+ pprint(api_response)
125
+ except eis.accounting.ApiException as e:
126
+ print("Exception when calling BookingProcessesApi->create_booking_process: %s\n" % e)
127
+ ```
128
+
129
+ ## Documentation for API Endpoints
130
+
131
+ All URIs are relative to *https://apiv2.emil.de*
132
+
133
+ Class | Method | HTTP request | Description
134
+ ------------ | ------------- | ------------- | -------------
135
+ *BookingProcessesApi* | [**create_booking_process**](docs/BookingProcessesApi.md#create_booking_process) | **POST** /accountingservice/v1/booking-processes | Create the booking process
136
+ *BookingProcessesApi* | [**list_booking_processes**](docs/BookingProcessesApi.md#list_booking_processes) | **GET** /accountingservice/v1/booking-processes | List Booking processes
137
+ *FinancialAccountsApi* | [**create_financial_account**](docs/FinancialAccountsApi.md#create_financial_account) | **POST** /accountingservice/v1/financial-accounts | Create the Financial Account
138
+ *FinancialAccountsApi* | [**delete_financial_account**](docs/FinancialAccountsApi.md#delete_financial_account) | **DELETE** /accountingservice/v1/financial-accounts/{code} | Delete the Financial Account
139
+ *FinancialAccountsApi* | [**get_financial_account**](docs/FinancialAccountsApi.md#get_financial_account) | **GET** /accountingservice/v1/financial-accounts/{code} | Retrieve the Financial Account
140
+ *FinancialAccountsApi* | [**list_financial_accounts**](docs/FinancialAccountsApi.md#list_financial_accounts) | **GET** /accountingservice/v1/financial-accounts | List Financial Accounts
141
+ *HealthApi* | [**check**](docs/HealthApi.md#check) | **GET** /accountingservice/health | Health Check
142
+
143
+
144
+ ## Documentation For Models
145
+
146
+ - [BookingEntryClass](docs/BookingEntryClass.md)
147
+ - [BookingProcessClass](docs/BookingProcessClass.md)
148
+ - [CreateBookingEntryRequestDto](docs/CreateBookingEntryRequestDto.md)
149
+ - [CreateBookingProcessRequestDto](docs/CreateBookingProcessRequestDto.md)
150
+ - [CreateBookingProcessResponseClass](docs/CreateBookingProcessResponseClass.md)
151
+ - [CreateFinancialAccountRequestDto](docs/CreateFinancialAccountRequestDto.md)
152
+ - [CreateFinancialAccountResponseClass](docs/CreateFinancialAccountResponseClass.md)
153
+ - [FinancialAccountClass](docs/FinancialAccountClass.md)
154
+ - [FinancialTransactionClass](docs/FinancialTransactionClass.md)
155
+ - [FinancialTransactionDataDto](docs/FinancialTransactionDataDto.md)
156
+ - [GetFinancialAccountResponseClass](docs/GetFinancialAccountResponseClass.md)
157
+ - [InlineResponse200](docs/InlineResponse200.md)
158
+ - [InlineResponse503](docs/InlineResponse503.md)
159
+ - [ListBookingProcessResponseClass](docs/ListBookingProcessResponseClass.md)
160
+ - [ListFinancialAccountsResponseClass](docs/ListFinancialAccountsResponseClass.md)
161
+
162
+
163
+ ## Documentation For Authorization
164
+
165
+
166
+ ## bearer
167
+
168
+ - **Type**: Bearer authentication (JWT)
169
+
170
+
171
+ ## Author
172
+
173
+ kontakt@emil.de
174
+
175
+
176
+ ## Notes for Large OpenAPI documents
177
+ If the OpenAPI document is large, imports in eis.accounting.apis and eis.accounting.models may fail with a
178
+ RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
179
+
180
+ Solution 1:
181
+ Use specific imports for apis and models like:
182
+ - `from eis.accounting.api.default_api import DefaultApi`
183
+ - `from eis.accounting.model.pet import Pet`
184
+
185
+ Solution 2:
186
+ Before importing the package, adjust the maximum recursion limit as shown below:
187
+ ```
188
+ import sys
189
+ sys.setrecursionlimit(1500)
190
+ import eis.accounting
191
+ from eis.accounting.apis import *
192
+ from eis.accounting.models import *
193
+ ```
194
+
File without changes
@@ -0,0 +1,28 @@
1
+ # flake8: noqa
2
+
3
+ """
4
+ EMIL AccountingService
5
+
6
+ The EMIL AccountingService API description # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Contact: kontakt@emil.de
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ __version__ = "1.1.0"
15
+
16
+ # import ApiClient
17
+ from eis.accounting.api_client import ApiClient
18
+
19
+ # import Configuration
20
+ from eis.accounting.configuration import Configuration
21
+
22
+ # import exceptions
23
+ from eis.accounting.exceptions import OpenApiException
24
+ from eis.accounting.exceptions import ApiAttributeError
25
+ from eis.accounting.exceptions import ApiTypeError
26
+ from eis.accounting.exceptions import ApiValueError
27
+ from eis.accounting.exceptions import ApiKeyError
28
+ from eis.accounting.exceptions import ApiException
@@ -0,0 +1,3 @@
1
+ # do not import all apis into this module because that uses a lot of memory and stack frames
2
+ # if you need the ability to import all apis from one package, import them with
3
+ # from eis.accounting.apis import BookingProcessesApi
@@ -0,0 +1,352 @@
1
+ """
2
+ EMIL AccountingService
3
+
4
+ The EMIL AccountingService API description # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: kontakt@emil.de
8
+ Generated by: https://openapi-generator.tech
9
+ """
10
+
11
+
12
+ import re # noqa: F401
13
+ import sys # noqa: F401
14
+
15
+ from eis.accounting.api_client import ApiClient, Endpoint as _Endpoint
16
+ from eis.accounting.model_utils import ( # noqa: F401
17
+ check_allowed_values,
18
+ check_validations,
19
+ date,
20
+ datetime,
21
+ file_type,
22
+ none_type,
23
+ validate_and_convert_types
24
+ )
25
+ from eis.accounting.model.create_booking_process_request_dto import CreateBookingProcessRequestDto
26
+ from eis.accounting.model.create_booking_process_response_class import CreateBookingProcessResponseClass
27
+ from eis.accounting.model.list_booking_process_response_class import ListBookingProcessResponseClass
28
+
29
+
30
+ class BookingProcessesApi(object):
31
+ """NOTE: This class is auto generated by OpenAPI Generator
32
+ Ref: https://openapi-generator.tech
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ def __init__(self, api_client=None):
38
+ if api_client is None:
39
+ api_client = ApiClient()
40
+ self.api_client = api_client
41
+ self.create_booking_process_endpoint = _Endpoint(
42
+ settings={
43
+ 'response_type': (CreateBookingProcessResponseClass,),
44
+ 'auth': [
45
+ 'bearer'
46
+ ],
47
+ 'endpoint_path': '/accountingservice/v1/booking-processes',
48
+ 'operation_id': 'create_booking_process',
49
+ 'http_method': 'POST',
50
+ 'servers': None,
51
+ },
52
+ params_map={
53
+ 'all': [
54
+ 'create_booking_process_request_dto',
55
+ 'authorization',
56
+ ],
57
+ 'required': [
58
+ 'create_booking_process_request_dto',
59
+ ],
60
+ 'nullable': [
61
+ ],
62
+ 'enum': [
63
+ ],
64
+ 'validation': [
65
+ ]
66
+ },
67
+ root_map={
68
+ 'validations': {
69
+ },
70
+ 'allowed_values': {
71
+ },
72
+ 'openapi_types': {
73
+ 'create_booking_process_request_dto':
74
+ (CreateBookingProcessRequestDto,),
75
+ 'authorization':
76
+ (str,),
77
+ },
78
+ 'attribute_map': {
79
+ 'authorization': 'Authorization',
80
+ },
81
+ 'location_map': {
82
+ 'create_booking_process_request_dto': 'body',
83
+ 'authorization': 'header',
84
+ },
85
+ 'collection_format_map': {
86
+ }
87
+ },
88
+ headers_map={
89
+ 'accept': [
90
+ 'application/json'
91
+ ],
92
+ 'content_type': [
93
+ 'application/json'
94
+ ]
95
+ },
96
+ api_client=api_client
97
+ )
98
+ self.list_booking_processes_endpoint = _Endpoint(
99
+ settings={
100
+ 'response_type': (ListBookingProcessResponseClass,),
101
+ 'auth': [
102
+ 'bearer'
103
+ ],
104
+ 'endpoint_path': '/accountingservice/v1/booking-processes',
105
+ 'operation_id': 'list_booking_processes',
106
+ 'http_method': 'GET',
107
+ 'servers': None,
108
+ },
109
+ params_map={
110
+ 'all': [
111
+ 'authorization',
112
+ 'page_size',
113
+ 'page_token',
114
+ 'filter',
115
+ 'search',
116
+ 'order',
117
+ 'expand',
118
+ 'filters',
119
+ ],
120
+ 'required': [],
121
+ 'nullable': [
122
+ ],
123
+ 'enum': [
124
+ ],
125
+ 'validation': [
126
+ ]
127
+ },
128
+ root_map={
129
+ 'validations': {
130
+ },
131
+ 'allowed_values': {
132
+ },
133
+ 'openapi_types': {
134
+ 'authorization':
135
+ (str,),
136
+ 'page_size':
137
+ (bool, date, datetime, dict, float, int, list, str, none_type,),
138
+ 'page_token':
139
+ (bool, date, datetime, dict, float, int, list, str, none_type,),
140
+ 'filter':
141
+ (str,),
142
+ 'search':
143
+ (bool, date, datetime, dict, float, int, list, str, none_type,),
144
+ 'order':
145
+ (str,),
146
+ 'expand':
147
+ (bool, date, datetime, dict, float, int, list, str, none_type,),
148
+ 'filters':
149
+ (str,),
150
+ },
151
+ 'attribute_map': {
152
+ 'authorization': 'Authorization',
153
+ 'page_size': 'pageSize',
154
+ 'page_token': 'pageToken',
155
+ 'filter': 'filter',
156
+ 'search': 'search',
157
+ 'order': 'order',
158
+ 'expand': 'expand',
159
+ 'filters': 'filters',
160
+ },
161
+ 'location_map': {
162
+ 'authorization': 'header',
163
+ 'page_size': 'query',
164
+ 'page_token': 'query',
165
+ 'filter': 'query',
166
+ 'search': 'query',
167
+ 'order': 'query',
168
+ 'expand': 'query',
169
+ 'filters': 'query',
170
+ },
171
+ 'collection_format_map': {
172
+ }
173
+ },
174
+ headers_map={
175
+ 'accept': [
176
+ 'application/json'
177
+ ],
178
+ 'content_type': [],
179
+ },
180
+ api_client=api_client
181
+ )
182
+
183
+ def create_booking_process(
184
+ self,
185
+ create_booking_process_request_dto,
186
+ **kwargs
187
+ ):
188
+ """Create the booking process # noqa: E501
189
+
190
+ This endpoint creates a new booking process. # noqa: E501
191
+ This method makes a synchronous HTTP request by default. To make an
192
+ asynchronous HTTP request, please pass async_req=True
193
+
194
+ >>> thread = api.create_booking_process(create_booking_process_request_dto, async_req=True)
195
+ >>> result = thread.get()
196
+
197
+ Args:
198
+ create_booking_process_request_dto (CreateBookingProcessRequestDto):
199
+
200
+ Keyword Args:
201
+ authorization (str): Bearer Token: provided by the login endpoint under the name accessToken.. [optional]
202
+ _return_http_data_only (bool): response data without head status
203
+ code and headers. Default is True.
204
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
205
+ will be returned without reading/decoding response data.
206
+ Default is True.
207
+ _request_timeout (int/float/tuple): timeout setting for this request. If
208
+ one number provided, it will be total request timeout. It can also
209
+ be a pair (tuple) of (connection, read) timeouts.
210
+ Default is None.
211
+ _check_input_type (bool): specifies if type checking
212
+ should be done one the data sent to the server.
213
+ Default is True.
214
+ _check_return_type (bool): specifies if type checking
215
+ should be done one the data received from the server.
216
+ Default is True.
217
+ _spec_property_naming (bool): True if the variable names in the input data
218
+ are serialized names, as specified in the OpenAPI document.
219
+ False if the variable names in the input data
220
+ are pythonic names, e.g. snake case (default)
221
+ _content_type (str/None): force body content-type.
222
+ Default is None and content-type will be predicted by allowed
223
+ content-types and body.
224
+ _host_index (int/None): specifies the index of the server
225
+ that we want to use.
226
+ Default is read from the configuration.
227
+ _request_auths (list): set to override the auth_settings for an a single
228
+ request; this effectively ignores the authentication
229
+ in the spec for a single request.
230
+ Default is None
231
+ async_req (bool): execute request asynchronously
232
+
233
+ Returns:
234
+ CreateBookingProcessResponseClass
235
+ If the method is called asynchronously, returns the request
236
+ thread.
237
+ """
238
+ kwargs['async_req'] = kwargs.get(
239
+ 'async_req', False
240
+ )
241
+ kwargs['_return_http_data_only'] = kwargs.get(
242
+ '_return_http_data_only', True
243
+ )
244
+ kwargs['_preload_content'] = kwargs.get(
245
+ '_preload_content', True
246
+ )
247
+ kwargs['_request_timeout'] = kwargs.get(
248
+ '_request_timeout', None
249
+ )
250
+ kwargs['_check_input_type'] = kwargs.get(
251
+ '_check_input_type', True
252
+ )
253
+ kwargs['_check_return_type'] = kwargs.get(
254
+ '_check_return_type', True
255
+ )
256
+ kwargs['_spec_property_naming'] = kwargs.get(
257
+ '_spec_property_naming', False
258
+ )
259
+ kwargs['_content_type'] = kwargs.get(
260
+ '_content_type')
261
+ kwargs['_host_index'] = kwargs.get('_host_index')
262
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
263
+ kwargs['create_booking_process_request_dto'] = \
264
+ create_booking_process_request_dto
265
+ return self.create_booking_process_endpoint.call_with_http_info(**kwargs)
266
+
267
+ def list_booking_processes(
268
+ self,
269
+ **kwargs
270
+ ):
271
+ """List Booking processes # noqa: E501
272
+
273
+ Returns a list of Booking processes you have previously created. The Booking processes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. # noqa: E501
274
+ This method makes a synchronous HTTP request by default. To make an
275
+ asynchronous HTTP request, please pass async_req=True
276
+
277
+ >>> thread = api.list_booking_processes(async_req=True)
278
+ >>> result = thread.get()
279
+
280
+
281
+ Keyword Args:
282
+ authorization (str): Bearer Token: provided by the login endpoint under the name accessToken.. [optional]
283
+ page_size (bool, date, datetime, dict, float, int, list, str, none_type): A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.. [optional]
284
+ page_token (bool, date, datetime, dict, float, int, list, str, none_type): A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.. [optional]
285
+ filter (str): Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code</i>. [optional]
286
+ search (bool, date, datetime, dict, float, int, list, str, none_type): To search the list by any field, pass search=xxx to fetch the result.. [optional]
287
+ order (str): Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, updatedAt, createdAt</i>. [optional]
288
+ expand (bool, date, datetime, dict, float, int, list, str, none_type): Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.. [optional]
289
+ filters (str): Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code</i>. [optional]
290
+ _return_http_data_only (bool): response data without head status
291
+ code and headers. Default is True.
292
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
293
+ will be returned without reading/decoding response data.
294
+ Default is True.
295
+ _request_timeout (int/float/tuple): timeout setting for this request. If
296
+ one number provided, it will be total request timeout. It can also
297
+ be a pair (tuple) of (connection, read) timeouts.
298
+ Default is None.
299
+ _check_input_type (bool): specifies if type checking
300
+ should be done one the data sent to the server.
301
+ Default is True.
302
+ _check_return_type (bool): specifies if type checking
303
+ should be done one the data received from the server.
304
+ Default is True.
305
+ _spec_property_naming (bool): True if the variable names in the input data
306
+ are serialized names, as specified in the OpenAPI document.
307
+ False if the variable names in the input data
308
+ are pythonic names, e.g. snake case (default)
309
+ _content_type (str/None): force body content-type.
310
+ Default is None and content-type will be predicted by allowed
311
+ content-types and body.
312
+ _host_index (int/None): specifies the index of the server
313
+ that we want to use.
314
+ Default is read from the configuration.
315
+ _request_auths (list): set to override the auth_settings for an a single
316
+ request; this effectively ignores the authentication
317
+ in the spec for a single request.
318
+ Default is None
319
+ async_req (bool): execute request asynchronously
320
+
321
+ Returns:
322
+ ListBookingProcessResponseClass
323
+ If the method is called asynchronously, returns the request
324
+ thread.
325
+ """
326
+ kwargs['async_req'] = kwargs.get(
327
+ 'async_req', False
328
+ )
329
+ kwargs['_return_http_data_only'] = kwargs.get(
330
+ '_return_http_data_only', True
331
+ )
332
+ kwargs['_preload_content'] = kwargs.get(
333
+ '_preload_content', True
334
+ )
335
+ kwargs['_request_timeout'] = kwargs.get(
336
+ '_request_timeout', None
337
+ )
338
+ kwargs['_check_input_type'] = kwargs.get(
339
+ '_check_input_type', True
340
+ )
341
+ kwargs['_check_return_type'] = kwargs.get(
342
+ '_check_return_type', True
343
+ )
344
+ kwargs['_spec_property_naming'] = kwargs.get(
345
+ '_spec_property_naming', False
346
+ )
347
+ kwargs['_content_type'] = kwargs.get(
348
+ '_content_type')
349
+ kwargs['_host_index'] = kwargs.get('_host_index')
350
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
351
+ return self.list_booking_processes_endpoint.call_with_http_info(**kwargs)
352
+