factpulse 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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +28 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +74 -0
- data/LICENSE +21 -0
- data/README.md +161 -0
- data/Rakefile +10 -0
- data/docs/AFNORPDPPAApi.md +69 -0
- data/docs/AFNORPDPPADirectoryServiceApi.md +196 -0
- data/docs/AFNORPDPPAFlowServiceApi.md +258 -0
- data/docs/AdresseElectronique.md +20 -0
- data/docs/AdressePostale.md +26 -0
- data/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +22 -0
- data/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +22 -0
- data/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +20 -0
- data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +22 -0
- data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +22 -0
- data/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +22 -0
- data/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +22 -0
- data/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +22 -0
- data/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +22 -0
- data/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +22 -0
- data/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +22 -0
- data/docs/CadreDeFacturation.md +22 -0
- data/docs/CategorieTVA.md +15 -0
- data/docs/CertificateInfoResponse.md +40 -0
- data/docs/ChorusProApi.md +1129 -0
- data/docs/ChorusProCredentials.md +26 -0
- data/docs/CodeCadreFacturation.md +15 -0
- data/docs/CodeRaisonReduction.md +15 -0
- data/docs/ConsulterFactureRequest.md +20 -0
- data/docs/ConsulterFactureResponse.md +34 -0
- data/docs/ConsulterStructureRequest.md +22 -0
- data/docs/ConsulterStructureResponse.md +34 -0
- data/docs/CredentialsAFNOR.md +22 -0
- data/docs/CredentialsChorusPro.md +26 -0
- data/docs/Destinataire.md +24 -0
- data/docs/Destination.md +79 -0
- data/docs/DestinationAFNOR.md +24 -0
- data/docs/DestinationChorusPro.md +20 -0
- data/docs/DirectionFlux.md +15 -0
- data/docs/DonneesFactureSimplifiees.md +34 -0
- data/docs/FactureEnrichieInfoInput.md +32 -0
- data/docs/FactureEnrichieInfoOutput.md +32 -0
- data/docs/FactureFacturX.md +44 -0
- data/docs/FluxResume.md +32 -0
- data/docs/FormatSortie.md +15 -0
- data/docs/Fournisseur.md +34 -0
- data/docs/GenerateCertificateRequest.md +38 -0
- data/docs/GenerateCertificateResponse.md +32 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/InformationSignatureAPI.md +28 -0
- data/docs/LigneDePoste.md +46 -0
- data/docs/LigneDePosteMontantRemiseHt.md +15 -0
- data/docs/LigneDePosteMontantTotalLigneHt.md +15 -0
- data/docs/LigneDePosteTauxTvaManuel.md +15 -0
- data/docs/LigneDeTVA.md +26 -0
- data/docs/ModeDepot.md +15 -0
- data/docs/ModePaiement.md +15 -0
- data/docs/MontantHtTotal.md +15 -0
- data/docs/MontantTotal.md +30 -0
- data/docs/MontantTotalAcompte.md +15 -0
- data/docs/MontantTotalMontantRemiseGlobaleTtc.md +15 -0
- data/docs/MontantTtcTotal.md +15 -0
- data/docs/MontantTva.md +15 -0
- data/docs/Montantapayer.md +15 -0
- data/docs/Montantbaseht.md +15 -0
- data/docs/Montanthttotal.md +15 -0
- data/docs/Montantttctotal.md +15 -0
- data/docs/Montanttva.md +15 -0
- data/docs/Montanttva1.md +15 -0
- data/docs/Montantunitaireht.md +15 -0
- data/docs/ObtenirIdChorusProRequest.md +22 -0
- data/docs/ObtenirIdChorusProResponse.md +24 -0
- data/docs/OptionsProcessing.md +24 -0
- data/docs/PDFFacturXInfo.md +22 -0
- data/docs/PDPCredentials.md +24 -0
- data/docs/ParametresSignature.md +34 -0
- data/docs/ParametresStructure.md +22 -0
- data/docs/PieceJointeComplementaire.md +26 -0
- data/docs/ProcessingEndpointsUnifisApi.md +147 -0
- data/docs/ProfilAPI.md +15 -0
- data/docs/ProfilFlux.md +15 -0
- data/docs/Quantite.md +15 -0
- data/docs/QuotaInfo.md +26 -0
- data/docs/RechercherServicesResponse.md +24 -0
- data/docs/RechercherStructureRequest.md +26 -0
- data/docs/RechercherStructureResponse.md +24 -0
- data/docs/References.md +32 -0
- data/docs/ReponseHealthcheckAFNOR.md +22 -0
- data/docs/ReponseRechercheFlux.md +24 -0
- data/docs/ReponseSoumissionFlux.md +30 -0
- data/docs/ReponseTache.md +18 -0
- data/docs/ReponseValidationErreur.md +18 -0
- data/docs/ReponseValidationSucces.md +18 -0
- data/docs/RequeteRechercheFlux.md +34 -0
- data/docs/RequeteSoumissionFlux.md +28 -0
- data/docs/ResultatAFNOR.md +26 -0
- data/docs/ResultatChorusPro.md +22 -0
- data/docs/ResultatValidationPDFAPI.md +62 -0
- data/docs/SantApi.md +69 -0
- data/docs/SchemeID.md +15 -0
- data/docs/ServiceStructure.md +24 -0
- data/docs/SignatureInfo.md +22 -0
- data/docs/SignatureLectroniqueApi.md +315 -0
- data/docs/SoumettreFactureCompleteRequest.md +26 -0
- data/docs/SoumettreFactureCompleteResponse.md +34 -0
- data/docs/SoumettreFactureRequest.md +46 -0
- data/docs/SoumettreFactureResponse.md +24 -0
- data/docs/StatutAcquittement.md +15 -0
- data/docs/StatutFacture.md +22 -0
- data/docs/StatutTache.md +22 -0
- data/docs/StructureInfo.md +26 -0
- data/docs/SyntaxeFlux.md +15 -0
- data/docs/Tauxmanuel.md +15 -0
- data/docs/TraitementFactureApi.md +831 -0
- data/docs/TypeFacture.md +15 -0
- data/docs/TypeFlux.md +15 -0
- data/docs/TypeTVA.md +15 -0
- data/docs/Unite.md +15 -0
- data/docs/Utilisateur.md +40 -0
- data/docs/UtilisateurApi.md +74 -0
- data/docs/ValidationError.md +22 -0
- data/docs/ValidationErrorLocInner.md +15 -0
- data/factpulse.gemspec +39 -0
- data/git_push.sh +57 -0
- data/lib/factpulse/api/afnorpdppa_api.rb +79 -0
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +199 -0
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +256 -0
- data/lib/factpulse/api/chorus_pro_api.rb +1116 -0
- data/lib/factpulse/api/processing_endpoints_unifis_api.rb +158 -0
- data/lib/factpulse/api/sant_api.rb +79 -0
- data/lib/factpulse/api/signature_lectronique_api.rb +333 -0
- data/lib/factpulse/api/traitement_facture_api.rb +835 -0
- data/lib/factpulse/api/utilisateur_api.rb +79 -0
- data/lib/factpulse/api_client.rb +393 -0
- data/lib/factpulse/api_error.rb +58 -0
- data/lib/factpulse/api_model_base.rb +88 -0
- data/lib/factpulse/configuration.rb +308 -0
- data/lib/factpulse/models/adresse_electronique.rb +196 -0
- data/lib/factpulse/models/adresse_postale.rb +189 -0
- data/lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb +202 -0
- data/lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb +202 -0
- data/lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb +174 -0
- data/lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb +202 -0
- data/lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb +202 -0
- data/lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb +202 -0
- data/lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb +202 -0
- data/lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb +202 -0
- data/lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb +202 -0
- data/lib/factpulse/models/cadre_de_facturation.rb +207 -0
- data/lib/factpulse/models/categorie_tva.rb +47 -0
- data/lib/factpulse/models/certificate_info_response.rb +446 -0
- data/lib/factpulse/models/chorus_pro_credentials.rb +259 -0
- data/lib/factpulse/models/code_cadre_facturation.rb +42 -0
- data/lib/factpulse/models/code_raison_reduction.rb +45 -0
- data/lib/factpulse/models/consulter_facture_request.rb +176 -0
- data/lib/factpulse/models/consulter_facture_response.rb +261 -0
- data/lib/factpulse/models/consulter_structure_request.rb +188 -0
- data/lib/factpulse/models/consulter_structure_response.rb +261 -0
- data/lib/factpulse/models/credentials_afnor.rb +169 -0
- data/lib/factpulse/models/credentials_chorus_pro.rb +191 -0
- data/lib/factpulse/models/destinataire.rb +195 -0
- data/lib/factpulse/models/destination.rb +56 -0
- data/lib/factpulse/models/destination_afnor.rb +228 -0
- data/lib/factpulse/models/destination_chorus_pro.rb +194 -0
- data/lib/factpulse/models/direction_flux.rb +40 -0
- data/lib/factpulse/models/donnees_facture_simplifiees.rb +342 -0
- data/lib/factpulse/models/facture_enrichie_info_input.rb +315 -0
- data/lib/factpulse/models/facture_enrichie_info_output.rb +348 -0
- data/lib/factpulse/models/facture_factur_x.rb +432 -0
- data/lib/factpulse/models/flux_resume.rb +251 -0
- data/lib/factpulse/models/format_sortie.rb +40 -0
- data/lib/factpulse/models/fournisseur.rb +261 -0
- data/lib/factpulse/models/generate_certificate_request.rb +323 -0
- data/lib/factpulse/models/generate_certificate_response.rb +254 -0
- data/lib/factpulse/models/http_validation_error.rb +149 -0
- data/lib/factpulse/models/information_signature_api.rb +216 -0
- data/lib/factpulse/models/ligne_de_poste.rb +391 -0
- data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +104 -0
- data/lib/factpulse/models/ligne_de_poste_montant_total_ligne_ht.rb +104 -0
- data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +104 -0
- data/lib/factpulse/models/ligne_de_tva.rb +242 -0
- data/lib/factpulse/models/mode_depot.rb +41 -0
- data/lib/factpulse/models/mode_paiement.rb +44 -0
- data/lib/factpulse/models/montant_ht_total.rb +103 -0
- data/lib/factpulse/models/montant_total.rb +273 -0
- data/lib/factpulse/models/montant_total_acompte.rb +104 -0
- data/lib/factpulse/models/montant_total_montant_remise_globale_ttc.rb +104 -0
- data/lib/factpulse/models/montant_ttc_total.rb +103 -0
- data/lib/factpulse/models/montant_tva.rb +103 -0
- data/lib/factpulse/models/montantapayer.rb +104 -0
- data/lib/factpulse/models/montantbaseht.rb +104 -0
- data/lib/factpulse/models/montanthttotal.rb +104 -0
- data/lib/factpulse/models/montantttctotal.rb +104 -0
- data/lib/factpulse/models/montanttva.rb +104 -0
- data/lib/factpulse/models/montanttva1.rb +104 -0
- data/lib/factpulse/models/montantunitaireht.rb +104 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +188 -0
- data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +230 -0
- data/lib/factpulse/models/options_processing.rb +221 -0
- data/lib/factpulse/models/parametres_signature.rb +235 -0
- data/lib/factpulse/models/parametres_structure.rb +175 -0
- data/lib/factpulse/models/pdf_factur_x_info.rb +205 -0
- data/lib/factpulse/models/pdp_credentials.rb +247 -0
- data/lib/factpulse/models/piece_jointe_complementaire.rb +269 -0
- data/lib/factpulse/models/profil_api.rb +42 -0
- data/lib/factpulse/models/profil_flux.rb +41 -0
- data/lib/factpulse/models/quantite.rb +104 -0
- data/lib/factpulse/models/quota_info.rb +269 -0
- data/lib/factpulse/models/rechercher_services_response.rb +214 -0
- data/lib/factpulse/models/rechercher_structure_request.rb +191 -0
- data/lib/factpulse/models/rechercher_structure_response.rb +216 -0
- data/lib/factpulse/models/references.rb +290 -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_tache.rb +165 -0
- data/lib/factpulse/models/reponse_validation_erreur.rb +167 -0
- data/lib/factpulse/models/reponse_validation_succes.rb +165 -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/resultat_afnor.rb +240 -0
- data/lib/factpulse/models/resultat_chorus_pro.rb +186 -0
- data/lib/factpulse/models/resultat_validation_pdfapi.rb +523 -0
- data/lib/factpulse/models/scheme_id.rb +43 -0
- data/lib/factpulse/models/service_structure.rb +247 -0
- data/lib/factpulse/models/signature_info.rb +186 -0
- data/lib/factpulse/models/soumettre_facture_complete_request.rb +239 -0
- data/lib/factpulse/models/soumettre_facture_complete_response.rb +355 -0
- data/lib/factpulse/models/soumettre_facture_request.rb +391 -0
- data/lib/factpulse/models/soumettre_facture_response.rb +213 -0
- data/lib/factpulse/models/statut_acquittement.rb +41 -0
- data/lib/factpulse/models/statut_facture.rb +203 -0
- data/lib/factpulse/models/statut_tache.rb +201 -0
- data/lib/factpulse/models/structure_info.rb +274 -0
- data/lib/factpulse/models/syntaxe_flux.rb +43 -0
- data/lib/factpulse/models/tauxmanuel.rb +104 -0
- data/lib/factpulse/models/type_facture.rb +40 -0
- data/lib/factpulse/models/type_flux.rb +43 -0
- data/lib/factpulse/models/type_tva.rb +42 -0
- data/lib/factpulse/models/unite.rb +44 -0
- data/lib/factpulse/models/utilisateur.rb +328 -0
- data/lib/factpulse/models/validation_error.rb +218 -0
- data/lib/factpulse/models/validation_error_loc_inner.rb +103 -0
- data/lib/factpulse/version.rb +15 -0
- data/lib/factpulse.rb +157 -0
- metadata +382 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FactPulse::ChorusProCredentials
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **piste_client_id** | **String** | Client ID PISTE (portail API gouvernement) | |
|
|
8
|
+
| **piste_client_secret** | **String** | Client Secret PISTE | |
|
|
9
|
+
| **chorus_pro_login** | **String** | Login Chorus Pro | |
|
|
10
|
+
| **chorus_pro_password** | **String** | Mot de passe Chorus Pro | |
|
|
11
|
+
| **sandbox** | **Boolean** | Utiliser l'environnement sandbox (true) ou production (false) | [optional][default to true] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'factpulse'
|
|
17
|
+
|
|
18
|
+
instance = FactPulse::ChorusProCredentials.new(
|
|
19
|
+
piste_client_id: null,
|
|
20
|
+
piste_client_secret: null,
|
|
21
|
+
chorus_pro_login: null,
|
|
22
|
+
chorus_pro_password: null,
|
|
23
|
+
sandbox: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::ConsulterFactureRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
8
|
+
| **identifiant_facture_cpp** | **Integer** | ID Chorus Pro de la facture | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::ConsulterFactureRequest.new(
|
|
16
|
+
credentials: null,
|
|
17
|
+
identifiant_facture_cpp: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# FactPulse::ConsulterFactureResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **code_retour** | **Integer** | | |
|
|
8
|
+
| **libelle** | **String** | | |
|
|
9
|
+
| **identifiant_facture_cpp** | **Integer** | | [optional] |
|
|
10
|
+
| **numero_facture** | **String** | | [optional] |
|
|
11
|
+
| **date_facture** | **String** | | [optional] |
|
|
12
|
+
| **montant_ttc_total** | **String** | | [optional] |
|
|
13
|
+
| **statut_courant** | [**StatutFacture**](StatutFacture.md) | | [optional] |
|
|
14
|
+
| **id_structure_cpp_destinataire** | **Integer** | | [optional] |
|
|
15
|
+
| **designation_structure_destinataire** | **String** | | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'factpulse'
|
|
21
|
+
|
|
22
|
+
instance = FactPulse::ConsulterFactureResponse.new(
|
|
23
|
+
code_retour: null,
|
|
24
|
+
libelle: null,
|
|
25
|
+
identifiant_facture_cpp: null,
|
|
26
|
+
numero_facture: null,
|
|
27
|
+
date_facture: null,
|
|
28
|
+
montant_ttc_total: null,
|
|
29
|
+
statut_courant: null,
|
|
30
|
+
id_structure_cpp_destinataire: null,
|
|
31
|
+
designation_structure_destinataire: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FactPulse::ConsulterStructureRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
8
|
+
| **id_structure_cpp** | **Integer** | ID Chorus Pro de la structure | |
|
|
9
|
+
| **code_langue** | **String** | Code langue (fr, en) | [optional][default to 'fr'] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'factpulse'
|
|
15
|
+
|
|
16
|
+
instance = FactPulse::ConsulterStructureRequest.new(
|
|
17
|
+
credentials: null,
|
|
18
|
+
id_structure_cpp: null,
|
|
19
|
+
code_langue: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# FactPulse::ConsulterStructureResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **code_retour** | **Integer** | | |
|
|
8
|
+
| **libelle** | **String** | | |
|
|
9
|
+
| **id_structure_cpp** | **Integer** | | [optional] |
|
|
10
|
+
| **identifiant_structure** | **String** | | [optional] |
|
|
11
|
+
| **libelle_structure** | **String** | | [optional] |
|
|
12
|
+
| **raison_sociale_structure** | **String** | | [optional] |
|
|
13
|
+
| **numero_tva** | **String** | | [optional] |
|
|
14
|
+
| **email_structure** | **String** | | [optional] |
|
|
15
|
+
| **parametres** | [**ParametresStructure**](ParametresStructure.md) | | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'factpulse'
|
|
21
|
+
|
|
22
|
+
instance = FactPulse::ConsulterStructureResponse.new(
|
|
23
|
+
code_retour: null,
|
|
24
|
+
libelle: null,
|
|
25
|
+
id_structure_cpp: null,
|
|
26
|
+
identifiant_structure: null,
|
|
27
|
+
libelle_structure: null,
|
|
28
|
+
raison_sociale_structure: null,
|
|
29
|
+
numero_tva: null,
|
|
30
|
+
email_structure: null,
|
|
31
|
+
parametres: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FactPulse::CredentialsAFNOR
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **client_id** | **String** | | [optional] |
|
|
8
|
+
| **client_secret** | **String** | | [optional] |
|
|
9
|
+
| **flow_service_url** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'factpulse'
|
|
15
|
+
|
|
16
|
+
instance = FactPulse::CredentialsAFNOR.new(
|
|
17
|
+
client_id: null,
|
|
18
|
+
client_secret: null,
|
|
19
|
+
flow_service_url: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FactPulse::CredentialsChorusPro
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **piste_client_id** | **String** | | [optional] |
|
|
8
|
+
| **piste_client_secret** | **String** | | [optional] |
|
|
9
|
+
| **chorus_login** | **String** | | [optional] |
|
|
10
|
+
| **chorus_password** | **String** | | [optional] |
|
|
11
|
+
| **mode_sandbox** | **Boolean** | [MODE 2] Utiliser le mode sandbox (défaut: True) | [optional][default to true] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'factpulse'
|
|
17
|
+
|
|
18
|
+
instance = FactPulse::CredentialsChorusPro.new(
|
|
19
|
+
piste_client_id: null,
|
|
20
|
+
piste_client_secret: null,
|
|
21
|
+
chorus_login: null,
|
|
22
|
+
chorus_password: null,
|
|
23
|
+
mode_sandbox: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FactPulse::Destinataire
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **adresse_electronique** | [**AdresseElectronique**](AdresseElectronique.md) | | |
|
|
8
|
+
| **code_service_executant** | **String** | | [optional] |
|
|
9
|
+
| **nom** | **String** | | [optional] |
|
|
10
|
+
| **adresse_postale** | [**AdressePostale**](AdressePostale.md) | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'factpulse'
|
|
16
|
+
|
|
17
|
+
instance = FactPulse::Destinataire.new(
|
|
18
|
+
adresse_electronique: null,
|
|
19
|
+
code_service_executant: null,
|
|
20
|
+
nom: null,
|
|
21
|
+
adresse_postale: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
data/docs/Destination.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# FactPulse::Destination
|
|
2
|
+
|
|
3
|
+
## Class instance methods
|
|
4
|
+
|
|
5
|
+
### `openapi_one_of`
|
|
6
|
+
|
|
7
|
+
Returns the list of classes defined in oneOf.
|
|
8
|
+
|
|
9
|
+
#### Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'factpulse'
|
|
13
|
+
|
|
14
|
+
FactPulse::Destination.openapi_one_of
|
|
15
|
+
# =>
|
|
16
|
+
# [
|
|
17
|
+
# :'DestinationAFNOR',
|
|
18
|
+
# :'DestinationChorusPro'
|
|
19
|
+
# ]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### `openapi_discriminator_name`
|
|
23
|
+
|
|
24
|
+
Returns the discriminator's property name.
|
|
25
|
+
|
|
26
|
+
#### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
require 'factpulse'
|
|
30
|
+
|
|
31
|
+
FactPulse::Destination.openapi_discriminator_name
|
|
32
|
+
# => :'type'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### `openapi_discriminator_name`
|
|
36
|
+
|
|
37
|
+
Returns the discriminator's mapping.
|
|
38
|
+
|
|
39
|
+
#### Example
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'factpulse'
|
|
43
|
+
|
|
44
|
+
FactPulse::Destination.openapi_discriminator_mapping
|
|
45
|
+
# =>
|
|
46
|
+
# {
|
|
47
|
+
# :'afnor' => :'DestinationAFNOR',
|
|
48
|
+
# :'chorus_pro' => :'DestinationChorusPro'
|
|
49
|
+
# }
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### build
|
|
53
|
+
|
|
54
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
55
|
+
|
|
56
|
+
#### Example
|
|
57
|
+
|
|
58
|
+
```ruby
|
|
59
|
+
require 'factpulse'
|
|
60
|
+
|
|
61
|
+
FactPulse::Destination.build(data)
|
|
62
|
+
# => #<DestinationAFNOR:0x00007fdd4aab02a0>
|
|
63
|
+
|
|
64
|
+
FactPulse::Destination.build(data_that_doesnt_match)
|
|
65
|
+
# => nil
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Parameters
|
|
69
|
+
|
|
70
|
+
| Name | Type | Description |
|
|
71
|
+
| ---- | ---- | ----------- |
|
|
72
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
|
73
|
+
|
|
74
|
+
#### Return type
|
|
75
|
+
|
|
76
|
+
- `DestinationAFNOR`
|
|
77
|
+
- `DestinationChorusPro`
|
|
78
|
+
- `nil` (if no type matches)
|
|
79
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FactPulse::DestinationAFNOR
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional][default to 'afnor'] |
|
|
8
|
+
| **credentials** | [**CredentialsAFNOR**](CredentialsAFNOR.md) | | [optional] |
|
|
9
|
+
| **flow_syntax** | **String** | Syntaxe du flux à envoyer | [optional][default to 'Factur-X'] |
|
|
10
|
+
| **tracking_id** | **String** | | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'factpulse'
|
|
16
|
+
|
|
17
|
+
instance = FactPulse::DestinationAFNOR.new(
|
|
18
|
+
type: null,
|
|
19
|
+
credentials: null,
|
|
20
|
+
flow_syntax: null,
|
|
21
|
+
tracking_id: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::DestinationChorusPro
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **type** | **String** | | [optional][default to 'chorus_pro'] |
|
|
8
|
+
| **credentials** | [**CredentialsChorusPro**](CredentialsChorusPro.md) | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::DestinationChorusPro.new(
|
|
16
|
+
type: null,
|
|
17
|
+
credentials: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# FactPulse::DonneesFactureSimplifiees
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **numero** | **String** | Numéro de facture unique | |
|
|
8
|
+
| **emetteur** | **Hash<String, Object>** | Informations sur l'émetteur (siret, iban, ...) | |
|
|
9
|
+
| **destinataire** | **Hash<String, Object>** | Informations sur le destinataire (siret, ...) | |
|
|
10
|
+
| **lignes** | **Array<Hash<String, Object>>** | Lignes de la facture | |
|
|
11
|
+
| **date** | **String** | | [optional] |
|
|
12
|
+
| **echeance_jours** | **Integer** | Échéance en jours (défaut: 30) | [optional][default to 30] |
|
|
13
|
+
| **commentaire** | **String** | | [optional] |
|
|
14
|
+
| **numero_bon_commande** | **String** | | [optional] |
|
|
15
|
+
| **numero_marche** | **String** | | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'factpulse'
|
|
21
|
+
|
|
22
|
+
instance = FactPulse::DonneesFactureSimplifiees.new(
|
|
23
|
+
numero: null,
|
|
24
|
+
emetteur: null,
|
|
25
|
+
destinataire: null,
|
|
26
|
+
lignes: null,
|
|
27
|
+
date: null,
|
|
28
|
+
echeance_jours: null,
|
|
29
|
+
commentaire: null,
|
|
30
|
+
numero_bon_commande: null,
|
|
31
|
+
numero_marche: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# FactPulse::FactureEnrichieInfoInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **numero_facture** | **String** | | |
|
|
8
|
+
| **id_emetteur** | **Integer** | | [optional] |
|
|
9
|
+
| **id_destinataire** | **Integer** | | [optional] |
|
|
10
|
+
| **nom_emetteur** | **String** | | |
|
|
11
|
+
| **nom_destinataire** | **String** | | |
|
|
12
|
+
| **montant_ht_total** | [**MontantHtTotal**](MontantHtTotal.md) | | |
|
|
13
|
+
| **montant_tva** | [**MontantTva**](MontantTva.md) | | |
|
|
14
|
+
| **montant_ttc_total** | [**MontantTtcTotal**](MontantTtcTotal.md) | | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'factpulse'
|
|
20
|
+
|
|
21
|
+
instance = FactPulse::FactureEnrichieInfoInput.new(
|
|
22
|
+
numero_facture: null,
|
|
23
|
+
id_emetteur: null,
|
|
24
|
+
id_destinataire: null,
|
|
25
|
+
nom_emetteur: null,
|
|
26
|
+
nom_destinataire: null,
|
|
27
|
+
montant_ht_total: null,
|
|
28
|
+
montant_tva: null,
|
|
29
|
+
montant_ttc_total: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# FactPulse::FactureEnrichieInfoOutput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **numero_facture** | **String** | | |
|
|
8
|
+
| **id_emetteur** | **Integer** | | [optional] |
|
|
9
|
+
| **id_destinataire** | **Integer** | | [optional] |
|
|
10
|
+
| **nom_emetteur** | **String** | | |
|
|
11
|
+
| **nom_destinataire** | **String** | | |
|
|
12
|
+
| **montant_ht_total** | **String** | | |
|
|
13
|
+
| **montant_tva** | **String** | | |
|
|
14
|
+
| **montant_ttc_total** | **String** | | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'factpulse'
|
|
20
|
+
|
|
21
|
+
instance = FactPulse::FactureEnrichieInfoOutput.new(
|
|
22
|
+
numero_facture: null,
|
|
23
|
+
id_emetteur: null,
|
|
24
|
+
id_destinataire: null,
|
|
25
|
+
nom_emetteur: null,
|
|
26
|
+
nom_destinataire: null,
|
|
27
|
+
montant_ht_total: null,
|
|
28
|
+
montant_tva: null,
|
|
29
|
+
montant_ttc_total: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# FactPulse::FactureFacturX
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **numero_facture** | **String** | | |
|
|
8
|
+
| **date_echeance_paiement** | **String** | | |
|
|
9
|
+
| **date_facture** | **String** | | [optional] |
|
|
10
|
+
| **mode_depot** | [**ModeDepot**](ModeDepot.md) | | |
|
|
11
|
+
| **destinataire** | [**Destinataire**](Destinataire.md) | | |
|
|
12
|
+
| **fournisseur** | [**Fournisseur**](Fournisseur.md) | | |
|
|
13
|
+
| **cadre_de_facturation** | [**CadreDeFacturation**](CadreDeFacturation.md) | | |
|
|
14
|
+
| **references** | [**References**](References.md) | | |
|
|
15
|
+
| **montant_total** | [**MontantTotal**](MontantTotal.md) | | |
|
|
16
|
+
| **lignes_de_poste** | [**Array<LigneDePoste>**](LigneDePoste.md) | | [optional] |
|
|
17
|
+
| **lignes_de_tva** | [**Array<LigneDeTVA>**](LigneDeTVA.md) | | [optional] |
|
|
18
|
+
| **commentaire** | **String** | | [optional] |
|
|
19
|
+
| **id_utilisateur_courant** | **Integer** | | [optional] |
|
|
20
|
+
| **pieces_jointes_complementaires** | [**Array<PieceJointeComplementaire>**](PieceJointeComplementaire.md) | | [optional] |
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
require 'factpulse'
|
|
26
|
+
|
|
27
|
+
instance = FactPulse::FactureFacturX.new(
|
|
28
|
+
numero_facture: null,
|
|
29
|
+
date_echeance_paiement: null,
|
|
30
|
+
date_facture: null,
|
|
31
|
+
mode_depot: null,
|
|
32
|
+
destinataire: null,
|
|
33
|
+
fournisseur: null,
|
|
34
|
+
cadre_de_facturation: null,
|
|
35
|
+
references: null,
|
|
36
|
+
montant_total: null,
|
|
37
|
+
lignes_de_poste: null,
|
|
38
|
+
lignes_de_tva: null,
|
|
39
|
+
commentaire: null,
|
|
40
|
+
id_utilisateur_courant: null,
|
|
41
|
+
pieces_jointes_complementaires: null
|
|
42
|
+
)
|
|
43
|
+
```
|
|
44
|
+
|
data/docs/FluxResume.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# FactPulse::FluxResume
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **flow_id** | **String** | | |
|
|
8
|
+
| **tracking_id** | **String** | | [optional] |
|
|
9
|
+
| **nom** | **String** | | |
|
|
10
|
+
| **type_flux** | **String** | | [optional] |
|
|
11
|
+
| **direction_flux** | **String** | | [optional] |
|
|
12
|
+
| **statut_acquittement** | **String** | | [optional] |
|
|
13
|
+
| **date_creation** | **String** | | [optional] |
|
|
14
|
+
| **date_maj** | **String** | | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'factpulse'
|
|
20
|
+
|
|
21
|
+
instance = FactPulse::FluxResume.new(
|
|
22
|
+
flow_id: null,
|
|
23
|
+
tracking_id: null,
|
|
24
|
+
nom: null,
|
|
25
|
+
type_flux: null,
|
|
26
|
+
direction_flux: null,
|
|
27
|
+
statut_acquittement: null,
|
|
28
|
+
date_creation: null,
|
|
29
|
+
date_maj: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/Fournisseur.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# FactPulse::Fournisseur
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **adresse_electronique** | [**AdresseElectronique**](AdresseElectronique.md) | | |
|
|
8
|
+
| **id_fournisseur** | **Integer** | | |
|
|
9
|
+
| **code_coordonnees_bancaires_fournisseur** | **Integer** | | [optional] |
|
|
10
|
+
| **id_service_fournisseur** | **Integer** | | [optional] |
|
|
11
|
+
| **nom** | **String** | | [optional] |
|
|
12
|
+
| **siret** | **String** | | [optional] |
|
|
13
|
+
| **numero_tva_intra** | **String** | | [optional] |
|
|
14
|
+
| **iban** | **String** | | [optional] |
|
|
15
|
+
| **adresse_postale** | [**AdressePostale**](AdressePostale.md) | | [optional] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'factpulse'
|
|
21
|
+
|
|
22
|
+
instance = FactPulse::Fournisseur.new(
|
|
23
|
+
adresse_electronique: null,
|
|
24
|
+
id_fournisseur: null,
|
|
25
|
+
code_coordonnees_bancaires_fournisseur: null,
|
|
26
|
+
id_service_fournisseur: null,
|
|
27
|
+
nom: null,
|
|
28
|
+
siret: null,
|
|
29
|
+
numero_tva_intra: null,
|
|
30
|
+
iban: null,
|
|
31
|
+
adresse_postale: null
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# FactPulse::GenerateCertificateRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **cn** | **String** | Common Name (CN) - Nom du certificat | [optional][default to 'Test Signature FactPulse'] |
|
|
8
|
+
| **organisation** | **String** | Organisation (O) | [optional][default to 'FactPulse Test'] |
|
|
9
|
+
| **pays** | **String** | Code pays ISO 2 lettres (C) | [optional][default to 'FR'] |
|
|
10
|
+
| **ville** | **String** | Ville (L) | [optional][default to 'Paris'] |
|
|
11
|
+
| **province** | **String** | Province/État (ST) | [optional][default to 'Ile-de-France'] |
|
|
12
|
+
| **email** | **String** | | [optional] |
|
|
13
|
+
| **duree_jours** | **Integer** | Durée de validité en jours | [optional][default to 365] |
|
|
14
|
+
| **taille_cle** | **Integer** | Taille de la clé RSA en bits | [optional][default to 2048] |
|
|
15
|
+
| **passphrase_cle** | **String** | | [optional] |
|
|
16
|
+
| **generer_p12** | **Boolean** | Générer aussi un fichier PKCS#12 (.p12) | [optional][default to false] |
|
|
17
|
+
| **passphrase_p12** | **String** | Passphrase pour le fichier PKCS#12 | [optional][default to 'changeme'] |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'factpulse'
|
|
23
|
+
|
|
24
|
+
instance = FactPulse::GenerateCertificateRequest.new(
|
|
25
|
+
cn: Test Signature Client XYZ,
|
|
26
|
+
organisation: Client XYZ SARL,
|
|
27
|
+
pays: FR,
|
|
28
|
+
ville: Paris,
|
|
29
|
+
province: Ile-de-France,
|
|
30
|
+
email: null,
|
|
31
|
+
duree_jours: 365,
|
|
32
|
+
taille_cle: 2048,
|
|
33
|
+
passphrase_cle: null,
|
|
34
|
+
generer_p12: false,
|
|
35
|
+
passphrase_p12: changeme
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|