From e115f9afaed85520aa0af8b477e5d851fbe7ee44 Mon Sep 17 00:00:00 2001 From: fattureincloud-bot <91328460+fattureincloud-bot@users.noreply.github.com> Date: Tue, 22 Oct 2024 13:26:08 +0000 Subject: [PATCH] chore: bumping version to 2.1.1 --- .openapi-generator/FILES | 6 + .openapi-generator/VERSION | 2 +- .travis.yml | 4 +- README.md | 7 +- docs/CashbookEntryKind.md | 13 +- docs/CashbookEntryType.md | 7 +- docs/Client.md | 2 +- docs/ClientType.md | 11 +- docs/CompanyType.md | 7 +- docs/Email.md | 2 +- docs/EmailRecipientStatus.md | 9 +- docs/EmailStatus.md | 9 +- docs/Entity.md | 2 +- docs/EntityType.md | 11 +- docs/EventType.md | 151 ++++++++++- docs/F24Status.md | 9 +- docs/FattureInCloudPlanType.md | 13 +- docs/GetTaxProfileResponse.md | 29 +++ docs/InfoApi.md | 4 +- docs/IssuedDocument.md | 6 +- docs/IssuedDocumentPaymentsListItem.md | 2 +- ...uedDocumentPaymentsListItemPaymentTerms.md | 2 +- docs/IssuedDocumentStatus.md | 9 +- docs/IssuedDocumentType.md | 25 +- docs/IssuedDocumentsApi.md | 14 +- docs/OriginalDocumentType.md | 9 +- docs/PaymentAccount.md | 2 +- docs/PaymentAccountType.md | 7 +- docs/PaymentMethod.md | 2 +- docs/PaymentMethodType.md | 7 +- docs/PaymentTermsType.md | 7 +- docs/PermissionLevel.md | 11 +- docs/ReceiptType.md | 7 +- docs/ReceivedDocument.md | 2 +- ...vedDocumentPaymentsListItemPaymentTerms.md | 2 +- docs/ReceivedDocumentType.md | 9 +- docs/SettingsApi.md | 76 ++++++ docs/ShowTotalsMode.md | 9 +- docs/SupplierType.md | 11 +- docs/TaxProfile.md | 49 ++++ docs/UserCompanyRole.md | 9 +- docs/VatKind.md | 9 +- docs/VatType.md | 1 + docs/WebhooksSubscriptionMapping.md | 7 +- fattureincloud_python_sdk/__init__.py | 8 +- fattureincloud_python_sdk/api/archive_api.py | 10 +- fattureincloud_python_sdk/api/cashbook_api.py | 2 +- fattureincloud_python_sdk/api/clients_api.py | 2 +- .../api/companies_api.py | 2 +- fattureincloud_python_sdk/api/emails_api.py | 2 +- fattureincloud_python_sdk/api/info_api.py | 2 +- .../api/issued_documents_api.py | 72 ++++-- .../api/issued_e_invoices_api.py | 2 +- fattureincloud_python_sdk/api/products_api.py | 2 +- fattureincloud_python_sdk/api/receipts_api.py | 2 +- .../api/received_documents_api.py | 10 +- fattureincloud_python_sdk/api/settings_api.py | 244 +++++++++++++++++- .../api/suppliers_api.py | 2 +- fattureincloud_python_sdk/api/taxes_api.py | 10 +- fattureincloud_python_sdk/api/user_api.py | 2 +- fattureincloud_python_sdk/api/webhooks_api.py | 2 +- fattureincloud_python_sdk/api_client.py | 60 ++++- fattureincloud_python_sdk/configuration.py | 24 +- fattureincloud_python_sdk/exceptions.py | 2 +- fattureincloud_python_sdk/models/__init__.py | 6 +- .../models/archive_document.py | 2 +- .../models/attachment_data.py | 2 +- .../models/cashbook_entry.py | 2 +- .../models/cashbook_entry_document.py | 2 +- .../models/cashbook_entry_kind.py | 2 +- .../models/cashbook_entry_type.py | 2 +- fattureincloud_python_sdk/models/city.py | 2 +- fattureincloud_python_sdk/models/client.py | 4 +- .../models/client_type.py | 2 +- fattureincloud_python_sdk/models/company.py | 2 +- .../models/company_info.py | 2 +- .../models/company_info_access_info.py | 2 +- .../models/company_info_plan_info.py | 2 +- .../company_info_plan_info_functions.py | 2 +- ...company_info_plan_info_functions_status.py | 2 +- .../models/company_info_plan_info_limits.py | 2 +- .../models/company_plan_usage.py | 2 +- .../models/company_type.py | 2 +- .../models/controlled_company.py | 2 +- .../models/create_archive_document_request.py | 2 +- .../create_archive_document_response.py | 2 +- .../models/create_cashbook_entry_request.py | 2 +- .../models/create_cashbook_entry_response.py | 2 +- .../models/create_client_request.py | 2 +- .../models/create_client_response.py | 2 +- .../models/create_f24_request.py | 2 +- .../models/create_f24_response.py | 2 +- .../models/create_issued_document_request.py | 2 +- .../models/create_issued_document_response.py | 2 +- .../models/create_payment_account_request.py | 2 +- .../models/create_payment_account_response.py | 2 +- .../models/create_payment_method_request.py | 2 +- .../models/create_payment_method_response.py | 2 +- .../models/create_product_request.py | 2 +- .../models/create_product_response.py | 2 +- .../models/create_receipt_request.py | 2 +- .../models/create_receipt_response.py | 2 +- .../create_received_document_request.py | 2 +- .../create_received_document_response.py | 2 +- .../models/create_supplier_request.py | 2 +- .../models/create_supplier_response.py | 2 +- .../models/create_vat_type_request.py | 2 +- .../models/create_vat_type_response.py | 2 +- .../create_webhooks_subscription_request.py | 2 +- .../create_webhooks_subscription_response.py | 2 +- fattureincloud_python_sdk/models/currency.py | 2 +- .../models/detailed_country.py | 2 +- .../models/document_template.py | 2 +- .../models/e_invoice_rejection_reason.py | 2 +- fattureincloud_python_sdk/models/email.py | 4 +- .../models/email_attachment.py | 2 +- .../models/email_data.py | 2 +- .../models/email_data_default_sender_email.py | 2 +- .../models/email_recipient_status.py | 2 +- .../models/email_schedule.py | 2 +- .../models/email_schedule_include.py | 2 +- .../models/email_status.py | 2 +- fattureincloud_python_sdk/models/entity.py | 4 +- .../models/entity_type.py | 2 +- .../models/event_type.py | 161 +++++++----- fattureincloud_python_sdk/models/f24.py | 2 +- .../models/f24_status.py | 2 +- .../models/fatture_in_cloud_plan_type.py | 2 +- .../models/function_status.py | 2 +- .../models/get_archive_document_response.py | 2 +- .../models/get_cashbook_entry_response.py | 2 +- .../models/get_client_response.py | 2 +- .../models/get_company_info_response.py | 2 +- .../models/get_company_plan_usage_response.py | 2 +- ...get_e_invoice_rejection_reason_response.py | 2 +- .../models/get_email_data_response.py | 2 +- ...existing_issued_document_totals_request.py | 2 +- ...xisting_issued_document_totals_response.py | 2 +- ...isting_received_document_totals_request.py | 2 +- ...sting_received_document_totals_response.py | 2 +- .../models/get_f24_response.py | 2 +- ...ssued_document_pre_create_info_response.py | 2 +- .../models/get_issued_document_response.py | 2 +- .../get_new_issued_document_totals_request.py | 2 +- ...get_new_issued_document_totals_response.py | 2 +- ...et_new_received_document_totals_request.py | 2 +- ...t_new_received_document_totals_response.py | 2 +- .../models/get_payment_account_response.py | 2 +- .../models/get_payment_method_response.py | 2 +- .../models/get_product_response.py | 2 +- .../get_receipt_pre_create_info_response.py | 2 +- .../models/get_receipt_response.py | 2 +- .../get_receipts_monthly_totals_response.py | 2 +- ...eived_document_pre_create_info_response.py | 2 +- .../models/get_received_document_response.py | 2 +- .../models/get_supplier_response.py | 2 +- .../models/get_tax_profile_response.py | 96 +++++++ .../models/get_user_info_response.py | 2 +- ..._info_response_email_confirmation_state.py | 2 +- .../models/get_user_info_response_info.py | 2 +- .../models/get_vat_type_response.py | 2 +- .../get_webhooks_subscription_response.py | 2 +- .../models/issued_document.py | 8 +- .../models/issued_document_ei_data.py | 2 +- .../models/issued_document_extra_data.py | 2 +- .../models/issued_document_items_list_item.py | 2 +- .../models/issued_document_options.py | 2 +- .../issued_document_payments_list_item.py | 4 +- ...cument_payments_list_item_payment_terms.py | 4 +- .../models/issued_document_pre_create_info.py | 2 +- ...document_pre_create_info_default_values.py | 2 +- ...e_create_info_extra_data_default_values.py | 2 +- ...nt_pre_create_info_items_default_values.py | 2 +- .../models/issued_document_status.py | 2 +- .../models/issued_document_totals.py | 2 +- .../models/issued_document_type.py | 2 +- .../models/join_issued_documents_response.py | 2 +- fattureincloud_python_sdk/models/language.py | 2 +- .../list_archive_categories_response.py | 2 +- .../models/list_archive_documents_response.py | 2 +- .../list_archive_documents_response_page.py | 2 +- .../models/list_cashbook_entries_response.py | 2 +- .../models/list_cities_response.py | 2 +- .../models/list_clients_response.py | 2 +- .../models/list_clients_response_page.py | 2 +- .../models/list_cost_centers_response.py | 2 +- .../models/list_countries_response.py | 2 +- .../models/list_currencies_response.py | 2 +- ...delivery_notes_default_causals_response.py | 2 +- .../list_detailed_countries_response.py | 2 +- .../models/list_emails_response.py | 2 +- .../models/list_emails_response_page.py | 2 +- .../models/list_f24_response.py | 2 +- .../list_f24_response_aggregated_data.py | 2 +- .../models/list_f24_response_aggregation.py | 2 +- .../models/list_f24_response_page.py | 2 +- .../models/list_issued_documents_response.py | 2 +- .../list_issued_documents_response_page.py | 2 +- .../models/list_languages_response.py | 2 +- .../models/list_payment_accounts_response.py | 2 +- .../models/list_payment_methods_response.py | 2 +- .../list_product_categories_response.py | 2 +- .../models/list_products_response.py | 2 +- .../models/list_products_response_page.py | 2 +- .../models/list_receipts_response.py | 2 +- .../models/list_receipts_response_page.py | 2 +- ...t_received_document_categories_response.py | 2 +- .../list_received_documents_response.py | 2 +- .../list_received_documents_response_page.py | 2 +- .../models/list_revenue_centers_response.py | 2 +- .../models/list_suppliers_response.py | 2 +- .../models/list_suppliers_response_page.py | 2 +- .../models/list_templates_response.py | 2 +- .../models/list_units_of_measure_response.py | 2 +- .../models/list_user_companies_response.py | 2 +- .../list_user_companies_response_data.py | 2 +- .../models/list_vat_types_response.py | 2 +- .../list_webhooks_subscriptions_response.py | 2 +- .../models/modify_archive_document_request.py | 2 +- .../modify_archive_document_response.py | 2 +- .../models/modify_cashbook_entry_request.py | 2 +- .../models/modify_cashbook_entry_response.py | 2 +- .../models/modify_client_request.py | 2 +- .../models/modify_client_response.py | 2 +- .../models/modify_f24_request.py | 2 +- .../models/modify_f24_response.py | 2 +- .../models/modify_issued_document_request.py | 2 +- .../models/modify_issued_document_response.py | 2 +- .../models/modify_payment_account_request.py | 2 +- .../models/modify_payment_account_response.py | 2 +- .../models/modify_payment_method_request.py | 2 +- .../models/modify_payment_method_response.py | 2 +- .../models/modify_product_request.py | 2 +- .../models/modify_product_response.py | 2 +- .../models/modify_receipt_request.py | 2 +- .../models/modify_receipt_response.py | 2 +- .../modify_received_document_request.py | 2 +- .../modify_received_document_response.py | 2 +- .../models/modify_supplier_request.py | 2 +- .../models/modify_supplier_response.py | 2 +- .../models/modify_vat_type_request.py | 2 +- .../models/modify_vat_type_response.py | 2 +- .../modify_webhooks_subscription_request.py | 2 +- .../modify_webhooks_subscription_response.py | 2 +- .../models/monthly_total.py | 2 +- .../models/original_document_type.py | 2 +- .../models/pagination.py | 2 +- .../models/payment_account.py | 4 +- .../models/payment_account_type.py | 2 +- .../models/payment_method.py | 4 +- .../models/payment_method_details.py | 2 +- .../models/payment_method_type.py | 2 +- .../models/payment_terms_type.py | 2 +- .../models/permission_level.py | 2 +- .../models/permissions.py | 2 +- ...rmissions_fic_issued_documents_detailed.py | 2 +- fattureincloud_python_sdk/models/product.py | 2 +- fattureincloud_python_sdk/models/receipt.py | 2 +- .../models/receipt_items_list_item.py | 2 +- .../models/receipt_pre_create_info.py | 2 +- .../models/receipt_type.py | 2 +- .../models/received_document.py | 4 +- .../models/received_document_info.py | 2 +- .../received_document_info_default_values.py | 2 +- ...ived_document_info_items_default_values.py | 2 +- .../received_document_items_list_item.py | 2 +- .../received_document_payments_list_item.py | 2 +- ...cument_payments_list_item_payment_terms.py | 4 +- .../models/received_document_totals.py | 2 +- .../models/received_document_type.py | 2 +- .../models/schedule_email_request.py | 2 +- .../models/send_e_invoice_request.py | 2 +- .../models/send_e_invoice_request_data.py | 2 +- .../models/send_e_invoice_request_options.py | 2 +- .../models/send_e_invoice_response.py | 2 +- .../models/send_e_invoice_response_data.py | 2 +- .../models/sender_email.py | 2 +- .../models/show_totals_mode.py | 2 +- fattureincloud_python_sdk/models/supplier.py | 2 +- .../models/supplier_type.py | 2 +- .../models/tax_profile.py | 206 +++++++++++++++ .../transform_issued_document_response.py | 2 +- .../upload_archive_attachment_response.py | 2 +- .../models/upload_f24_attachment_response.py | 2 +- ...oad_issued_document_attachment_response.py | 2 +- ...d_received_document_attachment_response.py | 2 +- fattureincloud_python_sdk/models/user.py | 2 +- .../models/user_company_role.py | 2 +- fattureincloud_python_sdk/models/vat_item.py | 2 +- fattureincloud_python_sdk/models/vat_kind.py | 3 +- fattureincloud_python_sdk/models/vat_type.py | 7 +- .../verify_e_invoice_xml_error_response.py | 2 +- ...rify_e_invoice_xml_error_response_error.py | 2 +- ..._error_response_error_validation_result.py | 2 +- ...rify_e_invoice_xml_error_response_extra.py | 2 +- .../models/verify_e_invoice_xml_response.py | 2 +- .../verify_e_invoice_xml_response_data.py | 2 +- .../models/webhooks_subscription.py | 2 +- .../models/webhooks_subscription_config.py | 2 +- .../models/webhooks_subscription_mapping.py | 2 +- fattureincloud_python_sdk/oauth2/oauth2.py | 21 +- fattureincloud_python_sdk/rest.py | 6 +- pyproject.toml | 23 +- sdk-version.yaml | 2 +- setup.py | 4 +- test-requirements.txt | 11 +- test/test_get_tax_profile_response.py | 87 +++++++ test/test_oauth2.py | 8 +- test/test_tax_profile.py | 84 ++++++ 309 files changed, 1751 insertions(+), 512 deletions(-) create mode 100644 docs/GetTaxProfileResponse.md create mode 100644 docs/TaxProfile.md create mode 100644 fattureincloud_python_sdk/models/get_tax_profile_response.py create mode 100644 fattureincloud_python_sdk/models/tax_profile.py create mode 100644 test/test_get_tax_profile_response.py create mode 100644 test/test_tax_profile.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 5d93500f..d43bcae7 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -96,6 +96,7 @@ docs/GetReceiptsMonthlyTotalsResponse.md docs/GetReceivedDocumentPreCreateInfoResponse.md docs/GetReceivedDocumentResponse.md docs/GetSupplierResponse.md +docs/GetTaxProfileResponse.md docs/GetUserInfoResponse.md docs/GetUserInfoResponseEmailConfirmationState.md docs/GetUserInfoResponseInfo.md @@ -227,6 +228,7 @@ docs/ShowTotalsMode.md docs/Supplier.md docs/SupplierType.md docs/SuppliersApi.md +docs/TaxProfile.md docs/TaxesApi.md docs/TransformIssuedDocumentResponse.md docs/UploadArchiveAttachmentResponse.md @@ -363,6 +365,7 @@ fattureincloud_python_sdk/models/get_receipts_monthly_totals_response.py fattureincloud_python_sdk/models/get_received_document_pre_create_info_response.py fattureincloud_python_sdk/models/get_received_document_response.py fattureincloud_python_sdk/models/get_supplier_response.py +fattureincloud_python_sdk/models/get_tax_profile_response.py fattureincloud_python_sdk/models/get_user_info_response.py fattureincloud_python_sdk/models/get_user_info_response_email_confirmation_state.py fattureincloud_python_sdk/models/get_user_info_response_info.py @@ -486,6 +489,7 @@ fattureincloud_python_sdk/models/sender_email.py fattureincloud_python_sdk/models/show_totals_mode.py fattureincloud_python_sdk/models/supplier.py fattureincloud_python_sdk/models/supplier_type.py +fattureincloud_python_sdk/models/tax_profile.py fattureincloud_python_sdk/models/transform_issued_document_response.py fattureincloud_python_sdk/models/upload_archive_attachment_response.py fattureincloud_python_sdk/models/upload_f24_attachment_response.py @@ -513,3 +517,5 @@ setup.cfg setup.py test-requirements.txt test/__init__.py +test/test_get_tax_profile_response.py +test/test_tax_profile.py diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 93c8ddab..4bc5d618 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.9.0 diff --git a/.travis.yml b/.travis.yml index dccb5e25..ed3c9132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ # ref: https://docs.travis-ci.com/user/languages/python language: python python: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" # uncomment the following if needed - #- "3.11-dev" # 3.11 development branch + #- "3.12-dev" # 3.12 development branch #- "nightly" # nightly build # command to install dependencies install: diff --git a/README.md b/README.md index 449af815..481f486c 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2.1.0 -- Package version: 2.1.0 +- API version: 2.1.2 +- Package version: 2.1.1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.fattureincloud.it](https://www.fattureincloud.it) @@ -163,6 +163,7 @@ Class | Method | HTTP request | Description *SettingsApi* | [**delete_vat_type**](docs/SettingsApi.md#delete_vat_type) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type *SettingsApi* | [**get_payment_account**](docs/SettingsApi.md#get_payment_account) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account *SettingsApi* | [**get_payment_method**](docs/SettingsApi.md#get_payment_method) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method +*SettingsApi* | [**get_tax_profile**](docs/SettingsApi.md#get_tax_profile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile *SettingsApi* | [**get_vat_type**](docs/SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type *SettingsApi* | [**modify_payment_account**](docs/SettingsApi.md#modify_payment_account) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account *SettingsApi* | [**modify_payment_method**](docs/SettingsApi.md#modify_payment_method) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method @@ -281,6 +282,7 @@ Class | Method | HTTP request | Description - [GetReceivedDocumentPreCreateInfoResponse](docs/GetReceivedDocumentPreCreateInfoResponse.md) - [GetReceivedDocumentResponse](docs/GetReceivedDocumentResponse.md) - [GetSupplierResponse](docs/GetSupplierResponse.md) + - [GetTaxProfileResponse](docs/GetTaxProfileResponse.md) - [GetUserInfoResponse](docs/GetUserInfoResponse.md) - [GetUserInfoResponseEmailConfirmationState](docs/GetUserInfoResponseEmailConfirmationState.md) - [GetUserInfoResponseInfo](docs/GetUserInfoResponseInfo.md) @@ -404,6 +406,7 @@ Class | Method | HTTP request | Description - [ShowTotalsMode](docs/ShowTotalsMode.md) - [Supplier](docs/Supplier.md) - [SupplierType](docs/SupplierType.md) + - [TaxProfile](docs/TaxProfile.md) - [TransformIssuedDocumentResponse](docs/TransformIssuedDocumentResponse.md) - [UploadArchiveAttachmentResponse](docs/UploadArchiveAttachmentResponse.md) - [UploadF24AttachmentResponse](docs/UploadF24AttachmentResponse.md) diff --git a/docs/CashbookEntryKind.md b/docs/CashbookEntryKind.md index 40568c2a..08e14646 100644 --- a/docs/CashbookEntryKind.md +++ b/docs/CashbookEntryKind.md @@ -2,10 +2,17 @@ Cashbook kind -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `CASHBOOK` (value: `'cashbook'`) + +* `ISSUED_DOCUMENT` (value: `'issued_document'`) + +* `RECEIVED_DOCUMENT` (value: `'received_document'`) + +* `TAX` (value: `'tax'`) + +* `RECEIPT` (value: `'receipt'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CashbookEntryType.md b/docs/CashbookEntryType.md index 9fb688f6..7a7548f2 100644 --- a/docs/CashbookEntryType.md +++ b/docs/CashbookEntryType.md @@ -2,10 +2,11 @@ Cashbook type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `IN` (value: `'in'`) + +* `OUT` (value: `'out'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Client.md b/docs/Client.md index de98cb36..05f519d5 100644 --- a/docs/Client.md +++ b/docs/Client.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes **notes** | **str** | Client extra | [optional] **default_vat** | [**VatType**](VatType.md) | | [optional] **default_payment_terms** | **int** | Client default payment terms | [optional] -**default_payment_terms_type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] +**default_payment_terms_type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] [default to PaymentTermsType.STANDARD] **default_payment_method** | [**PaymentMethod**](PaymentMethod.md) | | [optional] **bank_name** | **str** | Client bank name | [optional] **bank_iban** | **str** | Client bank iban | [optional] diff --git a/docs/ClientType.md b/docs/ClientType.md index 3b0583a8..64a2537f 100644 --- a/docs/ClientType.md +++ b/docs/ClientType.md @@ -2,10 +2,15 @@ Client type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `COMPANY` (value: `'company'`) + +* `PERSON` (value: `'person'`) + +* `PA` (value: `'pa'`) + +* `CONDO` (value: `'condo'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CompanyType.md b/docs/CompanyType.md index 9ef1f6c6..79f03410 100644 --- a/docs/CompanyType.md +++ b/docs/CompanyType.md @@ -2,10 +2,11 @@ Company type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `COMPANY` (value: `'company'`) + +* `ACCOUNTANT` (value: `'accountant'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Email.md b/docs/Email.md index 0fc97f40..ce9f786f 100644 --- a/docs/Email.md +++ b/docs/Email.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Email id | [optional] **status** | [**EmailStatus**](EmailStatus.md) | | [optional] -**sent_date** | **datetime** | Email sent date | [optional] +**sent_date** | **str** | Email sent date | [optional] **errors_count** | **int** | Email errors count | [optional] **error_log** | **str** | Email errors log | [optional] **from_email** | **str** | Email sender email | [optional] diff --git a/docs/EmailRecipientStatus.md b/docs/EmailRecipientStatus.md index 7c24d092..d74eb817 100644 --- a/docs/EmailRecipientStatus.md +++ b/docs/EmailRecipientStatus.md @@ -2,10 +2,13 @@ Email recipient status -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `UNKNOWN` (value: `'unknown'`) + +* `DOCUMENT_OPENED` (value: `'document_opened'`) + +* `EMAIL_OPENED` (value: `'email_opened'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EmailStatus.md b/docs/EmailStatus.md index bd69220b..d3823fca 100644 --- a/docs/EmailStatus.md +++ b/docs/EmailStatus.md @@ -2,10 +2,13 @@ Email status -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `SENDING` (value: `'sending'`) + +* `PENDING` (value: `'pending'`) + +* `SENT` (value: `'sent'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Entity.md b/docs/Entity.md index e328f87c..7cc57ede 100644 --- a/docs/Entity.md +++ b/docs/Entity.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes **notes** | **str** | Entity extra | [optional] **default_payment_terms** | **int** | [Only for client] Client default payment terms | [optional] **default_vat** | [**VatType**](VatType.md) | | [optional] -**default_payment_terms_type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] +**default_payment_terms_type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] [default to PaymentTermsType.STANDARD] **default_payment_method** | [**PaymentMethod**](PaymentMethod.md) | | [optional] **bank_name** | **str** | [Only for client] Client bank name | [optional] **bank_iban** | **str** | [Only for client] Client bank iban | [optional] diff --git a/docs/EntityType.md b/docs/EntityType.md index 08f89646..1bb0bc6d 100644 --- a/docs/EntityType.md +++ b/docs/EntityType.md @@ -2,10 +2,15 @@ Entity type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `COMPANY` (value: `'company'`) + +* `PERSON` (value: `'person'`) + +* `PA` (value: `'pa'`) + +* `CONDO` (value: `'condo'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EventType.md b/docs/EventType.md index f0c4c011..d35487bc 100644 --- a/docs/EventType.md +++ b/docs/EventType.md @@ -2,10 +2,155 @@ Webhooks event type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.invoices.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.invoices.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.invoices.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.quotes.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.quotes.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.quotes.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.proformas.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.proformas.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.proformas.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.receipts.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.receipts.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.receipts.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.delivery_notes.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.delivery_notes.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.delivery_notes.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.credit_notes.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.credit_notes.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.credit_notes.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.orders.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.orders.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.orders.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.work_reports.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.work_reports.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.work_reports.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.supplier_orders.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.supplier_orders.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.supplier_orders.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.self_invoices.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.self_invoices.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.self_invoices.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_CREATE` (value: `'it.fattureincloud.webhooks.issued_documents.all.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.all.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_DELETE` (value: `'it.fattureincloud.webhooks.issued_documents.all.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.received_documents.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.received_documents.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.received_documents.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.receipts.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.receipts.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.receipts.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_CREATE` (value: `'it.fattureincloud.webhooks.taxes.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.taxes.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_DELETE` (value: `'it.fattureincloud.webhooks.taxes.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.archive_documents.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.archive_documents.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.archive_documents.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_CREATE` (value: `'it.fattureincloud.webhooks.cashbook.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.cashbook.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_DELETE` (value: `'it.fattureincloud.webhooks.cashbook.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.products.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.products.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.products.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_STOCK_UPDATE` (value: `'it.fattureincloud.webhooks.products.stock_update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.entities.clients.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.entities.clients.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.entities.clients.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_CREATE` (value: `'it.fattureincloud.webhooks.entities.suppliers.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.entities.suppliers.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_DELETE` (value: `'it.fattureincloud.webhooks.entities.suppliers.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_CREATE` (value: `'it.fattureincloud.webhooks.entities.all.create'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_UPDATE` (value: `'it.fattureincloud.webhooks.entities.all.update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_DELETE` (value: `'it.fattureincloud.webhooks.entities.all.delete'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_E_INVOICES_DOT_STATUS_UPDATE` (value: `'it.fattureincloud.webhooks.issued_documents.e_invoices.status_update'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_E_INVOICES_DOT_RECEIVE` (value: `'it.fattureincloud.webhooks.received_documents.e_invoices.receive'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.invoices.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.quotes.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.proformas.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.receipts.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.orders.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.work_reports.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent'`) + +* `IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_EMAIL_SENT` (value: `'it.fattureincloud.webhooks.issued_documents.all.email_sent'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/F24Status.md b/docs/F24Status.md index 4c7752e7..1aeb879f 100644 --- a/docs/F24Status.md +++ b/docs/F24Status.md @@ -2,10 +2,13 @@ F24 status -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `PAID` (value: `'paid'`) + +* `NOT_PAID` (value: `'not_paid'`) + +* `REVERSED` (value: `'reversed'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FattureInCloudPlanType.md b/docs/FattureInCloudPlanType.md index 52ff4b09..dfb6aa36 100644 --- a/docs/FattureInCloudPlanType.md +++ b/docs/FattureInCloudPlanType.md @@ -2,10 +2,17 @@ Fatture in Cloud account plan type. -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TRIAL` (value: `'trial'`) + +* `STANDARD` (value: `'standard'`) + +* `PREMIUM` (value: `'premium'`) + +* `PREMIUM_PLUS` (value: `'premium_plus'`) + +* `COMPLETE` (value: `'complete'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetTaxProfileResponse.md b/docs/GetTaxProfileResponse.md new file mode 100644 index 00000000..fdea5595 --- /dev/null +++ b/docs/GetTaxProfileResponse.md @@ -0,0 +1,29 @@ +# GetTaxProfileResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**TaxProfile**](TaxProfile.md) | | [optional] + +## Example + +```python +from fattureincloud_python_sdk.models.get_tax_profile_response import GetTaxProfileResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of GetTaxProfileResponse from a JSON string +get_tax_profile_response_instance = GetTaxProfileResponse.from_json(json) +# print the JSON string representation of the object +print(GetTaxProfileResponse.to_json()) + +# convert the object into a dict +get_tax_profile_response_dict = get_tax_profile_response_instance.to_dict() +# create an instance of GetTaxProfileResponse from a dict +get_tax_profile_response_from_dict = GetTaxProfileResponse.from_dict(get_tax_profile_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/InfoApi.md b/docs/InfoApi.md index b8b275a5..693af696 100644 --- a/docs/InfoApi.md +++ b/docs/InfoApi.md @@ -1044,7 +1044,7 @@ configuration.access_token = os.environ["ACCESS_TOKEN"] with fattureincloud_python_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = fattureincloud_python_sdk.InfoApi(api_client) - type = 'all' # str | Type of the templates. (optional) (default to 'all') + type = all # str | Type of the templates. (optional) (default to all) by_type = False # bool | [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional) (default to False) try: @@ -1063,7 +1063,7 @@ with fattureincloud_python_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **type** | **str**| Type of the templates. | [optional] [default to 'all'] + **type** | **str**| Type of the templates. | [optional] [default to all] **by_type** | **bool**| [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to False] ### Return type diff --git a/docs/IssuedDocument.md b/docs/IssuedDocument.md index 8c977664..775b9ddb 100644 --- a/docs/IssuedDocument.md +++ b/docs/IssuedDocument.md @@ -7,14 +7,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Issued document id | [optional] **entity** | [**Entity**](Entity.md) | | [optional] -**type** | [**IssuedDocumentType**](IssuedDocumentType.md) | | [optional] +**type** | [**IssuedDocumentType**](IssuedDocumentType.md) | | [optional] [default to IssuedDocumentType.INVOICE] **number** | **int** | Issued document number [If not specified, next number is used] | [optional] **numeration** | **str** | Issued document numeration [Not available if type=delivery_note] | [optional] **var_date** | **date** | Issued document date [defaults to today's date] | [optional] **year** | **int** | Issued document year | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **language** | [**Language**](Language.md) | | [optional] -**subject** | **str** | Issued document subject | [optional] +**subject** | **str** | Issued document subject [not shown on the PDF] | [optional] **visible_subject** | **str** | Issued document visible subject | [optional] **rc_center** | **str** | Issued document revenue center [or cost center if type=supplier_order]. | [optional] **notes** | **str** | Issued document extra notes | [optional] @@ -52,7 +52,7 @@ Name | Type | Description | Notes **v_margins** | **int** | Issued document PDF vertical margins | [optional] **show_payments** | **bool** | Show the expiration dates of the payments on the document | [optional] **show_payment_method** | **bool** | Show the payment method details on the document | [optional] -**show_totals** | [**ShowTotalsMode**](ShowTotalsMode.md) | | [optional] +**show_totals** | [**ShowTotalsMode**](ShowTotalsMode.md) | | [optional] [default to ShowTotalsMode.ALL] **show_notification_button** | **bool** | Show notification button in the PDF | [optional] **show_tspay_button** | **bool** | Show ts pay button in the PDF | [optional] **delivery_note** | **bool** | Issued document has delivery note | [optional] diff --git a/docs/IssuedDocumentPaymentsListItem.md b/docs/IssuedDocumentPaymentsListItem.md index f58f0bd9..7cf8fcba 100644 --- a/docs/IssuedDocumentPaymentsListItem.md +++ b/docs/IssuedDocumentPaymentsListItem.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **int** | Issued document payment item id | [optional] **due_date** | **date** | Issued document payment due date | [optional] **amount** | **float** | Issued document payment amount | [optional] -**status** | [**IssuedDocumentStatus**](IssuedDocumentStatus.md) | | [optional] +**status** | [**IssuedDocumentStatus**](IssuedDocumentStatus.md) | | [optional] [default to IssuedDocumentStatus.NOT_PAID] **payment_account** | [**PaymentAccount**](PaymentAccount.md) | | [optional] **paid_date** | **date** | Issued document payment date [Only if status is paid] | [optional] **ei_raw** | **object** | Issued document payment advanced raw attributes for e-invoices | [optional] diff --git a/docs/IssuedDocumentPaymentsListItemPaymentTerms.md b/docs/IssuedDocumentPaymentsListItemPaymentTerms.md index c2790309..966b68b0 100644 --- a/docs/IssuedDocumentPaymentsListItemPaymentTerms.md +++ b/docs/IssuedDocumentPaymentsListItemPaymentTerms.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **days** | **int** | Issued document payment number of days by which the payment must be made | [optional] -**type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] +**type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] [default to PaymentTermsType.STANDARD] ## Example diff --git a/docs/IssuedDocumentStatus.md b/docs/IssuedDocumentStatus.md index 3fcba02c..4fc5f9cf 100644 --- a/docs/IssuedDocumentStatus.md +++ b/docs/IssuedDocumentStatus.md @@ -2,10 +2,13 @@ Issued document status -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NOT_PAID` (value: `'not_paid'`) + +* `PAID` (value: `'paid'`) + +* `REVERSED` (value: `'reversed'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IssuedDocumentType.md b/docs/IssuedDocumentType.md index 15b5aa91..77208fe7 100644 --- a/docs/IssuedDocumentType.md +++ b/docs/IssuedDocumentType.md @@ -2,10 +2,29 @@ Issued document type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `INVOICE` (value: `'invoice'`) + +* `QUOTE` (value: `'quote'`) + +* `PROFORMA` (value: `'proforma'`) + +* `RECEIPT` (value: `'receipt'`) + +* `DELIVERY_NOTE` (value: `'delivery_note'`) + +* `CREDIT_NOTE` (value: `'credit_note'`) + +* `ORDER` (value: `'order'`) + +* `WORK_REPORT` (value: `'work_report'`) + +* `SUPPLIER_ORDER` (value: `'supplier_order'`) + +* `SELF_OWN_INVOICE` (value: `'self_own_invoice'`) + +* `SELF_SUPPLIER_INVOICE` (value: `'self_supplier_invoice'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/IssuedDocumentsApi.md b/docs/IssuedDocumentsApi.md index 331b40ed..c4451eef 100644 --- a/docs/IssuedDocumentsApi.md +++ b/docs/IssuedDocumentsApi.md @@ -650,7 +650,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **join_issued_documents** -> JoinIssuedDocumentsResponse join_issued_documents(company_id, ids, group=group, e_invoice=e_invoice) +> JoinIssuedDocumentsResponse join_issued_documents(company_id, ids, group=group, parameter=parameter) Join Issued Documents @@ -686,11 +686,11 @@ with fattureincloud_python_sdk.ApiClient(configuration) as api_client: company_id = 12345 # int | The ID of the company. ids = '1,2,3,4' # str | Ids of the documents. group = 56 # int | Group items. (optional) - e_invoice = 56 # int | New document e_invoice. (optional) + parameter = 'delivery_notes, orders, quotes, work_reports' # str | Type of the parameters to be joined (optional) try: # Join Issued Documents - api_response = api_instance.join_issued_documents(company_id, ids, group=group, e_invoice=e_invoice) + api_response = api_instance.join_issued_documents(company_id, ids, group=group, parameter=parameter) print("The response of IssuedDocumentsApi->join_issued_documents:\n") pprint(api_response) except Exception as e: @@ -707,7 +707,7 @@ Name | Type | Description | Notes **company_id** | **int**| The ID of the company. | **ids** | **str**| Ids of the documents. | **group** | **int**| Group items. | [optional] - **e_invoice** | **int**| New document e_invoice. | [optional] + **parameter** | **str**| Type of the parameters to be joined | [optional] ### Return type @@ -985,7 +985,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **transform_issued_document** -> TransformIssuedDocumentResponse transform_issued_document(company_id, original_document_id, new_type, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy) +> TransformIssuedDocumentResponse transform_issued_document(company_id, original_document_id, new_type, parameter=parameter, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy) Transform Issued Document @@ -1021,12 +1021,13 @@ with fattureincloud_python_sdk.ApiClient(configuration) as api_client: company_id = 12345 # int | The ID of the company. original_document_id = 56 # int | Original document id. new_type = 'new_type_example' # str | New document type. + parameter = 'parameter_example' # str | Old document type. (optional) e_invoice = 56 # int | New document e_invoice. (optional) transform_keep_copy = 56 # int | Keep the old document. (optional) try: # Transform Issued Document - api_response = api_instance.transform_issued_document(company_id, original_document_id, new_type, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy) + api_response = api_instance.transform_issued_document(company_id, original_document_id, new_type, parameter=parameter, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy) print("The response of IssuedDocumentsApi->transform_issued_document:\n") pprint(api_response) except Exception as e: @@ -1043,6 +1044,7 @@ Name | Type | Description | Notes **company_id** | **int**| The ID of the company. | **original_document_id** | **int**| Original document id. | **new_type** | **str**| New document type. | + **parameter** | **str**| Old document type. | [optional] **e_invoice** | **int**| New document e_invoice. | [optional] **transform_keep_copy** | **int**| Keep the old document. | [optional] diff --git a/docs/OriginalDocumentType.md b/docs/OriginalDocumentType.md index 7f8714ed..db2e010b 100644 --- a/docs/OriginalDocumentType.md +++ b/docs/OriginalDocumentType.md @@ -2,10 +2,13 @@ Issued document original document type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `ORDINE` (value: `'ordine'`) + +* `CONTRATTO` (value: `'contratto'`) + +* `CONVENZIONE` (value: `'convenzione'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentAccount.md b/docs/PaymentAccount.md index 5f23203f..d4468827 100644 --- a/docs/PaymentAccount.md +++ b/docs/PaymentAccount.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Payment account id | [optional] **name** | **str** | Payment account name | [optional] -**type** | [**PaymentAccountType**](PaymentAccountType.md) | | [optional] +**type** | [**PaymentAccountType**](PaymentAccountType.md) | | [optional] [default to PaymentAccountType.STANDARD] **iban** | **str** | Payment account iban | [optional] **sia** | **str** | Payment account sia | [optional] **cuc** | **str** | Payment account cuc | [optional] diff --git a/docs/PaymentAccountType.md b/docs/PaymentAccountType.md index 13754066..76524ad6 100644 --- a/docs/PaymentAccountType.md +++ b/docs/PaymentAccountType.md @@ -2,10 +2,11 @@ Payment account type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STANDARD` (value: `'standard'`) + +* `BANK` (value: `'bank'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentMethod.md b/docs/PaymentMethod.md index 0bbe0e82..67aa3faa 100644 --- a/docs/PaymentMethod.md +++ b/docs/PaymentMethod.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Payment method id | [optional] **name** | **str** | Payment method name | [optional] -**type** | [**PaymentMethodType**](PaymentMethodType.md) | | [optional] +**type** | [**PaymentMethodType**](PaymentMethodType.md) | | [optional] [default to PaymentMethodType.STANDARD] **is_default** | **bool** | Payment method is default | [optional] **default_payment_account** | [**PaymentAccount**](PaymentAccount.md) | | [optional] **details** | [**List[PaymentMethodDetails]**](PaymentMethodDetails.md) | Payment method details | [optional] diff --git a/docs/PaymentMethodType.md b/docs/PaymentMethodType.md index 1b9f16a4..51422d44 100644 --- a/docs/PaymentMethodType.md +++ b/docs/PaymentMethodType.md @@ -2,10 +2,11 @@ Payment method type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STANDARD` (value: `'standard'`) + +* `RIBA` (value: `'riba'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PaymentTermsType.md b/docs/PaymentTermsType.md index ea2beb7d..133b26ac 100644 --- a/docs/PaymentTermsType.md +++ b/docs/PaymentTermsType.md @@ -2,10 +2,11 @@ Payment terms type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `STANDARD` (value: `'standard'`) + +* `END_OF_MONTH` (value: `'end_of_month'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PermissionLevel.md b/docs/PermissionLevel.md index b6776b87..788caede 100644 --- a/docs/PermissionLevel.md +++ b/docs/PermissionLevel.md @@ -2,10 +2,15 @@ Permission level -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'none'`) + +* `READ` (value: `'read'`) + +* `WRITE` (value: `'write'`) + +* `DETAILED` (value: `'detailed'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReceiptType.md b/docs/ReceiptType.md index b887e590..887ea369 100644 --- a/docs/ReceiptType.md +++ b/docs/ReceiptType.md @@ -2,10 +2,11 @@ Receipt type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `TILL_RECEIPT` (value: `'till_receipt'`) + +* `SALES_RECEIPT` (value: `'sales_receipt'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ReceivedDocument.md b/docs/ReceivedDocument.md index 55376096..12a16394 100644 --- a/docs/ReceivedDocument.md +++ b/docs/ReceivedDocument.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Received document id | [optional] -**type** | [**ReceivedDocumentType**](ReceivedDocumentType.md) | | [optional] +**type** | [**ReceivedDocumentType**](ReceivedDocumentType.md) | | [optional] [default to ReceivedDocumentType.EXPENSE] **entity** | [**Entity**](Entity.md) | | [optional] **var_date** | **date** | Received document date [defaults to today's date] | [optional] **category** | **str** | Received document category | [optional] diff --git a/docs/ReceivedDocumentPaymentsListItemPaymentTerms.md b/docs/ReceivedDocumentPaymentsListItemPaymentTerms.md index 0885a273..ed6fb900 100644 --- a/docs/ReceivedDocumentPaymentsListItemPaymentTerms.md +++ b/docs/ReceivedDocumentPaymentsListItemPaymentTerms.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **days** | **int** | Received document payment number of days by which the payment must be made | [optional] -**type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] +**type** | [**PaymentTermsType**](PaymentTermsType.md) | | [optional] [default to PaymentTermsType.STANDARD] ## Example diff --git a/docs/ReceivedDocumentType.md b/docs/ReceivedDocumentType.md index 146ffa2c..7e47f521 100644 --- a/docs/ReceivedDocumentType.md +++ b/docs/ReceivedDocumentType.md @@ -2,10 +2,13 @@ Received document type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `EXPENSE` (value: `'expense'`) + +* `PASSIVE_CREDIT_NOTE` (value: `'passive_credit_note'`) + +* `PASSIVE_DELIVERY_NOTE` (value: `'passive_delivery_note'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SettingsApi.md b/docs/SettingsApi.md index 26ceb83d..526e9a7f 100644 --- a/docs/SettingsApi.md +++ b/docs/SettingsApi.md @@ -12,6 +12,7 @@ Method | HTTP request | Description [**delete_vat_type**](SettingsApi.md#delete_vat_type) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type [**get_payment_account**](SettingsApi.md#get_payment_account) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account [**get_payment_method**](SettingsApi.md#get_payment_method) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method +[**get_tax_profile**](SettingsApi.md#get_tax_profile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile [**get_vat_type**](SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type [**modify_payment_account**](SettingsApi.md#modify_payment_account) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account [**modify_payment_method**](SettingsApi.md#modify_payment_method) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method @@ -636,6 +637,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_tax_profile** +> GetTaxProfileResponse get_tax_profile(company_id) + +Get Tax Profile + +Gets the Tax Profile + +### Example + +* OAuth Authentication (OAuth2AuthenticationCodeFlow): + +```python +import fattureincloud_python_sdk +from fattureincloud_python_sdk.models.get_tax_profile_response import GetTaxProfileResponse +from fattureincloud_python_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api-v2.fattureincloud.it +# See configuration.py for a list of all supported configuration parameters. +configuration = fattureincloud_python_sdk.Configuration( + host = "https://api-v2.fattureincloud.it" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +configuration.access_token = os.environ["ACCESS_TOKEN"] + +# Enter a context with an instance of the API client +with fattureincloud_python_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = fattureincloud_python_sdk.SettingsApi(api_client) + company_id = 12345 # int | The ID of the company. + + try: + # Get Tax Profile + api_response = api_instance.get_tax_profile(company_id) + print("The response of SettingsApi->get_tax_profile:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SettingsApi->get_tax_profile: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **company_id** | **int**| The ID of the company. | + +### Return type + +[**GetTaxProfileResponse**](GetTaxProfileResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Example response | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_vat_type** > GetVatTypeResponse get_vat_type(company_id, vat_type_id) diff --git a/docs/ShowTotalsMode.md b/docs/ShowTotalsMode.md index 074be97a..b3ee847b 100644 --- a/docs/ShowTotalsMode.md +++ b/docs/ShowTotalsMode.md @@ -2,10 +2,13 @@ Show totals mode -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NONE` (value: `'none'`) + +* `NETS` (value: `'nets'`) + +* `ALL` (value: `'all'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SupplierType.md b/docs/SupplierType.md index eca9427b..d15c8989 100644 --- a/docs/SupplierType.md +++ b/docs/SupplierType.md @@ -2,10 +2,15 @@ Supplier type -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `COMPANY` (value: `'company'`) + +* `PERSON` (value: `'person'`) + +* `PA` (value: `'pa'`) + +* `CONDO` (value: `'condo'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TaxProfile.md b/docs/TaxProfile.md new file mode 100644 index 00000000..b078ceb5 --- /dev/null +++ b/docs/TaxProfile.md @@ -0,0 +1,49 @@ +# TaxProfile + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**company_type** | **str** | The company type | [optional] +**company_subtype** | **str** | The company subtype | [optional] +**profession** | **str** | The profession | [optional] +**regime** | **str** | The applied regime | [optional] +**rivalsa_name** | **str** | The name of the rivalsa | [optional] +**default_rivalsa** | **float** | The default rivalsa amount | [optional] +**cassa_name** | **str** | The name of the cassa | [optional] +**default_cassa** | **float** | The default cassa amount | [optional] +**default_cassa_taxable** | **float** | The default taxable amount for the cassa | [optional] +**cassa2_name** | **str** | The name of the second cassa | [optional] +**default_cassa2** | **float** | The default second cassa amount | [optional] +**default_cassa2_taxable** | **float** | The default taxable amount for the second cassa | [optional] +**default_withholding_tax** | **float** | The default withholding tax | [optional] +**default_withholding_tax_taxable** | **float** | The default taxable amount for the withholding tax | [optional] +**default_other_withholding_tax** | **float** | The default other withholding tax | [optional] +**enasarco** | **bool** | If it has enasarco | [optional] +**enasarco_type** | **str** | The enasarco type | [optional] +**contributions_percentage** | **float** | The contributions percentage | [optional] +**profit_coefficient** | **float** | The profit coefficient | [optional] +**med** | **bool** | If the health card system is active | [optional] +**default_vat** | [**VatType**](VatType.md) | | [optional] + +## Example + +```python +from fattureincloud_python_sdk.models.tax_profile import TaxProfile + +# TODO update the JSON string below +json = "{}" +# create an instance of TaxProfile from a JSON string +tax_profile_instance = TaxProfile.from_json(json) +# print the JSON string representation of the object +print(TaxProfile.to_json()) + +# convert the object into a dict +tax_profile_dict = tax_profile_instance.to_dict() +# create an instance of TaxProfile from a dict +tax_profile_from_dict = TaxProfile.from_dict(tax_profile_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/UserCompanyRole.md b/docs/UserCompanyRole.md index 378057ab..060eec16 100644 --- a/docs/UserCompanyRole.md +++ b/docs/UserCompanyRole.md @@ -2,10 +2,13 @@ User company role -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `MASTER` (value: `'master'`) + +* `SUBACCOUNT` (value: `'subaccount'`) + +* `EMPLOYEE` (value: `'employee'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VatKind.md b/docs/VatKind.md index 5795c7b3..daac6b09 100644 --- a/docs/VatKind.md +++ b/docs/VatKind.md @@ -2,10 +2,13 @@ Vat kind [esigibilità IVA] -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `I` (value: `'I'`) + +* `D` (value: `'D'`) + +* `S` (value: `'S'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/VatType.md b/docs/VatType.md index 05432cb6..bf64f66d 100644 --- a/docs/VatType.md +++ b/docs/VatType.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **ei_description** | **str** | Vat type e-invoice description | [optional] **editable** | **bool** | [Read Only] Is the vat type is editable. | [optional] [readonly] **is_disabled** | **bool** | Is the vat type disabled | [optional] +**default** | **bool** | If the vat type is default | [optional] ## Example diff --git a/docs/WebhooksSubscriptionMapping.md b/docs/WebhooksSubscriptionMapping.md index d264b2bd..f0419a22 100644 --- a/docs/WebhooksSubscriptionMapping.md +++ b/docs/WebhooksSubscriptionMapping.md @@ -2,10 +2,11 @@ Webhooks Subscription mapping -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `BINARY` (value: `'binary'`) + +* `STRUCTURED` (value: `'structured'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/fattureincloud_python_sdk/__init__.py b/fattureincloud_python_sdk/__init__.py index a2d827f8..b6c8f741 100644 --- a/fattureincloud_python_sdk/__init__.py +++ b/fattureincloud_python_sdk/__init__.py @@ -7,7 +7,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "2.1.0" +__version__ = "2.1.1" # import apis into sdk package from fattureincloud_python_sdk.api.archive_api import ArchiveApi @@ -238,6 +238,9 @@ GetReceivedDocumentResponse, ) from fattureincloud_python_sdk.models.get_supplier_response import GetSupplierResponse +from fattureincloud_python_sdk.models.get_tax_profile_response import ( + GetTaxProfileResponse, +) from fattureincloud_python_sdk.models.get_user_info_response import GetUserInfoResponse from fattureincloud_python_sdk.models.get_user_info_response_email_confirmation_state import ( GetUserInfoResponseEmailConfirmationState, @@ -521,6 +524,7 @@ from fattureincloud_python_sdk.models.show_totals_mode import ShowTotalsMode from fattureincloud_python_sdk.models.supplier import Supplier from fattureincloud_python_sdk.models.supplier_type import SupplierType +from fattureincloud_python_sdk.models.tax_profile import TaxProfile from fattureincloud_python_sdk.models.transform_issued_document_response import ( TransformIssuedDocumentResponse, ) diff --git a/fattureincloud_python_sdk/api/archive_api.py b/fattureincloud_python_sdk/api/archive_api.py index 55bfb659..8f880beb 100644 --- a/fattureincloud_python_sdk/api/archive_api.py +++ b/fattureincloud_python_sdk/api/archive_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import Optional, Tuple, Union from typing_extensions import Annotated from fattureincloud_python_sdk.models.create_archive_document_request import ( CreateArchiveDocumentRequest, @@ -1597,7 +1597,7 @@ def upload_archive_document_attachment( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -1678,7 +1678,7 @@ def upload_archive_document_attachment_with_http_info( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -1759,7 +1759,7 @@ def upload_archive_document_attachment_without_preload_content( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), diff --git a/fattureincloud_python_sdk/api/cashbook_api.py b/fattureincloud_python_sdk/api/cashbook_api.py index 7eb6f7ed..1cf10c39 100644 --- a/fattureincloud_python_sdk/api/cashbook_api.py +++ b/fattureincloud_python_sdk/api/cashbook_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/clients_api.py b/fattureincloud_python_sdk/api/clients_api.py index 1c40f890..2bacc323 100644 --- a/fattureincloud_python_sdk/api/clients_api.py +++ b/fattureincloud_python_sdk/api/clients_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/companies_api.py b/fattureincloud_python_sdk/api/companies_api.py index 17e507db..c6632c8c 100644 --- a/fattureincloud_python_sdk/api/companies_api.py +++ b/fattureincloud_python_sdk/api/companies_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/emails_api.py b/fattureincloud_python_sdk/api/emails_api.py index 081f9e4a..d529ef94 100644 --- a/fattureincloud_python_sdk/api/emails_api.py +++ b/fattureincloud_python_sdk/api/emails_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/info_api.py b/fattureincloud_python_sdk/api/info_api.py index 000c184d..2bbf8c50 100644 --- a/fattureincloud_python_sdk/api/info_api.py +++ b/fattureincloud_python_sdk/api/info_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/issued_documents_api.py b/fattureincloud_python_sdk/api/issued_documents_api.py index abfbf31f..a4b72899 100644 --- a/fattureincloud_python_sdk/api/issued_documents_api.py +++ b/fattureincloud_python_sdk/api/issued_documents_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import Optional, Tuple, Union from typing_extensions import Annotated from fattureincloud_python_sdk.models.create_issued_document_request import ( CreateIssuedDocumentRequest, @@ -2263,8 +2263,9 @@ def join_issued_documents( company_id: Annotated[StrictInt, Field(description="The ID of the company.")], ids: Annotated[StrictStr, Field(description="Ids of the documents.")], group: Annotated[Optional[StrictInt], Field(description="Group items.")] = None, - e_invoice: Annotated[ - Optional[StrictInt], Field(description="New document e_invoice.") + parameter: Annotated[ + Optional[StrictStr], + Field(description="Type of the parameters to be joined"), ] = None, _request_timeout: Union[ None, @@ -2288,8 +2289,8 @@ def join_issued_documents( :type ids: str :param group: Group items. :type group: int - :param e_invoice: New document e_invoice. - :type e_invoice: int + :param parameter: Type of the parameters to be joined + :type parameter: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2316,7 +2317,7 @@ def join_issued_documents( company_id=company_id, ids=ids, group=group, - e_invoice=e_invoice, + parameter=parameter, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2341,8 +2342,9 @@ def join_issued_documents_with_http_info( company_id: Annotated[StrictInt, Field(description="The ID of the company.")], ids: Annotated[StrictStr, Field(description="Ids of the documents.")], group: Annotated[Optional[StrictInt], Field(description="Group items.")] = None, - e_invoice: Annotated[ - Optional[StrictInt], Field(description="New document e_invoice.") + parameter: Annotated[ + Optional[StrictStr], + Field(description="Type of the parameters to be joined"), ] = None, _request_timeout: Union[ None, @@ -2366,8 +2368,8 @@ def join_issued_documents_with_http_info( :type ids: str :param group: Group items. :type group: int - :param e_invoice: New document e_invoice. - :type e_invoice: int + :param parameter: Type of the parameters to be joined + :type parameter: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2394,7 +2396,7 @@ def join_issued_documents_with_http_info( company_id=company_id, ids=ids, group=group, - e_invoice=e_invoice, + parameter=parameter, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2419,8 +2421,9 @@ def join_issued_documents_without_preload_content( company_id: Annotated[StrictInt, Field(description="The ID of the company.")], ids: Annotated[StrictStr, Field(description="Ids of the documents.")], group: Annotated[Optional[StrictInt], Field(description="Group items.")] = None, - e_invoice: Annotated[ - Optional[StrictInt], Field(description="New document e_invoice.") + parameter: Annotated[ + Optional[StrictStr], + Field(description="Type of the parameters to be joined"), ] = None, _request_timeout: Union[ None, @@ -2444,8 +2447,8 @@ def join_issued_documents_without_preload_content( :type ids: str :param group: Group items. :type group: int - :param e_invoice: New document e_invoice. - :type e_invoice: int + :param parameter: Type of the parameters to be joined + :type parameter: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2472,7 +2475,7 @@ def join_issued_documents_without_preload_content( company_id=company_id, ids=ids, group=group, - e_invoice=e_invoice, + parameter=parameter, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2492,7 +2495,7 @@ def _join_issued_documents_serialize( company_id, ids, group, - e_invoice, + parameter, _request_auth, _content_type, _headers, @@ -2522,9 +2525,9 @@ def _join_issued_documents_serialize( _query_params.append(("group", group)) - if e_invoice is not None: + if parameter is not None: - _query_params.append(("e_invoice", e_invoice)) + _query_params.append(("parameter", parameter)) # process the header parameters # process the form parameters @@ -3591,6 +3594,9 @@ def transform_issued_document( StrictInt, Field(description="Original document id.") ], new_type: Annotated[StrictStr, Field(description="New document type.")], + parameter: Annotated[ + Optional[StrictStr], Field(description="Old document type.") + ] = None, e_invoice: Annotated[ Optional[StrictInt], Field(description="New document e_invoice.") ] = None, @@ -3619,6 +3625,8 @@ def transform_issued_document( :type original_document_id: int :param new_type: New document type. (required) :type new_type: str + :param parameter: Old document type. + :type parameter: str :param e_invoice: New document e_invoice. :type e_invoice: int :param transform_keep_copy: Keep the old document. @@ -3649,6 +3657,7 @@ def transform_issued_document( company_id=company_id, original_document_id=original_document_id, new_type=new_type, + parameter=parameter, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy, _request_auth=_request_auth, @@ -3677,6 +3686,9 @@ def transform_issued_document_with_http_info( StrictInt, Field(description="Original document id.") ], new_type: Annotated[StrictStr, Field(description="New document type.")], + parameter: Annotated[ + Optional[StrictStr], Field(description="Old document type.") + ] = None, e_invoice: Annotated[ Optional[StrictInt], Field(description="New document e_invoice.") ] = None, @@ -3705,6 +3717,8 @@ def transform_issued_document_with_http_info( :type original_document_id: int :param new_type: New document type. (required) :type new_type: str + :param parameter: Old document type. + :type parameter: str :param e_invoice: New document e_invoice. :type e_invoice: int :param transform_keep_copy: Keep the old document. @@ -3735,6 +3749,7 @@ def transform_issued_document_with_http_info( company_id=company_id, original_document_id=original_document_id, new_type=new_type, + parameter=parameter, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy, _request_auth=_request_auth, @@ -3763,6 +3778,9 @@ def transform_issued_document_without_preload_content( StrictInt, Field(description="Original document id.") ], new_type: Annotated[StrictStr, Field(description="New document type.")], + parameter: Annotated[ + Optional[StrictStr], Field(description="Old document type.") + ] = None, e_invoice: Annotated[ Optional[StrictInt], Field(description="New document e_invoice.") ] = None, @@ -3791,6 +3809,8 @@ def transform_issued_document_without_preload_content( :type original_document_id: int :param new_type: New document type. (required) :type new_type: str + :param parameter: Old document type. + :type parameter: str :param e_invoice: New document e_invoice. :type e_invoice: int :param transform_keep_copy: Keep the old document. @@ -3821,6 +3841,7 @@ def transform_issued_document_without_preload_content( company_id=company_id, original_document_id=original_document_id, new_type=new_type, + parameter=parameter, e_invoice=e_invoice, transform_keep_copy=transform_keep_copy, _request_auth=_request_auth, @@ -3842,6 +3863,7 @@ def _transform_issued_document_serialize( company_id, original_document_id, new_type, + parameter, e_invoice, transform_keep_copy, _request_auth, @@ -3873,6 +3895,10 @@ def _transform_issued_document_serialize( _query_params.append(("new_type", new_type)) + if parameter is not None: + + _query_params.append(("parameter", parameter)) + if e_invoice is not None: _query_params.append(("e_invoice", e_invoice)) @@ -3916,7 +3942,7 @@ def upload_issued_document_attachment( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -3996,7 +4022,7 @@ def upload_issued_document_attachment_with_http_info( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -4076,7 +4102,7 @@ def upload_issued_document_attachment_without_preload_content( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), diff --git a/fattureincloud_python_sdk/api/issued_e_invoices_api.py b/fattureincloud_python_sdk/api/issued_e_invoices_api.py index 815094d9..56121175 100644 --- a/fattureincloud_python_sdk/api/issued_e_invoices_api.py +++ b/fattureincloud_python_sdk/api/issued_e_invoices_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/products_api.py b/fattureincloud_python_sdk/api/products_api.py index a3f038d5..4c111ce4 100644 --- a/fattureincloud_python_sdk/api/products_api.py +++ b/fattureincloud_python_sdk/api/products_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/receipts_api.py b/fattureincloud_python_sdk/api/receipts_api.py index 7ac7aa89..5f32f125 100644 --- a/fattureincloud_python_sdk/api/receipts_api.py +++ b/fattureincloud_python_sdk/api/receipts_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/received_documents_api.py b/fattureincloud_python_sdk/api/received_documents_api.py index eae0ad58..a167d7e8 100644 --- a/fattureincloud_python_sdk/api/received_documents_api.py +++ b/fattureincloud_python_sdk/api/received_documents_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import Optional, Tuple, Union from typing_extensions import Annotated from fattureincloud_python_sdk.models.create_received_document_request import ( CreateReceivedDocumentRequest, @@ -2710,7 +2710,7 @@ def upload_received_document_attachment( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -2790,7 +2790,7 @@ def upload_received_document_attachment_with_http_info( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -2870,7 +2870,7 @@ def upload_received_document_attachment_without_preload_content( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), diff --git a/fattureincloud_python_sdk/api/settings_api.py b/fattureincloud_python_sdk/api/settings_api.py index ea3b6034..8a0cfb62 100644 --- a/fattureincloud_python_sdk/api/settings_api.py +++ b/fattureincloud_python_sdk/api/settings_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -45,6 +45,9 @@ from fattureincloud_python_sdk.models.get_payment_method_response import ( GetPaymentMethodResponse, ) +from fattureincloud_python_sdk.models.get_tax_profile_response import ( + GetTaxProfileResponse, +) from fattureincloud_python_sdk.models.get_vat_type_response import GetVatTypeResponse from fattureincloud_python_sdk.models.modify_payment_account_request import ( ModifyPaymentAccountRequest, @@ -2251,6 +2254,245 @@ def _get_payment_method_serialize( _request_auth=_request_auth, ) + @validate_call + def get_tax_profile( + self, + company_id: Annotated[StrictInt, Field(description="The ID of the company.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] + ], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetTaxProfileResponse: + """Get Tax Profile + + Gets the Tax Profile + + :param company_id: The ID of the company. (required) + :type company_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_tax_profile_serialize( + company_id=company_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "200": "GetTaxProfileResponse", + } + response_data = self.api_client.call_api( + *_param, _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + @validate_call + def get_tax_profile_with_http_info( + self, + company_id: Annotated[StrictInt, Field(description="The ID of the company.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] + ], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetTaxProfileResponse]: + """Get Tax Profile + + Gets the Tax Profile + + :param company_id: The ID of the company. (required) + :type company_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_tax_profile_serialize( + company_id=company_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "200": "GetTaxProfileResponse", + } + response_data = self.api_client.call_api( + *_param, _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + @validate_call + def get_tax_profile_without_preload_content( + self, + company_id: Annotated[StrictInt, Field(description="The ID of the company.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] + ], + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get Tax Profile + + Gets the Tax Profile + + :param company_id: The ID of the company. (required) + :type company_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_tax_profile_serialize( + company_id=company_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index, + ) + + _response_types_map: Dict[str, Optional[str]] = { + "200": "GetTaxProfileResponse", + } + response_data = self.api_client.call_api( + *_param, _request_timeout=_request_timeout + ) + return response_data.response + + def _get_tax_profile_serialize( + self, + company_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = {} + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[str, Union[str, bytes]] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if company_id is not None: + _path_params["company_id"] = company_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + # set the HTTP header `Accept` + _header_params["Accept"] = self.api_client.select_header_accept( + ["application/json"] + ) + + # authentication setting + _auth_settings: List[str] = ["OAuth2AuthenticationCodeFlow"] + + return self.api_client.param_serialize( + method="GET", + resource_path="/c/{company_id}/settings/tax_profile", + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth, + ) + @validate_call def get_vat_type( self, diff --git a/fattureincloud_python_sdk/api/suppliers_api.py b/fattureincloud_python_sdk/api/suppliers_api.py index 7c5a0253..d4d869c3 100644 --- a/fattureincloud_python_sdk/api/suppliers_api.py +++ b/fattureincloud_python_sdk/api/suppliers_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/taxes_api.py b/fattureincloud_python_sdk/api/taxes_api.py index 0577e726..21e9b1ae 100644 --- a/fattureincloud_python_sdk/api/taxes_api.py +++ b/fattureincloud_python_sdk/api/taxes_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,7 +19,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import Optional, Tuple, Union from typing_extensions import Annotated from fattureincloud_python_sdk.models.create_f24_request import CreateF24Request from fattureincloud_python_sdk.models.create_f24_response import CreateF24Response @@ -1831,7 +1831,7 @@ def upload_f24_attachment( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -1910,7 +1910,7 @@ def upload_f24_attachment_with_http_info( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), @@ -1989,7 +1989,7 @@ def upload_f24_attachment_without_preload_content( Optional[StrictStr], Field(description="Attachment file name") ] = None, attachment: Annotated[ - Optional[Union[StrictBytes, StrictStr]], + Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field( description="Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]" ), diff --git a/fattureincloud_python_sdk/api/user_api.py b/fattureincloud_python_sdk/api/user_api.py index 8a4ae65a..26a14c87 100644 --- a/fattureincloud_python_sdk/api/user_api.py +++ b/fattureincloud_python_sdk/api/user_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/webhooks_api.py b/fattureincloud_python_sdk/api/webhooks_api.py index 0d031f7e..67c8a0ab 100644 --- a/fattureincloud_python_sdk/api/webhooks_api.py +++ b/fattureincloud_python_sdk/api/webhooks_api.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api_client.py b/fattureincloud_python_sdk/api_client.py index 74752a01..36e952b5 100644 --- a/fattureincloud_python_sdk/api_client.py +++ b/fattureincloud_python_sdk/api_client.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,6 +16,7 @@ import datetime from dateutil.parser import parse from enum import Enum +import decimal import json import mimetypes import os @@ -68,6 +69,7 @@ class ApiClient: "bool": bool, "date": datetime.date, "datetime": datetime.datetime, + "decimal": decimal.Decimal, "object": object, } _pool = None @@ -86,7 +88,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "FattureInCloud/2.1.0/Python-SDK" + self.user_agent = "FattureInCloud/2.1.1/Python-SDK" self.client_side_validation = configuration.client_side_validation def __enter__(self): @@ -217,7 +219,7 @@ def param_serialize( body = self.sanitize_for_serialization(body) # request url - if _host is None: + if _host is None or self.configuration.ignore_operation_servers: url = self.configuration.host + resource_path else: # use server/host defined in path or operation instead @@ -308,12 +310,9 @@ def response_deserialize( match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type) encoding = match.group(1) if match else "utf-8" response_text = response_data.data.decode(encoding) - if response_type in ["bytearray", "str"]: - return_data = self.__deserialize_primitive( - response_text, response_type - ) - else: - return_data = self.deserialize(response_text, response_type) + return_data = self.deserialize( + response_text, response_type, content_type + ) finally: if not 200 <= response_data.status <= 299: raise ApiException.from_response( @@ -337,6 +336,7 @@ def sanitize_for_serialization(self, obj): If obj is str, int, long, float, bool, return directly. If obj is datetime.datetime, datetime.date convert to string in iso8601 format. + If obj is decimal.Decimal return string representation. If obj is list, sanitize each element in the list. If obj is dict, return the dict. If obj is OpenAPI model, return the properties dict. @@ -358,6 +358,8 @@ def sanitize_for_serialization(self, obj): return tuple(self.sanitize_for_serialization(sub_obj) for sub_obj in obj) elif isinstance(obj, (datetime.datetime, datetime.date)): return obj.isoformat() + elif isinstance(obj, decimal.Decimal): + return str(obj) elif isinstance(obj, dict): obj_dict = obj @@ -376,21 +378,40 @@ def sanitize_for_serialization(self, obj): key: self.sanitize_for_serialization(val) for key, val in obj_dict.items() } - def deserialize(self, response_text, response_type): + def deserialize( + self, response_text: str, response_type: str, content_type: Optional[str] + ): """Deserializes response into an object. :param response: RESTResponse object to be deserialized. :param response_type: class literal for deserialized object, or string of class name. + :param content_type: content type of response. :return: deserialized object. """ # fetch data from response object - try: - data = json.loads(response_text) - except ValueError: + if content_type is None: + try: + data = json.loads(response_text) + except ValueError: + data = response_text + elif re.match( + r"^application/(json|[\w!#$&.+-^_]+\+json)\s*(;|$)", + content_type, + re.IGNORECASE, + ): + if response_text == "": + data = "" + else: + data = json.loads(response_text) + elif re.match(r"^text\/[a-z.+-]+\s*(;|$)", content_type, re.IGNORECASE): data = response_text + else: + raise ApiException( + status=0, reason="Unsupported content type: {0}".format(content_type) + ) return self.__deserialize(data, response_type) @@ -432,6 +453,8 @@ def __deserialize(self, data, klass): return self.__deserialize_date(data) elif klass == datetime.datetime: return self.__deserialize_datetime(data) + elif klass == decimal.Decimal: + return decimal.Decimal(data) elif issubclass(klass, Enum): return self.__deserialize_enum(data, klass) else: @@ -505,7 +528,10 @@ def parameters_to_url_query(self, params, collection_formats): return "&".join(["=".join(map(str, item)) for item in new_params]) - def files_parameters(self, files: Dict[str, Union[str, bytes]]): + def files_parameters( + self, + files: Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]], + ): """Builds form parameters. :param files: File parameters. @@ -520,6 +546,12 @@ def files_parameters(self, files: Dict[str, Union[str, bytes]]): elif isinstance(v, bytes): filename = k filedata = v + elif isinstance(v, tuple): + filename, filedata = v + elif isinstance(v, list): + for file_param in v: + params.extend(self.files_parameters({k: file_param})) + continue else: raise ValueError("Unsupported file value") mimetype = mimetypes.guess_type(filename)[0] or "application/octet-stream" diff --git a/fattureincloud_python_sdk/configuration.py b/fattureincloud_python_sdk/configuration.py index 827680f3..6cf8fe93 100644 --- a/fattureincloud_python_sdk/configuration.py +++ b/fattureincloud_python_sdk/configuration.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,6 +41,9 @@ class Configuration: """This class contains various settings of the API client. :param host: Base url. + :param ignore_operation_servers + Boolean to ignore operation servers for the API client. + Config will use `host` as the base url regardless of the operation servers. :param api_key: Dict to store API key(s). Each entry in the dict specifies an API key. The dict key is the name of the security scheme in the OAS specification. @@ -63,6 +66,7 @@ class Configuration: values before. :param ssl_ca_cert: str - the path to a file of concatenated CA certificates in PEM format. + :param retries: Number of retries for API requests. :Example: """ @@ -81,7 +85,11 @@ def __init__( server_variables=None, server_operation_index=None, server_operation_variables=None, + ignore_operation_servers=False, ssl_ca_cert=None, + retries=None, + *, + debug: Optional[bool] = None ) -> None: """Constructor""" self._base_path = "https://api-v2.fattureincloud.it" if host is None else host @@ -95,6 +103,9 @@ def __init__( self.server_operation_variables = server_operation_variables or {} """Default server variables """ + self.ignore_operation_servers = ignore_operation_servers + """Ignore operation servers + """ self.temp_folder_path = None """Temp file folder for downloading files """ @@ -138,7 +149,10 @@ def __init__( self.logger_file = None """Debug file location """ - self.debug = False + if debug is not None: + self.debug = debug + else: + self.__debug = False """Debug switch """ @@ -181,7 +195,7 @@ def __init__( self.safe_chars_for_path_param = "" """Safe chars for path_param """ - self.retries = None + self.retries = retries """Adding retries to override urllib3 default value 3 """ # Enable client side validation @@ -394,8 +408,8 @@ def to_debug_report(self): "Python SDK Debug Report:\n" "OS: {env}\n" "Python Version: {pyversion}\n" - "Version of the API: 2.1.0\n" - "SDK Package Version: 2.1.0".format(env=sys.platform, pyversion=sys.version) + "Version of the API: 2.1.2\n" + "SDK Package Version: 2.1.1".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self): diff --git a/fattureincloud_python_sdk/exceptions.py b/fattureincloud_python_sdk/exceptions.py index 5a87c6aa..7291907e 100644 --- a/fattureincloud_python_sdk/exceptions.py +++ b/fattureincloud_python_sdk/exceptions.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/__init__.py b/fattureincloud_python_sdk/models/__init__.py index adb7e570..13efe315 100644 --- a/fattureincloud_python_sdk/models/__init__.py +++ b/fattureincloud_python_sdk/models/__init__.py @@ -6,7 +6,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -206,6 +206,9 @@ GetReceivedDocumentResponse, ) from fattureincloud_python_sdk.models.get_supplier_response import GetSupplierResponse +from fattureincloud_python_sdk.models.get_tax_profile_response import ( + GetTaxProfileResponse, +) from fattureincloud_python_sdk.models.get_user_info_response import GetUserInfoResponse from fattureincloud_python_sdk.models.get_user_info_response_email_confirmation_state import ( GetUserInfoResponseEmailConfirmationState, @@ -489,6 +492,7 @@ from fattureincloud_python_sdk.models.show_totals_mode import ShowTotalsMode from fattureincloud_python_sdk.models.supplier import Supplier from fattureincloud_python_sdk.models.supplier_type import SupplierType +from fattureincloud_python_sdk.models.tax_profile import TaxProfile from fattureincloud_python_sdk.models.transform_issued_document_response import ( TransformIssuedDocumentResponse, ) diff --git a/fattureincloud_python_sdk/models/archive_document.py b/fattureincloud_python_sdk/models/archive_document.py index 73cfa506..c7bf2e24 100644 --- a/fattureincloud_python_sdk/models/archive_document.py +++ b/fattureincloud_python_sdk/models/archive_document.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/attachment_data.py b/fattureincloud_python_sdk/models/attachment_data.py index 6a27664d..c4445d48 100644 --- a/fattureincloud_python_sdk/models/attachment_data.py +++ b/fattureincloud_python_sdk/models/attachment_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/cashbook_entry.py b/fattureincloud_python_sdk/models/cashbook_entry.py index c1c153fb..32b5ee92 100644 --- a/fattureincloud_python_sdk/models/cashbook_entry.py +++ b/fattureincloud_python_sdk/models/cashbook_entry.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/cashbook_entry_document.py b/fattureincloud_python_sdk/models/cashbook_entry_document.py index d99474d8..d3c26749 100644 --- a/fattureincloud_python_sdk/models/cashbook_entry_document.py +++ b/fattureincloud_python_sdk/models/cashbook_entry_document.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/cashbook_entry_kind.py b/fattureincloud_python_sdk/models/cashbook_entry_kind.py index aa7e9133..a09d8e68 100644 --- a/fattureincloud_python_sdk/models/cashbook_entry_kind.py +++ b/fattureincloud_python_sdk/models/cashbook_entry_kind.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/cashbook_entry_type.py b/fattureincloud_python_sdk/models/cashbook_entry_type.py index 9244b4ed..bc095c96 100644 --- a/fattureincloud_python_sdk/models/cashbook_entry_type.py +++ b/fattureincloud_python_sdk/models/cashbook_entry_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/city.py b/fattureincloud_python_sdk/models/city.py index 4c00877f..37921abd 100644 --- a/fattureincloud_python_sdk/models/city.py +++ b/fattureincloud_python_sdk/models/city.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/client.py b/fattureincloud_python_sdk/models/client.py index ea83ade5..ff88d81b 100644 --- a/fattureincloud_python_sdk/models/client.py +++ b/fattureincloud_python_sdk/models/client.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -87,7 +87,7 @@ class Client(BaseModel): default_payment_terms: Optional[StrictInt] = Field( default=None, description="Client default payment terms" ) - default_payment_terms_type: Optional[PaymentTermsType] = None + default_payment_terms_type: Optional[PaymentTermsType] = PaymentTermsType.STANDARD default_payment_method: Optional[PaymentMethod] = None bank_name: Optional[StrictStr] = Field(default=None, description="Client bank name") bank_iban: Optional[StrictStr] = Field(default=None, description="Client bank iban") diff --git a/fattureincloud_python_sdk/models/client_type.py b/fattureincloud_python_sdk/models/client_type.py index 3e07f669..ff3468a0 100644 --- a/fattureincloud_python_sdk/models/client_type.py +++ b/fattureincloud_python_sdk/models/client_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company.py b/fattureincloud_python_sdk/models/company.py index bb9f7c26..e0b4cc01 100644 --- a/fattureincloud_python_sdk/models/company.py +++ b/fattureincloud_python_sdk/models/company.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info.py b/fattureincloud_python_sdk/models/company_info.py index c08b335e..2b89ec60 100644 --- a/fattureincloud_python_sdk/models/company_info.py +++ b/fattureincloud_python_sdk/models/company_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info_access_info.py b/fattureincloud_python_sdk/models/company_info_access_info.py index 0be85e69..323baa81 100644 --- a/fattureincloud_python_sdk/models/company_info_access_info.py +++ b/fattureincloud_python_sdk/models/company_info_access_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info_plan_info.py b/fattureincloud_python_sdk/models/company_info_plan_info.py index d1472588..e40604d0 100644 --- a/fattureincloud_python_sdk/models/company_info_plan_info.py +++ b/fattureincloud_python_sdk/models/company_info_plan_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info_plan_info_functions.py b/fattureincloud_python_sdk/models/company_info_plan_info_functions.py index 3e59cd7d..99d176dd 100644 --- a/fattureincloud_python_sdk/models/company_info_plan_info_functions.py +++ b/fattureincloud_python_sdk/models/company_info_plan_info_functions.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info_plan_info_functions_status.py b/fattureincloud_python_sdk/models/company_info_plan_info_functions_status.py index d23f4de3..e50ffcb9 100644 --- a/fattureincloud_python_sdk/models/company_info_plan_info_functions_status.py +++ b/fattureincloud_python_sdk/models/company_info_plan_info_functions_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_info_plan_info_limits.py b/fattureincloud_python_sdk/models/company_info_plan_info_limits.py index 8910671d..309a7118 100644 --- a/fattureincloud_python_sdk/models/company_info_plan_info_limits.py +++ b/fattureincloud_python_sdk/models/company_info_plan_info_limits.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_plan_usage.py b/fattureincloud_python_sdk/models/company_plan_usage.py index de89ae7c..d83541d6 100644 --- a/fattureincloud_python_sdk/models/company_plan_usage.py +++ b/fattureincloud_python_sdk/models/company_plan_usage.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/company_type.py b/fattureincloud_python_sdk/models/company_type.py index ca47e49d..30801777 100644 --- a/fattureincloud_python_sdk/models/company_type.py +++ b/fattureincloud_python_sdk/models/company_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/controlled_company.py b/fattureincloud_python_sdk/models/controlled_company.py index 7a87dbb4..4af08630 100644 --- a/fattureincloud_python_sdk/models/controlled_company.py +++ b/fattureincloud_python_sdk/models/controlled_company.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_archive_document_request.py b/fattureincloud_python_sdk/models/create_archive_document_request.py index 6a0e4c3c..1c26cd93 100644 --- a/fattureincloud_python_sdk/models/create_archive_document_request.py +++ b/fattureincloud_python_sdk/models/create_archive_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_archive_document_response.py b/fattureincloud_python_sdk/models/create_archive_document_response.py index 41fa5cc7..161b5e8e 100644 --- a/fattureincloud_python_sdk/models/create_archive_document_response.py +++ b/fattureincloud_python_sdk/models/create_archive_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_cashbook_entry_request.py b/fattureincloud_python_sdk/models/create_cashbook_entry_request.py index 605b1a4b..51d3d08b 100644 --- a/fattureincloud_python_sdk/models/create_cashbook_entry_request.py +++ b/fattureincloud_python_sdk/models/create_cashbook_entry_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_cashbook_entry_response.py b/fattureincloud_python_sdk/models/create_cashbook_entry_response.py index cdb9bebe..0922ef66 100644 --- a/fattureincloud_python_sdk/models/create_cashbook_entry_response.py +++ b/fattureincloud_python_sdk/models/create_cashbook_entry_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_client_request.py b/fattureincloud_python_sdk/models/create_client_request.py index 51ec6c96..dd398735 100644 --- a/fattureincloud_python_sdk/models/create_client_request.py +++ b/fattureincloud_python_sdk/models/create_client_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_client_response.py b/fattureincloud_python_sdk/models/create_client_response.py index f61a2e26..00a09661 100644 --- a/fattureincloud_python_sdk/models/create_client_response.py +++ b/fattureincloud_python_sdk/models/create_client_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_f24_request.py b/fattureincloud_python_sdk/models/create_f24_request.py index 7ae0604a..68730341 100644 --- a/fattureincloud_python_sdk/models/create_f24_request.py +++ b/fattureincloud_python_sdk/models/create_f24_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_f24_response.py b/fattureincloud_python_sdk/models/create_f24_response.py index 0bbfa165..cc10d0fb 100644 --- a/fattureincloud_python_sdk/models/create_f24_response.py +++ b/fattureincloud_python_sdk/models/create_f24_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_issued_document_request.py b/fattureincloud_python_sdk/models/create_issued_document_request.py index 9bddfb12..077e643b 100644 --- a/fattureincloud_python_sdk/models/create_issued_document_request.py +++ b/fattureincloud_python_sdk/models/create_issued_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_issued_document_response.py b/fattureincloud_python_sdk/models/create_issued_document_response.py index 55695bca..2c1bdb8b 100644 --- a/fattureincloud_python_sdk/models/create_issued_document_response.py +++ b/fattureincloud_python_sdk/models/create_issued_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_payment_account_request.py b/fattureincloud_python_sdk/models/create_payment_account_request.py index bae30120..2cac213f 100644 --- a/fattureincloud_python_sdk/models/create_payment_account_request.py +++ b/fattureincloud_python_sdk/models/create_payment_account_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_payment_account_response.py b/fattureincloud_python_sdk/models/create_payment_account_response.py index 4531be7b..2d289a66 100644 --- a/fattureincloud_python_sdk/models/create_payment_account_response.py +++ b/fattureincloud_python_sdk/models/create_payment_account_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_payment_method_request.py b/fattureincloud_python_sdk/models/create_payment_method_request.py index b18d8ce4..3f08e0be 100644 --- a/fattureincloud_python_sdk/models/create_payment_method_request.py +++ b/fattureincloud_python_sdk/models/create_payment_method_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_payment_method_response.py b/fattureincloud_python_sdk/models/create_payment_method_response.py index b60e04b8..7807b469 100644 --- a/fattureincloud_python_sdk/models/create_payment_method_response.py +++ b/fattureincloud_python_sdk/models/create_payment_method_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_product_request.py b/fattureincloud_python_sdk/models/create_product_request.py index c68de475..760ea4f3 100644 --- a/fattureincloud_python_sdk/models/create_product_request.py +++ b/fattureincloud_python_sdk/models/create_product_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_product_response.py b/fattureincloud_python_sdk/models/create_product_response.py index 55ae7c3f..07c86d22 100644 --- a/fattureincloud_python_sdk/models/create_product_response.py +++ b/fattureincloud_python_sdk/models/create_product_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_receipt_request.py b/fattureincloud_python_sdk/models/create_receipt_request.py index dd7f6ef6..e8b8bbf7 100644 --- a/fattureincloud_python_sdk/models/create_receipt_request.py +++ b/fattureincloud_python_sdk/models/create_receipt_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_receipt_response.py b/fattureincloud_python_sdk/models/create_receipt_response.py index 8edf7a65..857dd7fe 100644 --- a/fattureincloud_python_sdk/models/create_receipt_response.py +++ b/fattureincloud_python_sdk/models/create_receipt_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_received_document_request.py b/fattureincloud_python_sdk/models/create_received_document_request.py index 445d3b8e..ab6bd49e 100644 --- a/fattureincloud_python_sdk/models/create_received_document_request.py +++ b/fattureincloud_python_sdk/models/create_received_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_received_document_response.py b/fattureincloud_python_sdk/models/create_received_document_response.py index 64e53aaa..f036ba92 100644 --- a/fattureincloud_python_sdk/models/create_received_document_response.py +++ b/fattureincloud_python_sdk/models/create_received_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_supplier_request.py b/fattureincloud_python_sdk/models/create_supplier_request.py index 049b41fc..4b91568b 100644 --- a/fattureincloud_python_sdk/models/create_supplier_request.py +++ b/fattureincloud_python_sdk/models/create_supplier_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_supplier_response.py b/fattureincloud_python_sdk/models/create_supplier_response.py index 7f93a896..1e5344cc 100644 --- a/fattureincloud_python_sdk/models/create_supplier_response.py +++ b/fattureincloud_python_sdk/models/create_supplier_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_vat_type_request.py b/fattureincloud_python_sdk/models/create_vat_type_request.py index 07836af6..9e1dad67 100644 --- a/fattureincloud_python_sdk/models/create_vat_type_request.py +++ b/fattureincloud_python_sdk/models/create_vat_type_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_vat_type_response.py b/fattureincloud_python_sdk/models/create_vat_type_response.py index 163e0cef..6bb69e09 100644 --- a/fattureincloud_python_sdk/models/create_vat_type_response.py +++ b/fattureincloud_python_sdk/models/create_vat_type_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_webhooks_subscription_request.py b/fattureincloud_python_sdk/models/create_webhooks_subscription_request.py index e685a721..8102c08f 100644 --- a/fattureincloud_python_sdk/models/create_webhooks_subscription_request.py +++ b/fattureincloud_python_sdk/models/create_webhooks_subscription_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/create_webhooks_subscription_response.py b/fattureincloud_python_sdk/models/create_webhooks_subscription_response.py index bb86ca89..338e9a6d 100644 --- a/fattureincloud_python_sdk/models/create_webhooks_subscription_response.py +++ b/fattureincloud_python_sdk/models/create_webhooks_subscription_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/currency.py b/fattureincloud_python_sdk/models/currency.py index f62d1188..82f40310 100644 --- a/fattureincloud_python_sdk/models/currency.py +++ b/fattureincloud_python_sdk/models/currency.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/detailed_country.py b/fattureincloud_python_sdk/models/detailed_country.py index f4bd6550..5306789b 100644 --- a/fattureincloud_python_sdk/models/detailed_country.py +++ b/fattureincloud_python_sdk/models/detailed_country.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/document_template.py b/fattureincloud_python_sdk/models/document_template.py index 937fe60e..98498d9a 100644 --- a/fattureincloud_python_sdk/models/document_template.py +++ b/fattureincloud_python_sdk/models/document_template.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/e_invoice_rejection_reason.py b/fattureincloud_python_sdk/models/e_invoice_rejection_reason.py index 74688cfa..bc74a25f 100644 --- a/fattureincloud_python_sdk/models/e_invoice_rejection_reason.py +++ b/fattureincloud_python_sdk/models/e_invoice_rejection_reason.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email.py b/fattureincloud_python_sdk/models/email.py index 5ac2f6c7..022343b7 100644 --- a/fattureincloud_python_sdk/models/email.py +++ b/fattureincloud_python_sdk/models/email.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class Email(BaseModel): id: Optional[StrictInt] = Field(default=None, description="Email id") status: Optional[EmailStatus] = None - sent_date: Optional[datetime] = Field(default=None, description="Email sent date") + sent_date: Optional[StrictStr] = Field(default=None, description="Email sent date") errors_count: Optional[StrictInt] = Field( default=None, description="Email errors count" ) diff --git a/fattureincloud_python_sdk/models/email_attachment.py b/fattureincloud_python_sdk/models/email_attachment.py index 828759b2..40a176a2 100644 --- a/fattureincloud_python_sdk/models/email_attachment.py +++ b/fattureincloud_python_sdk/models/email_attachment.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_data.py b/fattureincloud_python_sdk/models/email_data.py index f666c876..a4297495 100644 --- a/fattureincloud_python_sdk/models/email_data.py +++ b/fattureincloud_python_sdk/models/email_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_data_default_sender_email.py b/fattureincloud_python_sdk/models/email_data_default_sender_email.py index e7a43ac8..d11485a5 100644 --- a/fattureincloud_python_sdk/models/email_data_default_sender_email.py +++ b/fattureincloud_python_sdk/models/email_data_default_sender_email.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_recipient_status.py b/fattureincloud_python_sdk/models/email_recipient_status.py index cbc4c114..12275e1b 100644 --- a/fattureincloud_python_sdk/models/email_recipient_status.py +++ b/fattureincloud_python_sdk/models/email_recipient_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_schedule.py b/fattureincloud_python_sdk/models/email_schedule.py index 14a6a57c..16fa2060 100644 --- a/fattureincloud_python_sdk/models/email_schedule.py +++ b/fattureincloud_python_sdk/models/email_schedule.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_schedule_include.py b/fattureincloud_python_sdk/models/email_schedule_include.py index 81675cfe..c180ea6f 100644 --- a/fattureincloud_python_sdk/models/email_schedule_include.py +++ b/fattureincloud_python_sdk/models/email_schedule_include.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_status.py b/fattureincloud_python_sdk/models/email_status.py index e13f904e..54edf8cc 100644 --- a/fattureincloud_python_sdk/models/email_status.py +++ b/fattureincloud_python_sdk/models/email_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/entity.py b/fattureincloud_python_sdk/models/entity.py index cab3c431..00c23350 100644 --- a/fattureincloud_python_sdk/models/entity.py +++ b/fattureincloud_python_sdk/models/entity.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -79,7 +79,7 @@ class Entity(BaseModel): default=None, description="[Only for client] Client default payment terms" ) default_vat: Optional[VatType] = None - default_payment_terms_type: Optional[PaymentTermsType] = None + default_payment_terms_type: Optional[PaymentTermsType] = PaymentTermsType.STANDARD default_payment_method: Optional[PaymentMethod] = None bank_name: Optional[StrictStr] = Field( default=None, description="[Only for client] Client bank name" diff --git a/fattureincloud_python_sdk/models/entity_type.py b/fattureincloud_python_sdk/models/entity_type.py index 41dfd691..b986c29a 100644 --- a/fattureincloud_python_sdk/models/entity_type.py +++ b/fattureincloud_python_sdk/models/entity_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/event_type.py b/fattureincloud_python_sdk/models/event_type.py index 0c97a755..737b0e25 100644 --- a/fattureincloud_python_sdk/models/event_type.py +++ b/fattureincloud_python_sdk/models/event_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,195 +27,228 @@ class EventType(str, Enum): """ allowed enum values """ - ISSUED_DOCUMENTS_INVOICES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.invoices.create" ) - ISSUED_DOCUMENTS_INVOICES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.invoices.update" ) - ISSUED_DOCUMENTS_INVOICES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.invoices.delete" ) - ISSUED_DOCUMENTS_QUOTES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.quotes.create" ) - ISSUED_DOCUMENTS_QUOTES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.quotes.update" ) - ISSUED_DOCUMENTS_QUOTES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.quotes.delete" ) - ISSUED_DOCUMENTS_PROFORMAS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.proformas.create" ) - ISSUED_DOCUMENTS_PROFORMAS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.proformas.update" ) - ISSUED_DOCUMENTS_PROFORMAS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.proformas.delete" ) - ISSUED_DOCUMENTS_RECEIPTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.receipts.create" ) - ISSUED_DOCUMENTS_RECEIPTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.receipts.update" ) - ISSUED_DOCUMENTS_RECEIPTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.receipts.delete" ) - ISSUED_DOCUMENTS_DELIVERY_NOTES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.delivery_notes.create" ) - ISSUED_DOCUMENTS_DELIVERY_NOTES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.delivery_notes.update" ) - ISSUED_DOCUMENTS_DELIVERY_NOTES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.delivery_notes.delete" ) - ISSUED_DOCUMENTS_CREDIT_NOTES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.credit_notes.create" ) - ISSUED_DOCUMENTS_CREDIT_NOTES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.credit_notes.update" ) - ISSUED_DOCUMENTS_CREDIT_NOTES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.credit_notes.delete" ) - ISSUED_DOCUMENTS_ORDERS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.orders.create" ) - ISSUED_DOCUMENTS_ORDERS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.orders.update" ) - ISSUED_DOCUMENTS_ORDERS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.orders.delete" ) - ISSUED_DOCUMENTS_WORK_REPORTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.work_reports.create" ) - ISSUED_DOCUMENTS_WORK_REPORTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.work_reports.update" ) - ISSUED_DOCUMENTS_WORK_REPORTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.work_reports.delete" ) - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.supplier_orders.create" ) - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.supplier_orders.update" ) - ISSUED_DOCUMENTS_SUPPLIER_ORDERS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.supplier_orders.delete" ) - ISSUED_DOCUMENTS_SELF_INVOICES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.self_invoices.create" ) - ISSUED_DOCUMENTS_SELF_INVOICES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.self_invoices.update" ) - ISSUED_DOCUMENTS_SELF_INVOICES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.self_invoices.delete" ) - ISSUED_DOCUMENTS_ALL_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_CREATE = ( "it.fattureincloud.webhooks.issued_documents.all.create" ) - ISSUED_DOCUMENTS_ALL_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.all.update" ) - ISSUED_DOCUMENTS_ALL_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_DELETE = ( "it.fattureincloud.webhooks.issued_documents.all.delete" ) - RECEIVED_DOCUMENTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_CREATE = ( "it.fattureincloud.webhooks.received_documents.create" ) - RECEIVED_DOCUMENTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.received_documents.update" ) - RECEIVED_DOCUMENTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_DELETE = ( "it.fattureincloud.webhooks.received_documents.delete" ) - RECEIPTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_CREATE = ( "it.fattureincloud.webhooks.receipts.create" ) - RECEIPTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.receipts.update" ) - RECEIPTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIPTS_DOT_DELETE = ( "it.fattureincloud.webhooks.receipts.delete" ) - TAXES_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_CREATE = ( "it.fattureincloud.webhooks.taxes.create" ) - TAXES_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_UPDATE = ( "it.fattureincloud.webhooks.taxes.update" ) - TAXES_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_TAXES_DOT_DELETE = ( "it.fattureincloud.webhooks.taxes.delete" ) - ARCHIVE_DOCUMENTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_CREATE = ( "it.fattureincloud.webhooks.archive_documents.create" ) - ARCHIVE_DOCUMENTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.archive_documents.update" ) - ARCHIVE_DOCUMENTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ARCHIVE_DOCUMENTS_DOT_DELETE = ( "it.fattureincloud.webhooks.archive_documents.delete" ) - CASHBOOK_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_CREATE = ( "it.fattureincloud.webhooks.cashbook.create" ) - CASHBOOK_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_UPDATE = ( "it.fattureincloud.webhooks.cashbook.update" ) - CASHBOOK_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_CASHBOOK_DOT_DELETE = ( "it.fattureincloud.webhooks.cashbook.delete" ) - PRODUCTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_CREATE = ( "it.fattureincloud.webhooks.products.create" ) - PRODUCTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.products.update" ) - PRODUCTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_DELETE = ( "it.fattureincloud.webhooks.products.delete" ) - PRODUCTS_STOCK_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_PRODUCTS_DOT_STOCK_UPDATE = ( "it.fattureincloud.webhooks.products.stock_update" ) - ENTITIES_CLIENTS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_CREATE = ( "it.fattureincloud.webhooks.entities.clients.create" ) - ENTITIES_CLIENTS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_UPDATE = ( "it.fattureincloud.webhooks.entities.clients.update" ) - ENTITIES_CLIENTS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_CLIENTS_DOT_DELETE = ( "it.fattureincloud.webhooks.entities.clients.delete" ) - ENTITIES_SUPPLIERS_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_CREATE = ( "it.fattureincloud.webhooks.entities.suppliers.create" ) - ENTITIES_SUPPLIERS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_UPDATE = ( "it.fattureincloud.webhooks.entities.suppliers.update" ) - ENTITIES_SUPPLIERS_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_SUPPLIERS_DOT_DELETE = ( "it.fattureincloud.webhooks.entities.suppliers.delete" ) - ENTITIES_ALL_CREATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_CREATE = ( "it.fattureincloud.webhooks.entities.all.create" ) - ENTITIES_ALL_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_UPDATE = ( "it.fattureincloud.webhooks.entities.all.update" ) - ENTITIES_ALL_DELETE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ENTITIES_DOT_ALL_DOT_DELETE = ( "it.fattureincloud.webhooks.entities.all.delete" ) - ISSUED_DOCUMENTS_E_INVOICES_STATUS_UPDATE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_E_INVOICES_DOT_STATUS_UPDATE = ( "it.fattureincloud.webhooks.issued_documents.e_invoices.status_update" ) - RECEIVED_DOCUMENTS_E_INVOICES_RECEIVE = ( + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_RECEIVED_DOCUMENTS_DOT_E_INVOICES_DOT_RECEIVE = ( "it.fattureincloud.webhooks.received_documents.e_invoices.receive" ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_INVOICES_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.invoices.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_QUOTES_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.quotes.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_PROFORMAS_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.proformas.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_RECEIPTS_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.receipts.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_DELIVERY_NOTES_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.delivery_notes.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_CREDIT_NOTES_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.credit_notes.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ORDERS_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.orders.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_WORK_REPORTS_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.work_reports.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SUPPLIER_ORDERS_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.supplier_orders.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_SELF_INVOICES_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.self_invoices.email_sent" + ) + IT_DOT_FATTUREINCLOUD_DOT_WEBHOOKS_DOT_ISSUED_DOCUMENTS_DOT_ALL_DOT_EMAIL_SENT = ( + "it.fattureincloud.webhooks.issued_documents.all.email_sent" + ) @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fattureincloud_python_sdk/models/f24.py b/fattureincloud_python_sdk/models/f24.py index 1ff91d37..9ead9c26 100644 --- a/fattureincloud_python_sdk/models/f24.py +++ b/fattureincloud_python_sdk/models/f24.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/f24_status.py b/fattureincloud_python_sdk/models/f24_status.py index 9ff598c0..5dcb5bb6 100644 --- a/fattureincloud_python_sdk/models/f24_status.py +++ b/fattureincloud_python_sdk/models/f24_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/fatture_in_cloud_plan_type.py b/fattureincloud_python_sdk/models/fatture_in_cloud_plan_type.py index 608245df..f483bd13 100644 --- a/fattureincloud_python_sdk/models/fatture_in_cloud_plan_type.py +++ b/fattureincloud_python_sdk/models/fatture_in_cloud_plan_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/function_status.py b/fattureincloud_python_sdk/models/function_status.py index e1322dd8..4cf603e2 100644 --- a/fattureincloud_python_sdk/models/function_status.py +++ b/fattureincloud_python_sdk/models/function_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_archive_document_response.py b/fattureincloud_python_sdk/models/get_archive_document_response.py index 8c5e1725..fbca30a5 100644 --- a/fattureincloud_python_sdk/models/get_archive_document_response.py +++ b/fattureincloud_python_sdk/models/get_archive_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_cashbook_entry_response.py b/fattureincloud_python_sdk/models/get_cashbook_entry_response.py index 654b066f..11b482a8 100644 --- a/fattureincloud_python_sdk/models/get_cashbook_entry_response.py +++ b/fattureincloud_python_sdk/models/get_cashbook_entry_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_client_response.py b/fattureincloud_python_sdk/models/get_client_response.py index e4f06e51..9db80ced 100644 --- a/fattureincloud_python_sdk/models/get_client_response.py +++ b/fattureincloud_python_sdk/models/get_client_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_company_info_response.py b/fattureincloud_python_sdk/models/get_company_info_response.py index 0d076f0d..b94c795c 100644 --- a/fattureincloud_python_sdk/models/get_company_info_response.py +++ b/fattureincloud_python_sdk/models/get_company_info_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_company_plan_usage_response.py b/fattureincloud_python_sdk/models/get_company_plan_usage_response.py index bcda5af0..8843af00 100644 --- a/fattureincloud_python_sdk/models/get_company_plan_usage_response.py +++ b/fattureincloud_python_sdk/models/get_company_plan_usage_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_e_invoice_rejection_reason_response.py b/fattureincloud_python_sdk/models/get_e_invoice_rejection_reason_response.py index 7875fb77..dd88fd98 100644 --- a/fattureincloud_python_sdk/models/get_e_invoice_rejection_reason_response.py +++ b/fattureincloud_python_sdk/models/get_e_invoice_rejection_reason_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_email_data_response.py b/fattureincloud_python_sdk/models/get_email_data_response.py index f553ac1e..67525238 100644 --- a/fattureincloud_python_sdk/models/get_email_data_response.py +++ b/fattureincloud_python_sdk/models/get_email_data_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_existing_issued_document_totals_request.py b/fattureincloud_python_sdk/models/get_existing_issued_document_totals_request.py index 75c1476f..cc9ea62a 100644 --- a/fattureincloud_python_sdk/models/get_existing_issued_document_totals_request.py +++ b/fattureincloud_python_sdk/models/get_existing_issued_document_totals_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_existing_issued_document_totals_response.py b/fattureincloud_python_sdk/models/get_existing_issued_document_totals_response.py index 6fd2c9ae..1f4ab754 100644 --- a/fattureincloud_python_sdk/models/get_existing_issued_document_totals_response.py +++ b/fattureincloud_python_sdk/models/get_existing_issued_document_totals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_existing_received_document_totals_request.py b/fattureincloud_python_sdk/models/get_existing_received_document_totals_request.py index 464356a1..80066226 100644 --- a/fattureincloud_python_sdk/models/get_existing_received_document_totals_request.py +++ b/fattureincloud_python_sdk/models/get_existing_received_document_totals_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_existing_received_document_totals_response.py b/fattureincloud_python_sdk/models/get_existing_received_document_totals_response.py index 639092af..d8802554 100644 --- a/fattureincloud_python_sdk/models/get_existing_received_document_totals_response.py +++ b/fattureincloud_python_sdk/models/get_existing_received_document_totals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_f24_response.py b/fattureincloud_python_sdk/models/get_f24_response.py index 52a30da0..d8588bc3 100644 --- a/fattureincloud_python_sdk/models/get_f24_response.py +++ b/fattureincloud_python_sdk/models/get_f24_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_issued_document_pre_create_info_response.py b/fattureincloud_python_sdk/models/get_issued_document_pre_create_info_response.py index be434d58..8dc1ae7a 100644 --- a/fattureincloud_python_sdk/models/get_issued_document_pre_create_info_response.py +++ b/fattureincloud_python_sdk/models/get_issued_document_pre_create_info_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_issued_document_response.py b/fattureincloud_python_sdk/models/get_issued_document_response.py index bba8723d..ae3944c8 100644 --- a/fattureincloud_python_sdk/models/get_issued_document_response.py +++ b/fattureincloud_python_sdk/models/get_issued_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_new_issued_document_totals_request.py b/fattureincloud_python_sdk/models/get_new_issued_document_totals_request.py index 7ab93d6d..b8ef2ec8 100644 --- a/fattureincloud_python_sdk/models/get_new_issued_document_totals_request.py +++ b/fattureincloud_python_sdk/models/get_new_issued_document_totals_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_new_issued_document_totals_response.py b/fattureincloud_python_sdk/models/get_new_issued_document_totals_response.py index 307e77ee..09601a9a 100644 --- a/fattureincloud_python_sdk/models/get_new_issued_document_totals_response.py +++ b/fattureincloud_python_sdk/models/get_new_issued_document_totals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_new_received_document_totals_request.py b/fattureincloud_python_sdk/models/get_new_received_document_totals_request.py index c91b18ad..9588afb6 100644 --- a/fattureincloud_python_sdk/models/get_new_received_document_totals_request.py +++ b/fattureincloud_python_sdk/models/get_new_received_document_totals_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_new_received_document_totals_response.py b/fattureincloud_python_sdk/models/get_new_received_document_totals_response.py index f33ac1db..1fd7808e 100644 --- a/fattureincloud_python_sdk/models/get_new_received_document_totals_response.py +++ b/fattureincloud_python_sdk/models/get_new_received_document_totals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_payment_account_response.py b/fattureincloud_python_sdk/models/get_payment_account_response.py index 90e81db5..bae54fab 100644 --- a/fattureincloud_python_sdk/models/get_payment_account_response.py +++ b/fattureincloud_python_sdk/models/get_payment_account_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_payment_method_response.py b/fattureincloud_python_sdk/models/get_payment_method_response.py index d81d4340..1b8b47f8 100644 --- a/fattureincloud_python_sdk/models/get_payment_method_response.py +++ b/fattureincloud_python_sdk/models/get_payment_method_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_product_response.py b/fattureincloud_python_sdk/models/get_product_response.py index f11644cf..06aed3a5 100644 --- a/fattureincloud_python_sdk/models/get_product_response.py +++ b/fattureincloud_python_sdk/models/get_product_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_receipt_pre_create_info_response.py b/fattureincloud_python_sdk/models/get_receipt_pre_create_info_response.py index 2661911a..3973891d 100644 --- a/fattureincloud_python_sdk/models/get_receipt_pre_create_info_response.py +++ b/fattureincloud_python_sdk/models/get_receipt_pre_create_info_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_receipt_response.py b/fattureincloud_python_sdk/models/get_receipt_response.py index 0ddb58b9..d57baa4b 100644 --- a/fattureincloud_python_sdk/models/get_receipt_response.py +++ b/fattureincloud_python_sdk/models/get_receipt_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_receipts_monthly_totals_response.py b/fattureincloud_python_sdk/models/get_receipts_monthly_totals_response.py index 56c49ac2..7968115b 100644 --- a/fattureincloud_python_sdk/models/get_receipts_monthly_totals_response.py +++ b/fattureincloud_python_sdk/models/get_receipts_monthly_totals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_received_document_pre_create_info_response.py b/fattureincloud_python_sdk/models/get_received_document_pre_create_info_response.py index b1c47a8e..95adefb8 100644 --- a/fattureincloud_python_sdk/models/get_received_document_pre_create_info_response.py +++ b/fattureincloud_python_sdk/models/get_received_document_pre_create_info_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_received_document_response.py b/fattureincloud_python_sdk/models/get_received_document_response.py index ea3bb051..fd15a6eb 100644 --- a/fattureincloud_python_sdk/models/get_received_document_response.py +++ b/fattureincloud_python_sdk/models/get_received_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_supplier_response.py b/fattureincloud_python_sdk/models/get_supplier_response.py index c1b92f0b..b6f91be3 100644 --- a/fattureincloud_python_sdk/models/get_supplier_response.py +++ b/fattureincloud_python_sdk/models/get_supplier_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_tax_profile_response.py b/fattureincloud_python_sdk/models/get_tax_profile_response.py new file mode 100644 index 00000000..47a81a64 --- /dev/null +++ b/fattureincloud_python_sdk/models/get_tax_profile_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Fatture in Cloud API v2 - API Reference + + Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + + The version of the OpenAPI document: 2.1.2 + Contact: info@fattureincloud.it + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from fattureincloud_python_sdk.models.tax_profile import TaxProfile +from typing import Optional, Set +from typing_extensions import Self + + +class GetTaxProfileResponse(BaseModel): + """ + GetTaxProfileResponse + """ # noqa: E501 + + data: Optional[TaxProfile] = None + __properties: ClassVar[List[str]] = ["data"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetTaxProfileResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of data + if self.data: + _dict["data"] = self.data.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetTaxProfileResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate( + { + "data": ( + TaxProfile.from_dict(obj["data"]) + if obj.get("data") is not None + else None + ) + } + ) + return _obj diff --git a/fattureincloud_python_sdk/models/get_user_info_response.py b/fattureincloud_python_sdk/models/get_user_info_response.py index d2f253fa..bdd5d66b 100644 --- a/fattureincloud_python_sdk/models/get_user_info_response.py +++ b/fattureincloud_python_sdk/models/get_user_info_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_user_info_response_email_confirmation_state.py b/fattureincloud_python_sdk/models/get_user_info_response_email_confirmation_state.py index d03338ec..14732e41 100644 --- a/fattureincloud_python_sdk/models/get_user_info_response_email_confirmation_state.py +++ b/fattureincloud_python_sdk/models/get_user_info_response_email_confirmation_state.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_user_info_response_info.py b/fattureincloud_python_sdk/models/get_user_info_response_info.py index 3a2ecdc2..8aeffcbb 100644 --- a/fattureincloud_python_sdk/models/get_user_info_response_info.py +++ b/fattureincloud_python_sdk/models/get_user_info_response_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_vat_type_response.py b/fattureincloud_python_sdk/models/get_vat_type_response.py index 2f725aea..e970cf86 100644 --- a/fattureincloud_python_sdk/models/get_vat_type_response.py +++ b/fattureincloud_python_sdk/models/get_vat_type_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/get_webhooks_subscription_response.py b/fattureincloud_python_sdk/models/get_webhooks_subscription_response.py index b6545be1..5aa6de36 100644 --- a/fattureincloud_python_sdk/models/get_webhooks_subscription_response.py +++ b/fattureincloud_python_sdk/models/get_webhooks_subscription_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document.py b/fattureincloud_python_sdk/models/issued_document.py index dbf8b07a..764f57cf 100644 --- a/fattureincloud_python_sdk/models/issued_document.py +++ b/fattureincloud_python_sdk/models/issued_document.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -60,7 +60,7 @@ class IssuedDocument(BaseModel): id: Optional[StrictInt] = Field(default=None, description="Issued document id") entity: Optional[Entity] = None - type: Optional[IssuedDocumentType] = None + type: Optional[IssuedDocumentType] = IssuedDocumentType.INVOICE number: Optional[StrictInt] = Field( default=None, description="Issued document number [If not specified, next number is used]", @@ -78,7 +78,7 @@ class IssuedDocument(BaseModel): currency: Optional[Currency] = None language: Optional[Language] = None subject: Optional[StrictStr] = Field( - default=None, description="Issued document subject" + default=None, description="Issued document subject [not shown on the PDF]" ) visible_subject: Optional[StrictStr] = Field( default=None, description="Issued document visible subject" @@ -187,7 +187,7 @@ class IssuedDocument(BaseModel): show_payment_method: Optional[StrictBool] = Field( default=None, description="Show the payment method details on the document" ) - show_totals: Optional[ShowTotalsMode] = None + show_totals: Optional[ShowTotalsMode] = ShowTotalsMode.ALL show_notification_button: Optional[StrictBool] = Field( default=None, description="Show notification button in the PDF" ) diff --git a/fattureincloud_python_sdk/models/issued_document_ei_data.py b/fattureincloud_python_sdk/models/issued_document_ei_data.py index c63e7d4d..1d4e7309 100644 --- a/fattureincloud_python_sdk/models/issued_document_ei_data.py +++ b/fattureincloud_python_sdk/models/issued_document_ei_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_extra_data.py b/fattureincloud_python_sdk/models/issued_document_extra_data.py index 8a541c0c..56ec7450 100644 --- a/fattureincloud_python_sdk/models/issued_document_extra_data.py +++ b/fattureincloud_python_sdk/models/issued_document_extra_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_items_list_item.py b/fattureincloud_python_sdk/models/issued_document_items_list_item.py index 9058eae6..8f196e24 100644 --- a/fattureincloud_python_sdk/models/issued_document_items_list_item.py +++ b/fattureincloud_python_sdk/models/issued_document_items_list_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_options.py b/fattureincloud_python_sdk/models/issued_document_options.py index a961b2c9..46e3bc9c 100644 --- a/fattureincloud_python_sdk/models/issued_document_options.py +++ b/fattureincloud_python_sdk/models/issued_document_options.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_payments_list_item.py b/fattureincloud_python_sdk/models/issued_document_payments_list_item.py index 6e01671f..e9c2117a 100644 --- a/fattureincloud_python_sdk/models/issued_document_payments_list_item.py +++ b/fattureincloud_python_sdk/models/issued_document_payments_list_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -44,7 +44,7 @@ class IssuedDocumentPaymentsListItem(BaseModel): amount: Optional[Union[StrictFloat, StrictInt]] = Field( default=None, description="Issued document payment amount" ) - status: Optional[IssuedDocumentStatus] = None + status: Optional[IssuedDocumentStatus] = IssuedDocumentStatus.NOT_PAID payment_account: Optional[PaymentAccount] = None paid_date: Optional[date] = Field( default=None, diff --git a/fattureincloud_python_sdk/models/issued_document_payments_list_item_payment_terms.py b/fattureincloud_python_sdk/models/issued_document_payments_list_item_payment_terms.py index 115dfb1b..2e3519d4 100644 --- a/fattureincloud_python_sdk/models/issued_document_payments_list_item_payment_terms.py +++ b/fattureincloud_python_sdk/models/issued_document_payments_list_item_payment_terms.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -34,7 +34,7 @@ class IssuedDocumentPaymentsListItemPaymentTerms(BaseModel): default=None, description="Issued document payment number of days by which the payment must be made", ) - type: Optional[PaymentTermsType] = None + type: Optional[PaymentTermsType] = PaymentTermsType.STANDARD __properties: ClassVar[List[str]] = ["days", "type"] model_config = ConfigDict( diff --git a/fattureincloud_python_sdk/models/issued_document_pre_create_info.py b/fattureincloud_python_sdk/models/issued_document_pre_create_info.py index a03281d2..e574d469 100644 --- a/fattureincloud_python_sdk/models/issued_document_pre_create_info.py +++ b/fattureincloud_python_sdk/models/issued_document_pre_create_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_pre_create_info_default_values.py b/fattureincloud_python_sdk/models/issued_document_pre_create_info_default_values.py index 0567feba..b7175caf 100644 --- a/fattureincloud_python_sdk/models/issued_document_pre_create_info_default_values.py +++ b/fattureincloud_python_sdk/models/issued_document_pre_create_info_default_values.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_pre_create_info_extra_data_default_values.py b/fattureincloud_python_sdk/models/issued_document_pre_create_info_extra_data_default_values.py index de179431..a05c692a 100644 --- a/fattureincloud_python_sdk/models/issued_document_pre_create_info_extra_data_default_values.py +++ b/fattureincloud_python_sdk/models/issued_document_pre_create_info_extra_data_default_values.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_pre_create_info_items_default_values.py b/fattureincloud_python_sdk/models/issued_document_pre_create_info_items_default_values.py index 1d4592c7..b3a3a382 100644 --- a/fattureincloud_python_sdk/models/issued_document_pre_create_info_items_default_values.py +++ b/fattureincloud_python_sdk/models/issued_document_pre_create_info_items_default_values.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_status.py b/fattureincloud_python_sdk/models/issued_document_status.py index dc5ccc3f..312588b2 100644 --- a/fattureincloud_python_sdk/models/issued_document_status.py +++ b/fattureincloud_python_sdk/models/issued_document_status.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_totals.py b/fattureincloud_python_sdk/models/issued_document_totals.py index 4d6424db..99e55e71 100644 --- a/fattureincloud_python_sdk/models/issued_document_totals.py +++ b/fattureincloud_python_sdk/models/issued_document_totals.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/issued_document_type.py b/fattureincloud_python_sdk/models/issued_document_type.py index 19ffee14..7bb6df70 100644 --- a/fattureincloud_python_sdk/models/issued_document_type.py +++ b/fattureincloud_python_sdk/models/issued_document_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/join_issued_documents_response.py b/fattureincloud_python_sdk/models/join_issued_documents_response.py index 63cf7ca9..1f7b4232 100644 --- a/fattureincloud_python_sdk/models/join_issued_documents_response.py +++ b/fattureincloud_python_sdk/models/join_issued_documents_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/language.py b/fattureincloud_python_sdk/models/language.py index c9a456f6..cb6d1d1e 100644 --- a/fattureincloud_python_sdk/models/language.py +++ b/fattureincloud_python_sdk/models/language.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_archive_categories_response.py b/fattureincloud_python_sdk/models/list_archive_categories_response.py index a0bca4e7..e80a144c 100644 --- a/fattureincloud_python_sdk/models/list_archive_categories_response.py +++ b/fattureincloud_python_sdk/models/list_archive_categories_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_archive_documents_response.py b/fattureincloud_python_sdk/models/list_archive_documents_response.py index 4f300c5f..af6ed2ee 100644 --- a/fattureincloud_python_sdk/models/list_archive_documents_response.py +++ b/fattureincloud_python_sdk/models/list_archive_documents_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_archive_documents_response_page.py b/fattureincloud_python_sdk/models/list_archive_documents_response_page.py index cc6d4a8d..65288d0b 100644 --- a/fattureincloud_python_sdk/models/list_archive_documents_response_page.py +++ b/fattureincloud_python_sdk/models/list_archive_documents_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_cashbook_entries_response.py b/fattureincloud_python_sdk/models/list_cashbook_entries_response.py index 1fb970b7..ef7b0376 100644 --- a/fattureincloud_python_sdk/models/list_cashbook_entries_response.py +++ b/fattureincloud_python_sdk/models/list_cashbook_entries_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_cities_response.py b/fattureincloud_python_sdk/models/list_cities_response.py index 72e0dd6b..5904533f 100644 --- a/fattureincloud_python_sdk/models/list_cities_response.py +++ b/fattureincloud_python_sdk/models/list_cities_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_clients_response.py b/fattureincloud_python_sdk/models/list_clients_response.py index ec45c054..c99a9b52 100644 --- a/fattureincloud_python_sdk/models/list_clients_response.py +++ b/fattureincloud_python_sdk/models/list_clients_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_clients_response_page.py b/fattureincloud_python_sdk/models/list_clients_response_page.py index 84b42b8d..3e7cb367 100644 --- a/fattureincloud_python_sdk/models/list_clients_response_page.py +++ b/fattureincloud_python_sdk/models/list_clients_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_cost_centers_response.py b/fattureincloud_python_sdk/models/list_cost_centers_response.py index 0309629a..87cf670d 100644 --- a/fattureincloud_python_sdk/models/list_cost_centers_response.py +++ b/fattureincloud_python_sdk/models/list_cost_centers_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_countries_response.py b/fattureincloud_python_sdk/models/list_countries_response.py index 241dd5a4..96b77441 100644 --- a/fattureincloud_python_sdk/models/list_countries_response.py +++ b/fattureincloud_python_sdk/models/list_countries_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_currencies_response.py b/fattureincloud_python_sdk/models/list_currencies_response.py index 20ee2ddd..b0930b65 100644 --- a/fattureincloud_python_sdk/models/list_currencies_response.py +++ b/fattureincloud_python_sdk/models/list_currencies_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_delivery_notes_default_causals_response.py b/fattureincloud_python_sdk/models/list_delivery_notes_default_causals_response.py index fce027cf..373dde4b 100644 --- a/fattureincloud_python_sdk/models/list_delivery_notes_default_causals_response.py +++ b/fattureincloud_python_sdk/models/list_delivery_notes_default_causals_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_detailed_countries_response.py b/fattureincloud_python_sdk/models/list_detailed_countries_response.py index f7dbde4c..25425a31 100644 --- a/fattureincloud_python_sdk/models/list_detailed_countries_response.py +++ b/fattureincloud_python_sdk/models/list_detailed_countries_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_emails_response.py b/fattureincloud_python_sdk/models/list_emails_response.py index 117b2361..68aa0ddc 100644 --- a/fattureincloud_python_sdk/models/list_emails_response.py +++ b/fattureincloud_python_sdk/models/list_emails_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_emails_response_page.py b/fattureincloud_python_sdk/models/list_emails_response_page.py index 1ee93f06..7edeb4c8 100644 --- a/fattureincloud_python_sdk/models/list_emails_response_page.py +++ b/fattureincloud_python_sdk/models/list_emails_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_f24_response.py b/fattureincloud_python_sdk/models/list_f24_response.py index c46508f1..32576eed 100644 --- a/fattureincloud_python_sdk/models/list_f24_response.py +++ b/fattureincloud_python_sdk/models/list_f24_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_f24_response_aggregated_data.py b/fattureincloud_python_sdk/models/list_f24_response_aggregated_data.py index fe36e09c..9e2b03ef 100644 --- a/fattureincloud_python_sdk/models/list_f24_response_aggregated_data.py +++ b/fattureincloud_python_sdk/models/list_f24_response_aggregated_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_f24_response_aggregation.py b/fattureincloud_python_sdk/models/list_f24_response_aggregation.py index 1791ced1..66821937 100644 --- a/fattureincloud_python_sdk/models/list_f24_response_aggregation.py +++ b/fattureincloud_python_sdk/models/list_f24_response_aggregation.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_f24_response_page.py b/fattureincloud_python_sdk/models/list_f24_response_page.py index 0311f30f..e9b7e0e1 100644 --- a/fattureincloud_python_sdk/models/list_f24_response_page.py +++ b/fattureincloud_python_sdk/models/list_f24_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_issued_documents_response.py b/fattureincloud_python_sdk/models/list_issued_documents_response.py index 5c6cf159..688002d4 100644 --- a/fattureincloud_python_sdk/models/list_issued_documents_response.py +++ b/fattureincloud_python_sdk/models/list_issued_documents_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_issued_documents_response_page.py b/fattureincloud_python_sdk/models/list_issued_documents_response_page.py index de084637..655d72dc 100644 --- a/fattureincloud_python_sdk/models/list_issued_documents_response_page.py +++ b/fattureincloud_python_sdk/models/list_issued_documents_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_languages_response.py b/fattureincloud_python_sdk/models/list_languages_response.py index 1c2133fc..fc6c56ee 100644 --- a/fattureincloud_python_sdk/models/list_languages_response.py +++ b/fattureincloud_python_sdk/models/list_languages_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_payment_accounts_response.py b/fattureincloud_python_sdk/models/list_payment_accounts_response.py index a2f38e8e..708b283e 100644 --- a/fattureincloud_python_sdk/models/list_payment_accounts_response.py +++ b/fattureincloud_python_sdk/models/list_payment_accounts_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_payment_methods_response.py b/fattureincloud_python_sdk/models/list_payment_methods_response.py index e9bd25f6..cefcd47d 100644 --- a/fattureincloud_python_sdk/models/list_payment_methods_response.py +++ b/fattureincloud_python_sdk/models/list_payment_methods_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_product_categories_response.py b/fattureincloud_python_sdk/models/list_product_categories_response.py index 41748011..a2bf345b 100644 --- a/fattureincloud_python_sdk/models/list_product_categories_response.py +++ b/fattureincloud_python_sdk/models/list_product_categories_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_products_response.py b/fattureincloud_python_sdk/models/list_products_response.py index 5054f066..dfefa0d7 100644 --- a/fattureincloud_python_sdk/models/list_products_response.py +++ b/fattureincloud_python_sdk/models/list_products_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_products_response_page.py b/fattureincloud_python_sdk/models/list_products_response_page.py index 516e3f4d..d48a81d0 100644 --- a/fattureincloud_python_sdk/models/list_products_response_page.py +++ b/fattureincloud_python_sdk/models/list_products_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_receipts_response.py b/fattureincloud_python_sdk/models/list_receipts_response.py index 2594eb8f..0be9216a 100644 --- a/fattureincloud_python_sdk/models/list_receipts_response.py +++ b/fattureincloud_python_sdk/models/list_receipts_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_receipts_response_page.py b/fattureincloud_python_sdk/models/list_receipts_response_page.py index 647eb3ca..588543c8 100644 --- a/fattureincloud_python_sdk/models/list_receipts_response_page.py +++ b/fattureincloud_python_sdk/models/list_receipts_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_received_document_categories_response.py b/fattureincloud_python_sdk/models/list_received_document_categories_response.py index 66ff1df1..78335499 100644 --- a/fattureincloud_python_sdk/models/list_received_document_categories_response.py +++ b/fattureincloud_python_sdk/models/list_received_document_categories_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_received_documents_response.py b/fattureincloud_python_sdk/models/list_received_documents_response.py index 5e428b1c..62d2b12e 100644 --- a/fattureincloud_python_sdk/models/list_received_documents_response.py +++ b/fattureincloud_python_sdk/models/list_received_documents_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_received_documents_response_page.py b/fattureincloud_python_sdk/models/list_received_documents_response_page.py index 3e1a8d37..dd13f7be 100644 --- a/fattureincloud_python_sdk/models/list_received_documents_response_page.py +++ b/fattureincloud_python_sdk/models/list_received_documents_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_revenue_centers_response.py b/fattureincloud_python_sdk/models/list_revenue_centers_response.py index b866eb0a..9dd04b17 100644 --- a/fattureincloud_python_sdk/models/list_revenue_centers_response.py +++ b/fattureincloud_python_sdk/models/list_revenue_centers_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_suppliers_response.py b/fattureincloud_python_sdk/models/list_suppliers_response.py index ae452f26..c275d2bb 100644 --- a/fattureincloud_python_sdk/models/list_suppliers_response.py +++ b/fattureincloud_python_sdk/models/list_suppliers_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_suppliers_response_page.py b/fattureincloud_python_sdk/models/list_suppliers_response_page.py index feff4fc2..3bbb3cf7 100644 --- a/fattureincloud_python_sdk/models/list_suppliers_response_page.py +++ b/fattureincloud_python_sdk/models/list_suppliers_response_page.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_templates_response.py b/fattureincloud_python_sdk/models/list_templates_response.py index 3c73a15f..9df937f8 100644 --- a/fattureincloud_python_sdk/models/list_templates_response.py +++ b/fattureincloud_python_sdk/models/list_templates_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_units_of_measure_response.py b/fattureincloud_python_sdk/models/list_units_of_measure_response.py index 496b64cd..e3be635f 100644 --- a/fattureincloud_python_sdk/models/list_units_of_measure_response.py +++ b/fattureincloud_python_sdk/models/list_units_of_measure_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_user_companies_response.py b/fattureincloud_python_sdk/models/list_user_companies_response.py index fce26c3f..213ffc53 100644 --- a/fattureincloud_python_sdk/models/list_user_companies_response.py +++ b/fattureincloud_python_sdk/models/list_user_companies_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_user_companies_response_data.py b/fattureincloud_python_sdk/models/list_user_companies_response_data.py index 14d7dd61..93a33c90 100644 --- a/fattureincloud_python_sdk/models/list_user_companies_response_data.py +++ b/fattureincloud_python_sdk/models/list_user_companies_response_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_vat_types_response.py b/fattureincloud_python_sdk/models/list_vat_types_response.py index 366afb93..53f68a29 100644 --- a/fattureincloud_python_sdk/models/list_vat_types_response.py +++ b/fattureincloud_python_sdk/models/list_vat_types_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/list_webhooks_subscriptions_response.py b/fattureincloud_python_sdk/models/list_webhooks_subscriptions_response.py index 7f941131..a5dd2676 100644 --- a/fattureincloud_python_sdk/models/list_webhooks_subscriptions_response.py +++ b/fattureincloud_python_sdk/models/list_webhooks_subscriptions_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_archive_document_request.py b/fattureincloud_python_sdk/models/modify_archive_document_request.py index 51e578a7..53f98081 100644 --- a/fattureincloud_python_sdk/models/modify_archive_document_request.py +++ b/fattureincloud_python_sdk/models/modify_archive_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_archive_document_response.py b/fattureincloud_python_sdk/models/modify_archive_document_response.py index 7e6b44b4..ac80066d 100644 --- a/fattureincloud_python_sdk/models/modify_archive_document_response.py +++ b/fattureincloud_python_sdk/models/modify_archive_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_cashbook_entry_request.py b/fattureincloud_python_sdk/models/modify_cashbook_entry_request.py index bf413ada..1d873c1f 100644 --- a/fattureincloud_python_sdk/models/modify_cashbook_entry_request.py +++ b/fattureincloud_python_sdk/models/modify_cashbook_entry_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_cashbook_entry_response.py b/fattureincloud_python_sdk/models/modify_cashbook_entry_response.py index 1b2ff32e..b4803abd 100644 --- a/fattureincloud_python_sdk/models/modify_cashbook_entry_response.py +++ b/fattureincloud_python_sdk/models/modify_cashbook_entry_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_client_request.py b/fattureincloud_python_sdk/models/modify_client_request.py index 24d210e0..7947e0ea 100644 --- a/fattureincloud_python_sdk/models/modify_client_request.py +++ b/fattureincloud_python_sdk/models/modify_client_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_client_response.py b/fattureincloud_python_sdk/models/modify_client_response.py index 88983a99..3e43e44d 100644 --- a/fattureincloud_python_sdk/models/modify_client_response.py +++ b/fattureincloud_python_sdk/models/modify_client_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_f24_request.py b/fattureincloud_python_sdk/models/modify_f24_request.py index 89a5ad55..22e88580 100644 --- a/fattureincloud_python_sdk/models/modify_f24_request.py +++ b/fattureincloud_python_sdk/models/modify_f24_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_f24_response.py b/fattureincloud_python_sdk/models/modify_f24_response.py index 3811cc5b..f1513827 100644 --- a/fattureincloud_python_sdk/models/modify_f24_response.py +++ b/fattureincloud_python_sdk/models/modify_f24_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_issued_document_request.py b/fattureincloud_python_sdk/models/modify_issued_document_request.py index 9af02150..addfa4ed 100644 --- a/fattureincloud_python_sdk/models/modify_issued_document_request.py +++ b/fattureincloud_python_sdk/models/modify_issued_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_issued_document_response.py b/fattureincloud_python_sdk/models/modify_issued_document_response.py index 23084d5a..31e2aa27 100644 --- a/fattureincloud_python_sdk/models/modify_issued_document_response.py +++ b/fattureincloud_python_sdk/models/modify_issued_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_payment_account_request.py b/fattureincloud_python_sdk/models/modify_payment_account_request.py index 5da9da45..2564b2cf 100644 --- a/fattureincloud_python_sdk/models/modify_payment_account_request.py +++ b/fattureincloud_python_sdk/models/modify_payment_account_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_payment_account_response.py b/fattureincloud_python_sdk/models/modify_payment_account_response.py index 24f369de..2a4193b1 100644 --- a/fattureincloud_python_sdk/models/modify_payment_account_response.py +++ b/fattureincloud_python_sdk/models/modify_payment_account_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_payment_method_request.py b/fattureincloud_python_sdk/models/modify_payment_method_request.py index 22e63bc7..ded88007 100644 --- a/fattureincloud_python_sdk/models/modify_payment_method_request.py +++ b/fattureincloud_python_sdk/models/modify_payment_method_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_payment_method_response.py b/fattureincloud_python_sdk/models/modify_payment_method_response.py index 3f2fde40..4802607a 100644 --- a/fattureincloud_python_sdk/models/modify_payment_method_response.py +++ b/fattureincloud_python_sdk/models/modify_payment_method_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_product_request.py b/fattureincloud_python_sdk/models/modify_product_request.py index d7f1cf47..edf75685 100644 --- a/fattureincloud_python_sdk/models/modify_product_request.py +++ b/fattureincloud_python_sdk/models/modify_product_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_product_response.py b/fattureincloud_python_sdk/models/modify_product_response.py index f7010749..6e8db5bc 100644 --- a/fattureincloud_python_sdk/models/modify_product_response.py +++ b/fattureincloud_python_sdk/models/modify_product_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_receipt_request.py b/fattureincloud_python_sdk/models/modify_receipt_request.py index 16ce1327..b6e7feda 100644 --- a/fattureincloud_python_sdk/models/modify_receipt_request.py +++ b/fattureincloud_python_sdk/models/modify_receipt_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_receipt_response.py b/fattureincloud_python_sdk/models/modify_receipt_response.py index 4906fcb9..5f1949f1 100644 --- a/fattureincloud_python_sdk/models/modify_receipt_response.py +++ b/fattureincloud_python_sdk/models/modify_receipt_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_received_document_request.py b/fattureincloud_python_sdk/models/modify_received_document_request.py index fb3df1b2..73fda44b 100644 --- a/fattureincloud_python_sdk/models/modify_received_document_request.py +++ b/fattureincloud_python_sdk/models/modify_received_document_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_received_document_response.py b/fattureincloud_python_sdk/models/modify_received_document_response.py index 1f5a98ab..11d51cb4 100644 --- a/fattureincloud_python_sdk/models/modify_received_document_response.py +++ b/fattureincloud_python_sdk/models/modify_received_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_supplier_request.py b/fattureincloud_python_sdk/models/modify_supplier_request.py index 051794eb..7bd39948 100644 --- a/fattureincloud_python_sdk/models/modify_supplier_request.py +++ b/fattureincloud_python_sdk/models/modify_supplier_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_supplier_response.py b/fattureincloud_python_sdk/models/modify_supplier_response.py index d6204fc3..58289a5d 100644 --- a/fattureincloud_python_sdk/models/modify_supplier_response.py +++ b/fattureincloud_python_sdk/models/modify_supplier_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_vat_type_request.py b/fattureincloud_python_sdk/models/modify_vat_type_request.py index ad71a8d1..541a3cb8 100644 --- a/fattureincloud_python_sdk/models/modify_vat_type_request.py +++ b/fattureincloud_python_sdk/models/modify_vat_type_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_vat_type_response.py b/fattureincloud_python_sdk/models/modify_vat_type_response.py index 8d7559c9..0ca41eaf 100644 --- a/fattureincloud_python_sdk/models/modify_vat_type_response.py +++ b/fattureincloud_python_sdk/models/modify_vat_type_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_webhooks_subscription_request.py b/fattureincloud_python_sdk/models/modify_webhooks_subscription_request.py index 37ca7339..4a537bda 100644 --- a/fattureincloud_python_sdk/models/modify_webhooks_subscription_request.py +++ b/fattureincloud_python_sdk/models/modify_webhooks_subscription_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/modify_webhooks_subscription_response.py b/fattureincloud_python_sdk/models/modify_webhooks_subscription_response.py index 13076745..828d081a 100644 --- a/fattureincloud_python_sdk/models/modify_webhooks_subscription_response.py +++ b/fattureincloud_python_sdk/models/modify_webhooks_subscription_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/monthly_total.py b/fattureincloud_python_sdk/models/monthly_total.py index 434e4de4..07820f84 100644 --- a/fattureincloud_python_sdk/models/monthly_total.py +++ b/fattureincloud_python_sdk/models/monthly_total.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/original_document_type.py b/fattureincloud_python_sdk/models/original_document_type.py index df6461a1..8044c610 100644 --- a/fattureincloud_python_sdk/models/original_document_type.py +++ b/fattureincloud_python_sdk/models/original_document_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/pagination.py b/fattureincloud_python_sdk/models/pagination.py index ed13eb4d..536c381e 100644 --- a/fattureincloud_python_sdk/models/pagination.py +++ b/fattureincloud_python_sdk/models/pagination.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/payment_account.py b/fattureincloud_python_sdk/models/payment_account.py index fe257738..4d115937 100644 --- a/fattureincloud_python_sdk/models/payment_account.py +++ b/fattureincloud_python_sdk/models/payment_account.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,7 +32,7 @@ class PaymentAccount(BaseModel): id: Optional[StrictInt] = Field(default=None, description="Payment account id") name: Optional[StrictStr] = Field(default=None, description="Payment account name") - type: Optional[PaymentAccountType] = None + type: Optional[PaymentAccountType] = PaymentAccountType.STANDARD iban: Optional[StrictStr] = Field(default=None, description="Payment account iban") sia: Optional[StrictStr] = Field(default=None, description="Payment account sia") cuc: Optional[StrictStr] = Field(default=None, description="Payment account cuc") diff --git a/fattureincloud_python_sdk/models/payment_account_type.py b/fattureincloud_python_sdk/models/payment_account_type.py index 8a1a8361..132e1d90 100644 --- a/fattureincloud_python_sdk/models/payment_account_type.py +++ b/fattureincloud_python_sdk/models/payment_account_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/payment_method.py b/fattureincloud_python_sdk/models/payment_method.py index ff1b77e1..13734e2a 100644 --- a/fattureincloud_python_sdk/models/payment_method.py +++ b/fattureincloud_python_sdk/models/payment_method.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class PaymentMethod(BaseModel): id: Optional[StrictInt] = Field(default=None, description="Payment method id") name: Optional[StrictStr] = Field(default=None, description="Payment method name") - type: Optional[PaymentMethodType] = None + type: Optional[PaymentMethodType] = PaymentMethodType.STANDARD is_default: Optional[StrictBool] = Field( default=None, description="Payment method is default" ) diff --git a/fattureincloud_python_sdk/models/payment_method_details.py b/fattureincloud_python_sdk/models/payment_method_details.py index 00022c7b..ce15aedb 100644 --- a/fattureincloud_python_sdk/models/payment_method_details.py +++ b/fattureincloud_python_sdk/models/payment_method_details.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/payment_method_type.py b/fattureincloud_python_sdk/models/payment_method_type.py index b4f470be..dcf907d6 100644 --- a/fattureincloud_python_sdk/models/payment_method_type.py +++ b/fattureincloud_python_sdk/models/payment_method_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/payment_terms_type.py b/fattureincloud_python_sdk/models/payment_terms_type.py index 8409515b..ce7bc87e 100644 --- a/fattureincloud_python_sdk/models/payment_terms_type.py +++ b/fattureincloud_python_sdk/models/payment_terms_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/permission_level.py b/fattureincloud_python_sdk/models/permission_level.py index e4fde0e9..ed1a1449 100644 --- a/fattureincloud_python_sdk/models/permission_level.py +++ b/fattureincloud_python_sdk/models/permission_level.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/permissions.py b/fattureincloud_python_sdk/models/permissions.py index aa09d43c..bce09a16 100644 --- a/fattureincloud_python_sdk/models/permissions.py +++ b/fattureincloud_python_sdk/models/permissions.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/permissions_fic_issued_documents_detailed.py b/fattureincloud_python_sdk/models/permissions_fic_issued_documents_detailed.py index 5a03bd9c..9d299561 100644 --- a/fattureincloud_python_sdk/models/permissions_fic_issued_documents_detailed.py +++ b/fattureincloud_python_sdk/models/permissions_fic_issued_documents_detailed.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/product.py b/fattureincloud_python_sdk/models/product.py index e9eed58d..6e743020 100644 --- a/fattureincloud_python_sdk/models/product.py +++ b/fattureincloud_python_sdk/models/product.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/receipt.py b/fattureincloud_python_sdk/models/receipt.py index 8e1f0133..6c5162b6 100644 --- a/fattureincloud_python_sdk/models/receipt.py +++ b/fattureincloud_python_sdk/models/receipt.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/receipt_items_list_item.py b/fattureincloud_python_sdk/models/receipt_items_list_item.py index 494c915b..bad22800 100644 --- a/fattureincloud_python_sdk/models/receipt_items_list_item.py +++ b/fattureincloud_python_sdk/models/receipt_items_list_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/receipt_pre_create_info.py b/fattureincloud_python_sdk/models/receipt_pre_create_info.py index 985a1033..1cf72ec2 100644 --- a/fattureincloud_python_sdk/models/receipt_pre_create_info.py +++ b/fattureincloud_python_sdk/models/receipt_pre_create_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/receipt_type.py b/fattureincloud_python_sdk/models/receipt_type.py index 61eede5f..f1b097c4 100644 --- a/fattureincloud_python_sdk/models/receipt_type.py +++ b/fattureincloud_python_sdk/models/receipt_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document.py b/fattureincloud_python_sdk/models/received_document.py index 08059313..b8f6a660 100644 --- a/fattureincloud_python_sdk/models/received_document.py +++ b/fattureincloud_python_sdk/models/received_document.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -48,7 +48,7 @@ class ReceivedDocument(BaseModel): """ # noqa: E501 id: Optional[StrictInt] = Field(default=None, description="Received document id") - type: Optional[ReceivedDocumentType] = None + type: Optional[ReceivedDocumentType] = ReceivedDocumentType.EXPENSE entity: Optional[Entity] = None var_date: Optional[date] = Field( default=None, diff --git a/fattureincloud_python_sdk/models/received_document_info.py b/fattureincloud_python_sdk/models/received_document_info.py index 237925a8..e2231849 100644 --- a/fattureincloud_python_sdk/models/received_document_info.py +++ b/fattureincloud_python_sdk/models/received_document_info.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_info_default_values.py b/fattureincloud_python_sdk/models/received_document_info_default_values.py index 32799385..f5f7d718 100644 --- a/fattureincloud_python_sdk/models/received_document_info_default_values.py +++ b/fattureincloud_python_sdk/models/received_document_info_default_values.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_info_items_default_values.py b/fattureincloud_python_sdk/models/received_document_info_items_default_values.py index 021d9c4f..d85ec161 100644 --- a/fattureincloud_python_sdk/models/received_document_info_items_default_values.py +++ b/fattureincloud_python_sdk/models/received_document_info_items_default_values.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_items_list_item.py b/fattureincloud_python_sdk/models/received_document_items_list_item.py index 5c2af779..104e6585 100644 --- a/fattureincloud_python_sdk/models/received_document_items_list_item.py +++ b/fattureincloud_python_sdk/models/received_document_items_list_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_payments_list_item.py b/fattureincloud_python_sdk/models/received_document_payments_list_item.py index 07541c06..ed44425e 100644 --- a/fattureincloud_python_sdk/models/received_document_payments_list_item.py +++ b/fattureincloud_python_sdk/models/received_document_payments_list_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_payments_list_item_payment_terms.py b/fattureincloud_python_sdk/models/received_document_payments_list_item_payment_terms.py index e60aa93a..e3ccfbe6 100644 --- a/fattureincloud_python_sdk/models/received_document_payments_list_item_payment_terms.py +++ b/fattureincloud_python_sdk/models/received_document_payments_list_item_payment_terms.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -34,7 +34,7 @@ class ReceivedDocumentPaymentsListItemPaymentTerms(BaseModel): default=None, description="Received document payment number of days by which the payment must be made", ) - type: Optional[PaymentTermsType] = None + type: Optional[PaymentTermsType] = PaymentTermsType.STANDARD __properties: ClassVar[List[str]] = ["days", "type"] model_config = ConfigDict( diff --git a/fattureincloud_python_sdk/models/received_document_totals.py b/fattureincloud_python_sdk/models/received_document_totals.py index 4fbda5ed..be7c458e 100644 --- a/fattureincloud_python_sdk/models/received_document_totals.py +++ b/fattureincloud_python_sdk/models/received_document_totals.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/received_document_type.py b/fattureincloud_python_sdk/models/received_document_type.py index 6ba17da9..0ad4b566 100644 --- a/fattureincloud_python_sdk/models/received_document_type.py +++ b/fattureincloud_python_sdk/models/received_document_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/schedule_email_request.py b/fattureincloud_python_sdk/models/schedule_email_request.py index bba83af0..9ef53781 100644 --- a/fattureincloud_python_sdk/models/schedule_email_request.py +++ b/fattureincloud_python_sdk/models/schedule_email_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/send_e_invoice_request.py b/fattureincloud_python_sdk/models/send_e_invoice_request.py index a558e17a..aad18e30 100644 --- a/fattureincloud_python_sdk/models/send_e_invoice_request.py +++ b/fattureincloud_python_sdk/models/send_e_invoice_request.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/send_e_invoice_request_data.py b/fattureincloud_python_sdk/models/send_e_invoice_request_data.py index 2c77ae8b..1d6657e3 100644 --- a/fattureincloud_python_sdk/models/send_e_invoice_request_data.py +++ b/fattureincloud_python_sdk/models/send_e_invoice_request_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/send_e_invoice_request_options.py b/fattureincloud_python_sdk/models/send_e_invoice_request_options.py index c42f44d8..8a6a955f 100644 --- a/fattureincloud_python_sdk/models/send_e_invoice_request_options.py +++ b/fattureincloud_python_sdk/models/send_e_invoice_request_options.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/send_e_invoice_response.py b/fattureincloud_python_sdk/models/send_e_invoice_response.py index 9aae7831..43c370e5 100644 --- a/fattureincloud_python_sdk/models/send_e_invoice_response.py +++ b/fattureincloud_python_sdk/models/send_e_invoice_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/send_e_invoice_response_data.py b/fattureincloud_python_sdk/models/send_e_invoice_response_data.py index 780694e3..a600675b 100644 --- a/fattureincloud_python_sdk/models/send_e_invoice_response_data.py +++ b/fattureincloud_python_sdk/models/send_e_invoice_response_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/sender_email.py b/fattureincloud_python_sdk/models/sender_email.py index 12cb05c0..3405c98b 100644 --- a/fattureincloud_python_sdk/models/sender_email.py +++ b/fattureincloud_python_sdk/models/sender_email.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/show_totals_mode.py b/fattureincloud_python_sdk/models/show_totals_mode.py index 84f56341..c3e2f8ff 100644 --- a/fattureincloud_python_sdk/models/show_totals_mode.py +++ b/fattureincloud_python_sdk/models/show_totals_mode.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/supplier.py b/fattureincloud_python_sdk/models/supplier.py index 71c00447..bae6ff40 100644 --- a/fattureincloud_python_sdk/models/supplier.py +++ b/fattureincloud_python_sdk/models/supplier.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/supplier_type.py b/fattureincloud_python_sdk/models/supplier_type.py index 5132b554..b478831e 100644 --- a/fattureincloud_python_sdk/models/supplier_type.py +++ b/fattureincloud_python_sdk/models/supplier_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/tax_profile.py b/fattureincloud_python_sdk/models/tax_profile.py new file mode 100644 index 00000000..a43bbdd4 --- /dev/null +++ b/fattureincloud_python_sdk/models/tax_profile.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Fatture in Cloud API v2 - API Reference + + Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + + The version of the OpenAPI document: 2.1.2 + Contact: info@fattureincloud.it + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import ( + BaseModel, + ConfigDict, + Field, + StrictBool, + StrictFloat, + StrictInt, + StrictStr, +) +from typing import Any, ClassVar, Dict, List, Optional, Union +from fattureincloud_python_sdk.models.vat_type import VatType +from typing import Optional, Set +from typing_extensions import Self + + +class TaxProfile(BaseModel): + """ + TaxProfile + """ # noqa: E501 + + company_type: Optional[StrictStr] = Field( + default=None, description="The company type" + ) + company_subtype: Optional[StrictStr] = Field( + default=None, description="The company subtype" + ) + profession: Optional[StrictStr] = Field(default=None, description="The profession") + regime: Optional[StrictStr] = Field(default=None, description="The applied regime") + rivalsa_name: Optional[StrictStr] = Field( + default=None, description="The name of the rivalsa" + ) + default_rivalsa: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default rivalsa amount" + ) + cassa_name: Optional[StrictStr] = Field( + default=None, description="The name of the cassa" + ) + default_cassa: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default cassa amount" + ) + default_cassa_taxable: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default taxable amount for the cassa" + ) + cassa2_name: Optional[StrictStr] = Field( + default=None, description="The name of the second cassa" + ) + default_cassa2: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default second cassa amount" + ) + default_cassa2_taxable: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default taxable amount for the second cassa" + ) + default_withholding_tax: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default withholding tax" + ) + default_withholding_tax_taxable: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default taxable amount for the withholding tax" + ) + default_other_withholding_tax: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The default other withholding tax" + ) + enasarco: Optional[StrictBool] = Field( + default=None, description="If it has enasarco" + ) + enasarco_type: Optional[StrictStr] = Field( + default=None, description="The enasarco type" + ) + contributions_percentage: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The contributions percentage" + ) + profit_coefficient: Optional[Union[StrictFloat, StrictInt]] = Field( + default=None, description="The profit coefficient" + ) + med: Optional[StrictBool] = Field( + default=None, description="If the health card system is active" + ) + default_vat: Optional[VatType] = None + __properties: ClassVar[List[str]] = [ + "company_type", + "company_subtype", + "profession", + "regime", + "rivalsa_name", + "default_rivalsa", + "cassa_name", + "default_cassa", + "default_cassa_taxable", + "cassa2_name", + "default_cassa2", + "default_cassa2_taxable", + "default_withholding_tax", + "default_withholding_tax_taxable", + "default_other_withholding_tax", + "enasarco", + "enasarco_type", + "contributions_percentage", + "profit_coefficient", + "med", + "default_vat", + ] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TaxProfile from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of default_vat + if self.default_vat: + _dict["default_vat"] = self.default_vat.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TaxProfile from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate( + { + "company_type": obj.get("company_type"), + "company_subtype": obj.get("company_subtype"), + "profession": obj.get("profession"), + "regime": obj.get("regime"), + "rivalsa_name": obj.get("rivalsa_name"), + "default_rivalsa": obj.get("default_rivalsa"), + "cassa_name": obj.get("cassa_name"), + "default_cassa": obj.get("default_cassa"), + "default_cassa_taxable": obj.get("default_cassa_taxable"), + "cassa2_name": obj.get("cassa2_name"), + "default_cassa2": obj.get("default_cassa2"), + "default_cassa2_taxable": obj.get("default_cassa2_taxable"), + "default_withholding_tax": obj.get("default_withholding_tax"), + "default_withholding_tax_taxable": obj.get( + "default_withholding_tax_taxable" + ), + "default_other_withholding_tax": obj.get( + "default_other_withholding_tax" + ), + "enasarco": obj.get("enasarco"), + "enasarco_type": obj.get("enasarco_type"), + "contributions_percentage": obj.get("contributions_percentage"), + "profit_coefficient": obj.get("profit_coefficient"), + "med": obj.get("med"), + "default_vat": ( + VatType.from_dict(obj["default_vat"]) + if obj.get("default_vat") is not None + else None + ), + } + ) + return _obj diff --git a/fattureincloud_python_sdk/models/transform_issued_document_response.py b/fattureincloud_python_sdk/models/transform_issued_document_response.py index 12792624..ed32e565 100644 --- a/fattureincloud_python_sdk/models/transform_issued_document_response.py +++ b/fattureincloud_python_sdk/models/transform_issued_document_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/upload_archive_attachment_response.py b/fattureincloud_python_sdk/models/upload_archive_attachment_response.py index 9d1f463d..897f181b 100644 --- a/fattureincloud_python_sdk/models/upload_archive_attachment_response.py +++ b/fattureincloud_python_sdk/models/upload_archive_attachment_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/upload_f24_attachment_response.py b/fattureincloud_python_sdk/models/upload_f24_attachment_response.py index d338a763..8de89a2e 100644 --- a/fattureincloud_python_sdk/models/upload_f24_attachment_response.py +++ b/fattureincloud_python_sdk/models/upload_f24_attachment_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/upload_issued_document_attachment_response.py b/fattureincloud_python_sdk/models/upload_issued_document_attachment_response.py index 921abb57..69e4ad2a 100644 --- a/fattureincloud_python_sdk/models/upload_issued_document_attachment_response.py +++ b/fattureincloud_python_sdk/models/upload_issued_document_attachment_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/upload_received_document_attachment_response.py b/fattureincloud_python_sdk/models/upload_received_document_attachment_response.py index 78a42f6c..62688efc 100644 --- a/fattureincloud_python_sdk/models/upload_received_document_attachment_response.py +++ b/fattureincloud_python_sdk/models/upload_received_document_attachment_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/user.py b/fattureincloud_python_sdk/models/user.py index 58a793ff..5387e637 100644 --- a/fattureincloud_python_sdk/models/user.py +++ b/fattureincloud_python_sdk/models/user.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/user_company_role.py b/fattureincloud_python_sdk/models/user_company_role.py index 95bf9cd6..d7c51064 100644 --- a/fattureincloud_python_sdk/models/user_company_role.py +++ b/fattureincloud_python_sdk/models/user_company_role.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/vat_item.py b/fattureincloud_python_sdk/models/vat_item.py index 2bc4ce36..8dd98c6a 100644 --- a/fattureincloud_python_sdk/models/vat_item.py +++ b/fattureincloud_python_sdk/models/vat_item.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/vat_kind.py b/fattureincloud_python_sdk/models/vat_kind.py index 9269ecc5..1abdaba7 100644 --- a/fattureincloud_python_sdk/models/vat_kind.py +++ b/fattureincloud_python_sdk/models/vat_kind.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,7 +27,6 @@ class VatKind(str, Enum): """ allowed enum values """ - NULL = "null" I = "I" D = "D" S = "S" diff --git a/fattureincloud_python_sdk/models/vat_type.py b/fattureincloud_python_sdk/models/vat_type.py index 0d761390..50208719 100644 --- a/fattureincloud_python_sdk/models/vat_type.py +++ b/fattureincloud_python_sdk/models/vat_type.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -62,6 +62,9 @@ class VatType(BaseModel): is_disabled: Optional[StrictBool] = Field( default=None, description="Is the vat type disabled" ) + default: Optional[StrictBool] = Field( + default=None, description="If the vat type is default" + ) __properties: ClassVar[List[str]] = [ "id", "value", @@ -72,6 +75,7 @@ class VatType(BaseModel): "ei_description", "editable", "is_disabled", + "default", ] model_config = ConfigDict( @@ -138,6 +142,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "ei_description": obj.get("ei_description"), "editable": obj.get("editable"), "is_disabled": obj.get("is_disabled"), + "default": obj.get("default"), } ) return _obj diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response.py index d6f232f3..e608de5f 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error.py index f4788c0e..24e67a53 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.py index 761825fc..6bdbc163 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_extra.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_extra.py index 6b3807be..51c56633 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_extra.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_error_response_extra.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_response.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_response.py index 7ebe135d..3a697a52 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_response.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_response.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/verify_e_invoice_xml_response_data.py b/fattureincloud_python_sdk/models/verify_e_invoice_xml_response_data.py index a6d80a7b..656d1b23 100644 --- a/fattureincloud_python_sdk/models/verify_e_invoice_xml_response_data.py +++ b/fattureincloud_python_sdk/models/verify_e_invoice_xml_response_data.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/webhooks_subscription.py b/fattureincloud_python_sdk/models/webhooks_subscription.py index c8b25693..9a2a6914 100644 --- a/fattureincloud_python_sdk/models/webhooks_subscription.py +++ b/fattureincloud_python_sdk/models/webhooks_subscription.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/webhooks_subscription_config.py b/fattureincloud_python_sdk/models/webhooks_subscription_config.py index 495c8e8b..d68dd334 100644 --- a/fattureincloud_python_sdk/models/webhooks_subscription_config.py +++ b/fattureincloud_python_sdk/models/webhooks_subscription_config.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/webhooks_subscription_mapping.py b/fattureincloud_python_sdk/models/webhooks_subscription_mapping.py index 49ff3d24..7a636d63 100644 --- a/fattureincloud_python_sdk/models/webhooks_subscription_mapping.py +++ b/fattureincloud_python_sdk/models/webhooks_subscription_mapping.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/oauth2/oauth2.py b/fattureincloud_python_sdk/oauth2/oauth2.py index 7ae1595b..2c9ae8c6 100644 --- a/fattureincloud_python_sdk/oauth2/oauth2.py +++ b/fattureincloud_python_sdk/oauth2/oauth2.py @@ -15,7 +15,7 @@ def __init__( self._http = urllib3.PoolManager() self.client_id = client_id self.base_uri = base_uri - + def execute_post(self, uri: str, data: Dict[str, str]): body = json.dumps(data).encode("utf-8") @@ -24,9 +24,7 @@ def execute_post(self, uri: str, data: Dict[str, str]): ) res = json.loads(resp.data.decode("utf-8")) if resp.status != 200: - raise OAuth2Error( - resp.status, res["error"], res["error_description"] - ) + raise OAuth2Error(resp.status, res["error"], res["error_description"]) return res @staticmethod @@ -36,6 +34,7 @@ def _get_scope_str(scopes: Iterable[Scope]): return " ".join(map(lambda x: x.value, scopes)) + class OAuth2AuthorizationCodeManager(OAuth2Manager): def __init__( self, @@ -108,7 +107,8 @@ def refresh_token(self, refresh_token: str): res["refresh_token"], res["expires_in"], ) - + + class OAuth2DeviceCodeManager(OAuth2Manager): def __init__( self, @@ -171,14 +171,22 @@ def refresh_token(self, refresh_token: str): res["expires_in"], ) + class OAuth2AuthorizationCodeParams: def __init__(self, authorization_code: str, state: str): self.authorization_code = authorization_code self.state = state + class OAuth2DeviceCodeResponse: def __init__( - self, device_code: str, user_code: str, scope: Dict[str, str], verification_uri: str, interval: int, expires_in: int + self, + device_code: str, + user_code: str, + scope: Dict[str, str], + verification_uri: str, + interval: int, + expires_in: int, ): self.device_code = device_code self.user_code = user_code @@ -187,6 +195,7 @@ def __init__( self.interval = interval self.expires_in = expires_in + class OAuth2TokenResponse: def __init__( self, token_type: str, access_token: str, refresh_token: str, expires_in: int diff --git a/fattureincloud_python_sdk/rest.py b/fattureincloud_python_sdk/rest.py index 7e44b497..b5d8f335 100644 --- a/fattureincloud_python_sdk/rest.py +++ b/fattureincloud_python_sdk/rest.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -212,7 +212,9 @@ def request( headers=headers, preload_content=False, ) - elif headers["Content-Type"] == "text/plain" and isinstance(body, bool): + elif headers["Content-Type"].startswith("text/") and isinstance( + body, bool + ): request_body = "true" if body else "false" r = self.pool_manager.request( method, diff --git a/pyproject.toml b/pyproject.toml index fdb00b86..46aecdac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fattureincloud_python_sdk" -version = "2.1.0" +version = "2.1.1" description = "Fatture in Cloud API v2 - API Reference" authors = ["Fatture in Cloud "] license = "MIT" @@ -10,19 +10,20 @@ keywords = ["OpenAPI", "OpenAPI-Generator", "Fatture in Cloud API v2 - API Refer include = ["fattureincloud_python_sdk/py.typed"] [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" -urllib3 = ">= 1.25.3" -python-dateutil = ">=2.8.2" -pydantic = ">=2" -typing-extensions = ">=4.7.1" +urllib3 = ">= 1.25.3 < 3.0.0" +python-dateutil = ">= 2.8.2" +pydantic = ">= 2" +typing-extensions = ">= 4.7.1" [tool.poetry.dev-dependencies] -pytest = ">=7.2.1" -tox = ">=3.9.0" -flake8 = ">=4.0.0" -types-python-dateutil = ">=2.8.19.14" -mypy = "1.4.1" +pytest = ">= 7.2.1" +pytest-cov = ">= 2.8.1" +tox = ">= 3.9.0" +flake8 = ">= 4.0.0" +types-python-dateutil = ">= 2.8.19.14" +mypy = ">= 1.5" [build-system] diff --git a/sdk-version.yaml b/sdk-version.yaml index c4668f54..d02565a7 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.1.0 + version: 2.1.1 diff --git a/setup.py b/setup.py index 825c6af1..f446adaf 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. - The version of the OpenAPI document: 2.1.0 + The version of the OpenAPI document: 2.1.2 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "fattureincloud-python-sdk" -VERSION = "2.1.0" +VERSION = "2.1.1" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.26.8, < 2.1.0", diff --git a/test-requirements.txt b/test-requirements.txt index 8e6d8cb1..e98555c1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,6 @@ -pytest~=7.1.3 -pytest-cov>=2.8.1 -pytest-randomly>=3.12.0 -mypy>=1.4.1 -types-python-dateutil>=2.8.19 +pytest >= 7.2.1 +pytest-cov >= 2.8.1 +tox >= 3.9.0 +flake8 >= 4.0.0 +types-python-dateutil >= 2.8.19.14 +mypy >= 1.5 diff --git a/test/test_get_tax_profile_response.py b/test/test_get_tax_profile_response.py new file mode 100644 index 00000000..dee01c5d --- /dev/null +++ b/test/test_get_tax_profile_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Fatture in Cloud API v2 - API Reference + + Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + + The version of the OpenAPI document: 2.1.2 + Contact: info@fattureincloud.it + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fattureincloud_python_sdk.models.get_tax_profile_response import ( + GetTaxProfileResponse, +) + + +class TestGetTaxProfileResponse(unittest.TestCase): + """GetTaxProfileResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetTaxProfileResponse: + """Test GetTaxProfileResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `GetTaxProfileResponse` + """ + model = GetTaxProfileResponse() + if include_optional: + return GetTaxProfileResponse( + data = fattureincloud_python_sdk.models.tax_profile.TaxProfile( + company_type = '', + company_subtype = '', + profession = '', + regime = '', + rivalsa_name = '', + default_rivalsa = 1.337, + cassa_name = '', + default_cassa = 1.337, + default_cassa_taxable = 1.337, + cassa2_name = '', + default_cassa2 = 1.337, + default_cassa2_taxable = 1.337, + default_withholding_tax = 1.337, + default_withholding_tax_taxable = 1.337, + default_other_withholding_tax = 1.337, + enasarco = True, + enasarco_type = '', + contributions_percentage = 1.337, + profit_coefficient = 1.337, + med = True, + default_vat = fattureincloud_python_sdk.models.vat_type.VatType( + id = 56, + value = 22, + description = 'Non imponibile art. 123', + notes = 'IVA non imponibile ai sensi dell'articolo 123, comma 2', + e_invoice = True, + ei_type = '2', + ei_description = '', + editable = True, + is_disabled = True, + default = True, ), ) + ) + else: + return GetTaxProfileResponse( + ) + """ + + def testGetTaxProfileResponse(self): + """Test GetTaxProfileResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_oauth2.py b/test/test_oauth2.py index 2a4bf145..1d649112 100644 --- a/test/test_oauth2.py +++ b/test/test_oauth2.py @@ -19,9 +19,7 @@ def setUp(self): self.oa2auth = OAuth2AuthorizationCodeManager( "CLIENT_ID", "CLIENT_SECRET", "http://localhost:3000/redirect" ) - self.oa2device = OAuth2DeviceCodeManager( - "CLIENT_ID" - ) + self.oa2device = OAuth2DeviceCodeManager("CLIENT_ID") pass def tearDown(self): @@ -57,9 +55,7 @@ def testOAuth2TokenResponse(self): assert params.expires_in == 86400 def testOAuth2Error(self): - err = OAuth2Error( - 418, "I'm a teapot", "I'm a teapot, but a really evil one." - ) + err = OAuth2Error(418, "I'm a teapot", "I'm a teapot, but a really evil one.") assert err.status == 418 assert err.error == "I'm a teapot" assert err.error_description == "I'm a teapot, but a really evil one." diff --git a/test/test_tax_profile.py b/test/test_tax_profile.py new file mode 100644 index 00000000..f65a51d6 --- /dev/null +++ b/test/test_tax_profile.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Fatture in Cloud API v2 - API Reference + + Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. + + The version of the OpenAPI document: 2.1.2 + Contact: info@fattureincloud.it + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fattureincloud_python_sdk.models.tax_profile import TaxProfile + + +class TestTaxProfile(unittest.TestCase): + """TaxProfile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TaxProfile: + """Test TaxProfile + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TaxProfile` + """ + model = TaxProfile() + if include_optional: + return TaxProfile( + company_type = '', + company_subtype = '', + profession = '', + regime = '', + rivalsa_name = '', + default_rivalsa = 1.337, + cassa_name = '', + default_cassa = 1.337, + default_cassa_taxable = 1.337, + cassa2_name = '', + default_cassa2 = 1.337, + default_cassa2_taxable = 1.337, + default_withholding_tax = 1.337, + default_withholding_tax_taxable = 1.337, + default_other_withholding_tax = 1.337, + enasarco = True, + enasarco_type = '', + contributions_percentage = 1.337, + profit_coefficient = 1.337, + med = True, + default_vat = fattureincloud_python_sdk.models.vat_type.VatType( + id = 56, + value = 22, + description = 'Non imponibile art. 123', + notes = 'IVA non imponibile ai sensi dell'articolo 123, comma 2', + e_invoice = True, + ei_type = '2', + ei_description = '', + editable = True, + is_disabled = True, + default = True, ) + ) + else: + return TaxProfile( + ) + """ + + def testTaxProfile(self): + """Test TaxProfile""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main()