From 57da58a103d9e0f19306167d427bbb1d9e9ec172 Mon Sep 17 00:00:00 2001 From: fattureincloud-bot Date: Thu, 8 Aug 2024 10:59:45 +0000 Subject: [PATCH] chore: bumping version to 2.1.1 --- .openapi-generator/FILES | 6 + .openapi-generator/VERSION | 2 +- README.md | 7 +- docs/CashbookEntryKind.md | 13 +- docs/CashbookEntryType.md | 7 +- docs/Client.md | 2 +- docs/ClientType.md | 11 +- docs/CompanyType.md | 7 +- 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 | 4 +- docs/IssuedDocumentPaymentsListItem.md | 2 +- ...uedDocumentPaymentsListItemPaymentTerms.md | 2 +- docs/IssuedDocumentStatus.md | 9 +- docs/IssuedDocumentType.md | 25 +- 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 | 11 +- docs/VatType.md | 1 + docs/WebhooksSubscriptionMapping.md | 7 +- fattureincloud_python_sdk/__init__.py | 8 +- fattureincloud_python_sdk/api/archive_api.py | 2 +- 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 | 2 +- .../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 | 2 +- fattureincloud_python_sdk/api/settings_api.py | 244 +++++++++++++++++- .../api/suppliers_api.py | 2 +- fattureincloud_python_sdk/api/taxes_api.py | 2 +- fattureincloud_python_sdk/api/user_api.py | 2 +- fattureincloud_python_sdk/api/webhooks_api.py | 2 +- fattureincloud_python_sdk/api_client.py | 38 ++- 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 | 2 +- .../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 | 6 +- .../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 | 2 +- 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 | 2 +- pyproject.toml | 2 +- sdk-version.yaml | 2 +- setup.py | 4 +- test/test_get_tax_profile_response.py | 87 +++++++ test/test_oauth2.py | 8 +- test/test_tax_profile.py | 84 ++++++ 305 files changed, 1638 insertions(+), 448 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..1985849f 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0 +7.7.0 diff --git a/README.md b/README.md index 449af815..6400db3a 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.1 +- 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/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..ba8906a0 100644 --- a/docs/IssuedDocument.md +++ b/docs/IssuedDocument.md @@ -7,7 +7,7 @@ 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] @@ -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/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..bd0567be 100644 --- a/docs/VatKind.md +++ b/docs/VatKind.md @@ -2,10 +2,15 @@ Vat kind [esigibilità IVA] -## Properties +## Enum -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- +* `NULL` (value: `'null'`) + +* `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..2ccc9179 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.1 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..faa5228e 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/cashbook_api.py b/fattureincloud_python_sdk/api/cashbook_api.py index 7eb6f7ed..e698a144 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.1 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..3a76a7f5 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.1 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..8b5fc8f9 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.1 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..60890c8a 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.1 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..0b90ed97 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.1 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..ee31da7b 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/issued_e_invoices_api.py b/fattureincloud_python_sdk/api/issued_e_invoices_api.py index 815094d9..9e861548 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.1 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..a787ae4e 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.1 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..927c6603 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.1 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..ff0961bb 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/settings_api.py b/fattureincloud_python_sdk/api/settings_api.py index ea3b6034..63b4049a 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.1 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..2029cf4c 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.1 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..021eb3ad 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/api/user_api.py b/fattureincloud_python_sdk/api/user_api.py index 8a4ae65a..b3b6f89b 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.1 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..18b9e67b 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.1 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..33223d5b 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -86,7 +86,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 +217,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 +308,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( @@ -376,21 +373,36 @@ 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 content_type.startswith("application/json"): + if response_text == "": + data = "" + else: + data = json.loads(response_text) + elif content_type.startswith("text/plain"): data = response_text + else: + raise ApiException( + status=0, reason="Unsupported content type: {0}".format(content_type) + ) return self.__deserialize(data, response_type) diff --git a/fattureincloud_python_sdk/configuration.py b/fattureincloud_python_sdk/configuration.py index 827680f3..7ae8659e 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.1 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.1\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..aaeaed5a 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.1 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..3e0ebd0c 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.1 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..c1c59f5e 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.1 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..46a4c9a6 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.1 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..5b983f95 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.1 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..24bfdcd6 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.1 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..de580517 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.1 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..ce891981 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.1 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..0cfe4b09 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.1 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..673663b7 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.1 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..499f7cf9 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.1 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..2b5979f0 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.1 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..0facf8e8 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.1 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..57cf0f8a 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.1 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..42f771df 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.1 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..92e7be1f 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.1 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..81d1e7e9 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.1 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..40edc677 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.1 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..07b24be5 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.1 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..02d61a7e 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.1 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..74a4cc19 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.1 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..cde722ab 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.1 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..71b4c8d2 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.1 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..6ed6900f 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.1 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..2bc88492 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.1 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..5632e001 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.1 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..6d12e0cf 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.1 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..1e80dc84 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.1 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..66f55784 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.1 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..58a013d0 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.1 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..df20ce51 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.1 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..b4cdbbfe 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.1 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..85910bc0 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.1 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..88b7b160 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.1 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..37e3edf3 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.1 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..e06b6414 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.1 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..fddd4225 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.1 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..752fb831 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.1 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..40d834ae 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.1 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..211f9bc8 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.1 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..77759cd2 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.1 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..ffdcdf88 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.1 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..d82c6f84 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.1 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..39ac8247 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.1 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..6d9025b4 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.1 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..01c76a8d 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.1 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..7d9c0080 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.1 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..b29cf666 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.1 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..cc12aa95 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.1 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..a2e1c34c 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.1 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..8b04fd7a 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.1 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..8d04395f 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/email_attachment.py b/fattureincloud_python_sdk/models/email_attachment.py index 828759b2..8a390a16 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.1 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..7e69de50 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.1 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..c53d81b7 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.1 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..83303bb8 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.1 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..bde006d8 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.1 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..bbc57b40 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.1 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..ff936bca 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.1 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..7ff03b9d 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.1 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..53db2765 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.1 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..78bb3075 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.1 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..323fbb41 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.1 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..d6ad1dbe 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.1 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..2a70abd3 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.1 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..fc2adf96 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.1 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..c18849c2 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.1 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..42b85a3b 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.1 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..751cb287 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.1 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..4be7bfb2 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.1 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..168c2619 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.1 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..2db69102 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.1 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..3b971fe0 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.1 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..495f49d4 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.1 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..7df94879 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.1 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..bb5a144a 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.1 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..13fb055c 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.1 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..f0012e7c 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.1 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..341cb90a 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.1 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..4c379496 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.1 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..10e2f521 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.1 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..2d1916ac 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.1 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..12b3142d 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.1 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..88fdd94f 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.1 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..d3468d8d 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.1 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..96814fe6 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.1 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..226b34f7 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.1 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..38fc38f1 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.1 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..0ab3fba1 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.1 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..d966d3b1 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.1 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..fa61ab3b 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.1 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..c2af5e05 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.1 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..2e525878 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.1 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..481f4ca3 --- /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.1 + 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..ede71d49 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.1 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..86f9cab3 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.1 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..d9eca142 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.1 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..e2988908 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.1 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..644e5c96 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.1 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..ce6ad995 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.1 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]", @@ -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..e1e217c9 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.1 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..c017e3a8 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.1 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..d6ca1b51 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.1 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..ad336d3b 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.1 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..e3c011ab 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.1 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..d4170238 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.1 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..1140a701 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.1 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..9a67b4b7 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.1 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..3a310f81 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.1 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..5463a625 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.1 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..bb30418a 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.1 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..9db93438 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.1 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..26186379 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.1 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..6a8f3ce8 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.1 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..cb8dc28a 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.1 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..4e78c4b9 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.1 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..102ee437 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.1 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..5e84ac57 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.1 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..f0150863 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.1 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..720c735c 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.1 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..8c67eff2 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.1 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..63307900 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.1 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..6933e2a5 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.1 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..6dd30c3d 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.1 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..be531cd4 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.1 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..36e2f2af 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.1 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..e9713129 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.1 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..96e6cbdf 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.1 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..fdb4c071 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.1 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..d73ce224 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.1 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..110c3b0f 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.1 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..57d70cac 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.1 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..0183d730 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.1 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..33c5d468 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.1 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..37203a6f 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.1 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..6891868c 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.1 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..b090d087 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.1 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..7267a784 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.1 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..54c79b8a 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.1 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..2285a974 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.1 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..5d6c619f 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.1 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..215b47c1 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.1 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..5b446f95 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.1 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..24457600 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.1 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..17fe639c 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.1 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..bf19e28d 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.1 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..2d9ef150 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.1 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..a36c34d8 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.1 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..8efba118 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.1 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..ccd630c9 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.1 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..4a0b6858 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.1 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..e90a5517 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.1 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..e931d92a 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.1 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..3d8916cf 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.1 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..186ba493 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.1 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..e0f459d7 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.1 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..015612f9 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.1 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..f030b07e 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.1 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..cc1c8f1a 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.1 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..6dfaa67b 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.1 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..50d369ae 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.1 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..0aa1d0f7 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.1 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..487f1ef8 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.1 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..1d0d1b75 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.1 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..23c60f0c 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.1 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..569725ba 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.1 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..6e45e95c 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.1 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..caa42e6c 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.1 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..68fcd78e 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.1 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..707a95cf 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.1 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..1560a089 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.1 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..cb4f0a95 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.1 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..0c240989 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.1 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..eac909fd 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.1 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..7ad6194b 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.1 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..6d830399 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.1 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..c4907635 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.1 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..547d298e 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.1 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..71201c66 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.1 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..505b435e 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.1 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..c7e1727d 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.1 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..6e3d8b36 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.1 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..29939012 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.1 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..d3128e45 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.1 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..47e9ed0d 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.1 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..2987cbb8 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.1 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..6d1c1229 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.1 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..c076840c 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.1 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..a9a15312 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.1 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..6fc362e4 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.1 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..27021f36 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.1 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..abfed724 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.1 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..7c6b6f6f 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.1 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..8cffc392 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.1 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..9dd68d6b 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.1 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..73e253d6 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.1 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..58a0e019 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.1 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..69f52819 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.1 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..629ed263 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.1 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..06e59122 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.1 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..b7e140e1 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.1 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..89a1a34e 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.1 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..b0441620 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.1 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..61fca6a6 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.1 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..e97ead7c 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.1 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..b02958d6 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.1 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..e12d0515 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.1 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..edc31e91 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.1 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..6d71b97a 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.1 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..04de0411 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.1 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..6cbf486f 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.1 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..0553d59a 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.1 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..6679e157 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.1 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..1d94256c 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.1 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..ec8b88d8 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.1 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..73c874e3 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.1 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..b1ad39ab 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.1 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..d0302e1f --- /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.1 + 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..5ed9ba8a 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.1 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..f2925d1d 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.1 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..ee857907 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.1 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..29b31db6 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.1 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..8c21e217 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.1 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..f555f1fa 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.1 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..c0222534 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.1 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..d3d8ee8b 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.1 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..9a873d42 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/fattureincloud_python_sdk/models/vat_type.py b/fattureincloud_python_sdk/models/vat_type.py index 0d761390..4ddd55e3 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.1 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..49fbcc8d 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.1 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..9a5f3e89 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.1 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..29f9f3be 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.1 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..ebcf7c65 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.1 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..3531fb9f 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.1 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..50f0606c 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.1 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..e1786990 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.1 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..8c1d286b 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.1 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..8656cff0 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.1 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..0fd495e9 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.1 Contact: info@fattureincloud.it Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/pyproject.toml b/pyproject.toml index fdb00b86..9c94cd59 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" 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..a203e2e9 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.1 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/test_get_tax_profile_response.py b/test/test_get_tax_profile_response.py new file mode 100644 index 00000000..228d5a09 --- /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.1 + 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..8648bae8 --- /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.1 + 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()