fattureincloud_ruby_sdk 2.0.11 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +21 -3
  5. data/docs/ArchiveDocument.md +1 -1
  6. data/docs/Email.md +23 -0
  7. data/docs/EmailAttachment.md +9 -0
  8. data/docs/EmailRecipientStatus.md +7 -0
  9. data/docs/EmailStatus.md +7 -0
  10. data/docs/EmailsApi.md +77 -0
  11. data/docs/Entity.md +1 -0
  12. data/docs/F24.md +1 -1
  13. data/docs/IssuedDocument.md +6 -2
  14. data/docs/IssuedDocumentItemsListItem.md +1 -1
  15. data/docs/IssuedDocumentOptions.md +4 -0
  16. data/docs/IssuedDocumentsApi.md +158 -0
  17. data/docs/JoinIssuedDocumentsResponse.md +9 -0
  18. data/docs/ListEmailsResponse.md +19 -0
  19. data/docs/ListEmailsResponsePage.md +8 -0
  20. data/docs/ReceivedDocument.md +2 -2
  21. data/docs/TransformIssuedDocumentResponse.md +9 -0
  22. data/docs/VerifyEInvoiceXmlErrorResponseError.md +1 -1
  23. data/docs/VerifyEInvoiceXmlErrorResponseErrorValidationResult.md +8 -0
  24. data/fattureincloud_ruby_sdk.gemspec +3 -3
  25. data/lib/fattureincloud_ruby_sdk/api/archive_api.rb +3 -3
  26. data/lib/fattureincloud_ruby_sdk/api/cashbook_api.rb +3 -3
  27. data/lib/fattureincloud_ruby_sdk/api/clients_api.rb +3 -3
  28. data/lib/fattureincloud_ruby_sdk/api/companies_api.rb +3 -3
  29. data/lib/fattureincloud_ruby_sdk/api/emails_api.rb +85 -0
  30. data/lib/fattureincloud_ruby_sdk/api/info_api.rb +3 -3
  31. data/lib/fattureincloud_ruby_sdk/api/issued_documents_api.rb +178 -3
  32. data/lib/fattureincloud_ruby_sdk/api/issued_e_invoices_api.rb +3 -3
  33. data/lib/fattureincloud_ruby_sdk/api/products_api.rb +3 -3
  34. data/lib/fattureincloud_ruby_sdk/api/receipts_api.rb +3 -3
  35. data/lib/fattureincloud_ruby_sdk/api/received_documents_api.rb +3 -3
  36. data/lib/fattureincloud_ruby_sdk/api/settings_api.rb +3 -3
  37. data/lib/fattureincloud_ruby_sdk/api/suppliers_api.rb +3 -3
  38. data/lib/fattureincloud_ruby_sdk/api/taxes_api.rb +3 -3
  39. data/lib/fattureincloud_ruby_sdk/api/user_api.rb +3 -3
  40. data/lib/fattureincloud_ruby_sdk/api_client.rb +4 -4
  41. data/lib/fattureincloud_ruby_sdk/api_error.rb +3 -3
  42. data/lib/fattureincloud_ruby_sdk/configuration.rb +3 -3
  43. data/lib/fattureincloud_ruby_sdk/models/archive_document.rb +4 -4
  44. data/lib/fattureincloud_ruby_sdk/models/attachment_data.rb +3 -3
  45. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry.rb +3 -3
  46. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_document.rb +3 -3
  47. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_kind.rb +9 -6
  48. data/lib/fattureincloud_ruby_sdk/models/cashbook_entry_type.rb +9 -6
  49. data/lib/fattureincloud_ruby_sdk/models/city.rb +3 -3
  50. data/lib/fattureincloud_ruby_sdk/models/client.rb +3 -3
  51. data/lib/fattureincloud_ruby_sdk/models/client_type.rb +9 -6
  52. data/lib/fattureincloud_ruby_sdk/models/company.rb +3 -3
  53. data/lib/fattureincloud_ruby_sdk/models/company_info.rb +3 -3
  54. data/lib/fattureincloud_ruby_sdk/models/company_info_access_info.rb +3 -3
  55. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info.rb +3 -3
  56. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions.rb +3 -3
  57. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_functions_status.rb +3 -3
  58. data/lib/fattureincloud_ruby_sdk/models/company_info_plan_info_limits.rb +3 -3
  59. data/lib/fattureincloud_ruby_sdk/models/company_type.rb +9 -6
  60. data/lib/fattureincloud_ruby_sdk/models/controlled_company.rb +3 -3
  61. data/lib/fattureincloud_ruby_sdk/models/create_archive_document_request.rb +3 -3
  62. data/lib/fattureincloud_ruby_sdk/models/create_archive_document_response.rb +3 -3
  63. data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_request.rb +3 -3
  64. data/lib/fattureincloud_ruby_sdk/models/create_cashbook_entry_response.rb +3 -3
  65. data/lib/fattureincloud_ruby_sdk/models/create_client_request.rb +3 -3
  66. data/lib/fattureincloud_ruby_sdk/models/create_client_response.rb +3 -3
  67. data/lib/fattureincloud_ruby_sdk/models/create_f24_request.rb +3 -3
  68. data/lib/fattureincloud_ruby_sdk/models/create_f24_response.rb +3 -3
  69. data/lib/fattureincloud_ruby_sdk/models/create_issued_document_request.rb +3 -3
  70. data/lib/fattureincloud_ruby_sdk/models/create_issued_document_response.rb +3 -3
  71. data/lib/fattureincloud_ruby_sdk/models/create_payment_account_request.rb +3 -3
  72. data/lib/fattureincloud_ruby_sdk/models/create_payment_account_response.rb +3 -3
  73. data/lib/fattureincloud_ruby_sdk/models/create_payment_method_request.rb +3 -3
  74. data/lib/fattureincloud_ruby_sdk/models/create_payment_method_response.rb +3 -3
  75. data/lib/fattureincloud_ruby_sdk/models/create_product_request.rb +3 -3
  76. data/lib/fattureincloud_ruby_sdk/models/create_product_response.rb +3 -3
  77. data/lib/fattureincloud_ruby_sdk/models/create_receipt_request.rb +3 -3
  78. data/lib/fattureincloud_ruby_sdk/models/create_receipt_response.rb +3 -3
  79. data/lib/fattureincloud_ruby_sdk/models/create_received_document_request.rb +3 -3
  80. data/lib/fattureincloud_ruby_sdk/models/create_received_document_response.rb +3 -3
  81. data/lib/fattureincloud_ruby_sdk/models/create_supplier_request.rb +3 -3
  82. data/lib/fattureincloud_ruby_sdk/models/create_supplier_response.rb +3 -3
  83. data/lib/fattureincloud_ruby_sdk/models/create_vat_type_request.rb +3 -3
  84. data/lib/fattureincloud_ruby_sdk/models/create_vat_type_response.rb +3 -3
  85. data/lib/fattureincloud_ruby_sdk/models/currency.rb +3 -3
  86. data/lib/fattureincloud_ruby_sdk/models/detailed_country.rb +3 -3
  87. data/lib/fattureincloud_ruby_sdk/models/document_template.rb +3 -3
  88. data/lib/fattureincloud_ruby_sdk/models/e_invoice_rejection_reason.rb +3 -3
  89. data/lib/fattureincloud_ruby_sdk/models/email.rb +369 -0
  90. data/lib/fattureincloud_ruby_sdk/models/email_attachment.rb +230 -0
  91. data/lib/fattureincloud_ruby_sdk/models/email_data.rb +3 -3
  92. data/lib/fattureincloud_ruby_sdk/models/email_data_default_sender_email.rb +3 -3
  93. data/lib/fattureincloud_ruby_sdk/models/email_recipient_status.rb +41 -0
  94. data/lib/fattureincloud_ruby_sdk/models/email_schedule.rb +3 -3
  95. data/lib/fattureincloud_ruby_sdk/models/email_schedule_include.rb +3 -3
  96. data/lib/fattureincloud_ruby_sdk/models/email_status.rb +41 -0
  97. data/lib/fattureincloud_ruby_sdk/models/entity.rb +15 -4
  98. data/lib/fattureincloud_ruby_sdk/models/entity_type.rb +9 -6
  99. data/lib/fattureincloud_ruby_sdk/models/f24.rb +4 -4
  100. data/lib/fattureincloud_ruby_sdk/models/f24_status.rb +9 -6
  101. data/lib/fattureincloud_ruby_sdk/models/function_status.rb +3 -3
  102. data/lib/fattureincloud_ruby_sdk/models/get_archive_document_response.rb +3 -3
  103. data/lib/fattureincloud_ruby_sdk/models/get_cashbook_entry_response.rb +3 -3
  104. data/lib/fattureincloud_ruby_sdk/models/get_client_response.rb +3 -3
  105. data/lib/fattureincloud_ruby_sdk/models/get_company_info_response.rb +3 -3
  106. data/lib/fattureincloud_ruby_sdk/models/get_e_invoice_rejection_reason_response.rb +3 -3
  107. data/lib/fattureincloud_ruby_sdk/models/get_email_data_response.rb +3 -3
  108. data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_request.rb +3 -3
  109. data/lib/fattureincloud_ruby_sdk/models/get_existing_issued_document_totals_response.rb +3 -3
  110. data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_request.rb +3 -3
  111. data/lib/fattureincloud_ruby_sdk/models/get_existing_received_document_totals_response.rb +3 -3
  112. data/lib/fattureincloud_ruby_sdk/models/get_f24_response.rb +3 -3
  113. data/lib/fattureincloud_ruby_sdk/models/get_issued_document_pre_create_info_response.rb +3 -3
  114. data/lib/fattureincloud_ruby_sdk/models/get_issued_document_response.rb +3 -3
  115. data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_request.rb +3 -3
  116. data/lib/fattureincloud_ruby_sdk/models/get_new_issued_document_totals_response.rb +3 -3
  117. data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_request.rb +3 -3
  118. data/lib/fattureincloud_ruby_sdk/models/get_new_received_document_totals_response.rb +3 -3
  119. data/lib/fattureincloud_ruby_sdk/models/get_payment_account_response.rb +3 -3
  120. data/lib/fattureincloud_ruby_sdk/models/get_payment_method_response.rb +3 -3
  121. data/lib/fattureincloud_ruby_sdk/models/get_product_response.rb +3 -3
  122. data/lib/fattureincloud_ruby_sdk/models/get_receipt_pre_create_info_response.rb +3 -3
  123. data/lib/fattureincloud_ruby_sdk/models/get_receipt_response.rb +3 -3
  124. data/lib/fattureincloud_ruby_sdk/models/get_receipts_monthly_totals_response.rb +3 -3
  125. data/lib/fattureincloud_ruby_sdk/models/get_received_document_pre_create_info_response.rb +3 -3
  126. data/lib/fattureincloud_ruby_sdk/models/get_received_document_response.rb +3 -3
  127. data/lib/fattureincloud_ruby_sdk/models/get_supplier_response.rb +3 -3
  128. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response.rb +3 -3
  129. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_email_confirmation_state.rb +3 -3
  130. data/lib/fattureincloud_ruby_sdk/models/get_user_info_response_info.rb +3 -3
  131. data/lib/fattureincloud_ruby_sdk/models/get_vat_type_response.rb +3 -3
  132. data/lib/fattureincloud_ruby_sdk/models/issued_document.rb +52 -10
  133. data/lib/fattureincloud_ruby_sdk/models/issued_document_ei_data.rb +3 -3
  134. data/lib/fattureincloud_ruby_sdk/models/issued_document_extra_data.rb +3 -3
  135. data/lib/fattureincloud_ruby_sdk/models/issued_document_items_list_item.rb +11 -11
  136. data/lib/fattureincloud_ruby_sdk/models/issued_document_options.rb +54 -8
  137. data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item.rb +3 -3
  138. data/lib/fattureincloud_ruby_sdk/models/issued_document_payments_list_item_payment_terms.rb +3 -3
  139. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info.rb +3 -3
  140. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_default_values.rb +3 -3
  141. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_extra_data_default_values.rb +3 -3
  142. data/lib/fattureincloud_ruby_sdk/models/issued_document_pre_create_info_items_default_values.rb +3 -3
  143. data/lib/fattureincloud_ruby_sdk/models/issued_document_status.rb +9 -6
  144. data/lib/fattureincloud_ruby_sdk/models/issued_document_totals.rb +3 -3
  145. data/lib/fattureincloud_ruby_sdk/models/issued_document_type.rb +9 -6
  146. data/lib/fattureincloud_ruby_sdk/models/join_issued_documents_response.rb +228 -0
  147. data/lib/fattureincloud_ruby_sdk/models/language.rb +3 -3
  148. data/lib/fattureincloud_ruby_sdk/models/list_archive_categories_response.rb +3 -3
  149. data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response.rb +3 -3
  150. data/lib/fattureincloud_ruby_sdk/models/list_archive_documents_response_page.rb +3 -3
  151. data/lib/fattureincloud_ruby_sdk/models/list_cashbook_entries_response.rb +3 -3
  152. data/lib/fattureincloud_ruby_sdk/models/list_cities_response.rb +3 -3
  153. data/lib/fattureincloud_ruby_sdk/models/list_clients_response.rb +3 -3
  154. data/lib/fattureincloud_ruby_sdk/models/list_clients_response_page.rb +3 -3
  155. data/lib/fattureincloud_ruby_sdk/models/list_cost_centers_response.rb +3 -3
  156. data/lib/fattureincloud_ruby_sdk/models/list_countries_response.rb +3 -3
  157. data/lib/fattureincloud_ruby_sdk/models/list_currencies_response.rb +3 -3
  158. data/lib/fattureincloud_ruby_sdk/models/list_delivery_notes_default_causals_response.rb +3 -3
  159. data/lib/fattureincloud_ruby_sdk/models/list_detailed_countries_response.rb +3 -3
  160. data/lib/fattureincloud_ruby_sdk/models/list_emails_response.rb +350 -0
  161. data/lib/fattureincloud_ruby_sdk/models/list_emails_response_page.rb +221 -0
  162. data/lib/fattureincloud_ruby_sdk/models/list_f24_response.rb +3 -3
  163. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregated_data.rb +3 -3
  164. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_aggregation.rb +3 -3
  165. data/lib/fattureincloud_ruby_sdk/models/list_f24_response_page.rb +3 -3
  166. data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response.rb +3 -3
  167. data/lib/fattureincloud_ruby_sdk/models/list_issued_documents_response_page.rb +3 -3
  168. data/lib/fattureincloud_ruby_sdk/models/list_languages_response.rb +3 -3
  169. data/lib/fattureincloud_ruby_sdk/models/list_payment_accounts_response.rb +3 -3
  170. data/lib/fattureincloud_ruby_sdk/models/list_payment_methods_response.rb +3 -3
  171. data/lib/fattureincloud_ruby_sdk/models/list_product_categories_response.rb +3 -3
  172. data/lib/fattureincloud_ruby_sdk/models/list_products_response.rb +3 -3
  173. data/lib/fattureincloud_ruby_sdk/models/list_products_response_page.rb +3 -3
  174. data/lib/fattureincloud_ruby_sdk/models/list_receipts_response.rb +3 -3
  175. data/lib/fattureincloud_ruby_sdk/models/list_receipts_response_page.rb +3 -3
  176. data/lib/fattureincloud_ruby_sdk/models/list_received_document_categories_response.rb +3 -3
  177. data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response.rb +3 -3
  178. data/lib/fattureincloud_ruby_sdk/models/list_received_documents_response_page.rb +3 -3
  179. data/lib/fattureincloud_ruby_sdk/models/list_revenue_centers_response.rb +3 -3
  180. data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response.rb +3 -3
  181. data/lib/fattureincloud_ruby_sdk/models/list_suppliers_response_page.rb +3 -3
  182. data/lib/fattureincloud_ruby_sdk/models/list_templates_response.rb +3 -3
  183. data/lib/fattureincloud_ruby_sdk/models/list_units_of_measure_response.rb +3 -3
  184. data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response.rb +3 -3
  185. data/lib/fattureincloud_ruby_sdk/models/list_user_companies_response_data.rb +3 -3
  186. data/lib/fattureincloud_ruby_sdk/models/list_vat_types_response.rb +3 -3
  187. data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_request.rb +3 -3
  188. data/lib/fattureincloud_ruby_sdk/models/modify_archive_document_response.rb +3 -3
  189. data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_request.rb +3 -3
  190. data/lib/fattureincloud_ruby_sdk/models/modify_cashbook_entry_response.rb +3 -3
  191. data/lib/fattureincloud_ruby_sdk/models/modify_client_request.rb +3 -3
  192. data/lib/fattureincloud_ruby_sdk/models/modify_client_response.rb +3 -3
  193. data/lib/fattureincloud_ruby_sdk/models/modify_f24_request.rb +3 -3
  194. data/lib/fattureincloud_ruby_sdk/models/modify_f24_response.rb +3 -3
  195. data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_request.rb +3 -3
  196. data/lib/fattureincloud_ruby_sdk/models/modify_issued_document_response.rb +3 -3
  197. data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_request.rb +3 -3
  198. data/lib/fattureincloud_ruby_sdk/models/modify_payment_account_response.rb +3 -3
  199. data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_request.rb +3 -3
  200. data/lib/fattureincloud_ruby_sdk/models/modify_payment_method_response.rb +3 -3
  201. data/lib/fattureincloud_ruby_sdk/models/modify_product_request.rb +3 -3
  202. data/lib/fattureincloud_ruby_sdk/models/modify_product_response.rb +3 -3
  203. data/lib/fattureincloud_ruby_sdk/models/modify_receipt_request.rb +3 -3
  204. data/lib/fattureincloud_ruby_sdk/models/modify_receipt_response.rb +3 -3
  205. data/lib/fattureincloud_ruby_sdk/models/modify_received_document_request.rb +3 -3
  206. data/lib/fattureincloud_ruby_sdk/models/modify_received_document_response.rb +3 -3
  207. data/lib/fattureincloud_ruby_sdk/models/modify_supplier_request.rb +3 -3
  208. data/lib/fattureincloud_ruby_sdk/models/modify_supplier_response.rb +3 -3
  209. data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_request.rb +3 -3
  210. data/lib/fattureincloud_ruby_sdk/models/modify_vat_type_response.rb +3 -3
  211. data/lib/fattureincloud_ruby_sdk/models/monthly_total.rb +3 -3
  212. data/lib/fattureincloud_ruby_sdk/models/original_document_type.rb +9 -6
  213. data/lib/fattureincloud_ruby_sdk/models/pagination.rb +3 -3
  214. data/lib/fattureincloud_ruby_sdk/models/payment_account.rb +3 -3
  215. data/lib/fattureincloud_ruby_sdk/models/payment_account_type.rb +9 -6
  216. data/lib/fattureincloud_ruby_sdk/models/payment_method.rb +3 -3
  217. data/lib/fattureincloud_ruby_sdk/models/payment_method_details.rb +3 -3
  218. data/lib/fattureincloud_ruby_sdk/models/payment_method_type.rb +9 -6
  219. data/lib/fattureincloud_ruby_sdk/models/payment_terms_type.rb +9 -6
  220. data/lib/fattureincloud_ruby_sdk/models/permission_level.rb +9 -6
  221. data/lib/fattureincloud_ruby_sdk/models/permissions.rb +3 -3
  222. data/lib/fattureincloud_ruby_sdk/models/permissions_fic_issued_documents_detailed.rb +3 -3
  223. data/lib/fattureincloud_ruby_sdk/models/product.rb +3 -3
  224. data/lib/fattureincloud_ruby_sdk/models/receipt.rb +3 -3
  225. data/lib/fattureincloud_ruby_sdk/models/receipt_items_list_item.rb +3 -3
  226. data/lib/fattureincloud_ruby_sdk/models/receipt_pre_create_info.rb +3 -3
  227. data/lib/fattureincloud_ruby_sdk/models/receipt_type.rb +9 -6
  228. data/lib/fattureincloud_ruby_sdk/models/received_document.rb +5 -5
  229. data/lib/fattureincloud_ruby_sdk/models/received_document_entity.rb +3 -3
  230. data/lib/fattureincloud_ruby_sdk/models/received_document_info.rb +3 -3
  231. data/lib/fattureincloud_ruby_sdk/models/received_document_info_default_values.rb +3 -3
  232. data/lib/fattureincloud_ruby_sdk/models/received_document_info_items_default_values.rb +3 -3
  233. data/lib/fattureincloud_ruby_sdk/models/received_document_items_list_item.rb +3 -3
  234. data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item.rb +3 -3
  235. data/lib/fattureincloud_ruby_sdk/models/received_document_payments_list_item_payment_terms.rb +3 -3
  236. data/lib/fattureincloud_ruby_sdk/models/received_document_totals.rb +3 -3
  237. data/lib/fattureincloud_ruby_sdk/models/received_document_type.rb +9 -6
  238. data/lib/fattureincloud_ruby_sdk/models/schedule_email_request.rb +3 -3
  239. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request.rb +3 -3
  240. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_request_data.rb +3 -3
  241. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response.rb +3 -3
  242. data/lib/fattureincloud_ruby_sdk/models/send_e_invoice_response_data.rb +3 -3
  243. data/lib/fattureincloud_ruby_sdk/models/sender_email.rb +3 -3
  244. data/lib/fattureincloud_ruby_sdk/models/show_totals_mode.rb +9 -6
  245. data/lib/fattureincloud_ruby_sdk/models/supplier.rb +3 -3
  246. data/lib/fattureincloud_ruby_sdk/models/supplier_type.rb +9 -6
  247. data/lib/fattureincloud_ruby_sdk/models/transform_issued_document_response.rb +228 -0
  248. data/lib/fattureincloud_ruby_sdk/models/upload_archive_attachment_response.rb +3 -3
  249. data/lib/fattureincloud_ruby_sdk/models/upload_f24_attachment_response.rb +3 -3
  250. data/lib/fattureincloud_ruby_sdk/models/upload_issued_document_attachment_response.rb +3 -3
  251. data/lib/fattureincloud_ruby_sdk/models/upload_received_document_attachment_response.rb +3 -3
  252. data/lib/fattureincloud_ruby_sdk/models/user.rb +3 -3
  253. data/lib/fattureincloud_ruby_sdk/models/user_company_role.rb +9 -6
  254. data/lib/fattureincloud_ruby_sdk/models/vat_item.rb +3 -3
  255. data/lib/fattureincloud_ruby_sdk/models/vat_kind.rb +9 -6
  256. data/lib/fattureincloud_ruby_sdk/models/vat_type.rb +3 -3
  257. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response.rb +3 -3
  258. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error.rb +4 -4
  259. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_error_validation_result.rb +222 -0
  260. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_error_response_extra.rb +3 -3
  261. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response.rb +3 -3
  262. data/lib/fattureincloud_ruby_sdk/models/verify_e_invoice_xml_response_data.rb +3 -3
  263. data/lib/fattureincloud_ruby_sdk/version.rb +4 -4
  264. data/lib/fattureincloud_ruby_sdk.rb +13 -3
  265. data/sdk-version.yaml +1 -1
  266. data/spec/api/emails_api_spec.rb +56 -0
  267. data/spec/api/issued_documents_api_spec.rb +31 -0
  268. data/spec/api_client_spec.rb +3 -3
  269. data/spec/configuration_spec.rb +3 -3
  270. data/spec/models/create_payment_method_response_spec.rb +1 -1
  271. data/spec/models/email_attachment_spec.rb +42 -0
  272. data/spec/models/email_recipient_status_spec.rb +28 -0
  273. data/spec/models/email_spec.rb +140 -0
  274. data/spec/models/email_status_spec.rb +28 -0
  275. data/spec/models/issued_document_items_list_item_spec.rb +3 -3
  276. data/spec/models/join_issued_documents_response_spec.rb +46 -0
  277. data/spec/models/list_emails_response_page_spec.rb +72 -0
  278. data/spec/models/list_emails_response_spec.rb +150 -0
  279. data/spec/models/payment_terms_type_spec.rb +28 -0
  280. data/spec/models/sender_email_spec.rb +1 -1
  281. data/spec/models/transform_issued_document_response_spec.rb +45 -0
  282. data/spec/models/verify_e_invoice_xml_error_response_error_validation_result_spec.rb +35 -0
  283. data/spec/spec_helper.rb +3 -3
  284. metadata +241 -199
