factpulse 4.1.2 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -4
  3. data/Gemfile.lock +12 -10
  4. data/README.md +7 -1
  5. data/docs/AFNORContainsOrStartWithOperator.md +15 -0
  6. data/docs/{AFNORFacilityNature.md → AFNORContainsOrStrictOperator.md} +2 -2
  7. data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
  8. data/docs/AFNORCoreFlowInfo.md +26 -0
  9. data/docs/{AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md → AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md} +9 -5
  10. data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +36 -0
  11. data/docs/AFNORDirectoryLineSearchPost200Response.md +2 -2
  12. data/docs/{AFNORContainsOperator.md → AFNORDirectoryLineStatus.md} +2 -2
  13. data/docs/AFNORError.md +4 -4
  14. data/docs/AFNORFacilityPayloadHistory.md +3 -3
  15. data/docs/AFNORFacilityPayloadIncluded.md +2 -2
  16. data/docs/AFNORFlow.md +18 -16
  17. data/docs/AFNORFlowExtension.md +26 -0
  18. data/docs/AFNORFlowInfo.md +3 -3
  19. data/docs/AFNORFlowInfoExtension.md +18 -0
  20. data/docs/AFNORFullFlowInfo.md +8 -8
  21. data/docs/AFNORFullFlowInfoExtension.md +20 -0
  22. data/docs/AFNORLegalUnitPayloadHistory.md +3 -1
  23. data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
  24. data/docs/AFNORPDPPADirectoryServiceApi.md +4 -648
  25. data/docs/AFNORPDPPAFlowServiceApi.md +190 -1
  26. data/docs/AFNORRoutingCodeSearch.md +3 -3
  27. data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +1 -1
  28. data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +1 -1
  29. data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
  30. data/docs/AFNORSearchDirectoryLine.md +5 -3
  31. data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +1 -1
  32. data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +1 -1
  33. data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
  34. data/docs/AFNORSearchFlowContent.md +3 -1
  35. data/docs/AFNORSearchFlowFilters.md +1 -1
  36. data/docs/AFNORSearchFlowParams.md +3 -1
  37. data/docs/AFNORSearchSiren.md +2 -2
  38. data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
  39. data/docs/AFNORSearchSirenFiltersSiren.md +1 -1
  40. data/docs/AFNORSearchSirenSortingInner.md +2 -2
  41. data/docs/AFNORSearchSiret.md +3 -3
  42. data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
  43. data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +1 -1
  44. data/docs/AFNORSearchSiretFiltersFacilityType.md +1 -1
  45. data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
  46. data/docs/AFNORSearchSiretFiltersName.md +1 -1
  47. data/docs/AFNORSearchSiretFiltersPostalCode.md +1 -1
  48. data/docs/AFNORSearchSiretFiltersSiret.md +1 -1
  49. data/docs/AFNORSearchSiretSortingInner.md +2 -2
  50. data/docs/AFNORSirenInstructions.md +18 -0
  51. data/docs/AFNORSirenSearchPost200Response.md +1 -1
  52. data/docs/AFNORSiretInstructions.md +18 -0
  53. data/docs/AFNORSiretSearchPost200Response.md +1 -1
  54. data/docs/{AFNORDiffusionStatus.md → AFNORStrictOrStartWithOperator.md} +2 -2
  55. data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
  56. data/docs/AFNORWebhook.md +30 -0
  57. data/docs/AFNORWebhookIdParam.md +22 -0
  58. data/docs/AFNORWebhookParams.md +24 -0
  59. data/docs/AllowanceCharge.md +1 -1
  60. data/docs/{AFNORAlgorithm.md → Amounteur.md} +2 -2
  61. data/docs/ClientManagementApi.md +231 -0
  62. data/docs/CreateCDARRequest.md +3 -1
  63. data/docs/DeliveryParty.md +2 -2
  64. data/docs/ElectronicAddressInput.md +20 -0
  65. data/docs/ElectronicAddressOutput.md +20 -0
  66. data/docs/EncaisseeRequest.md +3 -1
  67. data/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
  68. data/docs/Flux10EReportingApi.md +18 -8
  69. data/docs/Flux6InvoiceLifecycleCDARApi.md +39 -19
  70. data/docs/IncomingSupplier.md +4 -2
  71. data/docs/InvoiceGenerationApi.md +14 -8
  72. data/docs/InvoiceInput.md +4 -0
  73. data/docs/Invoicedata.md +49 -0
  74. data/docs/LifecycleEvent.md +2 -0
  75. data/docs/Payee.md +2 -2
  76. data/docs/PaymentAmountByRate.md +4 -2
  77. data/docs/PostalAddressInput.md +30 -0
  78. data/docs/PostalAddressOutput.md +30 -0
  79. data/docs/ProcessingOptions.md +1 -1
  80. data/docs/Recipient.md +3 -3
  81. data/docs/ReportSender.md +2 -0
  82. data/docs/SimplifiedInvoiceData.md +2 -2
  83. data/docs/SubmitCDARRequest.md +2 -0
  84. data/docs/SubmitCompleteInvoiceRequest.md +1 -1
  85. data/docs/SuperPDPConnectURLResponse.md +18 -0
  86. data/docs/SuperPDPDisconnectResponse.md +20 -0
  87. data/docs/SuperPDPStatusResponse.md +26 -0
  88. data/docs/Supplier.md +5 -3
  89. data/docs/TaxBreakdownInput.md +7 -1
  90. data/docs/TaxRepresentative.md +1 -1
  91. data/docs/{AFNORPlatformStatus.md → Taxamounteur.md} +2 -2
  92. data/docs/ValidateCDARResponse.md +2 -2
  93. data/docs/ValidationErrorResponse.md +2 -8
  94. data/factpulse.gemspec +1 -1
  95. data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
  96. data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +4 -622
  97. data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +178 -1
  98. data/lib/factpulse/api/async_tasks_api.rb +1 -1
  99. data/lib/factpulse/api/chorus_pro_api.rb +1 -1
  100. data/lib/factpulse/api/client_management_api.rb +196 -1
  101. data/lib/factpulse/api/downloads_api.rb +1 -1
  102. data/lib/factpulse/api/electronic_signature_api.rb +1 -1
  103. data/lib/factpulse/api/factur_x_conversion_api.rb +1 -1
  104. data/lib/factpulse/api/factur_x_validation_api.rb +1 -1
  105. data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +1 -1
  106. data/lib/factpulse/api/flux10_e_reporting_api.rb +10 -1
  107. data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +25 -3
  108. data/lib/factpulse/api/health_api.rb +1 -1
  109. data/lib/factpulse/api/invoice_generation_api.rb +9 -3
  110. data/lib/factpulse/api/parse_api.rb +1 -1
  111. data/lib/factpulse/api/references_api.rb +1 -1
  112. data/lib/factpulse/api/validation_api.rb +1 -1
  113. data/lib/factpulse/api_client.rb +1 -1
  114. data/lib/factpulse/api_error.rb +1 -1
  115. data/lib/factpulse/api_model_base.rb +1 -1
  116. data/lib/factpulse/configuration.rb +1 -1
  117. data/lib/factpulse/helpers/client.rb +42 -5
  118. data/lib/factpulse/models/acknowledgment_status.rb +1 -1
  119. data/lib/factpulse/models/action_code_info.rb +1 -1
  120. data/lib/factpulse/models/action_codes_response.rb +1 -1
  121. data/lib/factpulse/models/additional_document.rb +1 -1
  122. data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
  123. data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
  124. data/lib/factpulse/models/afnor_address_read.rb +1 -1
  125. data/lib/factpulse/models/{afnor_diffusion_status.rb → afnor_contains_or_start_with_operator.rb} +7 -7
  126. data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_strict_operator.rb} +6 -5
  127. data/lib/factpulse/models/afnor_contains_or_strict_or_start_with_operator.rb +41 -0
  128. data/lib/factpulse/models/{afnor_routing_code_post201_response.rb → afnor_core_flow_info.rb} +104 -62
  129. data/lib/factpulse/models/afnor_credentials.rb +1 -1
  130. data/lib/factpulse/models/afnor_destination.rb +1 -1
  131. data/lib/factpulse/models/afnor_directory_line_field.rb +2 -3
  132. data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
  133. data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb → afnor_directory_line_payload_legal_unit_facility_routing_code.rb} +86 -15
  134. data/lib/factpulse/models/{afnor_create_directory_line_body_addressing_information.rb → afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb} +106 -17
  135. data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +5 -3
  136. data/lib/factpulse/models/afnor_directory_line_status.rb +41 -0
  137. data/lib/factpulse/models/afnor_entity_type.rb +1 -1
  138. data/lib/factpulse/models/afnor_error.rb +31 -40
  139. data/lib/factpulse/models/afnor_error_detail.rb +1 -1
  140. data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
  141. data/lib/factpulse/models/afnor_facility_payload_history.rb +12 -12
  142. data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
  143. data/lib/factpulse/models/afnor_facility_payload_included.rb +11 -11
  144. data/lib/factpulse/models/afnor_facility_type.rb +1 -1
  145. data/lib/factpulse/models/afnor_flow.rb +257 -62
  146. data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
  147. data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
  148. data/lib/factpulse/models/{afnor_update_patch_routing_code_body.rb → afnor_flow_extension.rb} +104 -67
  149. data/lib/factpulse/models/afnor_flow_info.rb +26 -10
  150. data/lib/factpulse/models/{afnor_create_directory_line_body_period.rb → afnor_flow_info_extension.rb} +27 -32
  151. data/lib/factpulse/models/afnor_flow_profile.rb +3 -2
  152. data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
  153. data/lib/factpulse/models/afnor_flow_type.rb +9 -3
  154. data/lib/factpulse/models/afnor_full_flow_info.rb +85 -52
  155. data/lib/factpulse/models/afnor_full_flow_info_extension.rb +202 -0
  156. data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
  157. data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
  158. data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +14 -5
  159. data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +14 -5
  160. data/lib/factpulse/models/afnor_processing_rule.rb +6 -2
  161. data/lib/factpulse/models/afnor_reason_code.rb +1 -1
  162. data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
  163. data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
  164. data/lib/factpulse/models/afnor_result.rb +1 -1
  165. data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
  166. data/lib/factpulse/models/afnor_routing_code_field.rb +2 -3
  167. data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
  168. data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
  169. data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
  170. data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
  171. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +2 -2
  172. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +2 -2
  173. data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +4 -2
  174. data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
  175. data/lib/factpulse/models/afnor_search_directory_line.rb +35 -2
  176. data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
  177. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +2 -2
  178. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +2 -2
  179. data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +8 -8
  180. data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
  181. data/lib/factpulse/models/afnor_search_flow_filters.rb +7 -6
  182. data/lib/factpulse/models/afnor_search_flow_params.rb +13 -3
  183. data/lib/factpulse/models/afnor_search_siren.rb +1 -1
  184. data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
  185. data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
  186. data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +2 -2
  187. data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
  188. data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +2 -2
  189. data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +8 -8
  190. data/lib/factpulse/models/afnor_search_siret.rb +1 -1
  191. data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
  192. data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +2 -2
  193. data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
  194. data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +2 -2
  195. data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +2 -2
  196. data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +2 -2
  197. data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
  198. data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +2 -2
  199. data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +2 -2
  200. data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +8 -8
  201. data/lib/factpulse/models/afnor_siren_field.rb +3 -3
  202. data/lib/factpulse/models/{afnor_update_patch_directory_line_body.rb → afnor_siren_instructions.rb} +13 -12
  203. data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
  204. data/lib/factpulse/models/afnor_siret_field.rb +4 -5
  205. data/lib/factpulse/models/{afnor_webhook_callback_content.rb → afnor_siret_instructions.rb} +13 -12
  206. data/lib/factpulse/models/afnor_siret_search_post200_response.rb +4 -2
  207. data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
  208. data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
  209. data/lib/factpulse/models/{afnor_facility_nature.rb → afnor_strict_or_start_with_operator.rb} +7 -7
  210. data/lib/factpulse/models/{afnor_platform_status.rb → afnor_unique_directory_line_status.rb} +4 -4
  211. data/lib/factpulse/models/afnor_webhook.rb +250 -0
  212. data/lib/factpulse/models/{afnor_create_directory_line_body.rb → afnor_webhook_id_param.rb} +26 -17
  213. data/lib/factpulse/models/{afnor_legal_unit_payload_included_no_siren.rb → afnor_webhook_params.rb} +44 -36
  214. data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
  215. data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
  216. data/lib/factpulse/models/allowance_charge.rb +2 -2
  217. data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
  218. data/lib/factpulse/models/allowance_reason_code.rb +1 -1
  219. data/lib/factpulse/models/allowance_total_amount.rb +1 -1
  220. data/lib/factpulse/models/amount.rb +2 -2
  221. data/lib/factpulse/models/amount1.rb +2 -2
  222. data/lib/factpulse/models/amount2.rb +2 -2
  223. data/lib/factpulse/models/amount_due.rb +1 -1
  224. data/lib/factpulse/models/amounteur.rb +104 -0
  225. data/lib/factpulse/models/api_error.rb +1 -1
  226. data/lib/factpulse/models/api_profile.rb +1 -1
  227. data/lib/factpulse/models/async_task_status.rb +1 -1
  228. data/lib/factpulse/models/base_amount.rb +1 -1
  229. data/lib/factpulse/models/bounding_box_schema.rb +1 -1
  230. data/lib/factpulse/models/buyercountry.rb +1 -1
  231. data/lib/factpulse/models/celery_status.rb +1 -1
  232. data/lib/factpulse/models/certificate_info_response.rb +1 -1
  233. data/lib/factpulse/models/charge_total_amount.rb +1 -1
  234. data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
  235. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  236. data/lib/factpulse/models/chorus_pro_result.rb +1 -1
  237. data/lib/factpulse/models/client_activate_response.rb +1 -1
  238. data/lib/factpulse/models/client_create_request.rb +1 -1
  239. data/lib/factpulse/models/client_detail.rb +1 -1
  240. data/lib/factpulse/models/client_list_response.rb +1 -1
  241. data/lib/factpulse/models/client_summary.rb +1 -1
  242. data/lib/factpulse/models/client_update_request.rb +1 -1
  243. data/lib/factpulse/models/contact.rb +1 -1
  244. data/lib/factpulse/models/conversion_error_result.rb +1 -1
  245. data/lib/factpulse/models/conversion_extraction_info.rb +1 -1
  246. data/lib/factpulse/models/conversion_pending_input_result.rb +1 -1
  247. data/lib/factpulse/models/conversion_success_task_result.rb +1 -1
  248. data/lib/factpulse/models/conversion_task_status.rb +1 -1
  249. data/lib/factpulse/models/conversion_task_status_result.rb +1 -1
  250. data/lib/factpulse/models/conversion_validation_failed_result.rb +1 -1
  251. data/lib/factpulse/models/convert_resume_request.rb +1 -1
  252. data/lib/factpulse/models/convert_success_response.rb +1 -1
  253. data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
  254. data/lib/factpulse/models/country_code.rb +1 -1
  255. data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
  256. data/lib/factpulse/models/create_cdar_request.rb +18 -6
  257. data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
  258. data/lib/factpulse/models/currency.rb +1 -1
  259. data/lib/factpulse/models/currency_code.rb +1 -1
  260. data/lib/factpulse/models/delivery_party.rb +3 -3
  261. data/lib/factpulse/models/destination.rb +1 -1
  262. data/lib/factpulse/models/doc_type.rb +1 -1
  263. data/lib/factpulse/models/document_type_info.rb +1 -1
  264. data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
  265. data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
  266. data/lib/factpulse/models/electronic_address.rb +2 -2
  267. data/lib/factpulse/models/{afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb → electronic_address_input.rb} +37 -17
  268. data/lib/factpulse/models/electronic_address_output.rb +198 -0
  269. data/lib/factpulse/models/encaisseamount.rb +1 -1
  270. data/lib/factpulse/models/encaisseamount1.rb +1 -1
  271. data/lib/factpulse/models/encaissee_request.rb +15 -3
  272. data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
  273. data/lib/factpulse/models/error_level.rb +1 -1
  274. data/lib/factpulse/models/error_source.rb +1 -1
  275. data/lib/factpulse/models/extraction_info.rb +1 -1
  276. data/lib/factpulse/models/factur_x_invoice.rb +1 -1
  277. data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
  278. data/lib/factpulse/models/facture_electronique_models_invoice_type_code.rb +1 -1
  279. data/lib/factpulse/models/{afnor_directory_line_post201_response.rb → facture_electronique_rest_api_schemas_cdar_validation_error_response.rb} +64 -36
  280. data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +1 -1
  281. data/lib/factpulse/models/field_status.rb +1 -1
  282. data/lib/factpulse/models/file_info.rb +1 -1
  283. data/lib/factpulse/models/files_info.rb +1 -1
  284. data/lib/factpulse/models/flow_direction.rb +1 -1
  285. data/lib/factpulse/models/flow_profile.rb +3 -2
  286. data/lib/factpulse/models/flow_summary.rb +1 -1
  287. data/lib/factpulse/models/flow_syntax.rb +1 -1
  288. data/lib/factpulse/models/flow_type.rb +9 -3
  289. data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
  290. data/lib/factpulse/models/generate_cdar_response.rb +1 -1
  291. data/lib/factpulse/models/generate_certificate_request.rb +1 -1
  292. data/lib/factpulse/models/generate_certificate_response.rb +1 -1
  293. data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
  294. data/lib/factpulse/models/generation_success_result.rb +1 -1
  295. data/lib/factpulse/models/generation_task_status.rb +1 -1
  296. data/lib/factpulse/models/generation_task_status_result.rb +1 -1
  297. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  298. data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
  299. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  300. data/lib/factpulse/models/get_invoice_response.rb +1 -1
  301. data/lib/factpulse/models/get_structure_request.rb +1 -1
  302. data/lib/factpulse/models/get_structure_response.rb +1 -1
  303. data/lib/factpulse/models/global_allowance_amount.rb +1 -1
  304. data/lib/factpulse/models/gross_unit_price.rb +1 -1
  305. data/lib/factpulse/models/http_validation_error.rb +1 -1
  306. data/lib/factpulse/models/incoming_invoice.rb +1 -1
  307. data/lib/factpulse/models/incoming_supplier.rb +14 -4
  308. data/lib/factpulse/models/invoice_format.rb +1 -1
  309. data/lib/factpulse/models/invoice_input.rb +22 -2
  310. data/lib/factpulse/models/invoice_lifecycle.rb +1 -1
  311. data/lib/factpulse/models/invoice_line.rb +1 -1
  312. data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
  313. data/lib/factpulse/models/invoice_note.rb +1 -1
  314. data/lib/factpulse/models/invoice_payment_input.rb +1 -1
  315. data/lib/factpulse/models/invoice_references.rb +1 -1
  316. data/lib/factpulse/models/invoice_status.rb +1 -1
  317. data/lib/factpulse/models/invoice_totals.rb +1 -1
  318. data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
  319. data/lib/factpulse/models/invoice_type_code.rb +1 -1
  320. data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
  321. data/lib/factpulse/models/invoicedata.rb +105 -0
  322. data/lib/factpulse/models/invoicing_framework.rb +1 -1
  323. data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
  324. data/lib/factpulse/models/issuer_role_code.rb +1 -1
  325. data/lib/factpulse/models/key_rotation_request.rb +1 -1
  326. data/lib/factpulse/models/key_rotation_response.rb +1 -1
  327. data/lib/factpulse/models/lifecycle_event.rb +12 -2
  328. data/lib/factpulse/models/lifecycle_response.rb +1 -1
  329. data/lib/factpulse/models/line_net_amount.rb +1 -1
  330. data/lib/factpulse/models/line_sub_type.rb +1 -1
  331. data/lib/factpulse/models/line_total_amount.rb +1 -1
  332. data/lib/factpulse/models/location_inner.rb +1 -1
  333. data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
  334. data/lib/factpulse/models/manual_rate.rb +1 -1
  335. data/lib/factpulse/models/manual_vat_rate.rb +1 -1
  336. data/lib/factpulse/models/missing_field.rb +1 -1
  337. data/lib/factpulse/models/operation_nature.rb +1 -1
  338. data/lib/factpulse/models/output_format.rb +1 -1
  339. data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
  340. data/lib/factpulse/models/parse_factur_x_response.rb +1 -1
  341. data/lib/factpulse/models/payee.rb +3 -3
  342. data/lib/factpulse/models/payment_amount_by_rate.rb +15 -5
  343. data/lib/factpulse/models/payment_card.rb +1 -1
  344. data/lib/factpulse/models/payment_means.rb +1 -1
  345. data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
  346. data/lib/factpulse/models/pdp_config_response.rb +1 -1
  347. data/lib/factpulse/models/pdp_config_update_request.rb +1 -1
  348. data/lib/factpulse/models/pdp_credentials.rb +1 -1
  349. data/lib/factpulse/models/percentage.rb +1 -1
  350. data/lib/factpulse/models/postal_address.rb +7 -7
  351. data/lib/factpulse/models/postal_address_input.rb +209 -0
  352. data/lib/factpulse/models/postal_address_output.rb +209 -0
  353. data/lib/factpulse/models/price_allowance_amount.rb +1 -1
  354. data/lib/factpulse/models/price_basis_quantity.rb +1 -1
  355. data/lib/factpulse/models/processing_options.rb +2 -2
  356. data/lib/factpulse/models/processing_rule.rb +6 -2
  357. data/lib/factpulse/models/product_characteristic.rb +1 -1
  358. data/lib/factpulse/models/product_classification.rb +1 -1
  359. data/lib/factpulse/models/quantity.rb +1 -1
  360. data/lib/factpulse/models/rate.rb +1 -1
  361. data/lib/factpulse/models/rate1.rb +1 -1
  362. data/lib/factpulse/models/reason_code_info.rb +1 -1
  363. data/lib/factpulse/models/reason_codes_response.rb +1 -1
  364. data/lib/factpulse/models/recipient.rb +4 -4
  365. data/lib/factpulse/models/recipient_input.rb +1 -1
  366. data/lib/factpulse/models/refusee_request.rb +1 -1
  367. data/lib/factpulse/models/report_issuer.rb +1 -1
  368. data/lib/factpulse/models/report_period.rb +1 -1
  369. data/lib/factpulse/models/report_sender.rb +12 -2
  370. data/lib/factpulse/models/rounding_amount.rb +1 -1
  371. data/lib/factpulse/models/schematron_validation_error.rb +1 -1
  372. data/lib/factpulse/models/scheme_id.rb +1 -1
  373. data/lib/factpulse/models/search_flow_request.rb +1 -1
  374. data/lib/factpulse/models/search_flow_response.rb +1 -1
  375. data/lib/factpulse/models/search_services_response.rb +1 -1
  376. data/lib/factpulse/models/search_structure_request.rb +1 -1
  377. data/lib/factpulse/models/search_structure_response.rb +1 -1
  378. data/lib/factpulse/models/secret_status.rb +1 -1
  379. data/lib/factpulse/models/sellercountry.rb +1 -1
  380. data/lib/factpulse/models/signature_info.rb +1 -1
  381. data/lib/factpulse/models/signature_info_api.rb +1 -1
  382. data/lib/factpulse/models/signature_parameters.rb +1 -1
  383. data/lib/factpulse/models/signature_success_result.rb +1 -1
  384. data/lib/factpulse/models/signature_task_status.rb +1 -1
  385. data/lib/factpulse/models/signature_task_status_result.rb +1 -1
  386. data/lib/factpulse/models/simplified_cdar_response.rb +1 -1
  387. data/lib/factpulse/models/simplified_invoice_data.rb +4 -4
  388. data/lib/factpulse/models/status_code_info.rb +1 -1
  389. data/lib/factpulse/models/status_codes_response.rb +1 -1
  390. data/lib/factpulse/models/structure_info.rb +1 -1
  391. data/lib/factpulse/models/structure_parameters.rb +1 -1
  392. data/lib/factpulse/models/structure_service.rb +1 -1
  393. data/lib/factpulse/models/submission_mode.rb +1 -1
  394. data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
  395. data/lib/factpulse/models/submit_cdar_request.rb +14 -2
  396. data/lib/factpulse/models/submit_cdar_response.rb +1 -1
  397. data/lib/factpulse/models/submit_cdarxml_request.rb +1 -1
  398. data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -3
  399. data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
  400. data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
  401. data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
  402. data/lib/factpulse/models/submit_flow_request.rb +1 -1
  403. data/lib/factpulse/models/submit_flow_response.rb +1 -1
  404. data/lib/factpulse/models/submit_gross_amount.rb +1 -1
  405. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  406. data/lib/factpulse/models/submit_invoice_response.rb +1 -1
  407. data/lib/factpulse/models/submit_net_amount.rb +1 -1
  408. data/lib/factpulse/models/submit_vat_amount.rb +1 -1
  409. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → super_pdp_connect_url_response.rb} +22 -24
  410. data/lib/factpulse/models/super_pdp_disconnect_response.rb +193 -0
  411. data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
  412. data/lib/factpulse/models/supplementary_attachment.rb +1 -1
  413. data/lib/factpulse/models/supplier.rb +15 -5
  414. data/lib/factpulse/models/task_error_result.rb +1 -1
  415. data/lib/factpulse/models/task_response.rb +1 -1
  416. data/lib/factpulse/models/tax_breakdown_input.rb +35 -5
  417. data/lib/factpulse/models/tax_due_date_type.rb +1 -1
  418. data/lib/factpulse/models/tax_representative.rb +2 -2
  419. data/lib/factpulse/models/taxable_amount.rb +1 -1
  420. data/lib/factpulse/models/taxableamount.rb +1 -1
  421. data/lib/factpulse/models/taxamount.rb +1 -1
  422. data/lib/factpulse/models/taxamount1.rb +1 -1
  423. data/lib/factpulse/models/taxamount2.rb +1 -1
  424. data/lib/factpulse/models/{afnor_algorithm.rb → taxamounteur.rb} +84 -23
  425. data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
  426. data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
  427. data/lib/factpulse/models/total_gross_amount.rb +1 -1
  428. data/lib/factpulse/models/total_net_amount.rb +1 -1
  429. data/lib/factpulse/models/total_vat_amount.rb +1 -1
  430. data/lib/factpulse/models/transaction_category.rb +1 -1
  431. data/lib/factpulse/models/transmission_type_code.rb +1 -1
  432. data/lib/factpulse/models/unit_net_price.rb +1 -1
  433. data/lib/factpulse/models/unit_of_measure.rb +1 -1
  434. data/lib/factpulse/models/validate_cdar_request.rb +1 -1
  435. data/lib/factpulse/models/validate_cdar_response.rb +3 -3
  436. data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
  437. data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
  438. data/lib/factpulse/models/validation_error.rb +1 -1
  439. data/lib/factpulse/models/validation_error_detail.rb +1 -1
  440. data/lib/factpulse/models/validation_error_response.rb +21 -68
  441. data/lib/factpulse/models/validation_info.rb +1 -1
  442. data/lib/factpulse/models/validation_success_response.rb +1 -1
  443. data/lib/factpulse/models/validation_success_task_result.rb +1 -1
  444. data/lib/factpulse/models/validation_task_status.rb +1 -1
  445. data/lib/factpulse/models/validation_task_status_result.rb +1 -1
  446. data/lib/factpulse/models/vat_accounting_code.rb +1 -1
  447. data/lib/factpulse/models/vat_amount.rb +1 -1
  448. data/lib/factpulse/models/vat_category.rb +1 -1
  449. data/lib/factpulse/models/vat_line.rb +1 -1
  450. data/lib/factpulse/models/vat_point_date_code.rb +1 -1
  451. data/lib/factpulse/models/vat_rate.rb +1 -1
  452. data/lib/factpulse/models/vatex_code_info.rb +1 -1
  453. data/lib/factpulse/models/vatex_codes_response.rb +1 -1
  454. data/lib/factpulse/models/verification_success_response.rb +1 -1
  455. data/lib/factpulse/models/verification_success_task_result.rb +1 -1
  456. data/lib/factpulse/models/verification_typed_task_status.rb +1 -1
  457. data/lib/factpulse/models/verification_typed_task_status_result.rb +1 -1
  458. data/lib/factpulse/models/verified_field_schema.rb +1 -1
  459. data/lib/factpulse/models/webhook_secret_delete_response.rb +1 -1
  460. data/lib/factpulse/models/webhook_secret_generate_response.rb +1 -1
  461. data/lib/factpulse/models/webhook_secret_status_response.rb +1 -1
  462. data/lib/factpulse/version.rb +2 -2
  463. data/lib/factpulse.rb +29 -23
  464. metadata +58 -46
  465. data/docs/AFNORAddressEdit.md +0 -30
  466. data/docs/AFNORAddressPatch.md +0 -30
  467. data/docs/AFNORAddressPut.md +0 -30
  468. data/docs/AFNORCreateDirectoryLineBody.md +0 -20
  469. data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +0 -24
  470. data/docs/AFNORCreateDirectoryLineBodyPeriod.md +0 -20
  471. data/docs/AFNORCreateRoutingCodeBody.md +0 -32
  472. data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +0 -20
  473. data/docs/AFNORDirectoryLinePost201Response.md +0 -22
  474. data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +0 -22
  475. data/docs/AFNORRoutingCodePost201Response.md +0 -22
  476. data/docs/AFNORUpdatePatchDirectoryLineBody.md +0 -18
  477. data/docs/AFNORUpdatePatchRoutingCodeBody.md +0 -24
  478. data/docs/AFNORUpdatePutRoutingCodeBody.md +0 -24
  479. data/docs/AFNORWebhookCallbackContent.md +0 -18
  480. data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
  481. data/lib/factpulse/models/afnor_address_edit.rb +0 -353
  482. data/lib/factpulse/models/afnor_address_patch.rb +0 -386
  483. data/lib/factpulse/models/afnor_address_put.rb +0 -435
  484. data/lib/factpulse/models/afnor_create_routing_code_body.rb +0 -412
  485. data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +0 -289
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -22,10 +22,9 @@ module FactPulse
22
22
  MANAGES_LEGAL_COMMITMENT_CODE = "managesLegalCommitmentCode".freeze
