factpulse 2.0.19 → 2.0.21
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 +1 -1
- data/docs/ChorusProApi.md +65 -69
- data/docs/TraitementFactureApi.md +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +94 -107
- data/lib/factpulse/api/traitement_facture_api.rb +2 -2
- data/lib/factpulse/helpers/client.rb +66 -15
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +0 -13
- metadata +2 -28
- data/docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md +0 -22
- data/docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md +0 -22
- data/docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md +0 -20
- data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md +0 -22
- data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md +0 -22
- data/docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md +0 -22
- data/docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md +0 -22
- data/docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md +0 -22
- data/docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md +0 -22
- data/docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md +0 -22
- data/docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md +0 -22
- data/docs/QuotaInfo.md +0 -26
- data/docs/Utilisateur.md +0 -40
- data/lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb +0 -202
- data/lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb +0 -202
- data/lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb +0 -174
- data/lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb +0 -202
- data/lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb +0 -202
- data/lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb +0 -202
- data/lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb +0 -202
- data/lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb +0 -202
- data/lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb +0 -202
- data/lib/factpulse/models/quota_info.rb +0 -269
- data/lib/factpulse/models/utilisateur.rb +0 -328
|
@@ -18,14 +18,18 @@ module FactPulse
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
# Credentials AFNOR PDP pour le mode Zero-Trust.
|
|
21
|
-
#
|
|
21
|
+
# L'API FactPulse utilise ces credentials pour s'authentifier auprès de la PDP AFNOR.
|
|
22
22
|
class AFNORCredentials
|
|
23
|
-
attr_reader :client_id, :client_secret, :
|
|
24
|
-
def initialize(client_id:, client_secret:,
|
|
25
|
-
@
|
|
23
|
+
attr_reader :flow_service_url, :token_url, :client_id, :client_secret, :directory_service_url
|
|
24
|
+
def initialize(flow_service_url:, token_url:, client_id:, client_secret:, directory_service_url: nil)
|
|
25
|
+
@flow_service_url, @token_url = flow_service_url, token_url
|
|
26
|
+
@client_id, @client_secret, @directory_service_url = client_id, client_secret, directory_service_url
|
|
26
27
|
end
|
|
27
28
|
def to_h
|
|
28
|
-
{ '
|
|
29
|
+
result = { 'flow_service_url' => @flow_service_url, 'token_url' => @token_url,
|
|
30
|
+
'client_id' => @client_id, 'client_secret' => @client_secret }
|
|
31
|
+
result['directory_service_url'] = @directory_service_url if @directory_service_url
|
|
32
|
+
result
|
|
29
33
|
end
|
|
30
34
|
end
|
|
31
35
|
|
|
@@ -48,32 +52,79 @@ module FactPulse
|
|
|
48
52
|
result
|
|
49
53
|
end
|
|
50
54
|
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
# Crée une ligne de poste (aligné sur LigneDePoste de models.py).
|
|
56
|
+
def self.ligne_de_poste(numero, denomination, quantite, montant_unitaire_ht, montant_total_ligne_ht,
|
|
57
|
+
taux_tva: '20.00', categorie_tva: 'S', unite: 'FORFAIT', **options)
|
|
53
58
|
result = {
|
|
54
59
|
'numero' => numero, 'denomination' => denomination,
|
|
55
60
|
'quantite' => montant(quantite), 'montantUnitaireHt' => montant(montant_unitaire_ht),
|
|
56
|
-
'montantTotalLigneHt' => montant(
|
|
61
|
+
'montantTotalLigneHt' => montant(montant_total_ligne_ht), 'tauxTva' => montant(taux_tva),
|
|
57
62
|
'categorieTva' => categorie_tva, 'unite' => unite
|
|
58
63
|
}
|
|
59
64
|
result['reference'] = options[:reference] if options[:reference]
|
|
60
|
-
result['montantTvaLigne'] = montant(options[:montant_tva_ligne]) if options[:montant_tva_ligne]
|
|
61
65
|
result['montantRemiseHt'] = montant(options[:montant_remise_ht]) if options[:montant_remise_ht]
|
|
62
66
|
result['codeRaisonReduction'] = options[:code_raison_reduction] if options[:code_raison_reduction]
|
|
63
67
|
result['raisonReduction'] = options[:raison_reduction] if options[:raison_reduction]
|
|
64
|
-
result['motifExoneration'] = options[:motif_exoneration] if options[:motif_exoneration]
|
|
65
68
|
result['dateDebutPeriode'] = options[:date_debut_periode] if options[:date_debut_periode]
|
|
66
69
|
result['dateFinPeriode'] = options[:date_fin_periode] if options[:date_fin_periode]
|
|
67
|
-
result['description'] = options[:description] if options[:description]
|
|
68
70
|
result
|
|
69
71
|
end
|
|
70
72
|
|
|
71
|
-
|
|
73
|
+
# Crée une ligne de TVA (aligné sur LigneDeTVA de models.py).
|
|
74
|
+
def self.ligne_de_tva(taux_manuel, montant_base_ht, montant_tva, categorie: 'S')
|
|
75
|
+
{
|
|
76
|
+
'tauxManuel' => montant(taux_manuel), 'montantBaseHt' => montant(montant_base_ht),
|
|
77
|
+
'montantTva' => montant(montant_tva), 'categorie' => categorie
|
|
78
|
+
}
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Crée une adresse postale pour l'API FactPulse.
|
|
82
|
+
def self.adresse_postale(ligne1, code_postal, ville, pays: 'FR', ligne2: nil, ligne3: nil)
|
|
83
|
+
result = { 'ligneUn' => ligne1, 'codePostal' => code_postal, 'nomVille' => ville, 'paysCodeIso' => pays }
|
|
84
|
+
result['ligneDeux'] = ligne2 if ligne2
|
|
85
|
+
result['ligneTrois'] = ligne3 if ligne3
|
|
86
|
+
result
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Crée une adresse électronique. scheme_id: "0009"=SIREN, "0225"=SIRET
|
|
90
|
+
def self.adresse_electronique(identifiant, scheme_id: '0009')
|
|
91
|
+
{ 'identifiant' => identifiant, 'schemeId' => scheme_id }
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calcule le numéro TVA intracommunautaire français depuis un SIREN.
|
|
95
|
+
def self.calculer_tva_intra(siren)
|
|
96
|
+
return nil if siren.nil? || siren.length != 9 || !siren.match?(/^\d+$/)
|
|
97
|
+
cle = (12 + 3 * (siren.to_i % 97)) % 97
|
|
98
|
+
format('FR%02d%s', cle, siren)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Crée un fournisseur (émetteur) avec auto-calcul SIREN, TVA intracommunautaire et adresses.
|
|
102
|
+
def self.fournisseur(nom, siret, adresse_ligne1, code_postal, ville, **options)
|
|
103
|
+
siren = options[:siren] || (siret.length == 14 ? siret[0, 9] : nil)
|
|
104
|
+
numero_tva_intra = options[:numero_tva_intra] || (siren ? calculer_tva_intra(siren) : nil)
|
|
105
|
+
result = {
|
|
106
|
+
'nom' => nom, 'idFournisseur' => options[:id_fournisseur] || 0, 'siret' => siret,
|
|
107
|
+
'adresseElectronique' => adresse_electronique(siret, scheme_id: '0225'),
|
|
108
|
+
'adressePostale' => adresse_postale(adresse_ligne1, code_postal, ville, pays: options[:pays] || 'FR', ligne2: options[:adresse_ligne2])
|
|
109
|
+
}
|
|
110
|
+
result['siren'] = siren if siren
|
|
111
|
+
result['numeroTvaIntra'] = numero_tva_intra if numero_tva_intra
|
|
112
|
+
result['iban'] = options[:iban] if options[:iban]
|
|
113
|
+
result['idServiceFournisseur'] = options[:code_service] if options[:code_service]
|
|
114
|
+
result['codeCoordonnesBancairesFournisseur'] = options[:code_coordonnees_bancaires] if options[:code_coordonnees_bancaires]
|
|
115
|
+
result
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Crée un destinataire (client) avec auto-calcul SIREN et adresses.
|
|
119
|
+
def self.destinataire(nom, siret, adresse_ligne1, code_postal, ville, **options)
|
|
120
|
+
siren = options[:siren] || (siret.length == 14 ? siret[0, 9] : nil)
|
|
72
121
|
result = {
|
|
73
|
-
'
|
|
74
|
-
'
|
|
122
|
+
'nom' => nom, 'siret' => siret,
|
|
123
|
+
'adresseElectronique' => adresse_electronique(siret, scheme_id: '0225'),
|
|
124
|
+
'adressePostale' => adresse_postale(adresse_ligne1, code_postal, ville, pays: options[:pays] || 'FR', ligne2: options[:adresse_ligne2])
|
|
75
125
|
}
|
|
76
|
-
result['
|
|
126
|
+
result['siren'] = siren if siren
|
|
127
|
+
result['codeServiceExecutant'] = options[:code_service_executant] if options[:code_service_executant]
|
|
77
128
|
result
|
|
78
129
|
end
|
|
79
130
|
end
|
data/lib/factpulse/version.rb
CHANGED
data/lib/factpulse.rb
CHANGED
|
@@ -21,17 +21,6 @@ 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/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post'
|
|
25
|
-
require 'factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post'
|
|
26
|
-
require 'factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get'
|
|
27
|
-
require 'factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post'
|
|
28
|
-
require 'factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post'
|
|
29
|
-
require 'factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post'
|
|
30
|
-
require 'factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post'
|
|
31
|
-
require 'factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post'
|
|
32
|
-
require 'factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post'
|
|
33
|
-
require 'factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post'
|
|
34
|
-
require 'factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post'
|
|
35
24
|
require 'factpulse/models/cadre_de_facturation'
|
|
36
25
|
require 'factpulse/models/categorie_tva'
|
|
37
26
|
require 'factpulse/models/certificate_info_response'
|
|
@@ -87,7 +76,6 @@ require 'factpulse/models/parametres_structure'
|
|
|
87
76
|
require 'factpulse/models/piece_jointe_complementaire'
|
|
88
77
|
require 'factpulse/models/profil_api'
|
|
89
78
|
require 'factpulse/models/quantite'
|
|
90
|
-
require 'factpulse/models/quota_info'
|
|
91
79
|
require 'factpulse/models/rechercher_services_response'
|
|
92
80
|
require 'factpulse/models/rechercher_structure_request'
|
|
93
81
|
require 'factpulse/models/rechercher_structure_response'
|
|
@@ -113,7 +101,6 @@ require 'factpulse/models/tauxmanuel'
|
|
|
113
101
|
require 'factpulse/models/type_facture'
|
|
114
102
|
require 'factpulse/models/type_tva'
|
|
115
103
|
require 'factpulse/models/unite'
|
|
116
|
-
require 'factpulse/models/utilisateur'
|
|
117
104
|
require 'factpulse/models/validation_error'
|
|
118
105
|
require 'factpulse/models/validation_error_detail'
|
|
119
106
|
require 'factpulse/models/validation_error_loc_inner'
|
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.21
|
|
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-
|
|
11
|
+
date: 2025-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -128,17 +128,6 @@ files:
|
|
|
128
128
|
- docs/APIError.md
|
|
129
129
|
- docs/AdresseElectronique.md
|
|
130
130
|
- docs/AdressePostale.md
|
|
131
|
-
- docs/BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.md
|
|
132
|
-
- docs/BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.md
|
|
133
|
-
- docs/BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.md
|
|
134
|
-
- docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md
|
|
135
|
-
- docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md
|
|
136
|
-
- docs/BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.md
|
|
137
|
-
- docs/BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.md
|
|
138
|
-
- docs/BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.md
|
|
139
|
-
- docs/BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.md
|
|
140
|
-
- docs/BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.md
|
|
141
|
-
- docs/BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.md
|
|
142
131
|
- docs/CadreDeFacturation.md
|
|
143
132
|
- docs/CategorieTVA.md
|
|
144
133
|
- docs/CertificateInfoResponse.md
|
|
@@ -195,7 +184,6 @@ files:
|
|
|
195
184
|
- docs/PieceJointeComplementaire.md
|
|
196
185
|
- docs/ProfilAPI.md
|
|
197
186
|
- docs/Quantite.md
|
|
198
|
-
- docs/QuotaInfo.md
|
|
199
187
|
- docs/RechercherServicesResponse.md
|
|
200
188
|
- docs/RechercherStructureRequest.md
|
|
201
189
|
- docs/RechercherStructureResponse.md
|
|
@@ -223,7 +211,6 @@ files:
|
|
|
223
211
|
- docs/TypeFacture.md
|
|
224
212
|
- docs/TypeTVA.md
|
|
225
213
|
- docs/Unite.md
|
|
226
|
-
- docs/Utilisateur.md
|
|
227
214
|
- docs/UtilisateurApi.md
|
|
228
215
|
- docs/ValidationError.md
|
|
229
216
|
- docs/ValidationErrorDetail.md
|
|
@@ -248,17 +235,6 @@ files:
|
|
|
248
235
|
- lib/factpulse/models/adresse_electronique.rb
|
|
249
236
|
- lib/factpulse/models/adresse_postale.rb
|
|
250
237
|
- lib/factpulse/models/api_error.rb
|
|
251
|
-
- lib/factpulse/models/body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.rb
|
|
252
|
-
- lib/factpulse/models/body_completer_facture_api_v1_chorus_pro_factures_completer_post.rb
|
|
253
|
-
- lib/factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.rb
|
|
254
|
-
- lib/factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.rb
|
|
255
|
-
- lib/factpulse/models/body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.rb
|
|
256
|
-
- lib/factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.rb
|
|
257
|
-
- lib/factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb
|
|
258
|
-
- lib/factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb
|
|
259
|
-
- lib/factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.rb
|
|
260
|
-
- lib/factpulse/models/body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.rb
|
|
261
|
-
- lib/factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.rb
|
|
262
238
|
- lib/factpulse/models/cadre_de_facturation.rb
|
|
263
239
|
- lib/factpulse/models/categorie_tva.rb
|
|
264
240
|
- lib/factpulse/models/certificate_info_response.rb
|
|
@@ -314,7 +290,6 @@ files:
|
|
|
314
290
|
- lib/factpulse/models/piece_jointe_complementaire.rb
|
|
315
291
|
- lib/factpulse/models/profil_api.rb
|
|
316
292
|
- lib/factpulse/models/quantite.rb
|
|
317
|
-
- lib/factpulse/models/quota_info.rb
|
|
318
293
|
- lib/factpulse/models/rechercher_services_response.rb
|
|
319
294
|
- lib/factpulse/models/rechercher_structure_request.rb
|
|
320
295
|
- lib/factpulse/models/rechercher_structure_response.rb
|
|
@@ -340,7 +315,6 @@ files:
|
|
|
340
315
|
- lib/factpulse/models/type_facture.rb
|
|
341
316
|
- lib/factpulse/models/type_tva.rb
|
|
342
317
|
- lib/factpulse/models/unite.rb
|
|
343
|
-
- lib/factpulse/models/utilisateur.rb
|
|
344
318
|
- lib/factpulse/models/validation_error.rb
|
|
345
319
|
- lib/factpulse/models/validation_error_detail.rb
|
|
346
320
|
- lib/factpulse/models/validation_error_loc_inner.rb
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyCompleterFactureApiV1ChorusProFacturesCompleterPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
8
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```ruby
|
|
13
|
-
require 'factpulse'
|
|
14
|
-
|
|
15
|
-
instance = FactPulse::BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet.new(
|
|
16
|
-
user_info: null,
|
|
17
|
-
credentials: null
|
|
18
|
-
)
|
|
19
|
-
```
|
|
20
|
-
|
data/docs/BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# FactPulse::BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **payload** | **Hash<String, Object>** | | |
|
|
8
|
-
| **user_info** | [**Utilisateur**](Utilisateur.md) | | |
|
|
9
|
-
| **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```ruby
|
|
14
|
-
require 'factpulse'
|
|
15
|
-
|
|
16
|
-
instance = FactPulse::BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost.new(
|
|
17
|
-
payload: null,
|
|
18
|
-
user_info: null,
|
|
19
|
-
credentials: null
|
|
20
|
-
)
|
|
21
|
-
```
|
|
22
|
-
|
data/docs/QuotaInfo.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# FactPulse::QuotaInfo
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **limit** | **Integer** | | |
|
|
8
|
-
| **usage** | **Integer** | | |
|
|
9
|
-
| **remaining** | **Integer** | | |
|
|
10
|
-
| **reset_date** | **String** | | |
|
|
11
|
-
| **plan** | **String** | | |
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```ruby
|
|
16
|
-
require 'factpulse'
|
|
17
|
-
|
|
18
|
-
instance = FactPulse::QuotaInfo.new(
|
|
19
|
-
limit: null,
|
|
20
|
-
usage: null,
|
|
21
|
-
remaining: null,
|
|
22
|
-
reset_date: null,
|
|
23
|
-
plan: null
|
|
24
|
-
)
|
|
25
|
-
```
|
|
26
|
-
|
data/docs/Utilisateur.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# FactPulse::Utilisateur
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **Integer** | | |
|
|
8
|
-
| **username** | **String** | | |
|
|
9
|
-
| **email** | **String** | | |
|
|
10
|
-
| **is_active** | **Boolean** | | |
|
|
11
|
-
| **is_superuser** | **Boolean** | | [optional][default to false] |
|
|
12
|
-
| **is_staff** | **Boolean** | | [optional][default to false] |
|
|
13
|
-
| **bypass_quota** | **Boolean** | | [optional][default to false] |
|
|
14
|
-
| **team_id** | **Integer** | | [optional] |
|
|
15
|
-
| **has_quota** | **Boolean** | | [optional][default to true] |
|
|
16
|
-
| **quota_info** | [**QuotaInfo**](QuotaInfo.md) | | [optional] |
|
|
17
|
-
| **is_trial** | **Boolean** | | [optional][default to false] |
|
|
18
|
-
| **client_uid** | **String** | | [optional] |
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```ruby
|
|
23
|
-
require 'factpulse'
|
|
24
|
-
|
|
25
|
-
instance = FactPulse::Utilisateur.new(
|
|
26
|
-
id: null,
|
|
27
|
-
username: null,
|
|
28
|
-
email: null,
|
|
29
|
-
is_active: null,
|
|
30
|
-
is_superuser: null,
|
|
31
|
-
is_staff: null,
|
|
32
|
-
bypass_quota: null,
|
|
33
|
-
team_id: null,
|
|
34
|
-
has_quota: null,
|
|
35
|
-
quota_info: null,
|
|
36
|
-
is_trial: null,
|
|
37
|
-
client_uid: null
|
|
38
|
-
)
|
|
39
|
-
```
|
|
40
|
-
|