@@ -0,0 +1,230 @@
1
+ =begin
2
+ #Fatture in Cloud API v2 - API Reference
3
+
4
+ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 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
+
6
+ The version of the OpenAPI document: 2.0.24
7
+ Contact: info@fattureincloud.it
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FattureInCloud_Ruby_Sdk
17
+ class EmailAttachment
18
+ # Email attachment filename.
19
+ attr_accessor :filename
20
+
21
+ # Email attachment url.
22
+ attr_accessor :url
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'filename' => :'filename',
28
+ :'url' => :'url'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'filename' => :'String',
41
+ :'url' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FattureInCloud_Ruby_Sdk::EmailAttachment` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FattureInCloud_Ruby_Sdk::EmailAttachment`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'filename')
67
+ self.filename = attributes[:'filename']
68
+ end
69
+
70
+ if attributes.key?(:'url')
71
+ self.url = attributes[:'url']
72
+ end
73
+ end
74
+
75
+ # Show invalid properties with the reasons. Usually used together with valid?
76
+ # @return Array for valid properties with the reasons
77
+ def list_invalid_properties
78
+ invalid_properties = Array.new
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ filename == o.filename &&
94
+ url == o.url
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [filename, url].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ new.build_from_hash(attributes)
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ attributes = attributes.transform_keys(&:to_sym)
122
+ self.class.openapi_types.each_pair do |key, type|
123
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
124
+ self.send("#{key}=", nil)
125
+ elsif type =~ /\AArray<(.*)>/i
126
+ # check to ensure the input is an array given that the attribute
127
+ # is documented as an array but the input is not
128
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
129
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
130
+ end
131
+ elsif !attributes[self.class.attribute_map[key]].nil?
132
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
133
+ end
134
+ end
135
+
136
+ self
137
+ end
138
+
139
+ # Deserializes the data based on type
140
+ # @param string type Data type
141
+ # @param string value Value to be deserialized
142
+ # @return [Object] Deserialized data
143
+ def _deserialize(type, value)
144
+ case type.to_sym
145
+ when :Time
146
+ Time.parse(value)
147
+ when :Date
148
+ Date.parse(value)
149
+ when :String
150
+ value.to_s
151
+ when :Integer
152
+ value.to_i
153
+ when :Float
154
+ value.to_f
155
+ when :Boolean
156
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
157
+ true
158
+ else
159
+ false
160
+ end
161
+ when :Object
162
+ # generic object (usually a Hash), return directly
163
+ value
164
+ when /\AArray<(?<inner_type>.+)>\z/
165
+ inner_type = Regexp.last_match[:inner_type]
166
+ value.map { |v| _deserialize(inner_type, v) }
167
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
168
+ k_type = Regexp.last_match[:k_type]
169
+ v_type = Regexp.last_match[:v_type]
170
+ {}.tap do |hash|
171
+ value.each do |k, v|
172
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
173
+ end
174
+ end
175
+ when :Hash
176
+ value
177
+ else # model
178
+ # models (e.g. Pet) or oneOf
179
+ klass = FattureInCloud_Ruby_Sdk.const_get(type)
180
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
181
+ end
182
+ end
183
+
184
+ # Returns the string representation of the object
185
+ # @return [String] String presentation of the object
186
+ def to_s
187
+ to_hash.to_s
188
+ end
189
+
190
+ # to_body is an alias to to_hash (backward compatibility)
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_body
193
+ to_hash
194
+ end
195
+
196
+ # Returns the object in the form of hash
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_hash
199
+ hash = {}
200
+ self.class.attribute_map.each_pair do |attr, param|
201
+ value = self.send(attr)
202
+ if value.nil?
203
+ is_nullable = self.class.openapi_nullable.include?(attr)
204
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
205
+ end
206
+
207
+ hash[param] = _to_hash(value)
208
+ end
209
+ hash
210
+ end
211
+
212
+ # Outputs non-array value in the form of hash
213
+ # For object, use to_hash. Otherwise, just return the value
214
+ # @param [Object] value Any valid value
215
+ # @return [Hash] Returns the value in the form of hash
216
+ def _to_hash(value)
217
+ if value.is_a?(Array)
218
+ value.compact.map { |v| _to_hash(v) }
219
+ elsif value.is_a?(Hash)
220
+ {}.tap do |hash|
221
+ value.each { |k, v| hash[k] = _to_hash(v) }
222
+ end
223
+ elsif value.respond_to? :to_hash
224
+ value.to_hash
225
+ else
226
+ value
227
+ end
228
+ end
229
+ end
230
+ end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Fatture in Cloud API v2 - API Reference
3
+
4
+ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 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
+
6
+ The version of the OpenAPI document: 2.0.24
7
+ Contact: info@fattureincloud.it
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FattureInCloud_Ruby_Sdk
17
+ class EmailRecipientStatus
18
+ UNKNOWN = "unknown".freeze
19
+ DOCUMENT_OPENED = "document_opened".freeze
20
+ EMAIL_OPENED = "email_opened".freeze
21
+
22
+ def self.all_vars
23
+ @all_vars ||= [UNKNOWN, DOCUMENT_OPENED, EMAIL_OPENED].freeze
24
+ end
25
+
26
+ # Builds the enum from string
27
+ # @param [String] The enum value in the form of the string
28
+ # @return [String] The enum value
29
+ def self.build_from_hash(value)
30
+ new.build_from_hash(value)
31
+ end
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def build_from_hash(value)
37
+ return value if EmailRecipientStatus.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #EmailRecipientStatus"
39
+ end
40
+ end
41
+ end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Fatture in Cloud API v2 - API Reference
3
+
4
+ #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 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
+
6
+ The version of the OpenAPI document: 2.0.24
7
+ Contact: info@fattureincloud.it
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FattureInCloud_Ruby_Sdk
17
+ class EmailStatus
18
+ SENDING = "sending".freeze
19
+ PENDING = "pending".freeze
20
+ SENT = "sent".freeze
21
+
22
+ def self.all_vars
23
+ @all_vars ||= [SENDING, PENDING, SENT].freeze
24
+ end
25
+
26
+ # Builds the enum from string
27
+ # @param [String] The enum value in the form of the string
28
+ # @return [String] The enum value
29
+ def self.build_from_hash(value)
30
+ new.build_from_hash(value)
31
+ end
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def build_from_hash(value)
37
+ return value if EmailStatus.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #EmailStatus"
39
+ end
40
+ end
41
+ end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -59,6 +59,9 @@ module FattureInCloud_Ruby_Sdk
59
59
  # Country
