factpulse 1.0.0 → 1.0.8

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 (194) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -3
  3. data/Gemfile.lock +1 -1
  4. data/README.md +73 -119
  5. data/docs/AFNORPDPPADirectoryServiceApi.md +31 -1148
  6. data/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +22 -0
  7. data/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +22 -0
  8. data/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +20 -0
  9. data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +22 -0
  10. data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +22 -0
  11. data/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +22 -0
  12. data/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +22 -0
  13. data/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +22 -0
  14. data/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +22 -0
  15. data/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +22 -0
  16. data/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +22 -0
  17. data/docs/ChorusProApi.md +70 -66
  18. data/docs/Destinataire.md +0 -4
  19. data/docs/{MontantAPayer.md → DirectionFlux.md} +2 -2
  20. data/docs/FactureEnrichieInfoInput.md +32 -0
  21. data/docs/{FactureEnrichieInfo.md → FactureEnrichieInfoOutput.md} +2 -2
  22. data/docs/FactureFacturX.md +0 -2
  23. data/docs/FluxResume.md +32 -0
  24. data/docs/Fournisseur.md +0 -2
  25. data/docs/LigneDePoste.md +2 -2
  26. data/docs/LigneDePosteMontantTotalLigneHt.md +15 -0
  27. data/docs/LigneDeTVA.md +2 -2
  28. data/docs/MontantTotal.md +5 -5
  29. data/docs/MontantTotalMontantRemiseGlobaleTtc.md +15 -0
  30. data/docs/{MontantBaseHt.md → Montantapayer.md} +2 -2
  31. data/docs/Montantbaseht.md +15 -0
  32. data/docs/Montanthttotal.md +15 -0
  33. data/docs/Montantttctotal.md +15 -0
  34. data/docs/{ErrorLevel.md → Montanttva.md} +2 -2
  35. data/docs/{ErrorSource.md → Montanttva1.md} +2 -2
  36. data/docs/Montantunitaireht.md +15 -0
  37. data/docs/OptionsProcessing.md +1 -1
  38. data/docs/PDPCredentials.md +24 -0
  39. data/docs/ProcessingEndpointsUnifisApi.md +147 -0
  40. data/docs/{StatutCelery.md → ProfilFlux.md} +2 -2
  41. data/docs/QuotaInfo.md +26 -0
  42. data/docs/ReponseHealthcheckAFNOR.md +22 -0
  43. data/docs/ReponseRechercheFlux.md +24 -0
  44. data/docs/ReponseSoumissionFlux.md +30 -0
  45. data/docs/RequeteRechercheFlux.md +34 -0
  46. data/docs/RequeteSoumissionFlux.md +28 -0
  47. data/docs/SantApi.md +0 -62
  48. data/docs/SignatureLectroniqueApi.md +315 -0
  49. data/docs/SoumettreFactureCompleteResponse.md +1 -1
  50. data/docs/SoumettreFactureRequest.md +3 -3
  51. data/docs/StatutAcquittement.md +15 -0
  52. data/docs/StatutTache.md +2 -2
  53. data/docs/SyntaxeFlux.md +15 -0
  54. data/docs/TraitementFactureApi.md +2 -2
  55. data/docs/TypeFlux.md +15 -0
  56. data/docs/Utilisateur.md +40 -0
  57. data/factpulse.gemspec +2 -2
  58. data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
  59. data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +30 -1014
  60. data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +1 -1
  61. data/lib/factpulse/api/chorus_pro_api.rb +108 -95
  62. data/lib/factpulse/api/processing_endpoints_unifis_api.rb +158 -0
  63. data/lib/factpulse/api/sant_api.rb +1 -58
  64. data/lib/factpulse/api/signature_lectronique_api.rb +333 -0
  65. data/lib/factpulse/api/traitement_facture_api.rb +5 -5
  66. data/lib/factpulse/api/utilisateur_api.rb +1 -1
  67. data/lib/factpulse/api_client.rb +3 -7
  68. data/lib/factpulse/api_error.rb +1 -1
  69. data/lib/factpulse/api_model_base.rb +1 -1
  70. data/lib/factpulse/configuration.rb +1 -1
  71. data/lib/factpulse/models/adresse_electronique.rb +1 -1
  72. data/lib/factpulse/models/adresse_postale.rb +1 -1
  73. data/lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb +202 -0
  74. data/lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb +202 -0
  75. data/lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb +174 -0
  76. data/lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb +202 -0
  77. data/lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb +202 -0
  78. data/lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb +202 -0
  79. data/lib/factpulse/models/{api_error.rb → body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb} +44 -47
  80. data/lib/factpulse/models/{note.rb → body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb} +55 -28
  81. data/lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb +202 -0
  82. data/lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb +202 -0
  83. data/lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb +202 -0
  84. data/lib/factpulse/models/cadre_de_facturation.rb +1 -1
  85. data/lib/factpulse/models/categorie_tva.rb +11 -11
  86. data/lib/factpulse/models/certificate_info_response.rb +1 -1
  87. data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
  88. data/lib/factpulse/models/code_cadre_facturation.rb +1 -1
  89. data/lib/factpulse/models/code_raison_reduction.rb +9 -9
  90. data/lib/factpulse/models/consulter_facture_request.rb +1 -1
  91. data/lib/factpulse/models/consulter_facture_response.rb +1 -1
  92. data/lib/factpulse/models/consulter_structure_request.rb +1 -1
  93. data/lib/factpulse/models/consulter_structure_response.rb +1 -1
  94. data/lib/factpulse/models/credentials_afnor.rb +1 -1
  95. data/lib/factpulse/models/credentials_chorus_pro.rb +1 -1
  96. data/lib/factpulse/models/destinataire.rb +2 -22
  97. data/lib/factpulse/models/destination.rb +1 -1
  98. data/lib/factpulse/models/destination_afnor.rb +1 -1
  99. data/lib/factpulse/models/destination_chorus_pro.rb +1 -1
  100. data/lib/factpulse/models/{statut_celery.rb → direction_flux.rb} +7 -10
  101. data/lib/factpulse/models/donnees_facture_simplifiees.rb +1 -1
  102. data/lib/factpulse/models/facture_enrichie_info_input.rb +315 -0
  103. data/lib/factpulse/models/{facture_enrichie_info.rb → facture_enrichie_info_output.rb} +4 -4
  104. data/lib/factpulse/models/facture_factur_x.rb +2 -13
  105. data/lib/factpulse/models/flux_resume.rb +251 -0
  106. data/lib/factpulse/models/format_sortie.rb +1 -1
  107. data/lib/factpulse/models/fournisseur.rb +2 -12
  108. data/lib/factpulse/models/generate_certificate_request.rb +1 -1
  109. data/lib/factpulse/models/generate_certificate_response.rb +1 -1
  110. data/lib/factpulse/models/http_validation_error.rb +1 -1
  111. data/lib/factpulse/models/information_signature_api.rb +1 -1
  112. data/lib/factpulse/models/ligne_de_poste.rb +4 -3
  113. data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +2 -2
  114. data/lib/factpulse/models/{montant_total_ligne_ht.rb → ligne_de_poste_montant_total_ligne_ht.rb} +3 -3
  115. data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +2 -2
  116. data/lib/factpulse/models/ligne_de_tva.rb +3 -3
  117. data/lib/factpulse/models/mode_depot.rb +1 -1
  118. data/lib/factpulse/models/mode_paiement.rb +1 -1
  119. data/lib/factpulse/models/montant_ht_total.rb +1 -2
  120. data/lib/factpulse/models/montant_total.rb +7 -6
  121. data/lib/factpulse/models/montant_total_acompte.rb +2 -2
  122. data/lib/factpulse/models/{montant_a_payer.rb → montant_total_montant_remise_globale_ttc.rb} +3 -3
  123. data/lib/factpulse/models/montant_ttc_total.rb +1 -2
  124. data/lib/factpulse/models/montant_tva.rb +1 -2
  125. data/lib/factpulse/models/{montant_tva_total.rb → montantapayer.rb} +3 -3
  126. data/lib/factpulse/models/{montant_tva_ligne.rb → montantbaseht.rb} +3 -3
  127. data/lib/factpulse/models/montanthttotal.rb +104 -0
  128. data/lib/factpulse/models/montantttctotal.rb +104 -0
  129. data/lib/factpulse/models/montanttva.rb +104 -0
  130. data/lib/factpulse/models/montanttva1.rb +104 -0
  131. data/lib/factpulse/models/{montant_unitaire_ht.rb → montantunitaireht.rb} +2 -2
  132. data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +1 -1
  133. data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +1 -1
  134. data/lib/factpulse/models/options_processing.rb +16 -2
  135. data/lib/factpulse/models/parametres_signature.rb +1 -1
  136. data/lib/factpulse/models/parametres_structure.rb +1 -1
  137. data/lib/factpulse/models/pdf_factur_x_info.rb +1 -1
  138. data/lib/factpulse/models/pdp_credentials.rb +247 -0
  139. data/lib/factpulse/models/piece_jointe_complementaire.rb +1 -1
  140. data/lib/factpulse/models/profil_api.rb +1 -1
  141. data/lib/factpulse/models/profil_flux.rb +41 -0
  142. data/lib/factpulse/models/quantite.rb +1 -1
  143. data/lib/factpulse/models/quota_info.rb +269 -0
  144. data/lib/factpulse/models/rechercher_services_response.rb +1 -1
  145. data/lib/factpulse/models/rechercher_structure_request.rb +1 -1
  146. data/lib/factpulse/models/rechercher_structure_response.rb +1 -1
  147. data/lib/factpulse/models/references.rb +1 -1
  148. data/lib/factpulse/models/reponse_healthcheck_afnor.rb +220 -0
  149. data/lib/factpulse/models/reponse_recherche_flux.rb +249 -0
  150. data/lib/factpulse/models/reponse_soumission_flux.rb +294 -0
  151. data/lib/factpulse/models/reponse_tache.rb +1 -1
  152. data/lib/factpulse/models/reponse_validation_erreur.rb +1 -1
  153. data/lib/factpulse/models/reponse_validation_succes.rb +1 -1
  154. data/lib/factpulse/models/requete_recherche_flux.rb +306 -0
  155. data/lib/factpulse/models/{validation_error_detail.rb → requete_soumission_flux.rb} +61 -68
  156. data/lib/factpulse/models/resultat_afnor.rb +1 -1
  157. data/lib/factpulse/models/resultat_chorus_pro.rb +1 -1
  158. data/lib/factpulse/models/resultat_validation_pdfapi.rb +1 -1
  159. data/lib/factpulse/models/scheme_id.rb +7 -7
  160. data/lib/factpulse/models/service_structure.rb +1 -1
  161. data/lib/factpulse/models/signature_info.rb +1 -1
  162. data/lib/factpulse/models/soumettre_facture_complete_request.rb +1 -1
  163. data/lib/factpulse/models/soumettre_facture_complete_response.rb +2 -2
  164. data/lib/factpulse/models/soumettre_facture_request.rb +7 -4
  165. data/lib/factpulse/models/soumettre_facture_response.rb +1 -1
  166. data/lib/factpulse/models/{error_level.rb → statut_acquittement.rb} +7 -6
  167. data/lib/factpulse/models/statut_facture.rb +1 -1
  168. data/lib/factpulse/models/statut_tache.rb +5 -30
  169. data/lib/factpulse/models/structure_info.rb +1 -1
  170. data/lib/factpulse/models/{error_source.rb → syntaxe_flux.rb} +10 -13
  171. data/lib/factpulse/models/tauxmanuel.rb +2 -2
  172. data/lib/factpulse/models/type_facture.rb +1 -1
  173. data/lib/factpulse/models/type_flux.rb +43 -0
  174. data/lib/factpulse/models/type_tva.rb +1 -1
  175. data/lib/factpulse/models/unite.rb +1 -1
  176. data/lib/factpulse/models/utilisateur.rb +328 -0
  177. data/lib/factpulse/models/validation_error.rb +1 -1
  178. data/lib/factpulse/models/validation_error_loc_inner.rb +1 -1
  179. data/lib/factpulse/version.rb +2 -2
  180. data/lib/factpulse.rb +39 -15
  181. metadata +79 -42
  182. data/docs/APIError.md +0 -22
  183. data/docs/MontantRemiseGlobaleTtc.md +0 -15
  184. data/docs/MontantTotalLigneHt.md +0 -15
  185. data/docs/MontantTvaLigne.md +0 -15
  186. data/docs/MontantTvaTotal.md +0 -15
  187. data/docs/MontantUnitaireHt.md +0 -15
  188. data/docs/Note.md +0 -20
  189. data/docs/ValidationErrorDetail.md +0 -26
  190. data/lib/factpulse/helpers/client.rb +0 -300
  191. data/lib/factpulse/helpers/exceptions.rb +0 -21
  192. data/lib/factpulse/helpers.rb +0 -13
  193. data/lib/factpulse/models/montant_base_ht.rb +0 -104
  194. data/lib/factpulse/models/montant_remise_globale_ttc.rb +0 -104