23
23
  ADMINISTRATIVE_STATUS = "administrativeStatus".freeze
24
24
  ADDRESS = "address".freeze
25
- ID_INSTANCE = "idInstance".freeze
26
25
 
27
26
  def self.all_vars
28
- @all_vars ||= [SIRET, ROUTING_IDENTIFIER_TYPE, ROUTING_CODE_NAME, ROUTING_IDENTIFIER, MANAGES_LEGAL_COMMITMENT_CODE, ADMINISTRATIVE_STATUS, ADDRESS, ID_INSTANCE].freeze
27
+ @all_vars ||= [SIRET, ROUTING_IDENTIFIER_TYPE, ROUTING_CODE_NAME, ROUTING_IDENTIFIER, MANAGES_LEGAL_COMMITMENT_CODE, ADMINISTRATIVE_STATUS, ADDRESS].freeze
29
28
  end
30
29
 
31
30
  # Builds the enum from string
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORContainsOperator',
66
+ :'op' => :'AFNORContainsOrStrictOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORContainsOperator',
66
+ :'op' => :'AFNORContainsOrStrictOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -17,7 +17,7 @@ module FactPulse
17
17
  class AFNORRoutingCodeSearchPost200Response < ApiModelBase
18
18
  attr_accessor :search
19
19
 
