factpulse 1.0.0 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +1 -1
- data/README.md +73 -119
- data/docs/AFNORPDPPADirectoryServiceApi.md +31 -1148
- 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/ChorusProApi.md +70 -66
- data/docs/Destinataire.md +0 -4
- data/docs/{MontantAPayer.md → DirectionFlux.md} +2 -2
- data/docs/FactureEnrichieInfoInput.md +32 -0
- data/docs/{FactureEnrichieInfo.md → FactureEnrichieInfoOutput.md} +2 -2
- data/docs/FactureFacturX.md +0 -2
- data/docs/FluxResume.md +32 -0
- data/docs/Fournisseur.md +0 -2
- data/docs/LigneDePoste.md +2 -2
- data/docs/LigneDePosteMontantTotalLigneHt.md +15 -0
- data/docs/LigneDeTVA.md +2 -2
- data/docs/MontantTotal.md +5 -5
- data/docs/MontantTotalMontantRemiseGlobaleTtc.md +15 -0
- data/docs/{MontantBaseHt.md → Montantapayer.md} +2 -2
- data/docs/Montantbaseht.md +15 -0
- data/docs/Montanthttotal.md +15 -0
- data/docs/Montantttctotal.md +15 -0
- data/docs/{ErrorLevel.md → Montanttva.md} +2 -2
- data/docs/{ErrorSource.md → Montanttva1.md} +2 -2
- data/docs/Montantunitaireht.md +15 -0
- data/docs/OptionsProcessing.md +1 -1
- data/docs/PDPCredentials.md +24 -0
- data/docs/ProcessingEndpointsUnifisApi.md +147 -0
- data/docs/{StatutCelery.md → ProfilFlux.md} +2 -2
- data/docs/QuotaInfo.md +26 -0
- data/docs/ReponseHealthcheckAFNOR.md +22 -0
- data/docs/ReponseRechercheFlux.md +24 -0
- data/docs/ReponseSoumissionFlux.md +30 -0
- data/docs/RequeteRechercheFlux.md +34 -0
- data/docs/RequeteSoumissionFlux.md +28 -0
- data/docs/SantApi.md +0 -62
- data/docs/SignatureLectroniqueApi.md +315 -0
- data/docs/SoumettreFactureCompleteResponse.md +1 -1
- data/docs/SoumettreFactureRequest.md +3 -3
- data/docs/StatutAcquittement.md +15 -0
- data/docs/StatutTache.md +2 -2
- data/docs/SyntaxeFlux.md +15 -0
- data/docs/TraitementFactureApi.md +2 -2
- data/docs/TypeFlux.md +15 -0
- data/docs/Utilisateur.md +40 -0
- data/factpulse.gemspec +2 -2
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +30 -1014
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +108 -95
- data/lib/factpulse/api/processing_endpoints_unifis_api.rb +158 -0
- data/lib/factpulse/api/sant_api.rb +1 -58
- data/lib/factpulse/api/signature_lectronique_api.rb +333 -0
- data/lib/factpulse/api/traitement_facture_api.rb +5 -5
- data/lib/factpulse/api/utilisateur_api.rb +1 -1
- data/lib/factpulse/api_client.rb +3 -7
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/models/adresse_electronique.rb +1 -1
- data/lib/factpulse/models/adresse_postale.rb +1 -1
- 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/{api_error.rb → body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.rb} +44 -47
- data/lib/factpulse/models/{note.rb → body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.rb} +55 -28
- 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 +1 -1
- data/lib/factpulse/models/categorie_tva.rb +11 -11
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/code_cadre_facturation.rb +1 -1
- data/lib/factpulse/models/code_raison_reduction.rb +9 -9
- data/lib/factpulse/models/consulter_facture_request.rb +1 -1
- data/lib/factpulse/models/consulter_facture_response.rb +1 -1
- data/lib/factpulse/models/consulter_structure_request.rb +1 -1
- data/lib/factpulse/models/consulter_structure_response.rb +1 -1
- data/lib/factpulse/models/credentials_afnor.rb +1 -1
- data/lib/factpulse/models/credentials_chorus_pro.rb +1 -1
- data/lib/factpulse/models/destinataire.rb +2 -22
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/destination_afnor.rb +1 -1
- data/lib/factpulse/models/destination_chorus_pro.rb +1 -1
- data/lib/factpulse/models/{statut_celery.rb → direction_flux.rb} +7 -10
- data/lib/factpulse/models/donnees_facture_simplifiees.rb +1 -1
- data/lib/factpulse/models/facture_enrichie_info_input.rb +315 -0
- data/lib/factpulse/models/{facture_enrichie_info.rb → facture_enrichie_info_output.rb} +4 -4
- data/lib/factpulse/models/facture_factur_x.rb +2 -13
- data/lib/factpulse/models/flux_resume.rb +251 -0
- data/lib/factpulse/models/format_sortie.rb +1 -1
- data/lib/factpulse/models/fournisseur.rb +2 -12
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/information_signature_api.rb +1 -1
- data/lib/factpulse/models/ligne_de_poste.rb +4 -3
- data/lib/factpulse/models/ligne_de_poste_montant_remise_ht.rb +2 -2
- data/lib/factpulse/models/{montant_total_ligne_ht.rb → ligne_de_poste_montant_total_ligne_ht.rb} +3 -3
- data/lib/factpulse/models/ligne_de_poste_taux_tva_manuel.rb +2 -2
- data/lib/factpulse/models/ligne_de_tva.rb +3 -3
- data/lib/factpulse/models/mode_depot.rb +1 -1
- data/lib/factpulse/models/mode_paiement.rb +1 -1
- data/lib/factpulse/models/montant_ht_total.rb +1 -2
- data/lib/factpulse/models/montant_total.rb +7 -6
- data/lib/factpulse/models/montant_total_acompte.rb +2 -2
- data/lib/factpulse/models/{montant_a_payer.rb → montant_total_montant_remise_globale_ttc.rb} +3 -3
- data/lib/factpulse/models/montant_ttc_total.rb +1 -2
- data/lib/factpulse/models/montant_tva.rb +1 -2
- data/lib/factpulse/models/{montant_tva_total.rb → montantapayer.rb} +3 -3
- data/lib/factpulse/models/{montant_tva_ligne.rb → montantbaseht.rb} +3 -3
- 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/{montant_unitaire_ht.rb → montantunitaireht.rb} +2 -2
- data/lib/factpulse/models/obtenir_id_chorus_pro_request.rb +1 -1
- data/lib/factpulse/models/obtenir_id_chorus_pro_response.rb +1 -1
- data/lib/factpulse/models/options_processing.rb +16 -2
- data/lib/factpulse/models/parametres_signature.rb +1 -1
- data/lib/factpulse/models/parametres_structure.rb +1 -1
- data/lib/factpulse/models/pdf_factur_x_info.rb +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +247 -0
- data/lib/factpulse/models/piece_jointe_complementaire.rb +1 -1
- data/lib/factpulse/models/profil_api.rb +1 -1
- data/lib/factpulse/models/profil_flux.rb +41 -0
- data/lib/factpulse/models/quantite.rb +1 -1
- data/lib/factpulse/models/quota_info.rb +269 -0
- data/lib/factpulse/models/rechercher_services_response.rb +1 -1
- data/lib/factpulse/models/rechercher_structure_request.rb +1 -1
- data/lib/factpulse/models/rechercher_structure_response.rb +1 -1
- data/lib/factpulse/models/references.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/reponse_validation_erreur.rb +1 -1
- data/lib/factpulse/models/reponse_validation_succes.rb +1 -1
- data/lib/factpulse/models/requete_recherche_flux.rb +306 -0
- data/lib/factpulse/models/{validation_error_detail.rb → requete_soumission_flux.rb} +61 -68
- data/lib/factpulse/models/resultat_afnor.rb +1 -1
- data/lib/factpulse/models/resultat_chorus_pro.rb +1 -1
- data/lib/factpulse/models/resultat_validation_pdfapi.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +7 -7
- data/lib/factpulse/models/service_structure.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/soumettre_facture_complete_request.rb +1 -1
- data/lib/factpulse/models/soumettre_facture_complete_response.rb +2 -2
- data/lib/factpulse/models/soumettre_facture_request.rb +7 -4
- data/lib/factpulse/models/soumettre_facture_response.rb +1 -1
- data/lib/factpulse/models/{error_level.rb → statut_acquittement.rb} +7 -6
- data/lib/factpulse/models/statut_facture.rb +1 -1
- data/lib/factpulse/models/statut_tache.rb +5 -30
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/{error_source.rb → syntaxe_flux.rb} +10 -13
- data/lib/factpulse/models/tauxmanuel.rb +2 -2
- data/lib/factpulse/models/type_facture.rb +1 -1
- data/lib/factpulse/models/type_flux.rb +43 -0
- data/lib/factpulse/models/type_tva.rb +1 -1
- data/lib/factpulse/models/unite.rb +1 -1
- data/lib/factpulse/models/utilisateur.rb +328 -0
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_loc_inner.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +39 -15
- metadata +79 -42
- data/docs/APIError.md +0 -22
- data/docs/MontantRemiseGlobaleTtc.md +0 -15
- data/docs/MontantTotalLigneHt.md +0 -15
- data/docs/MontantTvaLigne.md +0 -15
- data/docs/MontantTvaTotal.md +0 -15
- data/docs/MontantUnitaireHt.md +0 -15
- data/docs/Note.md +0 -20
- data/docs/ValidationErrorDetail.md +0 -26
- data/lib/factpulse/helpers/client.rb +0 -300
- data/lib/factpulse/helpers/exceptions.rb +0 -21
- data/lib/factpulse/helpers.rb +0 -13
- data/lib/factpulse/models/montant_base_ht.rb +0 -104
- data/lib/factpulse/models/montant_remise_globale_ttc.rb +0 -104
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#API REST FactPulse
|
|
3
3
|
|
|
4
|
-
# API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **
|
|
4
|
+
# API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
|
|
@@ -19,183 +19,6 @@ module FactPulse
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Creating a directory line
|
|
23
|
-
# Créer une ligne dans l'annuaire
|
|
24
|
-
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @return [Object]
|
|
26
|
-
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post(opts = {})
|
|
27
|
-
data, _status_code, _headers = create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts)
|
|
28
|
-
data
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
# Creating a directory line
|
|
32
|
-
# Créer une ligne dans l'annuaire
|
|
33
|
-
# @param [Hash] opts the optional parameters
|
|
34
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
35
|
-
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts = {})
|
|
36
|
-
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post ...'
|
|
38
|
-
end
|
|
39
|
-
# resource path
|
|
40
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line'
|
|
41
|
-
|
|
42
|
-
# query parameters
|
|
43
|
-
query_params = opts[:query_params] || {}
|
|
44
|
-
|
|
45
|
-
# header parameters
|
|
46
|
-
header_params = opts[:header_params] || {}
|
|
47
|
-
# HTTP header 'Accept' (if needed)
|
|
48
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
49
|
-
|
|
50
|
-
# form parameters
|
|
51
|
-
form_params = opts[:form_params] || {}
|
|
52
|
-
|
|
53
|
-
# http body (model)
|
|
54
|
-
post_body = opts[:debug_body]
|
|
55
|
-
|
|
56
|
-
# return_type
|
|
57
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
58
|
-
|
|
59
|
-
# auth_names
|
|
60
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
61
|
-
|
|
62
|
-
new_options = opts.merge(
|
|
63
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post",
|
|
64
|
-
:header_params => header_params,
|
|
65
|
-
:query_params => query_params,
|
|
66
|
-
:form_params => form_params,
|
|
67
|
-
:body => post_body,
|
|
68
|
-
:auth_names => auth_names,
|
|
69
|
-
:return_type => return_type
|
|
70
|
-
)
|
|
71
|
-
|
|
72
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
73
|
-
if @api_client.config.debugging
|
|
74
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
75
|
-
end
|
|
76
|
-
return data, status_code, headers
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
# Create a routing code
|
|
80
|
-
# Créer un code de routage dans l'annuaire
|
|
81
|
-
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @return [Object]
|
|
83
|
-
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post(opts = {})
|
|
84
|
-
data, _status_code, _headers = create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts)
|
|
85
|
-
data
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
# Create a routing code
|
|
89
|
-
# Créer un code de routage dans l'annuaire
|
|
90
|
-
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
92
|
-
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts = {})
|
|
93
|
-
if @api_client.config.debugging
|
|
94
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post ...'
|
|
95
|
-
end
|
|
96
|
-
# resource path
|
|
97
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code'
|
|
98
|
-
|
|
99
|
-
# query parameters
|
|
100
|
-
query_params = opts[:query_params] || {}
|
|
101
|
-
|
|
102
|
-
# header parameters
|
|
103
|
-
header_params = opts[:header_params] || {}
|
|
104
|
-
# HTTP header 'Accept' (if needed)
|
|
105
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
106
|
-
|
|
107
|
-
# form parameters
|
|
108
|
-
form_params = opts[:form_params] || {}
|
|
109
|
-
|
|
110
|
-
# http body (model)
|
|
111
|
-
post_body = opts[:debug_body]
|
|
112
|
-
|
|
113
|
-
# return_type
|
|
114
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
115
|
-
|
|
116
|
-
# auth_names
|
|
117
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
118
|
-
|
|
119
|
-
new_options = opts.merge(
|
|
120
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post",
|
|
121
|
-
:header_params => header_params,
|
|
122
|
-
:query_params => query_params,
|
|
123
|
-
:form_params => form_params,
|
|
124
|
-
:body => post_body,
|
|
125
|
-
:auth_names => auth_names,
|
|
126
|
-
:return_type => return_type
|
|
127
|
-
)
|
|
128
|
-
|
|
129
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
130
|
-
if @api_client.config.debugging
|
|
131
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
|
-
end
|
|
133
|
-
return data, status_code, headers
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
# Delete a directory line
|
|
137
|
-
# Supprimer une ligne d'annuaire
|
|
138
|
-
# @param id_instance [String]
|
|
139
|
-
# @param [Hash] opts the optional parameters
|
|
140
|
-
# @return [Object]
|
|
141
|
-
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete(id_instance, opts = {})
|
|
142
|
-
data, _status_code, _headers = delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts)
|
|
143
|
-
data
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
# Delete a directory line
|
|
147
|
-
# Supprimer une ligne d'annuaire
|
|
148
|
-
# @param id_instance [String]
|
|
149
|
-
# @param [Hash] opts the optional parameters
|
|
150
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
151
|
-
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts = {})
|
|
152
|
-
if @api_client.config.debugging
|
|
153
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete ...'
|
|
154
|
-
end
|
|
155
|
-
# verify the required parameter 'id_instance' is set
|
|
156
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
157
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete"
|
|
158
|
-
end
|
|
159
|
-
# resource path
|
|
160
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
161
|
-
|
|
162
|
-
# query parameters
|
|
163
|
-
query_params = opts[:query_params] || {}
|
|
164
|
-
|
|
165
|
-
# header parameters
|
|
166
|
-
header_params = opts[:header_params] || {}
|
|
167
|
-
# HTTP header 'Accept' (if needed)
|
|
168
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
169
|
-
|
|
170
|
-
# form parameters
|
|
171
|
-
form_params = opts[:form_params] || {}
|
|
172
|
-
|
|
173
|
-
# http body (model)
|
|
174
|
-
post_body = opts[:debug_body]
|
|
175
|
-
|
|
176
|
-
# return_type
|
|
177
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
178
|
-
|
|
179
|
-
# auth_names
|
|
180
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
181
|
-
|
|
182
|
-
new_options = opts.merge(
|
|
183
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete",
|
|
184
|
-
:header_params => header_params,
|
|
185
|
-
:query_params => query_params,
|
|
186
|
-
:form_params => form_params,
|
|
187
|
-
:body => post_body,
|
|
188
|
-
:auth_names => auth_names,
|
|
189
|
-
:return_type => return_type
|
|
190
|
-
)
|
|
191
|
-
|
|
192
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
193
|
-
if @api_client.config.debugging
|
|
194
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
195
|
-
end
|
|
196
|
-
return data, status_code, headers
|
|
197
|
-
end
|
|
198
|
-
|
|
199
22
|
# Healthcheck Directory Service
|
|
200
23
|
# Vérifier la disponibilité du Directory Service
|
|
201
24
|
# @param [Hash] opts the optional parameters
|
|
@@ -253,157 +76,31 @@ module FactPulse
|
|
|
253
76
|
return data, status_code, headers
|
|
254
77
|
end
|
|
255
78
|
|
|
256
|
-
#
|
|
257
|
-
#
|
|
258
|
-
# @param
|
|
259
|
-
# @param [Hash] opts the optional parameters
|
|
260
|
-
# @return [Object]
|
|
261
|
-
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get(addressing_identifier, opts = {})
|
|
262
|
-
data, _status_code, _headers = get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts)
|
|
263
|
-
data
|
|
264
|
-
end
|
|
265
|
-
|
|
266
|
-
# Get a directory line
|
|
267
|
-
# Obtenir une ligne d'annuaire identifiée par un identifiant d'adressage
|
|
268
|
-
# @param addressing_identifier [String]
|
|
269
|
-
# @param [Hash] opts the optional parameters
|
|
270
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
271
|
-
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts = {})
|
|
272
|
-
if @api_client.config.debugging
|
|
273
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get ...'
|
|
274
|
-
end
|
|
275
|
-
# verify the required parameter 'addressing_identifier' is set
|
|
276
|
-
if @api_client.config.client_side_validation && addressing_identifier.nil?
|
|
277
|
-
fail ArgumentError, "Missing the required parameter 'addressing_identifier' when calling AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get"
|
|
278
|
-
end
|
|
279
|
-
# resource path
|
|
280
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/code:{addressing_identifier}'.sub('{' + 'addressing_identifier' + '}', CGI.escape(addressing_identifier.to_s))
|
|
281
|
-
|
|
282
|
-
# query parameters
|
|
283
|
-
query_params = opts[:query_params] || {}
|
|
284
|
-
|
|
285
|
-
# header parameters
|
|
286
|
-
header_params = opts[:header_params] || {}
|
|
287
|
-
# HTTP header 'Accept' (if needed)
|
|
288
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
289
|
-
|
|
290
|
-
# form parameters
|
|
291
|
-
form_params = opts[:form_params] || {}
|
|
292
|
-
|
|
293
|
-
# http body (model)
|
|
294
|
-
post_body = opts[:debug_body]
|
|
295
|
-
|
|
296
|
-
# return_type
|
|
297
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
298
|
-
|
|
299
|
-
# auth_names
|
|
300
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
301
|
-
|
|
302
|
-
new_options = opts.merge(
|
|
303
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get",
|
|
304
|
-
:header_params => header_params,
|
|
305
|
-
:query_params => query_params,
|
|
306
|
-
:form_params => form_params,
|
|
307
|
-
:body => post_body,
|
|
308
|
-
:auth_names => auth_names,
|
|
309
|
-
:return_type => return_type
|
|
310
|
-
)
|
|
311
|
-
|
|
312
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
313
|
-
if @api_client.config.debugging
|
|
314
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
|
-
end
|
|
316
|
-
return data, status_code, headers
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
# Get a directory line
|
|
320
|
-
# Obtenir une ligne d'annuaire identifiée par son idInstance
|
|
321
|
-
# @param id_instance [String]
|
|
322
|
-
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @return [Object]
|
|
324
|
-
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get(id_instance, opts = {})
|
|
325
|
-
data, _status_code, _headers = get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
326
|
-
data
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
# Get a directory line
|
|
330
|
-
# Obtenir une ligne d'annuaire identifiée par son idInstance
|
|
331
|
-
# @param id_instance [String]
|
|
332
|
-
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
334
|
-
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
335
|
-
if @api_client.config.debugging
|
|
336
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get ...'
|
|
337
|
-
end
|
|
338
|
-
# verify the required parameter 'id_instance' is set
|
|
339
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
340
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get"
|
|
341
|
-
end
|
|
342
|
-
# resource path
|
|
343
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
344
|
-
|
|
345
|
-
# query parameters
|
|
346
|
-
query_params = opts[:query_params] || {}
|
|
347
|
-
|
|
348
|
-
# header parameters
|
|
349
|
-
header_params = opts[:header_params] || {}
|
|
350
|
-
# HTTP header 'Accept' (if needed)
|
|
351
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
352
|
-
|
|
353
|
-
# form parameters
|
|
354
|
-
form_params = opts[:form_params] || {}
|
|
355
|
-
|
|
356
|
-
# http body (model)
|
|
357
|
-
post_body = opts[:debug_body]
|
|
358
|
-
|
|
359
|
-
# return_type
|
|
360
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
361
|
-
|
|
362
|
-
# auth_names
|
|
363
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
364
|
-
|
|
365
|
-
new_options = opts.merge(
|
|
366
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get",
|
|
367
|
-
:header_params => header_params,
|
|
368
|
-
:query_params => query_params,
|
|
369
|
-
:form_params => form_params,
|
|
370
|
-
:body => post_body,
|
|
371
|
-
:auth_names => auth_names,
|
|
372
|
-
:return_type => return_type
|
|
373
|
-
)
|
|
374
|
-
|
|
375
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
376
|
-
if @api_client.config.debugging
|
|
377
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
378
|
-
end
|
|
379
|
-
return data, status_code, headers
|
|
380
|
-
end
|
|
381
|
-
|
|
382
|
-
# Get a routing code by instance-id
|
|
383
|
-
# Obtenir un code de routage identifié par son idInstance
|
|
384
|
-
# @param id_instance [String]
|
|
79
|
+
# Récupérer une entreprise
|
|
80
|
+
# Récupérer les informations d'une entreprise par son SIREN
|
|
81
|
+
# @param siren [String]
|
|
385
82
|
# @param [Hash] opts the optional parameters
|
|
386
83
|
# @return [Object]
|
|
387
|
-
def
|
|
388
|
-
data, _status_code, _headers =
|
|
84
|
+
def get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get(siren, opts = {})
|
|
85
|
+
data, _status_code, _headers = get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get_with_http_info(siren, opts)
|
|
389
86
|
data
|
|
390
87
|
end
|
|
391
88
|
|
|
392
|
-
#
|
|
393
|
-
#
|
|
394
|
-
# @param
|
|
89
|
+
# Récupérer une entreprise
|
|
90
|
+
# Récupérer les informations d'une entreprise par son SIREN
|
|
91
|
+
# @param siren [String]
|
|
395
92
|
# @param [Hash] opts the optional parameters
|
|
396
93
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
397
|
-
def
|
|
94
|
+
def get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get_with_http_info(siren, opts = {})
|
|
398
95
|
if @api_client.config.debugging
|
|
399
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.
|
|
96
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get ...'
|
|
400
97
|
end
|
|
401
|
-
# verify the required parameter '
|
|
402
|
-
if @api_client.config.client_side_validation &&
|
|
403
|
-
fail ArgumentError, "Missing the required parameter '
|
|
98
|
+
# verify the required parameter 'siren' is set
|
|
99
|
+
if @api_client.config.client_side_validation && siren.nil?
|
|
100
|
+
fail ArgumentError, "Missing the required parameter 'siren' when calling AFNORPDPPADirectoryServiceApi.get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get"
|
|
404
101
|
end
|
|
405
102
|
# resource path
|
|
406
|
-
local_var_path = '/api/v1/afnor/directory/v1/
|
|
103
|
+
local_var_path = '/api/v1/afnor/directory/v1/companies/{siren}'.sub('{' + 'siren' + '}', CGI.escape(siren.to_s))
|
|
407
104
|
|
|
408
105
|
# query parameters
|
|
409
106
|
query_params = opts[:query_params] || {}
|
|
@@ -423,10 +120,10 @@ module FactPulse
|
|
|
423
120
|
return_type = opts[:debug_return_type] || 'Object'
|
|
424
121
|
|
|
425
122
|
# auth_names
|
|
426
|
-
auth_names = opts[:debug_auth_names] || [
|
|
123
|
+
auth_names = opts[:debug_auth_names] || []
|
|
427
124
|
|
|
428
125
|
new_options = opts.merge(
|
|
429
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.
|
|
126
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get",
|
|
430
127
|
:header_params => header_params,
|
|
431
128
|
:query_params => query_params,
|
|
432
129
|
:form_params => form_params,
|
|
@@ -437,42 +134,30 @@ module FactPulse
|
|
|
437
134
|
|
|
438
135
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
439
136
|
if @api_client.config.debugging
|
|
440
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#
|
|
137
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_company_proxy_api_v1_afnor_directory_v1_companies_siren_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
441
138
|
end
|
|
442
139
|
return data, status_code, headers
|
|
443
140
|
end
|
|
444
141
|
|
|
445
|
-
#
|
|
446
|
-
#
|
|
447
|
-
# @param siret [String]
|
|
448
|
-
# @param routing_identifier [String]
|
|
142
|
+
# Rechercher des entreprises
|
|
143
|
+
# Rechercher des entreprises dans l'annuaire AFNOR
|
|
449
144
|
# @param [Hash] opts the optional parameters
|
|
450
145
|
# @return [Object]
|
|
451
|
-
def
|
|
452
|
-
data, _status_code, _headers =
|
|
146
|
+
def search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post(opts = {})
|
|
147
|
+
data, _status_code, _headers = search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post_with_http_info(opts)
|
|
453
148
|
data
|
|
454
149
|
end
|
|
455
150
|
|
|
456
|
-
#
|
|
457
|
-
#
|
|
458
|
-
# @param siret [String]
|
|
459
|
-
# @param routing_identifier [String]
|
|
151
|
+
# Rechercher des entreprises
|
|
152
|
+
# Rechercher des entreprises dans l'annuaire AFNOR
|
|
460
153
|
# @param [Hash] opts the optional parameters
|
|
461
154
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
462
|
-
def
|
|
155
|
+
def search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post_with_http_info(opts = {})
|
|
463
156
|
if @api_client.config.debugging
|
|
464
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.
|
|
465
|
-
end
|
|
466
|
-
# verify the required parameter 'siret' is set
|
|
467
|
-
if @api_client.config.client_side_validation && siret.nil?
|
|
468
|
-
fail ArgumentError, "Missing the required parameter 'siret' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get"
|
|
469
|
-
end
|
|
470
|
-
# verify the required parameter 'routing_identifier' is set
|
|
471
|
-
if @api_client.config.client_side_validation && routing_identifier.nil?
|
|
472
|
-
fail ArgumentError, "Missing the required parameter 'routing_identifier' when calling AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get"
|
|
157
|
+
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post ...'
|
|
473
158
|
end
|
|
474
159
|
# resource path
|
|
475
|
-
local_var_path = '/api/v1/afnor/directory/v1/
|
|
160
|
+
local_var_path = '/api/v1/afnor/directory/v1/companies/search'
|
|
476
161
|
|
|
477
162
|
# query parameters
|
|
478
163
|
query_params = opts[:query_params] || {}
|
|
@@ -492,679 +177,10 @@ module FactPulse
|
|
|
492
177
|
return_type = opts[:debug_return_type] || 'Object'
|
|
493
178
|
|
|
494
179
|
# auth_names
|
|
495
|
-
auth_names = opts[:debug_auth_names] || [
|
|
496
|
-
|
|
497
|
-
new_options = opts.merge(
|
|
498
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get",
|
|
499
|
-
:header_params => header_params,
|
|
500
|
-
:query_params => query_params,
|
|
501
|
-
:form_params => form_params,
|
|
502
|
-
:body => post_body,
|
|
503
|
-
:auth_names => auth_names,
|
|
504
|
-
:return_type => return_type
|
|
505
|
-
)
|
|
506
|
-
|
|
507
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
508
|
-
if @api_client.config.debugging
|
|
509
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
510
|
-
end
|
|
511
|
-
return data, status_code, headers
|
|
512
|
-
end
|
|
513
|
-
|
|
514
|
-
# Consult a siren (legal unit) by SIREN number
|
|
515
|
-
# Retourne les détails d'une entreprise (unité légale) identifiée par son numéro SIREN
|
|
516
|
-
# @param siren [String]
|
|
517
|
-
# @param [Hash] opts the optional parameters
|
|
518
|
-
# @return [Object]
|
|
519
|
-
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get(siren, opts = {})
|
|
520
|
-
data, _status_code, _headers = get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts)
|
|
521
|
-
data
|
|
522
|
-
end
|
|
523
|
-
|
|
524
|
-
# Consult a siren (legal unit) by SIREN number
|
|
525
|
-
# Retourne les détails d'une entreprise (unité légale) identifiée par son numéro SIREN
|
|
526
|
-
# @param siren [String]
|
|
527
|
-
# @param [Hash] opts the optional parameters
|
|
528
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
529
|
-
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts = {})
|
|
530
|
-
if @api_client.config.debugging
|
|
531
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get ...'
|
|
532
|
-
end
|
|
533
|
-
# verify the required parameter 'siren' is set
|
|
534
|
-
if @api_client.config.client_side_validation && siren.nil?
|
|
535
|
-
fail ArgumentError, "Missing the required parameter 'siren' when calling AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get"
|
|
536
|
-
end
|
|
537
|
-
# resource path
|
|
538
|
-
local_var_path = '/api/v1/afnor/directory/v1/siren/code-insee:{siren}'.sub('{' + 'siren' + '}', CGI.escape(siren.to_s))
|
|
539
|
-
|
|
540
|
-
# query parameters
|
|
541
|
-
query_params = opts[:query_params] || {}
|
|
542
|
-
|
|
543
|
-
# header parameters
|
|
544
|
-
header_params = opts[:header_params] || {}
|
|
545
|
-
# HTTP header 'Accept' (if needed)
|
|
546
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
547
|
-
|
|
548
|
-
# form parameters
|
|
549
|
-
form_params = opts[:form_params] || {}
|
|
550
|
-
|
|
551
|
-
# http body (model)
|
|
552
|
-
post_body = opts[:debug_body]
|
|
553
|
-
|
|
554
|
-
# return_type
|
|
555
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
556
|
-
|
|
557
|
-
# auth_names
|
|
558
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
559
|
-
|
|
560
|
-
new_options = opts.merge(
|
|
561
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get",
|
|
562
|
-
:header_params => header_params,
|
|
563
|
-
:query_params => query_params,
|
|
564
|
-
:form_params => form_params,
|
|
565
|
-
:body => post_body,
|
|
566
|
-
:auth_names => auth_names,
|
|
567
|
-
:return_type => return_type
|
|
568
|
-
)
|
|
569
|
-
|
|
570
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
571
|
-
if @api_client.config.debugging
|
|
572
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
573
|
-
end
|
|
574
|
-
return data, status_code, headers
|
|
575
|
-
end
|
|
576
|
-
|
|
577
|
-
# Gets a siren (legal unit) by instance ID
|
|
578
|
-
# Obtenir une entreprise (unité légale) identifiée par son idInstance
|
|
579
|
-
# @param id_instance [String]
|
|
580
|
-
# @param [Hash] opts the optional parameters
|
|
581
|
-
# @return [Object]
|
|
582
|
-
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get(id_instance, opts = {})
|
|
583
|
-
data, _status_code, _headers = get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
584
|
-
data
|
|
585
|
-
end
|
|
586
|
-
|
|
587
|
-
# Gets a siren (legal unit) by instance ID
|
|
588
|
-
# Obtenir une entreprise (unité légale) identifiée par son idInstance
|
|
589
|
-
# @param id_instance [String]
|
|
590
|
-
# @param [Hash] opts the optional parameters
|
|
591
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
592
|
-
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
593
|
-
if @api_client.config.debugging
|
|
594
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get ...'
|
|
595
|
-
end
|
|
596
|
-
# verify the required parameter 'id_instance' is set
|
|
597
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
598
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get"
|
|
599
|
-
end
|
|
600
|
-
# resource path
|
|
601
|
-
local_var_path = '/api/v1/afnor/directory/v1/siren/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
602
|
-
|
|
603
|
-
# query parameters
|
|
604
|
-
query_params = opts[:query_params] || {}
|
|
605
|
-
|
|
606
|
-
# header parameters
|
|
607
|
-
header_params = opts[:header_params] || {}
|
|
608
|
-
# HTTP header 'Accept' (if needed)
|
|
609
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
610
|
-
|
|
611
|
-
# form parameters
|
|
612
|
-
form_params = opts[:form_params] || {}
|
|
613
|
-
|
|
614
|
-
# http body (model)
|
|
615
|
-
post_body = opts[:debug_body]
|
|
616
|
-
|
|
617
|
-
# return_type
|
|
618
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
619
|
-
|
|
620
|
-
# auth_names
|
|
621
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
622
|
-
|
|
623
|
-
new_options = opts.merge(
|
|
624
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get",
|
|
625
|
-
:header_params => header_params,
|
|
626
|
-
:query_params => query_params,
|
|
627
|
-
:form_params => form_params,
|
|
628
|
-
:body => post_body,
|
|
629
|
-
:auth_names => auth_names,
|
|
630
|
-
:return_type => return_type
|
|
631
|
-
)
|
|
632
|
-
|
|
633
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
634
|
-
if @api_client.config.debugging
|
|
635
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
636
|
-
end
|
|
637
|
-
return data, status_code, headers
|
|
638
|
-
end
|
|
639
|
-
|
|
640
|
-
# Gets a siret (facility) by SIRET number
|
|
641
|
-
# Obtenir un établissement identifié par son numéro SIRET
|
|
642
|
-
# @param siret [String]
|
|
643
|
-
# @param [Hash] opts the optional parameters
|
|
644
|
-
# @return [Object]
|
|
645
|
-
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get(siret, opts = {})
|
|
646
|
-
data, _status_code, _headers = get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts)
|
|
647
|
-
data
|
|
648
|
-
end
|
|
649
|
-
|
|
650
|
-
# Gets a siret (facility) by SIRET number
|
|
651
|
-
# Obtenir un établissement identifié par son numéro SIRET
|
|
652
|
-
# @param siret [String]
|
|
653
|
-
# @param [Hash] opts the optional parameters
|
|
654
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
655
|
-
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts = {})
|
|
656
|
-
if @api_client.config.debugging
|
|
657
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get ...'
|
|
658
|
-
end
|
|
659
|
-
# verify the required parameter 'siret' is set
|
|
660
|
-
if @api_client.config.client_side_validation && siret.nil?
|
|
661
|
-
fail ArgumentError, "Missing the required parameter 'siret' when calling AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get"
|
|
662
|
-
end
|
|
663
|
-
# resource path
|
|
664
|
-
local_var_path = '/api/v1/afnor/directory/v1/siret/code-insee:{siret}'.sub('{' + 'siret' + '}', CGI.escape(siret.to_s))
|
|
665
|
-
|
|
666
|
-
# query parameters
|
|
667
|
-
query_params = opts[:query_params] || {}
|
|
668
|
-
|
|
669
|
-
# header parameters
|
|
670
|
-
header_params = opts[:header_params] || {}
|
|
671
|
-
# HTTP header 'Accept' (if needed)
|
|
672
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
673
|
-
|
|
674
|
-
# form parameters
|
|
675
|
-
form_params = opts[:form_params] || {}
|
|
676
|
-
|
|
677
|
-
# http body (model)
|
|
678
|
-
post_body = opts[:debug_body]
|
|
679
|
-
|
|
680
|
-
# return_type
|
|
681
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
682
|
-
|
|
683
|
-
# auth_names
|
|
684
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
685
|
-
|
|
686
|
-
new_options = opts.merge(
|
|
687
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get",
|
|
688
|
-
:header_params => header_params,
|
|
689
|
-
:query_params => query_params,
|
|
690
|
-
:form_params => form_params,
|
|
691
|
-
:body => post_body,
|
|
692
|
-
:auth_names => auth_names,
|
|
693
|
-
:return_type => return_type
|
|
694
|
-
)
|
|
695
|
-
|
|
696
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
697
|
-
if @api_client.config.debugging
|
|
698
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
699
|
-
end
|
|
700
|
-
return data, status_code, headers
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
# Gets a siret (facility) by id-instance
|
|
704
|
-
# Obtenir un établissement identifié par son idInstance
|
|
705
|
-
# @param id_instance [String]
|
|
706
|
-
# @param [Hash] opts the optional parameters
|
|
707
|
-
# @return [Object]
|
|
708
|
-
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get(id_instance, opts = {})
|
|
709
|
-
data, _status_code, _headers = get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
710
|
-
data
|
|
711
|
-
end
|
|
712
|
-
|
|
713
|
-
# Gets a siret (facility) by id-instance
|
|
714
|
-
# Obtenir un établissement identifié par son idInstance
|
|
715
|
-
# @param id_instance [String]
|
|
716
|
-
# @param [Hash] opts the optional parameters
|
|
717
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
718
|
-
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
719
|
-
if @api_client.config.debugging
|
|
720
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get ...'
|
|
721
|
-
end
|
|
722
|
-
# verify the required parameter 'id_instance' is set
|
|
723
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
724
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get"
|
|
725
|
-
end
|
|
726
|
-
# resource path
|
|
727
|
-
local_var_path = '/api/v1/afnor/directory/v1/siret/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
728
|
-
|
|
729
|
-
# query parameters
|
|
730
|
-
query_params = opts[:query_params] || {}
|
|
731
|
-
|
|
732
|
-
# header parameters
|
|
733
|
-
header_params = opts[:header_params] || {}
|
|
734
|
-
# HTTP header 'Accept' (if needed)
|
|
735
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
736
|
-
|
|
737
|
-
# form parameters
|
|
738
|
-
form_params = opts[:form_params] || {}
|
|
739
|
-
|
|
740
|
-
# http body (model)
|
|
741
|
-
post_body = opts[:debug_body]
|
|
742
|
-
|
|
743
|
-
# return_type
|
|
744
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
745
|
-
|
|
746
|
-
# auth_names
|
|
747
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
748
|
-
|
|
749
|
-
new_options = opts.merge(
|
|
750
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get",
|
|
751
|
-
:header_params => header_params,
|
|
752
|
-
:query_params => query_params,
|
|
753
|
-
:form_params => form_params,
|
|
754
|
-
:body => post_body,
|
|
755
|
-
:auth_names => auth_names,
|
|
756
|
-
:return_type => return_type
|
|
757
|
-
)
|
|
758
|
-
|
|
759
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
760
|
-
if @api_client.config.debugging
|
|
761
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
762
|
-
end
|
|
763
|
-
return data, status_code, headers
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
# Partially updates a directory line
|
|
767
|
-
# Mettre à jour partiellement une ligne d'annuaire
|
|
768
|
-
# @param id_instance [String]
|
|
769
|
-
# @param [Hash] opts the optional parameters
|
|
770
|
-
# @return [Object]
|
|
771
|
-
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch(id_instance, opts = {})
|
|
772
|
-
data, _status_code, _headers = patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
773
|
-
data
|
|
774
|
-
end
|
|
775
|
-
|
|
776
|
-
# Partially updates a directory line
|
|
777
|
-
# Mettre à jour partiellement une ligne d'annuaire
|
|
778
|
-
# @param id_instance [String]
|
|
779
|
-
# @param [Hash] opts the optional parameters
|
|
780
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
781
|
-
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
782
|
-
if @api_client.config.debugging
|
|
783
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch ...'
|
|
784
|
-
end
|
|
785
|
-
# verify the required parameter 'id_instance' is set
|
|
786
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
787
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch"
|
|
788
|
-
end
|
|
789
|
-
# resource path
|
|
790
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
791
|
-
|
|
792
|
-
# query parameters
|
|
793
|
-
query_params = opts[:query_params] || {}
|
|
794
|
-
|
|
795
|
-
# header parameters
|
|
796
|
-
header_params = opts[:header_params] || {}
|
|
797
|
-
# HTTP header 'Accept' (if needed)
|
|
798
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
799
|
-
|
|
800
|
-
# form parameters
|
|
801
|
-
form_params = opts[:form_params] || {}
|
|
802
|
-
|
|
803
|
-
# http body (model)
|
|
804
|
-
post_body = opts[:debug_body]
|
|
805
|
-
|
|
806
|
-
# return_type
|
|
807
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
808
|
-
|
|
809
|
-
# auth_names
|
|
810
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
811
|
-
|
|
812
|
-
new_options = opts.merge(
|
|
813
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch",
|
|
814
|
-
:header_params => header_params,
|
|
815
|
-
:query_params => query_params,
|
|
816
|
-
:form_params => form_params,
|
|
817
|
-
:body => post_body,
|
|
818
|
-
:auth_names => auth_names,
|
|
819
|
-
:return_type => return_type
|
|
820
|
-
)
|
|
821
|
-
|
|
822
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
823
|
-
if @api_client.config.debugging
|
|
824
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
|
-
end
|
|
826
|
-
return data, status_code, headers
|
|
827
|
-
end
|
|
828
|
-
|
|
829
|
-
# Partially update a private routing code
|
|
830
|
-
# Mettre à jour partiellement un code de routage privé
|
|
831
|
-
# @param id_instance [String]
|
|
832
|
-
# @param [Hash] opts the optional parameters
|
|
833
|
-
# @return [Object]
|
|
834
|
-
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch(id_instance, opts = {})
|
|
835
|
-
data, _status_code, _headers = patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
836
|
-
data
|
|
837
|
-
end
|
|
838
|
-
|
|
839
|
-
# Partially update a private routing code
|
|
840
|
-
# Mettre à jour partiellement un code de routage privé
|
|
841
|
-
# @param id_instance [String]
|
|
842
|
-
# @param [Hash] opts the optional parameters
|
|
843
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
844
|
-
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
845
|
-
if @api_client.config.debugging
|
|
846
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch ...'
|
|
847
|
-
end
|
|
848
|
-
# verify the required parameter 'id_instance' is set
|
|
849
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
850
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch"
|
|
851
|
-
end
|
|
852
|
-
# resource path
|
|
853
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
854
|
-
|
|
855
|
-
# query parameters
|
|
856
|
-
query_params = opts[:query_params] || {}
|
|
857
|
-
|
|
858
|
-
# header parameters
|
|
859
|
-
header_params = opts[:header_params] || {}
|
|
860
|
-
# HTTP header 'Accept' (if needed)
|
|
861
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
862
|
-
|
|
863
|
-
# form parameters
|
|
864
|
-
form_params = opts[:form_params] || {}
|
|
865
|
-
|
|
866
|
-
# http body (model)
|
|
867
|
-
post_body = opts[:debug_body]
|
|
868
|
-
|
|
869
|
-
# return_type
|
|
870
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
871
|
-
|
|
872
|
-
# auth_names
|
|
873
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
874
|
-
|
|
875
|
-
new_options = opts.merge(
|
|
876
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch",
|
|
877
|
-
:header_params => header_params,
|
|
878
|
-
:query_params => query_params,
|
|
879
|
-
:form_params => form_params,
|
|
880
|
-
:body => post_body,
|
|
881
|
-
:auth_names => auth_names,
|
|
882
|
-
:return_type => return_type
|
|
883
|
-
)
|
|
884
|
-
|
|
885
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
886
|
-
if @api_client.config.debugging
|
|
887
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
888
|
-
end
|
|
889
|
-
return data, status_code, headers
|
|
890
|
-
end
|
|
891
|
-
|
|
892
|
-
# Completely update a private routing code
|
|
893
|
-
# Mettre à jour complètement un code de routage privé
|
|
894
|
-
# @param id_instance [String]
|
|
895
|
-
# @param [Hash] opts the optional parameters
|
|
896
|
-
# @return [Object]
|
|
897
|
-
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put(id_instance, opts = {})
|
|
898
|
-
data, _status_code, _headers = put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts)
|
|
899
|
-
data
|
|
900
|
-
end
|
|
901
|
-
|
|
902
|
-
# Completely update a private routing code
|
|
903
|
-
# Mettre à jour complètement un code de routage privé
|
|
904
|
-
# @param id_instance [String]
|
|
905
|
-
# @param [Hash] opts the optional parameters
|
|
906
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
907
|
-
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts = {})
|
|
908
|
-
if @api_client.config.debugging
|
|
909
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put ...'
|
|
910
|
-
end
|
|
911
|
-
# verify the required parameter 'id_instance' is set
|
|
912
|
-
if @api_client.config.client_side_validation && id_instance.nil?
|
|
913
|
-
fail ArgumentError, "Missing the required parameter 'id_instance' when calling AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put"
|
|
914
|
-
end
|
|
915
|
-
# resource path
|
|
916
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/id-instance:{id_instance}'.sub('{' + 'id_instance' + '}', CGI.escape(id_instance.to_s))
|
|
917
|
-
|
|
918
|
-
# query parameters
|
|
919
|
-
query_params = opts[:query_params] || {}
|
|
920
|
-
|
|
921
|
-
# header parameters
|
|
922
|
-
header_params = opts[:header_params] || {}
|
|
923
|
-
# HTTP header 'Accept' (if needed)
|
|
924
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
925
|
-
|
|
926
|
-
# form parameters
|
|
927
|
-
form_params = opts[:form_params] || {}
|
|
928
|
-
|
|
929
|
-
# http body (model)
|
|
930
|
-
post_body = opts[:debug_body]
|
|
931
|
-
|
|
932
|
-
# return_type
|
|
933
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
934
|
-
|
|
935
|
-
# auth_names
|
|
936
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
937
|
-
|
|
938
|
-
new_options = opts.merge(
|
|
939
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put",
|
|
940
|
-
:header_params => header_params,
|
|
941
|
-
:query_params => query_params,
|
|
942
|
-
:form_params => form_params,
|
|
943
|
-
:body => post_body,
|
|
944
|
-
:auth_names => auth_names,
|
|
945
|
-
:return_type => return_type
|
|
946
|
-
)
|
|
947
|
-
|
|
948
|
-
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
949
|
-
if @api_client.config.debugging
|
|
950
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
951
|
-
end
|
|
952
|
-
return data, status_code, headers
|
|
953
|
-
end
|
|
954
|
-
|
|
955
|
-
# Search for a directory line
|
|
956
|
-
# Rechercher des lignes d'annuaire selon des critères
|
|
957
|
-
# @param [Hash] opts the optional parameters
|
|
958
|
-
# @return [Object]
|
|
959
|
-
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post(opts = {})
|
|
960
|
-
data, _status_code, _headers = search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts)
|
|
961
|
-
data
|
|
962
|
-
end
|
|
963
|
-
|
|
964
|
-
# Search for a directory line
|
|
965
|
-
# Rechercher des lignes d'annuaire selon des critères
|
|
966
|
-
# @param [Hash] opts the optional parameters
|
|
967
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
968
|
-
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts = {})
|
|
969
|
-
if @api_client.config.debugging
|
|
970
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post ...'
|
|
971
|
-
end
|
|
972
|
-
# resource path
|
|
973
|
-
local_var_path = '/api/v1/afnor/directory/v1/directory-line/search'
|
|
974
|
-
|
|
975
|
-
# query parameters
|
|
976
|
-
query_params = opts[:query_params] || {}
|
|
977
|
-
|
|
978
|
-
# header parameters
|
|
979
|
-
header_params = opts[:header_params] || {}
|
|
980
|
-
# HTTP header 'Accept' (if needed)
|
|
981
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
982
|
-
|
|
983
|
-
# form parameters
|
|
984
|
-
form_params = opts[:form_params] || {}
|
|
985
|
-
|
|
986
|
-
# http body (model)
|
|
987
|
-
post_body = opts[:debug_body]
|
|
988
|
-
|
|
989
|
-
# return_type
|
|
990
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
991
|
-
|
|
992
|
-
# auth_names
|
|
993
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
994
|
-
|
|
995
|
-
new_options = opts.merge(
|
|
996
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post",
|
|
997
|
-
:header_params => header_params,
|
|
998
|
-
:query_params => query_params,
|
|
999
|
-
:form_params => form_params,
|
|
1000
|
-
:body => post_body,
|
|
1001
|
-
:auth_names => auth_names,
|
|
1002
|
-
:return_type => return_type
|
|
1003
|
-
)
|
|
1004
|
-
|
|
1005
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1006
|
-
if @api_client.config.debugging
|
|
1007
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1008
|
-
end
|
|
1009
|
-
return data, status_code, headers
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
|
-
# Search for a routing code
|
|
1013
|
-
# Rechercher des codes de routage selon des critères
|
|
1014
|
-
# @param [Hash] opts the optional parameters
|
|
1015
|
-
# @return [Object]
|
|
1016
|
-
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post(opts = {})
|
|
1017
|
-
data, _status_code, _headers = search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts)
|
|
1018
|
-
data
|
|
1019
|
-
end
|
|
1020
|
-
|
|
1021
|
-
# Search for a routing code
|
|
1022
|
-
# Rechercher des codes de routage selon des critères
|
|
1023
|
-
# @param [Hash] opts the optional parameters
|
|
1024
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1025
|
-
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts = {})
|
|
1026
|
-
if @api_client.config.debugging
|
|
1027
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post ...'
|
|
1028
|
-
end
|
|
1029
|
-
# resource path
|
|
1030
|
-
local_var_path = '/api/v1/afnor/directory/v1/routing-code/search'
|
|
1031
|
-
|
|
1032
|
-
# query parameters
|
|
1033
|
-
query_params = opts[:query_params] || {}
|
|
1034
|
-
|
|
1035
|
-
# header parameters
|
|
1036
|
-
header_params = opts[:header_params] || {}
|
|
1037
|
-
# HTTP header 'Accept' (if needed)
|
|
1038
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1039
|
-
|
|
1040
|
-
# form parameters
|
|
1041
|
-
form_params = opts[:form_params] || {}
|
|
1042
|
-
|
|
1043
|
-
# http body (model)
|
|
1044
|
-
post_body = opts[:debug_body]
|
|
1045
|
-
|
|
1046
|
-
# return_type
|
|
1047
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
1048
|
-
|
|
1049
|
-
# auth_names
|
|
1050
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
1051
|
-
|
|
1052
|
-
new_options = opts.merge(
|
|
1053
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post",
|
|
1054
|
-
:header_params => header_params,
|
|
1055
|
-
:query_params => query_params,
|
|
1056
|
-
:form_params => form_params,
|
|
1057
|
-
:body => post_body,
|
|
1058
|
-
:auth_names => auth_names,
|
|
1059
|
-
:return_type => return_type
|
|
1060
|
-
)
|
|
1061
|
-
|
|
1062
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1063
|
-
if @api_client.config.debugging
|
|
1064
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1065
|
-
end
|
|
1066
|
-
return data, status_code, headers
|
|
1067
|
-
end
|
|
1068
|
-
|
|
1069
|
-
# SIREN search (or legal unit)
|
|
1070
|
-
# Recherche multi-critères d'entreprises (unités légales)
|
|
1071
|
-
# @param [Hash] opts the optional parameters
|
|
1072
|
-
# @return [Object]
|
|
1073
|
-
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post(opts = {})
|
|
1074
|
-
data, _status_code, _headers = search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts)
|
|
1075
|
-
data
|
|
1076
|
-
end
|
|
1077
|
-
|
|
1078
|
-
# SIREN search (or legal unit)
|
|
1079
|
-
# Recherche multi-critères d'entreprises (unités légales)
|
|
1080
|
-
# @param [Hash] opts the optional parameters
|
|
1081
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1082
|
-
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts = {})
|
|
1083
|
-
if @api_client.config.debugging
|
|
1084
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post ...'
|
|
1085
|
-
end
|
|
1086
|
-
# resource path
|
|
1087
|
-
local_var_path = '/api/v1/afnor/directory/v1/siren/search'
|
|
1088
|
-
|
|
1089
|
-
# query parameters
|
|
1090
|
-
query_params = opts[:query_params] || {}
|
|
1091
|
-
|
|
1092
|
-
# header parameters
|
|
1093
|
-
header_params = opts[:header_params] || {}
|
|
1094
|
-
# HTTP header 'Accept' (if needed)
|
|
1095
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1096
|
-
|
|
1097
|
-
# form parameters
|
|
1098
|
-
form_params = opts[:form_params] || {}
|
|
1099
|
-
|
|
1100
|
-
# http body (model)
|
|
1101
|
-
post_body = opts[:debug_body]
|
|
1102
|
-
|
|
1103
|
-
# return_type
|
|
1104
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
1105
|
-
|
|
1106
|
-
# auth_names
|
|
1107
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
1108
|
-
|
|
1109
|
-
new_options = opts.merge(
|
|
1110
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post",
|
|
1111
|
-
:header_params => header_params,
|
|
1112
|
-
:query_params => query_params,
|
|
1113
|
-
:form_params => form_params,
|
|
1114
|
-
:body => post_body,
|
|
1115
|
-
:auth_names => auth_names,
|
|
1116
|
-
:return_type => return_type
|
|
1117
|
-
)
|
|
1118
|
-
|
|
1119
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1120
|
-
if @api_client.config.debugging
|
|
1121
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1122
|
-
end
|
|
1123
|
-
return data, status_code, headers
|
|
1124
|
-
end
|
|
1125
|
-
|
|
1126
|
-
# Search for a SIRET (facility)
|
|
1127
|
-
# Recherche multi-critères d'établissements
|
|
1128
|
-
# @param [Hash] opts the optional parameters
|
|
1129
|
-
# @return [Object]
|
|
1130
|
-
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post(opts = {})
|
|
1131
|
-
data, _status_code, _headers = search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts)
|
|
1132
|
-
data
|
|
1133
|
-
end
|
|
1134
|
-
|
|
1135
|
-
# Search for a SIRET (facility)
|
|
1136
|
-
# Recherche multi-critères d'établissements
|
|
1137
|
-
# @param [Hash] opts the optional parameters
|
|
1138
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
1139
|
-
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts = {})
|
|
1140
|
-
if @api_client.config.debugging
|
|
1141
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post ...'
|
|
1142
|
-
end
|
|
1143
|
-
# resource path
|
|
1144
|
-
local_var_path = '/api/v1/afnor/directory/v1/siret/search'
|
|
1145
|
-
|
|
1146
|
-
# query parameters
|
|
1147
|
-
query_params = opts[:query_params] || {}
|
|
1148
|
-
|
|
1149
|
-
# header parameters
|
|
1150
|
-
header_params = opts[:header_params] || {}
|
|
1151
|
-
# HTTP header 'Accept' (if needed)
|
|
1152
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1153
|
-
|
|
1154
|
-
# form parameters
|
|
1155
|
-
form_params = opts[:form_params] || {}
|
|
1156
|
-
|
|
1157
|
-
# http body (model)
|
|
1158
|
-
post_body = opts[:debug_body]
|
|
1159
|
-
|
|
1160
|
-
# return_type
|
|
1161
|
-
return_type = opts[:debug_return_type] || 'Object'
|
|
1162
|
-
|
|
1163
|
-
# auth_names
|
|
1164
|
-
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
180
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1165
181
|
|
|
1166
182
|
new_options = opts.merge(
|
|
1167
|
-
:operation => :"AFNORPDPPADirectoryServiceApi.
|
|
183
|
+
:operation => :"AFNORPDPPADirectoryServiceApi.search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post",
|
|
1168
184
|
:header_params => header_params,
|
|
1169
185
|
:query_params => query_params,
|
|
1170
186
|
:form_params => form_params,
|
|
@@ -1175,7 +191,7 @@ module FactPulse
|
|
|
1175
191
|
|
|
1176
192
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1177
193
|
if @api_client.config.debugging
|
|
1178
|
-
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#
|
|
194
|
+
@api_client.config.logger.debug "API called: AFNORPDPPADirectoryServiceApi#search_companies_proxy_api_v1_afnor_directory_v1_companies_search_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1179
195
|
end
|
|
1180
196
|
return data, status_code, headers
|
|
1181
197
|
end
|