60
60
  attr_accessor :country
61
61
 
62
+ # Country Iso
63
+ attr_accessor :country_iso
64
+
62
65
  # Email.
63
66
  attr_accessor :email
64
67
 
@@ -132,6 +135,7 @@ module FattureInCloud_Ruby_Sdk
132
135
  :'address_province' => :'address_province',
133
136
  :'address_extra' => :'address_extra',
134
137
  :'country' => :'country',
138
+ :'country_iso' => :'country_iso',
135
139
  :'email' => :'email',
136
140
  :'certified_email' => :'certified_email',
137
141
  :'phone' => :'phone',
@@ -178,6 +182,7 @@ module FattureInCloud_Ruby_Sdk
178
182
  :'address_province' => :'String',
179
183
  :'address_extra' => :'String',
180
184
  :'country' => :'String',
185
+ :'country_iso' => :'String',
181
186
  :'email' => :'String',
182
187
  :'certified_email' => :'String',
183
188
  :'phone' => :'String',
@@ -219,6 +224,7 @@ module FattureInCloud_Ruby_Sdk
219
224
  :'address_province',
220
225
  :'address_extra',
221
226
  :'country',
227
+ :'country_iso',
222
228
  :'email',
223
229
  :'certified_email',
224
230
  :'phone',
@@ -315,6 +321,10 @@ module FattureInCloud_Ruby_Sdk
315
321
  self.country = attributes[:'country']