20
- # The total number of results
20
+ # The total number of results, if -1 is returned then this value is not managed due to performance issue
21
21
  attr_accessor :total_number_of_results
22
22
 
23
23
  attr_accessor :results
@@ -78,6 +78,8 @@ module FactPulse
78
78
 
79
79
  if attributes.key?(:'total_number_of_results')
80
80
  self.total_number_of_results = attributes[:'total_number_of_results']
81
+ else
82
+ self.total_number_of_results = -1
81
83
  end
82
84
 
83
85
  if attributes.key?(:'results')
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -23,18 +23,43 @@ module FactPulse
23
23
  # Allows you to filter the desired fields in the response.
24
24
  attr_accessor :fields
25
25
 
26
+ attr_accessor :include
27
+
26
28
  # Maximum number of results
27
29
  attr_accessor :limit
28
30
 
29
31
  # Number of results to skip
30
32
  attr_accessor :ignore
31
33
 
34
+ class EnumAttributeValidator
35
+ attr_reader :datatype
36
+ attr_reader :allowable_values
37
+
38
+ def initialize(datatype, allowable_values)
39
+ @allowable_values = allowable_values.map do |value|
40
+ case datatype.to_s
41
+ when /Integer/i
42
+ value.to_i
43
+ when /Float/i
44
+ value.to_f
45
+ else
46
+ value
47
+ end
48
+ end
49
+ end
50
+
51
+ def valid?(value)
52
+ !value || allowable_values.include?(value)
53
+ end
54
+ end
55
+
32
56
  # Attribute mapping from ruby-style variable name to JSON key.
