cloudbeds-fiscal-document 1.11.0__py3-none-any.whl → 1.12.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/configs_response.py +1 -3
- cloudbeds_fiscal_document/models/configs_update_request.py +1 -3
- cloudbeds_fiscal_document/models/document_trigger_event.py +1 -0
- cloudbeds_fiscal_document/models/fiscal_document_kind.py +1 -0
- {cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.0.dist-info}/METADATA +2 -2
- {cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.0.dist-info}/RECORD +12 -12
- {cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.0.dist-info}/WHEEL +0 -0
- {cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.0.dist-info}/licenses/LICENSE +0 -0
- {cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.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.12.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.12.0".\
|
|
508
508
|
format(env=sys.platform, pyversion=sys.version)
|
|
509
509
|
|
|
510
510
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -48,12 +48,11 @@ class ConfigsResponse(BaseModel):
|
|
|
48
48
|
tax_id2: Optional[StrictStr] = Field(default=None, alias="taxId2")
|
|
49
49
|
cpf: Optional[StrictStr] = None
|
|
50
50
|
custom_text: Optional[Dict[str, StrictStr]] = Field(default=None, alias="customText")
|
|
51
|
-
create_invoice_on_allocation: Optional[StrictBool] = Field(default=False, alias="createInvoiceOnAllocation")
|
|
52
51
|
trigger_events: Optional[List[DocumentTriggerEvent]] = Field(default=None, alias="triggerEvents")
|
|
53
52
|
update_invoice_on_link_document: Optional[StrictBool] = Field(default=False, alias="updateInvoiceOnLinkDocument")
|
|
54
53
|
use_invoice_document_settings: Optional[StrictBool] = Field(default=False, alias="useInvoiceDocumentSettings")
|
|
55
54
|
use_invoice_title_and_numbering: Optional[StrictBool] = Field(default=False, alias="useInvoiceTitleAndNumbering")
|
|
56
|
-
__properties: ClassVar[List[str]] = ["propertyId", "documentKind", "showDetailedTaxFee", "showCreditNotesAndReceipts", "chargeBreakdown", "useGuestLang", "dueDays", "lang", "prefix", "suffix", "legalCompanyName", "title", "showLegalCompanyName", "includeRoomNumber", "useDocumentNumber", "isCompact", "taxId1", "taxId2", "cpf", "customText", "
|
|
55
|
+
__properties: ClassVar[List[str]] = ["propertyId", "documentKind", "showDetailedTaxFee", "showCreditNotesAndReceipts", "chargeBreakdown", "useGuestLang", "dueDays", "lang", "prefix", "suffix", "legalCompanyName", "title", "showLegalCompanyName", "includeRoomNumber", "useDocumentNumber", "isCompact", "taxId1", "taxId2", "cpf", "customText", "triggerEvents", "updateInvoiceOnLinkDocument", "useInvoiceDocumentSettings", "useInvoiceTitleAndNumbering"]
|
|
57
56
|
|
|
58
57
|
model_config = ConfigDict(
|
|
59
58
|
populate_by_name=True,
|
|
@@ -126,7 +125,6 @@ class ConfigsResponse(BaseModel):
|
|
|
126
125
|
"taxId2": obj.get("taxId2"),
|
|
127
126
|
"cpf": obj.get("cpf"),
|
|
128
127
|
"customText": obj.get("customText"),
|
|
129
|
-
"createInvoiceOnAllocation": obj.get("createInvoiceOnAllocation") if obj.get("createInvoiceOnAllocation") is not None else False,
|
|
130
128
|
"triggerEvents": obj.get("triggerEvents"),
|
|
131
129
|
"updateInvoiceOnLinkDocument": obj.get("updateInvoiceOnLinkDocument") if obj.get("updateInvoiceOnLinkDocument") is not None else False,
|
|
132
130
|
"useInvoiceDocumentSettings": obj.get("useInvoiceDocumentSettings") if obj.get("useInvoiceDocumentSettings") is not None else False,
|
|
@@ -42,7 +42,6 @@ class ConfigsUpdateRequest(BaseModel):
|
|
|
42
42
|
show_legal_company_name: StrictBool = Field(alias="showLegalCompanyName")
|
|
43
43
|
include_room_number: StrictBool = Field(alias="includeRoomNumber")
|
|
44
44
|
use_document_number: StrictBool = Field(alias="useDocumentNumber")
|
|
45
|
-
create_invoice_on_allocation: Optional[StrictBool] = Field(default=False, alias="createInvoiceOnAllocation")
|
|
46
45
|
update_invoice_on_link_document: Optional[StrictBool] = Field(default=False, alias="updateInvoiceOnLinkDocument")
|
|
47
46
|
is_compact: StrictBool = Field(alias="isCompact")
|
|
48
47
|
use_invoice_title_and_numbering: Optional[StrictBool] = Field(default=False, description="Flag to determine if invoice title, sequenceStartNumber, prefix and suffix should be used.", alias="useInvoiceTitleAndNumbering")
|
|
@@ -53,7 +52,7 @@ class ConfigsUpdateRequest(BaseModel):
|
|
|
53
52
|
cpf: Optional[StrictStr] = None
|
|
54
53
|
custom_text: Optional[Dict[str, StrictStr]] = Field(default=None, alias="customText")
|
|
55
54
|
logo_id: Optional[StrictInt] = Field(default=None, alias="logoId")
|
|
56
|
-
__properties: ClassVar[List[str]] = ["triggerEvents", "showDetailedTaxFee", "chargeBreakdown", "useGuestLang", "dueDays", "sequenceStartNumber", "lang", "prefix", "suffix", "legalCompanyName", "title", "showLegalCompanyName", "includeRoomNumber", "useDocumentNumber", "
|
|
55
|
+
__properties: ClassVar[List[str]] = ["triggerEvents", "showDetailedTaxFee", "chargeBreakdown", "useGuestLang", "dueDays", "sequenceStartNumber", "lang", "prefix", "suffix", "legalCompanyName", "title", "showLegalCompanyName", "includeRoomNumber", "useDocumentNumber", "updateInvoiceOnLinkDocument", "isCompact", "useInvoiceTitleAndNumbering", "useInvoiceDocumentSettings", "showCreditNotesAndReceipts", "taxId1", "taxId2", "cpf", "customText", "logoId"]
|
|
57
56
|
|
|
58
57
|
model_config = ConfigDict(
|
|
59
58
|
populate_by_name=True,
|
|
@@ -175,7 +174,6 @@ class ConfigsUpdateRequest(BaseModel):
|
|
|
175
174
|
"showLegalCompanyName": obj.get("showLegalCompanyName") if obj.get("showLegalCompanyName") is not None else False,
|
|
176
175
|
"includeRoomNumber": obj.get("includeRoomNumber") if obj.get("includeRoomNumber") is not None else False,
|
|
177
176
|
"useDocumentNumber": obj.get("useDocumentNumber"),
|
|
178
|
-
"createInvoiceOnAllocation": obj.get("createInvoiceOnAllocation") if obj.get("createInvoiceOnAllocation") is not None else False,
|
|
179
177
|
"updateInvoiceOnLinkDocument": obj.get("updateInvoiceOnLinkDocument") if obj.get("updateInvoiceOnLinkDocument") is not None else False,
|
|
180
178
|
"isCompact": obj.get("isCompact") if obj.get("isCompact") is not None else False,
|
|
181
179
|
"useInvoiceTitleAndNumbering": obj.get("useInvoiceTitleAndNumbering") if obj.get("useInvoiceTitleAndNumbering") is not None else False,
|
|
@@ -30,6 +30,7 @@ class DocumentTriggerEvent(str, Enum):
|
|
|
30
30
|
AT_CHECK_OUT = 'at_check_out'
|
|
31
31
|
ON_RESERVATION_CREATED = 'on_reservation_created'
|
|
32
32
|
ON_PAYMENT_CREATION = 'on_payment_creation'
|
|
33
|
+
ON_ALLOCATION_CREATION = 'on_allocation_creation'
|
|
33
34
|
|
|
34
35
|
@classmethod
|
|
35
36
|
def from_json(cls, json_str: str) -> Self:
|
{cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.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.12.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.12.0
|
|
61
61
|
- Generator version: 7.11.0
|
|
62
62
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
63
63
|
|
{cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.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=q8MK6mVPCqBe1Sk1e68HmY9zJeypdlAwgnBQfLoFM5Q,6489
|
|
2
|
+
cloudbeds_fiscal_document/api_client.py,sha256=cDd4QgLzNfBbiPuvMC_hfe2ZvoGRQIzSppvIwAcxqg8,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=Srj4JYeAyKgsX2m7umlPNr6CsjOeQgizsopuPcbaVIA,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
|
|
@@ -15,19 +15,19 @@ cloudbeds_fiscal_document/models/allocate_receipt_payment_request.py,sha256=4995
|
|
|
15
15
|
cloudbeds_fiscal_document/models/allocations_data.py,sha256=SrXu1LA3xeCpEhz83mw1dmxd7b6EZ7Oplw-tFZTk1yA,3623
|
|
16
16
|
cloudbeds_fiscal_document/models/allocations_summary.py,sha256=O5y-LaC117ixAdOy99FcuEvXgTZA2YPegY97RKxoN0w,2826
|
|
17
17
|
cloudbeds_fiscal_document/models/api_error.py,sha256=pU4rS-VJvFb-iyYEiCT1UxyjY5_VWINExfRpSrJX8aQ,2911
|
|
18
|
-
cloudbeds_fiscal_document/models/configs_response.py,sha256=
|
|
19
|
-
cloudbeds_fiscal_document/models/configs_update_request.py,sha256=
|
|
18
|
+
cloudbeds_fiscal_document/models/configs_response.py,sha256=965r5xd_n2pR3_uw1IRhuIKWCEugRMTXDvG5XVCFCE0,6561
|
|
19
|
+
cloudbeds_fiscal_document/models/configs_update_request.py,sha256=vqmtyHU-hWvU5mBMjuydVyMue5dhCTDPHsH69wSDhu4,9338
|
|
20
20
|
cloudbeds_fiscal_document/models/create_credit_note_request.py,sha256=MUi-gNI7w-elxviSz9uFVUJxb1xuLQlfl-99MUfBeIE,4895
|
|
21
21
|
cloudbeds_fiscal_document/models/create_invoice_request.py,sha256=cdq6FxywoFNWHy3A_dlO5hBWXCBJC7bkiHV4ZlvlfUk,5275
|
|
22
22
|
cloudbeds_fiscal_document/models/create_receipt_request.py,sha256=tOuxVOnVuSgTG3-94qU3MkhsAdH3XzdOS4gvas_Rdb8,5639
|
|
23
23
|
cloudbeds_fiscal_document/models/create_simple_receipt_request.py,sha256=FpsSZ_EExF8vs0euBmf9EjGKpCDEg5hKSjaX0uz-sdM,3967
|
|
24
24
|
cloudbeds_fiscal_document/models/creation_method.py,sha256=vZD9e9cnodeE8MXhudSC_GxRUSnLVle4QjoYw_aHPyE,776
|
|
25
25
|
cloudbeds_fiscal_document/models/document_action.py,sha256=ZLmuXvQAvEzYBi_zihT28LsEMv30yupWr7riRI4mt5E,999
|
|
26
|
-
cloudbeds_fiscal_document/models/document_trigger_event.py,sha256=
|
|
26
|
+
cloudbeds_fiscal_document/models/document_trigger_event.py,sha256=zvfuyvcLzGRVPoBoz8Go8yLF6aSu8NdelqM6-Sn3-ZM,958
|
|
27
27
|
cloudbeds_fiscal_document/models/fiscal_document_detailed_response.py,sha256=qpGqBTkI7aMZQk8hRJCQoHyn-k_xkoX-GKy-MYbQlrI,9748
|
|
28
28
|
cloudbeds_fiscal_document/models/fiscal_document_email_request.py,sha256=ytVW_0v_7II2SbX7ZypkcLc6M6xUtArpDutwnRUspkM,2645
|
|
29
29
|
cloudbeds_fiscal_document/models/fiscal_document_filters.py,sha256=6pMIeIWJ5jXWjRe21dkuMgbpYjUTT2fZi2c72LqVC6o,7255
|
|
30
|
-
cloudbeds_fiscal_document/models/fiscal_document_kind.py,sha256=
|
|
30
|
+
cloudbeds_fiscal_document/models/fiscal_document_kind.py,sha256=hSWalvUbfOGvfrvS4jJ_-bTWxROfwvgedwEAa9BLQeM,987
|
|
31
31
|
cloudbeds_fiscal_document/models/fiscal_document_paginated.py,sha256=I-K13zc33S1m0sI5A1u9_6Ojd2k1Oq5G2gjh0eihAgo,3500
|
|
32
32
|
cloudbeds_fiscal_document/models/fiscal_document_patch_request.py,sha256=HVM8jUUR9-StJoJJDeBbs8R1rY3N7QFUFQMS5RsZgSk,3431
|
|
33
33
|
cloudbeds_fiscal_document/models/fiscal_document_recipient.py,sha256=beNutHuZnKJtQtSJf0YDgSjbTbZ2418MoMBl-PErp2A,5555
|
|
@@ -126,8 +126,8 @@ cloudbeds_fiscal_document/test/test_single_allocation.py,sha256=Rt_83Z9sOzX021xE
|
|
|
126
126
|
cloudbeds_fiscal_document/test/test_source_kind.py,sha256=Om-4SlTOpzbQNLcHIU6B0OwZ9vmVbRoRRd0KJUKUccY,711
|
|
127
127
|
cloudbeds_fiscal_document/test/test_transaction_for_allocation_response.py,sha256=ziAZ8Qi_50EBl9PtgZPasRuSUL9GPMTkun6YTcfJBE0,2723
|
|
128
128
|
cloudbeds_fiscal_document/test/test_transaction_status.py,sha256=XTzZUsjAoojQ1elLGJoe5CbUU-rxoTdiM8Q5uxv2vW8,760
|
|
129
|
-
cloudbeds_fiscal_document-1.
|
|
130
|
-
cloudbeds_fiscal_document-1.
|
|
131
|
-
cloudbeds_fiscal_document-1.
|
|
132
|
-
cloudbeds_fiscal_document-1.
|
|
133
|
-
cloudbeds_fiscal_document-1.
|
|
129
|
+
cloudbeds_fiscal_document-1.12.0.dist-info/licenses/LICENSE,sha256=noTWyG8XyfILgKHVxo6Z6mWjsXnUZ6AsqRY4pNTdBmg,1093
|
|
130
|
+
cloudbeds_fiscal_document-1.12.0.dist-info/METADATA,sha256=NM4vjVTrA6qCQySoucCAkaCNsARVvRkxOqbpolwHAkw,17426
|
|
131
|
+
cloudbeds_fiscal_document-1.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
132
|
+
cloudbeds_fiscal_document-1.12.0.dist-info/top_level.txt,sha256=xDhbzDUymHSRPf7_v5yTWqDdIimGk-7zkWu1zHiL7kc,26
|
|
133
|
+
cloudbeds_fiscal_document-1.12.0.dist-info/RECORD,,
|
{cloudbeds_fiscal_document-1.11.0.dist-info → cloudbeds_fiscal_document-1.12.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|