factpulse 4.0.0 → 4.0.1

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 (354) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -9
  3. data/Gemfile.lock +1 -1
  4. data/docs/AllowanceCharge.md +1 -1
  5. data/docs/{FactureElectroniqueModelsInvoiceTypeCode.md → Amount2.md} +2 -2
  6. data/docs/CDARCycleDeVieApi.md +154 -30
  7. data/docs/ClientActivateResponse.md +22 -0
  8. data/docs/ClientCreateRequest.md +22 -0
  9. data/docs/ClientDetail.md +38 -0
  10. data/docs/ClientListResponse.md +24 -0
  11. data/docs/ClientManagementApi.md +575 -0
  12. data/docs/ClientSummary.md +38 -0
  13. data/docs/ClientUpdateRequest.md +22 -0
  14. data/docs/DownloadsApi.md +0 -144
  15. data/docs/EncaisseeRequest.md +36 -0
  16. data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +15 -0
  17. data/docs/InvoiceInput.md +1 -1
  18. data/docs/PDPConfigResponse.md +44 -0
  19. data/docs/PDPConfigUpdateRequest.md +28 -0
  20. data/docs/PaymentAmountByRate.md +1 -1
  21. data/docs/RefuseeRequest.md +36 -0
  22. data/docs/SecretStatus.md +20 -0
  23. data/docs/SimplifiedCDARResponse.md +26 -0
  24. data/docs/SimplifiedInvoiceData.md +1 -1
  25. data/docs/SubmitCDARRequest.md +9 -1
  26. data/docs/SubmitCDARXMLRequest.md +9 -1
  27. data/factpulse.gemspec +1 -1
  28. data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
  29. data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
  30. data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +1 -1
  31. data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +159 -49
  32. data/lib/factpulse/api/chorus_pro_api.rb +1 -1
  33. data/lib/factpulse/api/client_management_api.rb +565 -0
  34. data/lib/factpulse/api/document_conversion_api.rb +1 -1
  35. data/lib/factpulse/api/downloads_api.rb +1 -130
  36. data/lib/factpulse/api/e_reporting_api.rb +1 -1
  37. data/lib/factpulse/api/health_api.rb +1 -1
  38. data/lib/factpulse/api/invoice_processing_api.rb +1 -1
  39. data/lib/factpulse/api/pdfxml_verification_api.rb +1 -1
  40. data/lib/factpulse/api/user_api.rb +1 -1
  41. data/lib/factpulse/api_client.rb +1 -1
  42. data/lib/factpulse/api_error.rb +1 -1
  43. data/lib/factpulse/api_model_base.rb +1 -1
  44. data/lib/factpulse/configuration.rb +1 -1
  45. data/lib/factpulse/helpers/client.rb +64 -1
  46. data/lib/factpulse/models/acknowledgment_status.rb +1 -1
  47. data/lib/factpulse/models/action_code_info.rb +1 -1
  48. data/lib/factpulse/models/action_codes_response.rb +1 -1
  49. data/lib/factpulse/models/additional_document.rb +1 -1
  50. data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
  51. data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
  52. data/lib/factpulse/models/afnor_address_edit.rb +1 -1
  53. data/lib/factpulse/models/afnor_address_patch.rb +1 -1
  54. data/lib/factpulse/models/afnor_address_put.rb +1 -1
  55. data/lib/factpulse/models/afnor_address_read.rb +1 -1
  56. data/lib/factpulse/models/afnor_algorithm.rb +1 -1
  57. data/lib/factpulse/models/afnor_contains_operator.rb +1 -1
  58. data/lib/factpulse/models/afnor_create_directory_line_body.rb +1 -1
  59. data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +1 -1
  60. data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +1 -1
  61. data/lib/factpulse/models/afnor_create_routing_code_body.rb +1 -1
  62. data/lib/factpulse/models/afnor_credentials.rb +1 -1
  63. data/lib/factpulse/models/afnor_destination.rb +1 -1
  64. data/lib/factpulse/models/afnor_diffusion_status.rb +1 -1
  65. data/lib/factpulse/models/afnor_directory_line_field.rb +1 -1
  66. data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb +1 -1
  67. data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb +1 -1
  68. data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
  69. data/lib/factpulse/models/afnor_directory_line_post201_response.rb +1 -1
  70. data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +1 -1
  71. data/lib/factpulse/models/afnor_entity_type.rb +1 -1
  72. data/lib/factpulse/models/afnor_error.rb +1 -1
  73. data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
  74. data/lib/factpulse/models/afnor_facility_nature.rb +1 -1
  75. data/lib/factpulse/models/afnor_facility_payload_history.rb +1 -1
  76. data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
  77. data/lib/factpulse/models/afnor_facility_payload_included.rb +1 -1
  78. data/lib/factpulse/models/afnor_facility_type.rb +1 -1
  79. data/lib/factpulse/models/afnor_flow.rb +1 -1
  80. data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
  81. data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
  82. data/lib/factpulse/models/afnor_flow_info.rb +1 -1
  83. data/lib/factpulse/models/afnor_flow_profile.rb +1 -1
  84. data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
  85. data/lib/factpulse/models/afnor_flow_type.rb +1 -1
  86. data/lib/factpulse/models/afnor_full_flow_info.rb +1 -1
  87. data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
  88. data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
  89. data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +1 -1
  90. data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +1 -1
  91. data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +1 -1
  92. data/lib/factpulse/models/afnor_platform_status.rb +1 -1
  93. data/lib/factpulse/models/afnor_processing_rule.rb +1 -1
  94. data/lib/factpulse/models/afnor_reason_code.rb +1 -1
  95. data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
  96. data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
  97. data/lib/factpulse/models/afnor_result.rb +1 -1
  98. data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
  99. data/lib/factpulse/models/afnor_routing_code_field.rb +1 -1
  100. data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
  101. data/lib/factpulse/models/afnor_routing_code_post201_response.rb +1 -1
  102. data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
  103. data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
  104. data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
  105. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
  106. data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
  107. data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +1 -1
  108. data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
  109. data/lib/factpulse/models/afnor_search_directory_line.rb +1 -1
  110. data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
  111. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
  112. data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
  113. data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +1 -1
  114. data/lib/factpulse/models/afnor_search_flow_content.rb +1 -1
  115. data/lib/factpulse/models/afnor_search_flow_filters.rb +1 -1
  116. data/lib/factpulse/models/afnor_search_flow_params.rb +1 -1
  117. data/lib/factpulse/models/afnor_search_siren.rb +1 -1
  118. data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
  119. data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
  120. data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +1 -1
  121. data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
  122. data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
  123. data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +1 -1
  124. data/lib/factpulse/models/afnor_search_siret.rb +1 -1
  125. data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
  126. data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +1 -1
  127. data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
  128. data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
  129. data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
  130. data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +1 -1
  131. data/lib/factpulse/models/afnor_search_siret_filters_name.rb +1 -1
  132. data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
  133. data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
  134. data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +1 -1
  135. data/lib/factpulse/models/afnor_siren_field.rb +1 -1
  136. data/lib/factpulse/models/afnor_siren_search_post200_response.rb +1 -1
  137. data/lib/factpulse/models/afnor_siret_field.rb +1 -1
  138. data/lib/factpulse/models/afnor_siret_search_post200_response.rb +1 -1
  139. data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
  140. data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
  141. data/lib/factpulse/models/afnor_update_patch_directory_line_body.rb +1 -1
  142. data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +1 -1
  143. data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +1 -1
  144. data/lib/factpulse/models/afnor_webhook_callback_content.rb +1 -1
  145. data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
  146. data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
  147. data/lib/factpulse/models/allowance_charge.rb +2 -2
  148. data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
  149. data/lib/factpulse/models/allowance_reason_code.rb +1 -1
  150. data/lib/factpulse/models/allowance_total_amount.rb +1 -1
  151. data/lib/factpulse/models/amount.rb +2 -2
  152. data/lib/factpulse/models/amount1.rb +2 -2
  153. data/lib/factpulse/models/amount2.rb +104 -0
  154. data/lib/factpulse/models/amount_due.rb +1 -1
  155. data/lib/factpulse/models/api_error.rb +1 -1
  156. data/lib/factpulse/models/api_profile.rb +1 -1
  157. data/lib/factpulse/models/async_task_status.rb +1 -1
  158. data/lib/factpulse/models/base_amount.rb +1 -1
  159. data/lib/factpulse/models/bounding_box_schema.rb +1 -1
  160. data/lib/factpulse/models/buyercountry.rb +1 -1
  161. data/lib/factpulse/models/celery_status.rb +1 -1
  162. data/lib/factpulse/models/certificate_info_response.rb +1 -1
  163. data/lib/factpulse/models/charge_total_amount.rb +1 -1
  164. data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
  165. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  166. data/lib/factpulse/models/chorus_pro_result.rb +1 -1
  167. data/lib/factpulse/models/{body_submit_cdar_api_v1_cdar_submit_post.rb → client_activate_response.rb} +73 -27
  168. data/lib/factpulse/models/client_create_request.rb +236 -0
  169. data/lib/factpulse/models/client_detail.rb +368 -0
  170. data/lib/factpulse/models/client_list_response.rb +249 -0
  171. data/lib/factpulse/models/client_summary.rb +368 -0
  172. data/lib/factpulse/models/client_update_request.rb +225 -0
  173. data/lib/factpulse/models/contact.rb +1 -1
  174. data/lib/factpulse/models/convert_resume_request.rb +1 -1
  175. data/lib/factpulse/models/convert_success_response.rb +1 -1
  176. data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
  177. data/lib/factpulse/models/country_code.rb +1 -1
  178. data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
  179. data/lib/factpulse/models/create_cdar_request.rb +1 -1
  180. data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
  181. data/lib/factpulse/models/currency.rb +1 -1
  182. data/lib/factpulse/models/currency_code.rb +1 -1
  183. data/lib/factpulse/models/delivery_party.rb +1 -1
  184. data/lib/factpulse/models/destination.rb +1 -1
  185. data/lib/factpulse/models/doc_type.rb +1 -1
  186. data/lib/factpulse/models/document_type_info.rb +1 -1
  187. data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
  188. data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
  189. data/lib/factpulse/models/electronic_address.rb +1 -1
  190. data/lib/factpulse/models/encaisseamount.rb +1 -1
  191. data/lib/factpulse/models/encaisseamount1.rb +1 -1
  192. data/lib/factpulse/models/encaissee_request.rb +293 -0
  193. data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
  194. data/lib/factpulse/models/error_level.rb +1 -1
  195. data/lib/factpulse/models/error_source.rb +1 -1
  196. data/lib/factpulse/models/extraction_info.rb +1 -1
  197. data/lib/factpulse/models/factur_x_invoice.rb +1 -1
  198. data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
  199. data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
  200. data/lib/factpulse/models/{facture_electronique_models_invoice_type_code.rb → facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb} +10 -21
  201. data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +1 -1
  202. data/lib/factpulse/models/field_status.rb +1 -1
  203. data/lib/factpulse/models/file_info.rb +1 -1
  204. data/lib/factpulse/models/files_info.rb +1 -1
  205. data/lib/factpulse/models/flow_direction.rb +1 -1
  206. data/lib/factpulse/models/flow_profile.rb +1 -1
  207. data/lib/factpulse/models/flow_summary.rb +1 -1
  208. data/lib/factpulse/models/flow_syntax.rb +1 -1
  209. data/lib/factpulse/models/flow_type.rb +1 -1
  210. data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
  211. data/lib/factpulse/models/generate_cdar_response.rb +1 -1
  212. data/lib/factpulse/models/generate_certificate_request.rb +1 -1
  213. data/lib/factpulse/models/generate_certificate_response.rb +1 -1
  214. data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
  215. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  216. data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
  217. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  218. data/lib/factpulse/models/get_invoice_response.rb +1 -1
  219. data/lib/factpulse/models/get_structure_request.rb +1 -1
  220. data/lib/factpulse/models/get_structure_response.rb +1 -1
  221. data/lib/factpulse/models/global_allowance_amount.rb +1 -1
  222. data/lib/factpulse/models/gross_unit_price.rb +1 -1
  223. data/lib/factpulse/models/http_validation_error.rb +1 -1
  224. data/lib/factpulse/models/incoming_invoice.rb +1 -1
  225. data/lib/factpulse/models/incoming_supplier.rb +1 -1
  226. data/lib/factpulse/models/invoice_format.rb +1 -1
  227. data/lib/factpulse/models/invoice_input.rb +2 -2
  228. data/lib/factpulse/models/invoice_line.rb +1 -1
  229. data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
  230. data/lib/factpulse/models/invoice_note.rb +1 -1
  231. data/lib/factpulse/models/invoice_payment_input.rb +1 -1
  232. data/lib/factpulse/models/invoice_references.rb +1 -1
  233. data/lib/factpulse/models/invoice_status.rb +1 -1
  234. data/lib/factpulse/models/invoice_totals.rb +1 -1
  235. data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
  236. data/lib/factpulse/models/invoice_type_code.rb +18 -7
  237. data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
  238. data/lib/factpulse/models/invoicing_framework.rb +1 -1
  239. data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
  240. data/lib/factpulse/models/line_net_amount.rb +1 -1
  241. data/lib/factpulse/models/line_sub_type.rb +1 -1
  242. data/lib/factpulse/models/line_total_amount.rb +1 -1
  243. data/lib/factpulse/models/location_inner.rb +1 -1
  244. data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
  245. data/lib/factpulse/models/manual_rate.rb +1 -1
  246. data/lib/factpulse/models/manual_vat_rate.rb +1 -1
  247. data/lib/factpulse/models/missing_field.rb +1 -1
  248. data/lib/factpulse/models/operation_nature.rb +1 -1
  249. data/lib/factpulse/models/output_format.rb +1 -1
  250. data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
  251. data/lib/factpulse/models/payee.rb +1 -1
  252. data/lib/factpulse/models/payment_amount_by_rate.rb +2 -2
  253. data/lib/factpulse/models/payment_card.rb +1 -1
  254. data/lib/factpulse/models/payment_means.rb +1 -1
  255. data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
  256. data/lib/factpulse/models/pdp_config_response.rb +296 -0
  257. data/lib/factpulse/models/pdp_config_update_request.rb +271 -0
  258. data/lib/factpulse/models/pdp_credentials.rb +1 -1
  259. data/lib/factpulse/models/percentage.rb +1 -1
  260. data/lib/factpulse/models/postal_address.rb +1 -1
  261. data/lib/factpulse/models/price_allowance_amount.rb +1 -1
  262. data/lib/factpulse/models/price_basis_quantity.rb +1 -1
  263. data/lib/factpulse/models/processing_options.rb +1 -1
  264. data/lib/factpulse/models/processing_rule.rb +1 -1
  265. data/lib/factpulse/models/product_characteristic.rb +1 -1
  266. data/lib/factpulse/models/product_classification.rb +1 -1
  267. data/lib/factpulse/models/quantity.rb +1 -1
  268. data/lib/factpulse/models/rate.rb +1 -1
  269. data/lib/factpulse/models/rate1.rb +1 -1
  270. data/lib/factpulse/models/reason_code_info.rb +1 -1
  271. data/lib/factpulse/models/reason_codes_response.rb +1 -1
  272. data/lib/factpulse/models/recipient.rb +1 -1
  273. data/lib/factpulse/models/recipient_input.rb +1 -1
  274. data/lib/factpulse/models/refusee_request.rb +292 -0
  275. data/lib/factpulse/models/report_period.rb +1 -1
  276. data/lib/factpulse/models/report_sender.rb +1 -1
  277. data/lib/factpulse/models/rounding_amount.rb +1 -1
  278. data/lib/factpulse/models/schematron_validation_error.rb +1 -1
  279. data/lib/factpulse/models/scheme_id.rb +1 -1
  280. data/lib/factpulse/models/search_flow_request.rb +1 -1
  281. data/lib/factpulse/models/search_flow_response.rb +1 -1
  282. data/lib/factpulse/models/search_services_response.rb +1 -1
  283. data/lib/factpulse/models/search_structure_request.rb +1 -1
  284. data/lib/factpulse/models/search_structure_response.rb +1 -1
  285. data/lib/factpulse/models/{body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb → secret_status.rb} +46 -27
  286. data/lib/factpulse/models/sellercountry.rb +1 -1
  287. data/lib/factpulse/models/signature_info.rb +1 -1
  288. data/lib/factpulse/models/signature_info_api.rb +1 -1
  289. data/lib/factpulse/models/signature_parameters.rb +1 -1
  290. data/lib/factpulse/models/simplified_cdar_response.rb +274 -0
  291. data/lib/factpulse/models/simplified_invoice_data.rb +2 -2
  292. data/lib/factpulse/models/status_code_info.rb +1 -1
  293. data/lib/factpulse/models/status_codes_response.rb +1 -1
  294. data/lib/factpulse/models/structure_info.rb +1 -1
  295. data/lib/factpulse/models/structure_parameters.rb +1 -1
  296. data/lib/factpulse/models/structure_service.rb +1 -1
  297. data/lib/factpulse/models/submission_mode.rb +1 -1
  298. data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
  299. data/lib/factpulse/models/submit_cdar_request.rb +45 -5
  300. data/lib/factpulse/models/submit_cdar_response.rb +1 -1
  301. data/lib/factpulse/models/submit_cdarxml_request.rb +46 -6
  302. data/lib/factpulse/models/submit_complete_invoice_request.rb +1 -1
  303. data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
  304. data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
  305. data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
  306. data/lib/factpulse/models/submit_flow_request.rb +1 -1
  307. data/lib/factpulse/models/submit_flow_response.rb +1 -1
  308. data/lib/factpulse/models/submit_gross_amount.rb +1 -1
  309. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  310. data/lib/factpulse/models/submit_invoice_response.rb +1 -1
  311. data/lib/factpulse/models/submit_net_amount.rb +1 -1
  312. data/lib/factpulse/models/submit_vat_amount.rb +1 -1
  313. data/lib/factpulse/models/supplementary_attachment.rb +1 -1
  314. data/lib/factpulse/models/supplier.rb +1 -1
  315. data/lib/factpulse/models/task_response.rb +1 -1
  316. data/lib/factpulse/models/tax_breakdown_input.rb +1 -1
  317. data/lib/factpulse/models/tax_due_date_type.rb +1 -1
  318. data/lib/factpulse/models/tax_representative.rb +1 -1
  319. data/lib/factpulse/models/taxable_amount.rb +1 -1
  320. data/lib/factpulse/models/taxableamount.rb +1 -1
  321. data/lib/factpulse/models/taxamount.rb +1 -1
  322. data/lib/factpulse/models/taxamount1.rb +1 -1
  323. data/lib/factpulse/models/taxamount2.rb +1 -1
  324. data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
  325. data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
  326. data/lib/factpulse/models/total_gross_amount.rb +1 -1
  327. data/lib/factpulse/models/total_net_amount.rb +1 -1
  328. data/lib/factpulse/models/total_vat_amount.rb +1 -1
  329. data/lib/factpulse/models/transaction_category.rb +1 -1
  330. data/lib/factpulse/models/transmission_type_code.rb +1 -1
  331. data/lib/factpulse/models/unit_net_price.rb +1 -1
  332. data/lib/factpulse/models/unit_of_measure.rb +1 -1
  333. data/lib/factpulse/models/validate_cdar_request.rb +1 -1
  334. data/lib/factpulse/models/validate_cdar_response.rb +1 -1
  335. data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
  336. data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
  337. data/lib/factpulse/models/validation_error.rb +1 -1
  338. data/lib/factpulse/models/validation_error_detail.rb +1 -1
  339. data/lib/factpulse/models/validation_error_response.rb +1 -1
  340. data/lib/factpulse/models/validation_info.rb +1 -1
  341. data/lib/factpulse/models/validation_success_response.rb +1 -1
  342. data/lib/factpulse/models/vat_accounting_code.rb +1 -1
  343. data/lib/factpulse/models/vat_amount.rb +1 -1
  344. data/lib/factpulse/models/vat_category.rb +1 -1
  345. data/lib/factpulse/models/vat_line.rb +1 -1
  346. data/lib/factpulse/models/vat_point_date_code.rb +1 -1
  347. data/lib/factpulse/models/vat_rate.rb +1 -1
  348. data/lib/factpulse/models/verification_success_response.rb +1 -1
  349. data/lib/factpulse/models/verified_field_schema.rb +1 -1
  350. data/lib/factpulse/version.rb +2 -2
  351. data/lib/factpulse.rb +16 -4
  352. metadata +32 -8
  353. data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +0 -20
  354. data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +0 -20