33
57
  def self.attribute_map
34
58
  {
35
59
  :'filters' => :'filters',
36
60
  :'sorting' => :'sorting',
37
61
  :'fields' => :'fields',
62
+ :'include' => :'include',
38
63
  :'limit' => :'limit',
39
64
  :'ignore' => :'ignore'
40
65
  }
@@ -56,6 +81,7 @@ module FactPulse
56
81
  :'filters' => :'AFNORSearchDirectoryLineFilters',
57
82
  :'sorting' => :'Array<AFNORSearchDirectoryLineSortingInner>',
58
83
  :'fields' => :'Array<AFNORDirectoryLineField>',
84
+ :'include' => :'Array<String>',
59
85
  :'limit' => :'Integer',
60
86
  :'ignore' => :'Integer'
61
87
  }
@@ -99,6 +125,12 @@ module FactPulse
99
125
  end
100
126
  end
101
127
 
128
+ if attributes.key?(:'include')
129
+ if (value = attributes[:'include']).is_a?(Array)
130
+ self.include = value
131
+ end
132
+ end
133
+
102
134
  if attributes.key?(:'limit')
103
135
  self.limit = attributes[:'limit']
104
136
  end
@@ -131,6 +163,7 @@ module FactPulse
131
163
  filters == o.filters &&
