fattureincloud_ruby_sdk 2.0.5 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/README.md +45 -40
- data/docs/ArchiveApi.md +3 -1
- data/docs/Client.md +3 -0
- data/docs/ClientsApi.md +3 -1
- data/docs/DetailedCountry.md +12 -0
- data/docs/{EinvoiceRejectionReason.md → EInvoiceRejectionReason.md} +2 -2
- data/docs/Entity.md +3 -0
- data/docs/GetEInvoiceRejectionReasonResponse.md +1 -1
- data/docs/InfoApi.md +67 -0
- data/docs/IssuedDocument.md +6 -6
- data/docs/IssuedDocumentsApi.md +3 -1
- data/docs/IssuedEInvoicesApi.md +10 -10
- data/docs/ListDetailedCountriesResponse.md +8 -0
- data/docs/PaymentMethod.md +1 -1
- data/docs/ProductsApi.md +3 -1
- data/docs/ReceiptsApi.md +3 -1
- data/docs/ReceivedDocumentsApi.md +3 -1
- data/docs/SuppliersApi.md +3 -1
- data/docs/TaxesApi.md +3 -1
- data/fattureincloud_ruby_sdk.gemspec +1 -1
- data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +7 -4
- data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +6 -3
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +58 -1
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +10 -7
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +10 -10
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +6 -3
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +6 -3
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +9 -6
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +7 -7
- data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +6 -3
- data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +7 -4
- data/lib/fattureincloud_ruby_sdk/api/user_api.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/api_client.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api_error.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/configuration.rb +1 -2
- data/lib/fattureincloud_ruby_sdk/filter/condition.rb +55 -0
- data/lib/fattureincloud_ruby_sdk/filter/conjunction.rb +37 -0
- data/lib/fattureincloud_ruby_sdk/filter/disjunction.rb +37 -0
- data/lib/fattureincloud_ruby_sdk/filter/expression.rb +10 -0
- data/lib/fattureincloud_ruby_sdk/filter/filter.rb +144 -0
- data/lib/fattureincloud_ruby_sdk/filter/operator.rb +29 -0
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/city.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/client.rb +35 -4
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/company.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/default_payment_terms_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +262 -0
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/{einvoice_rejection_reason.rb → e_invoice_rejection_reason.rb} +5 -7
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +35 -4
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +2 -4
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +9 -11
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/language.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +220 -0
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +2 -4
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/product.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_entity.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/user.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +1 -3
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +1 -3
- 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 +2 -2
- data/lib/fattureincloud_ruby_sdk.rb +16 -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 +49 -30
- 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 +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/filter/condition_spec.rb +65 -0
- data/spec/filter/conjunction_spec.rb +43 -0
- data/spec/filter/disjunction_spec.rb +43 -0
- data/spec/filter/filter_spec.rb +171 -0
- data/spec/filter/operator_spec.rb +26 -0
- 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/detailed_country_spec.rb +67 -0
- data/spec/models/document_template_spec.rb +1 -1
- data/spec/models/{einvoice_rejection_reason_spec.rb → e_invoice_rejection_reason_spec.rb} +6 -6
- 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_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_detailed_countries_response_spec.rb +50 -0
- 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 +1 -1
- metadata +224 -196
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 569e066baa01978ad852a51e3fbbaee8e15e1e780cd33982ee3518b62885d51f
|
4
|
+
data.tar.gz: b51ea2202bc3a6a0c04bf51e8f60a5a40e0d67d74122c7de4fcad4f0ff3a6ec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa240bd25fd8bfeed28fec099cfc47a626c98995f0e69dd086e9674138b2f52e1d8a62e8b81aabc57ff7d60a34089fd76961b0015a9820134234498c964af7ec
|
7
|
+
data.tar.gz: f5f2ce65855e1304dcdf61c5767f52e6a85e7aaca478d06d1160da82a356e5471e1f4e33904029f499bba18f6727af4f0b3ef6deb6cadbbe775bc431b2d4fe46
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
4
|
|
5
|
+
### 2.0.8 (2022-05-16)
|
6
|
+
|
7
|
+
### 2.0.7 (2022-04-21)
|
8
|
+
|
9
|
+
### 2.0.6 (2022-03-16)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* added filter parameter and detailed countries method ([0f78c48](https://github.com/fattureincloud/fattureincloud-ruby-sdk/commit/0f78c487202d8cd8a2d68010a1876e45ee047000))
|
15
|
+
|
5
16
|
### 2.0.5 (2022-03-01)
|
6
17
|
|
7
18
|
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# FattureInCloud Ruby SDK
|
2
2
|
|
3
|
+
[![Ruby Gems](https://img.shields.io/gem/v/fattureincloud_ruby_sdk?color=g)](https://rubygems.org/gems/fattureincloud_ruby_sdk) ![unit tests](https://github.com/fattureincloud/fattureincloud-ruby-sdk/actions/workflows/validate.yaml/badge.svg)
|
4
|
+
|
3
5
|
FattureInCloud_Ruby_Sdk - the Ruby gem for the Fatture in Cloud API v2 - API Reference
|
4
6
|
|
5
7
|
Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy.
|
@@ -8,8 +10,8 @@ The Fatture in Cloud API is based on REST, and makes possible to interact with t
|
|
8
10
|
|
9
11
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
10
12
|
|
11
|
-
- API version: 2.0.
|
12
|
-
- Package version: 2.0.
|
13
|
+
- API version: 2.0.16
|
14
|
+
- Package version: 2.0.8
|
13
15
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
14
16
|
|
15
17
|
|
@@ -84,6 +86,7 @@ Class | Method | HTTP request | Description
|
|
84
86
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_countries**](docs/InfoApi.md#list_countries) | **GET** /info/countries | List Countries
|
85
87
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_currencies**](docs/InfoApi.md#list_currencies) | **GET** /info/currencies | List Currencies
|
86
88
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_delivery_notes_default_causals**](docs/InfoApi.md#list_delivery_notes_default_causals) | **GET** /info/dn_causals | List Delivery Notes Default Causals
|
89
|
+
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_detailed_countries**](docs/InfoApi.md#list_detailed_countries) | **GET** /info/detailed_countries | List Detailed Countries
|
87
90
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_languages**](docs/InfoApi.md#list_languages) | **GET** /info/languages | List Languages
|
88
91
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_payment_accounts**](docs/InfoApi.md#list_payment_accounts) | **GET** /c/{company_id}/info/payment_accounts | List Payment Accounts
|
89
92
|
*FattureInCloud_Ruby_Sdk::InfoApi* | [**list_payment_methods**](docs/InfoApi.md#list_payment_methods) | **GET** /c/{company_id}/info/payment_methods | List Payment Methods
|
@@ -105,10 +108,10 @@ Class | Method | HTTP request | Description
|
|
105
108
|
*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**modify_issued_document**](docs/IssuedDocumentsApi.md#modify_issued_document) | **PUT** /c/{company_id}/issued_documents/{document_id} | Modify Issued Document
|
106
109
|
*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**schedule_email**](docs/IssuedDocumentsApi.md#schedule_email) | **POST** /c/{company_id}/issued_documents/{document_id}/email | Schedule Email
|
107
110
|
*FattureInCloud_Ruby_Sdk::IssuedDocumentsApi* | [**upload_issued_document_attachment**](docs/IssuedDocumentsApi.md#upload_issued_document_attachment) | **POST** /c/{company_id}/issued_documents/attachment | Upload Issued Document Attachment
|
108
|
-
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**get_e_invoice_rejection_reason**](docs/IssuedEInvoicesApi.md#get_e_invoice_rejection_reason) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason | Get
|
111
|
+
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**get_e_invoice_rejection_reason**](docs/IssuedEInvoicesApi.md#get_e_invoice_rejection_reason) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason | Get e-invoice rejection reason
|
109
112
|
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**get_e_invoice_xml**](docs/IssuedEInvoicesApi.md#get_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | Get e-invoice XML
|
110
113
|
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**send_e_invoice**](docs/IssuedEInvoicesApi.md#send_e_invoice) | **POST** /c/{company_id}/issued_documents/{document_id}/e_invoice/send | Send the e-invoice
|
111
|
-
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**verify_e_invoice_xml**](docs/IssuedEInvoicesApi.md#verify_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice
|
114
|
+
*FattureInCloud_Ruby_Sdk::IssuedEInvoicesApi* | [**verify_e_invoice_xml**](docs/IssuedEInvoicesApi.md#verify_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice XML
|
112
115
|
*FattureInCloud_Ruby_Sdk::ProductsApi* | [**create_product**](docs/ProductsApi.md#create_product) | **POST** /c/{company_id}/products | Create Product
|
113
116
|
*FattureInCloud_Ruby_Sdk::ProductsApi* | [**delete_product**](docs/ProductsApi.md#delete_product) | **DELETE** /c/{company_id}/products/{product_id} | Delete Product
|
114
117
|
*FattureInCloud_Ruby_Sdk::ProductsApi* | [**get_product**](docs/ProductsApi.md#get_product) | **GET** /c/{company_id}/products/{product_id} | Get Product
|
@@ -205,8 +208,9 @@ Class | Method | HTTP request | Description
|
|
205
208
|
- [FattureInCloud_Ruby_Sdk::CreateVatTypeResponse](docs/CreateVatTypeResponse.md)
|
206
209
|
- [FattureInCloud_Ruby_Sdk::Currency](docs/Currency.md)
|
207
210
|
- [FattureInCloud_Ruby_Sdk::DefaultPaymentTermsType](docs/DefaultPaymentTermsType.md)
|
211
|
+
- [FattureInCloud_Ruby_Sdk::DetailedCountry](docs/DetailedCountry.md)
|
208
212
|
- [FattureInCloud_Ruby_Sdk::DocumentTemplate](docs/DocumentTemplate.md)
|
209
|
-
- [FattureInCloud_Ruby_Sdk::
|
213
|
+
- [FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason](docs/EInvoiceRejectionReason.md)
|
210
214
|
- [FattureInCloud_Ruby_Sdk::EmailData](docs/EmailData.md)
|
211
215
|
- [FattureInCloud_Ruby_Sdk::EmailDataDefaultSenderEmail](docs/EmailDataDefaultSenderEmail.md)
|
212
216
|
- [FattureInCloud_Ruby_Sdk::EmailSchedule](docs/EmailSchedule.md)
|
@@ -271,6 +275,7 @@ Class | Method | HTTP request | Description
|
|
271
275
|
- [FattureInCloud_Ruby_Sdk::ListCountriesResponse](docs/ListCountriesResponse.md)
|
272
276
|
- [FattureInCloud_Ruby_Sdk::ListCurrenciesResponse](docs/ListCurrenciesResponse.md)
|
273
277
|
- [FattureInCloud_Ruby_Sdk::ListDeliveryNotesDefaultCausalsResponse](docs/ListDeliveryNotesDefaultCausalsResponse.md)
|
278
|
+
- [FattureInCloud_Ruby_Sdk::ListDetailedCountriesResponse](docs/ListDetailedCountriesResponse.md)
|
274
279
|
- [FattureInCloud_Ruby_Sdk::ListF24Response](docs/ListF24Response.md)
|
275
280
|
- [FattureInCloud_Ruby_Sdk::ListF24ResponseAggregatedData](docs/ListF24ResponseAggregatedData.md)
|
276
281
|
- [FattureInCloud_Ruby_Sdk::ListF24ResponseAggregation](docs/ListF24ResponseAggregation.md)
|
@@ -381,39 +386,39 @@ Class | Method | HTTP request | Description
|
|
381
386
|
- **Flow**: accessCode
|
382
387
|
- **Authorization URL**: https://api-v2.fattureincloud.it/oauth/authorize
|
383
388
|
- **Scopes**:
|
384
|
-
- **entity.clients:r**:
|
385
|
-
- **entity.clients:a**:
|
386
|
-
- **entity.suppliers:r**:
|
387
|
-
- **entity.suppliers:a**:
|
388
|
-
- **products:r**:
|
389
|
-
- **products:a**:
|
390
|
-
- **issued_documents.
|
391
|
-
- **issued_documents.
|
392
|
-
- **issued_documents.
|
393
|
-
- **issued_documents.
|
394
|
-
- **issued_documents.
|
395
|
-
- **issued_documents.
|
396
|
-
- **issued_documents.
|
397
|
-
- **issued_documents.
|
398
|
-
- **issued_documents.
|
399
|
-
- **issued_documents.
|
400
|
-
- **issued_documents.
|
401
|
-
- **issued_documents.
|
402
|
-
- **issued_documents.
|
403
|
-
- **issued_documents.
|
404
|
-
- **received_documents:r**:
|
405
|
-
- **received_documents:a**:
|
406
|
-
- **stock:r**:
|
407
|
-
- **stock:a**:
|
408
|
-
- **receipts:r**:
|
409
|
-
- **receipts:a**:
|
410
|
-
- **taxes:r**:
|
411
|
-
- **taxes:a**:
|
412
|
-
- **archive:r**:
|
413
|
-
- **archive:a**:
|
414
|
-
- **cashbook:r**:
|
415
|
-
- **cashbook:a**:
|
416
|
-
- **settings:r**:
|
417
|
-
- **settings:a**:
|
418
|
-
- **situation:r**:
|
389
|
+
- **entity.clients:r**: Read permission to the Clients registry
|
390
|
+
- **entity.clients:a**: Write permission to the Clients registry
|
391
|
+
- **entity.suppliers:r**: Read permission to the Suppliers registry
|
392
|
+
- **entity.suppliers:a**: Write permission to the Suppliers registry
|
393
|
+
- **products:r**: Read permission to the Products
|
394
|
+
- **products:a**: Write permission to the Products
|
395
|
+
- **issued_documents.invoices:r**: Read permission to the issued Invoices
|
396
|
+
- **issued_documents.credit_notes:r**: Read permission to the issued Credit Notes
|
397
|
+
- **issued_documents.receipts:r**: Read permission to the issued Receipts
|
398
|
+
- **issued_documents.orders:r**: Read permission to the issued Orders
|
399
|
+
- **issued_documents.quotes:r**: Read permission to the issued Quotes
|
400
|
+
- **issued_documents.proformas:r**: Read permission to the issued Proformas
|
401
|
+
- **issued_documents.delivery_notes:r**: Read permission to the issued Delivery Notes
|
402
|
+
- **issued_documents.invoices:a**: Write permission to the issued Invoices
|
403
|
+
- **issued_documents.credit_notes:a**: Write permission to the issued Credit Notes
|
404
|
+
- **issued_documents.receipts:a**: Write permission to the issued issued Receipts
|
405
|
+
- **issued_documents.orders:a**: Write permission to the issued Orders
|
406
|
+
- **issued_documents.quotes:a**: Write permission to the issued Quotes
|
407
|
+
- **issued_documents.proformas:a**: Write permission to the issued Proformas
|
408
|
+
- **issued_documents.delivery_notes:a**: Write permission to the issued Delivery Notes
|
409
|
+
- **received_documents:r**: Read permission to the Received Documents
|
410
|
+
- **received_documents:a**: Write permission to the Received Documents
|
411
|
+
- **stock:r**: Read permission to the Stock movements
|
412
|
+
- **stock:a**: Write permission to the Stock movements
|
413
|
+
- **receipts:r**: Read permission to the Receipts
|
414
|
+
- **receipts:a**: Write permission to the Receipts
|
415
|
+
- **taxes:r**: Read permission to the Taxes
|
416
|
+
- **taxes:a**: Write permission to the Taxes
|
417
|
+
- **archive:r**: Read permission to the Archive Documents
|
418
|
+
- **archive:a**: Read permission to the Archive Documents
|
419
|
+
- **cashbook:r**: Read permission to the Cashbook
|
420
|
+
- **cashbook:a**: Write permission to the Cashbook
|
421
|
+
- **settings:r**: Read permission to the Settings
|
422
|
+
- **settings:a**: Write permission to the Settings
|
423
|
+
- **situation:r**: Read permission to the company Situation
|
419
424
|
|
data/docs/ArchiveApi.md
CHANGED
@@ -258,7 +258,8 @@ opts = {
|
|
258
258
|
fieldset: 'basic', # String | Name of the fieldset.
|
259
259
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
260
260
|
page: 56, # Integer | The page to retrieve.
|
261
|
-
per_page: 56 # Integer | The size of the page.
|
261
|
+
per_page: 56, # Integer | The size of the page.
|
262
|
+
q: 'q_example' # String | Query for filtering the results.
|
262
263
|
}
|
263
264
|
|
264
265
|
begin
|
@@ -298,6 +299,7 @@ end
|
|
298
299
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
299
300
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
300
301
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
302
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
301
303
|
|
302
304
|
### Return type
|
303
305
|
|
data/docs/Client.md
CHANGED
@@ -36,6 +36,9 @@
|
|
36
36
|
| **ei_code** | **String** | E-invoice code | [optional] |
|
37
37
|
| **discount_highlight** | **Boolean** | Discount Highlight. | [optional] |
|
38
38
|
| **default_discount** | **Float** | Default discount. | [optional] |
|
39
|
+
| **has_intent_declaration** | **Boolean** | Has intent declaration. | [optional] |
|
40
|
+
| **intent_declaration_protocol_number** | **Date** | Intent declaration protocol number. | [optional] |
|
41
|
+
| **intent_declaration_protocol_date** | **String** | Intent declaration protocol date. | [optional] |
|
39
42
|
| **created_at** | **String** | | [optional] |
|
40
43
|
| **updated_at** | **String** | | [optional] |
|
41
44
|
|
data/docs/ClientsApi.md
CHANGED
@@ -257,7 +257,8 @@ opts = {
|
|
257
257
|
fieldset: 'basic', # String | Name of the fieldset.
|
258
258
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
259
259
|
page: 56, # Integer | The page to retrieve.
|
260
|
-
per_page: 56 # Integer | The size of the page.
|
260
|
+
per_page: 56, # Integer | The size of the page.
|
261
|
+
q: 'q_example' # String | Query for filtering the results.
|
261
262
|
}
|
262
263
|
|
263
264
|
begin
|
@@ -297,6 +298,7 @@ end
|
|
297
298
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
298
299
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
299
300
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
301
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
300
302
|
|
301
303
|
### Return type
|
302
304
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# FattureInCloud_Ruby_Sdk::DetailedCountry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | Country name. | [optional] |
|
8
|
+
| **settings_name** | **String** | | [optional] |
|
9
|
+
| **iso** | **String** | Country iso. | [optional] |
|
10
|
+
| **fiscal_iso** | **String** | | [optional] |
|
11
|
+
| **uic** | **String** | Country uic. | [optional] |
|
12
|
+
|
@@ -1,11 +1,11 @@
|
|
1
|
-
# FattureInCloud_Ruby_Sdk::
|
1
|
+
# FattureInCloud_Ruby_Sdk::EInvoiceRejectionReason
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **reason** | **String** | Rejection reason. | [optional] |
|
8
|
-
| **ei_status** | **String** |
|
8
|
+
| **ei_status** | **String** | E-invoice status. | [optional] |
|
9
9
|
| **solution** | **String** | Error solution. | [optional] |
|
10
10
|
| **code** | **String** | Error code. | [optional] |
|
11
11
|
| **date** | **Date** | Rejection date. | [optional] |
|
data/docs/Entity.md
CHANGED
@@ -34,6 +34,9 @@
|
|
34
34
|
| **shipping_address** | **String** | [Only for client] Shipping address. | [optional] |
|
35
35
|
| **e_invoice** | **Boolean** | [Only for client] Use e-invoices. | [optional] |
|
36
36
|
| **ei_code** | **String** | [Only for client] E-invoices code. | [optional] |
|
37
|
+
| **has_intent_declaration** | **Boolean** | [Only for client] Has intent declaration. | [optional] |
|
38
|
+
| **intent_declaration_protocol_number** | **Date** | [Only for client] Intent declaration protocol number. | [optional] |
|
39
|
+
| **intent_declaration_protocol_date** | **String** | [Only for client] Intent declaration protocol date. | [optional] |
|
37
40
|
| **created_at** | **String** | | [optional] |
|
38
41
|
| **updated_at** | **String** | | [optional] |
|
39
42
|
|
data/docs/InfoApi.md
CHANGED
@@ -10,6 +10,7 @@ All URIs are relative to *https://api-v2.fattureincloud.it*
|
|
10
10
|
| [**list_countries**](InfoApi.md#list_countries) | **GET** /info/countries | List Countries |
|
11
11
|
| [**list_currencies**](InfoApi.md#list_currencies) | **GET** /info/currencies | List Currencies |
|
12
12
|
| [**list_delivery_notes_default_causals**](InfoApi.md#list_delivery_notes_default_causals) | **GET** /info/dn_causals | List Delivery Notes Default Causals |
|
13
|
+
| [**list_detailed_countries**](InfoApi.md#list_detailed_countries) | **GET** /info/detailed_countries | List Detailed Countries |
|
13
14
|
| [**list_languages**](InfoApi.md#list_languages) | **GET** /info/languages | List Languages |
|
14
15
|
| [**list_payment_accounts**](InfoApi.md#list_payment_accounts) | **GET** /c/{company_id}/info/payment_accounts | List Payment Accounts |
|
15
16
|
| [**list_payment_methods**](InfoApi.md#list_payment_methods) | **GET** /c/{company_id}/info/payment_methods | List Payment Methods |
|
@@ -430,6 +431,72 @@ This endpoint does not need any parameter.
|
|
430
431
|
- **Accept**: application/json
|
431
432
|
|
432
433
|
|
434
|
+
## list_detailed_countries
|
435
|
+
|
436
|
+
> <ListDetailedCountriesResponse> list_detailed_countries
|
437
|
+
|
438
|
+
List Detailed Countries
|
439
|
+
|
440
|
+
Lists the supported countries.
|
441
|
+
|
442
|
+
### Examples
|
443
|
+
|
444
|
+
```ruby
|
445
|
+
require 'time'
|
446
|
+
require 'fattureincloud_ruby_sdk'
|
447
|
+
# setup authorization
|
448
|
+
FattureInCloud_Ruby_Sdk.configure do |config|
|
449
|
+
# Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
|
450
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
451
|
+
end
|
452
|
+
|
453
|
+
api_instance = FattureInCloud_Ruby_Sdk::InfoApi.new
|
454
|
+
|
455
|
+
begin
|
456
|
+
# List Detailed Countries
|
457
|
+
result = api_instance.list_detailed_countries
|
458
|
+
p result
|
459
|
+
rescue FattureInCloud_Ruby_Sdk::ApiError => e
|
460
|
+
puts "Error when calling InfoApi->list_detailed_countries: #{e}"
|
461
|
+
end
|
462
|
+
```
|
463
|
+
|
464
|
+
#### Using the list_detailed_countries_with_http_info variant
|
465
|
+
|
466
|
+
This returns an Array which contains the response data, status code and headers.
|
467
|
+
|
468
|
+
> <Array(<ListDetailedCountriesResponse>, Integer, Hash)> list_detailed_countries_with_http_info
|
469
|
+
|
470
|
+
```ruby
|
471
|
+
begin
|
472
|
+
# List Detailed Countries
|
473
|
+
data, status_code, headers = api_instance.list_detailed_countries_with_http_info
|
474
|
+
p status_code # => 2xx
|
475
|
+
p headers # => { ... }
|
476
|
+
p data # => <ListDetailedCountriesResponse>
|
477
|
+
rescue FattureInCloud_Ruby_Sdk::ApiError => e
|
478
|
+
puts "Error when calling InfoApi->list_detailed_countries_with_http_info: #{e}"
|
479
|
+
end
|
480
|
+
```
|
481
|
+
|
482
|
+
### Parameters
|
483
|
+
|
484
|
+
This endpoint does not need any parameter.
|
485
|
+
|
486
|
+
### Return type
|
487
|
+
|
488
|
+
[**ListDetailedCountriesResponse**](ListDetailedCountriesResponse.md)
|
489
|
+
|
490
|
+
### Authorization
|
491
|
+
|
492
|
+
[OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow)
|
493
|
+
|
494
|
+
### HTTP request headers
|
495
|
+
|
496
|
+
- **Content-Type**: Not defined
|
497
|
+
- **Accept**: application/json
|
498
|
+
|
499
|
+
|
433
500
|
## list_languages
|
434
501
|
|
435
502
|
> <ListLanguagesResponse> list_languages
|
data/docs/IssuedDocument.md
CHANGED
@@ -37,11 +37,11 @@
|
|
37
37
|
| **use_gross_prices** | **Boolean** | Use gross prices | [optional] |
|
38
38
|
| **e_invoice** | **Boolean** | Indicates if this is an e-invoice. | [optional] |
|
39
39
|
| **ei_data** | [**IssuedDocumentEiData**](IssuedDocumentEiData.md) | | [optional] |
|
40
|
-
| **ei_cassa_type** | **String** |
|
41
|
-
| **ei_cassa2_type** | **String** |
|
42
|
-
| **ei_withholding_tax_causal** | **String** |
|
43
|
-
| **ei_other_withholding_tax_type** | **String** |
|
44
|
-
| **ei_other_withholding_tax_causal** | **String** |
|
40
|
+
| **ei_cassa_type** | **String** | E-invoice cassa type | [optional] |
|
41
|
+
| **ei_cassa2_type** | **String** | E-invoice cassa2 type | [optional] |
|
42
|
+
| **ei_withholding_tax_causal** | **String** | E-invoice withholding tax causal | [optional] |
|
43
|
+
| **ei_other_withholding_tax_type** | **String** | E-invoice other withholding tax type | [optional] |
|
44
|
+
| **ei_other_withholding_tax_causal** | **String** | E-invoice other withholding tax causal | [optional] |
|
45
45
|
| **items_list** | [**Array<IssuedDocumentItemsListItem>**](IssuedDocumentItemsListItem.md) | | [optional] |
|
46
46
|
| **payments_list** | [**Array<IssuedDocumentPaymentsListItem>**](IssuedDocumentPaymentsListItem.md) | | [optional] |
|
47
47
|
| **template** | [**DocumentTemplate**](DocumentTemplate.md) | | [optional] |
|
@@ -84,5 +84,5 @@
|
|
84
84
|
| **attachment_url** | **String** | [Read Only] Public url of the attached file. Authomatically set if a valid attachment token is passed via POST /issued_documents or PUT /issued_documents/{documentId}. | [optional][readonly] |
|
85
85
|
| **attachment_token** | **String** | [Write Only] Attachment token returned by POST /issued_documents/attachment. Used to attach the file already uploaded. | [optional] |
|
86
86
|
| **ei_raw** | **Object** | Advanced raw attributes for e-invoices. | [optional] |
|
87
|
-
| **ei_status** | **String** | [Read only] Status of the e-invoice. * `attempt` - We are trying to send the invoice, please wait up to 2 hours * `missing` - The invoice is missing * `not_sent` - The invoice has yet to be sent * `pending` - The checks for the digital signature and sending are in progress * `processing` - The SDI is delivering the invoice to the customer * `error` - An error occurred while handling the invoice, please try to resend it or contact support * `discarded` - The invoice has been rejected by the SDI, so it must be corrected and re-sent * `not_delivered` - The SDI was unable to deliver the invoice * `accepted` - The customer accepted the invoice * `rejected` - The customer rejected the invoice, so it must be corrected * `no_response` - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice | [optional] |
|
87
|
+
| **ei_status** | **String** | [Read only] Status of the e-invoice. * `attempt` - We are trying to send the invoice, please wait up to 2 hours * `missing` - The invoice is missing * `not_sent` - The invoice has yet to be sent * `sent` - The invoice was sent * `pending` - The checks for the digital signature and sending are in progress * `processing` - The SDI is delivering the invoice to the customer * `error` - An error occurred while handling the invoice, please try to resend it or contact support * `discarded` - The invoice has been rejected by the SDI, so it must be corrected and re-sent * `not_delivered` - The SDI was unable to deliver the invoice * `accepted` - The customer accepted the invoice * `rejected` - The customer rejected the invoice, so it must be corrected * `no_response` - A response has not yet been received whithin the deadline, contact the customer to ascertain the status of the invoice | [optional] |
|
88
88
|
|
data/docs/IssuedDocumentsApi.md
CHANGED
@@ -625,7 +625,8 @@ opts = {
|
|
625
625
|
fieldset: 'basic', # String | Name of the fieldset.
|
626
626
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
627
627
|
page: 56, # Integer | The page to retrieve.
|
628
|
-
per_page: 56 # Integer | The size of the page.
|
628
|
+
per_page: 56, # Integer | The size of the page.
|
629
|
+
q: 'q_example' # String | Query for filtering the results.
|
629
630
|
}
|
630
631
|
|
631
632
|
begin
|
@@ -666,6 +667,7 @@ end
|
|
666
667
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
667
668
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
668
669
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
670
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
669
671
|
|
670
672
|
### Return type
|
671
673
|
|
data/docs/IssuedEInvoicesApi.md
CHANGED
@@ -4,19 +4,19 @@ All URIs are relative to *https://api-v2.fattureincloud.it*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**get_e_invoice_rejection_reason**](IssuedEInvoicesApi.md#get_e_invoice_rejection_reason) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason | Get
|
7
|
+
| [**get_e_invoice_rejection_reason**](IssuedEInvoicesApi.md#get_e_invoice_rejection_reason) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason | Get e-invoice rejection reason |
|
8
8
|
| [**get_e_invoice_xml**](IssuedEInvoicesApi.md#get_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | Get e-invoice XML |
|
9
9
|
| [**send_e_invoice**](IssuedEInvoicesApi.md#send_e_invoice) | **POST** /c/{company_id}/issued_documents/{document_id}/e_invoice/send | Send the e-invoice |
|
10
|
-
| [**verify_e_invoice_xml**](IssuedEInvoicesApi.md#verify_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice
|
10
|
+
| [**verify_e_invoice_xml**](IssuedEInvoicesApi.md#verify_e_invoice_xml) | **GET** /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | Verify e-invoice XML |
|
11
11
|
|
12
12
|
|
13
13
|
## get_e_invoice_rejection_reason
|
14
14
|
|
15
15
|
> <GetEInvoiceRejectionReasonResponse> get_e_invoice_rejection_reason(company_id, document_id)
|
16
16
|
|
17
|
-
Get
|
17
|
+
Get e-invoice rejection reason
|
18
18
|
|
19
|
-
Get
|
19
|
+
Get e-invoice rejection reason
|
20
20
|
|
21
21
|
### Examples
|
22
22
|
|
@@ -34,7 +34,7 @@ company_id = 12345 # Integer | The ID of the company.
|
|
34
34
|
document_id = 56 # Integer | The ID of the document.
|
35
35
|
|
36
36
|
begin
|
37
|
-
# Get
|
37
|
+
# Get e-invoice rejection reason
|
38
38
|
result = api_instance.get_e_invoice_rejection_reason(company_id, document_id)
|
39
39
|
p result
|
40
40
|
rescue FattureInCloud_Ruby_Sdk::ApiError => e
|
@@ -50,7 +50,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
50
50
|
|
51
51
|
```ruby
|
52
52
|
begin
|
53
|
-
# Get
|
53
|
+
# Get e-invoice rejection reason
|
54
54
|
data, status_code, headers = api_instance.get_e_invoice_rejection_reason_with_http_info(company_id, document_id)
|
55
55
|
p status_code # => 2xx
|
56
56
|
p headers # => { ... }
|
@@ -235,9 +235,9 @@ end
|
|
235
235
|
|
236
236
|
> <VerifyEInvoiceXmlResponse> verify_e_invoice_xml(company_id, document_id)
|
237
237
|
|
238
|
-
Verify e-invoice
|
238
|
+
Verify e-invoice XML
|
239
239
|
|
240
|
-
Verifies the e-invoice
|
240
|
+
Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.
|
241
241
|
|
242
242
|
### Examples
|
243
243
|
|
@@ -255,7 +255,7 @@ company_id = 12345 # Integer | The ID of the company.
|
|
255
255
|
document_id = 56 # Integer | The ID of the document.
|
256
256
|
|
257
257
|
begin
|
258
|
-
# Verify e-invoice
|
258
|
+
# Verify e-invoice XML
|
259
259
|
result = api_instance.verify_e_invoice_xml(company_id, document_id)
|
260
260
|
p result
|
261
261
|
rescue FattureInCloud_Ruby_Sdk::ApiError => e
|
@@ -271,7 +271,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
271
271
|
|
272
272
|
```ruby
|
273
273
|
begin
|
274
|
-
# Verify e-invoice
|
274
|
+
# Verify e-invoice XML
|
275
275
|
data, status_code, headers = api_instance.verify_e_invoice_xml_with_http_info(company_id, document_id)
|
276
276
|
p status_code # => 2xx
|
277
277
|
p headers # => { ... }
|
data/docs/PaymentMethod.md
CHANGED
@@ -13,5 +13,5 @@
|
|
13
13
|
| **bank_iban** | **String** | Bank iban | [optional] |
|
14
14
|
| **bank_name** | **String** | Bank name | [optional] |
|
15
15
|
| **bank_beneficiary** | **String** | Bank beneficiary | [optional] |
|
16
|
-
| **ei_payment_method** | **String** |
|
16
|
+
| **ei_payment_method** | **String** | E-invoice payment method | [optional] |
|
17
17
|
|
data/docs/ProductsApi.md
CHANGED
@@ -257,7 +257,8 @@ opts = {
|
|
257
257
|
fieldset: 'basic', # String | Name of the fieldset.
|
258
258
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
259
259
|
page: 56, # Integer | The page to retrieve.
|
260
|
-
per_page: 56 # Integer | The size of the page.
|
260
|
+
per_page: 56, # Integer | The size of the page.
|
261
|
+
q: 'q_example' # String | Query for filtering the results.
|
261
262
|
}
|
262
263
|
|
263
264
|
begin
|
@@ -297,6 +298,7 @@ end
|
|
297
298
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
298
299
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
299
300
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
301
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
300
302
|
|
301
303
|
### Return type
|
302
304
|
|
data/docs/ReceiptsApi.md
CHANGED
@@ -401,7 +401,8 @@ opts = {
|
|
401
401
|
fieldset: 'basic', # String | Name of the fieldset.
|
402
402
|
page: 56, # Integer | The page to retrieve.
|
403
403
|
per_page: 56, # Integer | The size of the page.
|
404
|
-
sort: 'sort_example' # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
404
|
+
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
405
|
+
q: 'q_example' # String | Query for filtering the results.
|
405
406
|
}
|
406
407
|
|
407
408
|
begin
|
@@ -441,6 +442,7 @@ end
|
|
441
442
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
442
443
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
443
444
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
445
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
444
446
|
|
445
447
|
### Return type
|
446
448
|
|
@@ -552,7 +552,8 @@ opts = {
|
|
552
552
|
fieldset: 'basic', # String | Name of the fieldset.
|
553
553
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
554
554
|
page: 56, # Integer | The page to retrieve.
|
555
|
-
per_page: 56 # Integer | The size of the page.
|
555
|
+
per_page: 56, # Integer | The size of the page.
|
556
|
+
q: 'q_example' # String | Query for filtering the results.
|
556
557
|
}
|
557
558
|
|
558
559
|
begin
|
@@ -593,6 +594,7 @@ end
|
|
593
594
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
594
595
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
595
596
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
597
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
596
598
|
|
597
599
|
### Return type
|
598
600
|
|
data/docs/SuppliersApi.md
CHANGED
@@ -257,7 +257,8 @@ opts = {
|
|
257
257
|
fieldset: 'basic', # String | Name of the fieldset.
|
258
258
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
259
259
|
page: 56, # Integer | The page to retrieve.
|
260
|
-
per_page: 56 # Integer | The size of the page.
|
260
|
+
per_page: 56, # Integer | The size of the page.
|
261
|
+
q: 'q_example' # String | Query for filtering the results.
|
261
262
|
}
|
262
263
|
|
263
264
|
begin
|
@@ -297,6 +298,7 @@ end
|
|
297
298
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
298
299
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
299
300
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
301
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
300
302
|
|
301
303
|
### Return type
|
302
304
|
|
data/docs/TaxesApi.md
CHANGED
@@ -329,7 +329,8 @@ opts = {
|
|
329
329
|
fieldset: 'basic', # String | Name of the fieldset.
|
330
330
|
sort: 'sort_example', # String | List of comma-separated fields for result sorting (minus for desc sorting).
|
331
331
|
page: 56, # Integer | The page to retrieve.
|
332
|
-
per_page: 56 # Integer | The size of the page.
|
332
|
+
per_page: 56, # Integer | The size of the page.
|
333
|
+
q: 'q_example' # String | Query for filtering the results.
|
333
334
|
}
|
334
335
|
|
335
336
|
begin
|
@@ -369,6 +370,7 @@ end
|
|
369
370
|
| **sort** | **String** | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
|
370
371
|
| **page** | **Integer** | The page to retrieve. | [optional][default to 1] |
|
371
372
|
| **per_page** | **Integer** | The size of the page. | [optional][default to 5] |
|
373
|
+
| **q** | **String** | Query for filtering the results. | [optional] |
|
372
374
|
|
373
375
|
### Return type
|
374
376
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#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.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
8
|
+
The version of the OpenAPI document: 2.0.16
|
9
9
|
Contact: info@fattureincloud.it
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.16
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -57,7 +57,7 @@ module FattureInCloud_Ruby_Sdk
|
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
60
|
-
|
60
|
+
header_params['Content-Type'] = content_type
|
61
61
|
end
|
62
62
|
|
63
63
|
# form parameters
|
@@ -244,6 +244,7 @@ module FattureInCloud_Ruby_Sdk
|
|
244
244
|
# @option opts [String] :sort List of comma-separated fields for result sorting (minus for desc sorting).
|
245
245
|
# @option opts [Integer] :page The page to retrieve. (default to 1)
|
246
246
|
# @option opts [Integer] :per_page The size of the page. (default to 5)
|
247
|
+
# @option opts [String] :q Query for filtering the results.
|
247
248
|
# @return [ListArchiveDocumentsResponse]
|
248
249
|
def list_archive_documents(company_id, opts = {})
|
249
250
|
data, _status_code, _headers = list_archive_documents_with_http_info(company_id, opts)
|
@@ -259,6 +260,7 @@ module FattureInCloud_Ruby_Sdk
|
|
259
260
|
# @option opts [String] :sort List of comma-separated fields for result sorting (minus for desc sorting).
|
260
261
|
# @option opts [Integer] :page The page to retrieve.
|
261
262
|
# @option opts [Integer] :per_page The size of the page.
|
263
|
+
# @option opts [String] :q Query for filtering the results.
|
262
264
|
# @return [Array<(ListArchiveDocumentsResponse, Integer, Hash)>] ListArchiveDocumentsResponse data, response status code and response headers
|
263
265
|
def list_archive_documents_with_http_info(company_id, opts = {})
|
264
266
|
if @api_client.config.debugging
|
@@ -282,6 +284,7 @@ module FattureInCloud_Ruby_Sdk
|
|
282
284
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
283
285
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
284
286
|
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
287
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
285
288
|
|
286
289
|
# header parameters
|
287
290
|
header_params = opts[:header_params] || {}
|
@@ -361,7 +364,7 @@ module FattureInCloud_Ruby_Sdk
|
|
361
364
|
# HTTP header 'Content-Type'
|
362
365
|
content_type = @api_client.select_header_content_type(['application/json'])
|
363
366
|
if !content_type.nil?
|
364
|
-
|
367
|
+
header_params['Content-Type'] = content_type
|
365
368
|
end
|
366
369
|
|
367
370
|
# form parameters
|
@@ -433,7 +436,7 @@ module FattureInCloud_Ruby_Sdk
|
|
433
436
|
# HTTP header 'Content-Type'
|
434
437
|
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
435
438
|
if !content_type.nil?
|
436
|
-
|
439
|
+
header_params['Content-Type'] = content_type
|
437
440
|
end
|
438
441
|
|
439
442
|
# form parameters
|