factpulse 2.0.34 → 2.0.36
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +2 -2
- data/docs/BoundingBoxSchema.md +30 -0
- data/docs/CadreDeFacturation.md +2 -0
- data/docs/ChampVerifieSchema.md +34 -0
- data/docs/DimensionPageSchema.md +20 -0
- data/docs/DirectionFlux.md +15 -0
- data/docs/FluxResume.md +32 -0
- data/docs/LigneDeTVA.md +5 -1
- data/docs/NatureOperation.md +15 -0
- data/docs/Note.md +4 -4
- data/docs/NoteObligatoireSchema.md +30 -0
- data/docs/PDPCredentials.md +26 -0
- data/docs/ProfilFlux.md +15 -0
- data/docs/ReponseHealthcheckAFNOR.md +22 -0
- data/docs/ReponseRechercheFlux.md +24 -0
- data/docs/ReponseSoumissionFlux.md +30 -0
- data/docs/ReponseVerificationSucces.md +36 -0
- data/docs/RequeteRechercheFlux.md +34 -0
- data/docs/RequeteSoumissionFlux.md +28 -0
- data/docs/StatutAcquittement.md +15 -0
- data/docs/StatutChampAPI.md +15 -0
- data/docs/SyntaxeFlux.md +15 -0
- data/docs/TraitementFactureApi.md +2 -2
- data/docs/TypeFlux.md +15 -0
- data/docs/VrificationPDFXMLApi.md +435 -0
- data/lib/factpulse/api/traitement_facture_api.rb +4 -4
- data/lib/factpulse/api/vrification_pdfxml_api.rb +430 -0
- data/lib/factpulse/helpers/client.rb +2 -1
- data/lib/factpulse/models/bounding_box_schema.rb +332 -0
- data/lib/factpulse/models/cadre_de_facturation.rb +12 -2
- data/lib/factpulse/models/champ_verifie_schema.rb +334 -0
- data/lib/factpulse/models/dimension_page_schema.rb +193 -0
- data/lib/factpulse/models/direction_flux.rb +40 -0
- data/lib/factpulse/models/flux_resume.rb +251 -0
- data/lib/factpulse/models/ligne_de_tva.rb +26 -6
- data/lib/factpulse/models/nature_operation.rb +66 -0
- data/lib/factpulse/models/note.rb +23 -23
- data/lib/factpulse/models/note_obligatoire_schema.rb +265 -0
- data/lib/factpulse/models/pdp_credentials.rb +257 -0
- data/lib/factpulse/models/profil_flux.rb +41 -0
- data/lib/factpulse/models/reponse_healthcheck_afnor.rb +220 -0
- data/lib/factpulse/models/reponse_recherche_flux.rb +249 -0
- data/lib/factpulse/models/reponse_soumission_flux.rb +294 -0
- data/lib/factpulse/models/reponse_verification_succes.rb +343 -0
- data/lib/factpulse/models/requete_recherche_flux.rb +306 -0
- data/lib/factpulse/models/requete_soumission_flux.rb +238 -0
- data/lib/factpulse/models/statut_acquittement.rb +41 -0
- data/lib/factpulse/models/statut_champ_api.rb +43 -0
- data/lib/factpulse/models/syntaxe_flux.rb +43 -0
- data/lib/factpulse/models/type_flux.rb +43 -0
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +20 -0
- metadata +42 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API REST FactPulse
|
|
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/
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module FactPulse
|
|
17
|
+
class SyntaxeFlux
|
|
18
|
+
CII = "CII".freeze
|
|
19
|
+
UBL = "UBL".freeze
|
|
20
|
+
FACTUR_X = "Factur-X".freeze
|
|
21
|
+
CDAR = "CDAR".freeze
|
|
22
|
+
FRR = "FRR".freeze
|
|
23
|
+
|
|
24
|
+
def self.all_vars
|
|
25
|
+
@all_vars ||= [CII, UBL, FACTUR_X, CDAR, FRR].freeze
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Builds the enum from string
|
|
29
|
+
# @param [String] The enum value in the form of the string
|
|
30
|
+
# @return [String] The enum value
|
|
31
|
+
def self.build_from_hash(value)
|
|
32
|
+
new.build_from_hash(value)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Builds the enum from string
|
|
36
|
+
# @param [String] The enum value in the form of the string
|
|
37
|
+
# @return [String] The enum value
|
|
38
|
+
def build_from_hash(value)
|
|
39
|
+
return value if SyntaxeFlux.all_vars.include?(value)
|
|
40
|
+
raise "Invalid ENUM value #{value} for class #SyntaxeFlux"
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#API REST FactPulse
|
|
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/
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.18.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module FactPulse
|
|
17
|
+
class TypeFlux
|
|
18
|
+
CUSTOMER_INVOICE = "CustomerInvoice".freeze
|
|
19
|
+
SUPPLIER_INVOICE = "SupplierInvoice".freeze
|
|
20
|
+
CUSTOMER_INVOICE_LC = "CustomerInvoiceLC".freeze
|
|
21
|
+
SUPPLIER_INVOICE_LC = "SupplierInvoiceLC".freeze
|
|
22
|
+
E_REPORTING = "eReporting".freeze
|
|
23
|
+
|
|
24
|
+
def self.all_vars
|
|
25
|
+
@all_vars ||= [CUSTOMER_INVOICE, SUPPLIER_INVOICE, CUSTOMER_INVOICE_LC, SUPPLIER_INVOICE_LC, E_REPORTING].freeze
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Builds the enum from string
|
|
29
|
+
# @param [String] The enum value in the form of the string
|
|
30
|
+
# @return [String] The enum value
|
|
31
|
+
def self.build_from_hash(value)
|
|
32
|
+
new.build_from_hash(value)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Builds the enum from string
|
|
36
|
+
# @param [String] The enum value in the form of the string
|
|
37
|
+
# @return [String] The enum value
|
|
38
|
+
def build_from_hash(value)
|
|
39
|
+
return value if TypeFlux.all_vars.include?(value)
|
|
40
|
+
raise "Invalid ENUM value #{value} for class #TypeFlux"
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
data/lib/factpulse/version.rb
CHANGED
data/lib/factpulse.rb
CHANGED
|
@@ -21,9 +21,11 @@ require 'factpulse/configuration'
|
|
|
21
21
|
require 'factpulse/models/api_error'
|
|
22
22
|
require 'factpulse/models/adresse_electronique'
|
|
23
23
|
require 'factpulse/models/adresse_postale'
|
|
24
|
+
require 'factpulse/models/bounding_box_schema'
|
|
24
25
|
require 'factpulse/models/cadre_de_facturation'
|
|
25
26
|
require 'factpulse/models/categorie_tva'
|
|
26
27
|
require 'factpulse/models/certificate_info_response'
|
|
28
|
+
require 'factpulse/models/champ_verifie_schema'
|
|
27
29
|
require 'factpulse/models/chorus_pro_credentials'
|
|
28
30
|
require 'factpulse/models/code_cadre_facturation'
|
|
29
31
|
require 'factpulse/models/code_raison_reduction'
|
|
@@ -37,12 +39,15 @@ require 'factpulse/models/destinataire'
|
|
|
37
39
|
require 'factpulse/models/destination'
|
|
38
40
|
require 'factpulse/models/destination_afnor'
|
|
39
41
|
require 'factpulse/models/destination_chorus_pro'
|
|
42
|
+
require 'factpulse/models/dimension_page_schema'
|
|
43
|
+
require 'factpulse/models/direction_flux'
|
|
40
44
|
require 'factpulse/models/donnees_facture_simplifiees'
|
|
41
45
|
require 'factpulse/models/error_level'
|
|
42
46
|
require 'factpulse/models/error_source'
|
|
43
47
|
require 'factpulse/models/facture_enrichie_info'
|
|
44
48
|
require 'factpulse/models/facture_entrante'
|
|
45
49
|
require 'factpulse/models/facture_factur_x'
|
|
50
|
+
require 'factpulse/models/flux_resume'
|
|
46
51
|
require 'factpulse/models/format_facture'
|
|
47
52
|
require 'factpulse/models/format_sortie'
|
|
48
53
|
require 'factpulse/models/fournisseur'
|
|
@@ -69,23 +74,33 @@ require 'factpulse/models/montant_tva'
|
|
|
69
74
|
require 'factpulse/models/montant_tva_ligne'
|
|
70
75
|
require 'factpulse/models/montant_tva_total'
|
|
71
76
|
require 'factpulse/models/montant_unitaire_ht'
|
|
77
|
+
require 'factpulse/models/nature_operation'
|
|
72
78
|
require 'factpulse/models/note'
|
|
79
|
+
require 'factpulse/models/note_obligatoire_schema'
|
|
73
80
|
require 'factpulse/models/obtenir_id_chorus_pro_request'
|
|
74
81
|
require 'factpulse/models/obtenir_id_chorus_pro_response'
|
|
75
82
|
require 'factpulse/models/options_processing'
|
|
76
83
|
require 'factpulse/models/pdf_factur_x_info'
|
|
84
|
+
require 'factpulse/models/pdp_credentials'
|
|
77
85
|
require 'factpulse/models/parametres_signature'
|
|
78
86
|
require 'factpulse/models/parametres_structure'
|
|
79
87
|
require 'factpulse/models/piece_jointe_complementaire'
|
|
80
88
|
require 'factpulse/models/profil_api'
|
|
89
|
+
require 'factpulse/models/profil_flux'
|
|
81
90
|
require 'factpulse/models/quantite'
|
|
82
91
|
require 'factpulse/models/rechercher_services_response'
|
|
83
92
|
require 'factpulse/models/rechercher_structure_request'
|
|
84
93
|
require 'factpulse/models/rechercher_structure_response'
|
|
85
94
|
require 'factpulse/models/references'
|
|
95
|
+
require 'factpulse/models/reponse_healthcheck_afnor'
|
|
96
|
+
require 'factpulse/models/reponse_recherche_flux'
|
|
97
|
+
require 'factpulse/models/reponse_soumission_flux'
|
|
86
98
|
require 'factpulse/models/reponse_tache'
|
|
87
99
|
require 'factpulse/models/reponse_validation_erreur'
|
|
88
100
|
require 'factpulse/models/reponse_validation_succes'
|
|
101
|
+
require 'factpulse/models/reponse_verification_succes'
|
|
102
|
+
require 'factpulse/models/requete_recherche_flux'
|
|
103
|
+
require 'factpulse/models/requete_soumission_flux'
|
|
89
104
|
require 'factpulse/models/resultat_afnor'
|
|
90
105
|
require 'factpulse/models/resultat_chorus_pro'
|
|
91
106
|
require 'factpulse/models/resultat_validation_pdfapi'
|
|
@@ -96,13 +111,17 @@ require 'factpulse/models/soumettre_facture_complete_request'
|
|
|
96
111
|
require 'factpulse/models/soumettre_facture_complete_response'
|
|
97
112
|
require 'factpulse/models/soumettre_facture_request'
|
|
98
113
|
require 'factpulse/models/soumettre_facture_response'
|
|
114
|
+
require 'factpulse/models/statut_acquittement'
|
|
99
115
|
require 'factpulse/models/statut_celery'
|
|
116
|
+
require 'factpulse/models/statut_champ_api'
|
|
100
117
|
require 'factpulse/models/statut_facture'
|
|
101
118
|
require 'factpulse/models/statut_tache'
|
|
102
119
|
require 'factpulse/models/structure_info'
|
|
120
|
+
require 'factpulse/models/syntaxe_flux'
|
|
103
121
|
require 'factpulse/models/tauxmanuel'
|
|
104
122
|
require 'factpulse/models/type_document'
|
|
105
123
|
require 'factpulse/models/type_facture'
|
|
124
|
+
require 'factpulse/models/type_flux'
|
|
106
125
|
require 'factpulse/models/type_tva'
|
|
107
126
|
require 'factpulse/models/unite'
|
|
108
127
|
require 'factpulse/models/validation_error'
|
|
@@ -117,6 +136,7 @@ require 'factpulse/api/chorus_pro_api'
|
|
|
117
136
|
require 'factpulse/api/sant_api'
|
|
118
137
|
require 'factpulse/api/traitement_facture_api'
|
|
119
138
|
require 'factpulse/api/utilisateur_api'
|
|
139
|
+
require 'factpulse/api/vrification_pdfxml_api'
|
|
120
140
|
|
|
121
141
|
module FactPulse
|
|
122
142
|
class << self
|
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: 2.0.
|
|
4
|
+
version: 2.0.36
|
|
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
|
+
date: 2025-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -128,9 +128,11 @@ files:
|
|
|
128
128
|
- docs/APIError.md
|
|
129
129
|
- docs/AdresseElectronique.md
|
|
130
130
|
- docs/AdressePostale.md
|
|
131
|
+
- docs/BoundingBoxSchema.md
|
|
131
132
|
- docs/CadreDeFacturation.md
|
|
132
133
|
- docs/CategorieTVA.md
|
|
133
134
|
- docs/CertificateInfoResponse.md
|
|
135
|
+
- docs/ChampVerifieSchema.md
|
|
134
136
|
- docs/ChorusProApi.md
|
|
135
137
|
- docs/ChorusProCredentials.md
|
|
136
138
|
- docs/CodeCadreFacturation.md
|
|
@@ -145,12 +147,15 @@ files:
|
|
|
145
147
|
- docs/Destination.md
|
|
146
148
|
- docs/DestinationAFNOR.md
|
|
147
149
|
- docs/DestinationChorusPro.md
|
|
150
|
+
- docs/DimensionPageSchema.md
|
|
151
|
+
- docs/DirectionFlux.md
|
|
148
152
|
- docs/DonneesFactureSimplifiees.md
|
|
149
153
|
- docs/ErrorLevel.md
|
|
150
154
|
- docs/ErrorSource.md
|
|
151
155
|
- docs/FactureEnrichieInfo.md
|
|
152
156
|
- docs/FactureEntrante.md
|
|
153
157
|
- docs/FactureFacturX.md
|
|
158
|
+
- docs/FluxResume.md
|
|
154
159
|
- docs/FormatFacture.md
|
|
155
160
|
- docs/FormatSortie.md
|
|
156
161
|
- docs/Fournisseur.md
|
|
@@ -177,23 +182,33 @@ files:
|
|
|
177
182
|
- docs/MontantTvaLigne.md
|
|
178
183
|
- docs/MontantTvaTotal.md
|
|
179
184
|
- docs/MontantUnitaireHt.md
|
|
185
|
+
- docs/NatureOperation.md
|
|
180
186
|
- docs/Note.md
|
|
187
|
+
- docs/NoteObligatoireSchema.md
|
|
181
188
|
- docs/ObtenirIdChorusProRequest.md
|
|
182
189
|
- docs/ObtenirIdChorusProResponse.md
|
|
183
190
|
- docs/OptionsProcessing.md
|
|
184
191
|
- docs/PDFFacturXInfo.md
|
|
192
|
+
- docs/PDPCredentials.md
|
|
185
193
|
- docs/ParametresSignature.md
|
|
186
194
|
- docs/ParametresStructure.md
|
|
187
195
|
- docs/PieceJointeComplementaire.md
|
|
188
196
|
- docs/ProfilAPI.md
|
|
197
|
+
- docs/ProfilFlux.md
|
|
189
198
|
- docs/Quantite.md
|
|
190
199
|
- docs/RechercherServicesResponse.md
|
|
191
200
|
- docs/RechercherStructureRequest.md
|
|
192
201
|
- docs/RechercherStructureResponse.md
|
|
193
202
|
- docs/References.md
|
|
203
|
+
- docs/ReponseHealthcheckAFNOR.md
|
|
204
|
+
- docs/ReponseRechercheFlux.md
|
|
205
|
+
- docs/ReponseSoumissionFlux.md
|
|
194
206
|
- docs/ReponseTache.md
|
|
195
207
|
- docs/ReponseValidationErreur.md
|
|
196
208
|
- docs/ReponseValidationSucces.md
|
|
209
|
+
- docs/ReponseVerificationSucces.md
|
|
210
|
+
- docs/RequeteRechercheFlux.md
|
|
211
|
+
- docs/RequeteSoumissionFlux.md
|
|
197
212
|
- docs/ResultatAFNOR.md
|
|
198
213
|
- docs/ResultatChorusPro.md
|
|
199
214
|
- docs/ResultatValidationPDFAPI.md
|
|
@@ -205,20 +220,25 @@ files:
|
|
|
205
220
|
- docs/SoumettreFactureCompleteResponse.md
|
|
206
221
|
- docs/SoumettreFactureRequest.md
|
|
207
222
|
- docs/SoumettreFactureResponse.md
|
|
223
|
+
- docs/StatutAcquittement.md
|
|
208
224
|
- docs/StatutCelery.md
|
|
225
|
+
- docs/StatutChampAPI.md
|
|
209
226
|
- docs/StatutFacture.md
|
|
210
227
|
- docs/StatutTache.md
|
|
211
228
|
- docs/StructureInfo.md
|
|
229
|
+
- docs/SyntaxeFlux.md
|
|
212
230
|
- docs/Tauxmanuel.md
|
|
213
231
|
- docs/TraitementFactureApi.md
|
|
214
232
|
- docs/TypeDocument.md
|
|
215
233
|
- docs/TypeFacture.md
|
|
234
|
+
- docs/TypeFlux.md
|
|
216
235
|
- docs/TypeTVA.md
|
|
217
236
|
- docs/Unite.md
|
|
218
237
|
- docs/UtilisateurApi.md
|
|
219
238
|
- docs/ValidationError.md
|
|
220
239
|
- docs/ValidationErrorDetail.md
|
|
221
240
|
- docs/ValidationErrorLocInner.md
|
|
241
|
+
- docs/VrificationPDFXMLApi.md
|
|
222
242
|
- factpulse.gemspec
|
|
223
243
|
- git_push.sh
|
|
224
244
|
- lib/factpulse.rb
|
|
@@ -229,6 +249,7 @@ files:
|
|
|
229
249
|
- lib/factpulse/api/sant_api.rb
|
|
230
250
|
- lib/factpulse/api/traitement_facture_api.rb
|
|
231
251
|
- lib/factpulse/api/utilisateur_api.rb
|
|
252
|
+
- lib/factpulse/api/vrification_pdfxml_api.rb
|
|
232
253
|
- lib/factpulse/api_client.rb
|
|
233
254
|
- lib/factpulse/api_error.rb
|
|
234
255
|
- lib/factpulse/api_model_base.rb
|
|
@@ -239,9 +260,11 @@ files:
|
|
|
239
260
|
- lib/factpulse/models/adresse_electronique.rb
|
|
240
261
|
- lib/factpulse/models/adresse_postale.rb
|
|
241
262
|
- lib/factpulse/models/api_error.rb
|
|
263
|
+
- lib/factpulse/models/bounding_box_schema.rb
|
|
242
264
|
- lib/factpulse/models/cadre_de_facturation.rb
|
|
243
265
|
- lib/factpulse/models/categorie_tva.rb
|
|
244
266
|
- lib/factpulse/models/certificate_info_response.rb
|
|
267
|
+
- lib/factpulse/models/champ_verifie_schema.rb
|
|
245
268
|
- lib/factpulse/models/chorus_pro_credentials.rb
|
|
246
269
|
- lib/factpulse/models/code_cadre_facturation.rb
|
|
247
270
|
- lib/factpulse/models/code_raison_reduction.rb
|
|
@@ -255,12 +278,15 @@ files:
|
|
|
255
278
|
- lib/factpulse/models/destination.rb
|
|
256
279
|
- lib/factpulse/models/destination_afnor.rb
|
|
257
280
|
- lib/factpulse/models/destination_chorus_pro.rb
|
|
281
|
+
- lib/factpulse/models/dimension_page_schema.rb
|
|
282
|
+
- lib/factpulse/models/direction_flux.rb
|
|
258
283
|
- lib/factpulse/models/donnees_facture_simplifiees.rb
|
|
259
284
|
- lib/factpulse/models/error_level.rb
|
|
260
285
|
- lib/factpulse/models/error_source.rb
|
|
261
286
|
- lib/factpulse/models/facture_enrichie_info.rb
|
|
262
287
|
- lib/factpulse/models/facture_entrante.rb
|
|
263
288
|
- lib/factpulse/models/facture_factur_x.rb
|
|
289
|
+
- lib/factpulse/models/flux_resume.rb
|
|
264
290
|
- lib/factpulse/models/format_facture.rb
|
|
265
291
|
- lib/factpulse/models/format_sortie.rb
|
|
266
292
|
- lib/factpulse/models/fournisseur.rb
|
|
@@ -287,23 +313,33 @@ files:
|
|
|
287
313
|
- lib/factpulse/models/montant_tva_ligne.rb
|
|
288
314
|
- lib/factpulse/models/montant_tva_total.rb
|
|
289
315
|
- lib/factpulse/models/montant_unitaire_ht.rb
|
|
316
|
+
- lib/factpulse/models/nature_operation.rb
|
|
290
317
|
- lib/factpulse/models/note.rb
|
|
318
|
+
- lib/factpulse/models/note_obligatoire_schema.rb
|
|
291
319
|
- lib/factpulse/models/obtenir_id_chorus_pro_request.rb
|
|
292
320
|
- lib/factpulse/models/obtenir_id_chorus_pro_response.rb
|
|
293
321
|
- lib/factpulse/models/options_processing.rb
|
|
294
322
|
- lib/factpulse/models/parametres_signature.rb
|
|
295
323
|
- lib/factpulse/models/parametres_structure.rb
|
|
296
324
|
- lib/factpulse/models/pdf_factur_x_info.rb
|
|
325
|
+
- lib/factpulse/models/pdp_credentials.rb
|
|
297
326
|
- lib/factpulse/models/piece_jointe_complementaire.rb
|
|
298
327
|
- lib/factpulse/models/profil_api.rb
|
|
328
|
+
- lib/factpulse/models/profil_flux.rb
|
|
299
329
|
- lib/factpulse/models/quantite.rb
|
|
300
330
|
- lib/factpulse/models/rechercher_services_response.rb
|
|
301
331
|
- lib/factpulse/models/rechercher_structure_request.rb
|
|
302
332
|
- lib/factpulse/models/rechercher_structure_response.rb
|
|
303
333
|
- lib/factpulse/models/references.rb
|
|
334
|
+
- lib/factpulse/models/reponse_healthcheck_afnor.rb
|
|
335
|
+
- lib/factpulse/models/reponse_recherche_flux.rb
|
|
336
|
+
- lib/factpulse/models/reponse_soumission_flux.rb
|
|
304
337
|
- lib/factpulse/models/reponse_tache.rb
|
|
305
338
|
- lib/factpulse/models/reponse_validation_erreur.rb
|
|
306
339
|
- lib/factpulse/models/reponse_validation_succes.rb
|
|
340
|
+
- lib/factpulse/models/reponse_verification_succes.rb
|
|
341
|
+
- lib/factpulse/models/requete_recherche_flux.rb
|
|
342
|
+
- lib/factpulse/models/requete_soumission_flux.rb
|
|
307
343
|
- lib/factpulse/models/resultat_afnor.rb
|
|
308
344
|
- lib/factpulse/models/resultat_chorus_pro.rb
|
|
309
345
|
- lib/factpulse/models/resultat_validation_pdfapi.rb
|
|
@@ -314,13 +350,17 @@ files:
|
|
|
314
350
|
- lib/factpulse/models/soumettre_facture_complete_response.rb
|
|
315
351
|
- lib/factpulse/models/soumettre_facture_request.rb
|
|
316
352
|
- lib/factpulse/models/soumettre_facture_response.rb
|
|
353
|
+
- lib/factpulse/models/statut_acquittement.rb
|
|
317
354
|
- lib/factpulse/models/statut_celery.rb
|
|
355
|
+
- lib/factpulse/models/statut_champ_api.rb
|
|
318
356
|
- lib/factpulse/models/statut_facture.rb
|
|
319
357
|
- lib/factpulse/models/statut_tache.rb
|
|
320
358
|
- lib/factpulse/models/structure_info.rb
|
|
359
|
+
- lib/factpulse/models/syntaxe_flux.rb
|
|
321
360
|
- lib/factpulse/models/tauxmanuel.rb
|
|
322
361
|
- lib/factpulse/models/type_document.rb
|
|
323
362
|
- lib/factpulse/models/type_facture.rb
|
|
363
|
+
- lib/factpulse/models/type_flux.rb
|
|
324
364
|
- lib/factpulse/models/type_tva.rb
|
|
325
365
|
- lib/factpulse/models/unite.rb
|
|
326
366
|
- lib/factpulse/models/validation_error.rb
|