fattureincloud_ruby_sdk 2.0.17 → 2.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +15 -10
- data/docs/Client.md +1 -0
- data/docs/EmailsApi.md +4 -4
- data/docs/InfoApi.md +2 -2
- data/docs/IssuedDocument.md +1 -0
- data/docs/IssuedDocumentEiData.md +1 -1
- data/docs/IssuedDocumentsApi.md +12 -12
- data/docs/IssuedEInvoicesApi.md +16 -16
- data/docs/ReceivedDocument.md +1 -0
- data/docs/Supplier.md +1 -0
- data/docs/WebhooksSubscription.md +1 -0
- data/docs/WebhooksSubscriptionConfig.md +8 -0
- data/docs/WebhooksSubscriptionMapping.md +7 -0
- data/fattureincloud_ruby_sdk.gemspec +2 -2
- data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/emails_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +8 -8
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +10 -10
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/user_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api_client.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/configuration.rb +11 -9
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/city.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/client.rb +26 -20
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/email_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/event_type.rb +6 -5
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +26 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/language.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/product.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +26 -20
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +26 -20
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/user.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb +28 -24
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb +236 -0
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb +40 -0
- data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
- data/lib/fattureincloud_ruby_sdk.rb +4 -2
- data/sdk-version.yaml +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/webhooks_subscription_config_spec.rb +35 -0
- data/spec/models/webhooks_subscription_mapping_spec.rb +28 -0
- data/spec/models/webhooks_subscription_spec.rb +9 -0
- data/spec/spec_helper.rb +2 -2
- metadata +226 -218
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,6 +107,7 @@ module FattureInCloud_Ruby_Sdk
|
|
107
107
|
# Show invalid properties with the reasons. Usually used together with valid?
|
108
108
|
# @return Array for valid properties with the reasons
|
109
109
|
def list_invalid_properties
|
110
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
110
111
|
invalid_properties = Array.new
|
111
112
|
invalid_properties
|
112
113
|
end
|
@@ -114,6 +115,7 @@ module FattureInCloud_Ruby_Sdk
|
|
114
115
|
# Check to see if the all the properties in the model are valid
|
115
116
|
# @return true if the model is valid
|
116
117
|
def valid?
|
118
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
117
119
|
true
|
118
120
|
end
|
119
121
|
|
@@ -145,37 +147,30 @@ module FattureInCloud_Ruby_Sdk
|
|
145
147
|
# @param [Hash] attributes Model attributes in the form of hash
|
146
148
|
# @return [Object] Returns the model itself
|
147
149
|
def self.build_from_hash(attributes)
|
148
|
-
new.build_from_hash(attributes)
|
149
|
-
end
|
150
|
-
|
151
|
-
# Builds the object from hash
|
152
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
153
|
-
# @return [Object] Returns the model itself
|
154
|
-
def build_from_hash(attributes)
|
155
150
|
return nil unless attributes.is_a?(Hash)
|
156
151
|
attributes = attributes.transform_keys(&:to_sym)
|
157
|
-
|
158
|
-
|
159
|
-
|
152
|
+
transformed_hash = {}
|
153
|
+
openapi_types.each_pair do |key, type|
|
154
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
155
|
+
transformed_hash["#{key}"] = nil
|
160
156
|
elsif type =~ /\AArray<(.*)>/i
|
161
157
|
# check to ensure the input is an array given that the attribute
|
162
158
|
# is documented as an array but the input is not
|
163
|
-
if attributes[
|
164
|
-
|
159
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
160
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
165
161
|
end
|
166
|
-
elsif !attributes[
|
167
|
-
|
162
|
+
elsif !attributes[attribute_map[key]].nil?
|
163
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
168
164
|
end
|
169
165
|
end
|
170
|
-
|
171
|
-
self
|
166
|
+
new(transformed_hash)
|
172
167
|
end
|
173
168
|
|
174
169
|
# Deserializes the data based on type
|
175
170
|
# @param string type Data type
|
176
171
|
# @param string value Value to be deserialized
|
177
172
|
# @return [Object] Deserialized data
|
178
|
-
def _deserialize(type, value)
|
173
|
+
def self._deserialize(type, value)
|
179
174
|
case type.to_sym
|
180
175
|
when :Time
|
181
176
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -237,6 +237,7 @@ module FattureInCloud_Ruby_Sdk
|
|
237
237
|
# Show invalid properties with the reasons. Usually used together with valid?
|
238
238
|
# @return Array for valid properties with the reasons
|
239
239
|
def list_invalid_properties
|
240
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
240
241
|
invalid_properties = Array.new
|
241
242
|
invalid_properties
|
242
243
|
end
|
@@ -244,6 +245,7 @@ module FattureInCloud_Ruby_Sdk
|
|
244
245
|
# Check to see if the all the properties in the model are valid
|
245
246
|
# @return true if the model is valid
|
246
247
|
def valid?
|
248
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
247
249
|
true
|
248
250
|
end
|
249
251
|
|
@@ -286,37 +288,30 @@ module FattureInCloud_Ruby_Sdk
|
|
286
288
|
# @param [Hash] attributes Model attributes in the form of hash
|
287
289
|
# @return [Object] Returns the model itself
|
288
290
|
def self.build_from_hash(attributes)
|
289
|
-
new.build_from_hash(attributes)
|
290
|
-
end
|
291
|
-
|
292
|
-
# Builds the object from hash
|
293
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
294
|
-
# @return [Object] Returns the model itself
|
295
|
-
def build_from_hash(attributes)
|
296
291
|
return nil unless attributes.is_a?(Hash)
|
297
292
|
attributes = attributes.transform_keys(&:to_sym)
|
298
|
-
|
299
|
-
|
300
|
-
|
293
|
+
transformed_hash = {}
|
294
|
+
openapi_types.each_pair do |key, type|
|
295
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
296
|
+
transformed_hash["#{key}"] = nil
|
301
297
|
elsif type =~ /\AArray<(.*)>/i
|
302
298
|
# check to ensure the input is an array given that the attribute
|
303
299
|
# is documented as an array but the input is not
|
304
|
-
if attributes[
|
305
|
-
|
300
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
301
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
306
302
|
end
|
307
|
-
elsif !attributes[
|
308
|
-
|
303
|
+
elsif !attributes[attribute_map[key]].nil?
|
304
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
309
305
|
end
|
310
306
|
end
|
311
|
-
|
312
|
-
self
|
307
|
+
new(transformed_hash)
|
313
308
|
end
|
314
309
|
|
315
310
|
# Deserializes the data based on type
|
316
311
|
# @param string type Data type
|
317
312
|
# @param string value Value to be deserialized
|
318
313
|
# @return [Object] Deserialized data
|
319
|
-
def _deserialize(type, value)
|
314
|
+
def self._deserialize(type, value)
|
320
315
|
case type.to_sym
|
321
316
|
when :Time
|
322
317
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -75,6 +75,7 @@ module FattureInCloud_Ruby_Sdk
|
|
75
75
|
# Show invalid properties with the reasons. Usually used together with valid?
|
76
76
|
# @return Array for valid properties with the reasons
|
77
77
|
def list_invalid_properties
|
78
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
78
79
|
invalid_properties = Array.new
|
79
80
|
invalid_properties
|
80
81
|
end
|
@@ -82,6 +83,7 @@ module FattureInCloud_Ruby_Sdk
|
|
82
83
|
# Check to see if the all the properties in the model are valid
|
83
84
|
# @return true if the model is valid
|
84
85
|
def valid?
|
86
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
87
|
true
|
86
88
|
end
|
87
89
|
|
@@ -110,37 +112,30 @@ module FattureInCloud_Ruby_Sdk
|
|
110
112
|
# @param [Hash] attributes Model attributes in the form of hash
|
111
113
|
# @return [Object] Returns the model itself
|
112
114
|
def self.build_from_hash(attributes)
|
113
|
-
new.build_from_hash(attributes)
|
114
|
-
end
|
115
|
-
|
116
|
-
# Builds the object from hash
|
117
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
-
# @return [Object] Returns the model itself
|
119
|
-
def build_from_hash(attributes)
|
120
115
|
return nil unless attributes.is_a?(Hash)
|
121
116
|
attributes = attributes.transform_keys(&:to_sym)
|
122
|
-
|
123
|
-
|
124
|
-
|
117
|
+
transformed_hash = {}
|
118
|
+
openapi_types.each_pair do |key, type|
|
119
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
120
|
+
transformed_hash["#{key}"] = nil
|
125
121
|
elsif type =~ /\AArray<(.*)>/i
|
126
122
|
# check to ensure the input is an array given that the attribute
|
127
123
|
# is documented as an array but the input is not
|
128
|
-
if attributes[
|
129
|
-
|
124
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
125
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
130
126
|
end
|
131
|
-
elsif !attributes[
|
132
|
-
|
127
|
+
elsif !attributes[attribute_map[key]].nil?
|
128
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
133
129
|
end
|
134
130
|
end
|
135
|
-
|
136
|
-
self
|
131
|
+
new(transformed_hash)
|
137
132
|
end
|
138
133
|
|
139
134
|
# Deserializes the data based on type
|
140
135
|
# @param string type Data type
|
141
136
|
# @param string value Value to be deserialized
|
142
137
|
# @return [Object] Deserialized data
|
143
|
-
def _deserialize(type, value)
|
138
|
+
def self._deserialize(type, value)
|
144
139
|
case type.to_sym
|
145
140
|
when :Time
|
146
141
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -168,6 +168,7 @@ module FattureInCloud_Ruby_Sdk
|
|
168
168
|
# Show invalid properties with the reasons. Usually used together with valid?
|
169
169
|
# @return Array for valid properties with the reasons
|
170
170
|
def list_invalid_properties
|
171
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
171
172
|
invalid_properties = Array.new
|
172
173
|
invalid_properties
|
173
174
|
end
|
@@ -175,6 +176,7 @@ module FattureInCloud_Ruby_Sdk
|
|
175
176
|
# Check to see if the all the properties in the model are valid
|
176
177
|
# @return true if the model is valid
|
177
178
|
def valid?
|
179
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
178
180
|
true
|
179
181
|
end
|
180
182
|
|
@@ -212,37 +214,30 @@ module FattureInCloud_Ruby_Sdk
|
|
212
214
|
# @param [Hash] attributes Model attributes in the form of hash
|
213
215
|
# @return [Object] Returns the model itself
|
214
216
|
def self.build_from_hash(attributes)
|
215
|
-
new.build_from_hash(attributes)
|
216
|
-
end
|
217
|
-
|
218
|
-
# Builds the object from hash
|
219
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
220
|
-
# @return [Object] Returns the model itself
|
221
|
-
def build_from_hash(attributes)
|
222
217
|
return nil unless attributes.is_a?(Hash)
|
223
218
|
attributes = attributes.transform_keys(&:to_sym)
|
224
|
-
|
225
|
-
|
226
|
-
|
219
|
+
transformed_hash = {}
|
220
|
+
openapi_types.each_pair do |key, type|
|
221
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
222
|
+
transformed_hash["#{key}"] = nil
|
227
223
|
elsif type =~ /\AArray<(.*)>/i
|
228
224
|
# check to ensure the input is an array given that the attribute
|
229
225
|
# is documented as an array but the input is not
|
230
|
-
if attributes[
|
231
|
-
|
226
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
227
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
232
228
|
end
|
233
|
-
elsif !attributes[
|
234
|
-
|
229
|
+
elsif !attributes[attribute_map[key]].nil?
|
230
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
235
231
|
end
|
236
232
|
end
|
237
|
-
|
238
|
-
self
|
233
|
+
new(transformed_hash)
|
239
234
|
end
|
240
235
|
|
241
236
|
# Deserializes the data based on type
|
242
237
|
# @param string type Data type
|
243
238
|
# @param string value Value to be deserialized
|
244
239
|
# @return [Object] Deserialized data
|
245
|
-
def _deserialize(type, value)
|
240
|
+
def self._deserialize(type, value)
|
246
241
|
case type.to_sym
|
247
242
|
when :Time
|
248
243
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -78,6 +78,7 @@ module FattureInCloud_Ruby_Sdk
|
|
78
78
|
# Show invalid properties with the reasons. Usually used together with valid?
|
79
79
|
# @return Array for valid properties with the reasons
|
80
80
|
def list_invalid_properties
|
81
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
81
82
|
invalid_properties = Array.new
|
82
83
|
invalid_properties
|
83
84
|
end
|
@@ -85,6 +86,7 @@ module FattureInCloud_Ruby_Sdk
|
|
85
86
|
# Check to see if the all the properties in the model are valid
|
86
87
|
# @return true if the model is valid
|
87
88
|
def valid?
|
89
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
88
90
|
true
|
89
91
|
end
|
90
92
|
|
@@ -113,37 +115,30 @@ module FattureInCloud_Ruby_Sdk
|
|
113
115
|
# @param [Hash] attributes Model attributes in the form of hash
|
114
116
|
# @return [Object] Returns the model itself
|
115
117
|
def self.build_from_hash(attributes)
|
116
|
-
new.build_from_hash(attributes)
|
117
|
-
end
|
118
|
-
|
119
|
-
# Builds the object from hash
|
120
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
-
# @return [Object] Returns the model itself
|
122
|
-
def build_from_hash(attributes)
|
123
118
|
return nil unless attributes.is_a?(Hash)
|
124
119
|
attributes = attributes.transform_keys(&:to_sym)
|
125
|
-
|
126
|
-
|
127
|
-
|
120
|
+
transformed_hash = {}
|
121
|
+
openapi_types.each_pair do |key, type|
|
122
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
123
|
+
transformed_hash["#{key}"] = nil
|
128
124
|
elsif type =~ /\AArray<(.*)>/i
|
129
125
|
# check to ensure the input is an array given that the attribute
|
130
126
|
# is documented as an array but the input is not
|
131
|
-
if attributes[
|
132
|
-
|
127
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
128
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
133
129
|
end
|
134
|
-
elsif !attributes[
|
135
|
-
|
130
|
+
elsif !attributes[attribute_map[key]].nil?
|
131
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
136
132
|
end
|
137
133
|
end
|
138
|
-
|
139
|
-
self
|
134
|
+
new(transformed_hash)
|
140
135
|
end
|
141
136
|
|
142
137
|
# Deserializes the data based on type
|
143
138
|
# @param string type Data type
|
144
139
|
# @param string value Value to be deserialized
|
145
140
|
# @return [Object] Deserialized data
|
146
|
-
def _deserialize(type, value)
|
141
|
+
def self._deserialize(type, value)
|
147
142
|
case type.to_sym
|
148
143
|
when :Time
|
149
144
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -136,6 +136,7 @@ module FattureInCloud_Ruby_Sdk
|
|
136
136
|
# Show invalid properties with the reasons. Usually used together with valid?
|
137
137
|
# @return Array for valid properties with the reasons
|
138
138
|
def list_invalid_properties
|
139
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
139
140
|
invalid_properties = Array.new
|
140
141
|
invalid_properties
|
141
142
|
end
|
@@ -143,6 +144,7 @@ module FattureInCloud_Ruby_Sdk
|
|
143
144
|
# Check to see if the all the properties in the model are valid
|
144
145
|
# @return true if the model is valid
|
145
146
|
def valid?
|
147
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
146
148
|
true
|
147
149
|
end
|
148
150
|
|
@@ -177,37 +179,30 @@ module FattureInCloud_Ruby_Sdk
|
|
177
179
|
# @param [Hash] attributes Model attributes in the form of hash
|
178
180
|
# @return [Object] Returns the model itself
|
179
181
|
def self.build_from_hash(attributes)
|
180
|
-
new.build_from_hash(attributes)
|
181
|
-
end
|
182
|
-
|
183
|
-
# Builds the object from hash
|
184
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
185
|
-
# @return [Object] Returns the model itself
|
186
|
-
def build_from_hash(attributes)
|
187
182
|
return nil unless attributes.is_a?(Hash)
|
188
183
|
attributes = attributes.transform_keys(&:to_sym)
|
189
|
-
|
190
|
-
|
191
|
-
|
184
|
+
transformed_hash = {}
|
185
|
+
openapi_types.each_pair do |key, type|
|
186
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
187
|
+
transformed_hash["#{key}"] = nil
|
192
188
|
elsif type =~ /\AArray<(.*)>/i
|
193
189
|
# check to ensure the input is an array given that the attribute
|
194
190
|
# is documented as an array but the input is not
|
195
|
-
if attributes[
|
196
|
-
|
191
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
192
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
197
193
|
end
|
198
|
-
elsif !attributes[
|
199
|
-
|
194
|
+
elsif !attributes[attribute_map[key]].nil?
|
195
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
200
196
|
end
|
201
197
|
end
|
202
|
-
|
203
|
-
self
|
198
|
+
new(transformed_hash)
|
204
199
|
end
|
205
200
|
|
206
201
|
# Deserializes the data based on type
|
207
202
|
# @param string type Data type
|
208
203
|
# @param string value Value to be deserialized
|
209
204
|
# @return [Object] Deserialized data
|
210
|
-
def _deserialize(type, value)
|
205
|
+
def self._deserialize(type, value)
|
211
206
|
case type.to_sym
|
212
207
|
when :Time
|
213
208
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -97,6 +97,7 @@ module FattureInCloud_Ruby_Sdk
|
|
97
97
|
# Show invalid properties with the reasons. Usually used together with valid?
|
98
98
|
# @return Array for valid properties with the reasons
|
99
99
|
def list_invalid_properties
|
100
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
100
101
|
invalid_properties = Array.new
|
101
102
|
invalid_properties
|
102
103
|
end
|
@@ -104,6 +105,7 @@ module FattureInCloud_Ruby_Sdk
|
|
104
105
|
# Check to see if the all the properties in the model are valid
|
105
106
|
# @return true if the model is valid
|
106
107
|
def valid?
|
108
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
107
109
|
true
|
108
110
|
end
|
109
111
|
|
@@ -134,37 +136,30 @@ module FattureInCloud_Ruby_Sdk
|
|
134
136
|
# @param [Hash] attributes Model attributes in the form of hash
|
135
137
|
# @return [Object] Returns the model itself
|
136
138
|
def self.build_from_hash(attributes)
|
137
|
-
new.build_from_hash(attributes)
|
138
|
-
end
|
139
|
-
|
140
|
-
# Builds the object from hash
|
141
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
142
|
-
# @return [Object] Returns the model itself
|
143
|
-
def build_from_hash(attributes)
|
144
139
|
return nil unless attributes.is_a?(Hash)
|
145
140
|
attributes = attributes.transform_keys(&:to_sym)
|
146
|
-
|
147
|
-
|
148
|
-
|
141
|
+
transformed_hash = {}
|
142
|
+
openapi_types.each_pair do |key, type|
|
143
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
144
|
+
transformed_hash["#{key}"] = nil
|
149
145
|
elsif type =~ /\AArray<(.*)>/i
|
150
146
|
# check to ensure the input is an array given that the attribute
|
151
147
|
# is documented as an array but the input is not
|
152
|
-
if attributes[
|
153
|
-
|
148
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
149
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
154
150
|
end
|
155
|
-
elsif !attributes[
|
156
|
-
|
151
|
+
elsif !attributes[attribute_map[key]].nil?
|
152
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
157
153
|
end
|
158
154
|
end
|
159
|
-
|
160
|
-
self
|
155
|
+
new(transformed_hash)
|
161
156
|
end
|
162
157
|
|
163
158
|
# Deserializes the data based on type
|
164
159
|
# @param string type Data type
|
165
160
|
# @param string value Value to be deserialized
|
166
161
|
# @return [Object] Deserialized data
|
167
|
-
def _deserialize(type, value)
|
162
|
+
def self._deserialize(type, value)
|
168
163
|
case type.to_sym
|
169
164
|
when :Time
|
170
165
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -435,6 +435,7 @@ module FattureInCloud_Ruby_Sdk
|
|
435
435
|
# Show invalid properties with the reasons. Usually used together with valid?
|
436
436
|
# @return Array for valid properties with the reasons
|
437
437
|
def list_invalid_properties
|
438
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
438
439
|
invalid_properties = Array.new
|
439
440
|
invalid_properties
|
440
441
|
end
|
@@ -442,6 +443,7 @@ module FattureInCloud_Ruby_Sdk
|
|
442
443
|
# Check to see if the all the properties in the model are valid
|
443
444
|
# @return true if the model is valid
|
444
445
|
def valid?
|
446
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
445
447
|
true
|
446
448
|
end
|
447
449
|
|
@@ -504,37 +506,30 @@ module FattureInCloud_Ruby_Sdk
|
|
504
506
|
# @param [Hash] attributes Model attributes in the form of hash
|
505
507
|
# @return [Object] Returns the model itself
|
506
508
|
def self.build_from_hash(attributes)
|
507
|
-
new.build_from_hash(attributes)
|
508
|
-
end
|
509
|
-
|
510
|
-
# Builds the object from hash
|
511
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
512
|
-
# @return [Object] Returns the model itself
|
513
|
-
def build_from_hash(attributes)
|
514
509
|
return nil unless attributes.is_a?(Hash)
|
515
510
|
attributes = attributes.transform_keys(&:to_sym)
|
516
|
-
|
517
|
-
|
518
|
-
|
511
|
+
transformed_hash = {}
|
512
|
+
openapi_types.each_pair do |key, type|
|
513
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
514
|
+
transformed_hash["#{key}"] = nil
|
519
515
|
elsif type =~ /\AArray<(.*)>/i
|
520
516
|
# check to ensure the input is an array given that the attribute
|
521
517
|
# is documented as an array but the input is not
|
522
|
-
if attributes[
|
523
|
-
|
518
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
519
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
524
520
|
end
|
525
|
-
elsif !attributes[
|
526
|
-
|
521
|
+
elsif !attributes[attribute_map[key]].nil?
|
522
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
527
523
|
end
|
528
524
|
end
|
529
|
-
|
530
|
-
self
|
525
|
+
new(transformed_hash)
|
531
526
|
end
|
532
527
|
|
533
528
|
# Deserializes the data based on type
|
534
529
|
# @param string type Data type
|
535
530
|
# @param string value Value to be deserialized
|
536
531
|
# @return [Object] Deserialized data
|
537
|
-
def _deserialize(type, value)
|
532
|
+
def self._deserialize(type, value)
|
538
533
|
case type.to_sym
|
539
534
|
when :Time
|
540
535
|
Time.parse(value)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|