data/lib/factpulse.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #API REST FactPulse
3
3
 
4
- # API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }' ``` Le `client_uid` sera inclus dans le JWT et permettra à l'API d'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
4
+ # API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
5
5
 
6
6
  The version of the OpenAPI document: 1.0.0
7
7
 
@@ -18,9 +18,19 @@ require 'factpulse/version'
18
18
  require 'factpulse/configuration'
19
19
 
20
20
  # Models
21
- require 'factpulse/models/api_error'
22
21
  require 'factpulse/models/adresse_electronique'
23
22
  require 'factpulse/models/adresse_postale'
23
+ require 'factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post'
24
+ require 'factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post'
25
+ require 'factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get'
26
+ require 'factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post'
27
+ require 'factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post'
28
+ require 'factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post'
29
+ require 'factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post'
30
+ require 'factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post'
31
+ require 'factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post'
32
+ require 'factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post'
33
+ require 'factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post'
24
34
  require 'factpulse/models/cadre_de_facturation'
25
35
  require 'factpulse/models/categorie_tva'
26
36
  require 'factpulse/models/certificate_info_response'
@@ -37,11 +47,12 @@ require 'factpulse/models/destinataire'
37
47
  require 'factpulse/models/destination'
38
48
  require 'factpulse/models/destination_afnor'
