fattureincloud_ruby_sdk 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +5 -2
- data/docs/Email.md +1 -1
- data/docs/GetTaxProfileResponse.md +8 -0
- data/docs/IssuedDocument.md +1 -1
- data/docs/IssuedDocumentsApi.md +4 -2
- data/docs/SettingsApi.md +70 -0
- data/docs/TaxProfile.md +28 -0
- data/docs/VatType.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 +6 -6
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/emails_api.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +18 -18
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +22 -19
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +8 -8
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +12 -12
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +74 -11
- 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 +4 -4
- data/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api_client.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/configuration.rb +12 -2
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +2 -2
- 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 +2 -2
- data/lib/fattureincloud_ruby_sdk/models/client.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/event_type.rb +14 -3
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb +214 -0
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/language.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/product.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +4 -3
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/tax_profile.rb +435 -0
- data/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/user.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +3 -4
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +18 -7
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb +1 -1
- data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
- data/lib/fattureincloud_ruby_sdk.rb +4 -2
- data/sdk-version.yaml +1 -1
- data/spec/models/get_tax_profile_response_spec.rb +36 -0
- data/spec/models/tax_profile_spec.rb +156 -0
- data/spec/spec_helper.rb +2 -2
- metadata +231 -223
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -261,7 +261,7 @@ module FattureInCloud_Ruby_Sdk
|
|
261
261
|
# header parameters
|
262
262
|
header_params = opts[:header_params] || {}
|
263
263
|
# HTTP header 'Accept' (if needed)
|
264
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
264
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
265
265
|
|
266
266
|
# form parameters
|
267
267
|
form_params = opts[:form_params] || {}
|
@@ -332,7 +332,7 @@ module FattureInCloud_Ruby_Sdk
|
|
332
332
|
# header parameters
|
333
333
|
header_params = opts[:header_params] || {}
|
334
334
|
# HTTP header 'Accept' (if needed)
|
335
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
335
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
336
336
|
# HTTP header 'Content-Type'
|
337
337
|
content_type = @api_client.select_header_content_type(['application/json'])
|
338
338
|
if !content_type.nil?
|
@@ -416,7 +416,7 @@ module FattureInCloud_Ruby_Sdk
|
|
416
416
|
# header parameters
|
417
417
|
header_params = opts[:header_params] || {}
|
418
418
|
# HTTP header 'Accept' (if needed)
|
419
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
419
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
420
420
|
|
421
421
|
# form parameters
|
422
422
|
form_params = opts[:form_params] || {}
|
@@ -491,7 +491,7 @@ module FattureInCloud_Ruby_Sdk
|
|
491
491
|
# header parameters
|
492
492
|
header_params = opts[:header_params] || {}
|
493
493
|
# HTTP header 'Accept' (if needed)
|
494
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
494
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
495
495
|
|
496
496
|
# form parameters
|
497
497
|
form_params = opts[:form_params] || {}
|
@@ -556,7 +556,7 @@ module FattureInCloud_Ruby_Sdk
|
|
556
556
|
# header parameters
|
557
557
|
header_params = opts[:header_params] || {}
|
558
558
|
# HTTP header 'Accept' (if needed)
|
559
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
559
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
560
560
|
# HTTP header 'Content-Type'
|
561
561
|
content_type = @api_client.select_header_content_type(['application/json'])
|
562
562
|
if !content_type.nil?
|
@@ -598,7 +598,7 @@ module FattureInCloud_Ruby_Sdk
|
|
598
598
|
# @param ids [String] Ids of the documents.
|
599
599
|
# @param [Hash] opts the optional parameters
|
600
600
|
# @option opts [Integer] :group Group items.
|
601
|
-
# @option opts [
|
601
|
+
# @option opts [String] :type Type of the documents to be joined
|
602
602
|
# @return [JoinIssuedDocumentsResponse]
|
603
603
|
def join_issued_documents(company_id, ids, opts = {})
|
604
604
|
data, _status_code, _headers = join_issued_documents_with_http_info(company_id, ids, opts)
|
@@ -611,7 +611,7 @@ module FattureInCloud_Ruby_Sdk
|
|
611
611
|
# @param ids [String] Ids of the documents.
|
612
612
|
# @param [Hash] opts the optional parameters
|
613
613
|
# @option opts [Integer] :group Group items.
|
614
|
-
# @option opts [
|
614
|
+
# @option opts [String] :type Type of the documents to be joined
|
615
615
|
# @return [Array<(JoinIssuedDocumentsResponse, Integer, Hash)>] JoinIssuedDocumentsResponse data, response status code and response headers
|
616
616
|
def join_issued_documents_with_http_info(company_id, ids, opts = {})
|
617
617
|
if @api_client.config.debugging
|
@@ -629,9 +629,9 @@ module FattureInCloud_Ruby_Sdk
|
|
629
629
|
if @api_client.config.client_side_validation && opts[:'group'] && !allowable_values.include?(opts[:'group'])
|
630
630
|
fail ArgumentError, "invalid value for \"group\", must be one of #{allowable_values}"
|
631
631
|
end
|
632
|
-
allowable_values = [
|
633
|
-
if @api_client.config.client_side_validation && opts[:'
|
634
|
-
fail ArgumentError, "invalid value for \"
|
632
|
+
allowable_values = ["delivery_notes", "orders", "quotes", "work_reports"]
|
633
|
+
if @api_client.config.client_side_validation && opts[:'type'] && !allowable_values.include?(opts[:'type'])
|
634
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
635
635
|
end
|
636
636
|
# resource path
|
637
637
|
local_var_path = '/c/{company_id}/issued_documents/join'.sub('{' + 'company_id' + '}', CGI.escape(company_id.to_s))
|
@@ -640,12 +640,12 @@ module FattureInCloud_Ruby_Sdk
|
|
640
640
|
query_params = opts[:query_params] || {}
|
641
641
|
query_params[:'ids'] = ids
|
642
642
|
query_params[:'group'] = opts[:'group'] if !opts[:'group'].nil?
|
643
|
-
query_params[:'
|
643
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
644
644
|
|
645
645
|
# header parameters
|
646
646
|
header_params = opts[:header_params] || {}
|
647
647
|
# HTTP header 'Accept' (if needed)
|
648
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
648
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
649
649
|
|
650
650
|
# form parameters
|
651
651
|
form_params = opts[:form_params] || {}
|
@@ -757,7 +757,7 @@ module FattureInCloud_Ruby_Sdk
|
|
757
757
|
# header parameters
|
758
758
|
header_params = opts[:header_params] || {}
|
759
759
|
# HTTP header 'Accept' (if needed)
|
760
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
760
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
761
761
|
|
762
762
|
# form parameters
|
763
763
|
form_params = opts[:form_params] || {}
|
@@ -828,7 +828,7 @@ module FattureInCloud_Ruby_Sdk
|
|
828
828
|
# header parameters
|
829
829
|
header_params = opts[:header_params] || {}
|
830
830
|
# HTTP header 'Accept' (if needed)
|
831
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
831
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
832
832
|
# HTTP header 'Content-Type'
|
833
833
|
content_type = @api_client.select_header_content_type(['application/json'])
|
834
834
|
if !content_type.nil?
|
@@ -944,6 +944,7 @@ module FattureInCloud_Ruby_Sdk
|
|
944
944
|
# @param original_document_id [Integer] Original document id.
|
945
945
|
# @param new_type [String] New document type.
|
946
946
|
# @param [Hash] opts the optional parameters
|
947
|
+
# @option opts [String] :type Current document type.
|
947
948
|
# @option opts [Integer] :e_invoice New document e_invoice.
|
948
949
|
# @option opts [Integer] :transform_keep_copy Keep the old document.
|
949
950
|
# @return [TransformIssuedDocumentResponse]
|
@@ -958,6 +959,7 @@ module FattureInCloud_Ruby_Sdk
|
|
958
959
|
# @param original_document_id [Integer] Original document id.
|
959
960
|
# @param new_type [String] New document type.
|
960
961
|
# @param [Hash] opts the optional parameters
|
962
|
+
# @option opts [String] :type Current document type.
|
961
963
|
# @option opts [Integer] :e_invoice New document e_invoice.
|
962
964
|
# @option opts [Integer] :transform_keep_copy Keep the old document.
|
963
965
|
# @return [Array<(TransformIssuedDocumentResponse, Integer, Hash)>] TransformIssuedDocumentResponse data, response status code and response headers
|
@@ -992,13 +994,14 @@ module FattureInCloud_Ruby_Sdk
|
|
992
994
|
query_params = opts[:query_params] || {}
|
993
995
|
query_params[:'original_document_id'] = original_document_id
|
994
996
|
query_params[:'new_type'] = new_type
|
997
|
+
query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
|
995
998
|
query_params[:'e_invoice'] = opts[:'e_invoice'] if !opts[:'e_invoice'].nil?
|
996
999
|
query_params[:'transform_keep_copy'] = opts[:'transform_keep_copy'] if !opts[:'transform_keep_copy'].nil?
|
997
1000
|
|
998
1001
|
# header parameters
|
999
1002
|
header_params = opts[:header_params] || {}
|
1000
1003
|
# HTTP header 'Accept' (if needed)
|
1001
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1004
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1002
1005
|
|
1003
1006
|
# form parameters
|
1004
1007
|
form_params = opts[:form_params] || {}
|
@@ -1065,7 +1068,7 @@ module FattureInCloud_Ruby_Sdk
|
|
1065
1068
|
# header parameters
|
1066
1069
|
header_params = opts[:header_params] || {}
|
1067
1070
|
# HTTP header 'Accept' (if needed)
|
1068
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1071
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1069
1072
|
# HTTP header 'Content-Type'
|
1070
1073
|
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
1071
1074
|
if !content_type.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,7 +57,7 @@ module FattureInCloud_Ruby_Sdk
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
61
|
|
62
62
|
# form parameters
|
63
63
|
form_params = opts[:form_params] || {}
|
@@ -129,7 +129,7 @@ module FattureInCloud_Ruby_Sdk
|
|
129
129
|
# header parameters
|
130
130
|
header_params = opts[:header_params] || {}
|
131
131
|
# HTTP header 'Accept' (if needed)
|
132
|
-
header_params['Accept'] = @api_client.select_header_accept(['text/xml'])
|
132
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/xml']) unless header_params['Accept']
|
133
133
|
|
134
134
|
# form parameters
|
135
135
|
form_params = opts[:form_params] || {}
|
@@ -200,7 +200,7 @@ module FattureInCloud_Ruby_Sdk
|
|
200
200
|
# header parameters
|
201
201
|
header_params = opts[:header_params] || {}
|
202
202
|
# HTTP header 'Accept' (if needed)
|
203
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
203
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
204
204
|
# HTTP header 'Content-Type'
|
205
205
|
content_type = @api_client.select_header_content_type(['application/json'])
|
206
206
|
if !content_type.nil?
|
@@ -274,7 +274,7 @@ module FattureInCloud_Ruby_Sdk
|
|
274
274
|
# header parameters
|
275
275
|
header_params = opts[:header_params] || {}
|
276
276
|
# HTTP header 'Accept' (if needed)
|
277
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
277
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
278
278
|
|
279
279
|
# form parameters
|
280
280
|
form_params = opts[:form_params] || {}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -204,7 +204,7 @@ module FattureInCloud_Ruby_Sdk
|
|
204
204
|
# header parameters
|
205
205
|
header_params = opts[:header_params] || {}
|
206
206
|
# HTTP header 'Accept' (if needed)
|
207
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
208
208
|
|
209
209
|
# form parameters
|
210
210
|
form_params = opts[:form_params] || {}
|
@@ -297,7 +297,7 @@ module FattureInCloud_Ruby_Sdk
|
|
297
297
|
# header parameters
|
298
298
|
header_params = opts[:header_params] || {}
|
299
299
|
# HTTP header 'Accept' (if needed)
|
300
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
300
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
301
301
|
|
302
302
|
# form parameters
|
303
303
|
form_params = opts[:form_params] || {}
|
@@ -368,7 +368,7 @@ module FattureInCloud_Ruby_Sdk
|
|
368
368
|
# header parameters
|
369
369
|
header_params = opts[:header_params] || {}
|
370
370
|
# HTTP header 'Accept' (if needed)
|
371
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
371
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
372
372
|
# HTTP header 'Content-Type'
|
373
373
|
content_type = @api_client.select_header_content_type(['application/json'])
|
374
374
|
if !content_type.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -204,7 +204,7 @@ module FattureInCloud_Ruby_Sdk
|
|
204
204
|
# header parameters
|
205
205
|
header_params = opts[:header_params] || {}
|
206
206
|
# HTTP header 'Accept' (if needed)
|
207
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
208
208
|
|
209
209
|
# form parameters
|
210
210
|
form_params = opts[:form_params] || {}
|
@@ -267,7 +267,7 @@ module FattureInCloud_Ruby_Sdk
|
|
267
267
|
# header parameters
|
268
268
|
header_params = opts[:header_params] || {}
|
269
269
|
# HTTP header 'Accept' (if needed)
|
270
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
271
271
|
|
272
272
|
# form parameters
|
273
273
|
form_params = opts[:form_params] || {}
|
@@ -349,7 +349,7 @@ module FattureInCloud_Ruby_Sdk
|
|
349
349
|
# header parameters
|
350
350
|
header_params = opts[:header_params] || {}
|
351
351
|
# HTTP header 'Accept' (if needed)
|
352
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
352
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
353
353
|
|
354
354
|
# form parameters
|
355
355
|
form_params = opts[:form_params] || {}
|
@@ -442,7 +442,7 @@ module FattureInCloud_Ruby_Sdk
|
|
442
442
|
# header parameters
|
443
443
|
header_params = opts[:header_params] || {}
|
444
444
|
# HTTP header 'Accept' (if needed)
|
445
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
445
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
446
446
|
|
447
447
|
# form parameters
|
448
448
|
form_params = opts[:form_params] || {}
|
@@ -513,7 +513,7 @@ module FattureInCloud_Ruby_Sdk
|
|
513
513
|
# header parameters
|
514
514
|
header_params = opts[:header_params] || {}
|
515
515
|
# HTTP header 'Accept' (if needed)
|
516
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
516
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
517
517
|
# HTTP header 'Content-Type'
|
518
518
|
content_type = @api_client.select_header_content_type(['application/json'])
|
519
519
|
if !content_type.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -263,7 +263,7 @@ module FattureInCloud_Ruby_Sdk
|
|
263
263
|
# header parameters
|
264
264
|
header_params = opts[:header_params] || {}
|
265
265
|
# HTTP header 'Accept' (if needed)
|
266
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
266
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
267
267
|
# HTTP header 'Content-Type'
|
268
268
|
content_type = @api_client.select_header_content_type(['application/json'])
|
269
269
|
if !content_type.nil?
|
@@ -333,7 +333,7 @@ module FattureInCloud_Ruby_Sdk
|
|
333
333
|
# header parameters
|
334
334
|
header_params = opts[:header_params] || {}
|
335
335
|
# HTTP header 'Accept' (if needed)
|
336
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
336
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
337
337
|
# HTTP header 'Content-Type'
|
338
338
|
content_type = @api_client.select_header_content_type(['application/json'])
|
339
339
|
if !content_type.nil?
|
@@ -417,7 +417,7 @@ module FattureInCloud_Ruby_Sdk
|
|
417
417
|
# header parameters
|
418
418
|
header_params = opts[:header_params] || {}
|
419
419
|
# HTTP header 'Accept' (if needed)
|
420
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
420
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
421
421
|
|
422
422
|
# form parameters
|
423
423
|
form_params = opts[:form_params] || {}
|
@@ -478,7 +478,7 @@ module FattureInCloud_Ruby_Sdk
|
|
478
478
|
fail ArgumentError, "Missing the required parameter 'type' when calling ReceivedDocumentsApi.get_received_document_pre_create_info"
|
479
479
|
end
|
480
480
|
# verify enum value
|
481
|
-
allowable_values = ["expense", "passive_credit_note", "passive_delivery_note"]
|
481
|
+
allowable_values = ["expense", "passive_credit_note", "passive_delivery_note", "self_invoice"]
|
482
482
|
if @api_client.config.client_side_validation && !allowable_values.include?(type)
|
483
483
|
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
484
484
|
end
|
@@ -492,7 +492,7 @@ module FattureInCloud_Ruby_Sdk
|
|
492
492
|
# header parameters
|
493
493
|
header_params = opts[:header_params] || {}
|
494
494
|
# HTTP header 'Accept' (if needed)
|
495
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
495
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
496
496
|
|
497
497
|
# form parameters
|
498
498
|
form_params = opts[:form_params] || {}
|
@@ -565,7 +565,7 @@ module FattureInCloud_Ruby_Sdk
|
|
565
565
|
fail ArgumentError, "Missing the required parameter 'type' when calling ReceivedDocumentsApi.list_received_documents"
|
566
566
|
end
|
567
567
|
# verify enum value
|
568
|
-
allowable_values = ["expense", "passive_credit_note", "passive_delivery_note"]
|
568
|
+
allowable_values = ["expense", "passive_credit_note", "passive_delivery_note", "self_invoice"]
|
569
569
|
if @api_client.config.client_side_validation && !allowable_values.include?(type)
|
570
570
|
fail ArgumentError, "invalid value for \"type\", must be one of #{allowable_values}"
|
571
571
|
end
|
@@ -597,7 +597,7 @@ module FattureInCloud_Ruby_Sdk
|
|
597
597
|
# header parameters
|
598
598
|
header_params = opts[:header_params] || {}
|
599
599
|
# HTTP header 'Accept' (if needed)
|
600
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
600
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
601
601
|
|
602
602
|
# form parameters
|
603
603
|
form_params = opts[:form_params] || {}
|
@@ -668,7 +668,7 @@ module FattureInCloud_Ruby_Sdk
|
|
668
668
|
# header parameters
|
669
669
|
header_params = opts[:header_params] || {}
|
670
670
|
# HTTP header 'Accept' (if needed)
|
671
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
671
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
672
672
|
# HTTP header 'Content-Type'
|
673
673
|
content_type = @api_client.select_header_content_type(['application/json'])
|
674
674
|
if !content_type.nil?
|
@@ -740,7 +740,7 @@ module FattureInCloud_Ruby_Sdk
|
|
740
740
|
# header parameters
|
741
741
|
header_params = opts[:header_params] || {}
|
742
742
|
# HTTP header 'Accept' (if needed)
|
743
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
743
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
744
744
|
# HTTP header 'Content-Type'
|
745
745
|
content_type = @api_client.select_header_content_type(['multipart/form-data'])
|
746
746
|
if !content_type.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -123,7 +123,7 @@ module FattureInCloud_Ruby_Sdk
|
|
123
123
|
# header parameters
|
124
124
|
header_params = opts[:header_params] || {}
|
125
125
|
# HTTP header 'Accept' (if needed)
|
126
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
126
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
127
127
|
# HTTP header 'Content-Type'
|
128
128
|
content_type = @api_client.select_header_content_type(['application/json'])
|
129
129
|
if !content_type.nil?
|
@@ -193,7 +193,7 @@ module FattureInCloud_Ruby_Sdk
|
|
193
193
|
# header parameters
|
194
194
|
header_params = opts[:header_params] || {}
|
195
195
|
# HTTP header 'Accept' (if needed)
|
196
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
196
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
197
197
|
# HTTP header 'Content-Type'
|
198
198
|
content_type = @api_client.select_header_content_type(['application/json'])
|
199
199
|
if !content_type.nil?
|
@@ -478,7 +478,7 @@ module FattureInCloud_Ruby_Sdk
|
|
478
478
|
# header parameters
|
479
479
|
header_params = opts[:header_params] || {}
|
480
480
|
# HTTP header 'Accept' (if needed)
|
481
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
481
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
482
482
|
|
483
483
|
# form parameters
|
484
484
|
form_params = opts[:form_params] || {}
|
@@ -557,7 +557,7 @@ module FattureInCloud_Ruby_Sdk
|
|
557
557
|
# header parameters
|
558
558
|
header_params = opts[:header_params] || {}
|
559
559
|
# HTTP header 'Accept' (if needed)
|
560
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
560
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
561
561
|
|
562
562
|
# form parameters
|
563
563
|
form_params = opts[:form_params] || {}
|
@@ -588,6 +588,69 @@ module FattureInCloud_Ruby_Sdk
|
|
588
588
|
return data, status_code, headers
|
589
589
|
end
|
590
590
|
|
591
|
+
# Get Tax Profile
|
592
|
+
# Gets the Tax Profile
|
593
|
+
# @param company_id [Integer] The ID of the company.
|
594
|
+
# @param [Hash] opts the optional parameters
|
595
|
+
# @return [GetTaxProfileResponse]
|
596
|
+
def get_tax_profile(company_id, opts = {})
|
597
|
+
data, _status_code, _headers = get_tax_profile_with_http_info(company_id, opts)
|
598
|
+
data
|
599
|
+
end
|
600
|
+
|
601
|
+
# Get Tax Profile
|
602
|
+
# Gets the Tax Profile
|
603
|
+
# @param company_id [Integer] The ID of the company.
|
604
|
+
# @param [Hash] opts the optional parameters
|
605
|
+
# @return [Array<(GetTaxProfileResponse, Integer, Hash)>] GetTaxProfileResponse data, response status code and response headers
|
606
|
+
def get_tax_profile_with_http_info(company_id, opts = {})
|
607
|
+
if @api_client.config.debugging
|
608
|
+
@api_client.config.logger.debug 'Calling API: SettingsApi.get_tax_profile ...'
|
609
|
+
end
|
610
|
+
# verify the required parameter 'company_id' is set
|
611
|
+
if @api_client.config.client_side_validation && company_id.nil?
|
612
|
+
fail ArgumentError, "Missing the required parameter 'company_id' when calling SettingsApi.get_tax_profile"
|
613
|
+
end
|
614
|
+
# resource path
|
615
|
+
local_var_path = '/c/{company_id}/settings/tax_profile'.sub('{' + 'company_id' + '}', CGI.escape(company_id.to_s))
|
616
|
+
|
617
|
+
# query parameters
|
618
|
+
query_params = opts[:query_params] || {}
|
619
|
+
|
620
|
+
# header parameters
|
621
|
+
header_params = opts[:header_params] || {}
|
622
|
+
# HTTP header 'Accept' (if needed)
|
623
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
624
|
+
|
625
|
+
# form parameters
|
626
|
+
form_params = opts[:form_params] || {}
|
627
|
+
|
628
|
+
# http body (model)
|
629
|
+
post_body = opts[:debug_body]
|
630
|
+
|
631
|
+
# return_type
|
632
|
+
return_type = opts[:debug_return_type] || 'GetTaxProfileResponse'
|
633
|
+
|
634
|
+
# auth_names
|
635
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2AuthenticationCodeFlow']
|
636
|
+
|
637
|
+
new_options = opts.merge(
|
638
|
+
:operation => :"SettingsApi.get_tax_profile",
|
639
|
+
:header_params => header_params,
|
640
|
+
:query_params => query_params,
|
641
|
+
:form_params => form_params,
|
642
|
+
:body => post_body,
|
643
|
+
:auth_names => auth_names,
|
644
|
+
:return_type => return_type
|
645
|
+
)
|
646
|
+
|
647
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
648
|
+
if @api_client.config.debugging
|
649
|
+
@api_client.config.logger.debug "API called: SettingsApi#get_tax_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
650
|
+
end
|
651
|
+
return data, status_code, headers
|
652
|
+
end
|
653
|
+
|
591
654
|
# Get Vat Type
|
592
655
|
# Gets the specified vat type.
|
593
656
|
# @param company_id [Integer] The ID of the company.
|
@@ -626,7 +689,7 @@ module FattureInCloud_Ruby_Sdk
|
|
626
689
|
# header parameters
|
627
690
|
header_params = opts[:header_params] || {}
|
628
691
|
# HTTP header 'Accept' (if needed)
|
629
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
692
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
630
693
|
|
631
694
|
# form parameters
|
632
695
|
form_params = opts[:form_params] || {}
|
@@ -697,7 +760,7 @@ module FattureInCloud_Ruby_Sdk
|
|
697
760
|
# header parameters
|
698
761
|
header_params = opts[:header_params] || {}
|
699
762
|
# HTTP header 'Accept' (if needed)
|
700
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
763
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
701
764
|
# HTTP header 'Content-Type'
|
702
765
|
content_type = @api_client.select_header_content_type(['application/json'])
|
703
766
|
if !content_type.nil?
|
@@ -773,7 +836,7 @@ module FattureInCloud_Ruby_Sdk
|
|
773
836
|
# header parameters
|
774
837
|
header_params = opts[:header_params] || {}
|
775
838
|
# HTTP header 'Accept' (if needed)
|
776
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
839
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
777
840
|
# HTTP header 'Content-Type'
|
778
841
|
content_type = @api_client.select_header_content_type(['application/json'])
|
779
842
|
if !content_type.nil?
|
@@ -849,7 +912,7 @@ module FattureInCloud_Ruby_Sdk
|
|
849
912
|
# header parameters
|
850
913
|
header_params = opts[:header_params] || {}
|
851
914
|
# HTTP header 'Accept' (if needed)
|
852
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
915
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
853
916
|
# HTTP header 'Content-Type'
|
854
917
|
content_type = @api_client.select_header_content_type(['application/json'])
|
855
918
|
if !content_type.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.1.
|
6
|
+
The version of the OpenAPI document: 2.1.3
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.9.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -53,7 +53,7 @@ module FattureInCloud_Ruby_Sdk
|
|
53
53
|
# header parameters
|
54
54
|
header_params = opts[:header_params] || {}
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
57
|
# HTTP header 'Content-Type'
|
58
58
|
content_type = @api_client.select_header_content_type(['application/json'])
|
59
59
|
if !content_type.nil?
|
@@ -204,7 +204,7 @@ module FattureInCloud_Ruby_Sdk
|
|
204
204
|
# header parameters
|
205
205
|
header_params = opts[:header_params] || {}
|
206
206
|
# HTTP header 'Accept' (if needed)
|
207
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
208
208
|
|
209
209
|
# form parameters
|
210
210
|
form_params = opts[:form_params] || {}
|
@@ -297,7 +297,7 @@ module FattureInCloud_Ruby_Sdk
|
|
297
297
|
# header parameters
|
298
298
|
header_params = opts[:header_params] || {}
|
299
299
|
# HTTP header 'Accept' (if needed)
|
300
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
300
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
301
301
|
|
302
302
|
# form parameters
|
303
303
|
form_params = opts[:form_params] || {}
|
@@ -368,7 +368,7 @@ module FattureInCloud_Ruby_Sdk
|
|
368
368
|
# header parameters
|
369
369
|
header_params = opts[:header_params] || {}
|
370
370
|
# HTTP header 'Accept' (if needed)
|
371
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
371
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
372
372
|
# HTTP header 'Content-Type'
|
373
373
|
content_type = @api_client.select_header_content_type(['application/json'])
|
374
374
|
if !content_type.nil?
|