diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index ee4623f5..2fc9b285 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -105,6 +105,7 @@ docs/GetReceivedDocumentPreCreateInfoResponse.md docs/GetReceivedDocumentResponse.md docs/GetSupplierResponse.md docs/GetTaxProfileResponse.md +docs/GetTemplatesResponse.md docs/GetUserInfoResponse.md docs/GetUserInfoResponseEmailConfirmationState.md docs/GetUserInfoResponseInfo.md @@ -246,6 +247,7 @@ docs/SupplierType.md docs/SuppliersApi.md docs/TaxProfile.md docs/TaxesApi.md +docs/TemplateType.md docs/TransformIssuedDocumentResponse.md docs/UploadArchiveAttachmentResponse.md docs/UploadF24AttachmentResponse.md @@ -291,6 +293,7 @@ lib/fattureincloud_ruby_sdk/api/user_api.rb lib/fattureincloud_ruby_sdk/api/webhooks_api.rb lib/fattureincloud_ruby_sdk/api_client.rb lib/fattureincloud_ruby_sdk/api_error.rb +lib/fattureincloud_ruby_sdk/api_model_base.rb lib/fattureincloud_ruby_sdk/configuration.rb lib/fattureincloud_ruby_sdk/models/archive_document.rb lib/fattureincloud_ruby_sdk/models/attachment_data.rb @@ -389,6 +392,7 @@ lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_respons lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb +lib/fattureincloud_ruby_sdk/models/get_templates_response.rb lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb @@ -520,6 +524,7 @@ lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb lib/fattureincloud_ruby_sdk/models/supplier.rb lib/fattureincloud_ruby_sdk/models/supplier_type.rb lib/fattureincloud_ruby_sdk/models/tax_profile.rb +lib/fattureincloud_ruby_sdk/models/template_type.rb lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb @@ -543,20 +548,6 @@ lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb lib/fattureincloud_ruby_sdk/models/webhooks_subscription_verification_method.rb lib/fattureincloud_ruby_sdk/version.rb -spec/api/price_lists_api_spec.rb -spec/models/entity_client_pre_create_info_spec.rb -spec/models/get_bin_issued_document_response_spec.rb -spec/models/get_bin_received_document_response_spec.rb -spec/models/get_entity_client_pre_create_info_response_spec.rb -spec/models/get_price_list_items_response_spec.rb -spec/models/list_bin_issued_documents_spec.rb -spec/models/list_bin_received_documents_spec.rb -spec/models/list_price_lists_response_spec.rb -spec/models/price_list_item_spec.rb -spec/models/price_list_prices_type_spec.rb -spec/models/price_list_spec.rb -spec/models/price_list_type_spec.rb -spec/models/verify_webhooks_subscription_request_spec.rb -spec/models/verify_webhooks_subscription_spec.rb -spec/models/webhooks_subscription_verification_method_spec.rb +spec/models/get_templates_response_spec.rb +spec/models/template_type_spec.rb spec/spec_helper.rb diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 5f84a81d..6328c542 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.12.0 +7.17.0 diff --git a/.travis.yml b/.travis.yml index 530fd08b..c13c38fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - bundle install --path vendor/bundle - bundle exec rspec - gem build fattureincloud_ruby_sdk.gemspec - - gem install ./fattureincloud_ruby_sdk-2.1.2.gem + - gem install ./fattureincloud_ruby_sdk-2.1.3.gem diff --git a/README.md b/README.md index 9f22a282..0344f31c 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2.1.5 -- Package version: 2.1.2 +- API version: 2.1.6 +- Package version: 2.1.3 - Build package: org.openapitools.codegen.languages.RubyClientCodegen @@ -90,6 +90,7 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_cost_centers**](docs/InfoApi.md#list_cost_centers) | **GET** /c/{company_id}/info/cost_centers | List Cost Centers *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_countries**](docs/InfoApi.md#list_countries) | **GET** /info/countries | List Countries *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_currencies**](docs/InfoApi.md#list_currencies) | **GET** /info/currencies | List Currencies +*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_default_templates**](docs/InfoApi.md#list_default_templates) | **GET** /info/templates | List Default Templates *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_delivery_notes_default_causals**](docs/InfoApi.md#list_delivery_notes_default_causals) | **GET** /info/dn_causals | List Delivery Notes Default Causals *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_detailed_countries**](docs/InfoApi.md#list_detailed_countries) | **GET** /info/detailed_countries | List Detailed Countries *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_languages**](docs/InfoApi.md#list_languages) | **GET** /info/languages | List Languages @@ -98,11 +99,10 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_product_categories**](docs/InfoApi.md#list_product_categories) | **GET** /c/{company_id}/info/product_categories | List Product Categories *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_received_document_categories**](docs/InfoApi.md#list_received_document_categories) | **GET** /c/{company_id}/info/received_document_categories | List Received Document Categories *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_revenue_centers**](docs/InfoApi.md#list_revenue_centers) | **GET** /c/{company_id}/info/revenue_centers | List Revenue Centers -*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_templates**](docs/InfoApi.md#list_templates) | **GET** /info/templates | List Templates *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_units_of_measure**](docs/InfoApi.md#list_units_of_measure) | **GET** /info/measures | List Units of Measure *FattureInCloud_Ruby_Sdk::InfoApi* | [**list_vat_types**](docs/InfoApi.md#list_vat_types) | **GET** /c/{company_id}/info/vat_types | List Vat Types *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**create_issued_document**](docs/IssuedDocumentsApi.md#create_issued_document) | **POST** /c/{company_id}/issued_documents | Create Issued Document -*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**delete_bin_issued_document**](docs/IssuedDocumentsApi.md#delete_bin_issued_document) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | +*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**delete_bin_issued_document**](docs/IssuedDocumentsApi.md#delete_bin_issued_document) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | Delete Bin Issued Document *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**delete_issued_document**](docs/IssuedDocumentsApi.md#delete_issued_document) | **DELETE** /c/{company_id}/issued_documents/{document_id} | Delete Issued Document *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**delete_issued_document_attachment**](docs/IssuedDocumentsApi.md#delete_issued_document_attachment) | **DELETE** /c/{company_id}/issued_documents/{document_id}/attachment | Delete Issued Document Attachment *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**get_bin_issued_document**](docs/IssuedDocumentsApi.md#get_bin_issued_document) | **GET** /c/{company_id}/bin/issued_documents/{document_id} | Get Bin Issued Documents List @@ -115,7 +115,7 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**list_bin_issued_documents**](docs/IssuedDocumentsApi.md#list_bin_issued_documents) | **GET** /c/{company_id}/bin/issued_documents | Get Bin Issued Documents List *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**list_issued_documents**](docs/IssuedDocumentsApi.md#list_issued_documents) | **GET** /c/{company_id}/issued_documents | List Issued Documents *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**modify_issued_document**](docs/IssuedDocumentsApi.md#modify_issued_document) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document -*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**recover_bin_issued_document**](docs/IssuedDocumentsApi.md#recover_bin_issued_document) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | +*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**recover_bin_issued_document**](docs/IssuedDocumentsApi.md#recover_bin_issued_document) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | Recover Issued Document From The Bin *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**schedule_email**](docs/IssuedDocumentsApi.md#schedule_email) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**transform_issued_document**](docs/IssuedDocumentsApi.md#transform_issued_document) | **GET** /c/{company_id}/issued_documents/transform | Transform Issued Document *FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**upload_issued_document_attachment**](docs/IssuedDocumentsApi.md#upload_issued_document_attachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment @@ -138,7 +138,7 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::ReceiptsApi* | [**list_receipts**](docs/ReceiptsApi.md#list_receipts) | **GET** /c/{company_id}/receipts | List Receipts *FattureInCloud_Ruby_Sdk::ReceiptsApi* | [**modify_receipt**](docs/ReceiptsApi.md#modify_receipt) | **PUT** /c/{company_id}/receipts/{document_id} | Modify Receipt *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**create_received_document**](docs/ReceivedDocumentsApi.md#create_received_document) | **POST** /c/{company_id}/received_documents | Create Received Document -*FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**delete_bin_received_document**](docs/ReceivedDocumentsApi.md#delete_bin_received_document) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | +*FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**delete_bin_received_document**](docs/ReceivedDocumentsApi.md#delete_bin_received_document) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | Delete Bin Received Document *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**delete_received_document**](docs/ReceivedDocumentsApi.md#delete_received_document) | **DELETE** /c/{company_id}/received_documents/{document_id} | Delete Received Document *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**delete_received_document_attachment**](docs/ReceivedDocumentsApi.md#delete_received_document_attachment) | **DELETE** /c/{company_id}/received_documents/{document_id}/attachment | Delete Received Document Attachment *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**get_bin_received_document**](docs/ReceivedDocumentsApi.md#get_bin_received_document) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List @@ -149,7 +149,7 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**list_bin_received_documents**](docs/ReceivedDocumentsApi.md#list_bin_received_documents) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**list_received_documents**](docs/ReceivedDocumentsApi.md#list_received_documents) | **GET** /c/{company_id}/received_documents | List Received Documents *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**modify_received_document**](docs/ReceivedDocumentsApi.md#modify_received_document) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document -*FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**recover_bin_received_document**](docs/ReceivedDocumentsApi.md#recover_bin_received_document) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | +*FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**recover_bin_received_document**](docs/ReceivedDocumentsApi.md#recover_bin_received_document) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | Recover Received Document From The Bin *FattureInCloud_Ruby_Sdk::ReceivedDocumentsApi* | [**upload_received_document_attachment**](docs/ReceivedDocumentsApi.md#upload_received_document_attachment) | **POST** /c/{company_id}/received_documents/attachment | Upload Received Document Attachment *FattureInCloud_Ruby_Sdk::SettingsApi* | [**create_payment_account**](docs/SettingsApi.md#create_payment_account) | **POST** /c/{company_id}/settings/payment_accounts | Create Payment Account *FattureInCloud_Ruby_Sdk::SettingsApi* | [**create_payment_method**](docs/SettingsApi.md#create_payment_method) | **POST** /c/{company_id}/settings/payment_methods | Create Payment Method @@ -160,7 +160,9 @@ Class | Method | HTTP request | Description *FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_payment_account**](docs/SettingsApi.md#get_payment_account) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account *FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_payment_method**](docs/SettingsApi.md#get_payment_method) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method *FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_tax_profile**](docs/SettingsApi.md#get_tax_profile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile +*FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_template**](docs/SettingsApi.md#get_template) | **GET** /c/{company_id}/settings/templates/{template_id} | Get Template *FattureInCloud_Ruby_Sdk::SettingsApi* | [**get_vat_type**](docs/SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type +*FattureInCloud_Ruby_Sdk::SettingsApi* | [**list_templates**](docs/SettingsApi.md#list_templates) | **GET** /c/{company_id}/settings/templates | List Templates *FattureInCloud_Ruby_Sdk::SettingsApi* | [**modify_payment_account**](docs/SettingsApi.md#modify_payment_account) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account *FattureInCloud_Ruby_Sdk::SettingsApi* | [**modify_payment_method**](docs/SettingsApi.md#modify_payment_method) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method *FattureInCloud_Ruby_Sdk::SettingsApi* | [**modify_vat_type**](docs/SettingsApi.md#modify_vat_type) | **PUT** /c/{company_id}/settings/vat_types/{vat_type_id} | Modify Vat Type @@ -285,6 +287,7 @@ Class | Method | HTTP request | Description - [FattureInCloud_Ruby_Sdk::GetReceivedDocumentResponse](docs/GetReceivedDocumentResponse.md) - [FattureInCloud_Ruby_Sdk::GetSupplierResponse](docs/GetSupplierResponse.md) - [FattureInCloud_Ruby_Sdk::GetTaxProfileResponse](docs/GetTaxProfileResponse.md) + - [FattureInCloud_Ruby_Sdk::GetTemplatesResponse](docs/GetTemplatesResponse.md) - [FattureInCloud_Ruby_Sdk::GetUserInfoResponse](docs/GetUserInfoResponse.md) - [FattureInCloud_Ruby_Sdk::GetUserInfoResponseEmailConfirmationState](docs/GetUserInfoResponseEmailConfirmationState.md) - [FattureInCloud_Ruby_Sdk::GetUserInfoResponseInfo](docs/GetUserInfoResponseInfo.md) @@ -416,6 +419,7 @@ Class | Method | HTTP request | Description - [FattureInCloud_Ruby_Sdk::Supplier](docs/Supplier.md) - [FattureInCloud_Ruby_Sdk::SupplierType](docs/SupplierType.md) - [FattureInCloud_Ruby_Sdk::TaxProfile](docs/TaxProfile.md) + - [FattureInCloud_Ruby_Sdk::TemplateType](docs/TemplateType.md) - [FattureInCloud_Ruby_Sdk::TransformIssuedDocumentResponse](docs/TransformIssuedDocumentResponse.md) - [FattureInCloud_Ruby_Sdk::UploadArchiveAttachmentResponse](docs/UploadArchiveAttachmentResponse.md) - [FattureInCloud_Ruby_Sdk::UploadF24AttachmentResponse](docs/UploadF24AttachmentResponse.md) diff --git a/docs/CompanyInfoPlanInfoFunctions.md b/docs/CompanyInfoPlanInfoFunctions.md index ebb79595..c90e084b 100644 --- a/docs/CompanyInfoPlanInfoFunctions.md +++ b/docs/CompanyInfoPlanInfoFunctions.md @@ -15,7 +15,6 @@ | **receipts** | **Boolean** | | [optional] | | **recurring** | **Boolean** | | [optional] | | **smtp** | **Boolean** | | [optional] | -| **sofort** | **Boolean** | | [optional] | | **stock** | **Boolean** | | [optional] | | **subaccounts** | **Boolean** | | [optional] | | **tessera_sanitaria** | **Boolean** | | [optional] | diff --git a/docs/DocumentTemplate.md b/docs/DocumentTemplate.md index 75d108e8..b23aba74 100644 --- a/docs/DocumentTemplate.md +++ b/docs/DocumentTemplate.md @@ -5,6 +5,11 @@ | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **id** | **Integer** | Template id | [optional] | +| **privacy** | **String** | Template privacy | [optional] | +| **type** | [**TemplateType**](TemplateType.md) | | [optional] | | **name** | **String** | Template name | [optional] | -| **type** | **String** | Template type | [optional] | +| **can_disable_watermark** | **Boolean** | Can disable watermark | [optional] | +| **author** | **String** | Template author | [optional] | +| **content** | **String** | Template definition content | [optional] | +| **supports_custom_taxable** | **Boolean** | Supports custom taxable | [optional] | diff --git a/docs/GetTemplatesResponse.md b/docs/GetTemplatesResponse.md new file mode 100644 index 00000000..8efebb69 --- /dev/null +++ b/docs/GetTemplatesResponse.md @@ -0,0 +1,8 @@ +# FattureInCloud_Ruby_Sdk::GetTemplatesResponse + +## Properties + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **data** | [**DocumentTemplate**](DocumentTemplate.md) | | [optional] | + diff --git a/docs/InfoApi.md b/docs/InfoApi.md index 427c67d3..e2e3a8c5 100644 --- a/docs/InfoApi.md +++ b/docs/InfoApi.md @@ -9,6 +9,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**list_cost_centers**](InfoApi.md#list_cost_centers) | **GET** /c/{company_id}/info/cost_centers | List Cost Centers | | [**list_countries**](InfoApi.md#list_countries) | **GET** /info/countries | List Countries | | [**list_currencies**](InfoApi.md#list_currencies) | **GET** /info/currencies | List Currencies | +| [**list_default_templates**](InfoApi.md#list_default_templates) | **GET** /info/templates | List Default Templates | | [**list_delivery_notes_default_causals**](InfoApi.md#list_delivery_notes_default_causals) | **GET** /info/dn_causals | List Delivery Notes Default Causals | | [**list_detailed_countries**](InfoApi.md#list_detailed_countries) | **GET** /info/detailed_countries | List Detailed Countries | | [**list_languages**](InfoApi.md#list_languages) | **GET** /info/languages | List Languages | @@ -17,7 +18,6 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**list_product_categories**](InfoApi.md#list_product_categories) | **GET** /c/{company_id}/info/product_categories | List Product Categories | | [**list_received_document_categories**](InfoApi.md#list_received_document_categories) | **GET** /c/{company_id}/info/received_document_categories | List Received Document Categories | | [**list_revenue_centers**](InfoApi.md#list_revenue_centers) | **GET** /c/{company_id}/info/revenue_centers | List Revenue Centers | -| [**list_templates**](InfoApi.md#list_templates) | **GET** /info/templates | List Templates | | [**list_units_of_measure**](InfoApi.md#list_units_of_measure) | **GET** /info/measures | List Units of Measure | | [**list_vat_types**](InfoApi.md#list_vat_types) | **GET** /c/{company_id}/info/vat_types | List Vat Types | @@ -365,6 +365,79 @@ This endpoint does not need any parameter. - **Accept**: application/json +## list_default_templates + +> list_default_templates(opts) + +List Default Templates + +Lists the default available templates. + +### Examples + +```ruby +require 'time' +require 'fattureincloud_ruby_sdk' +# setup authorization +FattureInCloud_Ruby_Sdk.configure do |config| + # Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.access_token = 'YOUR ACCESS TOKEN' +end + +api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new +opts = { + type: 'all', # String | Type of the templates. + by_type: true # Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type. +} + +begin + # List Default Templates + result = api_instance.list_default_templates(opts) + p result +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling InfoApi->list_default_templates: #{e}" +end +``` + +#### Using the list_default_templates_with_http_info variant + +This returns an Array which contains the response data, status code and headers. + +> , Integer, Hash)> list_default_templates_with_http_info(opts) + +```ruby +begin + # List Default Templates + data, status_code, headers = api_instance.list_default_templates_with_http_info(opts) + p status_code # => 2xx + p headers # => { ... } + p data # => +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling InfoApi->list_default_templates_with_http_info: #{e}" +end +``` + +### Parameters + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **type** | **String** | Type of the templates. | [optional][default to 'all'] | +| **by_type** | **Boolean** | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional][default to false] | + +### Return type + +[**ListTemplatesResponse**](ListTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + ## list_delivery_notes_default_causals > list_delivery_notes_default_causals @@ -926,79 +999,6 @@ end - **Accept**: application/json -## list_templates - -> list_templates(opts) - -List Templates - -Lists the available templates. - -### Examples - -```ruby -require 'time' -require 'fattureincloud_ruby_sdk' -# setup authorization -FattureInCloud_Ruby_Sdk.configure do |config| - # Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow - config.access_token = 'YOUR ACCESS TOKEN' -end - -api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new -opts = { - type: 'all', # String | Type of the templates. - by_type: true # Boolean | [Only if type=all] If true, splits the list in objects, grouping templates by type. -} - -begin - # List Templates - result = api_instance.list_templates(opts) - p result -rescue FattureInCloud_Ruby_Sdk::ApiError => e - puts "Error when calling InfoApi->list_templates: #{e}" -end -``` - -#### Using the list_templates_with_http_info variant - -This returns an Array which contains the response data, status code and headers. - -> , Integer, Hash)> list_templates_with_http_info(opts) - -```ruby -begin - # List Templates - data, status_code, headers = api_instance.list_templates_with_http_info(opts) - p status_code # => 2xx - p headers # => { ... } - p data # => -rescue FattureInCloud_Ruby_Sdk::ApiError => e - puts "Error when calling InfoApi->list_templates_with_http_info: #{e}" -end -``` - -### Parameters - -| Name | Type | Description | Notes | -| ---- | ---- | ----------- | ----- | -| **type** | **String** | Type of the templates. | [optional][default to 'all'] | -| **by_type** | **Boolean** | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional][default to false] | - -### Return type - -[**ListTemplatesResponse**](ListTemplatesResponse.md) - -### Authorization - -[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - ## list_units_of_measure > list_units_of_measure diff --git a/docs/IssuedDocumentsApi.md b/docs/IssuedDocumentsApi.md index b57731ed..d5d7aa38 100644 --- a/docs/IssuedDocumentsApi.md +++ b/docs/IssuedDocumentsApi.md @@ -5,7 +5,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | Method | HTTP request | Description | | ------ | ------------ | ----------- | | [**create_issued_document**](IssuedDocumentsApi.md#create_issued_document) | **POST** /c/{company_id}/issued_documents | Create Issued Document | -| [**delete_bin_issued_document**](IssuedDocumentsApi.md#delete_bin_issued_document) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | | +| [**delete_bin_issued_document**](IssuedDocumentsApi.md#delete_bin_issued_document) | **DELETE** /c/{company_id}/bin/issued_documents/{document_id} | Delete Bin Issued Document | | [**delete_issued_document**](IssuedDocumentsApi.md#delete_issued_document) | **DELETE** /c/{company_id}/issued_documents/{document_id} | Delete Issued Document | | [**delete_issued_document_attachment**](IssuedDocumentsApi.md#delete_issued_document_attachment) | **DELETE** /c/{company_id}/issued_documents/{document_id}/attachment | Delete Issued Document Attachment | | [**get_bin_issued_document**](IssuedDocumentsApi.md#get_bin_issued_document) | **GET** /c/{company_id}/bin/issued_documents/{document_id} | Get Bin Issued Documents List | @@ -18,7 +18,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**list_bin_issued_documents**](IssuedDocumentsApi.md#list_bin_issued_documents) | **GET** /c/{company_id}/bin/issued_documents | Get Bin Issued Documents List | | [**list_issued_documents**](IssuedDocumentsApi.md#list_issued_documents) | **GET** /c/{company_id}/issued_documents | List Issued Documents | | [**modify_issued_document**](IssuedDocumentsApi.md#modify_issued_document) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document | -| [**recover_bin_issued_document**](IssuedDocumentsApi.md#recover_bin_issued_document) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | | +| [**recover_bin_issued_document**](IssuedDocumentsApi.md#recover_bin_issued_document) | **POST** /c/{company_id}/bin/issued_documents/{document_id}/recover | Recover Issued Document From The Bin | | [**schedule_email**](IssuedDocumentsApi.md#schedule_email) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email | | [**transform_issued_document**](IssuedDocumentsApi.md#transform_issued_document) | **GET** /c/{company_id}/issued_documents/transform | Transform Issued Document | | [**upload_issued_document_attachment**](IssuedDocumentsApi.md#upload_issued_document_attachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment | @@ -101,7 +101,7 @@ end > delete_bin_issued_document(company_id, document_id) - +Delete Bin Issued Document Delete Bin Issued Document @@ -121,7 +121,7 @@ company_id = 12345 # Integer | The ID of the company. document_id = 56 # Integer | The ID of the document. begin - # + # Delete Bin Issued Document api_instance.delete_bin_issued_document(company_id, document_id) rescue FattureInCloud_Ruby_Sdk::ApiError => e puts "Error when calling IssuedDocumentsApi->delete_bin_issued_document: #{e}" @@ -136,7 +136,7 @@ This returns an Array which contains the response data (`nil` in this case), sta ```ruby begin - # + # Delete Bin Issued Document data, status_code, headers = api_instance.delete_bin_issued_document_with_http_info(company_id, document_id) p status_code # => 2xx p headers # => { ... } @@ -1057,7 +1057,7 @@ end > recover_bin_issued_document(company_id, document_id) - +Recover Issued Document From The Bin Recover Issued Document From The Bin @@ -1077,7 +1077,7 @@ company_id = 12345 # Integer | The ID of the company. document_id = 56 # Integer | The ID of the document. begin - # + # Recover Issued Document From The Bin api_instance.recover_bin_issued_document(company_id, document_id) rescue FattureInCloud_Ruby_Sdk::ApiError => e puts "Error when calling IssuedDocumentsApi->recover_bin_issued_document: #{e}" @@ -1092,7 +1092,7 @@ This returns an Array which contains the response data (`nil` in this case), sta ```ruby begin - # + # Recover Issued Document From The Bin data, status_code, headers = api_instance.recover_bin_issued_document_with_http_info(company_id, document_id) p status_code # => 2xx p headers # => { ... } diff --git a/docs/PriceListsApi.md b/docs/PriceListsApi.md index 9749a705..4e1e6964 100644 --- a/docs/PriceListsApi.md +++ b/docs/PriceListsApi.md @@ -29,7 +29,7 @@ end api_instance = FattureInCloud_Ruby_Sdk::PriceListsApi.new company_id = 12345 # Integer | The ID of the company. -price_list_id = 'price_list_id_example' # String | +price_list_id = 'price_list_id_example' # String | The ID of the price begin # Get PriceList Items List @@ -63,7 +63,7 @@ end | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **company_id** | **Integer** | The ID of the company. | | -| **price_list_id** | **String** | | | +| **price_list_id** | **String** | The ID of the price | | ### Return type diff --git a/docs/ReceivedDocumentsApi.md b/docs/ReceivedDocumentsApi.md index 11cbb8ad..ab7c0077 100644 --- a/docs/ReceivedDocumentsApi.md +++ b/docs/ReceivedDocumentsApi.md @@ -5,7 +5,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | Method | HTTP request | Description | | ------ | ------------ | ----------- | | [**create_received_document**](ReceivedDocumentsApi.md#create_received_document) | **POST** /c/{company_id}/received_documents | Create Received Document | -| [**delete_bin_received_document**](ReceivedDocumentsApi.md#delete_bin_received_document) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | | +| [**delete_bin_received_document**](ReceivedDocumentsApi.md#delete_bin_received_document) | **DELETE** /c/{company_id}/bin/received_documents/{document_id} | Delete Bin Received Document | | [**delete_received_document**](ReceivedDocumentsApi.md#delete_received_document) | **DELETE** /c/{company_id}/received_documents/{document_id} | Delete Received Document | | [**delete_received_document_attachment**](ReceivedDocumentsApi.md#delete_received_document_attachment) | **DELETE** /c/{company_id}/received_documents/{document_id}/attachment | Delete Received Document Attachment | | [**get_bin_received_document**](ReceivedDocumentsApi.md#get_bin_received_document) | **GET** /c/{company_id}/bin/received_documents/{document_id} | Get Bin Received Documents List | @@ -16,7 +16,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**list_bin_received_documents**](ReceivedDocumentsApi.md#list_bin_received_documents) | **GET** /c/{company_id}/bin/received_documents | Get Bin Received Documents List | | [**list_received_documents**](ReceivedDocumentsApi.md#list_received_documents) | **GET** /c/{company_id}/received_documents | List Received Documents | | [**modify_received_document**](ReceivedDocumentsApi.md#modify_received_document) | **PUT** /c/{company_id}/received_documents/{document_id} | Modify Received Document | -| [**recover_bin_received_document**](ReceivedDocumentsApi.md#recover_bin_received_document) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | | +| [**recover_bin_received_document**](ReceivedDocumentsApi.md#recover_bin_received_document) | **POST** /c/{company_id}/bin/received_documents/{document_id}/recover | Recover Received Document From The Bin | | [**upload_received_document_attachment**](ReceivedDocumentsApi.md#upload_received_document_attachment) | **POST** /c/{company_id}/received_documents/attachment | Upload Received Document Attachment | @@ -97,7 +97,7 @@ end > delete_bin_received_document(company_id, document_id) - +Delete Bin Received Document Delete Bin Received Document @@ -117,7 +117,7 @@ company_id = 12345 # Integer | The ID of the company. document_id = 56 # Integer | The ID of the document. begin - # + # Delete Bin Received Document api_instance.delete_bin_received_document(company_id, document_id) rescue FattureInCloud_Ruby_Sdk::ApiError => e puts "Error when calling ReceivedDocumentsApi->delete_bin_received_document: #{e}" @@ -132,7 +132,7 @@ This returns an Array which contains the response data (`nil` in this case), sta ```ruby begin - # + # Delete Bin Received Document data, status_code, headers = api_instance.delete_bin_received_document_with_http_info(company_id, document_id) p status_code # => 2xx p headers # => { ... } @@ -903,7 +903,7 @@ end > recover_bin_received_document(company_id, document_id) - +Recover Received Document From The Bin Recover Received Document From The Bin @@ -923,7 +923,7 @@ company_id = 12345 # Integer | The ID of the company. document_id = 56 # Integer | The ID of the document. begin - # + # Recover Received Document From The Bin api_instance.recover_bin_received_document(company_id, document_id) rescue FattureInCloud_Ruby_Sdk::ApiError => e puts "Error when calling ReceivedDocumentsApi->recover_bin_received_document: #{e}" @@ -938,7 +938,7 @@ This returns an Array which contains the response data (`nil` in this case), sta ```ruby begin - # + # Recover Received Document From The Bin data, status_code, headers = api_instance.recover_bin_received_document_with_http_info(company_id, document_id) p status_code # => 2xx p headers # => { ... } diff --git a/docs/SettingsApi.md b/docs/SettingsApi.md index 504cca89..904d5560 100644 --- a/docs/SettingsApi.md +++ b/docs/SettingsApi.md @@ -13,7 +13,9 @@ All URIs are relative to *https://api-v2.fattureincloud.it* | [**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_template**](SettingsApi.md#get_template) | **GET** /c/{company_id}/settings/templates/{template_id} | Get Template | | [**get_vat_type**](SettingsApi.md#get_vat_type) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type | +| [**list_templates**](SettingsApi.md#list_templates) | **GET** /c/{company_id}/settings/templates | List Templates | | [**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 | | [**modify_vat_type**](SettingsApi.md#modify_vat_type) | **PUT** /c/{company_id}/settings/vat_types/{vat_type_id} | Modify Vat Type | @@ -671,6 +673,83 @@ end - **Accept**: application/json +## get_template + +> get_template(company_id, template_id, opts) + +Get Template + +Gets a specified template. + +### Examples + +```ruby +require 'time' +require 'fattureincloud_ruby_sdk' +# setup authorization +FattureInCloud_Ruby_Sdk.configure do |config| + # Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.access_token = 'YOUR ACCESS TOKEN' +end + +api_instance = FattureInCloud_Ruby_Sdk::SettingsApi.new +company_id = 12345 # Integer | The ID of the company. +template_id = 56 # Integer | The Referred Template Id. +opts = { + fields: 'fields_example', # String | List of comma-separated fields. + fieldset: 'basic' # String | Name of the fieldset. +} + +begin + # Get Template + result = api_instance.get_template(company_id, template_id, opts) + p result +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling SettingsApi->get_template: #{e}" +end +``` + +#### Using the get_template_with_http_info variant + +This returns an Array which contains the response data, status code and headers. + +> , Integer, Hash)> get_template_with_http_info(company_id, template_id, opts) + +```ruby +begin + # Get Template + data, status_code, headers = api_instance.get_template_with_http_info(company_id, template_id, opts) + p status_code # => 2xx + p headers # => { ... } + p data # => +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling SettingsApi->get_template_with_http_info: #{e}" +end +``` + +### Parameters + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **company_id** | **Integer** | The ID of the company. | | +| **template_id** | **Integer** | The Referred Template Id. | | +| **fields** | **String** | List of comma-separated fields. | [optional] | +| **fieldset** | **String** | Name of the fieldset. | [optional] | + +### Return type + +[**GetTemplatesResponse**](GetTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + ## get_vat_type > get_vat_type(company_id, vat_type_id) @@ -742,6 +821,81 @@ end - **Accept**: application/json +## list_templates + +> list_templates(company_id, opts) + +List Templates + +Gets all the standard and private templates. + +### Examples + +```ruby +require 'time' +require 'fattureincloud_ruby_sdk' +# setup authorization +FattureInCloud_Ruby_Sdk.configure do |config| + # Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow + config.access_token = 'YOUR ACCESS TOKEN' +end + +api_instance = FattureInCloud_Ruby_Sdk::SettingsApi.new +company_id = 12345 # Integer | The ID of the company. +opts = { + fields: 'fields_example', # String | List of comma-separated fields. + fieldset: 'basic' # String | Name of the fieldset. +} + +begin + # List Templates + result = api_instance.list_templates(company_id, opts) + p result +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling SettingsApi->list_templates: #{e}" +end +``` + +#### Using the list_templates_with_http_info variant + +This returns an Array which contains the response data, status code and headers. + +> , Integer, Hash)> list_templates_with_http_info(company_id, opts) + +```ruby +begin + # List Templates + data, status_code, headers = api_instance.list_templates_with_http_info(company_id, opts) + p status_code # => 2xx + p headers # => { ... } + p data # => +rescue FattureInCloud_Ruby_Sdk::ApiError => e + puts "Error when calling SettingsApi->list_templates_with_http_info: #{e}" +end +``` + +### Parameters + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **company_id** | **Integer** | The ID of the company. | | +| **fields** | **String** | List of comma-separated fields. | [optional] | +| **fieldset** | **String** | Name of the fieldset. | [optional] | + +### Return type + +[**ListTemplatesResponse**](ListTemplatesResponse.md) + +### Authorization + +[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + ## modify_payment_account > modify_payment_account(company_id, payment_account_id, opts) diff --git a/docs/TemplateType.md b/docs/TemplateType.md new file mode 100644 index 00000000..75495523 --- /dev/null +++ b/docs/TemplateType.md @@ -0,0 +1,7 @@ +# FattureInCloud_Ruby_Sdk::TemplateType + +## Properties + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | + diff --git a/fattureincloud_ruby_sdk.gemspec b/fattureincloud_ruby_sdk.gemspec index 67c6abd3..0d9772de 100644 --- a/fattureincloud_ruby_sdk.gemspec +++ b/fattureincloud_ruby_sdk.gemspec @@ -5,11 +5,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 - +Generator version: 7.17.0 =end $:.push File.expand_path("../lib", __FILE__) diff --git a/lib/fattureincloud_ruby_sdk.rb b/lib/fattureincloud_ruby_sdk.rb index 4027d3fe..473e03e9 100644 --- a/lib/fattureincloud_ruby_sdk.rb +++ b/lib/fattureincloud_ruby_sdk.rb @@ -3,11 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 - +Generator version: 7.17.0 =end # Common files @@ -114,6 +113,7 @@ require 'fattureincloud_ruby_sdk/models/get_received_document_response' require 'fattureincloud_ruby_sdk/models/get_supplier_response' require 'fattureincloud_ruby_sdk/models/get_tax_profile_response' +require 'fattureincloud_ruby_sdk/models/get_templates_response' require 'fattureincloud_ruby_sdk/models/get_user_info_response' require 'fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state' require 'fattureincloud_ruby_sdk/models/get_user_info_response_info' @@ -245,6 +245,7 @@ require 'fattureincloud_ruby_sdk/models/supplier' require 'fattureincloud_ruby_sdk/models/supplier_type' require 'fattureincloud_ruby_sdk/models/tax_profile' +require 'fattureincloud_ruby_sdk/models/template_type' require 'fattureincloud_ruby_sdk/models/transform_issued_document_response' require 'fattureincloud_ruby_sdk/models/upload_archive_attachment_response' require 'fattureincloud_ruby_sdk/models/upload_f24_attachment_response' diff --git a/lib/fattureincloud_ruby_sdk/api/archive_api.rb b/lib/fattureincloud_ruby_sdk/api/archive_api.rb index 59ccbb0a..ee1d69f6 100644 --- a/lib/fattureincloud_ruby_sdk/api/archive_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/archive_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb b/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb index 729b2508..5e44c416 100644 --- a/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/clients_api.rb b/lib/fattureincloud_ruby_sdk/api/clients_api.rb index 6207c050..e2730242 100644 --- a/lib/fattureincloud_ruby_sdk/api/clients_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/clients_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/companies_api.rb b/lib/fattureincloud_ruby_sdk/api/companies_api.rb index 6d014d98..0dce7807 100644 --- a/lib/fattureincloud_ruby_sdk/api/companies_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/companies_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/emails_api.rb b/lib/fattureincloud_ruby_sdk/api/emails_api.rb index 7852b2fe..f23aebc7 100644 --- a/lib/fattureincloud_ruby_sdk/api/emails_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/emails_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/info_api.rb b/lib/fattureincloud_ruby_sdk/api/info_api.rb index 6ef706a9..a7590642 100644 --- a/lib/fattureincloud_ruby_sdk/api/info_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/info_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -322,6 +322,73 @@ def list_currencies_with_http_info(opts = {}) return data, status_code, headers end + # List Default Templates + # Lists the default available templates. + # @param [Hash] opts the optional parameters + # @option opts [String] :type Type of the templates. (default to 'all') + # @option opts [Boolean] :by_type [Only if type=all] If true, splits the list in objects, grouping templates by type. (default to false) + # @return [ListTemplatesResponse] + def list_default_templates(opts = {}) + data, _status_code, _headers = list_default_templates_with_http_info(opts) + data + end + + # List Default Templates + # Lists the default available templates. + # @param [Hash] opts the optional parameters + # @option opts [String] :type Type of the templates. (default to 'all') + # @option opts [Boolean] :by_type [Only if type=all] If true, splits the list in objects, grouping templates by type. (default to false) + # @return [Array<(ListTemplatesResponse, Integer, Hash)>] ListTemplatesResponse data, response status code and response headers + def list_default_templates_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: InfoApi.list_default_templates ...' + end + allowable_values = ["all", "standard", "delivery_note", "accompanying_invoice"] + if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type']) + fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}" + end + # resource path + local_var_path = '/info/templates' + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil? + query_params[:'by_type'] = opts[:'by_type'] if !opts[:'by_type'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'ListTemplatesResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['OAuth2AuthenticationCodeFlow'] + + new_options = opts.merge( + :operation => :"InfoApi.list_default_templates", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: InfoApi#list_default_templates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # List Delivery Notes Default Causals # Lists the delivery note default causals. # @param [Hash] opts the optional parameters @@ -846,73 +913,6 @@ def list_revenue_centers_with_http_info(company_id, opts = {}) return data, status_code, headers end - # List Templates - # Lists the available templates. - # @param [Hash] opts the optional parameters - # @option opts [String] :type Type of the templates. (default to 'all') - # @option opts [Boolean] :by_type [Only if type=all] If true, splits the list in objects, grouping templates by type. (default to false) - # @return [ListTemplatesResponse] - def list_templates(opts = {}) - data, _status_code, _headers = list_templates_with_http_info(opts) - data - end - - # List Templates - # Lists the available templates. - # @param [Hash] opts the optional parameters - # @option opts [String] :type Type of the templates. (default to 'all') - # @option opts [Boolean] :by_type [Only if type=all] If true, splits the list in objects, grouping templates by type. (default to false) - # @return [Array<(ListTemplatesResponse, Integer, Hash)>] ListTemplatesResponse data, response status code and response headers - def list_templates_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: InfoApi.list_templates ...' - end - allowable_values = ["all", "standard", "delivery_note", "accompanying_invoice"] - if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type']) - fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}" - end - # resource path - local_var_path = '/info/templates' - - # query parameters - query_params = opts[:query_params] || {} - query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil? - query_params[:'by_type'] = opts[:'by_type'] if !opts[:'by_type'].nil? - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] - - # return_type - return_type = opts[:debug_return_type] || 'ListTemplatesResponse' - - # auth_names - auth_names = opts[:debug_auth_names] || ['OAuth2AuthenticationCodeFlow'] - - new_options = opts.merge( - :operation => :"InfoApi.list_templates", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: InfoApi#list_templates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # List Units of Measure # Lists the units of measure. # @param [Hash] opts the optional parameters diff --git a/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb b/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb index 9fb98f97..608255e3 100644 --- a/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -89,7 +89,7 @@ def create_issued_document_with_http_info(company_id, opts = {}) return data, status_code, headers end - # + # Delete Bin Issued Document # Delete Bin Issued Document # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -100,7 +100,7 @@ def delete_bin_issued_document(company_id, document_id, opts = {}) nil end - # + # Delete Bin Issued Document # Delete Bin Issued Document # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -1063,7 +1063,7 @@ def modify_issued_document_with_http_info(company_id, document_id, opts = {}) return data, status_code, headers end - # + # Recover Issued Document From The Bin # Recover Issued Document From The Bin # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -1074,7 +1074,7 @@ def recover_bin_issued_document(company_id, document_id, opts = {}) nil end - # + # Recover Issued Document From The Bin # Recover Issued Document From The Bin # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. diff --git a/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb b/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb index 281f8f81..f0e13f68 100644 --- a/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/price_lists_api.rb b/lib/fattureincloud_ruby_sdk/api/price_lists_api.rb index d6d327e9..8785ca2a 100644 --- a/lib/fattureincloud_ruby_sdk/api/price_lists_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/price_lists_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -22,7 +22,7 @@ def initialize(api_client = ApiClient.default) # Get PriceList Items List # Retrieves all the Items of a PriceList # @param company_id [Integer] The ID of the company. - # @param price_list_id [String] + # @param price_list_id [String] The ID of the price # @param [Hash] opts the optional parameters # @return [GetPriceListItemsResponse] def get_price_list_items(company_id, price_list_id, opts = {}) @@ -33,7 +33,7 @@ def get_price_list_items(company_id, price_list_id, opts = {}) # Get PriceList Items List # Retrieves all the Items of a PriceList # @param company_id [Integer] The ID of the company. - # @param price_list_id [String] + # @param price_list_id [String] The ID of the price # @param [Hash] opts the optional parameters # @return [Array<(GetPriceListItemsResponse, Integer, Hash)>] GetPriceListItemsResponse data, response status code and response headers def get_price_list_items_with_http_info(company_id, price_list_id, opts = {}) diff --git a/lib/fattureincloud_ruby_sdk/api/products_api.rb b/lib/fattureincloud_ruby_sdk/api/products_api.rb index 02e868d3..70499885 100644 --- a/lib/fattureincloud_ruby_sdk/api/products_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/products_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/receipts_api.rb b/lib/fattureincloud_ruby_sdk/api/receipts_api.rb index 444d1854..c2e296da 100644 --- a/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/receipts_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb b/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb index f14229bd..99628ce2 100644 --- a/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -89,7 +89,7 @@ def create_received_document_with_http_info(company_id, opts = {}) return data, status_code, headers end - # + # Delete Bin Received Document # Delete Bin Received Document # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -100,7 +100,7 @@ def delete_bin_received_document(company_id, document_id, opts = {}) nil end - # + # Delete Bin Received Document # Delete Bin Received Document # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -903,7 +903,7 @@ def modify_received_document_with_http_info(company_id, document_id, opts = {}) return data, status_code, headers end - # + # Recover Received Document From The Bin # Recover Received Document From The Bin # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. @@ -914,7 +914,7 @@ def recover_bin_received_document(company_id, document_id, opts = {}) nil end - # + # Recover Received Document From The Bin # Recover Received Document From The Bin # @param company_id [Integer] The ID of the company. # @param document_id [Integer] The ID of the document. diff --git a/lib/fattureincloud_ruby_sdk/api/settings_api.rb b/lib/fattureincloud_ruby_sdk/api/settings_api.rb index d36081cf..d557669b 100644 --- a/lib/fattureincloud_ruby_sdk/api/settings_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/settings_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -651,6 +651,85 @@ def get_tax_profile_with_http_info(company_id, opts = {}) return data, status_code, headers end + # Get Template + # Gets a specified template. + # @param company_id [Integer] The ID of the company. + # @param template_id [Integer] The Referred Template Id. + # @param [Hash] opts the optional parameters + # @option opts [String] :fields List of comma-separated fields. + # @option opts [String] :fieldset Name of the fieldset. + # @return [GetTemplatesResponse] + def get_template(company_id, template_id, opts = {}) + data, _status_code, _headers = get_template_with_http_info(company_id, template_id, opts) + data + end + + # Get Template + # Gets a specified template. + # @param company_id [Integer] The ID of the company. + # @param template_id [Integer] The Referred Template Id. + # @param [Hash] opts the optional parameters + # @option opts [String] :fields List of comma-separated fields. + # @option opts [String] :fieldset Name of the fieldset. + # @return [Array<(GetTemplatesResponse, Integer, Hash)>] GetTemplatesResponse data, response status code and response headers + def get_template_with_http_info(company_id, template_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: SettingsApi.get_template ...' + end + # verify the required parameter 'company_id' is set + if @api_client.config.client_side_validation && company_id.nil? + fail ArgumentError, "Missing the required parameter 'company_id' when calling SettingsApi.get_template" + end + # verify the required parameter 'template_id' is set + if @api_client.config.client_side_validation && template_id.nil? + fail ArgumentError, "Missing the required parameter 'template_id' when calling SettingsApi.get_template" + end + allowable_values = ["basic", "detailed"] + if @api_client.config.client_side_validation && opts[:'fieldset'] && !allowable_values.include?(opts[:'fieldset']) + fail ArgumentError, "invalid value for \"fieldset\", must be one of #{allowable_values}" + end + # resource path + local_var_path = '/c/{company_id}/settings/templates/{template_id}'.sub('{' + 'company_id' + '}', CGI.escape(company_id.to_s)).sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil? + query_params[:'fieldset'] = opts[:'fieldset'] if !opts[:'fieldset'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'GetTemplatesResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['OAuth2AuthenticationCodeFlow'] + + new_options = opts.merge( + :operation => :"SettingsApi.get_template", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SettingsApi#get_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Get Vat Type # Gets the specified vat type. # @param company_id [Integer] The ID of the company. @@ -720,6 +799,79 @@ def get_vat_type_with_http_info(company_id, vat_type_id, opts = {}) return data, status_code, headers end + # List Templates + # Gets all the standard and private templates. + # @param company_id [Integer] The ID of the company. + # @param [Hash] opts the optional parameters + # @option opts [String] :fields List of comma-separated fields. + # @option opts [String] :fieldset Name of the fieldset. + # @return [ListTemplatesResponse] + def list_templates(company_id, opts = {}) + data, _status_code, _headers = list_templates_with_http_info(company_id, opts) + data + end + + # List Templates + # Gets all the standard and private templates. + # @param company_id [Integer] The ID of the company. + # @param [Hash] opts the optional parameters + # @option opts [String] :fields List of comma-separated fields. + # @option opts [String] :fieldset Name of the fieldset. + # @return [Array<(ListTemplatesResponse, Integer, Hash)>] ListTemplatesResponse data, response status code and response headers + def list_templates_with_http_info(company_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: SettingsApi.list_templates ...' + end + # verify the required parameter 'company_id' is set + if @api_client.config.client_side_validation && company_id.nil? + fail ArgumentError, "Missing the required parameter 'company_id' when calling SettingsApi.list_templates" + end + allowable_values = ["basic", "detailed"] + if @api_client.config.client_side_validation && opts[:'fieldset'] && !allowable_values.include?(opts[:'fieldset']) + fail ArgumentError, "invalid value for \"fieldset\", must be one of #{allowable_values}" + end + # resource path + local_var_path = '/c/{company_id}/settings/templates'.sub('{' + 'company_id' + '}', CGI.escape(company_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil? + query_params[:'fieldset'] = opts[:'fieldset'] if !opts[:'fieldset'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'ListTemplatesResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['OAuth2AuthenticationCodeFlow'] + + new_options = opts.merge( + :operation => :"SettingsApi.list_templates", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SettingsApi#list_templates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Modify Payment Account # Modifies the specified payment account. # @param company_id [Integer] The ID of the company. diff --git a/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb b/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb index 63a73a5a..d7dc22fb 100644 --- a/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/taxes_api.rb b/lib/fattureincloud_ruby_sdk/api/taxes_api.rb index 6ecb0abb..4814fe07 100644 --- a/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/taxes_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/user_api.rb b/lib/fattureincloud_ruby_sdk/api/user_api.rb index dac94baa..4fc7d73a 100644 --- a/lib/fattureincloud_ruby_sdk/api/user_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/user_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb b/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb index 92f25192..1bb00b7b 100644 --- a/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb +++ b/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api_client.rb b/lib/fattureincloud_ruby_sdk/api_client.rb index d0c688f2..4f7bfad6 100644 --- a/lib/fattureincloud_ruby_sdk/api_client.rb +++ b/lib/fattureincloud_ruby_sdk/api_client.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -32,7 +32,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "FattureInCloud/2.1.2/Ruby-SDK" + @user_agent = "FattureInCloud/2.1.3/Ruby-SDK" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent diff --git a/lib/fattureincloud_ruby_sdk/api_error.rb b/lib/fattureincloud_ruby_sdk/api_error.rb index f20586be..be9824cb 100644 --- a/lib/fattureincloud_ruby_sdk/api_error.rb +++ b/lib/fattureincloud_ruby_sdk/api_error.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/api_model_base.rb b/lib/fattureincloud_ruby_sdk/api_model_base.rb new file mode 100644 index 00000000..70fbf16c --- /dev/null +++ b/lib/fattureincloud_ruby_sdk/api_model_base.rb @@ -0,0 +1,88 @@ +=begin +#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.6 +Contact: info@fattureincloud.it +Generated by: https://openapi-generator.tech +Generator version: 7.17.0 + +=end + +module FattureInCloud_Ruby_Sdk + class ApiModelBase + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = FattureInCloud_Ruby_Sdk.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + end +end diff --git a/lib/fattureincloud_ruby_sdk/configuration.rb b/lib/fattureincloud_ruby_sdk/configuration.rb index dcd2c877..b313ae43 100644 --- a/lib/fattureincloud_ruby_sdk/configuration.rb +++ b/lib/fattureincloud_ruby_sdk/configuration.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/archive_document.rb b/lib/fattureincloud_ruby_sdk/models/archive_document.rb index 510e9aa5..e538ca14 100644 --- a/lib/fattureincloud_ruby_sdk/models/archive_document.rb +++ b/lib/fattureincloud_ruby_sdk/models/archive_document.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ArchiveDocument + class ArchiveDocument < ApiModelBase # Archive document id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/attachment_data.rb b/lib/fattureincloud_ruby_sdk/models/attachment_data.rb index 11c93390..e1b9522b 100644 --- a/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/attachment_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class AttachmentData + class AttachmentData < ApiModelBase # Uploaded attachment token. attr_accessor :attachment_token diff --git a/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb b/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb index 1654ae17..d7343d7a 100644 --- a/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +++ b/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CashbookEntry + class CashbookEntry < ApiModelBase # Cashbook id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb index 9b166254..1ebbe9f3 100644 --- a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +++ b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CashbookEntryDocument + class CashbookEntryDocument < ApiModelBase # Cashbook related document id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb index 8f2bc0fb..f4665dab 100644 --- a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +++ b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -20,9 +20,10 @@ class CashbookEntryKind RECEIVED_DOCUMENT = "received_document".freeze TAX = "tax".freeze RECEIPT = "receipt".freeze + TS_PAY = "ts_pay".freeze def self.all_vars - @all_vars ||= [CASHBOOK, ISSUED_DOCUMENT, RECEIVED_DOCUMENT, TAX, RECEIPT].freeze + @all_vars ||= [CASHBOOK, ISSUED_DOCUMENT, RECEIVED_DOCUMENT, TAX, RECEIPT, TS_PAY].freeze end # Builds the enum from string diff --git a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb index 5d437df9..4fc4a50c 100644 --- a/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/city.rb b/lib/fattureincloud_ruby_sdk/models/city.rb index 00bfb2af..ea05a53a 100644 --- a/lib/fattureincloud_ruby_sdk/models/city.rb +++ b/lib/fattureincloud_ruby_sdk/models/city.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class City + class City < ApiModelBase # City postal code attr_accessor :postal_code diff --git a/lib/fattureincloud_ruby_sdk/models/client.rb b/lib/fattureincloud_ruby_sdk/models/client.rb index 3e11d87a..160fe592 100644 --- a/lib/fattureincloud_ruby_sdk/models/client.rb +++ b/lib/fattureincloud_ruby_sdk/models/client.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Client + class Client < ApiModelBase # Client id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/client_type.rb b/lib/fattureincloud_ruby_sdk/models/client_type.rb index ade8c2ee..7d132372 100644 --- a/lib/fattureincloud_ruby_sdk/models/client_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/client_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/company.rb b/lib/fattureincloud_ruby_sdk/models/company.rb index 4e4ca5f5..59bf835b 100644 --- a/lib/fattureincloud_ruby_sdk/models/company.rb +++ b/lib/fattureincloud_ruby_sdk/models/company.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Company + class Company < ApiModelBase # Company id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/company_info.rb b/lib/fattureincloud_ruby_sdk/models/company_info.rb index 5d4f6fad..8280124e 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CompanyInfo + class CompanyInfo < ApiModelBase # Company id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb b/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb index 4f5f45e3..1c938bd9 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CompanyInfoAccessInfo + class CompanyInfoAccessInfo < ApiModelBase attr_accessor :role attr_accessor :permissions diff --git a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb index 285d5318..598bfe23 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Company plan info - class CompanyInfoPlanInfo + class CompanyInfoPlanInfo < ApiModelBase attr_accessor :limits attr_accessor :functions diff --git a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb index 8be7c469..252762c9 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Access to functions for this company. - class CompanyInfoPlanInfoFunctions + class CompanyInfoPlanInfoFunctions < ApiModelBase attr_accessor :archive attr_accessor :cerved @@ -38,8 +38,6 @@ class CompanyInfoPlanInfoFunctions attr_accessor :smtp - attr_accessor :sofort - attr_accessor :stock attr_accessor :subaccounts @@ -66,7 +64,6 @@ def self.attribute_map :'receipts' => :'receipts', :'recurring' => :'recurring', :'smtp' => :'smtp', - :'sofort' => :'sofort', :'stock' => :'stock', :'subaccounts' => :'subaccounts', :'tessera_sanitaria' => :'tessera_sanitaria', @@ -100,7 +97,6 @@ def self.openapi_types :'receipts' => :'Boolean', :'recurring' => :'Boolean', :'smtp' => :'Boolean', - :'sofort' => :'Boolean', :'stock' => :'Boolean', :'subaccounts' => :'Boolean', :'tessera_sanitaria' => :'Boolean', @@ -124,7 +120,6 @@ def self.openapi_nullable :'receipts', :'recurring', :'smtp', - :'sofort', :'stock', :'subaccounts', :'tessera_sanitaria', @@ -194,10 +189,6 @@ def initialize(attributes = {}) self.smtp = attributes[:'smtp'] end - if attributes.key?(:'sofort') - self.sofort = attributes[:'sofort'] - end - if attributes.key?(:'stock') self.stock = attributes[:'stock'] end @@ -254,7 +245,6 @@ def ==(o) receipts == o.receipts && recurring == o.recurring && smtp == o.smtp && - sofort == o.sofort && stock == o.stock && subaccounts == o.subaccounts && tessera_sanitaria == o.tessera_sanitaria && @@ -272,7 +262,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [archive, cerved, document_attachments, e_invoice, genius, mail_tracking, payment_notifications, paypal, receipts, recurring, smtp, sofort, stock, subaccounts, tessera_sanitaria, ts_digital, ts_invoice_trading, ts_pay].hash + [archive, cerved, document_attachments, e_invoice, genius, mail_tracking, payment_notifications, paypal, receipts, recurring, smtp, stock, subaccounts, tessera_sanitaria, ts_digital, ts_invoice_trading, ts_pay].hash end # Builds the object from hash diff --git a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb index a4dbe095..e4ac6d49 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CompanyInfoPlanInfoFunctionsStatus + class CompanyInfoPlanInfoFunctionsStatus < ApiModelBase attr_accessor :ts_digital attr_accessor :ts_pay diff --git a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb index c322f1b4..d9e1e770 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Company plan limits - class CompanyInfoPlanInfoLimits + class CompanyInfoPlanInfoLimits < ApiModelBase # Company plan clients limits attr_accessor :clients diff --git a/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb b/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb index dab703fa..e808caa5 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CompanyPlanUsage + class CompanyPlanUsage < ApiModelBase # Plan limit attr_accessor :limit diff --git a/lib/fattureincloud_ruby_sdk/models/company_type.rb b/lib/fattureincloud_ruby_sdk/models/company_type.rb index 3afb275e..3f8ddecd 100644 --- a/lib/fattureincloud_ruby_sdk/models/company_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/company_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/controlled_company.rb b/lib/fattureincloud_ruby_sdk/models/controlled_company.rb index 996bc25e..3c8eb3c0 100644 --- a/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +++ b/lib/fattureincloud_ruby_sdk/models/controlled_company.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ControlledCompany + class ControlledCompany < ApiModelBase # Controlled company id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb b/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb index b3474eaa..d40aac35 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateArchiveDocumentRequest + class CreateArchiveDocumentRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb b/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb index 0f7ed956..20ac9e75 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateArchiveDocumentResponse + class CreateArchiveDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb b/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb index 228b064d..0c495b1f 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateCashbookEntryRequest + class CreateCashbookEntryRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb b/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb index fcac518d..178655c3 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateCashbookEntryResponse + class CreateCashbookEntryResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_client_request.rb b/lib/fattureincloud_ruby_sdk/models/create_client_request.rb index 192da06c..b8cecdae 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_client_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateClientRequest + class CreateClientRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_client_response.rb b/lib/fattureincloud_ruby_sdk/models/create_client_response.rb index ff0381d3..f786fc78 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_client_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateClientResponse + class CreateClientResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb b/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb index 8734f277..29c10d39 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateF24Request + class CreateF24Request < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb b/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb index 3e595194..5d40bfba 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateF24Response + class CreateF24Response < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb b/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb index a80abc7f..b4a12202 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateIssuedDocumentRequest + class CreateIssuedDocumentRequest < ApiModelBase attr_accessor :data attr_accessor :options diff --git a/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb b/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb index 51f8d48c..1dd2a78d 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateIssuedDocumentResponse + class CreateIssuedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb b/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb index bbd74356..e5aa0fe2 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreatePaymentAccountRequest + class CreatePaymentAccountRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb b/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb index 5694393f..e67afb11 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreatePaymentAccountResponse + class CreatePaymentAccountResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb b/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb index 468b254b..5d3e4427 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreatePaymentMethodRequest + class CreatePaymentMethodRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb b/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb index 9cb1fa08..814ed9f7 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreatePaymentMethodResponse + class CreatePaymentMethodResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_product_request.rb b/lib/fattureincloud_ruby_sdk/models/create_product_request.rb index 47029cef..014c0b67 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_product_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateProductRequest + class CreateProductRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_product_response.rb b/lib/fattureincloud_ruby_sdk/models/create_product_response.rb index 4f2e72bc..bf77ad2a 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_product_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateProductResponse + class CreateProductResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb b/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb index 7588f5c9..d4008281 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateReceiptRequest + class CreateReceiptRequest < ApiModelBase attr_accessor :data # If true, the number is autocompleted progressively. diff --git a/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb b/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb index 35e64383..281a2b81 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateReceiptResponse + class CreateReceiptResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb b/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb index 420e3bbc..cc2c67f2 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateReceivedDocumentRequest + class CreateReceivedDocumentRequest < ApiModelBase # Pending received document id of the document from which the new document is created. attr_accessor :pending_id diff --git a/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb b/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb index 11db0d2d..dd7b93c5 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class CreateReceivedDocumentResponse + class CreateReceivedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb b/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb index c9024fbe..c2a755e7 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateSupplierRequest + class CreateSupplierRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb b/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb index 11ea6669..c8499dfc 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateSupplierResponse + class CreateSupplierResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb b/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb index 3e24b828..83585a0a 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateVatTypeRequest + class CreateVatTypeRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb b/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb index 853e3030..25477ce1 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateVatTypeResponse + class CreateVatTypeResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb b/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb index eea4efb4..37d07620 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateWebhooksSubscriptionRequest + class CreateWebhooksSubscriptionRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb b/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb index 76c929bb..d5cc1a7b 100644 --- a/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class CreateWebhooksSubscriptionResponse + class CreateWebhooksSubscriptionResponse < ApiModelBase attr_accessor :data # Webhooks registration warnings diff --git a/lib/fattureincloud_ruby_sdk/models/currency.rb b/lib/fattureincloud_ruby_sdk/models/currency.rb index 21209219..5a78982b 100644 --- a/lib/fattureincloud_ruby_sdk/models/currency.rb +++ b/lib/fattureincloud_ruby_sdk/models/currency.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Currency + class Currency < ApiModelBase # Currency code attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/detailed_country.rb b/lib/fattureincloud_ruby_sdk/models/detailed_country.rb index a80aa6e9..ab8a5f50 100644 --- a/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +++ b/lib/fattureincloud_ruby_sdk/models/detailed_country.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class DetailedCountry + class DetailedCountry < ApiModelBase # Country name attr_accessor :name diff --git a/lib/fattureincloud_ruby_sdk/models/document_template.rb b/lib/fattureincloud_ruby_sdk/models/document_template.rb index 50198f51..00dab981 100644 --- a/lib/fattureincloud_ruby_sdk/models/document_template.rb +++ b/lib/fattureincloud_ruby_sdk/models/document_template.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,22 +14,63 @@ require 'time' module FattureInCloud_Ruby_Sdk - class DocumentTemplate + class DocumentTemplate < ApiModelBase # Template id attr_accessor :id + # Template privacy + attr_accessor :privacy + + attr_accessor :type + # Template name attr_accessor :name - # Template type - attr_accessor :type + # Can disable watermark + attr_accessor :can_disable_watermark + + # Template author + attr_accessor :author + + # Template definition content + attr_accessor :content + + # Supports custom taxable + attr_accessor :supports_custom_taxable + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'id' => :'id', + :'privacy' => :'privacy', + :'type' => :'type', :'name' => :'name', - :'type' => :'type' + :'can_disable_watermark' => :'can_disable_watermark', + :'author' => :'author', + :'content' => :'content', + :'supports_custom_taxable' => :'supports_custom_taxable' } end @@ -47,17 +88,19 @@ def self.acceptable_attributes def self.openapi_types { :'id' => :'Integer', + :'privacy' => :'String', + :'type' => :'TemplateType', :'name' => :'String', - :'type' => :'String' + :'can_disable_watermark' => :'Boolean', + :'author' => :'String', + :'content' => :'String', + :'supports_custom_taxable' => :'Boolean' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'id', - :'name', - :'type' ]) end @@ -81,13 +124,33 @@ def initialize(attributes = {}) self.id = attributes[:'id'] end - if attributes.key?(:'name') - self.name = attributes[:'name'] + if attributes.key?(:'privacy') + self.privacy = attributes[:'privacy'] end if attributes.key?(:'type') self.type = attributes[:'type'] end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'can_disable_watermark') + self.can_disable_watermark = attributes[:'can_disable_watermark'] + end + + if attributes.key?(:'author') + self.author = attributes[:'author'] + end + + if attributes.key?(:'content') + self.content = attributes[:'content'] + end + + if attributes.key?(:'supports_custom_taxable') + self.supports_custom_taxable = attributes[:'supports_custom_taxable'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -111,8 +174,13 @@ def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && + privacy == o.privacy && + type == o.type && name == o.name && - type == o.type + can_disable_watermark == o.can_disable_watermark && + author == o.author && + content == o.content && + supports_custom_taxable == o.supports_custom_taxable end # @see the `==` method @@ -124,7 +192,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, name, type].hash + [id, privacy, type, name, can_disable_watermark, author, content, supports_custom_taxable].hash end # Builds the object from hash diff --git a/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb b/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb index 5bb3df03..b8239c02 100644 --- a/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +++ b/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EInvoiceRejectionReason + class EInvoiceRejectionReason < ApiModelBase # E-invoice rejection reason attr_accessor :reason diff --git a/lib/fattureincloud_ruby_sdk/models/email.rb b/lib/fattureincloud_ruby_sdk/models/email.rb index 529b2698..7f4dd9ce 100644 --- a/lib/fattureincloud_ruby_sdk/models/email.rb +++ b/lib/fattureincloud_ruby_sdk/models/email.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Email + class Email < ApiModelBase # Email id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/email_attachment.rb b/lib/fattureincloud_ruby_sdk/models/email_attachment.rb index b65f9364..3dfd9cd0 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_attachment.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EmailAttachment + class EmailAttachment < ApiModelBase # Email attachment filename attr_accessor :filename diff --git a/lib/fattureincloud_ruby_sdk/models/email_data.rb b/lib/fattureincloud_ruby_sdk/models/email_data.rb index a5d0c0aa..c7b1e089 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EmailData + class EmailData < ApiModelBase # Email recipient attr_accessor :recipient_email diff --git a/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb b/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb index c310ce3e..938abb66 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Default sender email. (Other emails can be found in **sender_emails_list**) - class EmailDataDefaultSenderEmail + class EmailDataDefaultSenderEmail < ApiModelBase # Default sender email id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb b/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb index a037803f..8e9ccc34 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/email_schedule.rb b/lib/fattureincloud_ruby_sdk/models/email_schedule.rb index 39ecd357..2d13277c 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_schedule.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EmailSchedule + class EmailSchedule < ApiModelBase # Email sender id [required if **sender_email** is not specified] attr_accessor :sender_id diff --git a/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb b/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb index dd9cd8ea..aec91632 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EmailScheduleInclude + class EmailScheduleInclude < ApiModelBase # Include a button to view the document attr_accessor :document diff --git a/lib/fattureincloud_ruby_sdk/models/email_status.rb b/lib/fattureincloud_ruby_sdk/models/email_status.rb index d829de8a..7ba22bd2 100644 --- a/lib/fattureincloud_ruby_sdk/models/email_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/email_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/entity.rb b/lib/fattureincloud_ruby_sdk/models/entity.rb index 4ca3f444..59a2f821 100644 --- a/lib/fattureincloud_ruby_sdk/models/entity.rb +++ b/lib/fattureincloud_ruby_sdk/models/entity.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Entity + class Entity < ApiModelBase # Entity id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/entity_client_pre_create_info.rb b/lib/fattureincloud_ruby_sdk/models/entity_client_pre_create_info.rb index 4b483ab2..55ce72b2 100644 --- a/lib/fattureincloud_ruby_sdk/models/entity_client_pre_create_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/entity_client_pre_create_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class EntityClientPreCreateInfo + class EntityClientPreCreateInfo < ApiModelBase # Countries list attr_accessor :countries_list diff --git a/lib/fattureincloud_ruby_sdk/models/entity_type.rb b/lib/fattureincloud_ruby_sdk/models/entity_type.rb index f4814e0f..2cc07ac5 100644 --- a/lib/fattureincloud_ruby_sdk/models/entity_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/entity_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/event_type.rb b/lib/fattureincloud_ruby_sdk/models/event_type.rb index d55f42a8..e52d9639 100644 --- a/lib/fattureincloud_ruby_sdk/models/event_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/event_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/f24.rb b/lib/fattureincloud_ruby_sdk/models/f24.rb index c1fdf048..a266686f 100644 --- a/lib/fattureincloud_ruby_sdk/models/f24.rb +++ b/lib/fattureincloud_ruby_sdk/models/f24.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class F24 + class F24 < ApiModelBase # F24 id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/f24_status.rb b/lib/fattureincloud_ruby_sdk/models/f24_status.rb index 13120d20..e352284e 100644 --- a/lib/fattureincloud_ruby_sdk/models/f24_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/f24_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb b/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb index a935262c..029043d9 100644 --- a/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/function_status.rb b/lib/fattureincloud_ruby_sdk/models/function_status.rb index 9ee6d870..fbb49a61 100644 --- a/lib/fattureincloud_ruby_sdk/models/function_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/function_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class FunctionStatus + class FunctionStatus < ApiModelBase attr_accessor :active # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb b/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb index 2a787c63..faf91675 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetArchiveDocumentResponse + class GetArchiveDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_bin_issued_document_response.rb b/lib/fattureincloud_ruby_sdk/models/get_bin_issued_document_response.rb index 40f5629d..a186201d 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_bin_issued_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_bin_issued_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetBinIssuedDocumentResponse + class GetBinIssuedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_bin_received_document_response.rb b/lib/fattureincloud_ruby_sdk/models/get_bin_received_document_response.rb index 982aa547..520b7cb9 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_bin_received_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_bin_received_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetBinReceivedDocumentResponse + class GetBinReceivedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb b/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb index 1fbfd04b..9559e50b 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetCashbookEntryResponse + class GetCashbookEntryResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_client_response.rb b/lib/fattureincloud_ruby_sdk/models/get_client_response.rb index 6cd3ee1c..5898af24 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_client_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetClientResponse + class GetClientResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb index e1a45417..115fed22 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetCompanyInfoResponse + class GetCompanyInfoResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb b/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb index 6a88bf51..82c5039d 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetCompanyPlanUsageResponse + class GetCompanyPlanUsageResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb b/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb index 9029cbf5..bbdb66a5 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetEInvoiceRejectionReasonResponse + class GetEInvoiceRejectionReasonResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb b/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb index 9a98e0ad..79f76ec5 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetEmailDataResponse + class GetEmailDataResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_entity_client_pre_create_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_entity_client_pre_create_info_response.rb index 11bfdc8e..50318c7e 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_entity_client_pre_create_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_entity_client_pre_create_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetEntityClientPreCreateInfoResponse + class GetEntityClientPreCreateInfoResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb b/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb index 349b46e9..7996f514 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetExistingIssuedDocumentTotalsRequest + class GetExistingIssuedDocumentTotalsRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb b/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb index 1c188bae..4a05257d 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetExistingIssuedDocumentTotalsResponse + class GetExistingIssuedDocumentTotalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb b/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb index c05b2249..0e6a77ab 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetExistingReceivedDocumentTotalsRequest + class GetExistingReceivedDocumentTotalsRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb b/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb index 155ef6ee..37adc3de 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetExistingReceivedDocumentTotalsResponse + class GetExistingReceivedDocumentTotalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb b/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb index fbad053b..412bc43a 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetF24Response + class GetF24Response < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb index f2c97cf2..a9b935bf 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetIssuedDocumentPreCreateInfoResponse + class GetIssuedDocumentPreCreateInfoResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb b/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb index 77c97ca4..5e71b459 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetIssuedDocumentResponse + class GetIssuedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb b/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb index 941c6f8b..f82d11f4 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetNewIssuedDocumentTotalsRequest + class GetNewIssuedDocumentTotalsRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb b/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb index 0b3ae5ad..c84f06b8 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetNewIssuedDocumentTotalsResponse + class GetNewIssuedDocumentTotalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb b/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb index a94b66cb..7c438e6b 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetNewReceivedDocumentTotalsRequest + class GetNewReceivedDocumentTotalsRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb b/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb index 0d9ec310..2b08b44b 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetNewReceivedDocumentTotalsResponse + class GetNewReceivedDocumentTotalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb b/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb index 57878f88..6bd48d75 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetPaymentAccountResponse + class GetPaymentAccountResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb b/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb index bc2d659f..a889d1c9 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetPaymentMethodResponse + class GetPaymentMethodResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_price_list_items_response.rb b/lib/fattureincloud_ruby_sdk/models/get_price_list_items_response.rb index 171e4548..f16d57a2 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_price_list_items_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_price_list_items_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetPriceListItemsResponse + class GetPriceListItemsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_product_response.rb b/lib/fattureincloud_ruby_sdk/models/get_product_response.rb index 5240ea8e..3d0435f9 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_product_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetProductResponse + class GetProductResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb index 2a04b78c..25ac920e 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetReceiptPreCreateInfoResponse + class GetReceiptPreCreateInfoResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb b/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb index cf041361..d28b18cd 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetReceiptResponse + class GetReceiptResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb b/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb index 787c7fff..6e858977 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetReceiptsMonthlyTotalsResponse + class GetReceiptsMonthlyTotalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb index 342bad2e..daa4a5bb 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetReceivedDocumentPreCreateInfoResponse + class GetReceivedDocumentPreCreateInfoResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb b/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb index 9e661675..17103e55 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetReceivedDocumentResponse + class GetReceivedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb b/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb index 44e64212..94f720a4 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetSupplierResponse + class GetSupplierResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb b/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb index 2c741406..c6d2f15c 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetTaxProfileResponse + class GetTaxProfileResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_templates_response.rb b/lib/fattureincloud_ruby_sdk/models/get_templates_response.rb new file mode 100644 index 00000000..3cad21de --- /dev/null +++ b/lib/fattureincloud_ruby_sdk/models/get_templates_response.rb @@ -0,0 +1,220 @@ +=begin +#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.6 +Contact: info@fattureincloud.it +Generated by: https://openapi-generator.tech +Generator version: 7.17.0 + +=end + +require 'date' +require 'time' + +module FattureInCloud_Ruby_Sdk + class GetTemplatesResponse < ApiModelBase + attr_accessor :data + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'data' => :'data' + } + end + + # Returns attribute mapping this model knows about + def self.acceptable_attribute_map + attribute_map + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + acceptable_attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'data' => :'DocumentTemplate' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::GetTemplatesResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + acceptable_attribute_map = self.class.acceptable_attribute_map + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!acceptable_attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::GetTemplatesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'data') + self.data = attributes[:'data'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + warn '[DEPRECATED] the `valid?` method is obsolete' + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + data == o.data + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [data].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + transformed_hash = {} + openapi_types.each_pair do |key, type| + if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = nil + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[attribute_map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + end + elsif !attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + end + end + new(transformed_hash) + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + when :Hash + value + else # model + # models (e.g. Pet) or oneOf + klass = FattureInCloud_Ruby_Sdk.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + end +end diff --git a/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb b/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb index 193cfef0..06bbd406 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class GetUserInfoResponse + class GetUserInfoResponse < ApiModelBase attr_accessor :data attr_accessor :info diff --git a/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb b/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb index 4f55553d..61ce9088 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetUserInfoResponseEmailConfirmationState + class GetUserInfoResponseEmailConfirmationState < ApiModelBase attr_accessor :need_confirmation # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb b/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb index 79ac2892..fcd84011 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetUserInfoResponseInfo + class GetUserInfoResponseInfo < ApiModelBase attr_accessor :need_marketing_consents_confirmation attr_accessor :need_password_change diff --git a/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb b/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb index 37738630..c64899d7 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetVatTypeResponse + class GetVatTypeResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb b/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb index 9c80dc7e..6c7551a6 100644 --- a/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class GetWebhooksSubscriptionResponse + class GetWebhooksSubscriptionResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document.rb b/lib/fattureincloud_ruby_sdk/models/issued_document.rb index ff605450..d807613f 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocument + class IssuedDocument < ApiModelBase # Issued document id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb index 59cf1df3..0a0a154d 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Issued document e-invoice data [Only if e_invoice=true] - class IssuedDocumentEiData + class IssuedDocumentEiData < ApiModelBase attr_accessor :vat_kind attr_accessor :original_document_type diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb index 8c36da61..e3acede8 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Issued document extra data [TS fields follow the technical specifications provided by \"Sistema Tessera Sanitaria\"] - class IssuedDocumentExtraData + class IssuedDocumentExtraData < ApiModelBase attr_accessor :multifatture_sent # Send issued document to \"Sistema Tessera Sanitaria\" diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb index ee9c21ba..db6564ce 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentItemsListItem + class IssuedDocumentItemsListItem < ApiModelBase # Issued document item id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb index 353e0f90..9529fecd 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentOptions + class IssuedDocumentOptions < ApiModelBase # Fixes your last payment amount to match your document total attr_accessor :fix_payments diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb index 52f83168..0d8a801c 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentPaymentsListItem + class IssuedDocumentPaymentsListItem < ApiModelBase # Issued document payment item id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb index 77b75498..b9159797 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentPaymentsListItemPaymentTerms + class IssuedDocumentPaymentsListItemPaymentTerms < ApiModelBase # Issued document payment number of days by which the payment must be made attr_accessor :days diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb index d69b785a..c4b80a86 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentPreCreateInfo + class IssuedDocumentPreCreateInfo < ApiModelBase attr_accessor :numerations attr_accessor :dn_numerations diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb index 18ace2af..2e623724 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Issued document default values - class IssuedDocumentPreCreateInfoDefaultValues + class IssuedDocumentPreCreateInfoDefaultValues < ApiModelBase attr_accessor :default_template attr_accessor :dn_template diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb index 44762784..69c86c35 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Issued document extra data default values - class IssuedDocumentPreCreateInfoExtraDataDefaultValues + class IssuedDocumentPreCreateInfoExtraDataDefaultValues < ApiModelBase attr_accessor :ts_communication attr_accessor :ts_tipo_spesa diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb index c25d4a2f..8eea1ce0 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Issued document items default values - class IssuedDocumentPreCreateInfoItemsDefaultValues + class IssuedDocumentPreCreateInfoItemsDefaultValues < ApiModelBase attr_accessor :vat # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb index 361fcc60..6bab881f 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb index 51530e27..55c03846 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class IssuedDocumentTotals + class IssuedDocumentTotals < ApiModelBase # Issued document total net amount attr_accessor :amount_net diff --git a/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb b/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb index 360ed04a..4fe741f1 100644 --- a/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb b/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb index 1b995fbd..d82f3fe1 100644 --- a/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class JoinIssuedDocumentsResponse + class JoinIssuedDocumentsResponse < ApiModelBase attr_accessor :data attr_accessor :options diff --git a/lib/fattureincloud_ruby_sdk/models/language.rb b/lib/fattureincloud_ruby_sdk/models/language.rb index 6e8b203e..5c0ec4ed 100644 --- a/lib/fattureincloud_ruby_sdk/models/language.rb +++ b/lib/fattureincloud_ruby_sdk/models/language.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Language + class Language < ApiModelBase # Language code attr_accessor :code diff --git a/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb b/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb index 8cf1f392..50438a20 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListArchiveCategoriesResponse + class ListArchiveCategoriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb b/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb index 10c19a34..0d107349 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListArchiveDocumentsResponse + class ListArchiveDocumentsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb index 6afce5b2..7c4699fb 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListArchiveDocumentsResponsePage + class ListArchiveDocumentsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_bin_issued_documents.rb b/lib/fattureincloud_ruby_sdk/models/list_bin_issued_documents.rb index 3054fd36..4abe9006 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_bin_issued_documents.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_bin_issued_documents.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListBinIssuedDocuments + class ListBinIssuedDocuments < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_bin_received_documents.rb b/lib/fattureincloud_ruby_sdk/models/list_bin_received_documents.rb index d9dec05a..059c10d9 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_bin_received_documents.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_bin_received_documents.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListBinReceivedDocuments + class ListBinReceivedDocuments < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb b/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb index 3dbced8f..32566a67 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListCashbookEntriesResponse + class ListCashbookEntriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb b/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb index 2b46376f..7aba89e1 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListCitiesResponse + class ListCitiesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb b/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb index 1ef53d32..86b916c6 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListClientsResponse + class ListClientsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb index 833b8746..6c238d20 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListClientsResponsePage + class ListClientsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb b/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb index 745e5bca..afb1e028 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListCostCentersResponse + class ListCostCentersResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb b/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb index 50b818b6..791c7557 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListCountriesResponse + class ListCountriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb b/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb index f6b0d45a..23d2e9e3 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListCurrenciesResponse + class ListCurrenciesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb b/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb index 68ad54e8..f262e8eb 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListDeliveryNotesDefaultCausalsResponse + class ListDeliveryNotesDefaultCausalsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb b/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb index 48bbc535..a681b532 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListDetailedCountriesResponse + class ListDetailedCountriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb b/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb index c9db70e8..79479e44 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListEmailsResponse + class ListEmailsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb index d43c275f..b4adc091 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListEmailsResponsePage + class ListEmailsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb b/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb index 00effcb4..acee93e0 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListF24Response + class ListF24Response < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb b/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb index 85936d6c..21661725 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListF24ResponseAggregatedData + class ListF24ResponseAggregatedData < ApiModelBase # Total amount. attr_accessor :amount diff --git a/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb b/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb index 1c7e7d56..37cd34be 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListF24ResponseAggregation + class ListF24ResponseAggregation < ApiModelBase attr_accessor :aggregated_data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb index 5f237d1a..a1ef04b2 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListF24ResponsePage + class ListF24ResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb b/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb index 2b3d8a1f..424b2050 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListIssuedDocumentsResponse + class ListIssuedDocumentsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb index 9369b3f0..d0410d4e 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListIssuedDocumentsResponsePage + class ListIssuedDocumentsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb b/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb index 65c06a9d..68469766 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListLanguagesResponse + class ListLanguagesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb b/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb index 51638f1e..8b631981 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListPaymentAccountsResponse + class ListPaymentAccountsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb b/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb index 6867edf4..9b2f3515 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListPaymentMethodsResponse + class ListPaymentMethodsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_price_lists_response.rb b/lib/fattureincloud_ruby_sdk/models/list_price_lists_response.rb index 4bc6dbc8..dacb7226 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_price_lists_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_price_lists_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListPriceListsResponse + class ListPriceListsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb b/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb index 9c04b65d..5299c50f 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListProductCategoriesResponse + class ListProductCategoriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_products_response.rb b/lib/fattureincloud_ruby_sdk/models/list_products_response.rb index 5914ebd7..5f4745ff 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_products_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListProductsResponse + class ListProductsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb index 691df150..3a250ff2 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListProductsResponsePage + class ListProductsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb b/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb index d25d28c7..236a4a1d 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListReceiptsResponse + class ListReceiptsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb index cc31c91a..2a8e97a6 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListReceiptsResponsePage + class ListReceiptsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb b/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb index 1005b37b..aefab494 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListReceivedDocumentCategoriesResponse + class ListReceivedDocumentCategoriesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb b/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb index 3889394a..585b0069 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListReceivedDocumentsResponse + class ListReceivedDocumentsResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb index b99e2de4..ebc627f0 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListReceivedDocumentsResponsePage + class ListReceivedDocumentsResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb b/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb index 6f3bdf8f..20de0520 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListRevenueCentersResponse + class ListRevenueCentersResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb b/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb index 652ef81b..688ffda7 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListSuppliersResponse + class ListSuppliersResponse < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb b/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb index 2712a188..99db6d97 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListSuppliersResponsePage + class ListSuppliersResponsePage < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb b/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb index c2616a43..15a184c9 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListTemplatesResponse + class ListTemplatesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb b/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb index 90ee0e14..2df5955a 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListUnitsOfMeasureResponse + class ListUnitsOfMeasureResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb b/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb index 5284141a..d9d0a76d 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListUserCompaniesResponse + class ListUserCompaniesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb b/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb index 4b3a19eb..c929f1a8 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListUserCompaniesResponseData + class ListUserCompaniesResponseData < ApiModelBase attr_accessor :companies # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb b/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb index 28b30ebb..776e828f 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ListVatTypesResponse + class ListVatTypesResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb b/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb index 41c46e79..f14db860 100644 --- a/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ListWebhooksSubscriptionsResponse + class ListWebhooksSubscriptionsResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb index ef324793..44cf814b 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyArchiveDocumentRequest + class ModifyArchiveDocumentRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb index 77193d9f..6364d364 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyArchiveDocumentResponse + class ModifyArchiveDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb index 3fb44cc1..080f8017 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyCashbookEntryRequest + class ModifyCashbookEntryRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb index c651b089..1904f245 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyCashbookEntryResponse + class ModifyCashbookEntryResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb index 5062de74..443348cf 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyClientRequest + class ModifyClientRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb index c7bc350c..5c7d47be 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyClientResponse + class ModifyClientResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb index 9c16f538..785321ef 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyF24Request + class ModifyF24Request < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb index c8adfe62..260c9d2d 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyF24Response + class ModifyF24Response < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb index a302ec8e..735069e5 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyIssuedDocumentRequest + class ModifyIssuedDocumentRequest < ApiModelBase attr_accessor :data attr_accessor :options diff --git a/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb index 727988a0..7d025b80 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyIssuedDocumentResponse + class ModifyIssuedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb index 1823e87c..42ca1b9c 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyPaymentAccountRequest + class ModifyPaymentAccountRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb index b795deda..9bad2a26 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyPaymentAccountResponse + class ModifyPaymentAccountResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb index 1e7f4b02..973f0769 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyPaymentMethodRequest + class ModifyPaymentMethodRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb index 6fec2c77..274e261a 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyPaymentMethodResponse + class ModifyPaymentMethodResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb index 46d9fa20..4ba0d000 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyProductRequest + class ModifyProductRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb index 6590f824..0a70abc3 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyProductResponse + class ModifyProductResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb index 22a747a6..42b99af4 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyReceiptRequest + class ModifyReceiptRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb index 343701c6..54b64e4b 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyReceiptResponse + class ModifyReceiptResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb index 978efdc0..0dc8a3cd 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyReceivedDocumentRequest + class ModifyReceivedDocumentRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb index d975c532..698bfa28 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ModifyReceivedDocumentResponse + class ModifyReceivedDocumentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb index 08004c52..9ab58866 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifySupplierRequest + class ModifySupplierRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb index 251c3ff9..84c29caa 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifySupplierResponse + class ModifySupplierResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb index 9f2e620d..f5b4d9ec 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyVatTypeRequest + class ModifyVatTypeRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb index dcf077bb..50ea80bc 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyVatTypeResponse + class ModifyVatTypeResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb b/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb index 65d29d22..de131476 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyWebhooksSubscriptionRequest + class ModifyWebhooksSubscriptionRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb b/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb index 11198b1c..2e9131dc 100644 --- a/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ModifyWebhooksSubscriptionResponse + class ModifyWebhooksSubscriptionResponse < ApiModelBase attr_accessor :data # Webhooks registration warnings diff --git a/lib/fattureincloud_ruby_sdk/models/monthly_total.rb b/lib/fattureincloud_ruby_sdk/models/monthly_total.rb index b432688d..5545fa2a 100644 --- a/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +++ b/lib/fattureincloud_ruby_sdk/models/monthly_total.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class MonthlyTotal + class MonthlyTotal < ApiModelBase # Monthly total net amount attr_accessor :net diff --git a/lib/fattureincloud_ruby_sdk/models/original_document_type.rb b/lib/fattureincloud_ruby_sdk/models/original_document_type.rb index e9508263..3d1d5163 100644 --- a/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/original_document_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/pagination.rb b/lib/fattureincloud_ruby_sdk/models/pagination.rb index 9fd90f4f..d74c8c48 100644 --- a/lib/fattureincloud_ruby_sdk/models/pagination.rb +++ b/lib/fattureincloud_ruby_sdk/models/pagination.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class Pagination + class Pagination < ApiModelBase # Current page number. attr_accessor :current_page diff --git a/lib/fattureincloud_ruby_sdk/models/payment_account.rb b/lib/fattureincloud_ruby_sdk/models/payment_account.rb index 82714ff8..afd5700d 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_account.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_account.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class PaymentAccount + class PaymentAccount < ApiModelBase # Payment account id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb b/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb index 8f298b42..af509fbe 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/payment_method.rb b/lib/fattureincloud_ruby_sdk/models/payment_method.rb index 4b103f8e..9b8ab4b9 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_method.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_method.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class PaymentMethod + class PaymentMethod < ApiModelBase # Payment method id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb b/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb index e4959dfe..6582baeb 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class PaymentMethodDetails + class PaymentMethodDetails < ApiModelBase # Payment method details title attr_accessor :title diff --git a/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb b/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb index 79b715ee..e8c10db4 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb b/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb index c2644bc8..8fff9549 100644 --- a/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/permission_level.rb b/lib/fattureincloud_ruby_sdk/models/permission_level.rb index e1a4ba38..324a4fe3 100644 --- a/lib/fattureincloud_ruby_sdk/models/permission_level.rb +++ b/lib/fattureincloud_ruby_sdk/models/permission_level.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/permissions.rb b/lib/fattureincloud_ruby_sdk/models/permissions.rb index 2bcbb30b..670f0d6f 100644 --- a/lib/fattureincloud_ruby_sdk/models/permissions.rb +++ b/lib/fattureincloud_ruby_sdk/models/permissions.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class Permissions + class Permissions < ApiModelBase attr_accessor :fic_situation attr_accessor :fic_clients diff --git a/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb b/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb index bc8eb520..647fe9b0 100644 --- a/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +++ b/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class PermissionsFicIssuedDocumentsDetailed + class PermissionsFicIssuedDocumentsDetailed < ApiModelBase attr_accessor :quotes attr_accessor :proformas diff --git a/lib/fattureincloud_ruby_sdk/models/price_list.rb b/lib/fattureincloud_ruby_sdk/models/price_list.rb index 77ced867..108ec33b 100644 --- a/lib/fattureincloud_ruby_sdk/models/price_list.rb +++ b/lib/fattureincloud_ruby_sdk/models/price_list.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class PriceList + class PriceList < ApiModelBase # Price list id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/price_list_item.rb b/lib/fattureincloud_ruby_sdk/models/price_list_item.rb index 7720311e..5d443299 100644 --- a/lib/fattureincloud_ruby_sdk/models/price_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/price_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class PriceListItem + class PriceListItem < ApiModelBase attr_accessor :price # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/price_list_prices_type.rb b/lib/fattureincloud_ruby_sdk/models/price_list_prices_type.rb index 321a2ad0..2a2b4fb3 100644 --- a/lib/fattureincloud_ruby_sdk/models/price_list_prices_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/price_list_prices_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/price_list_type.rb b/lib/fattureincloud_ruby_sdk/models/price_list_type.rb index d917c449..9ce94b3e 100644 --- a/lib/fattureincloud_ruby_sdk/models/price_list_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/price_list_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/product.rb b/lib/fattureincloud_ruby_sdk/models/product.rb index 94e58ccb..b2d15388 100644 --- a/lib/fattureincloud_ruby_sdk/models/product.rb +++ b/lib/fattureincloud_ruby_sdk/models/product.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Product + class Product < ApiModelBase # Product id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/receipt.rb b/lib/fattureincloud_ruby_sdk/models/receipt.rb index 4956a0b3..179381ae 100644 --- a/lib/fattureincloud_ruby_sdk/models/receipt.rb +++ b/lib/fattureincloud_ruby_sdk/models/receipt.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Receipt + class Receipt < ApiModelBase # Receipt id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb b/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb index b17411c0..f4cda48a 100644 --- a/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceiptItemsListItem + class ReceiptItemsListItem < ApiModelBase # Receipt item id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb b/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb index 64f120de..a6f9716e 100644 --- a/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceiptPreCreateInfo + class ReceiptPreCreateInfo < ApiModelBase attr_accessor :numerations # Receipt used numerations list diff --git a/lib/fattureincloud_ruby_sdk/models/receipt_type.rb b/lib/fattureincloud_ruby_sdk/models/receipt_type.rb index 88d4f915..c6a054de 100644 --- a/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/receipt_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/received_document.rb b/lib/fattureincloud_ruby_sdk/models/received_document.rb index 69826beb..d8c5c298 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocument + class ReceivedDocument < ApiModelBase # Received document id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_info.rb b/lib/fattureincloud_ruby_sdk/models/received_document_info.rb index 8f2f9ae2..e583a217 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_info.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocumentInfo + class ReceivedDocumentInfo < ApiModelBase attr_accessor :default_values attr_accessor :items_default_values diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb b/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb index 57066122..78b79dbd 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Received document default values - class ReceivedDocumentInfoDefaultValues + class ReceivedDocumentInfoDefaultValues < ApiModelBase attr_accessor :detailed # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb b/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb index f73b2fed..3e3cf3df 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # Received document items default values - class ReceivedDocumentInfoItemsDefaultValues + class ReceivedDocumentInfoItemsDefaultValues < ApiModelBase # Vat default value attr_accessor :vat diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb b/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb index 80f9f4c7..918ff935 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocumentItemsListItem + class ReceivedDocumentItemsListItem < ApiModelBase # Received document item id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb b/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb index dc3fb40c..1f1fa77e 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocumentPaymentsListItem + class ReceivedDocumentPaymentsListItem < ApiModelBase # Received document payment id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb b/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb index d71d6b7b..a7b81141 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocumentPaymentsListItemPaymentTerms + class ReceivedDocumentPaymentsListItemPaymentTerms < ApiModelBase # Received document payment number of days by which the payment must be made attr_accessor :days diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb b/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb index 8d8a2049..9dd157f7 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class ReceivedDocumentTotals + class ReceivedDocumentTotals < ApiModelBase # Received document total net amount attr_accessor :amount_net diff --git a/lib/fattureincloud_ruby_sdk/models/received_document_type.rb b/lib/fattureincloud_ruby_sdk/models/received_document_type.rb index d61cd47a..a1d8ce2f 100644 --- a/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/received_document_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb b/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb index 6a3761b5..53faf90d 100644 --- a/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -15,7 +15,7 @@ module FattureInCloud_Ruby_Sdk # - class ScheduleEmailRequest + class ScheduleEmailRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb index 2d2f210a..513116d5 100644 --- a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SendEInvoiceRequest + class SendEInvoiceRequest < ApiModelBase attr_accessor :data attr_accessor :options diff --git a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb index 48f266d9..7571c1de 100644 --- a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SendEInvoiceRequestData + class SendEInvoiceRequestData < ApiModelBase # Value of TipoCassa used (optional, override the company default value). attr_accessor :cassa_type diff --git a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb index 58acc77c..a608d19c 100644 --- a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb +++ b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SendEInvoiceRequestOptions + class SendEInvoiceRequestOptions < ApiModelBase # If set to true the e-invoice will not be sent to the SDI. attr_accessor :dry_run diff --git a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb index 76f64089..147fdde1 100644 --- a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SendEInvoiceResponse + class SendEInvoiceResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb index 5291a9be..4d99edd2 100644 --- a/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SendEInvoiceResponseData + class SendEInvoiceResponseData < ApiModelBase # Response message. attr_accessor :name diff --git a/lib/fattureincloud_ruby_sdk/models/sender_email.rb b/lib/fattureincloud_ruby_sdk/models/sender_email.rb index 1c6b8fb7..fa414d55 100644 --- a/lib/fattureincloud_ruby_sdk/models/sender_email.rb +++ b/lib/fattureincloud_ruby_sdk/models/sender_email.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class SenderEmail + class SenderEmail < ApiModelBase # Sender email id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb b/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb index 4ea506bb..cc10df49 100644 --- a/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +++ b/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/supplier.rb b/lib/fattureincloud_ruby_sdk/models/supplier.rb index 612d95d4..99148ad0 100644 --- a/lib/fattureincloud_ruby_sdk/models/supplier.rb +++ b/lib/fattureincloud_ruby_sdk/models/supplier.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class Supplier + class Supplier < ApiModelBase # Supplier id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/supplier_type.rb b/lib/fattureincloud_ruby_sdk/models/supplier_type.rb index 6c93d51a..2e9a847f 100644 --- a/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/supplier_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/tax_profile.rb b/lib/fattureincloud_ruby_sdk/models/tax_profile.rb index db12ee4b..bf4d4a62 100644 --- a/lib/fattureincloud_ruby_sdk/models/tax_profile.rb +++ b/lib/fattureincloud_ruby_sdk/models/tax_profile.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class TaxProfile + class TaxProfile < ApiModelBase # The company type attr_accessor :company_type diff --git a/lib/fattureincloud_ruby_sdk/models/template_type.rb b/lib/fattureincloud_ruby_sdk/models/template_type.rb new file mode 100644 index 00000000..894a959e --- /dev/null +++ b/lib/fattureincloud_ruby_sdk/models/template_type.rb @@ -0,0 +1,41 @@ +=begin +#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.6 +Contact: info@fattureincloud.it +Generated by: https://openapi-generator.tech +Generator version: 7.17.0 + +=end + +require 'date' +require 'time' + +module FattureInCloud_Ruby_Sdk + class TemplateType + STANDARD = "standard".freeze + DELIVERY_NOTE = "delivery_note".freeze + ACCOMPANYING_INVOICE = "accompanying_invoice".freeze + + def self.all_vars + @all_vars ||= [STANDARD, DELIVERY_NOTE, ACCOMPANYING_INVOICE].freeze + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + return value if TemplateType.all_vars.include?(value) + raise "Invalid ENUM value #{value} for class #TemplateType" + end + end +end diff --git a/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb b/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb index 32eab18f..6327767c 100644 --- a/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class TransformIssuedDocumentResponse + class TransformIssuedDocumentResponse < ApiModelBase attr_accessor :data attr_accessor :options diff --git a/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb b/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb index e9a093b9..0b807c76 100644 --- a/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class UploadArchiveAttachmentResponse + class UploadArchiveAttachmentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb b/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb index 35203dc7..7cc3f5de 100644 --- a/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class UploadF24AttachmentResponse + class UploadF24AttachmentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb b/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb index d2a096fb..8871b2bd 100644 --- a/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class UploadIssuedDocumentAttachmentResponse + class UploadIssuedDocumentAttachmentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb b/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb index e13a604d..4fec84ad 100644 --- a/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class UploadReceivedDocumentAttachmentResponse + class UploadReceivedDocumentAttachmentResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/user.rb b/lib/fattureincloud_ruby_sdk/models/user.rb index b3f22eb0..7ba6b3b1 100644 --- a/lib/fattureincloud_ruby_sdk/models/user.rb +++ b/lib/fattureincloud_ruby_sdk/models/user.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class User + class User < ApiModelBase # User id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/user_company_role.rb b/lib/fattureincloud_ruby_sdk/models/user_company_role.rb index 01d6e733..ecb99cff 100644 --- a/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +++ b/lib/fattureincloud_ruby_sdk/models/user_company_role.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/vat_item.rb b/lib/fattureincloud_ruby_sdk/models/vat_item.rb index 722cbf7c..1abc2368 100644 --- a/lib/fattureincloud_ruby_sdk/models/vat_item.rb +++ b/lib/fattureincloud_ruby_sdk/models/vat_item.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VatItem + class VatItem < ApiModelBase # Vat item net amount attr_accessor :amount_net diff --git a/lib/fattureincloud_ruby_sdk/models/vat_kind.rb b/lib/fattureincloud_ruby_sdk/models/vat_kind.rb index 6bb4fe8d..aeb4e785 100644 --- a/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +++ b/lib/fattureincloud_ruby_sdk/models/vat_kind.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/vat_type.rb b/lib/fattureincloud_ruby_sdk/models/vat_type.rb index 2028fe7c..eb2b8fbe 100644 --- a/lib/fattureincloud_ruby_sdk/models/vat_type.rb +++ b/lib/fattureincloud_ruby_sdk/models/vat_type.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VatType + class VatType < ApiModelBase # Vat type id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb index 668e663a..e0724542 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlErrorResponse + class VerifyEInvoiceXmlErrorResponse < ApiModelBase attr_accessor :error attr_accessor :extra diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb index 6761f8c5..01b5193a 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlErrorResponseError + class VerifyEInvoiceXmlErrorResponseError < ApiModelBase attr_accessor :message attr_accessor :validation_result diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb index 3e4e4743..2a1668ab 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlErrorResponseErrorValidationResult + class VerifyEInvoiceXmlErrorResponseErrorValidationResult < ApiModelBase attr_accessor :xml_errors # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb index c945b18e..3630586e 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlErrorResponseExtra + class VerifyEInvoiceXmlErrorResponseExtra < ApiModelBase attr_accessor :errors # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb index d9eb4c76..47d5e205 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlResponse + class VerifyEInvoiceXmlResponse < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb index 25d01584..1101f245 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyEInvoiceXmlResponseData + class VerifyEInvoiceXmlResponseData < ApiModelBase # Determine if the invoice XML is valid. attr_accessor :success diff --git a/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription.rb b/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription.rb index b9bfe972..cb660cb3 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyWebhooksSubscription + class VerifyWebhooksSubscription < ApiModelBase # Webhooks subscription id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription_request.rb b/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription_request.rb index b250cdf4..2a6ccb1d 100644 --- a/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription_request.rb +++ b/lib/fattureincloud_ruby_sdk/models/verify_webhooks_subscription_request.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class VerifyWebhooksSubscriptionRequest + class VerifyWebhooksSubscriptionRequest < ApiModelBase attr_accessor :data # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb index 047e991d..4271cf1a 100644 --- a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb +++ b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class WebhooksSubscription + class WebhooksSubscription < ApiModelBase # Webhooks subscription id attr_accessor :id diff --git a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb index 10af2dc9..a3a282c4 100644 --- a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb +++ b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end @@ -14,7 +14,7 @@ require 'time' module FattureInCloud_Ruby_Sdk - class WebhooksSubscriptionConfig + class WebhooksSubscriptionConfig < ApiModelBase attr_accessor :mapping class EnumAttributeValidator diff --git a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb index 7808f69f..cf8cca3d 100644 --- a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb +++ b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_verification_method.rb b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_verification_method.rb index 616e2c43..02dd730f 100644 --- a/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_verification_method.rb +++ b/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_verification_method.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end diff --git a/lib/fattureincloud_ruby_sdk/version.rb b/lib/fattureincloud_ruby_sdk/version.rb index dbe6fedc..c646d375 100644 --- a/lib/fattureincloud_ruby_sdk/version.rb +++ b/lib/fattureincloud_ruby_sdk/version.rb @@ -3,13 +3,13 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end module FattureInCloud_Ruby_Sdk - VERSION = '2.1.2' + VERSION = '2.1.3' end diff --git a/sdk-version.yaml b/sdk-version.yaml index 16565b6b..f82ddaa2 100644 --- a/sdk-version.yaml +++ b/sdk-version.yaml @@ -1,2 +1,2 @@ info: - version: 2.1.2 + version: 2.1.3 diff --git a/spec/api/price_lists_api_spec.rb b/spec/api/price_lists_api_spec.rb index ba9504ba..ef57c898 100644 --- a/spec/api/price_lists_api_spec.rb +++ b/spec/api/price_lists_api_spec.rb @@ -48,12 +48,12 @@ # @return [GetPriceListItemsResponse] describe 'get_price_list_items test' do it 'should work' do - response = @api_instance.get_price_list_items(2, '10') - response_obj = JSON.parse(response.to_json, object_class: OpenStruct) - expected_json = @get_price_list_items_response_obj.to_json - actual_json = response.to_json + response = @api_instance.get_price_list_items(2, '10') + response_obj = JSON.parse(response.to_json, object_class: OpenStruct) + expected_json = @get_price_list_items_response_obj.to_json + actual_json = response.to_json - expect(actual_json).to eq(expected_json) + expect(actual_json).to eq(expected_json) end end diff --git a/spec/models/entity_client_pre_create_info_spec.rb b/spec/models/entity_client_pre_create_info_spec.rb index ae211350..a7c9a497 100644 --- a/spec/models/entity_client_pre_create_info_spec.rb +++ b/spec/models/entity_client_pre_create_info_spec.rb @@ -80,43 +80,43 @@ describe 'test attribute "countries_list"' do it 'should work' do - expect(instance.countries_list).to be_a_kind_of(Array) + expect(instance.countries_list).to be_a_kind_of(Array) end end describe 'test attribute "payment_methods_list"' do it 'should work' do - expect(instance.payment_methods_list).to be_a_kind_of(Array) + expect(instance.payment_methods_list).to be_a_kind_of(Array) end end describe 'test attribute "payment_accounts_list"' do it 'should work' do - expect(instance.payment_accounts_list).to be_a_kind_of(Array) + expect(instance.payment_accounts_list).to be_a_kind_of(Array) end end describe 'test attribute "vat_types_list"' do it 'should work' do - expect(instance.vat_types_list).to be_a_kind_of(Array) + expect(instance.vat_types_list).to be_a_kind_of(Array) end end describe 'test attribute "price_lists"' do it 'should work' do - expect(instance.price_lists).to be_a_kind_of(Array) + expect(instance.price_lists).to be_a_kind_of(Array) end end describe 'test attribute "limit"' do it 'should work' do - expect(instance.limit).to be_a_kind_of(Numeric) + expect(instance.limit).to be_a_kind_of(Numeric) end end describe 'test attribute "usage"' do it 'should work' do - expect(instance.limit).to be_a_kind_of(Numeric) + expect(instance.limit).to be_a_kind_of(Numeric) end end diff --git a/spec/models/get_bin_issued_document_response_spec.rb b/spec/models/get_bin_issued_document_response_spec.rb index 5ff9479a..c327e639 100644 --- a/spec/models/get_bin_issued_document_response_spec.rb +++ b/spec/models/get_bin_issued_document_response_spec.rb @@ -138,7 +138,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Object) + expect(instance.data).to be_a_kind_of(Object) end end diff --git a/spec/models/get_bin_received_document_response_spec.rb b/spec/models/get_bin_received_document_response_spec.rb index b59f0511..5c556b39 100644 --- a/spec/models/get_bin_received_document_response_spec.rb +++ b/spec/models/get_bin_received_document_response_spec.rb @@ -19,54 +19,54 @@ # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::GetBinReceivedDocumentResponse do instance = FattureInCloud_Ruby_Sdk::GetBinReceivedDocumentResponse.new - instance.data = { - id: 12345, - type: 'expense', - description: 'Soggiorno di lavoro', - amortization: 1, - rc_center: '', - invoice_number: '', - is_marked: false, - is_detailed: false, - e_invoice: false, - entity: { - id: 111, - name: 'Hotel Rubino Palace' - }, - date: '2021-08-15', - next_due_date: '2021-08-15', - currency: { - id: 'EUR', - exchange_rate: '1.00000', - symbol: '€' - }, - amount_net: 592, - amount_vat: 0, - amount_gross: 592, - amount_withholding_tax: 0, - amount_other_withholding_tax: 0, - tax_deductibility: 50, - vat_deductibility: 100, - payments_list: [ - { - amount: 592, - due_date: '2021-08-15', - paid_date: '2021-08-15', - id: 777, - payment_terms: { - days: 0, - type: 'standard' - }, - status: 'paid', - payment_account: { - id: 222, - name: 'Contanti', - virtual: false - } + instance.data = { + id: 12345, + type: 'expense', + description: 'Soggiorno di lavoro', + amortization: 1, + rc_center: '', + invoice_number: '', + is_marked: false, + is_detailed: false, + e_invoice: false, + entity: { + id: 111, + name: 'Hotel Rubino Palace' + }, + date: '2021-08-15', + next_due_date: '2021-08-15', + currency: { + id: 'EUR', + exchange_rate: '1.00000', + symbol: '€' + }, + amount_net: 592, + amount_vat: 0, + amount_gross: 592, + amount_withholding_tax: 0, + amount_other_withholding_tax: 0, + tax_deductibility: 50, + vat_deductibility: 100, + payments_list: [ + { + amount: 592, + due_date: '2021-08-15', + paid_date: '2021-08-15', + id: 777, + payment_terms: { + days: 0, + type: 'standard' + }, + status: 'paid', + payment_account: { + id: 222, + name: 'Contanti', + virtual: false } - ], - attachment_url: 'spesa_ger5i783t45hu6ti.pdf' - } + } + ], + attachment_url: 'spesa_ger5i783t45hu6ti.pdf' + } describe 'test an instance of GetBinReceivedDocumentResponse' do it 'should create an instance of GetBinReceivedDocumentResponse' do @@ -76,7 +76,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Object) + expect(instance.data).to be_a_kind_of(Object) end end diff --git a/spec/models/get_entity_client_pre_create_info_response_spec.rb b/spec/models/get_entity_client_pre_create_info_response_spec.rb index f02a06dc..598483aa 100644 --- a/spec/models/get_entity_client_pre_create_info_response_spec.rb +++ b/spec/models/get_entity_client_pre_create_info_response_spec.rb @@ -19,57 +19,57 @@ # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::GetEntityClientPreCreateInfoResponse do instance = FattureInCloud_Ruby_Sdk::GetEntityClientPreCreateInfoResponse.new - instance.data = { - countries_list: [ - 'Italy' - ], - payment_methods_list: [ - { - id: 555, - name: 'Rimessa diretta', - is_default: false, - details: [], - } - ], - payment_accounts_list: [ - { - id: 0, - name: 'Conto Banca Intesa', - type: 'standard', - iban: 'string', - sia: 'string', - cuc: 'string', - virtual: true - } - ], - vat_types_list: [ - { - id: 0, - 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: 'string', - editable: true, - is_disabled: true, - default: true - } - ], - price_lists: [ - { - id: 'string', - name: '123', - prices_type: 'net', - is_default: true, - valid_from: 'string', - valid_to: 'string', - type: 'sell' - } - ], - limit: 10, - usage: 10 - } + instance.data = { + countries_list: [ + 'Italy' + ], + payment_methods_list: [ + { + id: 555, + name: 'Rimessa diretta', + is_default: false, + details: [], + } + ], + payment_accounts_list: [ + { + id: 0, + name: 'Conto Banca Intesa', + type: 'standard', + iban: 'string', + sia: 'string', + cuc: 'string', + virtual: true + } + ], + vat_types_list: [ + { + id: 0, + 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: 'string', + editable: true, + is_disabled: true, + default: true + } + ], + price_lists: [ + { + id: 'string', + name: '123', + prices_type: 'net', + is_default: true, + valid_from: 'string', + valid_to: 'string', + type: 'sell' + } + ], + limit: 10, + usage: 10 + } describe 'test an instance of GetEntityClientPreCreateInfoResponse' do it 'should create an instance of GetEntityClientPreCreateInfoResponse' do @@ -79,7 +79,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Object) + expect(instance.data).to be_a_kind_of(Object) end end diff --git a/spec/models/get_price_list_items_response_spec.rb b/spec/models/get_price_list_items_response_spec.rb index e4e7d673..0cc95336 100644 --- a/spec/models/get_price_list_items_response_spec.rb +++ b/spec/models/get_price_list_items_response_spec.rb @@ -36,7 +36,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Hash) + expect(instance.data).to be_a_kind_of(Hash) end end end diff --git a/spec/models/get_templates_response_spec.rb b/spec/models/get_templates_response_spec.rb new file mode 100644 index 00000000..c234c1b4 --- /dev/null +++ b/spec/models/get_templates_response_spec.rb @@ -0,0 +1,36 @@ +=begin +#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.6 +Contact: info@fattureincloud.it +Generated by: https://openapi-generator.tech +Generator version: 7.17.0 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for FattureInCloud_Ruby_Sdk::GetTemplatesResponse +# Automatically generated by openapi-generator (https://openapi-generator.tech) +# Please update as you see appropriate +describe FattureInCloud_Ruby_Sdk::GetTemplatesResponse do + # let(:instance) { FattureInCloud_Ruby_Sdk::GetTemplatesResponse.new } + + describe 'test an instance of GetTemplatesResponse' do + it 'should create an instance of GetTemplatesResponse' do + # uncomment below to test the instance creation + # expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::GetTemplatesResponse) + end + end + + describe 'test attribute "data"' do + it 'should work' do + # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/ + end + end + +end diff --git a/spec/models/list_bin_issued_documents_spec.rb b/spec/models/list_bin_issued_documents_spec.rb index a2dba9de..d50528c5 100644 --- a/spec/models/list_bin_issued_documents_spec.rb +++ b/spec/models/list_bin_issued_documents_spec.rb @@ -48,7 +48,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Array) + expect(instance.data).to be_a_kind_of(Array) end end diff --git a/spec/models/list_bin_received_documents_spec.rb b/spec/models/list_bin_received_documents_spec.rb index 1d1d81d3..4e9e2e24 100644 --- a/spec/models/list_bin_received_documents_spec.rb +++ b/spec/models/list_bin_received_documents_spec.rb @@ -19,108 +19,108 @@ # Please update as you see appropriate describe FattureInCloud_Ruby_Sdk::ListBinReceivedDocuments do instance = FattureInCloud_Ruby_Sdk::ListBinReceivedDocuments.new - instance.data = [ - { - id: 12345, - type: 'expense', - description: 'Soggiorno di lavoro', - amortization: 1, - rc_center: '', - invoice_number: '', - is_marked: false, - is_detailed: false, - e_invoice: false, - created_at: '2021-08-15 14:02:02', - updated_at: '2021-08-15 14:02:02', - entity: { - id: 111, - name: 'Hotel Rubino Palace' - }, - date: '2021-08-15', - next_due_date: '2021-08-15', - currency: { - id: 'EUR', - exchange_rate: '1.00000', - symbol: '€' - }, - amount_net: 592, - amount_vat: 0, - amount_gross: 592, - amount_withholding_tax: 0, - amount_other_withholding_tax: 0, - tax_deductibility: 50, - vat_deductibility: 100, - payments_list: [ - { - amount: 592, - due_date: '2021-08-15', - paid_date: '2021-08-15', - id: 777, - payment_terms: { - days: 0, - type: 'standard' - }, - status: 'paid', - payment_account: { - id: 222, - name: 'Contanti', - virtual: false - } + instance.data = [ + { + id: 12345, + type: 'expense', + description: 'Soggiorno di lavoro', + amortization: 1, + rc_center: '', + invoice_number: '', + is_marked: false, + is_detailed: false, + e_invoice: false, + created_at: '2021-08-15 14:02:02', + updated_at: '2021-08-15 14:02:02', + entity: { + id: 111, + name: 'Hotel Rubino Palace' + }, + date: '2021-08-15', + next_due_date: '2021-08-15', + currency: { + id: 'EUR', + exchange_rate: '1.00000', + symbol: '€' + }, + amount_net: 592, + amount_vat: 0, + amount_gross: 592, + amount_withholding_tax: 0, + amount_other_withholding_tax: 0, + tax_deductibility: 50, + vat_deductibility: 100, + payments_list: [ + { + amount: 592, + due_date: '2021-08-15', + paid_date: '2021-08-15', + id: 777, + payment_terms: { + days: 0, + type: 'standard' + }, + status: 'paid', + payment_account: { + id: 222, + name: 'Contanti', + virtual: false } - ], - attachment_url: 'spesa_ger5i783t45hu6ti.pdf', + } + ], + attachment_url: 'spesa_ger5i783t45hu6ti.pdf', + }, + { + id: 12346, + type: 'expense', + description: 'Assicurazione RCA', + amortization: 1, + rc_center: '', + invoice_number: '', + is_marked: false, + is_detailed: false, + e_invoice: false, + created_at: '2021-08-09 14:02:02', + updated_at: '2021-08-09 14:02:02', + entity: { + id: 89, + name: 'Indesa Assicurazioni S.P.A.' + }, + date: '2021-08-08', + next_due_date: '2021-08-08', + currency: { + id: 'EUR', + exchange_rate: '1.00000', + symbol: '€' }, - { - id: 12346, - type: 'expense', - description: 'Assicurazione RCA', - amortization: 1, - rc_center: '', - invoice_number: '', - is_marked: false, - is_detailed: false, - e_invoice: false, - created_at: '2021-08-09 14:02:02', - updated_at: '2021-08-09 14:02:02', - entity: { - id: 89, - name: 'Indesa Assicurazioni S.P.A.' - }, - date: '2021-08-08', - next_due_date: '2021-08-08', - currency: { - id: 'EUR', - exchange_rate: '1.00000', - symbol: '€' - }, - amount_net: 645.69, - amount_vat: 0, - amount_gross: 645.69, - amount_withholding_tax: 0, - amount_other_withholding_tax: 0, - tax_deductibility: 50, - vat_deductibility: 100, - payments_list: [ - { - amount: 645.69, - due_date: '2021-08-08', - paid_date: '2021-08-08', - id: 999, - payment_terms: { - days: 0, - type: 'standard' - }, - status: 'paid', - payment_account: { - id: 333, - name: 'Carta conto', - virtual: false - } + amount_net: 645.69, + amount_vat: 0, + amount_gross: 645.69, + amount_withholding_tax: 0, + amount_other_withholding_tax: 0, + tax_deductibility: 50, + vat_deductibility: 100, + payments_list: [ + { + amount: 645.69, + due_date: '2021-08-08', + paid_date: '2021-08-08', + id: 999, + payment_terms: { + days: 0, + type: 'standard' + }, + status: 'paid', + payment_account: { + id: 333, + name: 'Carta conto', + virtual: false } - ], - attachment_url: 'spesa_gjsd567e5hu6ti.pdf', - } - ] + } + ], + attachment_url: 'spesa_gjsd567e5hu6ti.pdf', + } +] describe 'test an instance of ListBinReceivedDocuments' do it 'should create an instance of ListBinReceivedDocuments' do @@ -130,7 +130,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Array) + expect(instance.data).to be_a_kind_of(Array) end end diff --git a/spec/models/list_price_lists_response_spec.rb b/spec/models/list_price_lists_response_spec.rb index 57a0f779..5e6a1dc9 100644 --- a/spec/models/list_price_lists_response_spec.rb +++ b/spec/models/list_price_lists_response_spec.rb @@ -48,7 +48,7 @@ describe 'test attribute "data"' do it 'should work' do - expect(instance.data).to be_a_kind_of(Array) + expect(instance.data).to be_a_kind_of(Array) end end diff --git a/spec/models/price_list_item_spec.rb b/spec/models/price_list_item_spec.rb index b910eaec..ac4123d2 100644 --- a/spec/models/price_list_item_spec.rb +++ b/spec/models/price_list_item_spec.rb @@ -29,7 +29,7 @@ describe 'test attribute "price"' do it 'should work' do - expect(instance.price).to be_a_kind_of(Float) + expect(instance.price).to be_a_kind_of(Float) end end diff --git a/spec/models/price_list_spec.rb b/spec/models/price_list_spec.rb index 6d069918..18f349d3 100644 --- a/spec/models/price_list_spec.rb +++ b/spec/models/price_list_spec.rb @@ -35,43 +35,43 @@ describe 'test attribute "id"' do it 'should work' do - expect(instance.id).to be_a_kind_of(String) + expect(instance.id).to be_a_kind_of(String) end end describe 'test attribute "name"' do it 'should work' do - expect(instance.name).to be_a_kind_of(String) + expect(instance.name).to be_a_kind_of(String) end end describe 'test attribute "prices_type"' do it 'should work' do - expect(instance.prices_type).to be_a_kind_of(String) + expect(instance.prices_type).to be_a_kind_of(String) end end describe 'test attribute "is_default"' do it 'should work' do - expect(instance.is_default).to be_a_kind_of(TrueClass) + expect(instance.is_default).to be_a_kind_of(TrueClass) end end describe 'test attribute "valid_from"' do it 'should work' do - expect(instance.valid_from).to be_a_kind_of(String) + expect(instance.valid_from).to be_a_kind_of(String) end end describe 'test attribute "valid_to"' do it 'should work' do - expect(instance.valid_to).to be_a_kind_of(String) + expect(instance.valid_to).to be_a_kind_of(String) end end describe 'test attribute "type"' do it 'should work' do - expect(instance.type).to be_a_kind_of(String) + expect(instance.type).to be_a_kind_of(String) end end diff --git a/spec/models/template_type_spec.rb b/spec/models/template_type_spec.rb new file mode 100644 index 00000000..c8cea308 --- /dev/null +++ b/spec/models/template_type_spec.rb @@ -0,0 +1,30 @@ +=begin +#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.6 +Contact: info@fattureincloud.it +Generated by: https://openapi-generator.tech +Generator version: 7.17.0 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for FattureInCloud_Ruby_Sdk::TemplateType +# Automatically generated by openapi-generator (https://openapi-generator.tech) +# Please update as you see appropriate +describe FattureInCloud_Ruby_Sdk::TemplateType do + # let(:instance) { FattureInCloud_Ruby_Sdk::TemplateType.new } + + describe 'test an instance of TemplateType' do + it 'should create an instance of TemplateType' do + # uncomment below to test the instance creation + # expect(instance).to be_instance_of(FattureInCloud_Ruby_Sdk::TemplateType) + end + end + +end diff --git a/spec/models/verify_webhooks_subscription_spec.rb b/spec/models/verify_webhooks_subscription_spec.rb index 8d1d8cfb..1e9d63ee 100644 --- a/spec/models/verify_webhooks_subscription_spec.rb +++ b/spec/models/verify_webhooks_subscription_spec.rb @@ -30,13 +30,13 @@ describe 'test attribute "id"' do it 'should work' do - expect(instance.id).to be_a_kind_of(String) + expect(instance.id).to be_a_kind_of(String) end end describe 'test attribute "verification_method"' do it 'should work' do - expect(instance.verification_method).to be_a_kind_of(String) + expect(instance.verification_method).to be_a_kind_of(String) end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 00025e26..ffb24bc3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,10 +3,10 @@ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. -The version of the OpenAPI document: 2.1.5 +The version of the OpenAPI document: 2.1.6 Contact: info@fattureincloud.it Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.17.0 =end