132
164
  sorting == o.sorting &&
133
165
  fields == o.fields &&
166
+ include == o.include &&
134
167
  limit == o.limit &&
135
168
  ignore == o.ignore
136
169
  end
@@ -144,7 +177,7 @@ module FactPulse
144
177
  # Calculates hash code according to all attributes.
145
178
  # @return [Integer] Hash code
146
179
  def hash
147
- [filters, sorting, fields, limit, ignore].hash
180
+ [filters, sorting, fields, include, limit, ignore].hash
148
181
  end
149
182
 
150
183
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORContainsOperator',
66
+ :'op' => :'AFNORContainsOrStrictOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORStrictOperator',
66
+ :'op' => :'AFNORContainsOrStrictOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -18,7 +18,7 @@ module FactPulse
18
18
  class AFNORSearchDirectoryLineSortingInner < ApiModelBase
19
19
  attr_accessor :field
20
20
 
21
- attr_accessor :sorting_order
21
+ attr_accessor :order
22
22
 
23
23
  class EnumAttributeValidator
24
24
  attr_reader :datatype
@@ -46,7 +46,7 @@ module FactPulse
46
46
  def self.attribute_map
47
47
  {
48
48
  :'field' => :'field',
49
- :'sorting_order' => :'sortingOrder'
49
+ :'order' => :'order'
50
50
  }