39
49
  require 'factpulse/models/destination_chorus_pro'
50
+ require 'factpulse/models/direction_flux'
40
51
  require 'factpulse/models/donnees_facture_simplifiees'
41
- require 'factpulse/models/error_level'
42
- require 'factpulse/models/error_source'
43
- require 'factpulse/models/facture_enrichie_info'
52
+ require 'factpulse/models/facture_enrichie_info_input'
53
+ require 'factpulse/models/facture_enrichie_info_output'
44
54
  require 'factpulse/models/facture_factur_x'
55
+ require 'factpulse/models/flux_resume'
45
56
  require 'factpulse/models/format_sortie'
46
57
  require 'factpulse/models/fournisseur'
47
58
  require 'factpulse/models/generate_certificate_request'
@@ -50,39 +61,48 @@ require 'factpulse/models/http_validation_error'
50
61
  require 'factpulse/models/information_signature_api'
51
62
  require 'factpulse/models/ligne_de_poste'
52
63
  require 'factpulse/models/ligne_de_poste_montant_remise_ht'
64
+ require 'factpulse/models/ligne_de_poste_montant_total_ligne_ht'
53
65
  require 'factpulse/models/ligne_de_poste_taux_tva_manuel'
54
66
  require 'factpulse/models/ligne_de_tva'