@@ -0,0 +1,575 @@
1
+ # FactPulse::ClientManagementApi
2
+
3
+ All URIs are relative to *https://factpulse.fr*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**activate_client_api_v1_clients_uid_activer_post**](ClientManagementApi.md#activate_client_api_v1_clients_uid_activer_post) | **POST** /api/v1/clients/{uid}/activer | Activate a client |
8
+ | [**create_client_api_v1_clients_post**](ClientManagementApi.md#create_client_api_v1_clients_post) | **POST** /api/v1/clients | Create a client |
9
+ | [**deactivate_client_api_v1_clients_uid_desactiver_post**](ClientManagementApi.md#deactivate_client_api_v1_clients_uid_desactiver_post) | **POST** /api/v1/clients/{uid}/desactiver | Deactivate a client |
10
+ | [**get_client_api_v1_clients_uid_get**](ClientManagementApi.md#get_client_api_v1_clients_uid_get) | **GET** /api/v1/clients/{uid} | Get client details |
11
+ | [**get_pdp_config_api_v1_clients_uid_pdp_config_get**](ClientManagementApi.md#get_pdp_config_api_v1_clients_uid_pdp_config_get) | **GET** /api/v1/clients/{uid}/pdp-config | Get client PDP configuration |
12
+ | [**list_clients_api_v1_clients_get**](ClientManagementApi.md#list_clients_api_v1_clients_get) | **GET** /api/v1/clients | List clients |
13
+ | [**update_client_api_v1_clients_uid_patch**](ClientManagementApi.md#update_client_api_v1_clients_uid_patch) | **PATCH** /api/v1/clients/{uid} | Update a client |
14
+ | [**update_pdp_config_api_v1_clients_uid_pdp_config_put**](ClientManagementApi.md#update_pdp_config_api_v1_clients_uid_pdp_config_put) | **PUT** /api/v1/clients/{uid}/pdp-config | Configure client PDP |
15
+
16
+
17
+ ## activate_client_api_v1_clients_uid_activer_post
18
+
19
+ > <ClientActivateResponse> activate_client_api_v1_clients_uid_activer_post(uid)
20
+
21
+ Activate a client
22
+
23
+ Activate a deactivated client. **Scope**: Client level (JWT with client_uid that must match {uid})
24
+
25
+ ### Examples
26
+
27
+ ```ruby
28
+ require 'time'
29
+ require 'factpulse'
30
+ # setup authorization
31
+ FactPulse.configure do |config|
32
+ # Configure Bearer authorization: HTTPBearer
33
+ config.access_token = 'YOUR_BEARER_TOKEN'
34
+ end
35
+
36
+ api_instance = FactPulse::ClientManagementApi.new
37
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
38
+
39
+ begin
40
+ # Activate a client
41
+ result = api_instance.activate_client_api_v1_clients_uid_activer_post(uid)
42
+ p result
43
+ rescue FactPulse::ApiError => e
44
+ puts "Error when calling ClientManagementApi->activate_client_api_v1_clients_uid_activer_post: #{e}"
45
+ end
46
+ ```
47
+
48
+ #### Using the activate_client_api_v1_clients_uid_activer_post_with_http_info variant
49
+
50
+ This returns an Array which contains the response data, status code and headers.
51
+
52
+ > <Array(<ClientActivateResponse>, Integer, Hash)> activate_client_api_v1_clients_uid_activer_post_with_http_info(uid)
53
+
54
+ ```ruby
55
+ begin
56
+ # Activate a client
57
+ data, status_code, headers = api_instance.activate_client_api_v1_clients_uid_activer_post_with_http_info(uid)
58
+ p status_code # => 2xx
59
+ p headers # => { ... }
60
+ p data # => <ClientActivateResponse>
61
+ rescue FactPulse::ApiError => e
62
+ puts "Error when calling ClientManagementApi->activate_client_api_v1_clients_uid_activer_post_with_http_info: #{e}"
63
+ end
64
+ ```
65
+
66
+ ### Parameters
67
+
68
+ | Name | Type | Description | Notes |
69
+ | ---- | ---- | ----------- | ----- |
70
+ | **uid** | **String** | | |
71
+
72
+ ### Return type
73
+
74
+ [**ClientActivateResponse**](ClientActivateResponse.md)
75
+
76
+ ### Authorization
77
+
78
+ [HTTPBearer](../README.md#HTTPBearer)
79
+
80
+ ### HTTP request headers
81
+
82
+ - **Content-Type**: Not defined
83
+ - **Accept**: application/json
84
+
85
+
86
+ ## create_client_api_v1_clients_post
87
+
88
+ > <ClientDetail> create_client_api_v1_clients_post(client_create_request)
89
+
90
+ Create a client
91
+
92
+ Create a new client for the account. **Scope**: Account level (JWT without client_uid) **Fields**: - `name`: Client name (required) - `description`: Optional description - `siret`: Optional SIRET (14 digits)
93
+
94
+ ### Examples
95
+
96
+ ```ruby
97
+ require 'time'
98
+ require 'factpulse'
99
+ # setup authorization
100
+ FactPulse.configure do |config|
101
+ # Configure Bearer authorization: HTTPBearer
102
+ config.access_token = 'YOUR_BEARER_TOKEN'
103
+ end
104
+
105
+ api_instance = FactPulse::ClientManagementApi.new
106
+ client_create_request = FactPulse::ClientCreateRequest.new({name: 'name_example'}) # ClientCreateRequest |
107
+
108
+ begin
109
+ # Create a client
110
+ result = api_instance.create_client_api_v1_clients_post(client_create_request)
111
+ p result
112
+ rescue FactPulse::ApiError => e
113
+ puts "Error when calling ClientManagementApi->create_client_api_v1_clients_post: #{e}"
114
+ end
115
+ ```
116
+
117
+ #### Using the create_client_api_v1_clients_post_with_http_info variant
118
+
119
+ This returns an Array which contains the response data, status code and headers.
120
+
121
+ > <Array(<ClientDetail>, Integer, Hash)> create_client_api_v1_clients_post_with_http_info(client_create_request)
122
+
123
+ ```ruby
124
+ begin
125
+ # Create a client
126
+ data, status_code, headers = api_instance.create_client_api_v1_clients_post_with_http_info(client_create_request)
127
+ p status_code # => 2xx
128
+ p headers # => { ... }
129
+ p data # => <ClientDetail>
130
+ rescue FactPulse::ApiError => e
131
+ puts "Error when calling ClientManagementApi->create_client_api_v1_clients_post_with_http_info: #{e}"
132
+ end
133
+ ```
134
+
135
+ ### Parameters
136
+
137
+ | Name | Type | Description | Notes |
138
+ | ---- | ---- | ----------- | ----- |
139
+ | **client_create_request** | [**ClientCreateRequest**](ClientCreateRequest.md) | | |
140
+
141
+ ### Return type
142
+
143
+ [**ClientDetail**](ClientDetail.md)
144
+
145
+ ### Authorization
146
+
147
+ [HTTPBearer](../README.md#HTTPBearer)
148
+
149
+ ### HTTP request headers
150
+
151
+ - **Content-Type**: application/json
152
+ - **Accept**: application/json
153
+
154
+
155
+ ## deactivate_client_api_v1_clients_uid_desactiver_post
156
+
157
+ > <ClientActivateResponse> deactivate_client_api_v1_clients_uid_desactiver_post(uid)
158
+
159
+ Deactivate a client
160
+
161
+ Deactivate an active client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Note**: A deactivated client cannot be used for API calls (AFNOR, Chorus Pro, etc.).
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'factpulse'
168
+ # setup authorization
169
+ FactPulse.configure do |config|
170
+ # Configure Bearer authorization: HTTPBearer
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = FactPulse::ClientManagementApi.new
175
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
176
+
177
+ begin
178
+ # Deactivate a client
179
+ result = api_instance.deactivate_client_api_v1_clients_uid_desactiver_post(uid)
180
+ p result
181
+ rescue FactPulse::ApiError => e
182
+ puts "Error when calling ClientManagementApi->deactivate_client_api_v1_clients_uid_desactiver_post: #{e}"
183
+ end
184
+ ```
185
+
186
+ #### Using the deactivate_client_api_v1_clients_uid_desactiver_post_with_http_info variant
187
+
188
+ This returns an Array which contains the response data, status code and headers.
189
+
190
+ > <Array(<ClientActivateResponse>, Integer, Hash)> deactivate_client_api_v1_clients_uid_desactiver_post_with_http_info(uid)
191
+
192
+ ```ruby
193
+ begin
194
+ # Deactivate a client
195
+ data, status_code, headers = api_instance.deactivate_client_api_v1_clients_uid_desactiver_post_with_http_info(uid)
196
+ p status_code # => 2xx
197
+ p headers # => { ... }
198
+ p data # => <ClientActivateResponse>
199
+ rescue FactPulse::ApiError => e
200
+ puts "Error when calling ClientManagementApi->deactivate_client_api_v1_clients_uid_desactiver_post_with_http_info: #{e}"
201
+ end
202
+ ```
203
+
204
+ ### Parameters
205
+
206
+ | Name | Type | Description | Notes |
207
+ | ---- | ---- | ----------- | ----- |
208
+ | **uid** | **String** | | |
209
+
210
+ ### Return type
211
+
212
+ [**ClientActivateResponse**](ClientActivateResponse.md)
213
+
214
+ ### Authorization
215
+
216
+ [HTTPBearer](../README.md#HTTPBearer)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: Not defined
221
+ - **Accept**: application/json
222
+
223
+
224
+ ## get_client_api_v1_clients_uid_get
225
+
226
+ > <ClientDetail> get_client_api_v1_clients_uid_get(uid)
227
+
228
+ Get client details
229
+
230
+ Get details of a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Security**: If the JWT contains a client_uid, it must match the {uid} in the URL, otherwise a 403 error is returned.
231
+
232
+ ### Examples
233
+
234
+ ```ruby
235
+ require 'time'
236
+ require 'factpulse'
237
+ # setup authorization
238
+ FactPulse.configure do |config|
239
+ # Configure Bearer authorization: HTTPBearer
240
+ config.access_token = 'YOUR_BEARER_TOKEN'
241
+ end
242
+
243
+ api_instance = FactPulse::ClientManagementApi.new
244
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
245
+
246
+ begin
247
+ # Get client details
248
+ result = api_instance.get_client_api_v1_clients_uid_get(uid)
249
+ p result
250
+ rescue FactPulse::ApiError => e
251
+ puts "Error when calling ClientManagementApi->get_client_api_v1_clients_uid_get: #{e}"
252
+ end
253
+ ```
254
+
255
+ #### Using the get_client_api_v1_clients_uid_get_with_http_info variant
256
+
257
+ This returns an Array which contains the response data, status code and headers.
258
+
259
+ > <Array(<ClientDetail>, Integer, Hash)> get_client_api_v1_clients_uid_get_with_http_info(uid)
260
+
261
+ ```ruby
262
+ begin
263
+ # Get client details
264
+ data, status_code, headers = api_instance.get_client_api_v1_clients_uid_get_with_http_info(uid)
265
+ p status_code # => 2xx
266
+ p headers # => { ... }
267
+ p data # => <ClientDetail>
268
+ rescue FactPulse::ApiError => e
269
+ puts "Error when calling ClientManagementApi->get_client_api_v1_clients_uid_get_with_http_info: #{e}"
270
+ end
271
+ ```
272
+
273
+ ### Parameters
274
+
275
+ | Name | Type | Description | Notes |
276
+ | ---- | ---- | ----------- | ----- |
277
+ | **uid** | **String** | | |
278
+
279
+ ### Return type
280
+
281
+ [**ClientDetail**](ClientDetail.md)
282
+
283
+ ### Authorization
284
+
285
+ [HTTPBearer](../README.md#HTTPBearer)
286
+
287
+ ### HTTP request headers
288
+
289
+ - **Content-Type**: Not defined
290
+ - **Accept**: application/json
291
+
292
+
293
+ ## get_pdp_config_api_v1_clients_uid_pdp_config_get
294
+
295
+ > <PDPConfigResponse> get_pdp_config_api_v1_clients_uid_pdp_config_get(uid)
296
+
297
+ Get client PDP configuration
298
+
299
+ Get the PDP (PA/PDP) configuration for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Security**: The client secret is never returned. Only a status (`secretStatus`) indicates whether a secret is configured. **Response**: - If configured: all config details (URLs, client_id, secret status) - If not configured: `isConfigured: false` with a message
300
+
301
+ ### Examples
302
+
303
+ ```ruby
304
+ require 'time'
305
+ require 'factpulse'
306
+ # setup authorization
307
+ FactPulse.configure do |config|
308
+ # Configure Bearer authorization: HTTPBearer
309
+ config.access_token = 'YOUR_BEARER_TOKEN'
310
+ end
311
+
312
+ api_instance = FactPulse::ClientManagementApi.new
313
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
314
+
315
+ begin
316
+ # Get client PDP configuration
317
+ result = api_instance.get_pdp_config_api_v1_clients_uid_pdp_config_get(uid)
318
+ p result
319
+ rescue FactPulse::ApiError => e
320
+ puts "Error when calling ClientManagementApi->get_pdp_config_api_v1_clients_uid_pdp_config_get: #{e}"
321
+ end
322
+ ```
323
+
324
+ #### Using the get_pdp_config_api_v1_clients_uid_pdp_config_get_with_http_info variant
325
+
326
+ This returns an Array which contains the response data, status code and headers.
327
+
328
+ > <Array(<PDPConfigResponse>, Integer, Hash)> get_pdp_config_api_v1_clients_uid_pdp_config_get_with_http_info(uid)
329
+
330
+ ```ruby
331
+ begin
332
+ # Get client PDP configuration
333
+ data, status_code, headers = api_instance.get_pdp_config_api_v1_clients_uid_pdp_config_get_with_http_info(uid)
334
+ p status_code # => 2xx
335
+ p headers # => { ... }
336
+ p data # => <PDPConfigResponse>
337
+ rescue FactPulse::ApiError => e
338
+ puts "Error when calling ClientManagementApi->get_pdp_config_api_v1_clients_uid_pdp_config_get_with_http_info: #{e}"
339
+ end
340
+ ```
341
+
342
+ ### Parameters
343
+
344
+ | Name | Type | Description | Notes |
345
+ | ---- | ---- | ----------- | ----- |
346
+ | **uid** | **String** | | |
347
+
348
+ ### Return type
349
+
350
+ [**PDPConfigResponse**](PDPConfigResponse.md)
351
+
352
+ ### Authorization
353
+
354
+ [HTTPBearer](../README.md#HTTPBearer)
355
+
356
+ ### HTTP request headers
357
+
358
+ - **Content-Type**: Not defined
359
+ - **Accept**: application/json
360
+
361
+
362
+ ## list_clients_api_v1_clients_get
363
+
364
+ > <ClientListResponse> list_clients_api_v1_clients_get(opts)
365
+
366
+ List clients
367
+
368
+ Paginated list of clients for the account. **Scope**: Account level (JWT without client_uid) **Pagination**: - `page`: Page number (default: 1) - `pageSize`: Page size (default: 20, max: 100)
369
+
370
+ ### Examples
371
+
372
+ ```ruby
373
+ require 'time'
374
+ require 'factpulse'
375
+ # setup authorization
376
+ FactPulse.configure do |config|
377
+ # Configure Bearer authorization: HTTPBearer
378
+ config.access_token = 'YOUR_BEARER_TOKEN'
379
+ end
380
+
381
+ api_instance = FactPulse::ClientManagementApi.new
382
+ opts = {
383
+ page: 56, # Integer | Page number
384
+ page_size: 56 # Integer | Page size
385
+ }
386
+
387
+ begin
388
+ # List clients
389
+ result = api_instance.list_clients_api_v1_clients_get(opts)
390
+ p result
391
+ rescue FactPulse::ApiError => e
392
+ puts "Error when calling ClientManagementApi->list_clients_api_v1_clients_get: #{e}"
393
+ end
394
+ ```
395
+
396
+ #### Using the list_clients_api_v1_clients_get_with_http_info variant
397
+
398
+ This returns an Array which contains the response data, status code and headers.
399
+
400
+ > <Array(<ClientListResponse>, Integer, Hash)> list_clients_api_v1_clients_get_with_http_info(opts)
401
+
402
+ ```ruby
403
+ begin
404
+ # List clients
405
+ data, status_code, headers = api_instance.list_clients_api_v1_clients_get_with_http_info(opts)
406
+ p status_code # => 2xx
407
+ p headers # => { ... }
408
+ p data # => <ClientListResponse>
409
+ rescue FactPulse::ApiError => e
410
+ puts "Error when calling ClientManagementApi->list_clients_api_v1_clients_get_with_http_info: #{e}"
411
+ end
412
+ ```
413
+
414
+ ### Parameters
415
+
416
+ | Name | Type | Description | Notes |
417
+ | ---- | ---- | ----------- | ----- |
418
+ | **page** | **Integer** | Page number | [optional][default to 1] |
419
+ | **page_size** | **Integer** | Page size | [optional][default to 20] |
420
+
421
+ ### Return type
422
+
423
+ [**ClientListResponse**](ClientListResponse.md)
424
+
425
+ ### Authorization
426
+
427
+ [HTTPBearer](../README.md#HTTPBearer)
428
+
429
+ ### HTTP request headers
430
+
431
+ - **Content-Type**: Not defined
432
+ - **Accept**: application/json
433
+
434
+
435
+ ## update_client_api_v1_clients_uid_patch
436
+
437
+ > <ClientDetail> update_client_api_v1_clients_uid_patch(uid, client_update_request)
438
+
439
+ Update a client
440
+
441
+ Update client information (partial update). **Scope**: Client level (JWT with client_uid that must match {uid}) **Updatable fields**: - `name`: Client name - `description`: Description - `siret`: SIRET (14 digits) Only provided fields are updated.
442
+
443
+ ### Examples
444
+
445
+ ```ruby
446
+ require 'time'
447
+ require 'factpulse'
448
+ # setup authorization
449
+ FactPulse.configure do |config|
450
+ # Configure Bearer authorization: HTTPBearer
451
+ config.access_token = 'YOUR_BEARER_TOKEN'
452
+ end
453
+
454
+ api_instance = FactPulse::ClientManagementApi.new
455
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
456
+ client_update_request = FactPulse::ClientUpdateRequest.new # ClientUpdateRequest |
457
+
458
+ begin
459
+ # Update a client
460
+ result = api_instance.update_client_api_v1_clients_uid_patch(uid, client_update_request)
461
+ p result
462
+ rescue FactPulse::ApiError => e
463
+ puts "Error when calling ClientManagementApi->update_client_api_v1_clients_uid_patch: #{e}"
464
+ end
465
+ ```
466
+
467
+ #### Using the update_client_api_v1_clients_uid_patch_with_http_info variant
468
+
469
+ This returns an Array which contains the response data, status code and headers.
470
+
471
+ > <Array(<ClientDetail>, Integer, Hash)> update_client_api_v1_clients_uid_patch_with_http_info(uid, client_update_request)
472
+
473
+ ```ruby
474
+ begin
475
+ # Update a client
476
+ data, status_code, headers = api_instance.update_client_api_v1_clients_uid_patch_with_http_info(uid, client_update_request)
477
+ p status_code # => 2xx
478
+ p headers # => { ... }
479
+ p data # => <ClientDetail>
480
+ rescue FactPulse::ApiError => e
481
+ puts "Error when calling ClientManagementApi->update_client_api_v1_clients_uid_patch_with_http_info: #{e}"
482
+ end
483
+ ```
484
+
485
+ ### Parameters
486
+
487
+ | Name | Type | Description | Notes |
488
+ | ---- | ---- | ----------- | ----- |
489
+ | **uid** | **String** | | |
490
+ | **client_update_request** | [**ClientUpdateRequest**](ClientUpdateRequest.md) | | |
491
+
492
+ ### Return type
493
+
494
+ [**ClientDetail**](ClientDetail.md)
495
+
496
+ ### Authorization
497
+
498
+ [HTTPBearer](../README.md#HTTPBearer)
499
+
500
+ ### HTTP request headers
501
+
502
+ - **Content-Type**: application/json
503
+ - **Accept**: application/json
504
+
505
+
506
+ ## update_pdp_config_api_v1_clients_uid_pdp_config_put
507
+
508
+ > <PDPConfigResponse> update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request)
509
+
510
+ Configure client PDP
511
+
512
+ Configure or update the PDP (PA/PDP) configuration for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Required fields**: - `flowServiceUrl`: PDP Flow Service URL - `tokenUrl`: PDP OAuth token URL - `oauthClientId`: OAuth Client ID - `clientSecret`: OAuth Client Secret (sent but NEVER returned) **Optional fields**: - `isActive`: Enable/disable the config (default: true) - `modeSandbox`: Sandbox mode (default: false) **Security**: The `clientSecret` is stored encrypted on Django side and is never returned in API responses.
513
+
514
+ ### Examples
515
+
516
+ ```ruby
517
+ require 'time'
518
+ require 'factpulse'
519
+ # setup authorization
520
+ FactPulse.configure do |config|
521
+ # Configure Bearer authorization: HTTPBearer
522
+ config.access_token = 'YOUR_BEARER_TOKEN'
523
+ end
524
+
525
+ api_instance = FactPulse::ClientManagementApi.new
526
+ uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
527
+ pdp_config_update_request = FactPulse::PDPConfigUpdateRequest.new({flow_service_url: 'flow_service_url_example', token_url: 'token_url_example', oauth_client_id: 'oauth_client_id_example', client_secret: 'client_secret_example'}) # PDPConfigUpdateRequest |
528
+
529
+ begin
530
+ # Configure client PDP
531
+ result = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request)
532
+ p result
533
+ rescue FactPulse::ApiError => e
534
+ puts "Error when calling ClientManagementApi->update_pdp_config_api_v1_clients_uid_pdp_config_put: #{e}"
535
+ end
536
+ ```
537
+
538
+ #### Using the update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info variant
539
+
540
+ This returns an Array which contains the response data, status code and headers.
541
+
542
+ > <Array(<PDPConfigResponse>, Integer, Hash)> update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request)
543
+
544
+ ```ruby
545
+ begin
546
+ # Configure client PDP
547
+ data, status_code, headers = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request)
548
+ p status_code # => 2xx
549
+ p headers # => { ... }
550
+ p data # => <PDPConfigResponse>
551
+ rescue FactPulse::ApiError => e
552
+ puts "Error when calling ClientManagementApi->update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info: #{e}"
553
+ end
554
+ ```
555
+
556
+ ### Parameters
557
+
558
+ | Name | Type | Description | Notes |
559
+ | ---- | ---- | ----------- | ----- |
560
+ | **uid** | **String** | | |
561
+ | **pdp_config_update_request** | [**PDPConfigUpdateRequest**](PDPConfigUpdateRequest.md) | | |
562
+
563
+ ### Return type
564
+
565
+ [**PDPConfigResponse**](PDPConfigResponse.md)
566
+
567
+ ### Authorization
568
+
569
+ [HTTPBearer](../README.md#HTTPBearer)
570
+
571
+ ### HTTP request headers
572
+
573
+ - **Content-Type**: application/json
574
+ - **Accept**: application/json
575
+
@@ -0,0 +1,38 @@
1
+ # FactPulse::ClientSummary
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **uid** | **String** | Unique client identifier | |
8
+ | **name** | **String** | Client name | |
9
+ | **siret** | **String** | | [optional] |
10
+ | **description** | **String** | | [optional] |
11
+ | **is_active** | **Boolean** | Whether the client is active | |
12
+ | **has_config_pdp** | **Boolean** | Whether PDP config exists | |
13
+ | **pdp_is_active** | **Boolean** | | [optional] |
14
+ | **pdp_is_mock** | **Boolean** | | [optional] |
15
+ | **has_config_chorus** | **Boolean** | Whether Chorus Pro config exists | |
16
+ | **created_at** | **Time** | Creation date | |
17
+ | **updated_at** | **Time** | Last update date | |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'factpulse'
23
+
24
+ instance = FactPulse::ClientSummary.new(
25
+ uid: null,
26
+ name: null,
27
+ siret: null,
28
+ description: null,
29
+ is_active: null,
30
+ has_config_pdp: null,
31
+ pdp_is_active: null,
32
+ pdp_is_mock: null,
33
+ has_config_chorus: null,
34
+ created_at: null,
35
+ updated_at: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,22 @@
1
+ # FactPulse::ClientUpdateRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **description** | **String** | | [optional] |
9
+ | **siret** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::ClientUpdateRequest.new(
17
+ name: null,
18
+ description: null,
19
+ siret: null
20
+ )
21
+ ```
22
+