51
51
  end
52
52
 
@@ -64,7 +64,7 @@ module FactPulse
64
64
  def self.openapi_types
65
65
  {
66
66
  :'field' => :'AFNORDirectoryLineField',
67
- :'sorting_order' => :'AFNORSortingOrder'
67
+ :'order' => :'AFNORSortingOrder'
68
68
  }
69
69
  end
70
70
 
@@ -94,8 +94,8 @@ module FactPulse
94
94
  self.field = attributes[:'field']
95
95
  end
96
96
 
97
- if attributes.key?(:'sorting_order')
98
- self.sorting_order = attributes[:'sorting_order']
97
+ if attributes.key?(:'order')
98
+ self.order = attributes[:'order']
99
99
  end
100
100
  end
101
101
 
@@ -120,7 +120,7 @@ module FactPulse
120
120
  return true if self.equal?(o)
121
121
  self.class == o.class &&
122
122
  field == o.field &&
123
- sorting_order == o.sorting_order
123
+ order == o.order
124
124
  end
125
125
 
126
126
  # @see the `==` method
@@ -132,7 +132,7 @@ module FactPulse
132
132
  # Calculates hash code according to all attributes.
133
133
  # @return [Integer] Hash code
134
134
  def hash
135
- [field, sorting_order].hash
135
+ [field, order].hash
136
136
  end
