fattureincloud_ruby_sdk 2.0.7 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +19 -18
- data/docs/CashbookApi.md +6 -6
- data/docs/EInvoiceRejectionReason.md +1 -1
- data/docs/IssuedDocument.md +1 -1
- data/docs/IssuedDocumentPaymentsListItem.md +1 -0
- data/docs/IssuedDocumentPaymentsListItemPaymentTerms.md +9 -0
- data/docs/Supplier.md +1 -0
- data/fattureincloud_ruby_sdk.gemspec +2 -2
- data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +7 -7
- data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +10 -10
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +12 -12
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +9 -9
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +8 -8
- data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +7 -7
- data/lib/fattureincloud_ruby_sdk/api/user_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api_client.rb +6 -4
- data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/configuration.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +3 -4
- 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 +3 -4
- data/lib/fattureincloud_ruby_sdk/models/client.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/default_payment_terms_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +4 -5
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +6 -7
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +17 -9
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +266 -0
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +4 -2
- data/lib/fattureincloud_ruby_sdk/models/language.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +5 -4
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/product.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_entity.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +15 -5
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/user.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb +130 -0
- data/lib/fattureincloud_ruby_sdk/oauth2/scope.rb +109 -0
- data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
- data/lib/fattureincloud_ruby_sdk.rb +7 -2
- data/sdk-version.yaml +1 -1
- data/spec/api/archive_api_spec.rb +11 -11
- data/spec/api/cashbook_api_spec.rb +10 -10
- data/spec/api/clients_api_spec.rb +10 -10
- data/spec/api/companies_api_spec.rb +2 -2
- data/spec/api/info_api_spec.rb +32 -32
- data/spec/api/issued_documents_api_spec.rb +21 -21
- data/spec/api/issued_e_invoices_api_spec.rb +8 -8
- data/spec/api/products_api_spec.rb +10 -10
- data/spec/api/receipts_api_spec.rb +14 -14
- data/spec/api/received_documents_api_spec.rb +19 -19
- data/spec/api/settings_api_spec.rb +24 -24
- data/spec/api/suppliers_api_spec.rb +10 -10
- data/spec/api/taxes_api_spec.rb +12 -12
- data/spec/api/user_api_spec.rb +4 -4
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/city_spec.rb +3 -3
- data/spec/models/company_info_access_info_spec.rb +2 -2
- data/spec/models/company_info_plan_info_limits_spec.rb +4 -4
- data/spec/models/create_product_request_spec.rb +19 -19
- data/spec/models/create_receipt_request_spec.rb +1 -1
- data/spec/models/create_received_document_request_spec.rb +48 -48
- data/spec/models/currency_spec.rb +4 -4
- data/spec/models/document_template_spec.rb +1 -1
- data/spec/models/get_receipts_monthly_totals_response_spec.rb +1 -1
- data/spec/models/get_user_info_response_email_confirmation_state_spec.rb +1 -1
- data/spec/models/issued_document_ei_data_spec.rb +12 -12
- data/spec/models/issued_document_payments_list_item_payment_terms_spec.rb +42 -0
- data/spec/models/issued_document_pre_create_info_default_values_spec.rb +26 -26
- data/spec/models/issued_document_spec.rb +5 -5
- data/spec/models/list_archive_documents_response_spec.rb +26 -26
- data/spec/models/list_clients_response_spec.rb +11 -11
- data/spec/models/list_f24_response_aggregated_data_spec.rb +1 -1
- data/spec/models/list_f24_response_spec.rb +11 -11
- data/spec/models/list_issued_documents_response_spec.rb +11 -11
- data/spec/models/list_products_response_spec.rb +11 -11
- data/spec/models/list_receipts_response_spec.rb +15 -15
- data/spec/models/list_received_documents_response_spec.rb +21 -21
- data/spec/models/list_suppliers_response_spec.rb +21 -21
- data/spec/models/received_document_entity_spec.rb +2 -2
- data/spec/models/send_e_invoice_request_data_spec.rb +2 -2
- data/spec/models/send_e_invoice_response_data_spec.rb +1 -1
- data/spec/oauth2/oauth2_spec.rb +81 -0
- data/spec/spec_helper.rb +2 -2
- metadata +209 -201
@@ -0,0 +1,266 @@
|
|
1
|
+
=begin
|
2
|
+
#Fatture in Cloud API v2 - API Reference
|
3
|
+
|
4
|
+
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.19
|
7
|
+
Contact: info@fattureincloud.it
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module FattureInCloud_Ruby_Sdk
|
17
|
+
class IssuedDocumentPaymentsListItemPaymentTerms
|
18
|
+
# The number of days by which the payment must be made.
|
19
|
+
attr_accessor :days
|
20
|
+
|
21
|
+
# Payment terms type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
class EnumAttributeValidator
|
25
|
+
attr_reader :datatype
|
26
|
+
attr_reader :allowable_values
|
27
|
+
|
28
|
+
def initialize(datatype, allowable_values)
|
29
|
+
@allowable_values = allowable_values.map do |value|
|
30
|
+
case datatype.to_s
|
31
|
+
when /Integer/i
|
32
|
+
value.to_i
|
33
|
+
when /Float/i
|
34
|
+
value.to_f
|
35
|
+
else
|
36
|
+
value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def valid?(value)
|
42
|
+
!value || allowable_values.include?(value)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
47
|
+
def self.attribute_map
|
48
|
+
{
|
49
|
+
:'days' => :'days',
|
50
|
+
:'type' => :'type'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Returns all the JSON keys this model knows about
|
55
|
+
def self.acceptable_attributes
|
56
|
+
attribute_map.values
|
57
|
+
end
|
58
|
+
|
59
|
+
# Attribute type mapping.
|
60
|
+
def self.openapi_types
|
61
|
+
{
|
62
|
+
:'days' => :'Integer',
|
63
|
+
:'type' => :'String'
|
64
|
+
}
|
65
|
+
end
|
66
|
+
|
67
|
+
# List of attributes with nullable: true
|
68
|
+
def self.openapi_nullable
|
69
|
+
Set.new([
|
70
|
+
:'days',
|
71
|
+
:'type'
|
72
|
+
])
|
73
|
+
end
|
74
|
+
|
75
|
+
# Initializes the object
|
76
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
77
|
+
def initialize(attributes = {})
|
78
|
+
if (!attributes.is_a?(Hash))
|
79
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::IssuedDocumentPaymentsListItemPaymentTerms` initialize method"
|
80
|
+
end
|
81
|
+
|
82
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
83
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
84
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
85
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::IssuedDocumentPaymentsListItemPaymentTerms`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
86
|
+
end
|
87
|
+
h[k.to_sym] = v
|
88
|
+
}
|
89
|
+
|
90
|
+
if attributes.key?(:'days')
|
91
|
+
self.days = attributes[:'days']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes.key?(:'type')
|
95
|
+
self.type = attributes[:'type']
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
100
|
+
# @return Array for valid properties with the reasons
|
101
|
+
def list_invalid_properties
|
102
|
+
invalid_properties = Array.new
|
103
|
+
invalid_properties
|
104
|
+
end
|
105
|
+
|
106
|
+
# Check to see if the all the properties in the model are valid
|
107
|
+
# @return true if the model is valid
|
108
|
+
def valid?
|
109
|
+
type_validator = EnumAttributeValidator.new('String', ["standard", "end_of_month"])
|
110
|
+
return false unless type_validator.valid?(@type)
|
111
|
+
true
|
112
|
+
end
|
113
|
+
|
114
|
+
# Custom attribute writer method checking allowed values (enum).
|
115
|
+
# @param [Object] type Object to be assigned
|
116
|
+
def type=(type)
|
117
|
+
validator = EnumAttributeValidator.new('String', ["standard", "end_of_month"])
|
118
|
+
unless validator.valid?(type)
|
119
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
120
|
+
end
|
121
|
+
@type = type
|
122
|
+
end
|
123
|
+
|
124
|
+
# Checks equality by comparing each attribute.
|
125
|
+
# @param [Object] Object to be compared
|
126
|
+
def ==(o)
|
127
|
+
return true if self.equal?(o)
|
128
|
+
self.class == o.class &&
|
129
|
+
days == o.days &&
|
130
|
+
type == o.type
|
131
|
+
end
|
132
|
+
|
133
|
+
# @see the `==` method
|
134
|
+
# @param [Object] Object to be compared
|
135
|
+
def eql?(o)
|
136
|
+
self == o
|
137
|
+
end
|
138
|
+
|
139
|
+
# Calculates hash code according to all attributes.
|
140
|
+
# @return [Integer] Hash code
|
141
|
+
def hash
|
142
|
+
[days, type].hash
|
143
|
+
end
|
144
|
+
|
145
|
+
# Builds the object from hash
|
146
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
147
|
+
# @return [Object] Returns the model itself
|
148
|
+
def self.build_from_hash(attributes)
|
149
|
+
new.build_from_hash(attributes)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Builds the object from hash
|
153
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
154
|
+
# @return [Object] Returns the model itself
|
155
|
+
def build_from_hash(attributes)
|
156
|
+
return nil unless attributes.is_a?(Hash)
|
157
|
+
attributes = attributes.transform_keys(&:to_sym)
|
158
|
+
self.class.openapi_types.each_pair do |key, type|
|
159
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
160
|
+
self.send("#{key}=", nil)
|
161
|
+
elsif type =~ /\AArray<(.*)>/i
|
162
|
+
# check to ensure the input is an array given that the attribute
|
163
|
+
# is documented as an array but the input is not
|
164
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
165
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
166
|
+
end
|
167
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
168
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
self
|
173
|
+
end
|
174
|
+
|
175
|
+
# Deserializes the data based on type
|
176
|
+
# @param string type Data type
|
177
|
+
# @param string value Value to be deserialized
|
178
|
+
# @return [Object] Deserialized data
|
179
|
+
def _deserialize(type, value)
|
180
|
+
case type.to_sym
|
181
|
+
when :Time
|
182
|
+
Time.parse(value)
|
183
|
+
when :Date
|
184
|
+
Date.parse(value)
|
185
|
+
when :String
|
186
|
+
value.to_s
|
187
|
+
when :Integer
|
188
|
+
value.to_i
|
189
|
+
when :Float
|
190
|
+
value.to_f
|
191
|
+
when :Boolean
|
192
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
193
|
+
true
|
194
|
+
else
|
195
|
+
false
|
196
|
+
end
|
197
|
+
when :Object
|
198
|
+
# generic object (usually a Hash), return directly
|
199
|
+
value
|
200
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
201
|
+
inner_type = Regexp.last_match[:inner_type]
|
202
|
+
value.map { |v| _deserialize(inner_type, v) }
|
203
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
204
|
+
k_type = Regexp.last_match[:k_type]
|
205
|
+
v_type = Regexp.last_match[:v_type]
|
206
|
+
{}.tap do |hash|
|
207
|
+
value.each do |k, v|
|
208
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
when :Hash
|
212
|
+
value
|
213
|
+
else # model
|
214
|
+
# models (e.g. Pet) or oneOf
|
215
|
+
klass = FattureInCloud_Ruby_Sdk.const_get(type)
|
216
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# Returns the string representation of the object
|
221
|
+
# @return [String] String presentation of the object
|
222
|
+
def to_s
|
223
|
+
to_hash.to_s
|
224
|
+
end
|
225
|
+
|
226
|
+
# to_body is an alias to to_hash (backward compatibility)
|
227
|
+
# @return [Hash] Returns the object in the form of hash
|
228
|
+
def to_body
|
229
|
+
to_hash
|
230
|
+
end
|
231
|
+
|
232
|
+
# Returns the object in the form of hash
|
233
|
+
# @return [Hash] Returns the object in the form of hash
|
234
|
+
def to_hash
|
235
|
+
hash = {}
|
236
|
+
self.class.attribute_map.each_pair do |attr, param|
|
237
|
+
value = self.send(attr)
|
238
|
+
if value.nil?
|
239
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
240
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
241
|
+
end
|
242
|
+
|
243
|
+
hash[param] = _to_hash(value)
|
244
|
+
end
|
245
|
+
hash
|
246
|
+
end
|
247
|
+
|
248
|
+
# Outputs non-array value in the form of hash
|
249
|
+
# For object, use to_hash. Otherwise, just return the value
|
250
|
+
# @param [Object] value Any valid value
|
251
|
+
# @return [Hash] Returns the value in the form of hash
|
252
|
+
def _to_hash(value)
|
253
|
+
if value.is_a?(Array)
|
254
|
+
value.compact.map { |v| _to_hash(v) }
|
255
|
+
elsif value.is_a?(Hash)
|
256
|
+
{}.tap do |hash|
|
257
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
258
|
+
end
|
259
|
+
elsif value.respond_to? :to_hash
|
260
|
+
value.to_hash
|
261
|
+
else
|
262
|
+
value
|
263
|
+
end
|
264
|
+
end
|
265
|
+
end
|
266
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -254,6 +254,7 @@ module FattureInCloud_Ruby_Sdk
|
|
254
254
|
# @return [Object] Returns the model itself
|
255
255
|
def build_from_hash(attributes)
|
256
256
|
return nil unless attributes.is_a?(Hash)
|
257
|
+
attributes = attributes.transform_keys(&:to_sym)
|
257
258
|
self.class.openapi_types.each_pair do |key, type|
|
258
259
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
259
260
|
self.send("#{key}=", nil)
|
@@ -361,7 +362,5 @@ module FattureInCloud_Ruby_Sdk
|
|
361
362
|
value
|
362
363
|
end
|
363
364
|
end
|
364
|
-
|
365
365
|
end
|
366
|
-
|
367
366
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -212,6 +212,7 @@ module FattureInCloud_Ruby_Sdk
|
|
212
212
|
# @return [Object] Returns the model itself
|
213
213
|
def build_from_hash(attributes)
|
214
214
|
return nil unless attributes.is_a?(Hash)
|
215
|
+
attributes = attributes.transform_keys(&:to_sym)
|
215
216
|
self.class.openapi_types.each_pair do |key, type|
|
216
217
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
217
218
|
self.send("#{key}=", nil)
|
@@ -319,7 +320,5 @@ module FattureInCloud_Ruby_Sdk
|
|
319
320
|
value
|
320
321
|
end
|
321
322
|
end
|
322
|
-
|
323
323
|
end
|
324
|
-
|
325
324
|
end
|
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 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -138,6 +138,7 @@ module FattureInCloud_Ruby_Sdk
|
|
138
138
|
# @return [Object] Returns the model itself
|
139
139
|
def build_from_hash(attributes)
|
140
140
|
return nil unless attributes.is_a?(Hash)
|
141
|
+
attributes = attributes.transform_keys(&:to_sym)
|
141
142
|
self.class.openapi_types.each_pair do |key, type|
|
142
143
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
143
144
|
self.send("#{key}=", nil)
|
@@ -245,7 +246,5 @@ module FattureInCloud_Ruby_Sdk
|
|
245
246
|
value
|
246
247
|
end
|
247
248
|
end
|
248
|
-
|
249
249
|
end
|
250
|
-
|
251
250
|
end
|
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 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,7 @@ module FattureInCloud_Ruby_Sdk
|
|
109
109
|
# @return [Object] Returns the model itself
|
110
110
|
def build_from_hash(attributes)
|
111
111
|
return nil unless attributes.is_a?(Hash)
|
112
|
+
attributes = attributes.transform_keys(&:to_sym)
|
112
113
|
self.class.openapi_types.each_pair do |key, type|
|
113
114
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
114
115
|
self.send("#{key}=", nil)
|
@@ -216,7 +217,5 @@ module FattureInCloud_Ruby_Sdk
|
|
216
217
|
value
|
217
218
|
end
|
218
219
|
end
|
219
|
-
|
220
220
|
end
|
221
|
-
|
222
221
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.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 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -284,6 +284,7 @@ module FattureInCloud_Ruby_Sdk
|
|
284
284
|
# @return [Object] Returns the model itself
|
285
285
|
def build_from_hash(attributes)
|
286
286
|
return nil unless attributes.is_a?(Hash)
|
287
|
+
attributes = attributes.transform_keys(&:to_sym)
|
287
288
|
self.class.openapi_types.each_pair do |key, type|
|
288
289
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
289
290
|
self.send("#{key}=", nil)
|
@@ -391,7 +392,5 @@ module FattureInCloud_Ruby_Sdk
|
|
391
392
|
value
|
392
393
|
end
|
393
394
|
end
|
394
|
-
|
395
395
|
end
|
396
|
-
|
397
396
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -24,6 +24,8 @@ module FattureInCloud_Ruby_Sdk
|
|
24
24
|
ORDER = "order".freeze
|
25
25
|
WORK_REPORT = "work_report".freeze
|
26
26
|
SUPPLIER_ORDER = "supplier_order".freeze
|
27
|
+
SELF_OWN_INVOICE = "self_own_invoice".freeze
|
28
|
+
SELF_SUPPLIER_INVOICE = "self_supplier_invoice".freeze
|
27
29
|
|
28
30
|
# Builds the enum from string
|
29
31
|
# @param [String] The enum value in the form of the string
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -120,6 +120,7 @@ module FattureInCloud_Ruby_Sdk
|
|
120
120
|
# @return [Object] Returns the model itself
|
121
121
|
def build_from_hash(attributes)
|
122
122
|
return nil unless attributes.is_a?(Hash)
|
123
|
+
attributes = attributes.transform_keys(&:to_sym)
|
123
124
|
self.class.openapi_types.each_pair do |key, type|
|
124
125
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
125
126
|
self.send("#{key}=", nil)
|
@@ -227,7 +228,5 @@ module FattureInCloud_Ruby_Sdk
|
|
227
228
|
value
|
228
229
|
end
|
229
230
|
end
|
230
|
-
|
231
231
|
end
|
232
|
-
|
233
232
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,7 @@ module FattureInCloud_Ruby_Sdk
|
|
110
110
|
# @return [Object] Returns the model itself
|
111
111
|
def build_from_hash(attributes)
|
112
112
|
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
114
|
self.class.openapi_types.each_pair do |key, type|
|
114
115
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
115
116
|
self.send("#{key}=", nil)
|
@@ -217,7 +218,5 @@ module FattureInCloud_Ruby_Sdk
|
|
217
218
|
value
|
218
219
|
end
|
219
220
|
end
|
220
|
-
|
221
221
|
end
|
222
|
-
|
223
222
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -240,6 +240,7 @@ module FattureInCloud_Ruby_Sdk
|
|
240
240
|
# @return [Object] Returns the model itself
|
241
241
|
def build_from_hash(attributes)
|
242
242
|
return nil unless attributes.is_a?(Hash)
|
243
|
+
attributes = attributes.transform_keys(&:to_sym)
|
243
244
|
self.class.openapi_types.each_pair do |key, type|
|
244
245
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
245
246
|
self.send("#{key}=", nil)
|
@@ -347,7 +348,5 @@ module FattureInCloud_Ruby_Sdk
|
|
347
348
|
value
|
348
349
|
end
|
349
350
|
end
|
350
|
-
|
351
351
|
end
|
352
|
-
|
353
352
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,7 @@ module FattureInCloud_Ruby_Sdk
|
|
110
110
|
# @return [Object] Returns the model itself
|
111
111
|
def build_from_hash(attributes)
|
112
112
|
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
114
|
self.class.openapi_types.each_pair do |key, type|
|
114
115
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
115
116
|
self.send("#{key}=", nil)
|
@@ -217,7 +218,5 @@ module FattureInCloud_Ruby_Sdk
|
|
217
218
|
value
|
218
219
|
end
|
219
220
|
end
|
220
|
-
|
221
221
|
end
|
222
|
-
|
223
222
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -111,6 +111,7 @@ module FattureInCloud_Ruby_Sdk
|
|
111
111
|
# @return [Object] Returns the model itself
|
112
112
|
def build_from_hash(attributes)
|
113
113
|
return nil unless attributes.is_a?(Hash)
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
114
115
|
self.class.openapi_types.each_pair do |key, type|
|
115
116
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
116
117
|
self.send("#{key}=", nil)
|
@@ -218,7 +219,5 @@ module FattureInCloud_Ruby_Sdk
|
|
218
219
|
value
|
219
220
|
end
|
220
221
|
end
|
221
|
-
|
222
222
|
end
|
223
|
-
|
224
223
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -111,6 +111,7 @@ module FattureInCloud_Ruby_Sdk
|
|
111
111
|
# @return [Object] Returns the model itself
|
112
112
|
def build_from_hash(attributes)
|
113
113
|
return nil unless attributes.is_a?(Hash)
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
114
115
|
self.class.openapi_types.each_pair do |key, type|
|
115
116
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
116
117
|
self.send("#{key}=", nil)
|
@@ -218,7 +219,5 @@ module FattureInCloud_Ruby_Sdk
|
|
218
219
|
value
|
219
220
|
end
|
220
221
|
end
|
221
|
-
|
222
222
|
end
|
223
|
-
|
224
223
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -239,6 +239,7 @@ module FattureInCloud_Ruby_Sdk
|
|
239
239
|
# @return [Object] Returns the model itself
|
240
240
|
def build_from_hash(attributes)
|
241
241
|
return nil unless attributes.is_a?(Hash)
|
242
|
+
attributes = attributes.transform_keys(&:to_sym)
|
242
243
|
self.class.openapi_types.each_pair do |key, type|
|
243
244
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
244
245
|
self.send("#{key}=", nil)
|
@@ -346,7 +347,5 @@ module FattureInCloud_Ruby_Sdk
|
|
346
347
|
value
|
347
348
|
end
|
348
349
|
end
|
349
|
-
|
350
350
|
end
|
351
|
-
|
352
351
|
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. 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.19
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,7 @@ module FattureInCloud_Ruby_Sdk
|
|
110
110
|
# @return [Object] Returns the model itself
|
111
111
|
def build_from_hash(attributes)
|
112
112
|
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
114
|
self.class.openapi_types.each_pair do |key, type|
|
114
115
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
115
116
|
self.send("#{key}=", nil)
|
@@ -217,7 +218,5 @@ module FattureInCloud_Ruby_Sdk
|
|
217
218
|
value
|
218
219
|
end
|
219
220
|
end
|
220
|
-
|
221
221
|
end
|
222
|
-
|
223
222
|
end
|