55
67
  require 'factpulse/models/mode_depot'
56
68
  require 'factpulse/models/mode_paiement'
57
- require 'factpulse/models/montant_a_payer'
58
- require 'factpulse/models/montant_base_ht'
59
69
  require 'factpulse/models/montant_ht_total'
60
- require 'factpulse/models/montant_remise_globale_ttc'
61
70
  require 'factpulse/models/montant_total'
62
71
  require 'factpulse/models/montant_total_acompte'
63
- require 'factpulse/models/montant_total_ligne_ht'
72
+ require 'factpulse/models/montant_total_montant_remise_globale_ttc'
64
73
  require 'factpulse/models/montant_ttc_total'
65
74
  require 'factpulse/models/montant_tva'
66
- require 'factpulse/models/montant_tva_ligne'
67
- require 'factpulse/models/montant_tva_total'
68
- require 'factpulse/models/montant_unitaire_ht'
69
- require 'factpulse/models/note'
75
+ require 'factpulse/models/montantapayer'
76
+ require 'factpulse/models/montantbaseht'
77
+ require 'factpulse/models/montanthttotal'
78
+ require 'factpulse/models/montantttctotal'
79
+ require 'factpulse/models/montanttva'
80
+ require 'factpulse/models/montanttva1'
81
+ require 'factpulse/models/montantunitaireht'
70
82
  require 'factpulse/models/obtenir_id_chorus_pro_request'
71
83
  require 'factpulse/models/obtenir_id_chorus_pro_response'
72
84
  require 'factpulse/models/options_processing'
73
85
  require 'factpulse/models/pdf_factur_x_info'
86
+ require 'factpulse/models/pdp_credentials'
74
87
  require 'factpulse/models/parametres_signature'
75
88
  require 'factpulse/models/parametres_structure'
76
89
  require 'factpulse/models/piece_jointe_complementaire'
77
90
  require 'factpulse/models/profil_api'
91
+ require 'factpulse/models/profil_flux'
78
92
  require 'factpulse/models/quantite'
93
+ require 'factpulse/models/quota_info'
79
94
  require 'factpulse/models/rechercher_services_response'
80
95
  require 'factpulse/models/rechercher_structure_request'
81
96
  require 'factpulse/models/rechercher_structure_response'
82
97
  require 'factpulse/models/references'
98
+ require 'factpulse/models/reponse_healthcheck_afnor'
99
+ require 'factpulse/models/reponse_recherche_flux'
100
+ require 'factpulse/models/reponse_soumission_flux'
83
101
  require 'factpulse/models/reponse_tache'
84
102
  require 'factpulse/models/reponse_validation_erreur'
85
103
  require 'factpulse/models/reponse_validation_succes'
104
+ require 'factpulse/models/requete_recherche_flux'
105
+ require 'factpulse/models/requete_soumission_flux'
86
106
  require 'factpulse/models/resultat_afnor'
87
107
  require 'factpulse/models/resultat_chorus_pro'
88
108
  require 'factpulse/models/resultat_validation_pdfapi'