316
322
  end
317
323
 
324
+ if attributes.key?(:'country_iso')
325
+ self.country_iso = attributes[:'country_iso']
326
+ end
327
+
318
328
  if attributes.key?(:'email')
319
329
  self.email = attributes[:'email']
320
330
  end
@@ -431,6 +441,7 @@ module FattureInCloud_Ruby_Sdk
431
441
  address_province == o.address_province &&
432
442
  address_extra == o.address_extra &&
433
443
  country == o.country &&
444
+ country_iso == o.country_iso &&
434
445
  email == o.email &&
435
446
  certified_email == o.certified_email &&
436
447
  phone == o.phone &&
@@ -462,7 +473,7 @@ module FattureInCloud_Ruby_Sdk
462
473
  # Calculates hash code according to all attributes.
463
474
  # @return [Integer] Hash code
464
475
  def hash
465
- [id, code, name, type, first_name, last_name, contact_person, vat_number, tax_code, address_street, address_postal_code, address_city, address_province, address_extra, country, email, certified_email, phone, fax, notes, default_vat, default_payment_terms, default_payment_terms_type, default_payment_method, bank_name, bank_iban, bank_swift_code, shipping_address, e_invoice, ei_code, has_intent_declaration, intent_declaration_protocol_number, intent_declaration_protocol_date, created_at, updated_at].hash
476
+ [id, code, name, type, first_name, last_name, contact_person, vat_number, tax_code, address_street, address_postal_code, address_city, address_province, address_extra, country, country_iso, email, certified_email, phone, fax, notes, default_vat, default_payment_terms, default_payment_terms_type, default_payment_method, bank_name, bank_iban, bank_swift_code, shipping_address, e_invoice, ei_code, has_intent_declaration, intent_declaration_protocol_number, intent_declaration_protocol_date, created_at, updated_at].hash
466
477
  end
