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
|
|
@@ -156,6 +156,7 @@ module FattureInCloud_Ruby_Sdk
|
|
156
156
|
# Show invalid properties with the reasons. Usually used together with valid?
|
157
157
|
# @return Array for valid properties with the reasons
|
158
158
|
def list_invalid_properties
|
159
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
159
160
|
invalid_properties = Array.new
|
160
161
|
invalid_properties
|
161
162
|
end
|
@@ -163,6 +164,7 @@ module FattureInCloud_Ruby_Sdk
|
|
163
164
|
# Check to see if the all the properties in the model are valid
|
164
165
|
# @return true if the model is valid
|
165
166
|
def valid?
|
167
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
166
168
|
true
|
167
169
|
end
|
168
170
|
|
@@ -197,37 +199,30 @@ module FattureInCloud_Ruby_Sdk
|
|
197
199
|
# @param [Hash] attributes Model attributes in the form of hash
|
198
200
|
# @return [Object] Returns the model itself
|
199
201
|
def self.build_from_hash(attributes)
|
200
|
-
new.build_from_hash(attributes)
|
201
|
-
end
|
202
|
-
|
203
|
-
# Builds the object from hash
|
204
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
205
|
-
# @return [Object] Returns the model itself
|
206
|
-
def build_from_hash(attributes)
|
207
202
|
return nil unless attributes.is_a?(Hash)
|
208
203
|
attributes = attributes.transform_keys(&:to_sym)
|
209
|
-
|
210
|
-
|
211
|
-
|
204
|
+
transformed_hash = {}
|
205
|
+
openapi_types.each_pair do |key, type|
|
206
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
207
|
+
transformed_hash["#{key}"] = nil
|
212
208
|
elsif type =~ /\AArray<(.*)>/i
|
213
209
|
# check to ensure the input is an array given that the attribute
|
214
210
|
# is documented as an array but the input is not
|
215
|
-
if attributes[
|
216
|
-
|
211
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
212
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
217
213
|
end
|
218
|
-
elsif !attributes[
|
219
|
-
|
214
|
+
elsif !attributes[attribute_map[key]].nil?
|
215
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
220
216
|
end
|
221
217
|
end
|
222
|
-
|
223
|
-
self
|
218
|
+
new(transformed_hash)
|
224
219
|
end
|
225
220
|
|
226
221
|
# Deserializes the data based on type
|
227
222
|
# @param string type Data type
|
228
223
|
# @param string value Value to be deserialized
|
229
224
|
# @return [Object] Deserialized data
|
230
|
-
def _deserialize(type, value)
|
225
|
+
def self._deserialize(type, value)
|
231
226
|
case type.to_sym
|
232
227
|
when :Time
|
233
228
|
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
|
|
@@ -99,6 +99,7 @@ module FattureInCloud_Ruby_Sdk
|
|
99
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
100
100
|
# @return Array for valid properties with the reasons
|
101
101
|
def list_invalid_properties
|
102
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
102
103
|
invalid_properties = Array.new
|
103
104
|
invalid_properties
|
104
105
|
end
|
@@ -106,6 +107,7 @@ module FattureInCloud_Ruby_Sdk
|
|
106
107
|
# Check to see if the all the properties in the model are valid
|
107
108
|
# @return true if the model is valid
|
108
109
|
def valid?
|
110
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
109
111
|
true
|
110
112
|
end
|
111
113
|
|
@@ -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
|
|
@@ -212,6 +212,7 @@ module FattureInCloud_Ruby_Sdk
|
|
212
212
|
# Show invalid properties with the reasons. Usually used together with valid?
|
213
213
|
# @return Array for valid properties with the reasons
|
214
214
|
def list_invalid_properties
|
215
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
215
216
|
invalid_properties = Array.new
|
216
217
|
invalid_properties
|
217
218
|
end
|
@@ -219,6 +220,7 @@ module FattureInCloud_Ruby_Sdk
|
|
219
220
|
# Check to see if the all the properties in the model are valid
|
220
221
|
# @return true if the model is valid
|
221
222
|
def valid?
|
223
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
222
224
|
true
|
223
225
|
end
|
224
226
|
|
@@ -259,37 +261,30 @@ module FattureInCloud_Ruby_Sdk
|
|
259
261
|
# @param [Hash] attributes Model attributes in the form of hash
|
260
262
|
# @return [Object] Returns the model itself
|
261
263
|
def self.build_from_hash(attributes)
|
262
|
-
new.build_from_hash(attributes)
|
263
|
-
end
|
264
|
-
|
265
|
-
# Builds the object from hash
|
266
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
267
|
-
# @return [Object] Returns the model itself
|
268
|
-
def build_from_hash(attributes)
|
269
264
|
return nil unless attributes.is_a?(Hash)
|
270
265
|
attributes = attributes.transform_keys(&:to_sym)
|
271
|
-
|
272
|
-
|
273
|
-
|
266
|
+
transformed_hash = {}
|
267
|
+
openapi_types.each_pair do |key, type|
|
268
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
269
|
+
transformed_hash["#{key}"] = nil
|
274
270
|
elsif type =~ /\AArray<(.*)>/i
|
275
271
|
# check to ensure the input is an array given that the attribute
|
276
272
|
# is documented as an array but the input is not
|
277
|
-
if attributes[
|
278
|
-
|
273
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
274
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
279
275
|
end
|
280
|
-
elsif !attributes[
|
281
|
-
|
276
|
+
elsif !attributes[attribute_map[key]].nil?
|
277
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
282
278
|
end
|
283
279
|
end
|
284
|
-
|
285
|
-
self
|
280
|
+
new(transformed_hash)
|
286
281
|
end
|
287
282
|
|
288
283
|
# Deserializes the data based on type
|
289
284
|
# @param string type Data type
|
290
285
|
# @param string value Value to be deserialized
|
291
286
|
# @return [Object] Deserialized data
|
292
|
-
def _deserialize(type, value)
|
287
|
+
def self._deserialize(type, value)
|
293
288
|
case type.to_sym
|
294
289
|
when :Time
|
295
290
|
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
|
|
@@ -160,6 +160,7 @@ module FattureInCloud_Ruby_Sdk
|
|
160
160
|
# Show invalid properties with the reasons. Usually used together with valid?
|
161
161
|
# @return Array for valid properties with the reasons
|
162
162
|
def list_invalid_properties
|
163
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
163
164
|
invalid_properties = Array.new
|
164
165
|
invalid_properties
|
165
166
|
end
|
@@ -167,6 +168,7 @@ module FattureInCloud_Ruby_Sdk
|
|
167
168
|
# Check to see if the all the properties in the model are valid
|
168
169
|
# @return true if the model is valid
|
169
170
|
def valid?
|
171
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
170
172
|
true
|
171
173
|
end
|
172
174
|
|
@@ -204,37 +206,30 @@ module FattureInCloud_Ruby_Sdk
|
|
204
206
|
# @param [Hash] attributes Model attributes in the form of hash
|
205
207
|
# @return [Object] Returns the model itself
|
206
208
|
def self.build_from_hash(attributes)
|
207
|
-
new.build_from_hash(attributes)
|
208
|
-
end
|
209
|
-
|
210
|
-
# Builds the object from hash
|
211
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
212
|
-
# @return [Object] Returns the model itself
|
213
|
-
def build_from_hash(attributes)
|
214
209
|
return nil unless attributes.is_a?(Hash)
|
215
210
|
attributes = attributes.transform_keys(&:to_sym)
|
216
|
-
|
217
|
-
|
218
|
-
|
211
|
+
transformed_hash = {}
|
212
|
+
openapi_types.each_pair do |key, type|
|
213
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
214
|
+
transformed_hash["#{key}"] = nil
|
219
215
|
elsif type =~ /\AArray<(.*)>/i
|
220
216
|
# check to ensure the input is an array given that the attribute
|
221
217
|
# is documented as an array but the input is not
|
222
|
-
if attributes[
|
223
|
-
|
218
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
219
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
224
220
|
end
|
225
|
-
elsif !attributes[
|
226
|
-
|
221
|
+
elsif !attributes[attribute_map[key]].nil?
|
222
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
227
223
|
end
|
228
224
|
end
|
229
|
-
|
230
|
-
self
|
225
|
+
new(transformed_hash)
|
231
226
|
end
|
232
227
|
|
233
228
|
# Deserializes the data based on type
|
234
229
|
# @param string type Data type
|
235
230
|
# @param string value Value to be deserialized
|
236
231
|
# @return [Object] Deserialized data
|
237
|
-
def _deserialize(type, value)
|
232
|
+
def self._deserialize(type, value)
|
238
233
|
case type.to_sym
|
239
234
|
when :Time
|
240
235
|
Time.parse(value)
|
data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb
CHANGED
@@ -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
|
|
@@ -94,6 +94,7 @@ module FattureInCloud_Ruby_Sdk
|
|
94
94
|
# Show invalid properties with the reasons. Usually used together with valid?
|
95
95
|
# @return Array for valid properties with the reasons
|
96
96
|
def list_invalid_properties
|
97
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
97
98
|
invalid_properties = Array.new
|
98
99
|
invalid_properties
|
99
100
|
end
|
@@ -101,6 +102,7 @@ module FattureInCloud_Ruby_Sdk
|
|
101
102
|
# Check to see if the all the properties in the model are valid
|
102
103
|
# @return true if the model is valid
|
103
104
|
def valid?
|
105
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
104
106
|
true
|
105
107
|
end
|
106
108
|
|
@@ -131,37 +133,30 @@ module FattureInCloud_Ruby_Sdk
|
|
131
133
|
# @param [Hash] attributes Model attributes in the form of hash
|
132
134
|
# @return [Object] Returns the model itself
|
133
135
|
def self.build_from_hash(attributes)
|
134
|
-
new.build_from_hash(attributes)
|
135
|
-
end
|
136
|
-
|
137
|
-
# Builds the object from hash
|
138
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
139
|
-
# @return [Object] Returns the model itself
|
140
|
-
def build_from_hash(attributes)
|
141
136
|
return nil unless attributes.is_a?(Hash)
|
142
137
|
attributes = attributes.transform_keys(&:to_sym)
|
143
|
-
|
144
|
-
|
145
|
-
|
138
|
+
transformed_hash = {}
|
139
|
+
openapi_types.each_pair do |key, type|
|
140
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
141
|
+
transformed_hash["#{key}"] = nil
|
146
142
|
elsif type =~ /\AArray<(.*)>/i
|
147
143
|
# check to ensure the input is an array given that the attribute
|
148
144
|
# is documented as an array but the input is not
|
149
|
-
if attributes[
|
150
|
-
|
145
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
146
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
151
147
|
end
|
152
|
-
elsif !attributes[
|
153
|
-
|
148
|
+
elsif !attributes[attribute_map[key]].nil?
|
149
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
154
150
|
end
|
155
151
|
end
|
156
|
-
|
157
|
-
self
|
152
|
+
new(transformed_hash)
|
158
153
|
end
|
159
154
|
|
160
155
|
# Deserializes the data based on type
|
161
156
|
# @param string type Data type
|
162
157
|
# @param string value Value to be deserialized
|
163
158
|
# @return [Object] Deserialized data
|
164
|
-
def _deserialize(type, value)
|
159
|
+
def self._deserialize(type, value)
|
165
160
|
case type.to_sym
|
166
161
|
when :Time
|
167
162
|
Time.parse(value)
|
data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb
CHANGED
@@ -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
|
|
@@ -67,6 +67,7 @@ module FattureInCloud_Ruby_Sdk
|
|
67
67
|
# Show invalid properties with the reasons. Usually used together with valid?
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
70
71
|
invalid_properties = Array.new
|
71
72
|
invalid_properties
|
72
73
|
end
|
@@ -74,6 +75,7 @@ module FattureInCloud_Ruby_Sdk
|
|
74
75
|
# Check to see if the all the properties in the model are valid
|
75
76
|
# @return true if the model is valid
|
76
77
|
def valid?
|
78
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
77
79
|
true
|
78
80
|
end
|
79
81
|
|
@@ -101,37 +103,30 @@ module FattureInCloud_Ruby_Sdk
|
|
101
103
|
# @param [Hash] attributes Model attributes in the form of hash
|
102
104
|
# @return [Object] Returns the model itself
|
103
105
|
def self.build_from_hash(attributes)
|
104
|
-
new.build_from_hash(attributes)
|
105
|
-
end
|
106
|
-
|
107
|
-
# Builds the object from hash
|
108
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
109
|
-
# @return [Object] Returns the model itself
|
110
|
-
def build_from_hash(attributes)
|
111
106
|
return nil unless attributes.is_a?(Hash)
|
112
107
|
attributes = attributes.transform_keys(&:to_sym)
|
113
|
-
|
114
|
-
|
115
|
-
|
108
|
+
transformed_hash = {}
|
109
|
+
openapi_types.each_pair do |key, type|
|
110
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
111
|
+
transformed_hash["#{key}"] = nil
|
116
112
|
elsif type =~ /\AArray<(.*)>/i
|
117
113
|
# check to ensure the input is an array given that the attribute
|
118
114
|
# is documented as an array but the input is not
|
119
|
-
if attributes[
|
120
|
-
|
115
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
116
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
121
117
|
end
|
122
|
-
elsif !attributes[
|
123
|
-
|
118
|
+
elsif !attributes[attribute_map[key]].nil?
|
119
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
124
120
|
end
|
125
121
|
end
|
126
|
-
|
127
|
-
self
|
122
|
+
new(transformed_hash)
|
128
123
|
end
|
129
124
|
|
130
125
|
# Deserializes the data based on type
|
131
126
|
# @param string type Data type
|
132
127
|
# @param string value Value to be deserialized
|
133
128
|
# @return [Object] Deserialized data
|
134
|
-
def _deserialize(type, value)
|
129
|
+
def self._deserialize(type, value)
|
135
130
|
case type.to_sym
|
136
131
|
when :Time
|
137
132
|
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
|
|
@@ -227,6 +227,7 @@ module FattureInCloud_Ruby_Sdk
|
|
227
227
|
# Show invalid properties with the reasons. Usually used together with valid?
|
228
228
|
# @return Array for valid properties with the reasons
|
229
229
|
def list_invalid_properties
|
230
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
230
231
|
invalid_properties = Array.new
|
231
232
|
invalid_properties
|
232
233
|
end
|
@@ -234,6 +235,7 @@ module FattureInCloud_Ruby_Sdk
|
|
234
235
|
# Check to see if the all the properties in the model are valid
|
235
236
|
# @return true if the model is valid
|
236
237
|
def valid?
|
238
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
237
239
|
true
|
238
240
|
end
|
239
241
|
|
@@ -277,37 +279,30 @@ module FattureInCloud_Ruby_Sdk
|
|
277
279
|
# @param [Hash] attributes Model attributes in the form of hash
|
278
280
|
# @return [Object] Returns the model itself
|
279
281
|
def self.build_from_hash(attributes)
|
280
|
-
new.build_from_hash(attributes)
|
281
|
-
end
|
282
|
-
|
283
|
-
# Builds the object from hash
|
284
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
285
|
-
# @return [Object] Returns the model itself
|
286
|
-
def build_from_hash(attributes)
|
287
282
|
return nil unless attributes.is_a?(Hash)
|
288
283
|
attributes = attributes.transform_keys(&:to_sym)
|
289
|
-
|
290
|
-
|
291
|
-
|
284
|
+
transformed_hash = {}
|
285
|
+
openapi_types.each_pair do |key, type|
|
286
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
287
|
+
transformed_hash["#{key}"] = nil
|
292
288
|
elsif type =~ /\AArray<(.*)>/i
|
293
289
|
# check to ensure the input is an array given that the attribute
|
294
290
|
# is documented as an array but the input is not
|
295
|
-
if attributes[
|
296
|
-
|
291
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
292
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
297
293
|
end
|
298
|
-
elsif !attributes[
|
299
|
-
|
294
|
+
elsif !attributes[attribute_map[key]].nil?
|
295
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
300
296
|
end
|
301
297
|
end
|
302
|
-
|
303
|
-
self
|
298
|
+
new(transformed_hash)
|
304
299
|
end
|
305
300
|
|
306
301
|
# Deserializes the data based on type
|
307
302
|
# @param string type Data type
|
308
303
|
# @param string value Value to be deserialized
|
309
304
|
# @return [Object] Deserialized data
|
310
|
-
def _deserialize(type, value)
|
305
|
+
def self._deserialize(type, value)
|
311
306
|
case type.to_sym
|
312
307
|
when :Time
|
313
308
|
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
|
|
@@ -73,6 +73,7 @@ module FattureInCloud_Ruby_Sdk
|
|
73
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
74
74
|
# @return Array for valid properties with the reasons
|
75
75
|
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
76
77
|
invalid_properties = Array.new
|
77
78
|
invalid_properties
|
78
79
|
end
|
@@ -80,6 +81,7 @@ module FattureInCloud_Ruby_Sdk
|
|
80
81
|
# Check to see if the all the properties in the model are valid
|
81
82
|
# @return true if the model is valid
|
82
83
|
def valid?
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
83
85
|
true
|
84
86
|
end
|
85
87
|
|
@@ -108,37 +110,30 @@ module FattureInCloud_Ruby_Sdk
|
|
108
110
|
# @param [Hash] attributes Model attributes in the form of hash
|
109
111
|
# @return [Object] Returns the model itself
|
110
112
|
def self.build_from_hash(attributes)
|
111
|
-
new.build_from_hash(attributes)
|
112
|
-
end
|
113
|
-
|
114
|
-
# Builds the object from hash
|
115
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
-
# @return [Object] Returns the model itself
|
117
|
-
def build_from_hash(attributes)
|
118
113
|
return nil unless attributes.is_a?(Hash)
|
119
114
|
attributes = attributes.transform_keys(&:to_sym)
|
120
|
-
|
121
|
-
|
122
|
-
|
115
|
+
transformed_hash = {}
|
116
|
+
openapi_types.each_pair do |key, type|
|
117
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
118
|
+
transformed_hash["#{key}"] = nil
|
123
119
|
elsif type =~ /\AArray<(.*)>/i
|
124
120
|
# check to ensure the input is an array given that the attribute
|
125
121
|
# is documented as an array but the input is not
|
126
|
-
if attributes[
|
127
|
-
|
122
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
123
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
128
124
|
end
|
129
|
-
elsif !attributes[
|
130
|
-
|
125
|
+
elsif !attributes[attribute_map[key]].nil?
|
126
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
131
127
|
end
|
132
128
|
end
|
133
|
-
|
134
|
-
self
|
129
|
+
new(transformed_hash)
|
135
130
|
end
|
136
131
|
|
137
132
|
# Deserializes the data based on type
|
138
133
|
# @param string type Data type
|
139
134
|
# @param string value Value to be deserialized
|
140
135
|
# @return [Object] Deserialized data
|
141
|
-
def _deserialize(type, value)
|
136
|
+
def self._deserialize(type, value)
|
142
137
|
case type.to_sym
|
143
138
|
when :Time
|
144
139
|
Time.parse(value)
|