@@ -93,16 +113,18 @@ require 'factpulse/models/soumettre_facture_complete_request'
93
113
  require 'factpulse/models/soumettre_facture_complete_response'
94
114
  require 'factpulse/models/soumettre_facture_request'
95
115
  require 'factpulse/models/soumettre_facture_response'
96
- require 'factpulse/models/statut_celery'
116
+ require 'factpulse/models/statut_acquittement'
97
117
  require 'factpulse/models/statut_facture'
98
118
  require 'factpulse/models/statut_tache'
99
119
  require 'factpulse/models/structure_info'
120
+ require 'factpulse/models/syntaxe_flux'
100
121
  require 'factpulse/models/tauxmanuel'
101
122
  require 'factpulse/models/type_facture'
123
+ require 'factpulse/models/type_flux'
102
124
  require 'factpulse/models/type_tva'
103
125
  require 'factpulse/models/unite'
126
+ require 'factpulse/models/utilisateur'
104
127
  require 'factpulse/models/validation_error'
105
- require 'factpulse/models/validation_error_detail'
106
128
  require 'factpulse/models/validation_error_loc_inner'
107
129
 
108
130
  # APIs
@@ -110,7 +132,9 @@ require 'factpulse/api/afnorpdppa_api'
110
132
  require 'factpulse/api/afnorpdppa_directory_service_api'
111
133
  require 'factpulse/api/afnorpdppa_flow_service_api'
112
134
  require 'factpulse/api/chorus_pro_api'
135
+ require 'factpulse/api/processing_endpoints_unifis_api'
113
136
  require 'factpulse/api/sant_api'
137
+ require 'factpulse/api/signature_lectronique_api'
114
138
  require 'factpulse/api/traitement_facture_api'
115
139
  require 'factpulse/api/utilisateur_api'
116
140
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factpulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-27 00:00:00.000000000 Z
11
+ date: 2025-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -84,15 +84,7 @@ description: " API REST pour la facturation électronique en France : Factur-X,
84
84
  Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête
85
85
  :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type:
86
86
  application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\":
87
- \"votre_mot_de_passe\" }' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner
88
- les credentials d'un client spécifique (PA/PDP, Chorus Pro, certificats de signature),
89
- ajoutez `client_uid` : ```bash curl -X POST https://www.factpulse.fr/api/token/
90
- \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\",
91
- \ \"password\": \"votre_mot_de_passe\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\"
92
- \ }' ``` Le `client_uid` sera inclus dans le JWT et permettra à l'API d'utiliser
93
- automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials
94
- Chorus Pro configurés pour ce client - Les certificats de signature électronique
95
- configurés pour ce client **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\",
87
+ \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\",
96
88
  \ // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\"
97
89
  \ // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation
98
90
  complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh
@@ -125,9 +117,19 @@ files:
125
117
  - docs/AFNORPDPPAApi.md
126
118
  - docs/AFNORPDPPADirectoryServiceApi.md
127
119
  - docs/AFNORPDPPAFlowServiceApi.md
128
- - docs/APIError.md
129
120
  - docs/AdresseElectronique.md
130
121
  - docs/AdressePostale.md
122
+ - docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md
123
+ - docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md
124
+ - docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md
125
+ - docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md
126
+ - docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md
127
+ - docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md
128
+ - docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md
129
+ - docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md
130
+ - docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md
131
+ - docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md
132
+ - docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md
131
133
  - docs/CadreDeFacturation.md
132
134
  - docs/CategorieTVA.md
133
135
  - docs/CertificateInfoResponse.md
@@ -145,11 +147,12 @@ files:
145
147
  - docs/Destination.md
146
148
  - docs/DestinationAFNOR.md
147
149
  - docs/DestinationChorusPro.md
150
+ - docs/DirectionFlux.md
148
151
  - docs/DonneesFactureSimplifiees.md
149
- - docs/ErrorLevel.md
150
- - docs/ErrorSource.md
151
- - docs/FactureEnrichieInfo.md
152
+ - docs/FactureEnrichieInfoInput.md
153
+ - docs/FactureEnrichieInfoOutput.md
152
154
  - docs/FactureFacturX.md
155
+ - docs/FluxResume.md
153
156
  - docs/FormatSortie.md
154
157
  - docs/Fournisseur.md
155
158
  - docs/GenerateCertificateRequest.md
@@ -158,39 +161,49 @@ files:
158
161
  - docs/InformationSignatureAPI.md
159
162
  - docs/LigneDePoste.md
160
163
  - docs/LigneDePosteMontantRemiseHt.md
164
+ - docs/LigneDePosteMontantTotalLigneHt.md
161
165
  - docs/LigneDePosteTauxTvaManuel.md
162
166
  - docs/LigneDeTVA.md
163
167
  - docs/ModeDepot.md
