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.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -0
  3. data/README.md +5 -2
  4. data/docs/Email.md +1 -1
  5. data/docs/GetTaxProfileResponse.md +8 -0
  6. data/docs/IssuedDocument.md +1 -1
  7. data/docs/IssuedDocumentsApi.md +4 -2
  8. data/docs/SettingsApi.md +70 -0
  9. data/docs/TaxProfile.md +28 -0
  10. data/docs/VatType.md +1 -0
  11. data/fattureincloud_ruby_sdk.gemspec +2 -2
  12. data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +7 -7
  13. data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +6 -6
  14. data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +6 -6
  15. data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +4 -4
  16. data/lib/fattureincloud_ruby_sdk/api/emails_api.rb +3 -3
  17. data/lib/fattureincloud_ruby_sdk/api/info_api.rb +18 -18
  18. data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +22 -19
  19. data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +6 -6
  20. data/lib/fattureincloud_ruby_sdk/api/products_api.rb +6 -6
  21. data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +8 -8
  22. data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +12 -12
  23. data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +74 -11
  24. data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +6 -6
  25. data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +7 -7
  26. data/lib/fattureincloud_ruby_sdk/api/user_api.rb +4 -4
  27. data/lib/fattureincloud_ruby_sdk/api/webhooks_api.rb +6 -6
  28. data/lib/fattureincloud_ruby_sdk/api_client.rb +3 -3
  29. data/lib/fattureincloud_ruby_sdk/api_error.rb +2 -2
  30. data/lib/fattureincloud_ruby_sdk/configuration.rb +12 -2
  31. data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +2 -2
  32. data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +2 -2
  33. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +2 -2
  34. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +2 -2
  35. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +2 -2
  36. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +2 -2
  37. data/lib/fattureincloud_ruby_sdk/models/city.rb +2 -2
  38. data/lib/fattureincloud_ruby_sdk/models/client.rb +2 -2
  39. data/lib/fattureincloud_ruby_sdk/models/client_type.rb +2 -2
  40. data/lib/fattureincloud_ruby_sdk/models/company.rb +2 -2
  41. data/lib/fattureincloud_ruby_sdk/models/company_info.rb +2 -2
  42. data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +2 -2
  43. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +2 -2
  44. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +2 -2
  45. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +2 -2
  46. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +2 -2
  47. data/lib/fattureincloud_ruby_sdk/models/company_plan_usage.rb +2 -2
  48. data/lib/fattureincloud_ruby_sdk/models/company_type.rb +2 -2
  49. data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +2 -2
  50. data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +2 -2
  51. data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +2 -2
  52. data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +2 -2
  53. data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +2 -2
  54. data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +2 -2
  55. data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +2 -2
  56. data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +2 -2
  57. data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +2 -2
  58. data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +2 -2
  59. data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +2 -2
  60. data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +2 -2
  61. data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +2 -2
  62. data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +2 -2
  63. data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +2 -2
  64. data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +2 -2
  65. data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +2 -2
  66. data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +2 -2
  67. data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +2 -2
  68. data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +2 -2
  69. data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +2 -2
  70. data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +2 -2
  71. data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +2 -2
  72. data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +2 -2
  73. data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +2 -2
  74. data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_request.rb +2 -2
  75. data/lib/fattureincloud_ruby_sdk/models/create_webhooks_subscription_response.rb +2 -2
  76. data/lib/fattureincloud_ruby_sdk/models/currency.rb +2 -2
  77. data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +2 -2
  78. data/lib/fattureincloud_ruby_sdk/models/document_template.rb +2 -2
  79. data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +2 -2
  80. data/lib/fattureincloud_ruby_sdk/models/email.rb +3 -3
  81. data/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +2 -2
  82. data/lib/fattureincloud_ruby_sdk/models/email_data.rb +2 -2
  83. data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +2 -2
  84. data/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +2 -2
  85. data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +2 -2
  86. data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +2 -2
  87. data/lib/fattureincloud_ruby_sdk/models/email_status.rb +2 -2
  88. data/lib/fattureincloud_ruby_sdk/models/entity.rb +2 -2
  89. data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +2 -2
  90. data/lib/fattureincloud_ruby_sdk/models/event_type.rb +14 -3
  91. data/lib/fattureincloud_ruby_sdk/models/f24.rb +2 -2
  92. data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +2 -2
  93. data/lib/fattureincloud_ruby_sdk/models/fatture_in_cloud_plan_type.rb +2 -2
  94. data/lib/fattureincloud_ruby_sdk/models/function_status.rb +2 -2
  95. data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +2 -2
  96. data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +2 -2
  97. data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +2 -2
  98. data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +2 -2
  99. data/lib/fattureincloud_ruby_sdk/models/get_company_plan_usage_response.rb +2 -2
  100. data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +2 -2
  101. data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +2 -2
  102. data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +2 -2
  103. data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +2 -2
  104. data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +2 -2
  105. data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +2 -2
  106. data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +2 -2
  107. data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +2 -2
  108. data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +2 -2
  109. data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +2 -2
  110. data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +2 -2
  111. data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +2 -2
  112. data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +2 -2
  113. data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +2 -2
  114. data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +2 -2
  115. data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +2 -2
  116. data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +2 -2
  117. data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +2 -2
  118. data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +2 -2
  119. data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +2 -2
  120. data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +2 -2
  121. data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +2 -2
  122. data/lib/fattureincloud_ruby_sdk/models/get_tax_profile_response.rb +214 -0
  123. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +2 -2
  124. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +2 -2
  125. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +2 -2
  126. data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +2 -2
  127. data/lib/fattureincloud_ruby_sdk/models/get_webhooks_subscription_response.rb +2 -2
  128. data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +3 -3
  129. data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +2 -2
  130. data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +2 -2
  131. data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +2 -2
  132. data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +2 -2
  133. data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +2 -2
  134. data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +2 -2
  135. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +2 -2
  136. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +2 -2
  137. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +2 -2
  138. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +2 -2
  139. data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +2 -2
  140. data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +2 -2
  141. data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +2 -2
  142. data/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +2 -2
  143. data/lib/fattureincloud_ruby_sdk/models/language.rb +2 -2
  144. data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +2 -2
  145. data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +2 -2
  146. data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +2 -2
  147. data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +2 -2
  148. data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +2 -2
  149. data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +2 -2
  150. data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +2 -2
  151. data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +2 -2
  152. data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +2 -2
  153. data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +2 -2
  154. data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +2 -2
  155. data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +2 -2
  156. data/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +2 -2
  157. data/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +2 -2
  158. data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +2 -2
  159. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +2 -2
  160. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +2 -2
  161. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +2 -2
  162. data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +2 -2
  163. data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +2 -2
  164. data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +2 -2
  165. data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +2 -2
  166. data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +2 -2
  167. data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +2 -2
  168. data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +2 -2
  169. data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +2 -2
  170. data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +2 -2
  171. data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +2 -2
  172. data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +2 -2
  173. data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +2 -2
  174. data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +2 -2
  175. data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +2 -2
  176. data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +2 -2
  177. data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +2 -2
  178. data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +2 -2
  179. data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +2 -2
  180. data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +2 -2
  181. data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +2 -2
  182. data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +2 -2
  183. data/lib/fattureincloud_ruby_sdk/models/list_webhooks_subscriptions_response.rb +2 -2
  184. data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +2 -2
  185. data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +2 -2
  186. data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +2 -2
  187. data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +2 -2
  188. data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +2 -2
  189. data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +2 -2
  190. data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +2 -2
  191. data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +2 -2
  192. data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +2 -2
  193. data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +2 -2
  194. data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +2 -2
  195. data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +2 -2
  196. data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +2 -2
  197. data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +2 -2
  198. data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +2 -2
  199. data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +2 -2
  200. data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +2 -2
  201. data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +2 -2
  202. data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +2 -2
  203. data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +2 -2
  204. data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +2 -2
  205. data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +2 -2
  206. data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +2 -2
  207. data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +2 -2
  208. data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_request.rb +2 -2
  209. data/lib/fattureincloud_ruby_sdk/models/modify_webhooks_subscription_response.rb +2 -2
  210. data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +2 -2
  211. data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +2 -2
  212. data/lib/fattureincloud_ruby_sdk/models/pagination.rb +2 -2
  213. data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +2 -2
  214. data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +2 -2
  215. data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +2 -2
  216. data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +2 -2
  217. data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +2 -2
  218. data/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +2 -2
  219. data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +2 -2
  220. data/lib/fattureincloud_ruby_sdk/models/permissions.rb +2 -2
  221. data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +2 -2
  222. data/lib/fattureincloud_ruby_sdk/models/product.rb +2 -2
  223. data/lib/fattureincloud_ruby_sdk/models/receipt.rb +2 -2
  224. data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +2 -2
  225. data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +2 -2
  226. data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +2 -2
  227. data/lib/fattureincloud_ruby_sdk/models/received_document.rb +2 -2
  228. data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +2 -2
  229. data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +2 -2
  230. data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +2 -2
  231. data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +2 -2
  232. data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +2 -2
  233. data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +2 -2
  234. data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +2 -2
  235. data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +4 -3
  236. data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +2 -2
  237. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +2 -2
  238. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +2 -2
  239. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_options.rb +2 -2
  240. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +2 -2
  241. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +2 -2
  242. data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +2 -2
  243. data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +2 -2
  244. data/lib/fattureincloud_ruby_sdk/models/supplier.rb +2 -2
  245. data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +2 -2
  246. data/lib/fattureincloud_ruby_sdk/models/tax_profile.rb +435 -0
  247. data/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +2 -2
  248. data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +2 -2
  249. data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +2 -2
  250. data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +2 -2
  251. data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +2 -2
  252. data/lib/fattureincloud_ruby_sdk/models/user.rb +2 -2
  253. data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +2 -2
  254. data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +2 -2
  255. data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +3 -4
  256. data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +18 -7
  257. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +2 -2
  258. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +2 -2
  259. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +2 -2
  260. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +2 -2
  261. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +2 -2
  262. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +2 -2
  263. data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription.rb +2 -2
  264. data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_config.rb +2 -2
  265. data/lib/fattureincloud_ruby_sdk/models/webhooks_subscription_mapping.rb +2 -2
  266. data/lib/fattureincloud_ruby_sdk/oauth2/oauth2.rb +1 -1
  267. data/lib/fattureincloud_ruby_sdk/version.rb +3 -3
  268. data/lib/fattureincloud_ruby_sdk.rb +4 -2
  269. data/sdk-version.yaml +1 -1
  270. data/spec/models/get_tax_profile_response_spec.rb +36 -0
  271. data/spec/models/tax_profile_spec.rb +156 -0
  272. data/spec/spec_helper.rb +2 -2
  273. 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.0
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.6.0
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 [Integer] :e_invoice New document e_invoice.
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 [Integer] :e_invoice New document e_invoice.
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 = [0, 1]
633
- if @api_client.config.client_side_validation && opts[:'e_invoice'] && !allowable_values.include?(opts[:'e_invoice'])
634
- fail ArgumentError, "invalid value for \"e_invoice\", must be one of #{allowable_values}"
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[:'e_invoice'] = opts[:'e_invoice'] if !opts[:'e_invoice'].nil?
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.0
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.6.0
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.0
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.6.0
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.0
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.6.0
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.0
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.6.0
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.0
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.6.0
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.0
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.6.0
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?