467
478
 
468
479
  # Builds the object from hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -20,6 +20,10 @@ module FattureInCloud_Ruby_Sdk
20
20
  PA = "pa".freeze
21
21
  CONDO = "condo".freeze
22
22
 
23
+ def self.all_vars
24
+ @all_vars ||= [COMPANY, PERSON, PA, CONDO].freeze
25
+ end
26
+
23
27
  # Builds the enum from string
24
28
  # @param [String] The enum value in the form of the string
25
29
  # @return [String] The enum value
@@ -31,9 +35,8 @@ module FattureInCloud_Ruby_Sdk
31
35
  # @param [String] The enum value in the form of the string
32
36
  # @return [String] The enum value
33
37
  def build_from_hash(value)
34
- constantValues = EntityType.constants.select { |c| EntityType::const_get(c) == value }
35
- raise "Invalid ENUM value #{value} for class #EntityType" if constantValues.empty?
36
- value
38
+ return value if EntityType.all_vars.include?(value)
39
+ raise "Invalid ENUM value #{value} for class #EntityType"
37
40
  end
38
41
  end
39
42
  end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -28,7 +28,7 @@ module FattureInCloud_Ruby_Sdk
28
28
  # Taxes amount.
29
29
  attr_accessor :amount
30
30
 
31
- # [Read Only] Absolute url of the attached file. Authomatically set if a valid attachment token is passed via POST /taxes or PUT /taxes/{documentId}.
31
+ # [Temporary] [Read Only] Absolute url of the attached file. Authomatically set if a valid attachment token is passed via POST /taxes or PUT /taxes/{documentId}.
32
32
  attr_accessor :attachment_url