164
168
  - docs/ModePaiement.md
165
- - docs/MontantAPayer.md
166
- - docs/MontantBaseHt.md
167
169
  - docs/MontantHtTotal.md
168
- - docs/MontantRemiseGlobaleTtc.md
169
170
  - docs/MontantTotal.md
170
171
  - docs/MontantTotalAcompte.md
171
- - docs/MontantTotalLigneHt.md
172
+ - docs/MontantTotalMontantRemiseGlobaleTtc.md
172
173
  - docs/MontantTtcTotal.md
173
174
  - docs/MontantTva.md
174
- - docs/MontantTvaLigne.md
175
- - docs/MontantTvaTotal.md
176
- - docs/MontantUnitaireHt.md
177
- - docs/Note.md
175
+ - docs/Montantapayer.md
176
+ - docs/Montantbaseht.md
177
+ - docs/Montanthttotal.md
178
+ - docs/Montantttctotal.md
179
+ - docs/Montanttva.md
180
+ - docs/Montanttva1.md
181
+ - docs/Montantunitaireht.md
178
182
  - docs/ObtenirIdChorusProRequest.md
179
183
  - docs/ObtenirIdChorusProResponse.md
180
184
  - docs/OptionsProcessing.md
181
185
  - docs/PDFFacturXInfo.md
186
+ - docs/PDPCredentials.md
182
187
  - docs/ParametresSignature.md
183
188
  - docs/ParametresStructure.md
184
189
  - docs/PieceJointeComplementaire.md
190
+ - docs/ProcessingEndpointsUnifisApi.md
185
191
  - docs/ProfilAPI.md
192
+ - docs/ProfilFlux.md
186
193
  - docs/Quantite.md
194
+ - docs/QuotaInfo.md
187
195
  - docs/RechercherServicesResponse.md
188
196
  - docs/RechercherStructureRequest.md
189
197
  - docs/RechercherStructureResponse.md
190
198
  - docs/References.md
199
+ - docs/ReponseHealthcheckAFNOR.md
200
+ - docs/ReponseRechercheFlux.md
201
+ - docs/ReponseSoumissionFlux.md
191
202
  - docs/ReponseTache.md
192
203
  - docs/ReponseValidationErreur.md
193
204
  - docs/ReponseValidationSucces.md
205
+ - docs/RequeteRechercheFlux.md
206
+ - docs/RequeteSoumissionFlux.md
194
207
  - docs/ResultatAFNOR.md
195
208
  - docs/ResultatChorusPro.md
196
209
  - docs/ResultatValidationPDFAPI.md
@@ -198,22 +211,25 @@ files:
198
211
  - docs/SchemeID.md
199
212
  - docs/ServiceStructure.md
200
213
  - docs/SignatureInfo.md
214
+ - docs/SignatureLectroniqueApi.md
201
215
  - docs/SoumettreFactureCompleteRequest.md
202
216
  - docs/SoumettreFactureCompleteResponse.md
203
217
  - docs/SoumettreFactureRequest.md
204
218
  - docs/SoumettreFactureResponse.md
205
- - docs/StatutCelery.md
219
+ - docs/StatutAcquittement.md
206
220
  - docs/StatutFacture.md
207
221
  - docs/StatutTache.md
208
222
  - docs/StructureInfo.md
223
+ - docs/SyntaxeFlux.md
209
224
  - docs/Tauxmanuel.md
210
225
  - docs/TraitementFactureApi.md
211
226
  - docs/TypeFacture.md
227
+ - docs/TypeFlux.md
212
228
  - docs/TypeTVA.md
213
229
  - docs/Unite.md
230
+ - docs/Utilisateur.md
214
231
  - docs/UtilisateurApi.md
215
232
  - docs/ValidationError.md
216
- - docs/ValidationErrorDetail.md
217
233
  - docs/ValidationErrorLocInner.md
218
234
  - factpulse.gemspec
219
235
  - git_push.sh
@@ -222,19 +238,28 @@ files:
222
238
  - lib/factpulse/api/afnorpdppa_directory_service_api.rb
223
239
  - lib/factpulse/api/afnorpdppa_flow_service_api.rb
224
240
  - lib/factpulse/api/chorus_pro_api.rb
241
+ - lib/factpulse/api/processing_endpoints_unifis_api.rb
225
242
  - lib/factpulse/api/sant_api.rb
243
+ - lib/factpulse/api/signature_lectronique_api.rb
226
244
  - lib/factpulse/api/traitement_facture_api.rb
227
245
  - lib/factpulse/api/utilisateur_api.rb
228
246
  - lib/factpulse/api_client.rb
229
247
  - lib/factpulse/api_error.rb
230
248
  - lib/factpulse/api_model_base.rb
