cloudbeds-fiscal-document 1.17.0__py3-none-any.whl → 1.19.0__py3-none-any.whl
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_fiscal_document/__init__.py +2 -1
- cloudbeds_fiscal_document/api/fiscal_documents_api.py +299 -6
- cloudbeds_fiscal_document/api_client.py +1 -1
- cloudbeds_fiscal_document/configuration.py +1 -1
- cloudbeds_fiscal_document/models/__init__.py +1 -0
- cloudbeds_fiscal_document/models/creation_method.py +5 -0
- cloudbeds_fiscal_document/models/document_action.py +5 -0
- cloudbeds_fiscal_document/models/document_trigger_event.py +5 -0
- cloudbeds_fiscal_document/models/fiscal_document_kind.py +5 -0
- cloudbeds_fiscal_document/models/fiscal_document_status.py +5 -0
- cloudbeds_fiscal_document/models/fiscal_document_transaction_response.py +7 -4
- cloudbeds_fiscal_document/models/guest_document_type.py +5 -0
- cloudbeds_fiscal_document/models/guest_gender.py +5 -0
- cloudbeds_fiscal_document/models/integration_signature.py +4 -3
- cloudbeds_fiscal_document/models/linked_document.py +4 -3
- cloudbeds_fiscal_document/models/manual_recipient_request.py +4 -3
- cloudbeds_fiscal_document/models/pro_forma_status_update_request.py +4 -3
- cloudbeds_fiscal_document/models/receipt_transaction_allocation.py +5 -3
- cloudbeds_fiscal_document/models/recipient_request.py +8 -6
- cloudbeds_fiscal_document/models/recipient_tax_info.py +16 -3
- cloudbeds_fiscal_document/models/recipient_type.py +5 -0
- cloudbeds_fiscal_document/models/source_kind.py +5 -0
- cloudbeds_fiscal_document/models/transaction_status.py +5 -0
- cloudbeds_fiscal_document/models/transactions_summary_request.py +107 -0
- cloudbeds_fiscal_document/test/test_transactions_summary_request.py +67 -0
- {cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/METADATA +5 -3
- {cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/RECORD +30 -28
- {cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/WHEEL +0 -0
- {cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/licenses/LICENSE +0 -0
- {cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/top_level.txt +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "1.
|
|
17
|
+
__version__ = "1.19.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from cloudbeds_fiscal_document.api.configs_api import ConfigsApi
|
|
@@ -99,3 +99,4 @@ from cloudbeds_fiscal_document.models.single_allocation import SingleAllocation
|
|
|
99
99
|
from cloudbeds_fiscal_document.models.source_kind import SourceKind
|
|
100
100
|
from cloudbeds_fiscal_document.models.transaction_for_allocation_response import TransactionForAllocationResponse
|
|
101
101
|
from cloudbeds_fiscal_document.models.transaction_status import TransactionStatus
|
|
102
|
+
from cloudbeds_fiscal_document.models.transactions_summary_request import TransactionsSummaryRequest
|
|
@@ -46,6 +46,7 @@ from cloudbeds_fiscal_document.models.pro_forma_status_update_request import Pro
|
|
|
46
46
|
from cloudbeds_fiscal_document.models.rectify_invoice_note_request import RectifyInvoiceNoteRequest
|
|
47
47
|
from cloudbeds_fiscal_document.models.source_kind import SourceKind
|
|
48
48
|
from cloudbeds_fiscal_document.models.transaction_status import TransactionStatus
|
|
49
|
+
from cloudbeds_fiscal_document.models.transactions_summary_request import TransactionsSummaryRequest
|
|
49
50
|
|
|
50
51
|
from cloudbeds_fiscal_document.api_client import ApiClient, RequestSerialized
|
|
51
52
|
from cloudbeds_fiscal_document.api_response import ApiResponse
|
|
@@ -6596,9 +6597,9 @@ class FiscalDocumentsApi:
|
|
|
6596
6597
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6597
6598
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6598
6599
|
) -> FiscalDocumentTransactionsSummary:
|
|
6599
|
-
"""Get totals of selected available transactions for fiscal documents
|
|
6600
|
+
"""(Deprecated) Get totals of selected available transactions for fiscal documents (deprecated)
|
|
6600
6601
|
|
|
6601
|
-
Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6602
|
+
**Deprecated:** Use POST /fiscal-document/v1/fiscal-documents/transactions/summary instead. Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6602
6603
|
|
|
6603
6604
|
:param x_property_id: Property id (required)
|
|
6604
6605
|
:type x_property_id: int
|
|
@@ -6637,6 +6638,7 @@ class FiscalDocumentsApi:
|
|
|
6637
6638
|
:type _host_index: int, optional
|
|
6638
6639
|
:return: Returns the result object.
|
|
6639
6640
|
""" # noqa: E501
|
|
6641
|
+
warnings.warn("GET /fiscal-document/v1/fiscal-documents/transactions/summary is deprecated.", DeprecationWarning)
|
|
6640
6642
|
|
|
6641
6643
|
_param = self._get_selected_transactions_summary_serialize(
|
|
6642
6644
|
x_property_id=x_property_id,
|
|
@@ -6691,9 +6693,9 @@ class FiscalDocumentsApi:
|
|
|
6691
6693
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6692
6694
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6693
6695
|
) -> ApiResponse[FiscalDocumentTransactionsSummary]:
|
|
6694
|
-
"""Get totals of selected available transactions for fiscal documents
|
|
6696
|
+
"""(Deprecated) Get totals of selected available transactions for fiscal documents (deprecated)
|
|
6695
6697
|
|
|
6696
|
-
Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6698
|
+
**Deprecated:** Use POST /fiscal-document/v1/fiscal-documents/transactions/summary instead. Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6697
6699
|
|
|
6698
6700
|
:param x_property_id: Property id (required)
|
|
6699
6701
|
:type x_property_id: int
|
|
@@ -6732,6 +6734,7 @@ class FiscalDocumentsApi:
|
|
|
6732
6734
|
:type _host_index: int, optional
|
|
6733
6735
|
:return: Returns the result object.
|
|
6734
6736
|
""" # noqa: E501
|
|
6737
|
+
warnings.warn("GET /fiscal-document/v1/fiscal-documents/transactions/summary is deprecated.", DeprecationWarning)
|
|
6735
6738
|
|
|
6736
6739
|
_param = self._get_selected_transactions_summary_serialize(
|
|
6737
6740
|
x_property_id=x_property_id,
|
|
@@ -6786,9 +6789,9 @@ class FiscalDocumentsApi:
|
|
|
6786
6789
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6787
6790
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6788
6791
|
) -> RESTResponseType:
|
|
6789
|
-
"""Get totals of selected available transactions for fiscal documents
|
|
6792
|
+
"""(Deprecated) Get totals of selected available transactions for fiscal documents (deprecated)
|
|
6790
6793
|
|
|
6791
|
-
Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6794
|
+
**Deprecated:** Use POST /fiscal-document/v1/fiscal-documents/transactions/summary instead. Get totals of selected available transactions for fiscal documents based on the document type.
|
|
6792
6795
|
|
|
6793
6796
|
:param x_property_id: Property id (required)
|
|
6794
6797
|
:type x_property_id: int
|
|
@@ -6827,6 +6830,7 @@ class FiscalDocumentsApi:
|
|
|
6827
6830
|
:type _host_index: int, optional
|
|
6828
6831
|
:return: Returns the result object.
|
|
6829
6832
|
""" # noqa: E501
|
|
6833
|
+
warnings.warn("GET /fiscal-document/v1/fiscal-documents/transactions/summary is deprecated.", DeprecationWarning)
|
|
6830
6834
|
|
|
6831
6835
|
_param = self._get_selected_transactions_summary_serialize(
|
|
6832
6836
|
x_property_id=x_property_id,
|
|
@@ -7248,6 +7252,295 @@ class FiscalDocumentsApi:
|
|
|
7248
7252
|
|
|
7249
7253
|
|
|
7250
7254
|
|
|
7255
|
+
@validate_call
|
|
7256
|
+
def post_selected_transactions_summary(
|
|
7257
|
+
self,
|
|
7258
|
+
x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")],
|
|
7259
|
+
transactions_summary_request: TransactionsSummaryRequest,
|
|
7260
|
+
_request_timeout: Union[
|
|
7261
|
+
None,
|
|
7262
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7263
|
+
Tuple[
|
|
7264
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7265
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
7266
|
+
]
|
|
7267
|
+
] = None,
|
|
7268
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
7269
|
+
_content_type: Optional[StrictStr] = None,
|
|
7270
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
7271
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
7272
|
+
) -> FiscalDocumentTransactionsSummary:
|
|
7273
|
+
"""Get totals of selected available transactions for fiscal documents
|
|
7274
|
+
|
|
7275
|
+
Get totals of selected available transactions for fiscal documents based on the document type. Supports partial transaction amounts via transactionIdToAmount.
|
|
7276
|
+
|
|
7277
|
+
:param x_property_id: Property id (required)
|
|
7278
|
+
:type x_property_id: int
|
|
7279
|
+
:param transactions_summary_request: (required)
|
|
7280
|
+
:type transactions_summary_request: TransactionsSummaryRequest
|
|
7281
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
7282
|
+
number provided, it will be total request
|
|
7283
|
+
timeout. It can also be a pair (tuple) of
|
|
7284
|
+
(connection, read) timeouts.
|
|
7285
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
7286
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
7287
|
+
request; this effectively ignores the
|
|
7288
|
+
authentication in the spec for a single request.
|
|
7289
|
+
:type _request_auth: dict, optional
|
|
7290
|
+
:param _content_type: force content-type for the request.
|
|
7291
|
+
:type _content_type: str, Optional
|
|
7292
|
+
:param _headers: set to override the headers for a single
|
|
7293
|
+
request; this effectively ignores the headers
|
|
7294
|
+
in the spec for a single request.
|
|
7295
|
+
:type _headers: dict, optional
|
|
7296
|
+
:param _host_index: set to override the host_index for a single
|
|
7297
|
+
request; this effectively ignores the host_index
|
|
7298
|
+
in the spec for a single request.
|
|
7299
|
+
:type _host_index: int, optional
|
|
7300
|
+
:return: Returns the result object.
|
|
7301
|
+
""" # noqa: E501
|
|
7302
|
+
|
|
7303
|
+
_param = self._post_selected_transactions_summary_serialize(
|
|
7304
|
+
x_property_id=x_property_id,
|
|
7305
|
+
transactions_summary_request=transactions_summary_request,
|
|
7306
|
+
_request_auth=_request_auth,
|
|
7307
|
+
_content_type=_content_type,
|
|
7308
|
+
_headers=_headers,
|
|
7309
|
+
_host_index=_host_index
|
|
7310
|
+
)
|
|
7311
|
+
|
|
7312
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
7313
|
+
'200': "FiscalDocumentTransactionsSummary",
|
|
7314
|
+
}
|
|
7315
|
+
response_data = self.api_client.call_api(
|
|
7316
|
+
*_param,
|
|
7317
|
+
_request_timeout=_request_timeout
|
|
7318
|
+
)
|
|
7319
|
+
response_data.read()
|
|
7320
|
+
return self.api_client.response_deserialize(
|
|
7321
|
+
response_data=response_data,
|
|
7322
|
+
response_types_map=_response_types_map,
|
|
7323
|
+
).data
|
|
7324
|
+
|
|
7325
|
+
|
|
7326
|
+
@validate_call
|
|
7327
|
+
def post_selected_transactions_summary_with_http_info(
|
|
7328
|
+
self,
|
|
7329
|
+
x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")],
|
|
7330
|
+
transactions_summary_request: TransactionsSummaryRequest,
|
|
7331
|
+
_request_timeout: Union[
|
|
7332
|
+
None,
|
|
7333
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7334
|
+
Tuple[
|
|
7335
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7336
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
7337
|
+
]
|
|
7338
|
+
] = None,
|
|
7339
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
7340
|
+
_content_type: Optional[StrictStr] = None,
|
|
7341
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
7342
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
7343
|
+
) -> ApiResponse[FiscalDocumentTransactionsSummary]:
|
|
7344
|
+
"""Get totals of selected available transactions for fiscal documents
|
|
7345
|
+
|
|
7346
|
+
Get totals of selected available transactions for fiscal documents based on the document type. Supports partial transaction amounts via transactionIdToAmount.
|
|
7347
|
+
|
|
7348
|
+
:param x_property_id: Property id (required)
|
|
7349
|
+
:type x_property_id: int
|
|
7350
|
+
:param transactions_summary_request: (required)
|
|
7351
|
+
:type transactions_summary_request: TransactionsSummaryRequest
|
|
7352
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
7353
|
+
number provided, it will be total request
|
|
7354
|
+
timeout. It can also be a pair (tuple) of
|
|
7355
|
+
(connection, read) timeouts.
|
|
7356
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
7357
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
7358
|
+
request; this effectively ignores the
|
|
7359
|
+
authentication in the spec for a single request.
|
|
7360
|
+
:type _request_auth: dict, optional
|
|
7361
|
+
:param _content_type: force content-type for the request.
|
|
7362
|
+
:type _content_type: str, Optional
|
|
7363
|
+
:param _headers: set to override the headers for a single
|
|
7364
|
+
request; this effectively ignores the headers
|
|
7365
|
+
in the spec for a single request.
|
|
7366
|
+
:type _headers: dict, optional
|
|
7367
|
+
:param _host_index: set to override the host_index for a single
|
|
7368
|
+
request; this effectively ignores the host_index
|
|
7369
|
+
in the spec for a single request.
|
|
7370
|
+
:type _host_index: int, optional
|
|
7371
|
+
:return: Returns the result object.
|
|
7372
|
+
""" # noqa: E501
|
|
7373
|
+
|
|
7374
|
+
_param = self._post_selected_transactions_summary_serialize(
|
|
7375
|
+
x_property_id=x_property_id,
|
|
7376
|
+
transactions_summary_request=transactions_summary_request,
|
|
7377
|
+
_request_auth=_request_auth,
|
|
7378
|
+
_content_type=_content_type,
|
|
7379
|
+
_headers=_headers,
|
|
7380
|
+
_host_index=_host_index
|
|
7381
|
+
)
|
|
7382
|
+
|
|
7383
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
7384
|
+
'200': "FiscalDocumentTransactionsSummary",
|
|
7385
|
+
}
|
|
7386
|
+
response_data = self.api_client.call_api(
|
|
7387
|
+
*_param,
|
|
7388
|
+
_request_timeout=_request_timeout
|
|
7389
|
+
)
|
|
7390
|
+
response_data.read()
|
|
7391
|
+
return self.api_client.response_deserialize(
|
|
7392
|
+
response_data=response_data,
|
|
7393
|
+
response_types_map=_response_types_map,
|
|
7394
|
+
)
|
|
7395
|
+
|
|
7396
|
+
|
|
7397
|
+
@validate_call
|
|
7398
|
+
def post_selected_transactions_summary_without_preload_content(
|
|
7399
|
+
self,
|
|
7400
|
+
x_property_id: Annotated[int, Field(strict=True, ge=1, description="Property id")],
|
|
7401
|
+
transactions_summary_request: TransactionsSummaryRequest,
|
|
7402
|
+
_request_timeout: Union[
|
|
7403
|
+
None,
|
|
7404
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7405
|
+
Tuple[
|
|
7406
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
7407
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
7408
|
+
]
|
|
7409
|
+
] = None,
|
|
7410
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
7411
|
+
_content_type: Optional[StrictStr] = None,
|
|
7412
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
7413
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
7414
|
+
) -> RESTResponseType:
|
|
7415
|
+
"""Get totals of selected available transactions for fiscal documents
|
|
7416
|
+
|
|
7417
|
+
Get totals of selected available transactions for fiscal documents based on the document type. Supports partial transaction amounts via transactionIdToAmount.
|
|
7418
|
+
|
|
7419
|
+
:param x_property_id: Property id (required)
|
|
7420
|
+
:type x_property_id: int
|
|
7421
|
+
:param transactions_summary_request: (required)
|
|
7422
|
+
:type transactions_summary_request: TransactionsSummaryRequest
|
|
7423
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
7424
|
+
number provided, it will be total request
|
|
7425
|
+
timeout. It can also be a pair (tuple) of
|
|
7426
|
+
(connection, read) timeouts.
|
|
7427
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
7428
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
7429
|
+
request; this effectively ignores the
|
|
7430
|
+
authentication in the spec for a single request.
|
|
7431
|
+
:type _request_auth: dict, optional
|
|
7432
|
+
:param _content_type: force content-type for the request.
|
|
7433
|
+
:type _content_type: str, Optional
|
|
7434
|
+
:param _headers: set to override the headers for a single
|
|
7435
|
+
request; this effectively ignores the headers
|
|
7436
|
+
in the spec for a single request.
|
|
7437
|
+
:type _headers: dict, optional
|
|
7438
|
+
:param _host_index: set to override the host_index for a single
|
|
7439
|
+
request; this effectively ignores the host_index
|
|
7440
|
+
in the spec for a single request.
|
|
7441
|
+
:type _host_index: int, optional
|
|
7442
|
+
:return: Returns the result object.
|
|
7443
|
+
""" # noqa: E501
|
|
7444
|
+
|
|
7445
|
+
_param = self._post_selected_transactions_summary_serialize(
|
|
7446
|
+
x_property_id=x_property_id,
|
|
7447
|
+
transactions_summary_request=transactions_summary_request,
|
|
7448
|
+
_request_auth=_request_auth,
|
|
7449
|
+
_content_type=_content_type,
|
|
7450
|
+
_headers=_headers,
|
|
7451
|
+
_host_index=_host_index
|
|
7452
|
+
)
|
|
7453
|
+
|
|
7454
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
7455
|
+
'200': "FiscalDocumentTransactionsSummary",
|
|
7456
|
+
}
|
|
7457
|
+
response_data = self.api_client.call_api(
|
|
7458
|
+
*_param,
|
|
7459
|
+
_request_timeout=_request_timeout
|
|
7460
|
+
)
|
|
7461
|
+
return response_data.response
|
|
7462
|
+
|
|
7463
|
+
|
|
7464
|
+
def _post_selected_transactions_summary_serialize(
|
|
7465
|
+
self,
|
|
7466
|
+
x_property_id,
|
|
7467
|
+
transactions_summary_request,
|
|
7468
|
+
_request_auth,
|
|
7469
|
+
_content_type,
|
|
7470
|
+
_headers,
|
|
7471
|
+
_host_index,
|
|
7472
|
+
) -> RequestSerialized:
|
|
7473
|
+
|
|
7474
|
+
_host = None
|
|
7475
|
+
|
|
7476
|
+
_collection_formats: Dict[str, str] = {
|
|
7477
|
+
}
|
|
7478
|
+
|
|
7479
|
+
_path_params: Dict[str, str] = {}
|
|
7480
|
+
_query_params: List[Tuple[str, str]] = []
|
|
7481
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
7482
|
+
_form_params: List[Tuple[str, str]] = []
|
|
7483
|
+
_files: Dict[
|
|
7484
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
7485
|
+
] = {}
|
|
7486
|
+
_body_params: Optional[bytes] = None
|
|
7487
|
+
|
|
7488
|
+
# process the path parameters
|
|
7489
|
+
# process the query parameters
|
|
7490
|
+
# process the header parameters
|
|
7491
|
+
if x_property_id is not None:
|
|
7492
|
+
_header_params['X-Property-ID'] = x_property_id
|
|
7493
|
+
# process the form parameters
|
|
7494
|
+
# process the body parameter
|
|
7495
|
+
if transactions_summary_request is not None:
|
|
7496
|
+
_body_params = transactions_summary_request
|
|
7497
|
+
|
|
7498
|
+
|
|
7499
|
+
# set the HTTP header `Accept`
|
|
7500
|
+
if 'Accept' not in _header_params:
|
|
7501
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
7502
|
+
[
|
|
7503
|
+
'application/json'
|
|
7504
|
+
]
|
|
7505
|
+
)
|
|
7506
|
+
|
|
7507
|
+
# set the HTTP header `Content-Type`
|
|
7508
|
+
if _content_type:
|
|
7509
|
+
_header_params['Content-Type'] = _content_type
|
|
7510
|
+
else:
|
|
7511
|
+
_default_content_type = (
|
|
7512
|
+
self.api_client.select_header_content_type(
|
|
7513
|
+
[
|
|
7514
|
+
'application/json'
|
|
7515
|
+
]
|
|
7516
|
+
)
|
|
7517
|
+
)
|
|
7518
|
+
if _default_content_type is not None:
|
|
7519
|
+
_header_params['Content-Type'] = _default_content_type
|
|
7520
|
+
|
|
7521
|
+
# authentication setting
|
|
7522
|
+
_auth_settings: List[str] = [
|
|
7523
|
+
'bearerAuth'
|
|
7524
|
+
]
|
|
7525
|
+
|
|
7526
|
+
return self.api_client.param_serialize(
|
|
7527
|
+
method='POST',
|
|
7528
|
+
resource_path='/fiscal-document/v1/fiscal-documents/transactions/summary',
|
|
7529
|
+
path_params=_path_params,
|
|
7530
|
+
query_params=_query_params,
|
|
7531
|
+
header_params=_header_params,
|
|
7532
|
+
body=_body_params,
|
|
7533
|
+
post_params=_form_params,
|
|
7534
|
+
files=_files,
|
|
7535
|
+
auth_settings=_auth_settings,
|
|
7536
|
+
collection_formats=_collection_formats,
|
|
7537
|
+
_host=_host,
|
|
7538
|
+
_request_auth=_request_auth
|
|
7539
|
+
)
|
|
7540
|
+
|
|
7541
|
+
|
|
7542
|
+
|
|
7543
|
+
|
|
7251
7544
|
@validate_call
|
|
7252
7545
|
def put_fiscal_document(
|
|
7253
7546
|
self,
|
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/1.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/1.19.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
|
@@ -504,7 +504,7 @@ class Configuration:
|
|
|
504
504
|
"OS: {env}\n"\
|
|
505
505
|
"Python Version: {pyversion}\n"\
|
|
506
506
|
"Version of the API: v1\n"\
|
|
507
|
-
"SDK Package Version: 1.
|
|
507
|
+
"SDK Package Version: 1.19.0".\
|
|
508
508
|
format(env=sys.platform, pyversion=sys.version)
|
|
509
509
|
|
|
510
510
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -79,3 +79,4 @@ from cloudbeds_fiscal_document.models.single_allocation import SingleAllocation
|
|
|
79
79
|
from cloudbeds_fiscal_document.models.source_kind import SourceKind
|
|
80
80
|
from cloudbeds_fiscal_document.models.transaction_for_allocation_response import TransactionForAllocationResponse
|
|
81
81
|
from cloudbeds_fiscal_document.models.transaction_status import TransactionStatus
|
|
82
|
+
from cloudbeds_fiscal_document.models.transactions_summary_request import TransactionsSummaryRequest
|
|
@@ -28,10 +28,15 @@ class CreationMethod(str, Enum):
|
|
|
28
28
|
"""
|
|
29
29
|
VOID = 'VOID'
|
|
30
30
|
ADJUSTMENT = 'ADJUSTMENT'
|
|
31
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
31
32
|
|
|
32
33
|
@classmethod
|
|
33
34
|
def from_json(cls, json_str: str) -> Self:
|
|
34
35
|
"""Create an instance of CreationMethod from a JSON string"""
|
|
35
36
|
return cls(json.loads(json_str))
|
|
36
37
|
|
|
38
|
+
@classmethod
|
|
39
|
+
def _missing_(cls, value):
|
|
40
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
41
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
37
42
|
|
|
@@ -35,10 +35,15 @@ class DocumentAction(str, Enum):
|
|
|
35
35
|
VOID_AND_REFUND = 'VOID_AND_REFUND'
|
|
36
36
|
ADD_PAYMENT = 'ADD_PAYMENT'
|
|
37
37
|
APPLY_TO_INVOICE = 'APPLY_TO_INVOICE'
|
|
38
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
38
39
|
|
|
39
40
|
@classmethod
|
|
40
41
|
def from_json(cls, json_str: str) -> Self:
|
|
41
42
|
"""Create an instance of DocumentAction from a JSON string"""
|
|
42
43
|
return cls(json.loads(json_str))
|
|
43
44
|
|
|
45
|
+
@classmethod
|
|
46
|
+
def _missing_(cls, value):
|
|
47
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
48
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
44
49
|
|
|
@@ -31,10 +31,15 @@ class DocumentTriggerEvent(str, Enum):
|
|
|
31
31
|
ON_RESERVATION_CREATED = 'on_reservation_created'
|
|
32
32
|
ON_PAYMENT_CREATION = 'on_payment_creation'
|
|
33
33
|
ON_ALLOCATION_CREATION = 'on_allocation_creation'
|
|
34
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
34
35
|
|
|
35
36
|
@classmethod
|
|
36
37
|
def from_json(cls, json_str: str) -> Self:
|
|
37
38
|
"""Create an instance of DocumentTriggerEvent from a JSON string"""
|
|
38
39
|
return cls(json.loads(json_str))
|
|
39
40
|
|
|
41
|
+
@classmethod
|
|
42
|
+
def _missing_(cls, value):
|
|
43
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
44
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
40
45
|
|
|
@@ -33,10 +33,15 @@ class FiscalDocumentKind(str, Enum):
|
|
|
33
33
|
PRO_FORMA_INVOICE = 'PRO_FORMA_INVOICE'
|
|
34
34
|
REFUND_RECEIPT = 'REFUND_RECEIPT'
|
|
35
35
|
INVOICE_RECEIPT = 'INVOICE_RECEIPT'
|
|
36
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
36
37
|
|
|
37
38
|
@classmethod
|
|
38
39
|
def from_json(cls, json_str: str) -> Self:
|
|
39
40
|
"""Create an instance of FiscalDocumentKind from a JSON string"""
|
|
40
41
|
return cls(json.loads(json_str))
|
|
41
42
|
|
|
43
|
+
@classmethod
|
|
44
|
+
def _missing_(cls, value):
|
|
45
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
46
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
42
47
|
|
|
@@ -45,10 +45,15 @@ class FiscalDocumentStatus(str, Enum):
|
|
|
45
45
|
ACCEPTED = 'ACCEPTED'
|
|
46
46
|
PENDING_TRANSACTION = 'PENDING_TRANSACTION'
|
|
47
47
|
ALLOCATED = 'ALLOCATED'
|
|
48
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
48
49
|
|
|
49
50
|
@classmethod
|
|
50
51
|
def from_json(cls, json_str: str) -> Self:
|
|
51
52
|
"""Create an instance of FiscalDocumentStatus from a JSON string"""
|
|
52
53
|
return cls(json.loads(json_str))
|
|
53
54
|
|
|
55
|
+
@classmethod
|
|
56
|
+
def _missing_(cls, value):
|
|
57
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
58
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
54
59
|
|
|
@@ -32,6 +32,7 @@ class FiscalDocumentTransactionResponse(BaseModel):
|
|
|
32
32
|
id: Optional[StrictStr] = None
|
|
33
33
|
property_id: Optional[StrictStr] = Field(default=None, alias="propertyId")
|
|
34
34
|
source_id: Optional[StrictStr] = Field(default=None, alias="sourceId")
|
|
35
|
+
source_identifier: Optional[StrictStr] = Field(default=None, alias="sourceIdentifier")
|
|
35
36
|
source_kind: Optional[SourceKind] = Field(default=None, alias="sourceKind")
|
|
36
37
|
transaction_date: Optional[datetime] = Field(default=None, alias="transactionDate")
|
|
37
38
|
guest_name: Optional[StrictStr] = Field(default=None, alias="guestName")
|
|
@@ -44,16 +45,17 @@ class FiscalDocumentTransactionResponse(BaseModel):
|
|
|
44
45
|
status: Optional[StrictStr] = Field(default=None, description="Status of the transaction - PENDING for unpaid transactions, POSTED for paid transactions")
|
|
45
46
|
paid_amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="paidAmount")
|
|
46
47
|
allocations: Optional[List[FiscalDocumentTransactionAllocation]] = None
|
|
47
|
-
__properties: ClassVar[List[str]] = ["id", "propertyId", "sourceId", "sourceKind", "transactionDate", "guestName", "description", "internalCode", "amount", "availableAmount", "documentFiscalizedAmount", "folioId", "status", "paidAmount", "allocations"]
|
|
48
|
+
__properties: ClassVar[List[str]] = ["id", "propertyId", "sourceId", "sourceIdentifier", "sourceKind", "transactionDate", "guestName", "description", "internalCode", "amount", "availableAmount", "documentFiscalizedAmount", "folioId", "status", "paidAmount", "allocations"]
|
|
48
49
|
|
|
49
50
|
@field_validator('status')
|
|
50
51
|
def status_validate_enum(cls, value):
|
|
51
|
-
"""Validates the enum"""
|
|
52
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
52
53
|
if value is None:
|
|
53
54
|
return value
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
_allowed_values = set(['PENDING', 'POSTED', 'unknown_default_open_api'])
|
|
57
|
+
if value not in _allowed_values:
|
|
58
|
+
return 'unknown_default_open_api'
|
|
57
59
|
return value
|
|
58
60
|
|
|
59
61
|
model_config = ConfigDict(
|
|
@@ -117,6 +119,7 @@ class FiscalDocumentTransactionResponse(BaseModel):
|
|
|
117
119
|
"id": obj.get("id"),
|
|
118
120
|
"propertyId": obj.get("propertyId"),
|
|
119
121
|
"sourceId": obj.get("sourceId"),
|
|
122
|
+
"sourceIdentifier": obj.get("sourceIdentifier"),
|
|
120
123
|
"sourceKind": obj.get("sourceKind"),
|
|
121
124
|
"transactionDate": obj.get("transactionDate"),
|
|
122
125
|
"guestName": obj.get("guestName"),
|
|
@@ -32,10 +32,15 @@ class GuestDocumentType(str, Enum):
|
|
|
32
32
|
PASSPORT = 'passport'
|
|
33
33
|
DNI = 'dni'
|
|
34
34
|
NIE = 'nie'
|
|
35
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
35
36
|
|
|
36
37
|
@classmethod
|
|
37
38
|
def from_json(cls, json_str: str) -> Self:
|
|
38
39
|
"""Create an instance of GuestDocumentType from a JSON string"""
|
|
39
40
|
return cls(json.loads(json_str))
|
|
40
41
|
|
|
42
|
+
@classmethod
|
|
43
|
+
def _missing_(cls, value):
|
|
44
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
45
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
41
46
|
|
|
@@ -29,10 +29,15 @@ class GuestGender(str, Enum):
|
|
|
29
29
|
M = 'M'
|
|
30
30
|
F = 'F'
|
|
31
31
|
N_SLASH_A = 'N/A'
|
|
32
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
32
33
|
|
|
33
34
|
@classmethod
|
|
34
35
|
def from_json(cls, json_str: str) -> Self:
|
|
35
36
|
"""Create an instance of GuestGender from a JSON string"""
|
|
36
37
|
return cls(json.loads(json_str))
|
|
37
38
|
|
|
39
|
+
@classmethod
|
|
40
|
+
def _missing_(cls, value):
|
|
41
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
42
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
38
43
|
|
|
@@ -36,12 +36,13 @@ class IntegrationSignature(BaseModel):
|
|
|
36
36
|
|
|
37
37
|
@field_validator('format')
|
|
38
38
|
def format_validate_enum(cls, value):
|
|
39
|
-
"""Validates the enum"""
|
|
39
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
40
40
|
if value is None:
|
|
41
41
|
return value
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
_allowed_values = set(['TEXT', 'BASE64', 'HEX', 'URL', 'UNKNOWN', 'unknown_default_open_api'])
|
|
44
|
+
if value not in _allowed_values:
|
|
45
|
+
return 'unknown_default_open_api'
|
|
45
46
|
return value
|
|
46
47
|
|
|
47
48
|
model_config = ConfigDict(
|
|
@@ -40,12 +40,13 @@ class LinkedDocument(BaseModel):
|
|
|
40
40
|
|
|
41
41
|
@field_validator('relationship_type')
|
|
42
42
|
def relationship_type_validate_enum(cls, value):
|
|
43
|
-
"""Validates the enum"""
|
|
43
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
44
44
|
if value is None:
|
|
45
45
|
return value
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
_allowed_values = set(['PARENT', 'CHILD', 'unknown_default_open_api'])
|
|
48
|
+
if value not in _allowed_values:
|
|
49
|
+
return 'unknown_default_open_api'
|
|
49
50
|
return value
|
|
50
51
|
|
|
51
52
|
model_config = ConfigDict(
|
|
@@ -44,9 +44,10 @@ class ManualRecipientRequest(BaseModel):
|
|
|
44
44
|
|
|
45
45
|
@field_validator('type')
|
|
46
46
|
def type_validate_enum(cls, value):
|
|
47
|
-
"""Validates the enum"""
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
48
|
+
_allowed_values = set(['PERSON', 'COMPANY', 'unknown_default_open_api'])
|
|
49
|
+
if value not in _allowed_values:
|
|
50
|
+
return 'unknown_default_open_api'
|
|
50
51
|
return value
|
|
51
52
|
|
|
52
53
|
model_config = ConfigDict(
|
|
@@ -31,9 +31,10 @@ class ProFormaStatusUpdateRequest(BaseModel):
|
|
|
31
31
|
|
|
32
32
|
@field_validator('status')
|
|
33
33
|
def status_validate_enum(cls, value):
|
|
34
|
-
"""Validates the enum"""
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
35
|
+
_allowed_values = set(['ACCEPTED', 'REJECTED', 'CANCELED', 'unknown_default_open_api'])
|
|
36
|
+
if value not in _allowed_values:
|
|
37
|
+
return 'unknown_default_open_api'
|
|
37
38
|
return value
|
|
38
39
|
|
|
39
40
|
model_config = ConfigDict(
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
|
21
|
-
from typing import Any, ClassVar, Dict, List, Union
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
@@ -28,7 +28,8 @@ class ReceiptTransactionAllocation(BaseModel):
|
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
transaction_id: StrictInt = Field(alias="transactionId")
|
|
30
30
|
amount: Union[StrictFloat, StrictInt]
|
|
31
|
-
|
|
31
|
+
document_id: Optional[StrictInt] = Field(default=None, alias="documentId")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["transactionId", "amount", "documentId"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
34
35
|
populate_by_name=True,
|
|
@@ -82,7 +83,8 @@ class ReceiptTransactionAllocation(BaseModel):
|
|
|
82
83
|
|
|
83
84
|
_obj = cls.model_validate({
|
|
84
85
|
"transactionId": obj.get("transactionId"),
|
|
85
|
-
"amount": obj.get("amount")
|
|
86
|
+
"amount": obj.get("amount"),
|
|
87
|
+
"documentId": obj.get("documentId")
|
|
86
88
|
})
|
|
87
89
|
return _obj
|
|
88
90
|
|
|
@@ -34,19 +34,21 @@ class RecipientRequest(BaseModel):
|
|
|
34
34
|
|
|
35
35
|
@field_validator('type')
|
|
36
36
|
def type_validate_enum(cls, value):
|
|
37
|
-
"""Validates the enum"""
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
38
|
+
_allowed_values = set(['GUEST', 'CONTACT', 'GROUP', 'COMPANY', 'GROUP_PROFILE', 'GROUP_PROFILE_CONTACT', 'unknown_default_open_api'])
|
|
39
|
+
if value not in _allowed_values:
|
|
40
|
+
return 'unknown_default_open_api'
|
|
40
41
|
return value
|
|
41
42
|
|
|
42
43
|
@field_validator('tax_document_source')
|
|
43
44
|
def tax_document_source_validate_enum(cls, value):
|
|
44
|
-
"""Validates the enum"""
|
|
45
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
45
46
|
if value is None:
|
|
46
47
|
return value
|
|
47
48
|
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
_allowed_values = set(['GUEST_TAX_ID', 'GUEST_DOCUMENT_NUMBER', 'unknown_default_open_api'])
|
|
50
|
+
if value not in _allowed_values:
|
|
51
|
+
return 'unknown_default_open_api'
|
|
50
52
|
return value
|
|
51
53
|
|
|
52
54
|
model_config = ConfigDict(
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -28,7 +28,19 @@ class RecipientTaxInfo(BaseModel):
|
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
id: Optional[StrictStr] = None
|
|
30
30
|
company_name: Optional[StrictStr] = Field(default=None, alias="companyName")
|
|
31
|
-
|
|
31
|
+
source: Optional[StrictStr] = Field(default=None, description="Indicates whether the tax identification used is from Tax ID or Document Number.")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["id", "companyName", "source"]
|
|
33
|
+
|
|
34
|
+
@field_validator('source')
|
|
35
|
+
def source_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum, returning unknown_default_open_api for unrecognized values"""
|
|
37
|
+
if value is None:
|
|
38
|
+
return value
|
|
39
|
+
|
|
40
|
+
_allowed_values = set(['GUEST_TAX_ID', 'GUEST_DOCUMENT_NUMBER', 'unknown_default_open_api'])
|
|
41
|
+
if value not in _allowed_values:
|
|
42
|
+
return 'unknown_default_open_api'
|
|
43
|
+
return value
|
|
32
44
|
|
|
33
45
|
model_config = ConfigDict(
|
|
34
46
|
populate_by_name=True,
|
|
@@ -82,7 +94,8 @@ class RecipientTaxInfo(BaseModel):
|
|
|
82
94
|
|
|
83
95
|
_obj = cls.model_validate({
|
|
84
96
|
"id": obj.get("id"),
|
|
85
|
-
"companyName": obj.get("companyName")
|
|
97
|
+
"companyName": obj.get("companyName"),
|
|
98
|
+
"source": obj.get("source")
|
|
86
99
|
})
|
|
87
100
|
return _obj
|
|
88
101
|
|
|
@@ -29,10 +29,15 @@ class RecipientType(str, Enum):
|
|
|
29
29
|
COMPANY = 'COMPANY'
|
|
30
30
|
PERSON = 'PERSON'
|
|
31
31
|
MANUAL = 'MANUAL'
|
|
32
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
32
33
|
|
|
33
34
|
@classmethod
|
|
34
35
|
def from_json(cls, json_str: str) -> Self:
|
|
35
36
|
"""Create an instance of RecipientType from a JSON string"""
|
|
36
37
|
return cls(json.loads(json_str))
|
|
37
38
|
|
|
39
|
+
@classmethod
|
|
40
|
+
def _missing_(cls, value):
|
|
41
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
42
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
38
43
|
|
|
@@ -30,10 +30,15 @@ class SourceKind(str, Enum):
|
|
|
30
30
|
RESERVATION = 'RESERVATION'
|
|
31
31
|
HOUSE_ACCOUNT = 'HOUSE_ACCOUNT'
|
|
32
32
|
ACCOUNTS_RECEIVABLE_LEDGER = 'ACCOUNTS_RECEIVABLE_LEDGER'
|
|
33
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
33
34
|
|
|
34
35
|
@classmethod
|
|
35
36
|
def from_json(cls, json_str: str) -> Self:
|
|
36
37
|
"""Create an instance of SourceKind from a JSON string"""
|
|
37
38
|
return cls(json.loads(json_str))
|
|
38
39
|
|
|
40
|
+
@classmethod
|
|
41
|
+
def _missing_(cls, value):
|
|
42
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
43
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
39
44
|
|
|
@@ -28,10 +28,15 @@ class TransactionStatus(str, Enum):
|
|
|
28
28
|
"""
|
|
29
29
|
POSTED = 'POSTED'
|
|
30
30
|
PENDING = 'PENDING'
|
|
31
|
+
UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api'
|
|
31
32
|
|
|
32
33
|
@classmethod
|
|
33
34
|
def from_json(cls, json_str: str) -> Self:
|
|
34
35
|
"""Create an instance of TransactionStatus from a JSON string"""
|
|
35
36
|
return cls(json.loads(json_str))
|
|
36
37
|
|
|
38
|
+
@classmethod
|
|
39
|
+
def _missing_(cls, value):
|
|
40
|
+
"""Handle unknown enum values by returning the unknown default case."""
|
|
41
|
+
return cls.UNKNOWN_DEFAULT_OPEN_API
|
|
37
42
|
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Fiscal document service API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from cloudbeds_fiscal_document.models.fiscal_document_kind import FiscalDocumentKind
|
|
24
|
+
from cloudbeds_fiscal_document.models.source_kind import SourceKind
|
|
25
|
+
from typing import Optional, Set
|
|
26
|
+
from typing_extensions import Self
|
|
27
|
+
|
|
28
|
+
class TransactionsSummaryRequest(BaseModel):
|
|
29
|
+
"""
|
|
30
|
+
TransactionsSummaryRequest
|
|
31
|
+
""" # noqa: E501
|
|
32
|
+
document_kind: Optional[FiscalDocumentKind] = Field(default=None, alias="documentKind")
|
|
33
|
+
source_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="Source ID.", alias="sourceId")
|
|
34
|
+
source_kind: SourceKind = Field(alias="sourceKind")
|
|
35
|
+
folio_ids: Optional[Annotated[List[StrictInt], Field(min_length=1)]] = Field(default=None, description="Filter by folio IDs.", alias="folioIds")
|
|
36
|
+
exclude_transaction_ids: Optional[Annotated[List[StrictInt], Field(min_length=1)]] = Field(default=None, description="Transaction IDs to exclude.", alias="excludeTransactionIds")
|
|
37
|
+
include_transaction_ids: Optional[Annotated[List[StrictInt], Field(min_length=1)]] = Field(default=None, description="Transaction IDs to include.", alias="includeTransactionIds")
|
|
38
|
+
transaction_id_to_amount: Optional[Dict[str, Union[StrictFloat, StrictInt]]] = Field(default=None, description="Map of transaction ID to amount (in major currency units, e.g., 10.50 for $10.50) for partial transaction inclusion.", alias="transactionIdToAmount")
|
|
39
|
+
__properties: ClassVar[List[str]] = ["documentKind", "sourceId", "sourceKind", "folioIds", "excludeTransactionIds", "includeTransactionIds", "transactionIdToAmount"]
|
|
40
|
+
|
|
41
|
+
model_config = ConfigDict(
|
|
42
|
+
populate_by_name=True,
|
|
43
|
+
validate_assignment=True,
|
|
44
|
+
protected_namespaces=(),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
55
|
+
return json.dumps(self.to_dict())
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
59
|
+
"""Create an instance of TransactionsSummaryRequest from a JSON string"""
|
|
60
|
+
return cls.from_dict(json.loads(json_str))
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
63
|
+
"""Return the dictionary representation of the model using alias.
|
|
64
|
+
|
|
65
|
+
This has the following differences from calling pydantic's
|
|
66
|
+
`self.model_dump(by_alias=True)`:
|
|
67
|
+
|
|
68
|
+
* `None` is only added to the output dict for nullable fields that
|
|
69
|
+
were set at model initialization. Other fields with value `None`
|
|
70
|
+
are ignored.
|
|
71
|
+
"""
|
|
72
|
+
excluded_fields: Set[str] = set([
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
# set to None if transaction_id_to_amount (nullable) is None
|
|
81
|
+
# and model_fields_set contains the field
|
|
82
|
+
if self.transaction_id_to_amount is None and "transaction_id_to_amount" in self.model_fields_set:
|
|
83
|
+
_dict['transactionIdToAmount'] = None
|
|
84
|
+
|
|
85
|
+
return _dict
|
|
86
|
+
|
|
87
|
+
@classmethod
|
|
88
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
89
|
+
"""Create an instance of TransactionsSummaryRequest from a dict"""
|
|
90
|
+
if obj is None:
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
if not isinstance(obj, dict):
|
|
94
|
+
return cls.model_validate(obj)
|
|
95
|
+
|
|
96
|
+
_obj = cls.model_validate({
|
|
97
|
+
"documentKind": obj.get("documentKind"),
|
|
98
|
+
"sourceId": obj.get("sourceId"),
|
|
99
|
+
"sourceKind": obj.get("sourceKind"),
|
|
100
|
+
"folioIds": obj.get("folioIds"),
|
|
101
|
+
"excludeTransactionIds": obj.get("excludeTransactionIds"),
|
|
102
|
+
"includeTransactionIds": obj.get("includeTransactionIds"),
|
|
103
|
+
"transactionIdToAmount": obj.get("transactionIdToAmount")
|
|
104
|
+
})
|
|
105
|
+
return _obj
|
|
106
|
+
|
|
107
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Fiscal document service API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from cloudbeds_fiscal_document.models.transactions_summary_request import TransactionsSummaryRequest
|
|
18
|
+
|
|
19
|
+
class TestTransactionsSummaryRequest(unittest.TestCase):
|
|
20
|
+
"""TransactionsSummaryRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> TransactionsSummaryRequest:
|
|
29
|
+
"""Test TransactionsSummaryRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `TransactionsSummaryRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = TransactionsSummaryRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return TransactionsSummaryRequest(
|
|
38
|
+
document_kind = 'INVOICE',
|
|
39
|
+
source_id = 1,
|
|
40
|
+
source_kind = 'GROUP_PROFILE',
|
|
41
|
+
folio_ids = [
|
|
42
|
+
56
|
|
43
|
+
],
|
|
44
|
+
exclude_transaction_ids = [
|
|
45
|
+
56
|
|
46
|
+
],
|
|
47
|
+
include_transaction_ids = [
|
|
48
|
+
56
|
|
49
|
+
],
|
|
50
|
+
transaction_id_to_amount = {
|
|
51
|
+
'key' : 1.337
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
else:
|
|
55
|
+
return TransactionsSummaryRequest(
|
|
56
|
+
source_id = 1,
|
|
57
|
+
source_kind = 'GROUP_PROFILE',
|
|
58
|
+
)
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
def testTransactionsSummaryRequest(self):
|
|
62
|
+
"""Test TransactionsSummaryRequest"""
|
|
63
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
64
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
65
|
+
|
|
66
|
+
if __name__ == '__main__':
|
|
67
|
+
unittest.main()
|
{cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudbeds_fiscal_document
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.19.0
|
|
4
4
|
Summary: OpenAPI client for Cloudbeds Fiscal Document API.
|
|
5
5
|
Author: Cloudbeds
|
|
6
6
|
License: The MIT License
|
|
@@ -57,7 +57,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
|
57
57
|
The `cloudbeds_fiscal_document` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
58
58
|
|
|
59
59
|
- API version: v1
|
|
60
|
-
- Package version: 1.
|
|
60
|
+
- Package version: 1.19.0
|
|
61
61
|
- Generator version: 7.11.0
|
|
62
62
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
63
63
|
|
|
@@ -153,8 +153,9 @@ Class | Method | HTTP request | Description
|
|
|
153
153
|
*FiscalDocumentsApi* | [**get_invoice_allocations**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_invoice_allocations) | **GET** /fiscal-document/v1/invoices/{id}/receipts/allocations | Get allocations for an invoice
|
|
154
154
|
*FiscalDocumentsApi* | [**get_pro_forma_preview**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_pro_forma_preview) | **POST** /fiscal-document/v1/fiscal-documents/pro-forma-invoice/preview | Create a fiscal document of the type pro forma invoice
|
|
155
155
|
*FiscalDocumentsApi* | [**get_rectify_invoice_preview**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_rectify_invoice_preview) | **POST** /fiscal-document/v1/fiscal-documents/rectify-invoice/preview | Get fiscal document preview of the type rectify invoice
|
|
156
|
-
*FiscalDocumentsApi* | [**get_selected_transactions_summary**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_selected_transactions_summary) | **GET** /fiscal-document/v1/fiscal-documents/transactions/summary | Get totals of selected available transactions for fiscal documents
|
|
156
|
+
*FiscalDocumentsApi* | [**get_selected_transactions_summary**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_selected_transactions_summary) | **GET** /fiscal-document/v1/fiscal-documents/transactions/summary | Get totals of selected available transactions for fiscal documents (deprecated)
|
|
157
157
|
*FiscalDocumentsApi* | [**get_transactions_summary_by_document_id**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#get_transactions_summary_by_document_id) | **GET** /fiscal-document/v1/fiscal-documents/{id}/transactions/summary | Get totals of transactions for a given fiscal document id
|
|
158
|
+
*FiscalDocumentsApi* | [**post_selected_transactions_summary**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#post_selected_transactions_summary) | **POST** /fiscal-document/v1/fiscal-documents/transactions/summary | Get totals of selected available transactions for fiscal documents
|
|
158
159
|
*FiscalDocumentsApi* | [**put_fiscal_document**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#put_fiscal_document) | **PUT** /fiscal-document/v1/fiscal-documents/{id} | Update a fiscal document by id
|
|
159
160
|
*FiscalDocumentsApi* | [**update_pro_forma_invoice_status**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#update_pro_forma_invoice_status) | **PUT** /fiscal-document/v1/fiscal-documents/pro-forma-invoice/{id}/status | Update pro forma invoice status
|
|
160
161
|
*FiscalDocumentsApi* | [**void_receipt**](cloudbeds_fiscal_document/docs/FiscalDocumentsApi.md#void_receipt) | **POST** /fiscal-document/v1/fiscal-documents/receipts/{receiptId}/void | Void a receipt
|
|
@@ -227,6 +228,7 @@ Class | Method | HTTP request | Description
|
|
|
227
228
|
- [SourceKind](cloudbeds_fiscal_document/docs/SourceKind.md)
|
|
228
229
|
- [TransactionForAllocationResponse](cloudbeds_fiscal_document/docs/TransactionForAllocationResponse.md)
|
|
229
230
|
- [TransactionStatus](cloudbeds_fiscal_document/docs/TransactionStatus.md)
|
|
231
|
+
- [TransactionsSummaryRequest](cloudbeds_fiscal_document/docs/TransactionsSummaryRequest.md)
|
|
230
232
|
|
|
231
233
|
|
|
232
234
|
<a id="documentation-for-authorization"></a>
|
{cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/RECORD
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
cloudbeds_fiscal_document/__init__.py,sha256=
|
|
2
|
-
cloudbeds_fiscal_document/api_client.py,sha256=
|
|
1
|
+
cloudbeds_fiscal_document/__init__.py,sha256=amCJgvZh-Tyyo-9wy7QKYShsjmNcDEDYd4W3rqMU7ss,7503
|
|
2
|
+
cloudbeds_fiscal_document/api_client.py,sha256=JEeGJ05D815WevodeHdrsp6fpT5NegHH_FzUhbUygSc,27558
|
|
3
3
|
cloudbeds_fiscal_document/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
cloudbeds_fiscal_document/configuration.py,sha256=
|
|
4
|
+
cloudbeds_fiscal_document/configuration.py,sha256=_LsC-mihgRj9cHHEgOsYmcwMEP2r1tXEUoNXgHUnSUM,19339
|
|
5
5
|
cloudbeds_fiscal_document/exceptions.py,sha256=oEYMmCX9U9BE8E32jNQfoh1N1TKYTWLtLRDTaWXkr-Q,6488
|
|
6
6
|
cloudbeds_fiscal_document/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
cloudbeds_fiscal_document/rest.py,sha256=2KoCf_WOxpyTU8HalDgwquQdIqjXmhFqU3_NpWsmdn8,9440
|
|
@@ -9,8 +9,8 @@ cloudbeds_fiscal_document/api/__init__.py,sha256=cHvaNnh6IrJcL5lgNmdQwZgBAD5YSSV
|
|
|
9
9
|
cloudbeds_fiscal_document/api/configs_api.py,sha256=gcPSv27YnTDhlblF6k5r_D9PpOG4ZIgtUrbskIGLdDQ,67338
|
|
10
10
|
cloudbeds_fiscal_document/api/export_api.py,sha256=RWqrml6GQcHQxsZoaZrxwkc51IvUnE4adt3HPGh7D-Q,13701
|
|
11
11
|
cloudbeds_fiscal_document/api/features_api.py,sha256=u_OO8wEoAcNxd18dN-PaLxrNEhB94Wv4M6DnLgGGWaM,11623
|
|
12
|
-
cloudbeds_fiscal_document/api/fiscal_documents_api.py,sha256
|
|
13
|
-
cloudbeds_fiscal_document/models/__init__.py,sha256=
|
|
12
|
+
cloudbeds_fiscal_document/api/fiscal_documents_api.py,sha256=qZlsGkSf0K6boc4iawpbQu4ZenLGHnxchAphwdGjKFk,367325
|
|
13
|
+
cloudbeds_fiscal_document/models/__init__.py,sha256=H3xmZNdAUpsAX_OadSiiKlFL0r2In477wOam-ENCzk0,6582
|
|
14
14
|
cloudbeds_fiscal_document/models/action.py,sha256=_56GB3RiA9LOB2v3g433XOYfzq8Va3SoS4PqN1Hi0GU,2554
|
|
15
15
|
cloudbeds_fiscal_document/models/allocate_receipt_payment_request.py,sha256=49955YQ2-Y7dckSNYEMx2KdXLduJNdi3H_NYDBnL5so,3396
|
|
16
16
|
cloudbeds_fiscal_document/models/allocations_data.py,sha256=SrXu1LA3xeCpEhz83mw1dmxd7b6EZ7Oplw-tFZTk1yA,3623
|
|
@@ -22,20 +22,20 @@ cloudbeds_fiscal_document/models/create_credit_note_request.py,sha256=MUi-gNI7w-
|
|
|
22
22
|
cloudbeds_fiscal_document/models/create_invoice_request.py,sha256=93mLzJti1XppoVB4447eiFUoemHc7SYRR4LxKtw0koI,6745
|
|
23
23
|
cloudbeds_fiscal_document/models/create_receipt_request.py,sha256=_lkQZ3VJ_L7IXqa1wXNIWSEFEqAhjQhWdqrKzpMCdnc,6929
|
|
24
24
|
cloudbeds_fiscal_document/models/create_simple_receipt_request.py,sha256=DQldwvU4TwYdPIu7FwxUXGV1d1rZsNANt71tMEoaLKI,4866
|
|
25
|
-
cloudbeds_fiscal_document/models/creation_method.py,sha256=
|
|
26
|
-
cloudbeds_fiscal_document/models/document_action.py,sha256=
|
|
27
|
-
cloudbeds_fiscal_document/models/document_trigger_event.py,sha256=
|
|
25
|
+
cloudbeds_fiscal_document/models/creation_method.py,sha256=8B6c0ubHWDvlHEz2zpALA0E5oq-8nzqRsFc9gODuzDY,1006
|
|
26
|
+
cloudbeds_fiscal_document/models/document_action.py,sha256=jgO7zU_My8xODmNPbGCXTBoHKlTvG0ltJ2XL5a2cDb8,1279
|
|
27
|
+
cloudbeds_fiscal_document/models/document_trigger_event.py,sha256=qhjJwaND2Ubrrwa_Q00saCMzRT0yBhRw84OGXMA1LIM,1188
|
|
28
28
|
cloudbeds_fiscal_document/models/fiscal_document_detailed_response.py,sha256=qpGqBTkI7aMZQk8hRJCQoHyn-k_xkoX-GKy-MYbQlrI,9748
|
|
29
29
|
cloudbeds_fiscal_document/models/fiscal_document_email_request.py,sha256=ytVW_0v_7II2SbX7ZypkcLc6M6xUtArpDutwnRUspkM,2645
|
|
30
30
|
cloudbeds_fiscal_document/models/fiscal_document_filters.py,sha256=6pMIeIWJ5jXWjRe21dkuMgbpYjUTT2fZi2c72LqVC6o,7255
|
|
31
|
-
cloudbeds_fiscal_document/models/fiscal_document_kind.py,sha256=
|
|
31
|
+
cloudbeds_fiscal_document/models/fiscal_document_kind.py,sha256=L2PmtmiuY0D-MYBA_-_wBVCTDrG_fAEEVyecAUtUU9k,1217
|
|
32
32
|
cloudbeds_fiscal_document/models/fiscal_document_paginated.py,sha256=I-K13zc33S1m0sI5A1u9_6Ojd2k1Oq5G2gjh0eihAgo,3500
|
|
33
33
|
cloudbeds_fiscal_document/models/fiscal_document_patch_request.py,sha256=HVM8jUUR9-StJoJJDeBbs8R1rY3N7QFUFQMS5RsZgSk,3431
|
|
34
34
|
cloudbeds_fiscal_document/models/fiscal_document_recipient.py,sha256=beNutHuZnKJtQtSJf0YDgSjbTbZ2418MoMBl-PErp2A,5555
|
|
35
|
-
cloudbeds_fiscal_document/models/fiscal_document_status.py,sha256=
|
|
35
|
+
cloudbeds_fiscal_document/models/fiscal_document_status.py,sha256=8gUvJdCQ684XMvL_wczGXUFOaNkyDULq3jhreNiluIo,1631
|
|
36
36
|
cloudbeds_fiscal_document/models/fiscal_document_summary_response.py,sha256=hI-UMNN_tSAMAhqXHzDjkMb1xAF-dy3a3jtSOFM7NIs,3683
|
|
37
37
|
cloudbeds_fiscal_document/models/fiscal_document_transaction_allocation.py,sha256=PJgrP5Pp0LL9hfvKbbSXFeTMQwkA3lk4PVewy3HC1es,2682
|
|
38
|
-
cloudbeds_fiscal_document/models/fiscal_document_transaction_response.py,sha256=
|
|
38
|
+
cloudbeds_fiscal_document/models/fiscal_document_transaction_response.py,sha256=YUCp12dEr5agghOOLMnbaJL1vL5D0172wJCS3KRacX4,6119
|
|
39
39
|
cloudbeds_fiscal_document/models/fiscal_document_transactions_for_allocation_paginated.py,sha256=E_UWdxrwpHorIx1eINyE4v1RcYhNI8ABs_3u9eqBXbI,3525
|
|
40
40
|
cloudbeds_fiscal_document/models/fiscal_document_transactions_paginated.py,sha256=tyumvukW0nI7tgKBYxXu_1wP4NMFTwd-AuRZkIGRgq0,3477
|
|
41
41
|
cloudbeds_fiscal_document/models/fiscal_document_transactions_summary.py,sha256=kzncs_ojUBQ_cEQKM0ul7As7-giYUHC5ET4tiJsBOJM,3674
|
|
@@ -47,35 +47,36 @@ cloudbeds_fiscal_document/models/get_logo_response.py,sha256=N0ACeqAlmxXYP3fm0m2
|
|
|
47
47
|
cloudbeds_fiscal_document/models/get_rectify_invoice_note_preview_request.py,sha256=NGq70CB3fsaW_hNiRas3r62crcfGA-l4WR4gip15PlA,5704
|
|
48
48
|
cloudbeds_fiscal_document/models/government_integration.py,sha256=pz9baLjwlWe9aOUOynJtq92oZH7LKargMLFu_1zk-S4,5339
|
|
49
49
|
cloudbeds_fiscal_document/models/government_integration_qr.py,sha256=GBgifWUH3KjcF--7d-WcOWjOedAauLJbbuGDdlnSPGk,2638
|
|
50
|
-
cloudbeds_fiscal_document/models/guest_document_type.py,sha256=
|
|
51
|
-
cloudbeds_fiscal_document/models/guest_gender.py,sha256=
|
|
52
|
-
cloudbeds_fiscal_document/models/integration_signature.py,sha256=
|
|
50
|
+
cloudbeds_fiscal_document/models/guest_document_type.py,sha256=LnX8UVuqGZAXiwG15WbXuNko7UAyH7y1lo7P9Tf8dWE,1127
|
|
51
|
+
cloudbeds_fiscal_document/models/guest_gender.py,sha256=I4QRkB9-3u0i1TJwJ7FdItAiP_62wW1knte-XB9WCyE,1003
|
|
52
|
+
cloudbeds_fiscal_document/models/integration_signature.py,sha256=Fvp0ksGY181cmK6SrIMKl9-Zkaw8iiY_TVX0KIvR1gs,3996
|
|
53
53
|
cloudbeds_fiscal_document/models/invoice_allocations_response.py,sha256=B7StG6vhmEOwVIwJaIqHqwhOSURvsowvmVFOzdHXGYE,3173
|
|
54
54
|
cloudbeds_fiscal_document/models/invoice_transaction_allocation.py,sha256=dKpu6xNXyWnFE8zImaNG97NU5TH1pgu94E3EXVy6jTs,2962
|
|
55
55
|
cloudbeds_fiscal_document/models/latest_linked_document.py,sha256=alMqlYHkrAVOSapwUtGZ7_ypuoxvYKaIA5nBNd-xUSw,3392
|
|
56
|
-
cloudbeds_fiscal_document/models/linked_document.py,sha256=
|
|
57
|
-
cloudbeds_fiscal_document/models/manual_recipient_request.py,sha256=
|
|
56
|
+
cloudbeds_fiscal_document/models/linked_document.py,sha256=JCwBwhIImCz-PddljNDKN7p33e7dn8zNkAU-o-gL0lg,4366
|
|
57
|
+
cloudbeds_fiscal_document/models/manual_recipient_request.py,sha256=eYb7goklmr7ret8F8tD7-FPHGyRqoXgPyVSL7edFasI,6632
|
|
58
58
|
cloudbeds_fiscal_document/models/manual_recipient_request_address.py,sha256=Cpo1Y9NSTjyGv_VGuLdYhthFvD_WRtFxQ6e3WgzgbVA,4555
|
|
59
59
|
cloudbeds_fiscal_document/models/manual_recipient_request_document.py,sha256=3h_Zz74zb6C3S9ArHVuDThkBtLQoi2JsW16HsKNBdtA,4327
|
|
60
60
|
cloudbeds_fiscal_document/models/preview_request.py,sha256=4OuP4Kprgs2cKKG2SD636OeoOVFc5mMHnEdbsI0o8sw,4248
|
|
61
61
|
cloudbeds_fiscal_document/models/pro_forma_invoice_preview_request.py,sha256=1NcZMKudLaW6wFvpAHXkQHQ3qK7SAMo9F0z45jvveFU,6347
|
|
62
62
|
cloudbeds_fiscal_document/models/pro_forma_invoice_request.py,sha256=6LXECoJY_WomZXhnmQLCvfy3BZq1zDq8Is2obDVIMKY,6319
|
|
63
|
-
cloudbeds_fiscal_document/models/pro_forma_status_update_request.py,sha256=
|
|
63
|
+
cloudbeds_fiscal_document/models/pro_forma_status_update_request.py,sha256=UWRE02D417SvBQNOOhv9dXS-aK2IRglufhBq3GpySDc,3004
|
|
64
64
|
cloudbeds_fiscal_document/models/property_configs_response.py,sha256=9HO3Uui3ZGixDMbDhz3YO0iVP5JQMrdqlIlPUhLYJOw,3291
|
|
65
|
-
cloudbeds_fiscal_document/models/receipt_transaction_allocation.py,sha256=
|
|
65
|
+
cloudbeds_fiscal_document/models/receipt_transaction_allocation.py,sha256=oWYbDlMiXlNrO10VIZUq5SHsL6XLuYILHA4WKy6ugyY,2885
|
|
66
66
|
cloudbeds_fiscal_document/models/recipient_address.py,sha256=BP7Y8uioaVJeN2JpSFb7T-glDXxdtjIv-UfyDHQEm0s,3034
|
|
67
67
|
cloudbeds_fiscal_document/models/recipient_company.py,sha256=Zp9P7fyAjyrdjEDozspUq30j3Ga9E1S6U2jCn5A7Ids,3371
|
|
68
68
|
cloudbeds_fiscal_document/models/recipient_contact_details.py,sha256=__wf3yyHf7LacpXtO_xQutlHTXtI8fJtqWAgL9lNyLQ,2917
|
|
69
69
|
cloudbeds_fiscal_document/models/recipient_details.py,sha256=1tU8uihhoGB93gL38f6TxfZk4pn2Sc65jzxcs5NtK-4,3264
|
|
70
70
|
cloudbeds_fiscal_document/models/recipient_document.py,sha256=BNyN2z3WGguS_BrR5yB6jO0vS6lrzn5WvgO4ugcTZVg,3114
|
|
71
|
-
cloudbeds_fiscal_document/models/recipient_request.py,sha256=
|
|
72
|
-
cloudbeds_fiscal_document/models/recipient_tax_info.py,sha256=
|
|
73
|
-
cloudbeds_fiscal_document/models/recipient_type.py,sha256=
|
|
71
|
+
cloudbeds_fiscal_document/models/recipient_request.py,sha256=YARM_5v0aatUORHndjo1DRY50Z5m9MwlcG-0z7_0zOE,3908
|
|
72
|
+
cloudbeds_fiscal_document/models/recipient_tax_info.py,sha256=j-m_EQYTQLGX--QtjWG2_VANq3YV0WSxJBdgWYg7XtY,3316
|
|
73
|
+
cloudbeds_fiscal_document/models/recipient_type.py,sha256=5h50BS-ZmQt8AgAWFWwYXP80NE4Rc6Pquak3TyxtsXk,1023
|
|
74
74
|
cloudbeds_fiscal_document/models/rectify_invoice_note_request.py,sha256=VeUr0togZ1o_LjqB5YQnyESJQpTQ7trQjgu2Cm5Ol74,5674
|
|
75
75
|
cloudbeds_fiscal_document/models/single_allocation.py,sha256=0PocG0xMX5l02PmoCd1yqT1va3rKLOQJGMhmPwKDf8o,2734
|
|
76
|
-
cloudbeds_fiscal_document/models/source_kind.py,sha256=
|
|
76
|
+
cloudbeds_fiscal_document/models/source_kind.py,sha256=P6FtTndYWkKJK98wCoIPO8dh5kuvqnBjsNy-AAaT7zc,1127
|
|
77
77
|
cloudbeds_fiscal_document/models/transaction_for_allocation_response.py,sha256=HGneX9Lnm1xo401iSfDO43ynk_tA3rJapW5hAeqVi4o,4678
|
|
78
|
-
cloudbeds_fiscal_document/models/transaction_status.py,sha256=
|
|
78
|
+
cloudbeds_fiscal_document/models/transaction_status.py,sha256=xIKZEkVMU4BMExtvhv6eTjq0aepwSu2SF62m_qob8So,1019
|
|
79
|
+
cloudbeds_fiscal_document/models/transactions_summary_request.py,sha256=iI4RKZeA2gGqg7LAiIUVETTZwk9rjXBuBgmTZXg3MJw,4549
|
|
79
80
|
cloudbeds_fiscal_document/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
81
|
cloudbeds_fiscal_document/test/test_action.py,sha256=LHNxQwu-6zA7PfrF7_cskWfXeZRws3N58wKh1LJ6Rzk,1318
|
|
81
82
|
cloudbeds_fiscal_document/test/test_allocate_receipt_payment_request.py,sha256=UmHw55BA4Nn2J6DXBcgg8l8fFwtM7BiyPt7GY1kK1fE,2144
|
|
@@ -146,8 +147,9 @@ cloudbeds_fiscal_document/test/test_single_allocation.py,sha256=Rt_83Z9sOzX021xE
|
|
|
146
147
|
cloudbeds_fiscal_document/test/test_source_kind.py,sha256=Om-4SlTOpzbQNLcHIU6B0OwZ9vmVbRoRRd0KJUKUccY,711
|
|
147
148
|
cloudbeds_fiscal_document/test/test_transaction_for_allocation_response.py,sha256=ziAZ8Qi_50EBl9PtgZPasRuSUL9GPMTkun6YTcfJBE0,2723
|
|
148
149
|
cloudbeds_fiscal_document/test/test_transaction_status.py,sha256=XTzZUsjAoojQ1elLGJoe5CbUU-rxoTdiM8Q5uxv2vW8,760
|
|
149
|
-
cloudbeds_fiscal_document
|
|
150
|
-
cloudbeds_fiscal_document-1.
|
|
151
|
-
cloudbeds_fiscal_document-1.
|
|
152
|
-
cloudbeds_fiscal_document-1.
|
|
153
|
-
cloudbeds_fiscal_document-1.
|
|
150
|
+
cloudbeds_fiscal_document/test/test_transactions_summary_request.py,sha256=rU9sdNJFD1rvZC4PPJIhYvDd3KmIJ3Wo4O-_0MaG6po,2084
|
|
151
|
+
cloudbeds_fiscal_document-1.19.0.dist-info/licenses/LICENSE,sha256=noTWyG8XyfILgKHVxo6Z6mWjsXnUZ6AsqRY4pNTdBmg,1093
|
|
152
|
+
cloudbeds_fiscal_document-1.19.0.dist-info/METADATA,sha256=lJO9zRkEjkJMf62ln6fL2lL7asbAJVD0UL8rW2WUKPg,19029
|
|
153
|
+
cloudbeds_fiscal_document-1.19.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
154
|
+
cloudbeds_fiscal_document-1.19.0.dist-info/top_level.txt,sha256=xDhbzDUymHSRPf7_v5yTWqDdIimGk-7zkWu1zHiL7kc,26
|
|
155
|
+
cloudbeds_fiscal_document-1.19.0.dist-info/RECORD,,
|
{cloudbeds_fiscal_document-1.17.0.dist-info → cloudbeds_fiscal_document-1.19.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|