137
137
 
138
138
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -16,8 +16,12 @@ require 'time'
16
16
  module FactPulse
17
17
  # A set of flows matching criterias, provided into the request
18
18
  class AFNORSearchFlowContent < ApiModelBase
19
+ # Pagination, Maximum number of results that may be returned
19
20
  attr_accessor :limit
20
21
 
22
+ # Pagination management: - If present, says where to start for next page, set nextCursor as the cursor in the next request - If omitted, says that pagination is finished
23
+ attr_accessor :next_cursor
24
+
21
25
  attr_accessor :filters
22
26
 
23
27
  attr_accessor :results
@@ -26,6 +30,7 @@ module FactPulse
26
30
  def self.attribute_map
27
31
  {
28
32
  :'limit' => :'limit',
33
+ :'next_cursor' => :'nextCursor',
29
34
  :'filters' => :'filters',
30
35
  :'results' => :'results'
31
36
  }
@@ -45,6 +50,7 @@ module FactPulse
45
50
  def self.openapi_types
46
51
  {
47
52
  :'limit' => :'Integer',
53
+ :'next_cursor' => :'String',
48
54
  :'filters' => :'AFNORSearchFlowFilters',
49
55
  :'results' => :'Array<AFNORFlow>'
50
56
  }
@@ -74,6 +80,12 @@ module FactPulse
74
80
 
75
81
  if attributes.key?(:'limit')
76
82
  self.limit = attributes[:'limit']
83
+ else
84
+ self.limit = 25
85
+ end
86
+
87
+ if attributes.key?(:'next_cursor')
88
+ self.next_cursor = attributes[:'next_cursor']
77
89
  end
78
90
 
79
91
  if attributes.key?(:'filters')
