@factpulse/sdk 2.0.11 → 2.0.49

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 (302) hide show
  1. package/.github/SETUP_GITHUB_ACTIONS.md +70 -8
  2. package/.github/workflows/publish-npm.yml +5 -7
  3. package/.openapi-generator/FILES +58 -26
  4. package/CHANGELOG.md +3 -3
  5. package/README.md +165 -116
  6. package/api/afnorpdppaapi.ts +149 -0
  7. package/api/chorus-pro-api.ts +151 -181
  8. package/api/traitement-facture-api.ts +12 -12
  9. package/api/vrification-pdfxmlapi.ts +536 -0
  10. package/api.ts +1 -0
  11. package/dist/api/afnorpdppaapi.d.ts +65 -0
  12. package/dist/api/afnorpdppaapi.js +142 -1
  13. package/dist/api/afnorpdppadirectory-service-api.js +4 -1
  14. package/dist/api/afnorpdppaflow-service-api.js +4 -1
  15. package/dist/api/chorus-pro-api.d.ts +168 -103
  16. package/dist/api/chorus-pro-api.js +155 -160
  17. package/dist/api/sant-api.js +4 -1
  18. package/dist/api/traitement-facture-api.d.ts +12 -12
  19. package/dist/api/traitement-facture-api.js +16 -13
  20. package/dist/api/utilisateur-api.js +4 -1
  21. package/dist/api/vrification-pdfxmlapi.d.ts +237 -0
  22. package/dist/api/vrification-pdfxmlapi.js +514 -0
  23. package/dist/api.d.ts +1 -0
  24. package/dist/api.js +1 -0
  25. package/dist/base.js +4 -1
  26. package/dist/esm/api/afnorpdppaapi.d.ts +65 -0
  27. package/dist/esm/api/afnorpdppaapi.js +139 -1
  28. package/dist/esm/api/chorus-pro-api.d.ts +168 -103
  29. package/dist/esm/api/chorus-pro-api.js +151 -159
  30. package/dist/esm/api/traitement-facture-api.d.ts +12 -12
  31. package/dist/esm/api/traitement-facture-api.js +12 -12
  32. package/dist/esm/api/vrification-pdfxmlapi.d.ts +237 -0
  33. package/dist/esm/api/vrification-pdfxmlapi.js +504 -0
  34. package/dist/esm/api.d.ts +1 -0
  35. package/dist/esm/api.js +1 -0
  36. package/dist/esm/models/{utilisateur.d.ts → apierror.d.ts} +12 -15
  37. package/dist/esm/models/beneficiaire.d.ts +26 -0
  38. package/dist/esm/models/bounding-box-schema.d.ts +44 -0
  39. package/dist/esm/models/cadre-de-facturation.d.ts +3 -1
  40. package/dist/esm/models/champ-verifie-schema.d.ts +42 -0
  41. package/dist/esm/models/code-cadre-facturation.d.ts +3 -0
  42. package/dist/esm/models/code-cadre-facturation.js +3 -0
  43. package/dist/esm/models/destinataire.d.ts +1 -1
  44. package/dist/esm/models/dimension-page-schema.d.ts +24 -0
  45. package/dist/esm/models/{quota-info.d.ts → direction-flux.d.ts} +6 -8
  46. package/dist/esm/models/direction-flux.js +20 -0
  47. package/dist/esm/models/error-level.d.ts +16 -0
  48. package/dist/esm/models/error-level.js +17 -0
  49. package/dist/esm/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts → error-source.d.ts} +11 -9
  50. package/dist/esm/models/error-source.js +23 -0
  51. package/dist/esm/models/facture-entrante.d.ts +68 -0
  52. package/dist/esm/models/facture-factur-x.d.ts +2 -0
  53. package/dist/esm/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts → flux-resume.d.ts} +12 -8
  54. package/dist/esm/models/format-facture.d.ts +20 -0
  55. package/dist/esm/models/format-facture.js +21 -0
  56. package/dist/esm/models/fournisseur-entrant.d.ts +29 -0
  57. package/dist/esm/models/fournisseur.d.ts +1 -1
  58. package/dist/esm/models/index.d.ts +28 -13
  59. package/dist/esm/models/index.js +28 -13
  60. package/dist/esm/models/ligne-de-tva.d.ts +3 -1
  61. package/dist/esm/models/nature-operation.d.ts +31 -0
  62. package/dist/esm/models/nature-operation.js +32 -0
  63. package/dist/esm/models/note-obligatoire-schema.d.ts +34 -0
  64. package/dist/esm/models/note.d.ts +2 -2
  65. package/dist/esm/models/pdpcredentials.d.ts +33 -0
  66. package/dist/esm/models/profil-flux.d.ts +20 -0
  67. package/dist/esm/models/profil-flux.js +21 -0
  68. package/dist/esm/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts → reponse-healthcheck-afnor.d.ts} +16 -8
  69. package/dist/esm/models/reponse-recherche-flux.d.ts +33 -0
  70. package/dist/esm/models/reponse-soumission-flux.d.ts +38 -0
  71. package/dist/esm/models/reponse-verification-succes.d.ts +56 -0
  72. package/dist/esm/models/reponse-verification-succes.js +14 -0
  73. package/dist/esm/models/requete-recherche-flux.d.ts +34 -0
  74. package/dist/esm/models/requete-recherche-flux.js +14 -0
  75. package/dist/esm/models/requete-soumission-flux.d.ts +31 -0
  76. package/dist/esm/models/requete-soumission-flux.js +14 -0
  77. package/dist/esm/models/statut-acquittement.d.ts +20 -0
  78. package/dist/esm/models/statut-acquittement.js +21 -0
  79. package/dist/esm/models/statut-champ-api.d.ts +22 -0
  80. package/dist/esm/models/statut-champ-api.js +23 -0
  81. package/dist/esm/models/syntaxe-flux.d.ts +22 -0
  82. package/dist/esm/models/syntaxe-flux.js +23 -0
  83. package/dist/esm/models/type-document.d.ts +37 -0
  84. package/dist/esm/models/type-document.js +38 -0
  85. package/dist/esm/models/type-facture.d.ts +65 -3
  86. package/dist/esm/models/type-facture.js +65 -3
  87. package/dist/esm/models/type-flux.d.ts +22 -0
  88. package/dist/esm/models/type-flux.js +23 -0
  89. package/dist/esm/models/validation-error-detail.d.ts +32 -0
  90. package/dist/esm/models/validation-error-detail.js +14 -0
  91. package/dist/esm/src/helpers/client.d.ts +265 -0
  92. package/dist/esm/src/helpers/client.js +817 -0
  93. package/dist/esm/src/helpers/exceptions.d.ts +23 -0
  94. package/dist/esm/src/helpers/exceptions.js +27 -0
  95. package/dist/esm/src/helpers/index.d.ts +3 -0
  96. package/dist/esm/src/helpers/index.js +6 -0
  97. package/dist/models/{utilisateur.d.ts → apierror.d.ts} +12 -15
  98. package/dist/models/beneficiaire.d.ts +26 -0
  99. package/dist/models/bounding-box-schema.d.ts +44 -0
  100. package/dist/models/cadre-de-facturation.d.ts +3 -1
  101. package/dist/models/champ-verifie-schema.d.ts +42 -0
  102. package/dist/models/code-cadre-facturation.d.ts +3 -0
  103. package/dist/models/code-cadre-facturation.js +3 -0
  104. package/dist/models/destinataire.d.ts +1 -1
  105. package/dist/models/dimension-page-schema.d.ts +24 -0
  106. package/dist/models/{quota-info.d.ts → direction-flux.d.ts} +6 -8
  107. package/dist/models/direction-flux.js +23 -0
  108. package/dist/models/error-level.d.ts +16 -0
  109. package/dist/models/error-level.js +20 -0
  110. package/dist/models/error-source.d.ts +22 -0
  111. package/dist/models/error-source.js +26 -0
  112. package/dist/models/facture-entrante.d.ts +68 -0
  113. package/dist/models/facture-factur-x.d.ts +2 -0
  114. package/dist/models/flux-resume.d.ts +24 -0
  115. package/dist/models/format-facture.d.ts +20 -0
  116. package/dist/models/format-facture.js +24 -0
  117. package/dist/models/fournisseur-entrant.d.ts +29 -0
  118. package/dist/models/fournisseur.d.ts +1 -1
  119. package/dist/models/index.d.ts +28 -13
  120. package/dist/models/index.js +28 -13
  121. package/dist/models/ligne-de-tva.d.ts +3 -1
  122. package/dist/models/nature-operation.d.ts +31 -0
  123. package/dist/models/nature-operation.js +35 -0
  124. package/dist/models/note-obligatoire-schema.d.ts +34 -0
  125. package/dist/models/note.d.ts +2 -2
  126. package/dist/models/pdpcredentials.d.ts +33 -0
  127. package/dist/models/profil-flux.d.ts +20 -0
  128. package/dist/models/profil-flux.js +24 -0
  129. package/dist/{esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts → models/reponse-healthcheck-afnor.d.ts} +16 -8
  130. package/dist/models/reponse-recherche-flux.d.ts +33 -0
  131. package/dist/models/reponse-soumission-flux.d.ts +38 -0
  132. package/dist/models/reponse-verification-succes.d.ts +56 -0
  133. package/dist/models/reponse-verification-succes.js +15 -0
  134. package/dist/models/requete-recherche-flux.d.ts +34 -0
  135. package/dist/models/requete-recherche-flux.js +15 -0
  136. package/dist/models/requete-soumission-flux.d.ts +31 -0
  137. package/dist/models/requete-soumission-flux.js +15 -0
  138. package/dist/models/statut-acquittement.d.ts +20 -0
  139. package/dist/models/statut-acquittement.js +24 -0
  140. package/dist/models/statut-champ-api.d.ts +22 -0
  141. package/dist/models/statut-champ-api.js +26 -0
  142. package/dist/models/syntaxe-flux.d.ts +22 -0
  143. package/dist/models/syntaxe-flux.js +26 -0
  144. package/dist/models/type-document.d.ts +37 -0
  145. package/dist/models/type-document.js +41 -0
  146. package/dist/models/type-facture.d.ts +65 -3
  147. package/dist/models/type-facture.js +65 -3
  148. package/dist/models/type-flux.d.ts +22 -0
  149. package/dist/models/type-flux.js +26 -0
  150. package/dist/models/validation-error-detail.d.ts +32 -0
  151. package/dist/models/validation-error-detail.js +15 -0
  152. package/dist/src/helpers/client.d.ts +265 -0
  153. package/dist/src/helpers/client.js +866 -0
  154. package/dist/src/helpers/exceptions.d.ts +23 -0
  155. package/dist/src/helpers/exceptions.js +35 -0
  156. package/dist/src/helpers/index.d.ts +3 -0
  157. package/dist/src/helpers/index.js +23 -0
  158. package/docs/AFNORPDPPAApi.md +108 -0
  159. package/docs/APIError.md +25 -0
  160. package/docs/Beneficiaire.md +31 -0
  161. package/docs/BoundingBoxSchema.md +33 -0
  162. package/docs/CadreDeFacturation.md +3 -1
  163. package/docs/ChampVerifieSchema.md +37 -0
  164. package/docs/ChorusProApi.md +54 -69
  165. package/docs/CodeCadreFacturation.md +1 -0
  166. package/docs/DimensionPageSchema.md +23 -0
  167. package/docs/DirectionFlux.md +11 -0
  168. package/docs/ErrorLevel.md +10 -0
  169. package/docs/ErrorSource.md +22 -0
  170. package/docs/FactureEntrante.md +57 -0
  171. package/docs/FactureFacturX.md +2 -0
  172. package/docs/FluxResume.md +35 -0
  173. package/docs/FormatFacture.md +13 -0
  174. package/docs/FournisseurEntrant.md +35 -0
  175. package/docs/LigneDeTVA.md +5 -1
  176. package/docs/NatureOperation.md +35 -0
  177. package/docs/Note.md +4 -4
  178. package/docs/NoteObligatoireSchema.md +33 -0
  179. package/docs/PDPCredentials.md +29 -0
  180. package/docs/ProfilFlux.md +13 -0
  181. package/docs/ReponseHealthcheckAFNOR.md +25 -0
  182. package/docs/ReponseRechercheFlux.md +27 -0
  183. package/docs/ReponseSoumissionFlux.md +33 -0
  184. package/docs/ReponseVerificationSucces.md +39 -0
  185. package/docs/RequeteRechercheFlux.md +37 -0
  186. package/docs/RequeteSoumissionFlux.md +31 -0
  187. package/docs/StatutAcquittement.md +13 -0
  188. package/docs/StatutChampAPI.md +17 -0
  189. package/docs/SyntaxeFlux.md +17 -0
  190. package/docs/TraitementFactureApi.md +3 -3
  191. package/docs/TypeDocument.md +17 -0
  192. package/docs/TypeFacture.md +31 -3
  193. package/docs/TypeFlux.md +17 -0
  194. package/docs/ValidationErrorDetail.md +29 -0
  195. package/docs/VrificationPDFXMLApi.md +335 -0
  196. package/models/{utilisateur.ts → apierror.ts} +12 -15
  197. package/models/beneficiaire.ts +34 -0
  198. package/models/bounding-box-schema.ts +50 -0
  199. package/models/cadre-de-facturation.ts +5 -1
  200. package/models/champ-verifie-schema.ts +54 -0
  201. package/models/code-cadre-facturation.ts +3 -0
  202. package/models/destinataire.ts +1 -1
  203. package/models/dimension-page-schema.ts +30 -0
  204. package/models/{quota-info.ts → direction-flux.ts} +10 -8
  205. package/models/error-level.ts +26 -0
  206. package/models/error-source.ts +32 -0
  207. package/models/facture-entrante.ts +82 -0
  208. package/models/facture-factur-x.ts +4 -0
  209. package/models/flux-resume.ts +30 -0
  210. package/models/format-facture.ts +30 -0
  211. package/models/fournisseur-entrant.ts +39 -0
  212. package/models/fournisseur.ts +1 -1
  213. package/models/index.ts +28 -13
  214. package/models/ligne-de-tva.ts +3 -1
  215. package/models/nature-operation.ts +41 -0
  216. package/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.ts → note-obligatoire-schema.ts} +24 -5
  217. package/models/note.ts +2 -2
  218. package/models/pdpcredentials.ts +39 -0
  219. package/models/profil-flux.ts +30 -0
  220. package/models/reponse-healthcheck-afnor.ts +34 -0
  221. package/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.ts → reponse-recherche-flux.ts} +21 -8
  222. package/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.ts → reponse-soumission-flux.ts} +26 -10
  223. package/models/reponse-verification-succes.ts +68 -0
  224. package/models/requete-recherche-flux.ts +48 -0
  225. package/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.ts → requete-soumission-flux.ts} +23 -6
  226. package/models/statut-acquittement.ts +30 -0
  227. package/models/statut-champ-api.ts +32 -0
  228. package/models/syntaxe-flux.ts +32 -0
  229. package/models/type-document.ts +47 -0
  230. package/models/type-facture.ts +65 -3
  231. package/models/type-flux.ts +32 -0
  232. package/models/validation-error-detail.ts +44 -0
  233. package/package.json +2 -2
  234. package/src/helpers/client.ts +882 -0
  235. package/src/helpers/exceptions.ts +32 -0
  236. package/src/helpers/index.ts +6 -0
  237. package/tsconfig.esm.json +1 -0
  238. package/tsconfig.json +1 -0
  239. package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
  240. package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
  241. package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
  242. package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
  243. package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
  244. package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
  245. package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
  246. package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +0 -20
  247. package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +0 -20
  248. package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +0 -17
  249. package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +0 -20
  250. package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +0 -20
  251. package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +0 -20
  252. package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +0 -20
  253. package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +0 -20
  254. package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +0 -20
  255. package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +0 -20
  256. package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +0 -20
  257. package/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +0 -24
  258. package/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +0 -24
  259. package/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +0 -22
  260. package/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +0 -24
  261. package/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +0 -24
  262. package/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +0 -24
  263. package/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +0 -24
  264. package/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +0 -24
  265. package/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +0 -24
  266. package/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +0 -24
  267. package/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +0 -24
  268. package/docs/QuotaInfo.md +0 -29
  269. package/docs/Utilisateur.md +0 -43
  270. package/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.ts +0 -28
  271. package/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.ts +0 -28
  272. package/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.ts +0 -28
  273. package/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.ts +0 -28
  274. package/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.ts +0 -28
  275. package/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.ts +0 -28
  276. package/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.ts +0 -28
  277. /package/dist/esm/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js → apierror.js} +0 -0
  278. /package/dist/esm/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.js → beneficiaire.js} +0 -0
  279. /package/dist/esm/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js → bounding-box-schema.js} +0 -0
  280. /package/dist/esm/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js → champ-verifie-schema.js} +0 -0
  281. /package/dist/esm/models/{body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js → dimension-page-schema.js} +0 -0
  282. /package/dist/esm/models/{body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js → facture-entrante.js} +0 -0
  283. /package/dist/esm/models/{body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js → flux-resume.js} +0 -0
  284. /package/dist/esm/models/{body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js → fournisseur-entrant.js} +0 -0
  285. /package/dist/esm/models/{body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js → note-obligatoire-schema.js} +0 -0
  286. /package/dist/esm/models/{body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js → pdpcredentials.js} +0 -0
  287. /package/dist/esm/models/{body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js → reponse-healthcheck-afnor.js} +0 -0
  288. /package/dist/esm/models/{quota-info.js → reponse-recherche-flux.js} +0 -0
  289. /package/dist/esm/models/{utilisateur.js → reponse-soumission-flux.js} +0 -0
  290. /package/dist/models/{body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js → apierror.js} +0 -0
  291. /package/dist/models/{body-completer-facture-api-v1-chorus-pro-factures-completer-post.js → beneficiaire.js} +0 -0
  292. /package/dist/models/{body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js → bounding-box-schema.js} +0 -0
  293. /package/dist/models/{body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js → champ-verifie-schema.js} +0 -0
  294. /package/dist/models/{body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js → dimension-page-schema.js} +0 -0
  295. /package/dist/models/{body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js → facture-entrante.js} +0 -0
  296. /package/dist/models/{body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js → flux-resume.js} +0 -0
  297. /package/dist/models/{body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js → fournisseur-entrant.js} +0 -0
  298. /package/dist/models/{body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js → note-obligatoire-schema.js} +0 -0
  299. /package/dist/models/{body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js → pdpcredentials.js} +0 -0
  300. /package/dist/models/{body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js → reponse-healthcheck-afnor.js} +0 -0
  301. /package/dist/models/{quota-info.js → reponse-recherche-flux.js} +0 -0
  302. /package/dist/models/{utilisateur.js → reponse-soumission-flux.js} +0 -0