231
249
  - lib/factpulse/configuration.rb
232
- - lib/factpulse/helpers.rb
233
- - lib/factpulse/helpers/client.rb
234
- - lib/factpulse/helpers/exceptions.rb
235
250
  - lib/factpulse/models/adresse_electronique.rb
236
251
  - lib/factpulse/models/adresse_postale.rb
237
- - lib/factpulse/models/api_error.rb
252
+ - lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb
253
+ - lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb
254
+ - lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb
255
+ - lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb
256
+ - lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb
257
+ - lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb
258
+ - lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb
259
+ - lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb
260
+ - lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb
261
+ - lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb
262
+ - lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb
238
263
  - lib/factpulse/models/cadre_de_facturation.rb
239
264
  - lib/factpulse/models/categorie_tva.rb
240
265
  - lib/factpulse/models/certificate_info_response.rb
@@ -251,11 +276,12 @@ files:
251
276
  - lib/factpulse/models/destination.rb
252
277
  - lib/factpulse/models/destination_afnor.rb
253
278
  - lib/factpulse/models/destination_chorus_pro.rb
279
+ - lib/factpulse/models/direction_flux.rb
254
280
  - lib/factpulse/models/donnees_facture_simplifiees.rb
255
- - lib/factpulse/models/error_level.rb
256
- - lib/factpulse/models/error_source.rb
257
- - lib/factpulse/models/facture_enrichie_info.rb
281
+ - lib/factpulse/models/facture_enrichie_info_input.rb
282
+ - lib/factpulse/models/facture_enrichie_info_output.rb
258
283
  - lib/factpulse/models/facture_factur_x.rb
284
+ - lib/factpulse/models/flux_resume.rb
259
285
  - lib/factpulse/models/format_sortie.rb
260
286
  - lib/factpulse/models/fournisseur.rb
261
287
  - lib/factpulse/models/generate_certificate_request.rb
@@ -264,39 +290,48 @@ files:
264
290
  - lib/factpulse/models/information_signature_api.rb
265
291
  - lib/factpulse/models/ligne_de_poste.rb
266
292
  - lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb
293
+ - lib/factpulse/models/ligne_de_poste_montant_total_ligne_ht.rb
267
294
  - lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb
268
295
  - lib/factpulse/models/ligne_de_tva.rb
269
296
  - lib/factpulse/models/mode_depot.rb
270
297
  - lib/factpulse/models/mode_paiement.rb
271
- - lib/factpulse/models/montant_a_payer.rb
272
- - lib/factpulse/models/montant_base_ht.rb
273
298
  - lib/factpulse/models/montant_ht_total.rb
274
- - lib/factpulse/models/montant_remise_globale_ttc.rb
275
299
  - lib/factpulse/models/montant_total.rb
276
300
  - lib/factpulse/models/montant_total_acompte.rb
277
- - lib/factpulse/models/montant_total_ligne_ht.rb
301
+ - lib/factpulse/models/montant_total_montant_remise_globale_ttc.rb
278
302
  - lib/factpulse/models/montant_ttc_total.rb
279
303
  - lib/factpulse/models/montant_tva.rb
280
- - lib/factpulse/models/montant_tva_ligne.rb
281
- - lib/factpulse/models/montant_tva_total.rb
282
- - lib/factpulse/models/montant_unitaire_ht.rb
283
- - lib/factpulse/models/note.rb
304
+ - lib/factpulse/models/montantapayer.rb
305
+ - lib/factpulse/models/montantbaseht.rb
306
+ - lib/factpulse/models/montanthttotal.rb
307
+ - lib/factpulse/models/montantttctotal.rb
308
+ - lib/factpulse/models/montanttva.rb
309
+ - lib/factpulse/models/montanttva1.rb
310
+ - lib/factpulse/models/montantunitaireht.rb
284
311
  - lib/factpulse/models/obtenir_id_chorus_pro_request.rb
285
312
  - lib/factpulse/models/obtenir_id_chorus_pro_response.rb
286
313
  - lib/factpulse/models/options_processing.rb
287
314
  - lib/factpulse/models/parametres_signature.rb
288
315
  - lib/factpulse/models/parametres_structure.rb
289
316
  - lib/factpulse/models/pdf_factur_x_info.rb
317
+ - lib/factpulse/models/pdp_credentials.rb
290
318
  - lib/factpulse/models/piece_jointe_complementaire.rb
291
319
  - lib/factpulse/models/profil_api.rb
320
+ - lib/factpulse/models/profil_flux.rb
292
321
  - lib/factpulse/models/quantite.rb
322
+ - lib/factpulse/models/quota_info.rb
293
323
  - lib/factpulse/models/rechercher_services_response.rb
294
324
  - lib/factpulse/models/rechercher_structure_request.rb
