@factpulse/sdk 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.
- package/.github/SETUP_GITHUB_ACTIONS.md +12 -0
- package/.github/workflows/publish-npm.yml +39 -0
- package/.openapi-generator/FILES +248 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/CHANGELOG.md +28 -0
- package/LICENSE +21 -0
- package/README.md +149 -0
- package/api/afnorpdppaapi.ts +115 -0
- package/api/afnorpdppadirectory-service-api.ts +246 -0
- package/api/afnorpdppaflow-service-api.ts +307 -0
- package/api/chorus-pro-api.ts +1291 -0
- package/api/processing-endpoints-unifis-api.ts +210 -0
- package/api/sant-api.ts +115 -0
- package/api/signature-lectronique-api.ts +467 -0
- package/api/traitement-facture-api.ts +1093 -0
- package/api/utilisateur-api.ts +119 -0
- package/api.ts +26 -0
- package/base.ts +62 -0
- package/common.ts +113 -0
- package/configuration.ts +121 -0
- package/dist/api/afnorpdppaapi.d.ts +62 -0
- package/dist/api/afnorpdppaapi.js +121 -0
- package/dist/api/afnorpdppadirectory-service-api.d.ts +122 -0
- package/dist/api/afnorpdppadirectory-service-api.js +244 -0
- package/dist/api/afnorpdppaflow-service-api.d.ts +150 -0
- package/dist/api/afnorpdppaflow-service-api.js +302 -0
- package/dist/api/chorus-pro-api.d.ts +572 -0
- package/dist/api/chorus-pro-api.js +1174 -0
- package/dist/api/processing-endpoints-unifis-api.d.ts +101 -0
- package/dist/api/processing-endpoints-unifis-api.js +201 -0
- package/dist/api/sant-api.d.ts +62 -0
- package/dist/api/sant-api.js +121 -0
- package/dist/api/signature-lectronique-api.d.ts +212 -0
- package/dist/api/signature-lectronique-api.js +435 -0
- package/dist/api/traitement-facture-api.d.ts +480 -0
- package/dist/api/traitement-facture-api.js +996 -0
- package/dist/api/utilisateur-api.d.ts +62 -0
- package/dist/api/utilisateur-api.js +124 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +28 -0
- package/dist/common.js +124 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api/afnorpdppaapi.d.ts +62 -0
- package/dist/esm/api/afnorpdppaapi.js +114 -0
- package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +122 -0
- package/dist/esm/api/afnorpdppadirectory-service-api.js +237 -0
- package/dist/esm/api/afnorpdppaflow-service-api.d.ts +150 -0
- package/dist/esm/api/afnorpdppaflow-service-api.js +295 -0
- package/dist/esm/api/chorus-pro-api.d.ts +572 -0
- package/dist/esm/api/chorus-pro-api.js +1167 -0
- package/dist/esm/api/processing-endpoints-unifis-api.d.ts +101 -0
- package/dist/esm/api/processing-endpoints-unifis-api.js +194 -0
- package/dist/esm/api/sant-api.d.ts +62 -0
- package/dist/esm/api/sant-api.js +114 -0
- package/dist/esm/api/signature-lectronique-api.d.ts +212 -0
- package/dist/esm/api/signature-lectronique-api.js +428 -0
- package/dist/esm/api/traitement-facture-api.d.ts +480 -0
- package/dist/esm/api/traitement-facture-api.js +989 -0
- package/dist/esm/api/utilisateur-api.d.ts +62 -0
- package/dist/esm/api/utilisateur-api.js +117 -0
- package/dist/esm/api.d.ts +20 -0
- package/dist/esm/api.js +22 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +28 -0
- package/dist/esm/common.js +112 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/adresse-electronique.d.ts +19 -0
- package/dist/esm/models/adresse-electronique.js +14 -0
- package/dist/esm/models/adresse-postale.d.ts +21 -0
- package/dist/esm/models/adresse-postale.js +14 -0
- package/dist/esm/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +20 -0
- package/dist/esm/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js +14 -0
- package/dist/esm/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +20 -0
- package/dist/esm/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.js +14 -0
- package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +17 -0
- package/dist/esm/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js +14 -0
- package/dist/esm/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +20 -0
- package/dist/esm/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js +14 -0
- package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +20 -0
- package/dist/esm/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js +14 -0
- package/dist/esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +20 -0
- package/dist/esm/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js +14 -0
- package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +20 -0
- package/dist/esm/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js +14 -0
- package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +20 -0
- package/dist/esm/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js +14 -0
- package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +20 -0
- package/dist/esm/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js +14 -0
- package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +20 -0
- package/dist/esm/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js +14 -0
- package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +20 -0
- package/dist/esm/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js +14 -0
- package/dist/esm/models/cadre-de-facturation.d.ts +20 -0
- package/dist/esm/models/cadre-de-facturation.js +14 -0
- package/dist/esm/models/categorie-tva.d.ts +26 -0
- package/dist/esm/models/categorie-tva.js +27 -0
- package/dist/esm/models/certificate-info-response.d.ts +61 -0
- package/dist/esm/models/certificate-info-response.js +14 -0
- package/dist/esm/models/chorus-pro-credentials.d.ts +36 -0
- package/dist/esm/models/chorus-pro-credentials.js +14 -0
- package/dist/esm/models/code-cadre-facturation.d.ts +18 -0
- package/dist/esm/models/code-cadre-facturation.js +19 -0
- package/dist/esm/models/code-raison-reduction.d.ts +24 -0
- package/dist/esm/models/code-raison-reduction.js +25 -0
- package/dist/esm/models/consulter-facture-request.d.ts +22 -0
- package/dist/esm/models/consulter-facture-request.js +14 -0
- package/dist/esm/models/consulter-facture-response.d.ts +26 -0
- package/dist/esm/models/consulter-facture-response.js +14 -0
- package/dist/esm/models/consulter-structure-request.d.ts +26 -0
- package/dist/esm/models/consulter-structure-request.js +14 -0
- package/dist/esm/models/consulter-structure-response.d.ts +26 -0
- package/dist/esm/models/consulter-structure-response.js +14 -0
- package/dist/esm/models/credentials-afnor.d.ts +19 -0
- package/dist/esm/models/credentials-afnor.js +14 -0
- package/dist/esm/models/credentials-chorus-pro.d.ts +24 -0
- package/dist/esm/models/credentials-chorus-pro.js +14 -0
- package/dist/esm/models/destinataire.d.ts +22 -0
- package/dist/esm/models/destinataire.js +14 -0
- package/dist/esm/models/destination-afnor.d.ts +34 -0
- package/dist/esm/models/destination-afnor.js +21 -0
- package/dist/esm/models/destination-chorus-pro.d.ts +23 -0
- package/dist/esm/models/destination-chorus-pro.js +16 -0
- package/dist/esm/models/destination.d.ts +22 -0
- package/dist/esm/models/destination.js +14 -0
- package/dist/esm/models/direction-flux.d.ts +19 -0
- package/dist/esm/models/direction-flux.js +20 -0
- package/dist/esm/models/donnees-facture-simplifiees.d.ts +46 -0
- package/dist/esm/models/donnees-facture-simplifiees.js +14 -0
- package/dist/esm/models/facture-enrichie-info-input.d.ts +27 -0
- package/dist/esm/models/facture-enrichie-info-input.js +14 -0
- package/dist/esm/models/facture-enrichie-info-output.d.ts +24 -0
- package/dist/esm/models/facture-enrichie-info-output.js +14 -0
- package/dist/esm/models/facture-factur-x.d.ts +39 -0
- package/dist/esm/models/facture-factur-x.js +14 -0
- package/dist/esm/models/flux-resume.d.ts +24 -0
- package/dist/esm/models/flux-resume.js +14 -0
- package/dist/esm/models/format-sortie.d.ts +16 -0
- package/dist/esm/models/format-sortie.js +17 -0
- package/dist/esm/models/fournisseur.d.ts +27 -0
- package/dist/esm/models/fournisseur.js +14 -0
- package/dist/esm/models/generate-certificate-request.d.ts +54 -0
- package/dist/esm/models/generate-certificate-request.js +14 -0
- package/dist/esm/models/generate-certificate-response.d.ts +38 -0
- package/dist/esm/models/generate-certificate-response.js +14 -0
- package/dist/esm/models/httpvalidation-error.d.ts +15 -0
- package/dist/esm/models/httpvalidation-error.js +14 -0
- package/dist/esm/models/index.d.ts +108 -0
- package/dist/esm/models/index.js +108 -0
- package/dist/esm/models/information-signature-api.d.ts +25 -0
- package/dist/esm/models/information-signature-api.js +14 -0
- package/dist/esm/models/ligne-de-poste-montant-remise-ht.d.ts +16 -0
- package/dist/esm/models/ligne-de-poste-montant-remise-ht.js +14 -0
- package/dist/esm/models/ligne-de-poste-montant-total-ligne-ht.d.ts +16 -0
- package/dist/esm/models/ligne-de-poste-montant-total-ligne-ht.js +14 -0
- package/dist/esm/models/ligne-de-poste-taux-tva-manuel.d.ts +16 -0
- package/dist/esm/models/ligne-de-poste-taux-tva-manuel.js +14 -0
- package/dist/esm/models/ligne-de-poste.d.ts +39 -0
- package/dist/esm/models/ligne-de-poste.js +14 -0
- package/dist/esm/models/ligne-de-tva.d.ts +25 -0
- package/dist/esm/models/ligne-de-tva.js +14 -0
- package/dist/esm/models/mode-depot.d.ts +20 -0
- package/dist/esm/models/mode-depot.js +21 -0
- package/dist/esm/models/mode-paiement.d.ts +23 -0
- package/dist/esm/models/mode-paiement.js +24 -0
- package/dist/esm/models/montant-ht-total.d.ts +13 -0
- package/dist/esm/models/montant-ht-total.js +14 -0
- package/dist/esm/models/montant-total-acompte.d.ts +16 -0
- package/dist/esm/models/montant-total-acompte.js +14 -0
- package/dist/esm/models/montant-total-montant-remise-globale-ttc.d.ts +16 -0
- package/dist/esm/models/montant-total-montant-remise-globale-ttc.js +14 -0
- package/dist/esm/models/montant-total.d.ts +29 -0
- package/dist/esm/models/montant-total.js +14 -0
- package/dist/esm/models/montant-ttc-total.d.ts +13 -0
- package/dist/esm/models/montant-ttc-total.js +14 -0
- package/dist/esm/models/montant-tva.d.ts +13 -0
- package/dist/esm/models/montant-tva.js +14 -0
- package/dist/esm/models/montantapayer.d.ts +16 -0
- package/dist/esm/models/montantapayer.js +14 -0
- package/dist/esm/models/montantbaseht.d.ts +16 -0
- package/dist/esm/models/montantbaseht.js +14 -0
- package/dist/esm/models/montanthttotal.d.ts +16 -0
- package/dist/esm/models/montanthttotal.js +14 -0
- package/dist/esm/models/montantttctotal.d.ts +16 -0
- package/dist/esm/models/montantttctotal.js +14 -0
- package/dist/esm/models/montanttva.d.ts +16 -0
- package/dist/esm/models/montanttva.js +14 -0
- package/dist/esm/models/montanttva1.d.ts +16 -0
- package/dist/esm/models/montanttva1.js +14 -0
- package/dist/esm/models/montantunitaireht.d.ts +16 -0
- package/dist/esm/models/montantunitaireht.js +14 -0
- package/dist/esm/models/obtenir-id-chorus-pro-request.d.ts +26 -0
- package/dist/esm/models/obtenir-id-chorus-pro-request.js +14 -0
- package/dist/esm/models/obtenir-id-chorus-pro-response.d.ts +29 -0
- package/dist/esm/models/obtenir-id-chorus-pro-response.js +14 -0
- package/dist/esm/models/options-processing.d.ts +39 -0
- package/dist/esm/models/options-processing.js +19 -0
- package/dist/esm/models/parametres-signature.d.ts +34 -0
- package/dist/esm/models/parametres-signature.js +14 -0
- package/dist/esm/models/parametres-structure.d.ts +28 -0
- package/dist/esm/models/parametres-structure.js +14 -0
- package/dist/esm/models/pdffactur-xinfo.d.ts +28 -0
- package/dist/esm/models/pdffactur-xinfo.js +14 -0
- package/dist/esm/models/pdpcredentials.d.ts +32 -0
- package/dist/esm/models/pdpcredentials.js +14 -0
- package/dist/esm/models/piece-jointe-complementaire.d.ts +21 -0
- package/dist/esm/models/piece-jointe-complementaire.js +14 -0
- package/dist/esm/models/profil-api.d.ts +18 -0
- package/dist/esm/models/profil-api.js +19 -0
- package/dist/esm/models/profil-flux.d.ts +20 -0
- package/dist/esm/models/profil-flux.js +21 -0
- package/dist/esm/models/quantite.d.ts +16 -0
- package/dist/esm/models/quantite.js +14 -0
- package/dist/esm/models/quota-info.d.ts +21 -0
- package/dist/esm/models/quota-info.js +14 -0
- package/dist/esm/models/rechercher-services-response.d.ts +24 -0
- package/dist/esm/models/rechercher-services-response.js +14 -0
- package/dist/esm/models/rechercher-structure-request.d.ts +25 -0
- package/dist/esm/models/rechercher-structure-request.js +14 -0
- package/dist/esm/models/rechercher-structure-response.d.ts +30 -0
- package/dist/esm/models/rechercher-structure-response.js +14 -0
- package/dist/esm/models/references.d.ts +27 -0
- package/dist/esm/models/references.js +14 -0
- package/dist/esm/models/reponse-healthcheck-afnor.d.ts +28 -0
- package/dist/esm/models/reponse-healthcheck-afnor.js +14 -0
- package/dist/esm/models/reponse-recherche-flux.d.ts +33 -0
- package/dist/esm/models/reponse-recherche-flux.js +14 -0
- package/dist/esm/models/reponse-soumission-flux.d.ts +38 -0
- package/dist/esm/models/reponse-soumission-flux.js +14 -0
- package/dist/esm/models/reponse-tache.d.ts +17 -0
- package/dist/esm/models/reponse-tache.js +14 -0
- package/dist/esm/models/reponse-validation-erreur.d.ts +17 -0
- package/dist/esm/models/reponse-validation-erreur.js +14 -0
- package/dist/esm/models/reponse-validation-succes.d.ts +17 -0
- package/dist/esm/models/reponse-validation-succes.js +14 -0
- package/dist/esm/models/requete-recherche-flux.d.ts +34 -0
- package/dist/esm/models/requete-recherche-flux.js +14 -0
- package/dist/esm/models/requete-soumission-flux.d.ts +31 -0
- package/dist/esm/models/requete-soumission-flux.js +14 -0
- package/dist/esm/models/resultat-afnor.d.ts +30 -0
- package/dist/esm/models/resultat-afnor.js +14 -0
- package/dist/esm/models/resultat-chorus-pro.d.ts +22 -0
- package/dist/esm/models/resultat-chorus-pro.js +14 -0
- package/dist/esm/models/resultat-validation-pdfapi.d.ts +93 -0
- package/dist/esm/models/resultat-validation-pdfapi.js +14 -0
- package/dist/esm/models/scheme-id.d.ts +22 -0
- package/dist/esm/models/scheme-id.js +23 -0
- package/dist/esm/models/service-structure.d.ts +32 -0
- package/dist/esm/models/service-structure.js +14 -0
- package/dist/esm/models/signature-info.d.ts +22 -0
- package/dist/esm/models/signature-info.js +14 -0
- package/dist/esm/models/soumettre-facture-complete-request.d.ts +34 -0
- package/dist/esm/models/soumettre-facture-complete-request.js +14 -0
- package/dist/esm/models/soumettre-facture-complete-response.d.ts +53 -0
- package/dist/esm/models/soumettre-facture-complete-response.js +17 -0
- package/dist/esm/models/soumettre-facture-request.d.ts +50 -0
- package/dist/esm/models/soumettre-facture-request.js +14 -0
- package/dist/esm/models/soumettre-facture-response.d.ts +26 -0
- package/dist/esm/models/soumettre-facture-response.js +14 -0
- package/dist/esm/models/statut-acquittement.d.ts +20 -0
- package/dist/esm/models/statut-acquittement.js +21 -0
- package/dist/esm/models/statut-facture.d.ts +25 -0
- package/dist/esm/models/statut-facture.js +14 -0
- package/dist/esm/models/statut-tache.d.ts +19 -0
- package/dist/esm/models/statut-tache.js +14 -0
- package/dist/esm/models/structure-info.d.ts +36 -0
- package/dist/esm/models/structure-info.js +14 -0
- package/dist/esm/models/syntaxe-flux.d.ts +22 -0
- package/dist/esm/models/syntaxe-flux.js +23 -0
- package/dist/esm/models/tauxmanuel.d.ts +16 -0
- package/dist/esm/models/tauxmanuel.js +14 -0
- package/dist/esm/models/type-facture.d.ts +19 -0
- package/dist/esm/models/type-facture.js +20 -0
- package/dist/esm/models/type-flux.d.ts +22 -0
- package/dist/esm/models/type-flux.js +23 -0
- package/dist/esm/models/type-tva.d.ts +21 -0
- package/dist/esm/models/type-tva.js +22 -0
- package/dist/esm/models/unite.d.ts +23 -0
- package/dist/esm/models/unite.js +24 -0
- package/dist/esm/models/utilisateur.d.ts +29 -0
- package/dist/esm/models/utilisateur.js +14 -0
- package/dist/esm/models/validation-error-loc-inner.d.ts +13 -0
- package/dist/esm/models/validation-error-loc-inner.js +14 -0
- package/dist/esm/models/validation-error.d.ts +17 -0
- package/dist/esm/models/validation-error.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/adresse-electronique.d.ts +19 -0
- package/dist/models/adresse-electronique.js +15 -0
- package/dist/models/adresse-postale.d.ts +21 -0
- package/dist/models/adresse-postale.js +15 -0
- package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.d.ts +20 -0
- package/dist/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.js +15 -0
- package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.d.ts +20 -0
- package/dist/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.js +15 -0
- package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.d.ts +17 -0
- package/dist/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.js +15 -0
- package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.d.ts +20 -0
- package/dist/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.js +15 -0
- package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.d.ts +20 -0
- package/dist/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.js +15 -0
- package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.d.ts +20 -0
- package/dist/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.js +15 -0
- package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.d.ts +20 -0
- package/dist/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.js +15 -0
- package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.d.ts +20 -0
- package/dist/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.js +15 -0
- package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.d.ts +20 -0
- package/dist/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.js +15 -0
- package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.d.ts +20 -0
- package/dist/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.js +15 -0
- package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.d.ts +20 -0
- package/dist/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.js +15 -0
- package/dist/models/cadre-de-facturation.d.ts +20 -0
- package/dist/models/cadre-de-facturation.js +15 -0
- package/dist/models/categorie-tva.d.ts +26 -0
- package/dist/models/categorie-tva.js +30 -0
- package/dist/models/certificate-info-response.d.ts +61 -0
- package/dist/models/certificate-info-response.js +15 -0
- package/dist/models/chorus-pro-credentials.d.ts +36 -0
- package/dist/models/chorus-pro-credentials.js +15 -0
- package/dist/models/code-cadre-facturation.d.ts +18 -0
- package/dist/models/code-cadre-facturation.js +22 -0
- package/dist/models/code-raison-reduction.d.ts +24 -0
- package/dist/models/code-raison-reduction.js +28 -0
- package/dist/models/consulter-facture-request.d.ts +22 -0
- package/dist/models/consulter-facture-request.js +15 -0
- package/dist/models/consulter-facture-response.d.ts +26 -0
- package/dist/models/consulter-facture-response.js +15 -0
- package/dist/models/consulter-structure-request.d.ts +26 -0
- package/dist/models/consulter-structure-request.js +15 -0
- package/dist/models/consulter-structure-response.d.ts +26 -0
- package/dist/models/consulter-structure-response.js +15 -0
- package/dist/models/credentials-afnor.d.ts +19 -0
- package/dist/models/credentials-afnor.js +15 -0
- package/dist/models/credentials-chorus-pro.d.ts +24 -0
- package/dist/models/credentials-chorus-pro.js +15 -0
- package/dist/models/destinataire.d.ts +22 -0
- package/dist/models/destinataire.js +15 -0
- package/dist/models/destination-afnor.d.ts +34 -0
- package/dist/models/destination-afnor.js +24 -0
- package/dist/models/destination-chorus-pro.d.ts +23 -0
- package/dist/models/destination-chorus-pro.js +19 -0
- package/dist/models/destination.d.ts +22 -0
- package/dist/models/destination.js +15 -0
- package/dist/models/direction-flux.d.ts +19 -0
- package/dist/models/direction-flux.js +23 -0
- package/dist/models/donnees-facture-simplifiees.d.ts +46 -0
- package/dist/models/donnees-facture-simplifiees.js +15 -0
- package/dist/models/facture-enrichie-info-input.d.ts +27 -0
- package/dist/models/facture-enrichie-info-input.js +15 -0
- package/dist/models/facture-enrichie-info-output.d.ts +24 -0
- package/dist/models/facture-enrichie-info-output.js +15 -0
- package/dist/models/facture-factur-x.d.ts +39 -0
- package/dist/models/facture-factur-x.js +15 -0
- package/dist/models/flux-resume.d.ts +24 -0
- package/dist/models/flux-resume.js +15 -0
- package/dist/models/format-sortie.d.ts +16 -0
- package/dist/models/format-sortie.js +20 -0
- package/dist/models/fournisseur.d.ts +27 -0
- package/dist/models/fournisseur.js +15 -0
- package/dist/models/generate-certificate-request.d.ts +54 -0
- package/dist/models/generate-certificate-request.js +15 -0
- package/dist/models/generate-certificate-response.d.ts +38 -0
- package/dist/models/generate-certificate-response.js +15 -0
- package/dist/models/httpvalidation-error.d.ts +15 -0
- package/dist/models/httpvalidation-error.js +15 -0
- package/dist/models/index.d.ts +108 -0
- package/dist/models/index.js +124 -0
- package/dist/models/information-signature-api.d.ts +25 -0
- package/dist/models/information-signature-api.js +15 -0
- package/dist/models/ligne-de-poste-montant-remise-ht.d.ts +16 -0
- package/dist/models/ligne-de-poste-montant-remise-ht.js +15 -0
- package/dist/models/ligne-de-poste-montant-total-ligne-ht.d.ts +16 -0
- package/dist/models/ligne-de-poste-montant-total-ligne-ht.js +15 -0
- package/dist/models/ligne-de-poste-taux-tva-manuel.d.ts +16 -0
- package/dist/models/ligne-de-poste-taux-tva-manuel.js +15 -0
- package/dist/models/ligne-de-poste.d.ts +39 -0
- package/dist/models/ligne-de-poste.js +15 -0
- package/dist/models/ligne-de-tva.d.ts +25 -0
- package/dist/models/ligne-de-tva.js +15 -0
- package/dist/models/mode-depot.d.ts +20 -0
- package/dist/models/mode-depot.js +24 -0
- package/dist/models/mode-paiement.d.ts +23 -0
- package/dist/models/mode-paiement.js +27 -0
- package/dist/models/montant-ht-total.d.ts +13 -0
- package/dist/models/montant-ht-total.js +15 -0
- package/dist/models/montant-total-acompte.d.ts +16 -0
- package/dist/models/montant-total-acompte.js +15 -0
- package/dist/models/montant-total-montant-remise-globale-ttc.d.ts +16 -0
- package/dist/models/montant-total-montant-remise-globale-ttc.js +15 -0
- package/dist/models/montant-total.d.ts +29 -0
- package/dist/models/montant-total.js +15 -0
- package/dist/models/montant-ttc-total.d.ts +13 -0
- package/dist/models/montant-ttc-total.js +15 -0
- package/dist/models/montant-tva.d.ts +13 -0
- package/dist/models/montant-tva.js +15 -0
- package/dist/models/montantapayer.d.ts +16 -0
- package/dist/models/montantapayer.js +15 -0
- package/dist/models/montantbaseht.d.ts +16 -0
- package/dist/models/montantbaseht.js +15 -0
- package/dist/models/montanthttotal.d.ts +16 -0
- package/dist/models/montanthttotal.js +15 -0
- package/dist/models/montantttctotal.d.ts +16 -0
- package/dist/models/montantttctotal.js +15 -0
- package/dist/models/montanttva.d.ts +16 -0
- package/dist/models/montanttva.js +15 -0
- package/dist/models/montanttva1.d.ts +16 -0
- package/dist/models/montanttva1.js +15 -0
- package/dist/models/montantunitaireht.d.ts +16 -0
- package/dist/models/montantunitaireht.js +15 -0
- package/dist/models/obtenir-id-chorus-pro-request.d.ts +26 -0
- package/dist/models/obtenir-id-chorus-pro-request.js +15 -0
- package/dist/models/obtenir-id-chorus-pro-response.d.ts +29 -0
- package/dist/models/obtenir-id-chorus-pro-response.js +15 -0
- package/dist/models/options-processing.d.ts +39 -0
- package/dist/models/options-processing.js +22 -0
- package/dist/models/parametres-signature.d.ts +34 -0
- package/dist/models/parametres-signature.js +15 -0
- package/dist/models/parametres-structure.d.ts +28 -0
- package/dist/models/parametres-structure.js +15 -0
- package/dist/models/pdffactur-xinfo.d.ts +28 -0
- package/dist/models/pdffactur-xinfo.js +15 -0
- package/dist/models/pdpcredentials.d.ts +32 -0
- package/dist/models/pdpcredentials.js +15 -0
- package/dist/models/piece-jointe-complementaire.d.ts +21 -0
- package/dist/models/piece-jointe-complementaire.js +15 -0
- package/dist/models/profil-api.d.ts +18 -0
- package/dist/models/profil-api.js +22 -0
- package/dist/models/profil-flux.d.ts +20 -0
- package/dist/models/profil-flux.js +24 -0
- package/dist/models/quantite.d.ts +16 -0
- package/dist/models/quantite.js +15 -0
- package/dist/models/quota-info.d.ts +21 -0
- package/dist/models/quota-info.js +15 -0
- package/dist/models/rechercher-services-response.d.ts +24 -0
- package/dist/models/rechercher-services-response.js +15 -0
- package/dist/models/rechercher-structure-request.d.ts +25 -0
- package/dist/models/rechercher-structure-request.js +15 -0
- package/dist/models/rechercher-structure-response.d.ts +30 -0
- package/dist/models/rechercher-structure-response.js +15 -0
- package/dist/models/references.d.ts +27 -0
- package/dist/models/references.js +15 -0
- package/dist/models/reponse-healthcheck-afnor.d.ts +28 -0
- package/dist/models/reponse-healthcheck-afnor.js +15 -0
- package/dist/models/reponse-recherche-flux.d.ts +33 -0
- package/dist/models/reponse-recherche-flux.js +15 -0
- package/dist/models/reponse-soumission-flux.d.ts +38 -0
- package/dist/models/reponse-soumission-flux.js +15 -0
- package/dist/models/reponse-tache.d.ts +17 -0
- package/dist/models/reponse-tache.js +15 -0
- package/dist/models/reponse-validation-erreur.d.ts +17 -0
- package/dist/models/reponse-validation-erreur.js +15 -0
- package/dist/models/reponse-validation-succes.d.ts +17 -0
- package/dist/models/reponse-validation-succes.js +15 -0
- package/dist/models/requete-recherche-flux.d.ts +34 -0
- package/dist/models/requete-recherche-flux.js +15 -0
- package/dist/models/requete-soumission-flux.d.ts +31 -0
- package/dist/models/requete-soumission-flux.js +15 -0
- package/dist/models/resultat-afnor.d.ts +30 -0
- package/dist/models/resultat-afnor.js +15 -0
- package/dist/models/resultat-chorus-pro.d.ts +22 -0
- package/dist/models/resultat-chorus-pro.js +15 -0
- package/dist/models/resultat-validation-pdfapi.d.ts +93 -0
- package/dist/models/resultat-validation-pdfapi.js +15 -0
- package/dist/models/scheme-id.d.ts +22 -0
- package/dist/models/scheme-id.js +26 -0
- package/dist/models/service-structure.d.ts +32 -0
- package/dist/models/service-structure.js +15 -0
- package/dist/models/signature-info.d.ts +22 -0
- package/dist/models/signature-info.js +15 -0
- package/dist/models/soumettre-facture-complete-request.d.ts +34 -0
- package/dist/models/soumettre-facture-complete-request.js +15 -0
- package/dist/models/soumettre-facture-complete-response.d.ts +53 -0
- package/dist/models/soumettre-facture-complete-response.js +20 -0
- package/dist/models/soumettre-facture-request.d.ts +50 -0
- package/dist/models/soumettre-facture-request.js +15 -0
- package/dist/models/soumettre-facture-response.d.ts +26 -0
- package/dist/models/soumettre-facture-response.js +15 -0
- package/dist/models/statut-acquittement.d.ts +20 -0
- package/dist/models/statut-acquittement.js +24 -0
- package/dist/models/statut-facture.d.ts +25 -0
- package/dist/models/statut-facture.js +15 -0
- package/dist/models/statut-tache.d.ts +19 -0
- package/dist/models/statut-tache.js +15 -0
- package/dist/models/structure-info.d.ts +36 -0
- package/dist/models/structure-info.js +15 -0
- package/dist/models/syntaxe-flux.d.ts +22 -0
- package/dist/models/syntaxe-flux.js +26 -0
- package/dist/models/tauxmanuel.d.ts +16 -0
- package/dist/models/tauxmanuel.js +15 -0
- package/dist/models/type-facture.d.ts +19 -0
- package/dist/models/type-facture.js +23 -0
- package/dist/models/type-flux.d.ts +22 -0
- package/dist/models/type-flux.js +26 -0
- package/dist/models/type-tva.d.ts +21 -0
- package/dist/models/type-tva.js +25 -0
- package/dist/models/unite.d.ts +23 -0
- package/dist/models/unite.js +27 -0
- package/dist/models/utilisateur.d.ts +29 -0
- package/dist/models/utilisateur.js +15 -0
- package/dist/models/validation-error-loc-inner.d.ts +13 -0
- package/dist/models/validation-error-loc-inner.js +15 -0
- package/dist/models/validation-error.d.ts +17 -0
- package/dist/models/validation-error.js +15 -0
- package/docs/AFNORPDPPAApi.md +53 -0
- package/docs/AFNORPDPPADirectoryServiceApi.md +153 -0
- package/docs/AFNORPDPPAFlowServiceApi.md +208 -0
- package/docs/AdresseElectronique.md +23 -0
- package/docs/AdressePostale.md +29 -0
- package/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +24 -0
- package/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +24 -0
- package/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +22 -0
- package/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +24 -0
- package/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +24 -0
- package/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +24 -0
- package/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +24 -0
- package/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +24 -0
- package/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +24 -0
- package/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +24 -0
- package/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +24 -0
- package/docs/CadreDeFacturation.md +25 -0
- package/docs/CategorieTVA.md +25 -0
- package/docs/CertificateInfoResponse.md +43 -0
- package/docs/ChorusProApi.md +874 -0
- package/docs/ChorusProCredentials.md +29 -0
- package/docs/CodeCadreFacturation.md +14 -0
- package/docs/CodeRaisonReduction.md +21 -0
- package/docs/ConsulterFactureRequest.md +23 -0
- package/docs/ConsulterFactureResponse.md +37 -0
- package/docs/ConsulterStructureRequest.md +25 -0
- package/docs/ConsulterStructureResponse.md +37 -0
- package/docs/CredentialsAFNOR.md +25 -0
- package/docs/CredentialsChorusPro.md +29 -0
- package/docs/Destinataire.md +27 -0
- package/docs/Destination.md +27 -0
- package/docs/DestinationAFNOR.md +27 -0
- package/docs/DestinationChorusPro.md +23 -0
- package/docs/DirectionFlux.md +11 -0
- package/docs/DonneesFactureSimplifiees.md +37 -0
- package/docs/FactureEnrichieInfoInput.md +35 -0
- package/docs/FactureEnrichieInfoOutput.md +35 -0
- package/docs/FactureFacturX.md +47 -0
- package/docs/FluxResume.md +35 -0
- package/docs/FormatSortie.md +10 -0
- package/docs/Fournisseur.md +37 -0
- package/docs/GenerateCertificateRequest.md +41 -0
- package/docs/GenerateCertificateResponse.md +31 -0
- package/docs/HTTPValidationError.md +20 -0
- package/docs/InformationSignatureAPI.md +31 -0
- package/docs/LigneDePoste.md +49 -0
- package/docs/LigneDePosteMontantRemiseHt.md +19 -0
- package/docs/LigneDePosteMontantTotalLigneHt.md +19 -0
- package/docs/LigneDePosteTauxTvaManuel.md +19 -0
- package/docs/LigneDeTVA.md +29 -0
- package/docs/ModeDepot.md +13 -0
- package/docs/ModePaiement.md +19 -0
- package/docs/MontantHtTotal.md +18 -0
- package/docs/MontantTotal.md +33 -0
- package/docs/MontantTotalAcompte.md +19 -0
- package/docs/MontantTotalMontantRemiseGlobaleTtc.md +19 -0
- package/docs/MontantTtcTotal.md +18 -0
- package/docs/MontantTva.md +18 -0
- package/docs/Montantapayer.md +19 -0
- package/docs/Montantbaseht.md +19 -0
- package/docs/Montanthttotal.md +19 -0
- package/docs/Montantttctotal.md +19 -0
- package/docs/Montanttva.md +19 -0
- package/docs/Montanttva1.md +19 -0
- package/docs/Montantunitaireht.md +19 -0
- package/docs/ObtenirIdChorusProRequest.md +25 -0
- package/docs/ObtenirIdChorusProResponse.md +27 -0
- package/docs/OptionsProcessing.md +27 -0
- package/docs/PDFFacturXInfo.md +25 -0
- package/docs/PDPCredentials.md +27 -0
- package/docs/ParametresSignature.md +37 -0
- package/docs/ParametresStructure.md +25 -0
- package/docs/PieceJointeComplementaire.md +29 -0
- package/docs/ProcessingEndpointsUnifisApi.md +115 -0
- package/docs/ProfilAPI.md +14 -0
- package/docs/ProfilFlux.md +13 -0
- package/docs/Quantite.md +19 -0
- package/docs/QuotaInfo.md +29 -0
- package/docs/RechercherServicesResponse.md +27 -0
- package/docs/RechercherStructureRequest.md +29 -0
- package/docs/RechercherStructureResponse.md +27 -0
- package/docs/References.md +35 -0
- package/docs/ReponseHealthcheckAFNOR.md +25 -0
- package/docs/ReponseRechercheFlux.md +27 -0
- package/docs/ReponseSoumissionFlux.md +33 -0
- package/docs/ReponseTache.md +21 -0
- package/docs/ReponseValidationErreur.md +20 -0
- package/docs/ReponseValidationSucces.md +20 -0
- package/docs/RequeteRechercheFlux.md +37 -0
- package/docs/RequeteSoumissionFlux.md +31 -0
- package/docs/ResultatAFNOR.md +29 -0
- package/docs/ResultatChorusPro.md +25 -0
- package/docs/ResultatValidationPDFAPI.md +65 -0
- package/docs/SantApi.md +52 -0
- package/docs/SchemeID.md +17 -0
- package/docs/ServiceStructure.md +27 -0
- package/docs/SignatureInfo.md +25 -0
- package/docs/SignatureLectroniqueApi.md +266 -0
- package/docs/SoumettreFactureCompleteRequest.md +29 -0
- package/docs/SoumettreFactureCompleteResponse.md +37 -0
- package/docs/SoumettreFactureRequest.md +49 -0
- package/docs/SoumettreFactureResponse.md +27 -0
- package/docs/StatutAcquittement.md +13 -0
- package/docs/StatutFacture.md +25 -0
- package/docs/StatutTache.md +25 -0
- package/docs/StructureInfo.md +29 -0
- package/docs/SyntaxeFlux.md +17 -0
- package/docs/Tauxmanuel.md +19 -0
- package/docs/TraitementFactureApi.md +670 -0
- package/docs/TypeFacture.md +11 -0
- package/docs/TypeFlux.md +17 -0
- package/docs/TypeTVA.md +15 -0
- package/docs/Unite.md +19 -0
- package/docs/Utilisateur.md +43 -0
- package/docs/UtilisateurApi.md +52 -0
- package/docs/ValidationError.md +24 -0
- package/docs/ValidationErrorLocInner.md +18 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/models/adresse-electronique.ts +29 -0
- package/models/adresse-postale.ts +27 -0
- package/models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.ts +28 -0
- package/models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.ts +28 -0
- package/models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.ts +27 -0
- package/models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.ts +28 -0
- package/models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.ts +28 -0
- package/models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.ts +28 -0
- package/models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.ts +28 -0
- package/models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.ts +28 -0
- package/models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.ts +28 -0
- package/models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.ts +28 -0
- package/models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.ts +28 -0
- package/models/cadre-de-facturation.ts +30 -0
- package/models/categorie-tva.ts +36 -0
- package/models/certificate-info-response.ts +67 -0
- package/models/chorus-pro-credentials.ts +42 -0
- package/models/code-cadre-facturation.ts +28 -0
- package/models/code-raison-reduction.ts +34 -0
- package/models/consulter-facture-request.ts +30 -0
- package/models/consulter-facture-response.ts +34 -0
- package/models/consulter-structure-request.ts +34 -0
- package/models/consulter-structure-response.ts +34 -0
- package/models/credentials-afnor.ts +25 -0
- package/models/credentials-chorus-pro.ts +30 -0
- package/models/destinataire.ts +32 -0
- package/models/destination-afnor.ts +46 -0
- package/models/destination-chorus-pro.ts +34 -0
- package/models/destination.ts +32 -0
- package/models/direction-flux.ts +29 -0
- package/models/donnees-facture-simplifiees.ts +46 -0
- package/models/facture-enrichie-info-input.ts +39 -0
- package/models/facture-enrichie-info-output.ts +30 -0
- package/models/facture-factur-x.ts +65 -0
- package/models/flux-resume.ts +30 -0
- package/models/format-sortie.ts +26 -0
- package/models/fournisseur.ts +37 -0
- package/models/generate-certificate-request.ts +60 -0
- package/models/generate-certificate-response.ts +46 -0
- package/models/httpvalidation-error.ts +23 -0
- package/models/index.ts +108 -0
- package/models/information-signature-api.ts +31 -0
- package/models/ligne-de-poste-montant-remise-ht.ts +22 -0
- package/models/ligne-de-poste-montant-total-ligne-ht.ts +22 -0
- package/models/ligne-de-poste-taux-tva-manuel.ts +22 -0
- package/models/ligne-de-poste.ts +63 -0
- package/models/ligne-de-tva.ts +41 -0
- package/models/mode-depot.ts +30 -0
- package/models/mode-paiement.ts +33 -0
- package/models/montant-ht-total.ts +19 -0
- package/models/montant-total-acompte.ts +22 -0
- package/models/montant-total-montant-remise-globale-ttc.ts +22 -0
- package/models/montant-total.ts +47 -0
- package/models/montant-ttc-total.ts +19 -0
- package/models/montant-tva.ts +19 -0
- package/models/montantapayer.ts +22 -0
- package/models/montantbaseht.ts +22 -0
- package/models/montanthttotal.ts +22 -0
- package/models/montantttctotal.ts +22 -0
- package/models/montanttva.ts +22 -0
- package/models/montanttva1.ts +22 -0
- package/models/montantunitaireht.ts +22 -0
- package/models/obtenir-id-chorus-pro-request.ts +34 -0
- package/models/obtenir-id-chorus-pro-response.ts +35 -0
- package/models/options-processing.ts +48 -0
- package/models/parametres-signature.ts +40 -0
- package/models/parametres-structure.ts +34 -0
- package/models/pdffactur-xinfo.ts +34 -0
- package/models/pdpcredentials.ts +38 -0
- package/models/piece-jointe-complementaire.ts +27 -0
- package/models/profil-api.ts +28 -0
- package/models/profil-flux.ts +30 -0
- package/models/quantite.ts +22 -0
- package/models/quota-info.ts +27 -0
- package/models/rechercher-services-response.ts +32 -0
- package/models/rechercher-structure-request.ts +33 -0
- package/models/rechercher-structure-response.ts +38 -0
- package/models/references.ts +41 -0
- package/models/reponse-healthcheck-afnor.ts +34 -0
- package/models/reponse-recherche-flux.ts +41 -0
- package/models/reponse-soumission-flux.ts +44 -0
- package/models/reponse-tache.ts +23 -0
- package/models/reponse-validation-erreur.ts +23 -0
- package/models/reponse-validation-succes.ts +23 -0
- package/models/requete-recherche-flux.ts +48 -0
- package/models/requete-soumission-flux.ts +45 -0
- package/models/resultat-afnor.ts +36 -0
- package/models/resultat-chorus-pro.ts +28 -0
- package/models/resultat-validation-pdfapi.ts +99 -0
- package/models/scheme-id.ts +32 -0
- package/models/service-structure.ts +38 -0
- package/models/signature-info.ts +28 -0
- package/models/soumettre-facture-complete-request.ts +48 -0
- package/models/soumettre-facture-complete-response.ts +72 -0
- package/models/soumettre-facture-request.ts +58 -0
- package/models/soumettre-facture-response.ts +32 -0
- package/models/statut-acquittement.ts +30 -0
- package/models/statut-facture.ts +31 -0
- package/models/statut-tache.ts +25 -0
- package/models/structure-info.ts +42 -0
- package/models/syntaxe-flux.ts +32 -0
- package/models/tauxmanuel.ts +22 -0
- package/models/type-facture.ts +29 -0
- package/models/type-flux.ts +32 -0
- package/models/type-tva.ts +31 -0
- package/models/unite.ts +33 -0
- package/models/utilisateur.ts +37 -0
- package/models/validation-error-loc-inner.ts +19 -0
- package/models/validation-error.ts +25 -0
- package/package.json +33 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Configuration GitHub Actions
|
|
2
|
+
|
|
3
|
+
## Secret npm requis
|
|
4
|
+
|
|
5
|
+
1. Allez sur https://github.com/factpulse/sdk-typescript/settings/secrets/actions
|
|
6
|
+
2. Cliquez sur "New repository secret"
|
|
7
|
+
3. Nom : `NPM_TOKEN`
|
|
8
|
+
4. Valeur : Votre token npm (obtenu sur https://www.npmjs.com/settings/YOUR_USERNAME/tokens)
|
|
9
|
+
|
|
10
|
+
## Déploiement
|
|
11
|
+
|
|
12
|
+
Le workflow se déclenche automatiquement lors de la création d'un tag `v*` (exemple : `v1.0.0`).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build-and-publish:
|
|
10
|
+
name: Build and publish to npm
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout code
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Setup Node.js
|
|
18
|
+
uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: '18'
|
|
21
|
+
registry-url: 'https://registry.npmjs.org'
|
|
22
|
+
|
|
23
|
+
- name: Install dependencies
|
|
24
|
+
run: npm install
|
|
25
|
+
|
|
26
|
+
- name: Build
|
|
27
|
+
run: npm run build || echo "No build script found, skipping..."
|
|
28
|
+
|
|
29
|
+
- name: Publish to npm
|
|
30
|
+
run: npm publish --access public
|
|
31
|
+
env:
|
|
32
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
33
|
+
|
|
34
|
+
- name: Create GitHub Release
|
|
35
|
+
uses: softprops/action-gh-release@v1
|
|
36
|
+
with:
|
|
37
|
+
generate_release_notes: true
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
4
|
+
README.md
|
|
5
|
+
api.ts
|
|
6
|
+
api/afnorpdppaapi.ts
|
|
7
|
+
api/afnorpdppadirectory-service-api.ts
|
|
8
|
+
api/afnorpdppaflow-service-api.ts
|
|
9
|
+
api/chorus-pro-api.ts
|
|
10
|
+
api/processing-endpoints-unifis-api.ts
|
|
11
|
+
api/sant-api.ts
|
|
12
|
+
api/signature-lectronique-api.ts
|
|
13
|
+
api/traitement-facture-api.ts
|
|
14
|
+
api/utilisateur-api.ts
|
|
15
|
+
base.ts
|
|
16
|
+
common.ts
|
|
17
|
+
configuration.ts
|
|
18
|
+
docs/AFNORPDPPAApi.md
|
|
19
|
+
docs/AFNORPDPPADirectoryServiceApi.md
|
|
20
|
+
docs/AFNORPDPPAFlowServiceApi.md
|
|
21
|
+
docs/AdresseElectronique.md
|
|
22
|
+
docs/AdressePostale.md
|
|
23
|
+
docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md
|
|
24
|
+
docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md
|
|
25
|
+
docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md
|
|
26
|
+
docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md
|
|
27
|
+
docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md
|
|
28
|
+
docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md
|
|
29
|
+
docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md
|
|
30
|
+
docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md
|
|
31
|
+
docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md
|
|
32
|
+
docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md
|
|
33
|
+
docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md
|
|
34
|
+
docs/CadreDeFacturation.md
|
|
35
|
+
docs/CategorieTVA.md
|
|
36
|
+
docs/CertificateInfoResponse.md
|
|
37
|
+
docs/ChorusProApi.md
|
|
38
|
+
docs/ChorusProCredentials.md
|
|
39
|
+
docs/CodeCadreFacturation.md
|
|
40
|
+
docs/CodeRaisonReduction.md
|
|
41
|
+
docs/ConsulterFactureRequest.md
|
|
42
|
+
docs/ConsulterFactureResponse.md
|
|
43
|
+
docs/ConsulterStructureRequest.md
|
|
44
|
+
docs/ConsulterStructureResponse.md
|
|
45
|
+
docs/CredentialsAFNOR.md
|
|
46
|
+
docs/CredentialsChorusPro.md
|
|
47
|
+
docs/Destinataire.md
|
|
48
|
+
docs/Destination.md
|
|
49
|
+
docs/DestinationAFNOR.md
|
|
50
|
+
docs/DestinationChorusPro.md
|
|
51
|
+
docs/DirectionFlux.md
|
|
52
|
+
docs/DonneesFactureSimplifiees.md
|
|
53
|
+
docs/FactureEnrichieInfoInput.md
|
|
54
|
+
docs/FactureEnrichieInfoOutput.md
|
|
55
|
+
docs/FactureFacturX.md
|
|
56
|
+
docs/FluxResume.md
|
|
57
|
+
docs/FormatSortie.md
|
|
58
|
+
docs/Fournisseur.md
|
|
59
|
+
docs/GenerateCertificateRequest.md
|
|
60
|
+
docs/GenerateCertificateResponse.md
|
|
61
|
+
docs/HTTPValidationError.md
|
|
62
|
+
docs/InformationSignatureAPI.md
|
|
63
|
+
docs/LigneDePoste.md
|
|
64
|
+
docs/LigneDePosteMontantRemiseHt.md
|
|
65
|
+
docs/LigneDePosteMontantTotalLigneHt.md
|
|
66
|
+
docs/LigneDePosteTauxTvaManuel.md
|
|
67
|
+
docs/LigneDeTVA.md
|
|
68
|
+
docs/ModeDepot.md
|
|
69
|
+
docs/ModePaiement.md
|
|
70
|
+
docs/MontantHtTotal.md
|
|
71
|
+
docs/MontantTotal.md
|
|
72
|
+
docs/MontantTotalAcompte.md
|
|
73
|
+
docs/MontantTotalMontantRemiseGlobaleTtc.md
|
|
74
|
+
docs/MontantTtcTotal.md
|
|
75
|
+
docs/MontantTva.md
|
|
76
|
+
docs/Montantapayer.md
|
|
77
|
+
docs/Montantbaseht.md
|
|
78
|
+
docs/Montanthttotal.md
|
|
79
|
+
docs/Montantttctotal.md
|
|
80
|
+
docs/Montanttva.md
|
|
81
|
+
docs/Montanttva1.md
|
|
82
|
+
docs/Montantunitaireht.md
|
|
83
|
+
docs/ObtenirIdChorusProRequest.md
|
|
84
|
+
docs/ObtenirIdChorusProResponse.md
|
|
85
|
+
docs/OptionsProcessing.md
|
|
86
|
+
docs/PDFFacturXInfo.md
|
|
87
|
+
docs/PDPCredentials.md
|
|
88
|
+
docs/ParametresSignature.md
|
|
89
|
+
docs/ParametresStructure.md
|
|
90
|
+
docs/PieceJointeComplementaire.md
|
|
91
|
+
docs/ProcessingEndpointsUnifisApi.md
|
|
92
|
+
docs/ProfilAPI.md
|
|
93
|
+
docs/ProfilFlux.md
|
|
94
|
+
docs/Quantite.md
|
|
95
|
+
docs/QuotaInfo.md
|
|
96
|
+
docs/RechercherServicesResponse.md
|
|
97
|
+
docs/RechercherStructureRequest.md
|
|
98
|
+
docs/RechercherStructureResponse.md
|
|
99
|
+
docs/References.md
|
|
100
|
+
docs/ReponseHealthcheckAFNOR.md
|
|
101
|
+
docs/ReponseRechercheFlux.md
|
|
102
|
+
docs/ReponseSoumissionFlux.md
|
|
103
|
+
docs/ReponseTache.md
|
|
104
|
+
docs/ReponseValidationErreur.md
|
|
105
|
+
docs/ReponseValidationSucces.md
|
|
106
|
+
docs/RequeteRechercheFlux.md
|
|
107
|
+
docs/RequeteSoumissionFlux.md
|
|
108
|
+
docs/ResultatAFNOR.md
|
|
109
|
+
docs/ResultatChorusPro.md
|
|
110
|
+
docs/ResultatValidationPDFAPI.md
|
|
111
|
+
docs/SantApi.md
|
|
112
|
+
docs/SchemeID.md
|
|
113
|
+
docs/ServiceStructure.md
|
|
114
|
+
docs/SignatureInfo.md
|
|
115
|
+
docs/SignatureLectroniqueApi.md
|
|
116
|
+
docs/SoumettreFactureCompleteRequest.md
|
|
117
|
+
docs/SoumettreFactureCompleteResponse.md
|
|
118
|
+
docs/SoumettreFactureRequest.md
|
|
119
|
+
docs/SoumettreFactureResponse.md
|
|
120
|
+
docs/StatutAcquittement.md
|
|
121
|
+
docs/StatutFacture.md
|
|
122
|
+
docs/StatutTache.md
|
|
123
|
+
docs/StructureInfo.md
|
|
124
|
+
docs/SyntaxeFlux.md
|
|
125
|
+
docs/Tauxmanuel.md
|
|
126
|
+
docs/TraitementFactureApi.md
|
|
127
|
+
docs/TypeFacture.md
|
|
128
|
+
docs/TypeFlux.md
|
|
129
|
+
docs/TypeTVA.md
|
|
130
|
+
docs/Unite.md
|
|
131
|
+
docs/Utilisateur.md
|
|
132
|
+
docs/UtilisateurApi.md
|
|
133
|
+
docs/ValidationError.md
|
|
134
|
+
docs/ValidationErrorLocInner.md
|
|
135
|
+
git_push.sh
|
|
136
|
+
index.ts
|
|
137
|
+
models/adresse-electronique.ts
|
|
138
|
+
models/adresse-postale.ts
|
|
139
|
+
models/body-ajouter-fichier-api-v1-chorus-pro-transverses-ajouter-fichier-post.ts
|
|
140
|
+
models/body-completer-facture-api-v1-chorus-pro-factures-completer-post.ts
|
|
141
|
+
models/body-lister-services-structure-api-v1-chorus-pro-structures-id-structure-cpp-services-get.ts
|
|
142
|
+
models/body-rechercher-factures-destinataire-api-v1-chorus-pro-factures-rechercher-destinataire-post.ts
|
|
143
|
+
models/body-rechercher-factures-fournisseur-api-v1-chorus-pro-factures-rechercher-fournisseur-post.ts
|
|
144
|
+
models/body-recycler-facture-api-v1-chorus-pro-factures-recycler-post.ts
|
|
145
|
+
models/body-telecharger-groupe-factures-api-v1-chorus-pro-factures-telecharger-groupe-post.ts
|
|
146
|
+
models/body-traiter-facture-recue-api-v1-chorus-pro-factures-traiter-facture-recue-post.ts
|
|
147
|
+
models/body-valideur-consulter-facture-api-v1-chorus-pro-factures-valideur-consulter-post.ts
|
|
148
|
+
models/body-valideur-rechercher-factures-api-v1-chorus-pro-factures-valideur-rechercher-post.ts
|
|
149
|
+
models/body-valideur-traiter-facture-api-v1-chorus-pro-factures-valideur-traiter-post.ts
|
|
150
|
+
models/cadre-de-facturation.ts
|
|
151
|
+
models/categorie-tva.ts
|
|
152
|
+
models/certificate-info-response.ts
|
|
153
|
+
models/chorus-pro-credentials.ts
|
|
154
|
+
models/code-cadre-facturation.ts
|
|
155
|
+
models/code-raison-reduction.ts
|
|
156
|
+
models/consulter-facture-request.ts
|
|
157
|
+
models/consulter-facture-response.ts
|
|
158
|
+
models/consulter-structure-request.ts
|
|
159
|
+
models/consulter-structure-response.ts
|
|
160
|
+
models/credentials-afnor.ts
|
|
161
|
+
models/credentials-chorus-pro.ts
|
|
162
|
+
models/destinataire.ts
|
|
163
|
+
models/destination-afnor.ts
|
|
164
|
+
models/destination-chorus-pro.ts
|
|
165
|
+
models/destination.ts
|
|
166
|
+
models/direction-flux.ts
|
|
167
|
+
models/donnees-facture-simplifiees.ts
|
|
168
|
+
models/facture-enrichie-info-input.ts
|
|
169
|
+
models/facture-enrichie-info-output.ts
|
|
170
|
+
models/facture-factur-x.ts
|
|
171
|
+
models/flux-resume.ts
|
|
172
|
+
models/format-sortie.ts
|
|
173
|
+
models/fournisseur.ts
|
|
174
|
+
models/generate-certificate-request.ts
|
|
175
|
+
models/generate-certificate-response.ts
|
|
176
|
+
models/httpvalidation-error.ts
|
|
177
|
+
models/index.ts
|
|
178
|
+
models/information-signature-api.ts
|
|
179
|
+
models/ligne-de-poste-montant-remise-ht.ts
|
|
180
|
+
models/ligne-de-poste-montant-total-ligne-ht.ts
|
|
181
|
+
models/ligne-de-poste-taux-tva-manuel.ts
|
|
182
|
+
models/ligne-de-poste.ts
|
|
183
|
+
models/ligne-de-tva.ts
|
|
184
|
+
models/mode-depot.ts
|
|
185
|
+
models/mode-paiement.ts
|
|
186
|
+
models/montant-ht-total.ts
|
|
187
|
+
models/montant-total-acompte.ts
|
|
188
|
+
models/montant-total-montant-remise-globale-ttc.ts
|
|
189
|
+
models/montant-total.ts
|
|
190
|
+
models/montant-ttc-total.ts
|
|
191
|
+
models/montant-tva.ts
|
|
192
|
+
models/montantapayer.ts
|
|
193
|
+
models/montantbaseht.ts
|
|
194
|
+
models/montanthttotal.ts
|
|
195
|
+
models/montantttctotal.ts
|
|
196
|
+
models/montanttva.ts
|
|
197
|
+
models/montanttva1.ts
|
|
198
|
+
models/montantunitaireht.ts
|
|
199
|
+
models/obtenir-id-chorus-pro-request.ts
|
|
200
|
+
models/obtenir-id-chorus-pro-response.ts
|
|
201
|
+
models/options-processing.ts
|
|
202
|
+
models/parametres-signature.ts
|
|
203
|
+
models/parametres-structure.ts
|
|
204
|
+
models/pdffactur-xinfo.ts
|
|
205
|
+
models/pdpcredentials.ts
|
|
206
|
+
models/piece-jointe-complementaire.ts
|
|
207
|
+
models/profil-api.ts
|
|
208
|
+
models/profil-flux.ts
|
|
209
|
+
models/quantite.ts
|
|
210
|
+
models/quota-info.ts
|
|
211
|
+
models/rechercher-services-response.ts
|
|
212
|
+
models/rechercher-structure-request.ts
|
|
213
|
+
models/rechercher-structure-response.ts
|
|
214
|
+
models/references.ts
|
|
215
|
+
models/reponse-healthcheck-afnor.ts
|
|
216
|
+
models/reponse-recherche-flux.ts
|
|
217
|
+
models/reponse-soumission-flux.ts
|
|
218
|
+
models/reponse-tache.ts
|
|
219
|
+
models/reponse-validation-erreur.ts
|
|
220
|
+
models/reponse-validation-succes.ts
|
|
221
|
+
models/requete-recherche-flux.ts
|
|
222
|
+
models/requete-soumission-flux.ts
|
|
223
|
+
models/resultat-afnor.ts
|
|
224
|
+
models/resultat-chorus-pro.ts
|
|
225
|
+
models/resultat-validation-pdfapi.ts
|
|
226
|
+
models/scheme-id.ts
|
|
227
|
+
models/service-structure.ts
|
|
228
|
+
models/signature-info.ts
|
|
229
|
+
models/soumettre-facture-complete-request.ts
|
|
230
|
+
models/soumettre-facture-complete-response.ts
|
|
231
|
+
models/soumettre-facture-request.ts
|
|
232
|
+
models/soumettre-facture-response.ts
|
|
233
|
+
models/statut-acquittement.ts
|
|
234
|
+
models/statut-facture.ts
|
|
235
|
+
models/statut-tache.ts
|
|
236
|
+
models/structure-info.ts
|
|
237
|
+
models/syntaxe-flux.ts
|
|
238
|
+
models/tauxmanuel.ts
|
|
239
|
+
models/type-facture.ts
|
|
240
|
+
models/type-flux.ts
|
|
241
|
+
models/type-tva.ts
|
|
242
|
+
models/unite.ts
|
|
243
|
+
models/utilisateur.ts
|
|
244
|
+
models/validation-error-loc-inner.ts
|
|
245
|
+
models/validation-error.ts
|
|
246
|
+
package.json
|
|
247
|
+
tsconfig.esm.json
|
|
248
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.18.0-SNAPSHOT
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Toutes les modifications notables de ce projet seront documentées dans ce fichier.
|
|
4
|
+
|
|
5
|
+
Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/),
|
|
6
|
+
et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.0.8] - 2025-11-13
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Version initiale du SDK typescript
|
|
14
|
+
- Support complet de l'API FactPulse v1.0.0
|
|
15
|
+
- Endpoints Factur-X (génération, validation)
|
|
16
|
+
- Endpoints AFNOR PDP/PA (Flow Service, Directory Service)
|
|
17
|
+
- Endpoints Chorus Pro (recherche entreprise, soumission factures)
|
|
18
|
+
- Endpoints Signature électronique (PAdES-B-B, PAdES-B-T, PAdES-B-LT)
|
|
19
|
+
- Support des deux modes d'authentification (stored credentials et zero-trust)
|
|
20
|
+
- Documentation complète et exemples
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
- README.md avec quickstart et exemples
|
|
24
|
+
- Guide d'authentification JWT
|
|
25
|
+
- Configuration avancée (timeout, proxy, debug)
|
|
26
|
+
|
|
27
|
+
[Unreleased]: https://github.com/factpulse/sdk-typescript/compare/v1.0.8...HEAD
|
|
28
|
+
[1.0.8]: https://github.com/factpulse/sdk-typescript/releases/tag/v1.0.8
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 FactPulse
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# FactPulse SDK TypeScript
|
|
2
|
+
|
|
3
|
+
Client TypeScript/JavaScript officiel pour l'API FactPulse - Facturation électronique française.
|
|
4
|
+
|
|
5
|
+
## 🎯 Fonctionnalités
|
|
6
|
+
|
|
7
|
+
- **Factur-X** : Génération et validation de factures électroniques (profils MINIMUM, BASIC, EN16931, EXTENDED)
|
|
8
|
+
- **Chorus Pro** : Intégration avec la plateforme de facturation publique française
|
|
9
|
+
- **AFNOR PDP/PA** : Soumission de flux conformes à la norme XP Z12-013
|
|
10
|
+
- **Signature électronique** : Signature PDF (PAdES-B-B, PAdES-B-T, PAdES-B-LT)
|
|
11
|
+
- **Traitement asynchrone** : Support Celery pour opérations longues
|
|
12
|
+
- **TypeScript** : Support complet avec types générés automatiquement
|
|
13
|
+
|
|
14
|
+
## 🚀 Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install @factpulse/sdk
|
|
18
|
+
# ou
|
|
19
|
+
yarn add @factpulse/sdk
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 📖 Démarrage rapide
|
|
23
|
+
|
|
24
|
+
### 1. Authentification
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { Configuration, TraitementFactureApi } from '@factpulse/sdk';
|
|
28
|
+
|
|
29
|
+
// Configuration du client
|
|
30
|
+
const config = new Configuration({
|
|
31
|
+
basePath: 'https://factpulse.fr/api/facturation',
|
|
32
|
+
accessToken: 'votre_token_jwt'
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const api = new TraitementFactureApi(config);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 2. Générer une facture Factur-X
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
// Données de la facture
|
|
42
|
+
const factureData = {
|
|
43
|
+
numeroFacture: "FAC-2025-001",
|
|
44
|
+
dateFacture: "2025-01-15",
|
|
45
|
+
montantTotalHt: "1000.00",
|
|
46
|
+
montantTotalTtc: "1200.00",
|
|
47
|
+
fournisseur: {
|
|
48
|
+
nom: "Mon Entreprise SAS",
|
|
49
|
+
siret: "12345678901234",
|
|
50
|
+
adressePostale: {
|
|
51
|
+
ligneUn: "123 Rue Example",
|
|
52
|
+
codePostal: "75001",
|
|
53
|
+
nomVille: "Paris",
|
|
54
|
+
paysCodeIso: "FR"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
destinataire: {
|
|
58
|
+
nom: "Client SARL",
|
|
59
|
+
siret: "98765432109876",
|
|
60
|
+
adressePostale: {
|
|
61
|
+
ligneUn: "456 Avenue Test",
|
|
62
|
+
codePostal: "69001",
|
|
63
|
+
nomVille: "Lyon",
|
|
64
|
+
paysCodeIso: "FR"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
lignesDePoste: [{
|
|
68
|
+
numero: 1,
|
|
69
|
+
denomination: "Prestation de conseil",
|
|
70
|
+
quantite: "10.00",
|
|
71
|
+
montantUnitaireHt: "100.00",
|
|
72
|
+
montantLigneHt: "1000.00"
|
|
73
|
+
}]
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Générer le PDF Factur-X
|
|
77
|
+
const response = await api.genererFactureApiV1TraitementGenererFacturePost(
|
|
78
|
+
JSON.stringify(factureData),
|
|
79
|
+
'EN16931',
|
|
80
|
+
'pdf'
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
// Sauvegarder le fichier
|
|
84
|
+
const fs = require('fs');
|
|
85
|
+
fs.writeFileSync('facture.pdf', Buffer.from(response.data));
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### 3. Soumettre une facture complète (Chorus Pro / AFNOR PDP)
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
const response = await api.soumettreFactureCompleteApiV1TraitementFacturesSoumettreCompletePost({
|
|
92
|
+
facture: factureData,
|
|
93
|
+
destination: {
|
|
94
|
+
type: "chorus_pro",
|
|
95
|
+
credentials: {
|
|
96
|
+
login: "votre_login_chorus",
|
|
97
|
+
password: "votre_password_chorus"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
console.log(`Facture soumise : ${response.data.idFactureChorus}`);
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## 🔑 Obtention du token JWT
|
|
106
|
+
|
|
107
|
+
### Via l'API
|
|
108
|
+
|
|
109
|
+
```typescript
|
|
110
|
+
import axios from 'axios';
|
|
111
|
+
|
|
112
|
+
const response = await axios.post('https://factpulse.fr/api/token/', {
|
|
113
|
+
username: 'votre_email@example.com',
|
|
114
|
+
password: 'votre_mot_de_passe'
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
const token = response.data.access;
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Accès aux credentials d'un client spécifique :**
|
|
121
|
+
|
|
122
|
+
Si vous gérez plusieurs clients et souhaitez accéder aux credentials (Chorus Pro, AFNOR PDP) d'un client particulier, ajoutez le champ `client_uid` :
|
|
123
|
+
|
|
124
|
+
```typescript
|
|
125
|
+
const response = await axios.post('https://factpulse.fr/api/token/', {
|
|
126
|
+
username: 'votre_email@example.com',
|
|
127
|
+
password: 'votre_mot_de_passe',
|
|
128
|
+
client_uid: 'identifiant_client' // UID du client cible
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
const token = response.data.access;
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Via le Dashboard
|
|
135
|
+
|
|
136
|
+
1. Connectez-vous sur https://factpulse.fr/api/dashboard/
|
|
137
|
+
2. Générez un token API
|
|
138
|
+
3. Copiez et utilisez le token dans votre configuration
|
|
139
|
+
|
|
140
|
+
## 📚 Ressources
|
|
141
|
+
|
|
142
|
+
- **Documentation API** : https://factpulse.fr/api/facturation/documentation
|
|
143
|
+
- **Code source** : https://github.com/factpulse/sdk-typescript
|
|
144
|
+
- **Issues** : https://github.com/factpulse/sdk-typescript/issues
|
|
145
|
+
- **Support** : contact@factpulse.fr
|
|
146
|
+
|
|
147
|
+
## 📄 Licence
|
|
148
|
+
|
|
149
|
+
MIT License - Copyright (c) 2025 FactPulse
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API REST FactPulse
|
|
5
|
+
* 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/
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
/**
|
|
25
|
+
* AFNORPDPPAApi - axios parameter creator
|
|
26
|
+
*/
|
|
27
|
+
export const AFNORPDPPAApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
* 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.
|
|
31
|
+
* @summary Endpoint OAuth2 pour authentification AFNOR
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
oauthTokenProxyApiV1AfnorOauthTokenPost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36
|
+
const localVarPath = `/api/v1/afnor/oauth/token`;
|
|
37
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39
|
+
let baseOptions;
|
|
40
|
+
if (configuration) {
|
|
41
|
+
baseOptions = configuration.baseOptions;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
45
|
+
const localVarHeaderParameter = {} as any;
|
|
46
|
+
const localVarQueryParameter = {} as any;
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
url: toPathString(localVarUrlObj),
|
|
56
|
+
options: localVarRequestOptions,
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* AFNORPDPPAApi - functional programming interface
|
|
64
|
+
*/
|
|
65
|
+
export const AFNORPDPPAApiFp = function(configuration?: Configuration) {
|
|
66
|
+
const localVarAxiosParamCreator = AFNORPDPPAApiAxiosParamCreator(configuration)
|
|
67
|
+
return {
|
|
68
|
+
/**
|
|
69
|
+
* 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
|
+
* @summary Endpoint OAuth2 pour authentification AFNOR
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
async oauthTokenProxyApiV1AfnorOauthTokenPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
75
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.oauthTokenProxyApiV1AfnorOauthTokenPost(options);
|
|
76
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
77
|
+
const localVarOperationServerBasePath = operationServerMap['AFNORPDPPAApi.oauthTokenProxyApiV1AfnorOauthTokenPost']?.[localVarOperationServerIndex]?.url;
|
|
78
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* AFNORPDPPAApi - factory interface
|
|
85
|
+
*/
|
|
86
|
+
export const AFNORPDPPAApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
87
|
+
const localVarFp = AFNORPDPPAApiFp(configuration)
|
|
88
|
+
return {
|
|
89
|
+
/**
|
|
90
|
+
* 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.
|
|
91
|
+
* @summary Endpoint OAuth2 pour authentification AFNOR
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
oauthTokenProxyApiV1AfnorOauthTokenPost(options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
96
|
+
return localVarFp.oauthTokenProxyApiV1AfnorOauthTokenPost(options).then((request) => request(axios, basePath));
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* AFNORPDPPAApi - object-oriented interface
|
|
103
|
+
*/
|
|
104
|
+
export class AFNORPDPPAApi extends BaseAPI {
|
|
105
|
+
/**
|
|
106
|
+
* 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.
|
|
107
|
+
* @summary Endpoint OAuth2 pour authentification AFNOR
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
public oauthTokenProxyApiV1AfnorOauthTokenPost(options?: RawAxiosRequestConfig) {
|
|
112
|
+
return AFNORPDPPAApiFp(this.configuration).oauthTokenProxyApiV1AfnorOauthTokenPost(options).then((request) => request(this.axios, this.basePath));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|