33
33
 
34
34
  # [Write Only] Attachment token returned by POST /taxes/attachment. Used to attach the file already uploaded.
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -19,6 +19,10 @@ module FattureInCloud_Ruby_Sdk
19
19
  NOT_PAID = "not_paid".freeze
20
20
  REVERSED = "reversed".freeze
21
21
 
22
+ def self.all_vars
23
+ @all_vars ||= [PAID, NOT_PAID, REVERSED].freeze
24
+ end
25
+
22
26
  # Builds the enum from string
23
27
  # @param [String] The enum value in the form of the string
24
28
  # @return [String] The enum value
@@ -30,9 +34,8 @@ module FattureInCloud_Ruby_Sdk
30
34
  # @param [String] The enum value in the form of the string
31
35
  # @return [String] The enum value
32
36
  def build_from_hash(value)
33
- constantValues = F24Status.constants.select { |c| F24Status::const_get(c) == value }
34
- raise "Invalid ENUM value #{value} for class #F24Status" if constantValues.empty?
35
- value
37
+ return value if F24Status.all_vars.include?(value)
38
+ raise "Invalid ENUM value #{value} for class #F24Status"
36
39
  end
37
40
  end
38
41
  end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Fatture in Cloud API v2 - API Reference
3
3
 
4
- #Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
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.20
6
+ The version of the OpenAPI document: 2.0.24
7
7
  Contact: info@fattureincloud.it
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.1.0
9
+ OpenAPI Generator version: 6.2.1
10
10
 
11
11
  =end
12
12