295
325
  - lib/factpulse/models/rechercher_structure_response.rb
296
326
  - lib/factpulse/models/references.rb
327
+ - lib/factpulse/models/reponse_healthcheck_afnor.rb
328
+ - lib/factpulse/models/reponse_recherche_flux.rb
329
+ - lib/factpulse/models/reponse_soumission_flux.rb
297
330
  - lib/factpulse/models/reponse_tache.rb
298
331
  - lib/factpulse/models/reponse_validation_erreur.rb
299
332
  - lib/factpulse/models/reponse_validation_succes.rb
333
+ - lib/factpulse/models/requete_recherche_flux.rb
334
+ - lib/factpulse/models/requete_soumission_flux.rb
300
335
  - lib/factpulse/models/resultat_afnor.rb
301
336
  - lib/factpulse/models/resultat_chorus_pro.rb
302
337
  - lib/factpulse/models/resultat_validation_pdfapi.rb
@@ -307,16 +342,18 @@ files:
307
342
  - lib/factpulse/models/soumettre_facture_complete_response.rb
308
343
  - lib/factpulse/models/soumettre_facture_request.rb
309
344
  - lib/factpulse/models/soumettre_facture_response.rb
310
- - lib/factpulse/models/statut_celery.rb
345
+ - lib/factpulse/models/statut_acquittement.rb
311
346
  - lib/factpulse/models/statut_facture.rb
312
347
  - lib/factpulse/models/statut_tache.rb
313
348
  - lib/factpulse/models/structure_info.rb
349
+ - lib/factpulse/models/syntaxe_flux.rb
314
350
  - lib/factpulse/models/tauxmanuel.rb
315
351
  - lib/factpulse/models/type_facture.rb
352
+ - lib/factpulse/models/type_flux.rb
316
353
  - lib/factpulse/models/type_tva.rb
317
354
  - lib/factpulse/models/unite.rb
355
+ - lib/factpulse/models/utilisateur.rb
318
356
  - lib/factpulse/models/validation_error.rb
319
- - lib/factpulse/models/validation_error_detail.rb
320
357
  - lib/factpulse/models/validation_error_loc_inner.rb
321
358
  - lib/factpulse/version.rb
322
359
  homepage: https://openapi-generator.tech
data/docs/APIError.md DELETED
@@ -1,22 +0,0 @@
1
- # FactPulse::APIError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **error_code** | **String** | Code alphanumérique identifiant précisément l'erreur | |
8
- | **error_message** | **String** | Message décrivant l'erreur (non destiné à l'utilisateur final) | |
9
- | **details** | [**Array<ValidationErrorDetail>**](ValidationErrorDetail.md) | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'factpulse'
15
-
16
- instance = FactPulse::APIError.new(
17
- error_code: null,
18
- error_message: null,
19
- details: null
20
- )
21
- ```
22
-
@@ -1,15 +0,0 @@
1
- # FactPulse::MontantRemiseGlobaleTtc
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::MontantRemiseGlobaleTtc.new()
14
- ```
15
-
@@ -1,15 +0,0 @@
1
- # FactPulse::MontantTotalLigneHt
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::MontantTotalLigneHt.new()
14
- ```
15
-
@@ -1,15 +0,0 @@
1
- # FactPulse::MontantTvaLigne
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::MontantTvaLigne.new()
14
- ```
15
-
@@ -1,15 +0,0 @@
1
- # FactPulse::MontantTvaTotal
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::MontantTvaTotal.new()
14
- ```
15
-
@@ -1,15 +0,0 @@
1
- # FactPulse::MontantUnitaireHt
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::MontantUnitaireHt.new()
14
- ```
15
-
data/docs/Note.md DELETED
@@ -1,20 +0,0 @@
1
- # FactPulse::Note
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **subject_code** | **String** | | [optional] |
8
- | **content** | **String** | | |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'factpulse'
14
-
15
- instance = FactPulse::Note.new(
16
- subject_code: null,
17
- content: null
18
- )
19
- ```
20
-
@@ -1,26 +0,0 @@
1
- # FactPulse::ValidationErrorDetail
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **level** | [**ErrorLevel**](ErrorLevel.md) | Niveau de gravité : 'Error' ou 'Warning' | [optional] |
8
- | **item** | **String** | Identifiant de l'élément concerné (XPath, champ, règle BR-FR, etc.) | |
9
- | **reason** | **String** | Description de l'erreur | |
10
- | **source** | [**ErrorSource**](ErrorSource.md) | | [optional] |
11
- | **code** | **String** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'factpulse'
17
-
18
- instance = FactPulse::ValidationErrorDetail.new(
19
- level: null,
20
- item: null,
21
- reason: null,
22
- source: null,
23
- code: null
24
- )
25
- ```
26
-