@@ -92,6 +104,10 @@ module FactPulse
92
104
  def list_invalid_properties
93
105
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
94
106
  invalid_properties = Array.new
107
+ if !@limit.nil? && @limit > 100
108
+ invalid_properties.push('invalid value for "limit", must be smaller than or equal to 100.')
109
+ end
110
+
95
111
  invalid_properties
96
112
  end
97
113
 
@@ -99,15 +115,31 @@ module FactPulse
99
115
  # @return true if the model is valid
100
116
  def valid?
101
117
  warn '[DEPRECATED] the `valid?` method is obsolete'
118
+ return false if !@limit.nil? && @limit > 100
102
119
  true
103
120
  end
104
121
 
122
+ # Custom attribute writer method with validation
123
+ # @param [Object] limit Value to be assigned
124
+ def limit=(limit)
125
+ if limit.nil?
126
+ fail ArgumentError, 'limit cannot be nil'
127
+ end
128
+
129
+ if limit > 100
130
+ fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 100.'
131
+ end
132
+
133
+ @limit = limit
134
+ end
135
+
105
136
  # Checks equality by comparing each attribute.
106
137
  # @param [Object] Object to be compared
107
138
  def ==(o)
108
139
  return true if self.equal?(o)
109
140
  self.class == o.class &&
110
141
  limit == o.limit &&
142
+ next_cursor == o.next_cursor &&
111
143
  filters == o.filters &&
112
144
  results == o.results
113
145
  end
@@ -121,7 +153,7 @@ module FactPulse
121
153
  # Calculates hash code according to all attributes.
122
154
  # @return [Integer] Hash code
123
155
  def hash
124
- [limit, filters, results].hash
156
+ [limit, next_cursor, filters, results].hash
125
157
  end
126
158
 
127
159
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -16,6 +16,7 @@ require 'time'
16
16
  module FactPulse
17
17
  # Filtering criteria, at least one is required
18
18
  class AFNORSearchFlowFilters < ApiModelBase
19
+ # The comparison with current date is strict : updatedAt > updatedAfter
19
20
  attr_accessor :updated_after
20
21
 
21
22
  attr_accessor :updated_before
@@ -151,8 +152,8 @@ module FactPulse
151
152
  def list_invalid_properties
152
153
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
153
154
  invalid_properties = Array.new
154
- if !@tracking_id.nil? && @tracking_id.to_s.length > 36
155
- invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 36.')
155
+ if !@tracking_id.nil? && @tracking_id.to_s.length > 64
156
+ invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 64.')
156
157
  end
157
158
 
158
159
  invalid_properties
@@ -162,7 +163,7 @@ module FactPulse
162
163
  # @return true if the model is valid
163
164
  def valid?
164
165
  warn '[DEPRECATED] the `valid?` method is obsolete'
165
- return false if !@tracking_id.nil? && @tracking_id.to_s.length > 36
166
+ return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
166
167
  true
167
168
  end
168
169
 
@@ -173,8 +174,8 @@ module FactPulse
173
174
  fail ArgumentError, 'tracking_id cannot be nil'
174
175
  end
175
176
 
176
- if tracking_id.to_s.length > 36
177
- fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 36.'
177
+ if tracking_id.to_s.length > 64
178
+ fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 64.'
178
179
  end
179
180
 
180
181
  @tracking_id = tracking_id
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -15,15 +15,19 @@ require 'time'
15
15
 
16
16
  module FactPulse
17
17
  class AFNORSearchFlowParams < ApiModelBase
18
- # Maximum number of results that may be returned
18
+ # Pagination, Maximum number of results that may be returned
19
19
  attr_accessor :limit
20
20
 
21
+ # If cursor is provided, then start search starting from that cursor
22
+ attr_accessor :cursor
23
+
21
24
  attr_accessor :where
22
25
 
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :'limit' => :'limit',
30
+ :'cursor' => :'cursor',
27
31
  :'where' => :'where'
28
32
  }
29
33
  end
@@ -42,6 +46,7 @@ module FactPulse
42
46
  def self.openapi_types
43
47
  {
44
48
  :'limit' => :'Integer',
49
+ :'cursor' => :'String',
45
50
  :'where' => :'AFNORSearchFlowFilters'
46
51
  }
47
52
  end
@@ -74,6 +79,10 @@ module FactPulse
74
79
  self.limit = 25
75
80
  end
76
81
 
82
+ if attributes.key?(:'cursor')
83
+ self.cursor = attributes[:'cursor']
84
+ end
85
+
77
86
  if attributes.key?(:'where')
78
87
  self.where = attributes[:'where']
79
88
  else
@@ -136,6 +145,7 @@ module FactPulse
136
145
  return true if self.equal?(o)
137
146
  self.class == o.class &&
138
147
  limit == o.limit &&
148
+ cursor == o.cursor &&
139
149
  where == o.where
140
150
  end
141
151
 
@@ -148,7 +158,7 @@ module FactPulse
148
158
  # Calculates hash code according to all attributes.
149
159
  # @return [Integer] Hash code
150
160
  def hash
151
- [limit, where].hash
161
+ [limit, cursor, where].hash
152
162
  end
153
163
 
154
164
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORContainsOperator',
66
+ :'op' => :'AFNORContainsOrStrictOrStartWithOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: contact@factpulse.fr
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.21.0-SNAPSHOT
9
+ Generator version: 7.21.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module FactPulse
63
63
  # Attribute type mapping.
64
64
  def self.openapi_types
65
65
  {
66
- :'op' => :'AFNORContainsOperator',
66
+ :'op' => :'AFNORStrictOperator',
67
67
  :'value' => :'String'
68
68
  }
69
69
  end