fattureincloud_ruby_sdk 2.0.16 → 2.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +15 -10
- data/docs/ArchiveApi.md +4 -4
- data/docs/ArchiveDocument.md +6 -6
- data/docs/CashbookEntry.md +6 -6
- data/docs/CashbookEntryDocument.md +3 -3
- data/docs/City.md +3 -3
- data/docs/Client.md +30 -29
- data/docs/Company.md +6 -6
- data/docs/CompanyInfo.md +5 -5
- data/docs/CompanyInfoAccessInfo.md +1 -1
- data/docs/CompanyInfoPlanInfoLimits.md +4 -4
- data/docs/ControlledCompany.md +5 -5
- data/docs/Currency.md +4 -4
- data/docs/DetailedCountry.md +5 -5
- data/docs/DocumentTemplate.md +3 -3
- data/docs/EInvoiceRejectionReason.md +4 -4
- data/docs/Email.md +14 -14
- data/docs/EmailAttachment.md +2 -2
- data/docs/EmailData.md +7 -7
- data/docs/EmailDataDefaultSenderEmail.md +2 -2
- data/docs/EmailSchedule.md +5 -5
- data/docs/EmailScheduleInclude.md +4 -4
- data/docs/EmailsApi.md +4 -4
- data/docs/Entity.md +29 -29
- data/docs/F24.md +6 -6
- data/docs/InfoApi.md +2 -2
- data/docs/IssuedDocument.md +68 -67
- data/docs/IssuedDocumentEiData.md +10 -10
- data/docs/IssuedDocumentExtraData.md +9 -10
- data/docs/IssuedDocumentItemsListItem.md +17 -17
- data/docs/IssuedDocumentOptions.md +1 -1
- data/docs/IssuedDocumentPaymentsListItem.md +5 -5
- data/docs/IssuedDocumentPaymentsListItemPaymentTerms.md +1 -1
- data/docs/IssuedDocumentPreCreateInfo.md +9 -9
- data/docs/IssuedDocumentTotals.md +16 -16
- data/docs/IssuedDocumentsApi.md +16 -16
- data/docs/IssuedEInvoicesApi.md +16 -16
- data/docs/Language.md +2 -2
- data/docs/MonthlyTotal.md +3 -3
- data/docs/PaymentAccount.md +6 -6
- data/docs/PaymentMethod.md +7 -7
- data/docs/PaymentMethodDetails.md +2 -2
- data/docs/Product.md +18 -18
- data/docs/Receipt.md +12 -12
- data/docs/ReceiptItemsListItem.md +4 -4
- data/docs/ReceiptPreCreateInfo.md +5 -5
- data/docs/ReceivedDocument.md +25 -24
- data/docs/ReceivedDocumentInfo.md +5 -5
- data/docs/ReceivedDocumentInfoItemsDefaultValues.md +1 -1
- data/docs/ReceivedDocumentItemsListItem.md +9 -9
- data/docs/ReceivedDocumentPaymentsListItem.md +4 -4
- data/docs/ReceivedDocumentPaymentsListItemPaymentTerms.md +2 -2
- data/docs/ReceivedDocumentTotals.md +7 -7
- data/docs/ReceivedDocumentsApi.md +4 -4
- data/docs/SenderEmail.md +2 -2
- data/docs/Supplier.md +23 -22
- data/docs/TaxesApi.md +4 -4
- data/docs/User.md +7 -7
- data/docs/VatItem.md +2 -2
- data/docs/VatType.md +9 -9
- data/docs/WebhooksSubscription.md +2 -1
- data/docs/WebhooksSubscriptionConfig.md +8 -0
- data/docs/WebhooksSubscriptionMapping.md +7 -0
- data/fattureincloud_ruby_sdk.gemspec +2 -2
- data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/emails_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/info_api.rb +4 -4
- data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +12 -12
- data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +10 -10
- data/lib/fattureincloud_ruby_sdk/api/products_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +6 -6
- data/lib/fattureincloud_ruby_sdk/api/user_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/api_client.rb +3 -3
- data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/configuration.rb +11 -9
- data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +20 -25
- data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +20 -25
- data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +17 -22
- 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 +17 -22
- data/lib/fattureincloud_ruby_sdk/models/client.rb +55 -46
- data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/company.rb +20 -26
- data/lib/fattureincloud_ruby_sdk/models/company_info.rb +19 -25
- data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +15 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +15 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +19 -20
- data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +19 -25
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/currency.rb +18 -24
- data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +19 -22
- data/lib/fattureincloud_ruby_sdk/models/document_template.rb +17 -22
- data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +18 -23
- data/lib/fattureincloud_ruby_sdk/models/email.rb +28 -32
- data/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +16 -21
- data/lib/fattureincloud_ruby_sdk/models/email_data.rb +21 -27
- data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +17 -22
- data/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +19 -24
- data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +18 -23
- data/lib/fattureincloud_ruby_sdk/models/email_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/entity.rb +54 -57
- data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/event_type.rb +6 -5
- data/lib/fattureincloud_ruby_sdk/models/f24.rb +20 -25
- data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/function_status.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +93 -85
- data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +25 -30
- data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +29 -36
- data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +31 -32
- data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +19 -24
- data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +23 -28
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +15 -19
- data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +30 -34
- data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/language.rb +16 -21
- data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +17 -23
- data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/pagination.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +20 -26
- data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +21 -26
- data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +16 -21
- data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/permissions.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/product.rb +32 -35
- data/lib/fattureincloud_ruby_sdk/models/receipt.rb +26 -29
- data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +18 -23
- data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +19 -25
- data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/received_document.rb +50 -40
- data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +19 -20
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +15 -20
- data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +16 -21
- data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +23 -28
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +18 -23
- data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +40 -22
- data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +21 -27
- data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +16 -21
- data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/supplier.rb +48 -40
- data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/user.rb +21 -26
- data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +16 -19
- data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +2 -2
- data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +23 -29
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +14 -19
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb +29 -25
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb +236 -0
- data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb +40 -0
- data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
- data/lib/fattureincloud_ruby_sdk.rb +4 -2
- data/sdk-version.yaml +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/issued_document_extra_data_spec.rb +0 -7
- data/spec/models/webhooks_subscription_config_spec.rb +35 -0
- data/spec/models/webhooks_subscription_mapping_spec.rb +28 -0
- data/spec/models/webhooks_subscription_spec.rb +9 -0
- data/spec/spec_helper.rb +2 -2
- metadata +225 -217
data/docs/VatType.md
CHANGED
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id** | **Integer** |
|
8
|
-
| **value** | **Float** | [Read Only]
|
9
|
-
| **description** | **String** |
|
10
|
-
| **notes** | **String** |
|
11
|
-
| **e_invoice** | **Boolean** |
|
12
|
-
| **ei_type** | **String** |
|
13
|
-
| **ei_description** | **String** |
|
14
|
-
| **editable** | **Boolean** | [Read Only]
|
15
|
-
| **is_disabled** | **Boolean** |
|
7
|
+
| **id** | **Integer** | Vat type id | [optional] |
|
8
|
+
| **value** | **Float** | [Read Only] Vat type percentual value | [optional] |
|
9
|
+
| **description** | **String** | Vat type short description | [optional] |
|
10
|
+
| **notes** | **String** | Vat type notes shown in documents | [optional] |
|
11
|
+
| **e_invoice** | **Boolean** | Vat type is usable for e-invoices | [optional] |
|
12
|
+
| **ei_type** | **String** | Vat type e-invoice type (natura) | [optional] |
|
13
|
+
| **ei_description** | **String** | Vat type e-invoice description | [optional] |
|
14
|
+
| **editable** | **Boolean** | [Read Only] Is the vat type is editable. | [optional][readonly] |
|
15
|
+
| **is_disabled** | **Boolean** | Is the vat type disabled | [optional] |
|
16
16
|
|
@@ -4,8 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id** | **String** |
|
7
|
+
| **id** | **String** | Webhooks subscription id | [optional] |
|
8
8
|
| **sink** | **String** | Webhooks callback uri. | [optional] |
|
9
9
|
| **verified** | **Boolean** | [Read Only] True if the webhooks subscription has been verified. | [optional] |
|
10
10
|
| **types** | [**Array<EventType>**](EventType.md) | Webhooks events types. | [optional] |
|
11
|
+
| **config** | [**WebhooksSubscriptionConfig**](WebhooksSubscriptionConfig.md) | | [optional] |
|
11
12
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
#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.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.0.
|
8
|
+
The version of the OpenAPI document: 2.0.30
|
9
9
|
Contact: info@fattureincloud.it
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
OpenAPI Generator version:
|
11
|
+
OpenAPI Generator version: 7.0.1
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -408,8 +408,8 @@ module FattureInCloud_Ruby_Sdk
|
|
408
408
|
# Uploads an attachment destined to an archive document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
409
409
|
# @param company_id [Integer] The ID of the company.
|
410
410
|
# @param [Hash] opts the optional parameters
|
411
|
-
# @option opts [String] :filename
|
412
|
-
# @option opts [File] :attachment
|
411
|
+
# @option opts [String] :filename Attachment file name
|
412
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
413
413
|
# @return [UploadArchiveAttachmentResponse]
|
414
414
|
def upload_archive_document_attachment(company_id, opts = {})
|
415
415
|
data, _status_code, _headers = upload_archive_document_attachment_with_http_info(company_id, opts)
|
@@ -420,8 +420,8 @@ module FattureInCloud_Ruby_Sdk
|
|
420
420
|
# Uploads an attachment destined to an archive document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
421
421
|
# @param company_id [Integer] The ID of the company.
|
422
422
|
# @param [Hash] opts the optional parameters
|
423
|
-
# @option opts [String] :filename
|
424
|
-
# @option opts [File] :attachment
|
423
|
+
# @option opts [String] :filename Attachment file name
|
424
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
425
425
|
# @return [Array<(UploadArchiveAttachmentResponse, Integer, Hash)>] UploadArchiveAttachmentResponse data, response status code and response headers
|
426
426
|
def upload_archive_document_attachment_with_http_info(company_id, opts = {})
|
427
427
|
if @api_client.config.debugging
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,7 @@ module FattureInCloud_Ruby_Sdk
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# List
|
22
|
+
# List Emails
|
23
23
|
# List Emails.
|
24
24
|
# @param company_id [Integer] The ID of the company.
|
25
25
|
# @param [Hash] opts the optional parameters
|
@@ -29,7 +29,7 @@ module FattureInCloud_Ruby_Sdk
|
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
|
-
# List
|
32
|
+
# List Emails
|
33
33
|
# List Emails.
|
34
34
|
# @param company_id [Integer] The ID of the company.
|
35
35
|
# @param [Hash] opts the optional parameters
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -648,7 +648,7 @@ module FattureInCloud_Ruby_Sdk
|
|
648
648
|
# List Product Categories
|
649
649
|
# Lists the product categories.
|
650
650
|
# @param company_id [Integer] The ID of the company.
|
651
|
-
# @param context [String]
|
651
|
+
# @param context [String] Categories resource type.
|
652
652
|
# @param [Hash] opts the optional parameters
|
653
653
|
# @return [ListProductCategoriesResponse]
|
654
654
|
def list_product_categories(company_id, context, opts = {})
|
@@ -659,7 +659,7 @@ module FattureInCloud_Ruby_Sdk
|
|
659
659
|
# List Product Categories
|
660
660
|
# Lists the product categories.
|
661
661
|
# @param company_id [Integer] The ID of the company.
|
662
|
-
# @param context [String]
|
662
|
+
# @param context [String] Categories resource type.
|
663
663
|
# @param [Hash] opts the optional parameters
|
664
664
|
# @return [Array<(ListProductCategoriesResponse, Integer, Hash)>] ListProductCategoriesResponse data, response status code and response headers
|
665
665
|
def list_product_categories_with_http_info(company_id, context, opts = {})
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -447,7 +447,7 @@ module FattureInCloud_Ruby_Sdk
|
|
447
447
|
return data, status_code, headers
|
448
448
|
end
|
449
449
|
|
450
|
-
# Get Issued Document Pre-
|
450
|
+
# Get Issued Document Pre-Create Info
|
451
451
|
# Retrieves the information useful while creating a new document.
|
452
452
|
# @param company_id [Integer] The ID of the company.
|
453
453
|
# @param type [String] The type of the issued document.
|
@@ -458,7 +458,7 @@ module FattureInCloud_Ruby_Sdk
|
|
458
458
|
data
|
459
459
|
end
|
460
460
|
|
461
|
-
# Get Issued Document Pre-
|
461
|
+
# Get Issued Document Pre-Create Info
|
462
462
|
# Retrieves the information useful while creating a new document.
|
463
463
|
# @param company_id [Integer] The ID of the company.
|
464
464
|
# @param type [String] The type of the issued document.
|
@@ -592,7 +592,7 @@ module FattureInCloud_Ruby_Sdk
|
|
592
592
|
return data, status_code, headers
|
593
593
|
end
|
594
594
|
|
595
|
-
# Join
|
595
|
+
# Join Issued Documents
|
596
596
|
# Joins issued documents.
|
597
597
|
# @param company_id [Integer] The ID of the company.
|
598
598
|
# @param ids [String] Ids of the documents.
|
@@ -605,7 +605,7 @@ module FattureInCloud_Ruby_Sdk
|
|
605
605
|
data
|
606
606
|
end
|
607
607
|
|
608
|
-
# Join
|
608
|
+
# Join Issued Documents
|
609
609
|
# Joins issued documents.
|
610
610
|
# @param company_id [Integer] The ID of the company.
|
611
611
|
# @param ids [String] Ids of the documents.
|
@@ -938,7 +938,7 @@ module FattureInCloud_Ruby_Sdk
|
|
938
938
|
return data, status_code, headers
|
939
939
|
end
|
940
940
|
|
941
|
-
# Transform
|
941
|
+
# Transform Issued Document
|
942
942
|
# Transforms the document.
|
943
943
|
# @param company_id [Integer] The ID of the company.
|
944
944
|
# @param original_document_id [Integer] Original document id.
|
@@ -952,7 +952,7 @@ module FattureInCloud_Ruby_Sdk
|
|
952
952
|
data
|
953
953
|
end
|
954
954
|
|
955
|
-
# Transform
|
955
|
+
# Transform Issued Document
|
956
956
|
# Transforms the document.
|
957
957
|
# @param company_id [Integer] The ID of the company.
|
958
958
|
# @param original_document_id [Integer] Original document id.
|
@@ -1033,8 +1033,8 @@ module FattureInCloud_Ruby_Sdk
|
|
1033
1033
|
# Uploads an attachment destined to an issued document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
1034
1034
|
# @param company_id [Integer] The ID of the company.
|
1035
1035
|
# @param [Hash] opts the optional parameters
|
1036
|
-
# @option opts [String] :filename
|
1037
|
-
# @option opts [File] :attachment
|
1036
|
+
# @option opts [String] :filename Attachment file name
|
1037
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
1038
1038
|
# @return [UploadIssuedDocumentAttachmentResponse]
|
1039
1039
|
def upload_issued_document_attachment(company_id, opts = {})
|
1040
1040
|
data, _status_code, _headers = upload_issued_document_attachment_with_http_info(company_id, opts)
|
@@ -1045,8 +1045,8 @@ module FattureInCloud_Ruby_Sdk
|
|
1045
1045
|
# Uploads an attachment destined to an issued document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
1046
1046
|
# @param company_id [Integer] The ID of the company.
|
1047
1047
|
# @param [Hash] opts the optional parameters
|
1048
|
-
# @option opts [String] :filename
|
1049
|
-
# @option opts [File] :attachment
|
1048
|
+
# @option opts [String] :filename Attachment file name
|
1049
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
1050
1050
|
# @return [Array<(UploadIssuedDocumentAttachmentResponse, Integer, Hash)>] UploadIssuedDocumentAttachmentResponse data, response status code and response headers
|
1051
1051
|
def upload_issued_document_attachment_with_http_info(company_id, opts = {})
|
1052
1052
|
if @api_client.config.debugging
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,7 @@ module FattureInCloud_Ruby_Sdk
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Get
|
22
|
+
# Get E-Invoice Rejection Reason
|
23
23
|
# Get e-invoice rejection reason
|
24
24
|
# @param company_id [Integer] The ID of the company.
|
25
25
|
# @param document_id [Integer] The ID of the document.
|
@@ -30,7 +30,7 @@ module FattureInCloud_Ruby_Sdk
|
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
|
-
# Get
|
33
|
+
# Get E-Invoice Rejection Reason
|
34
34
|
# Get e-invoice rejection reason
|
35
35
|
# @param company_id [Integer] The ID of the company.
|
36
36
|
# @param document_id [Integer] The ID of the document.
|
@@ -88,7 +88,7 @@ module FattureInCloud_Ruby_Sdk
|
|
88
88
|
return data, status_code, headers
|
89
89
|
end
|
90
90
|
|
91
|
-
# Get
|
91
|
+
# Get E-Invoice XML
|
92
92
|
# Downloads the e-invoice in XML format.
|
93
93
|
# @param company_id [Integer] The ID of the company.
|
94
94
|
# @param document_id [Integer] The ID of the document.
|
@@ -100,7 +100,7 @@ module FattureInCloud_Ruby_Sdk
|
|
100
100
|
data
|
101
101
|
end
|
102
102
|
|
103
|
-
# Get
|
103
|
+
# Get E-Invoice XML
|
104
104
|
# Downloads the e-invoice in XML format.
|
105
105
|
# @param company_id [Integer] The ID of the company.
|
106
106
|
# @param document_id [Integer] The ID of the document.
|
@@ -160,7 +160,7 @@ module FattureInCloud_Ruby_Sdk
|
|
160
160
|
return data, status_code, headers
|
161
161
|
end
|
162
162
|
|
163
|
-
# Send
|
163
|
+
# Send E-Invoice
|
164
164
|
# Sends the e-invoice to SDI.
|
165
165
|
# @param company_id [Integer] The ID of the company.
|
166
166
|
# @param document_id [Integer] The ID of the document.
|
@@ -172,7 +172,7 @@ module FattureInCloud_Ruby_Sdk
|
|
172
172
|
data
|
173
173
|
end
|
174
174
|
|
175
|
-
# Send
|
175
|
+
# Send E-Invoice
|
176
176
|
# Sends the e-invoice to SDI.
|
177
177
|
# @param company_id [Integer] The ID of the company.
|
178
178
|
# @param document_id [Integer] The ID of the document.
|
@@ -236,7 +236,7 @@ module FattureInCloud_Ruby_Sdk
|
|
236
236
|
return data, status_code, headers
|
237
237
|
end
|
238
238
|
|
239
|
-
# Verify
|
239
|
+
# Verify E-Invoice XML
|
240
240
|
# Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.
|
241
241
|
# @param company_id [Integer] The ID of the company.
|
242
242
|
# @param document_id [Integer] The ID of the document.
|
@@ -247,7 +247,7 @@ module FattureInCloud_Ruby_Sdk
|
|
247
247
|
data
|
248
248
|
end
|
249
249
|
|
250
|
-
# Verify
|
250
|
+
# Verify E-Invoice XML
|
251
251
|
# Verifies the e-invoice XML format. Checks if all of the mandatory fields are filled and compliant to the right format.
|
252
252
|
# @param company_id [Integer] The ID of the company.
|
253
253
|
# @param document_id [Integer] The ID of the document.
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -708,8 +708,8 @@ module FattureInCloud_Ruby_Sdk
|
|
708
708
|
# Uploads an attachment destined to a received document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
709
709
|
# @param company_id [Integer] The ID of the company.
|
710
710
|
# @param [Hash] opts the optional parameters
|
711
|
-
# @option opts [String] :filename
|
712
|
-
# @option opts [File] :attachment
|
711
|
+
# @option opts [String] :filename Attachment file name
|
712
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
713
713
|
# @return [UploadReceivedDocumentAttachmentResponse]
|
714
714
|
def upload_received_document_attachment(company_id, opts = {})
|
715
715
|
data, _status_code, _headers = upload_received_document_attachment_with_http_info(company_id, opts)
|
@@ -720,8 +720,8 @@ module FattureInCloud_Ruby_Sdk
|
|
720
720
|
# Uploads an attachment destined to a received document. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
721
721
|
# @param company_id [Integer] The ID of the company.
|
722
722
|
# @param [Hash] opts the optional parameters
|
723
|
-
# @option opts [String] :filename
|
724
|
-
# @option opts [File] :attachment
|
723
|
+
# @option opts [String] :filename Attachment file name
|
724
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
725
725
|
# @return [Array<(UploadReceivedDocumentAttachmentResponse, Integer, Hash)>] UploadReceivedDocumentAttachmentResponse data, response status code and response headers
|
726
726
|
def upload_received_document_attachment_with_http_info(company_id, opts = {})
|
727
727
|
if @api_client.config.debugging
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -475,8 +475,8 @@ module FattureInCloud_Ruby_Sdk
|
|
475
475
|
# Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
476
476
|
# @param company_id [Integer] The ID of the company.
|
477
477
|
# @param [Hash] opts the optional parameters
|
478
|
-
# @option opts [String] :filename
|
479
|
-
# @option opts [File] :attachment
|
478
|
+
# @option opts [String] :filename Attachment file name
|
479
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
480
480
|
# @return [UploadF24AttachmentResponse]
|
481
481
|
def upload_f24_attachment(company_id, opts = {})
|
482
482
|
data, _status_code, _headers = upload_f24_attachment_with_http_info(company_id, opts)
|
@@ -487,8 +487,8 @@ module FattureInCloud_Ruby_Sdk
|
|
487
487
|
# Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token.
|
488
488
|
# @param company_id [Integer] The ID of the company.
|
489
489
|
# @param [Hash] opts the optional parameters
|
490
|
-
# @option opts [String] :filename
|
491
|
-
# @option opts [File] :attachment
|
490
|
+
# @option opts [String] :filename Attachment file name
|
491
|
+
# @option opts [File] :attachment Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx]
|
492
492
|
# @return [Array<(UploadF24AttachmentResponse, Integer, Hash)>] UploadF24AttachmentResponse data, response status code and response headers
|
493
493
|
def upload_f24_attachment_with_http_info(company_id, opts = {})
|
494
494
|
if @api_client.config.debugging
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,7 +31,7 @@ module FattureInCloud_Ruby_Sdk
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "FattureInCloud/2.0.
|
34
|
+
@user_agent = "FattureInCloud/2.0.18/Ruby-SDK"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 500.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.30
|
7
7
|
Contact: info@fattureincloud.it
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 7.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -152,7 +152,7 @@ module FattureInCloud_Ruby_Sdk
|
|
152
152
|
@scheme = 'https'
|
153
153
|
@host = 'api-v2.fattureincloud.it'
|
154
154
|
@base_path = ''
|
155
|
-
@server_index =
|
155
|
+
@server_index = nil
|
156
156
|
@server_operation_index = {}
|
157
157
|
@server_variables = {}
|
158
158
|
@server_operation_variables = {}
|
@@ -200,10 +200,12 @@ module FattureInCloud_Ruby_Sdk
|
|
200
200
|
|
201
201
|
# Returns base URL for specified operation based on server settings
|
202
202
|
def base_url(operation = nil)
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
203
|
+
if operation_server_settings.key?(operation) then
|
204
|
+
index = server_operation_index.fetch(operation, server_index)
|
205
|
+
server_url(index.nil? ? 0 : index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
|
206
|
+
else
|
207
|
+
server_index.nil? ? "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') : server_url(server_index, server_variables, nil)
|
208
|
+
end
|
207
209
|
end
|
208
210
|
|
209
211
|
# Gets API key (with prefix if set).
|
@@ -265,8 +267,8 @@ module FattureInCloud_Ruby_Sdk
|
|
265
267
|
servers = server_settings if servers == nil
|
266
268
|
|
267
269
|
# check array index out of bound
|
268
|
-
if (index < 0 || index >= servers.size)
|
269
|
-
fail ArgumentError, "Invalid index #{index} when selecting the server. Must be less than #{servers.size}"
|
270
|
+
if (index.nil? || index < 0 || index >= servers.size)
|
271
|
+
fail ArgumentError, "Invalid index #{index} when selecting the server. Must not be nil and must be less than #{servers.size}"
|
270
272
|
end
|
271
273
|
|
272
274
|
server = servers[index]
|