@@ -12,10 +12,27 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { FactureEntrante } from '../models';
15
16
  /**
16
17
  * AFNORPDPPAApi - axios parameter creator
17
18
  */
18
19
  export declare const AFNORPDPPAApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
22
+ * @summary Récupérer les credentials AFNOR stockés
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ getAfnorCredentialsApiV1AfnorCredentialsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
+ /**
28
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
29
+ * @summary Récupérer et extraire une facture entrante
30
+ * @param {string} flowId
31
+ * @param {boolean} [includeDocument]
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet: (flowId: string, includeDocument?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19
36
  /**
20
37
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
21
38
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -28,6 +45,22 @@ export declare const AFNORPDPPAApiAxiosParamCreator: (configuration?: Configurat
28
45
  * AFNORPDPPAApi - functional programming interface
29
46
  */
30
47
  export declare const AFNORPDPPAApiFp: (configuration?: Configuration) => {
48
+ /**
49
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
50
+ * @summary Récupérer les credentials AFNOR stockés
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
55
+ /**
56
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
57
+ * @summary Récupérer et extraire une facture entrante
58
+ * @param {string} flowId
59
+ * @param {boolean} [includeDocument]
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ */
63
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId: string, includeDocument?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FactureEntrante>>;
31
64
  /**
32
65
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
33
66
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -40,6 +73,22 @@ export declare const AFNORPDPPAApiFp: (configuration?: Configuration) => {
40
73
  * AFNORPDPPAApi - factory interface
41
74
  */
42
75
  export declare const AFNORPDPPAApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
76
+ /**
77
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
78
+ * @summary Récupérer les credentials AFNOR stockés
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ */
82
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
83
+ /**
84
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
85
+ * @summary Récupérer et extraire une facture entrante
86
+ * @param {string} flowId
87
+ * @param {boolean} [includeDocument]
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId: string, includeDocument?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<FactureEntrante>;
43
92
  /**
44
93
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
45
94
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -52,6 +101,22 @@ export declare const AFNORPDPPAApiFactory: (configuration?: Configuration, baseP
52
101
  * AFNORPDPPAApi - object-oriented interface
53
102
  */
54
103
  export declare class AFNORPDPPAApi extends BaseAPI {
104
+ /**
105
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
106
+ * @summary Récupérer les credentials AFNOR stockés
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
111
+ /**
112
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
113
+ * @summary Récupérer et extraire une facture entrante
114
+ * @param {string} flowId
115
+ * @param {boolean} [includeDocument]
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId: string, includeDocument?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FactureEntrante, any, {}>>;
55
120
  /**
56
121
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
57
122
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  import globalAxios from 'axios';
24
24
  // Some imports not used depending on template conditions
25
25
  // @ts-ignore
26
- import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common';
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
29
  /**
@@ -31,6 +31,72 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
31
31
  */
32
32
  export const AFNORPDPPAApiAxiosParamCreator = function (configuration) {
33
33
  return {
34
+ /**
35
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
36
+ * @summary Récupérer les credentials AFNOR stockés
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ getAfnorCredentialsApiV1AfnorCredentialsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
41
+ const localVarPath = `/api/v1/afnor/credentials`;
42
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44
+ let baseOptions;
45
+ if (configuration) {
46
+ baseOptions = configuration.baseOptions;
47
+ }
48
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
+ const localVarHeaderParameter = {};
50
+ const localVarQueryParameter = {};
51
+ // authentication HTTPBearer required
52
+ // http bearer authentication required
53
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
54
+ localVarHeaderParameter['Accept'] = 'application/json';
55
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
58
+ return {
59
+ url: toPathString(localVarUrlObj),
60
+ options: localVarRequestOptions,
61
+ };
62
+ }),
63
+ /**
64
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
65
+ * @summary Récupérer et extraire une facture entrante
66
+ * @param {string} flowId
67
+ * @param {boolean} [includeDocument]
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet: (flowId_1, includeDocument_1, ...args_1) => __awaiter(this, [flowId_1, includeDocument_1, ...args_1], void 0, function* (flowId, includeDocument, options = {}) {
72
+ // verify required parameter 'flowId' is not null or undefined
73
+ assertParamExists('getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet', 'flowId', flowId);
74
+ const localVarPath = `/api/v1/afnor/flux-entrants/{flow_id}`
75
+ .replace(`{${"flow_id"}}`, encodeURIComponent(String(flowId)));
76
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
77
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
78
+ let baseOptions;
79
+ if (configuration) {
80
+ baseOptions = configuration.baseOptions;
81
+ }
82
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
83
+ const localVarHeaderParameter = {};
84
+ const localVarQueryParameter = {};
85
+ // authentication HTTPBearer required
86
+ // http bearer authentication required
87
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
88
+ if (includeDocument !== undefined) {
89
+ localVarQueryParameter['include_document'] = includeDocument;
90
+ }
91
+ localVarHeaderParameter['Accept'] = 'application/json';
92
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
93
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
95
+ return {
96
+ url: toPathString(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ }),
34
100
  /**
35
101
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
36
102
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -65,6 +131,38 @@ export const AFNORPDPPAApiAxiosParamCreator = function (configuration) {
65
131
  export const AFNORPDPPAApiFp = function (configuration) {
66
132
  const localVarAxiosParamCreator = AFNORPDPPAApiAxiosParamCreator(configuration);
67
133
  return {
134
+ /**
135
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
136
+ * @summary Récupérer les credentials AFNOR stockés
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options) {
141
+ return __awaiter(this, void 0, void 0, function* () {
142
+ var _a, _b, _c;
143
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAfnorCredentialsApiV1AfnorCredentialsGet(options);
144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
145
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPAApi.getAfnorCredentialsApiV1AfnorCredentialsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
146
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
147
+ });
148
+ },
149
+ /**
150
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
151
+ * @summary Récupérer et extraire une facture entrante
152
+ * @param {string} flowId
153
+ * @param {boolean} [includeDocument]
154
+ * @param {*} [options] Override http request option.
155
+ * @throws {RequiredError}
156
+ */
157
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options) {
158
+ return __awaiter(this, void 0, void 0, function* () {
159
+ var _a, _b, _c;
160
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options);
161
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
162
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AFNORPDPPAApi.getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
163
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
164
+ });
165
+ },
68
166
  /**
69
167
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
70
168
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -88,6 +186,26 @@ export const AFNORPDPPAApiFp = function (configuration) {
88
186
  export const AFNORPDPPAApiFactory = function (configuration, basePath, axios) {
89
187
  const localVarFp = AFNORPDPPAApiFp(configuration);
90
188
  return {
189
+ /**
190
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
191
+ * @summary Récupérer les credentials AFNOR stockés
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options) {
196
+ return localVarFp.getAfnorCredentialsApiV1AfnorCredentialsGet(options).then((request) => request(axios, basePath));
197
+ },
198
+ /**
199
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
200
+ * @summary Récupérer et extraire une facture entrante
201
+ * @param {string} flowId
202
+ * @param {boolean} [includeDocument]
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options) {
207
+ return localVarFp.getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options).then((request) => request(axios, basePath));
208
+ },
91
209
  /**
92
210
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
93
211
  * @summary Endpoint OAuth2 pour authentification AFNOR
@@ -103,6 +221,26 @@ export const AFNORPDPPAApiFactory = function (configuration, basePath, axios) {
103
221
  * AFNORPDPPAApi - object-oriented interface
104
222
  */
105
223
  export class AFNORPDPPAApi extends BaseAPI {
224
+ /**
225
+ * Récupère les credentials AFNOR/PDP stockés pour le client_uid du JWT. Cet endpoint est utilisé par le SDK en mode \'stored\' pour récupérer les credentials avant de faire l\'OAuth AFNOR lui-même.
226
+ * @summary Récupérer les credentials AFNOR stockés
227
+ * @param {*} [options] Override http request option.
228
+ * @throws {RequiredError}
229
+ */
230
+ getAfnorCredentialsApiV1AfnorCredentialsGet(options) {
231
+ return AFNORPDPPAApiFp(this.configuration).getAfnorCredentialsApiV1AfnorCredentialsGet(options).then((request) => request(this.axios, this.basePath));
232
+ }
233
+ /**
234
+ * Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
235
+ * @summary Récupérer et extraire une facture entrante
236
+ * @param {string} flowId
237
+ * @param {boolean} [includeDocument]
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options) {
242
+ return AFNORPDPPAApiFp(this.configuration).getFluxEntrantApiV1AfnorFluxEntrantsFlowIdGet(flowId, includeDocument, options).then((request) => request(this.axios, this.basePath));
243
+ }
106
244
  /**
107
245
  * Endpoint proxy OAuth2 pour obtenir un token d\'accès AFNOR. Fait proxy vers le mock AFNOR (sandbox) ou la vraie PDP selon MOCK_AFNOR_BASE_URL. Cet endpoint est public (pas d\'auth Django requise) car il est appelé par le SDK AFNOR.
108
246
  * @summary Endpoint OAuth2 pour authentification AFNOR