cloudbeds-fiscal-document 1.13.0__py3-none-any.whl → 1.14.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 +1 -1
- cloudbeds_fiscal_document/api_client.py +1 -1
- cloudbeds_fiscal_document/configuration.py +1 -1
- cloudbeds_fiscal_document/models/create_receipt_request.py +3 -1
- cloudbeds_fiscal_document/models/government_integration.py +5 -3
- {cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/METADATA +2 -2
- {cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/RECORD +10 -10
- {cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/WHEEL +0 -0
- {cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/licenses/LICENSE +0 -0
- {cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/top_level.txt +0 -0
|
@@ -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.14.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.14.0".\
|
|
508
508
|
format(env=sys.platform, pyversion=sys.version)
|
|
509
509
|
|
|
510
510
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -36,12 +36,13 @@ class CreateReceiptRequest(BaseModel):
|
|
|
36
36
|
payment_id: Optional[StrictInt] = Field(default=None, description="Id of the payment. This parameter is mutually exclusive with `transactionId`. ", alias="paymentId")
|
|
37
37
|
sequence_id: Optional[StrictInt] = Field(default=None, alias="sequenceId")
|
|
38
38
|
skip_integration: Optional[StrictBool] = Field(default=False, description="At the moment this can only be set to True on Italy to skip the integration, for italy this case is needed to avoid Printing the Receipt", alias="skipIntegration")
|
|
39
|
+
handwritten: Optional[StrictBool] = Field(default=False, description="Indicates this is a handwritten receipt created during POS unavailability. Only allowed for properties with Fiskaltrust integration enabled.")
|
|
39
40
|
user_id: StrictInt = Field(alias="userId")
|
|
40
41
|
source_id: Annotated[int, Field(strict=True, ge=1)] = Field(alias="sourceId")
|
|
41
42
|
source_kind: SourceKind = Field(alias="sourceKind")
|
|
42
43
|
recipient: Optional[RecipientRequest] = None
|
|
43
44
|
manual_recipient: Optional[ManualRecipientRequest] = Field(default=None, alias="manualRecipient")
|
|
44
|
-
__properties: ClassVar[List[str]] = ["allocations", "transactionId", "paymentId", "sequenceId", "skipIntegration", "userId", "sourceId", "sourceKind", "recipient", "manualRecipient"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["allocations", "transactionId", "paymentId", "sequenceId", "skipIntegration", "handwritten", "userId", "sourceId", "sourceKind", "recipient", "manualRecipient"]
|
|
45
46
|
|
|
46
47
|
model_config = ConfigDict(
|
|
47
48
|
populate_by_name=True,
|
|
@@ -132,6 +133,7 @@ class CreateReceiptRequest(BaseModel):
|
|
|
132
133
|
"paymentId": obj.get("paymentId"),
|
|
133
134
|
"sequenceId": obj.get("sequenceId"),
|
|
134
135
|
"skipIntegration": obj.get("skipIntegration") if obj.get("skipIntegration") is not None else False,
|
|
136
|
+
"handwritten": obj.get("handwritten") if obj.get("handwritten") is not None else False,
|
|
135
137
|
"userId": obj.get("userId"),
|
|
136
138
|
"sourceId": obj.get("sourceId"),
|
|
137
139
|
"sourceKind": obj.get("sourceKind"),
|
|
@@ -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, StrictBytes, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
22
|
from cloudbeds_fiscal_document.models.fiscal_document_status import FiscalDocumentStatus
|
|
23
23
|
from cloudbeds_fiscal_document.models.government_integration_qr import GovernmentIntegrationQr
|
|
@@ -38,7 +38,8 @@ class GovernmentIntegration(BaseModel):
|
|
|
38
38
|
rectifying_invoice_type: Optional[StrictStr] = Field(default=None, alias="rectifyingInvoiceType")
|
|
39
39
|
cancellation_failed_fallback_status: Optional[FiscalDocumentStatus] = Field(default=None, alias="cancellationFailedFallbackStatus")
|
|
40
40
|
pdf_file_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="Base64-encoded PDF file content. Only allowed when status is COMPLETED_INTEGRATION.", alias="pdfFileBase64")
|
|
41
|
-
|
|
41
|
+
handwritten: Optional[StrictBool] = Field(default=None, description="Indicates this is a handwritten receipt created during POS unavailability.")
|
|
42
|
+
__properties: ClassVar[List[str]] = ["number", "series", "status", "qr", "url", "officialId", "externalId", "rectifyingInvoiceType", "cancellationFailedFallbackStatus", "pdfFileBase64", "handwritten"]
|
|
42
43
|
|
|
43
44
|
model_config = ConfigDict(
|
|
44
45
|
populate_by_name=True,
|
|
@@ -103,7 +104,8 @@ class GovernmentIntegration(BaseModel):
|
|
|
103
104
|
"externalId": obj.get("externalId"),
|
|
104
105
|
"rectifyingInvoiceType": obj.get("rectifyingInvoiceType"),
|
|
105
106
|
"cancellationFailedFallbackStatus": obj.get("cancellationFailedFallbackStatus"),
|
|
106
|
-
"pdfFileBase64": obj.get("pdfFileBase64")
|
|
107
|
+
"pdfFileBase64": obj.get("pdfFileBase64"),
|
|
108
|
+
"handwritten": obj.get("handwritten")
|
|
107
109
|
})
|
|
108
110
|
return _obj
|
|
109
111
|
|
{cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.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.14.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.14.0
|
|
61
61
|
- Generator version: 7.11.0
|
|
62
62
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
63
63
|
|
{cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.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=rY6zeWHYkVKuef0_L4MMhOhLjhnPZZSLkM_4sKiKyzk,7108
|
|
2
|
+
cloudbeds_fiscal_document/api_client.py,sha256=Su2rI1qAxw8txstXMI1QnrDisp29z6ywexzzAGsm2Dk,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=pw38V4cuVn46V_JOMiCa6rL03FqOXc_RQGDzw4VFTzI,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
|
|
@@ -20,7 +20,7 @@ cloudbeds_fiscal_document/models/configs_response.py,sha256=n7BgXVh4pMWifED-GiWh
|
|
|
20
20
|
cloudbeds_fiscal_document/models/configs_update_request.py,sha256=asQ2p8lyjBJdnM7rEkNB0FtQlTClsKUcde2Q_pTt0Q0,9936
|
|
21
21
|
cloudbeds_fiscal_document/models/create_credit_note_request.py,sha256=MUi-gNI7w-elxviSz9uFVUJxb1xuLQlfl-99MUfBeIE,4895
|
|
22
22
|
cloudbeds_fiscal_document/models/create_invoice_request.py,sha256=UqE7BohAipLGQLZfuPhfhBPwIQkSgC6WuYDWBdPojFc,6077
|
|
23
|
-
cloudbeds_fiscal_document/models/create_receipt_request.py,sha256=
|
|
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=DgpnXJaXVHQ9SetHbol4hNkHoNHbe0QsWVareCpCAsY,4522
|
|
25
25
|
cloudbeds_fiscal_document/models/creation_method.py,sha256=vZD9e9cnodeE8MXhudSC_GxRUSnLVle4QjoYw_aHPyE,776
|
|
26
26
|
cloudbeds_fiscal_document/models/document_action.py,sha256=ZLmuXvQAvEzYBi_zihT28LsEMv30yupWr7riRI4mt5E,999
|
|
@@ -45,7 +45,7 @@ cloudbeds_fiscal_document/models/get_folio_export_request.py,sha256=8uF45MO97rx4
|
|
|
45
45
|
cloudbeds_fiscal_document/models/get_invoice_preview_request.py,sha256=dPzxbW0eYVkzNK6wS3OE94PsV8IDZcw2tDv-Wxx-jrw,6093
|
|
46
46
|
cloudbeds_fiscal_document/models/get_logo_response.py,sha256=N0ACeqAlmxXYP3fm0m2-5XUS7LEWaXstg07XVAfzfoo,2625
|
|
47
47
|
cloudbeds_fiscal_document/models/get_rectify_invoice_note_preview_request.py,sha256=NGq70CB3fsaW_hNiRas3r62crcfGA-l4WR4gip15PlA,5704
|
|
48
|
-
cloudbeds_fiscal_document/models/government_integration.py,sha256=
|
|
48
|
+
cloudbeds_fiscal_document/models/government_integration.py,sha256=0QgMrw4X4mI5ABRDRilTxA1eE3TFzajfriBRLWZIQyw,4576
|
|
49
49
|
cloudbeds_fiscal_document/models/government_integration_qr.py,sha256=GBgifWUH3KjcF--7d-WcOWjOedAauLJbbuGDdlnSPGk,2638
|
|
50
50
|
cloudbeds_fiscal_document/models/guest_document_type.py,sha256=SG6np-2o6pzK1xbyqf0-ZPxr3tbiRGm2sOXBNHnMKoI,897
|
|
51
51
|
cloudbeds_fiscal_document/models/guest_gender.py,sha256=Tonz3np104WkfAtsQMH0gbFQI9fsavwzHi_hhJLdzH0,773
|
|
@@ -140,8 +140,8 @@ cloudbeds_fiscal_document/test/test_single_allocation.py,sha256=Rt_83Z9sOzX021xE
|
|
|
140
140
|
cloudbeds_fiscal_document/test/test_source_kind.py,sha256=Om-4SlTOpzbQNLcHIU6B0OwZ9vmVbRoRRd0KJUKUccY,711
|
|
141
141
|
cloudbeds_fiscal_document/test/test_transaction_for_allocation_response.py,sha256=ziAZ8Qi_50EBl9PtgZPasRuSUL9GPMTkun6YTcfJBE0,2723
|
|
142
142
|
cloudbeds_fiscal_document/test/test_transaction_status.py,sha256=XTzZUsjAoojQ1elLGJoe5CbUU-rxoTdiM8Q5uxv2vW8,760
|
|
143
|
-
cloudbeds_fiscal_document-1.
|
|
144
|
-
cloudbeds_fiscal_document-1.
|
|
145
|
-
cloudbeds_fiscal_document-1.
|
|
146
|
-
cloudbeds_fiscal_document-1.
|
|
147
|
-
cloudbeds_fiscal_document-1.
|
|
143
|
+
cloudbeds_fiscal_document-1.14.0.dist-info/licenses/LICENSE,sha256=noTWyG8XyfILgKHVxo6Z6mWjsXnUZ6AsqRY4pNTdBmg,1093
|
|
144
|
+
cloudbeds_fiscal_document-1.14.0.dist-info/METADATA,sha256=AANkfm0AL7-e7iisvxRZ7pjUUw4zh8hFhePHSFOquyQ,18128
|
|
145
|
+
cloudbeds_fiscal_document-1.14.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
146
|
+
cloudbeds_fiscal_document-1.14.0.dist-info/top_level.txt,sha256=xDhbzDUymHSRPf7_v5yTWqDdIimGk-7zkWu1zHiL7kc,26
|
|
147
|
+
cloudbeds_fiscal_document-1.14.0.dist-info/RECORD,,
|
{cloudbeds_fiscal_document-1.13.0.dist-info → cloudbeds_fiscal_document-1.14.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|