factpulse 1.0.9__py3-none-any.whl → 2.0.37__py3-none-any.whl

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.

Potentially problematic release.


This version of factpulse might be problematic. Click here for more details.

Files changed (147) hide show
  1. factpulse/__init__.py +54 -50
  2. factpulse/api/__init__.py +1 -0
  3. factpulse/api/afnorpdppa_api.py +552 -2
  4. factpulse/api/afnorpdppa_directory_service_api.py +4312 -65
  5. factpulse/api/afnorpdppa_flow_service_api.py +1 -1
  6. factpulse/api/chorus_pro_api.py +152 -194
  7. factpulse/api/sant_api.py +246 -1
  8. factpulse/api/traitement_facture_api.py +25 -27
  9. factpulse/api/utilisateur_api.py +1 -1
  10. factpulse/api/vrification_pdfxml_api.py +1719 -0
  11. factpulse/api_client.py +5 -5
  12. factpulse/configuration.py +5 -3
  13. factpulse/exceptions.py +7 -4
  14. factpulse/models/__init__.py +26 -25
  15. factpulse/models/adresse_electronique.py +1 -1
  16. factpulse/models/adresse_postale.py +1 -1
  17. factpulse/models/{body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post.py → api_error.py} +24 -24
  18. factpulse/models/{body_completer_facture_api_v1_chorus_pro_factures_completer_post.py → bounding_box_schema.py} +23 -27
  19. factpulse/models/cadre_de_facturation.py +11 -3
  20. factpulse/models/categorie_tva.py +11 -11
  21. factpulse/models/certificate_info_response.py +1 -1
  22. factpulse/models/champ_verifie_schema.py +129 -0
  23. factpulse/models/chorus_pro_credentials.py +1 -1
  24. factpulse/models/code_cadre_facturation.py +2 -2
  25. factpulse/models/code_raison_reduction.py +9 -9
  26. factpulse/models/consulter_facture_request.py +1 -1
  27. factpulse/models/consulter_facture_response.py +1 -1
  28. factpulse/models/consulter_structure_request.py +1 -1
  29. factpulse/models/consulter_structure_response.py +1 -1
  30. factpulse/models/credentials_afnor.py +1 -1
  31. factpulse/models/credentials_chorus_pro.py +1 -1
  32. factpulse/models/destinataire.py +16 -2
  33. factpulse/models/destination.py +1 -1
  34. factpulse/models/destination_afnor.py +1 -1
  35. factpulse/models/destination_chorus_pro.py +1 -1
  36. factpulse/models/{quota_info.py → dimension_page_schema.py} +12 -18
  37. factpulse/models/direction_flux.py +1 -1
  38. factpulse/models/donnees_facture_simplifiees.py +1 -1
  39. factpulse/models/error_level.py +37 -0
  40. factpulse/models/error_source.py +43 -0
  41. factpulse/models/{facture_enrichie_info_output.py → facture_enrichie_info.py} +4 -4
  42. factpulse/models/facture_entrante.py +196 -0
  43. factpulse/models/facture_factur_x.py +12 -2
  44. factpulse/models/flux_resume.py +1 -1
  45. factpulse/models/format_facture.py +38 -0
  46. factpulse/models/format_sortie.py +1 -1
  47. factpulse/models/fournisseur.py +9 -2
  48. factpulse/models/fournisseur_entrant.py +144 -0
  49. factpulse/models/generate_certificate_request.py +1 -1
  50. factpulse/models/generate_certificate_response.py +1 -1
  51. factpulse/models/http_validation_error.py +1 -1
  52. factpulse/models/information_signature_api.py +1 -1
  53. factpulse/models/ligne_de_poste.py +7 -12
  54. factpulse/models/ligne_de_poste_montant_remise_ht.py +2 -2
  55. factpulse/models/ligne_de_poste_taux_tva_manuel.py +2 -2
  56. factpulse/models/ligne_de_tva.py +24 -10
  57. factpulse/models/mode_depot.py +1 -1
  58. factpulse/models/mode_paiement.py +1 -1
  59. factpulse/models/{montantapayer.py → montant_a_payer.py} +6 -6
  60. factpulse/models/{montantbaseht.py → montant_base_ht.py} +6 -6
  61. factpulse/models/montant_ht_total.py +4 -4
  62. factpulse/models/{montant_total_montant_remise_globale_ttc.py → montant_remise_globale_ttc.py} +7 -13
  63. factpulse/models/montant_total.py +16 -21
  64. factpulse/models/montant_total_acompte.py +2 -2
  65. factpulse/models/{ligne_de_poste_montant_total_ligne_ht.py → montant_total_ligne_ht.py} +7 -13
  66. factpulse/models/montant_ttc_total.py +4 -4
  67. factpulse/models/montant_tva.py +2 -2
  68. factpulse/models/{montanttva1.py → montant_tva_ligne.py} +7 -7
  69. factpulse/models/{montantttctotal.py → montant_tva_total.py} +7 -7
  70. factpulse/models/{montantunitaireht.py → montant_unitaire_ht.py} +5 -5
  71. factpulse/models/nature_operation.py +49 -0
  72. factpulse/models/{body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post.py → note.py} +14 -24
  73. factpulse/models/{utilisateur.py → note_obligatoire_schema.py} +40 -44
  74. factpulse/models/obtenir_id_chorus_pro_request.py +1 -1
  75. factpulse/models/obtenir_id_chorus_pro_response.py +1 -1
  76. factpulse/models/options_processing.py +1 -1
  77. factpulse/models/parametres_signature.py +1 -1
  78. factpulse/models/parametres_structure.py +1 -1
  79. factpulse/models/pdf_factur_x_info.py +1 -1
  80. factpulse/models/pdp_credentials.py +10 -3
  81. factpulse/models/piece_jointe_complementaire.py +1 -1
  82. factpulse/models/profil_api.py +1 -1
  83. factpulse/models/profil_flux.py +1 -1
  84. factpulse/models/quantite.py +1 -1
  85. factpulse/models/rechercher_services_response.py +1 -1
  86. factpulse/models/rechercher_structure_request.py +1 -1
  87. factpulse/models/rechercher_structure_response.py +1 -1
  88. factpulse/models/references.py +1 -1
  89. factpulse/models/reponse_healthcheck_afnor.py +1 -1
  90. factpulse/models/reponse_recherche_flux.py +1 -1
  91. factpulse/models/reponse_soumission_flux.py +1 -1
  92. factpulse/models/reponse_tache.py +1 -1
  93. factpulse/models/reponse_validation_erreur.py +1 -1
  94. factpulse/models/reponse_validation_succes.py +1 -1
  95. factpulse/models/reponse_verification_succes.py +135 -0
  96. factpulse/models/requete_recherche_flux.py +1 -1
  97. factpulse/models/requete_soumission_flux.py +1 -1
  98. factpulse/models/resultat_afnor.py +1 -1
  99. factpulse/models/resultat_chorus_pro.py +1 -1
  100. factpulse/models/resultat_validation_pdfapi.py +1 -1
  101. factpulse/models/scheme_id.py +7 -7
  102. factpulse/models/service_structure.py +1 -1
  103. factpulse/models/signature_info.py +1 -1
  104. factpulse/models/soumettre_facture_complete_request.py +1 -1
  105. factpulse/models/soumettre_facture_complete_response.py +4 -4
  106. factpulse/models/soumettre_facture_request.py +19 -7
  107. factpulse/models/soumettre_facture_response.py +1 -1
  108. factpulse/models/statut_acquittement.py +1 -1
  109. factpulse/models/statut_celery.py +40 -0
  110. factpulse/models/statut_champ_api.py +40 -0
  111. factpulse/models/statut_facture.py +1 -1
  112. factpulse/models/statut_tache.py +7 -9
  113. factpulse/models/structure_info.py +1 -1
  114. factpulse/models/syntaxe_flux.py +1 -1
  115. factpulse/models/tauxmanuel.py +2 -2
  116. factpulse/models/type_document.py +40 -0
  117. factpulse/models/type_facture.py +1 -1
  118. factpulse/models/type_flux.py +1 -1
  119. factpulse/models/type_tva.py +1 -1
  120. factpulse/models/unite.py +1 -1
  121. factpulse/models/validation_error.py +1 -1
  122. factpulse/models/{body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post.py → validation_error_detail.py} +27 -24
  123. factpulse/models/validation_error_loc_inner.py +1 -1
  124. factpulse/rest.py +8 -3
  125. factpulse-2.0.37.dist-info/METADATA +292 -0
  126. factpulse-2.0.37.dist-info/RECORD +134 -0
  127. factpulse-2.0.37.dist-info/top_level.txt +2 -0
  128. factpulse_helpers/__init__.py +96 -0
  129. factpulse_helpers/client.py +1887 -0
  130. factpulse_helpers/exceptions.py +253 -0
  131. factpulse/api/processing_endpoints_unifis_api.py +0 -592
  132. factpulse/api/signature_lectronique_api.py +0 -1358
  133. factpulse/models/body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get.py +0 -102
  134. factpulse/models/body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post.py +0 -104
  135. factpulse/models/body_recycler_facture_api_v1_chorus_pro_factures_recycler_post.py +0 -104
  136. factpulse/models/body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post.py +0 -104
  137. factpulse/models/body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post.py +0 -104
  138. factpulse/models/body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post.py +0 -104
  139. factpulse/models/body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post.py +0 -104
  140. factpulse/models/facture_enrichie_info_input.py +0 -123
  141. factpulse/models/montanthttotal.py +0 -139
  142. factpulse/models/montanttva.py +0 -139
  143. factpulse-1.0.9.dist-info/METADATA +0 -182
  144. factpulse-1.0.9.dist-info/RECORD +0 -131
  145. factpulse-1.0.9.dist-info/top_level.txt +0 -1
  146. {factpulse-1.0.9.dist-info → factpulse-2.0.37.dist-info}/WHEEL +0 -0
  147. {factpulse-1.0.9.dist-info → factpulse-2.0.37.dist-info}/licenses/LICENSE +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  API REST FactPulse
5
5
 
6
- API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
6
+ API REST pour la facturation électronique en France : Factur-X, AFNOR PDP/PA, signatures électroniques. ## 🎯 Fonctionnalités principales ### 📄 Génération de factures Factur-X - **Formats** : XML seul ou PDF/A-3 avec XML embarqué - **Profils** : MINIMUM, BASIC, EN16931, EXTENDED - **Normes** : EN 16931 (directive UE 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Format simplifié** : Génération à partir de SIRET + auto-enrichissement (API Chorus Pro + Recherche Entreprises) ### ✅ Validation et conformité - **Validation XML** : Schematron (45 à 210+ règles selon profil) - **Validation PDF** : PDF/A-3, métadonnées XMP Factur-X, signatures électroniques - **VeraPDF** : Validation stricte PDF/A (146+ règles ISO 19005-3) - **Traitement asynchrone** : Support Celery pour validations lourdes (VeraPDF) ### 📡 Intégration AFNOR PDP/PA (XP Z12-013) - **Soumission de flux** : Envoi de factures vers Plateformes de Dématérialisation Partenaires - **Recherche de flux** : Consultation des factures soumises - **Téléchargement** : Récupération des PDF/A-3 avec XML - **Directory Service** : Recherche d'entreprises (SIREN/SIRET) - **Multi-client** : Support de plusieurs configs PDP par utilisateur (stored credentials ou zero-storage) ### ✍️ Signature électronique PDF - **Standards** : PAdES-B-B, PAdES-B-T (horodatage RFC 3161), PAdES-B-LT (archivage long terme) - **Niveaux eIDAS** : SES (auto-signé), AdES (CA commerciale), QES (PSCO) - **Validation** : Vérification intégrité cryptographique et certificats - **Génération de certificats** : Certificats X.509 auto-signés pour tests ### 🔄 Traitement asynchrone - **Celery** : Génération, validation et signature asynchrones - **Polling** : Suivi d'état via `/taches/{id_tache}/statut` - **Pas de timeout** : Idéal pour gros fichiers ou validations lourdes ## 🔒 Authentification Toutes les requêtes nécessitent un **token JWT** dans le header Authorization : ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### Comment obtenir un token JWT ? #### 🔑 Méthode 1 : API `/api/token/` (Recommandée) **URL :** `https://www.factpulse.fr/api/token/` Cette méthode est **recommandée** pour l'intégration dans vos applications et workflows CI/CD. **Prérequis :** Avoir défini un mot de passe sur votre compte **Pour les utilisateurs inscrits via email/password :** - Vous avez déjà un mot de passe, utilisez-le directement **Pour les utilisateurs inscrits via OAuth (Google/GitHub) :** - Vous devez d'abord définir un mot de passe sur : https://www.factpulse.fr/accounts/password/set/ - Une fois le mot de passe créé, vous pourrez utiliser l'API **Exemple de requête :** ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\" }' ``` **Paramètre optionnel `client_uid` :** Pour sélectionner les credentials d'un client spécifique (PA/PDP, Chorus Pro, certificats de signature), ajoutez `client_uid` : ```bash curl -X POST https://www.factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"votre_email@example.com\", \"password\": \"votre_mot_de_passe\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }' ``` Le `client_uid` sera inclus dans le JWT et permettra à l'API d'utiliser automatiquement : - Les credentials AFNOR/PDP configurés pour ce client - Les credentials Chorus Pro configurés pour ce client - Les certificats de signature électronique configurés pour ce client **Réponse :** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Token d'accès (validité: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Token de rafraîchissement (validité: 7 jours) } ``` **Avantages :** - ✅ Automatisation complète (CI/CD, scripts) - ✅ Gestion programmatique des tokens - ✅ Support du refresh token pour renouveler automatiquement l'accès - ✅ Intégration facile dans n'importe quel langage/outil #### 🖥️ Méthode 2 : Génération via Dashboard (Alternative) **URL :** https://www.factpulse.fr/dashboard/ Cette méthode convient pour des tests rapides ou une utilisation occasionnelle via l'interface graphique. **Fonctionnement :** - Connectez-vous au dashboard - Utilisez les boutons \"Generate Test Token\" ou \"Generate Production Token\" - Fonctionne pour **tous** les utilisateurs (OAuth et email/password), sans nécessiter de mot de passe **Types de tokens :** - **Token Test** : Validité 24h, quota 1000 appels/jour (gratuit) - **Token Production** : Validité 7 jours, quota selon votre forfait **Avantages :** - ✅ Rapide pour tester l'API - ✅ Aucun mot de passe requis - ✅ Interface visuelle simple **Inconvénients :** - ❌ Nécessite une action manuelle - ❌ Pas de refresh token - ❌ Moins adapté pour l'automatisation ### 📚 Documentation complète Pour plus d'informations sur l'authentification et l'utilisation de l'API : https://www.factpulse.fr/documentation-api/
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -17,18 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import StrictInt
20
- from typing import Any
21
- from factpulse.models.body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post import BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
22
- from factpulse.models.body_completer_facture_api_v1_chorus_pro_factures_completer_post import BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
23
- from factpulse.models.body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get import BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
24
- from factpulse.models.body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post import BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
25
- from factpulse.models.body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post import BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
26
- from factpulse.models.body_recycler_facture_api_v1_chorus_pro_factures_recycler_post import BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
27
- from factpulse.models.body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post import BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
28
- from factpulse.models.body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post import BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
29
- from factpulse.models.body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post import BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
30
- from factpulse.models.body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post import BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
31
- from factpulse.models.body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post import BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
20
+ from typing import Any, Dict
32
21
  from factpulse.models.consulter_facture_request import ConsulterFactureRequest
33
22
  from factpulse.models.consulter_facture_response import ConsulterFactureResponse
34
23
  from factpulse.models.consulter_structure_request import ConsulterStructureRequest
@@ -62,7 +51,7 @@ class ChorusProApi:
62
51
  @validate_call
63
52
  def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post(
64
53
  self,
65
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost,
54
+ request_body: Dict[str, Any],
66
55
  _request_timeout: Union[
67
56
  None,
68
57
  Annotated[StrictFloat, Field(gt=0)],
@@ -80,8 +69,8 @@ class ChorusProApi:
80
69
 
81
70
  Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
82
71
 
83
- :param body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: (required)
84
- :type body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
72
+ :param request_body: (required)
73
+ :type request_body: Dict[str, object]
85
74
  :param _request_timeout: timeout setting for this request. If one
86
75
  number provided, it will be total request
87
76
  timeout. It can also be a pair (tuple) of
@@ -105,7 +94,7 @@ class ChorusProApi:
105
94
  """ # noqa: E501
106
95
 
107
96
  _param = self._ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_serialize(
108
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post=body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post,
97
+ request_body=request_body,
109
98
  _request_auth=_request_auth,
110
99
  _content_type=_content_type,
111
100
  _headers=_headers,
@@ -130,7 +119,7 @@ class ChorusProApi:
130
119
  @validate_call
131
120
  def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_with_http_info(
132
121
  self,
133
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost,
122
+ request_body: Dict[str, Any],
134
123
  _request_timeout: Union[
135
124
  None,
136
125
  Annotated[StrictFloat, Field(gt=0)],
@@ -148,8 +137,8 @@ class ChorusProApi:
148
137
 
149
138
  Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
150
139
 
151
- :param body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: (required)
152
- :type body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
140
+ :param request_body: (required)
141
+ :type request_body: Dict[str, object]
153
142
  :param _request_timeout: timeout setting for this request. If one
154
143
  number provided, it will be total request
155
144
  timeout. It can also be a pair (tuple) of
@@ -173,7 +162,7 @@ class ChorusProApi:
173
162
  """ # noqa: E501
174
163
 
175
164
  _param = self._ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_serialize(
176
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post=body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post,
165
+ request_body=request_body,
177
166
  _request_auth=_request_auth,
178
167
  _content_type=_content_type,
179
168
  _headers=_headers,
@@ -198,7 +187,7 @@ class ChorusProApi:
198
187
  @validate_call
199
188
  def ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_without_preload_content(
200
189
  self,
201
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost,
190
+ request_body: Dict[str, Any],
202
191
  _request_timeout: Union[
203
192
  None,
204
193
  Annotated[StrictFloat, Field(gt=0)],
@@ -216,8 +205,8 @@ class ChorusProApi:
216
205
 
217
206
  Ajoute une pièce jointe au compte utilisateur courant. **Taille max** : 10 Mo par fichier **Payload exemple** : ```json { \"pieceJointeFichier\": \"JVBERi0xLjQKJeLjz9MKNSAwIG9iago8P...\", \"pieceJointeNom\": \"bon_commande.pdf\", \"pieceJointeTypeMime\": \"application/pdf\", \"pieceJointeExtension\": \"PDF\" } ``` **Retour** : L'ID de la pièce jointe (`pieceJointeIdFichier`) à utiliser ensuite dans `/factures/completer`. **Extensions acceptées** : PDF, JPG, PNG, ZIP, XML, etc.
218
207
 
219
- :param body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: (required)
220
- :type body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post: BodyAjouterFichierApiV1ChorusProTransversesAjouterFichierPost
208
+ :param request_body: (required)
209
+ :type request_body: Dict[str, object]
221
210
  :param _request_timeout: timeout setting for this request. If one
222
211
  number provided, it will be total request
223
212
  timeout. It can also be a pair (tuple) of
@@ -241,7 +230,7 @@ class ChorusProApi:
241
230
  """ # noqa: E501
242
231
 
243
232
  _param = self._ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_serialize(
244
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post=body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post,
233
+ request_body=request_body,
245
234
  _request_auth=_request_auth,
246
235
  _content_type=_content_type,
247
236
  _headers=_headers,
@@ -261,7 +250,7 @@ class ChorusProApi:
261
250
 
262
251
  def _ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post_serialize(
263
252
  self,
264
- body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post,
253
+ request_body,
265
254
  _request_auth,
266
255
  _content_type,
267
256
  _headers,
@@ -287,8 +276,8 @@ class ChorusProApi:
287
276
  # process the header parameters
288
277
  # process the form parameters
289
278
  # process the body parameter
290
- if body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post is not None:
291
- _body_params = body_ajouter_fichier_api_v1_chorus_pro_transverses_ajouter_fichier_post
279
+ if request_body is not None:
280
+ _body_params = request_body
292
281
 
293
282
 
294
283
  # set the HTTP header `Accept`
@@ -339,7 +328,7 @@ class ChorusProApi:
339
328
  @validate_call
340
329
  def completer_facture_api_v1_chorus_pro_factures_completer_post(
341
330
  self,
342
- body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost,
331
+ request_body: Dict[str, Any],
343
332
  _request_timeout: Union[
344
333
  None,
345
334
  Annotated[StrictFloat, Field(gt=0)],
@@ -357,8 +346,8 @@ class ChorusProApi:
357
346
 
358
347
  Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
359
348
 
360
- :param body_completer_facture_api_v1_chorus_pro_factures_completer_post: (required)
361
- :type body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
349
+ :param request_body: (required)
350
+ :type request_body: Dict[str, object]
362
351
  :param _request_timeout: timeout setting for this request. If one
363
352
  number provided, it will be total request
364
353
  timeout. It can also be a pair (tuple) of
@@ -382,7 +371,7 @@ class ChorusProApi:
382
371
  """ # noqa: E501
383
372
 
384
373
  _param = self._completer_facture_api_v1_chorus_pro_factures_completer_post_serialize(
385
- body_completer_facture_api_v1_chorus_pro_factures_completer_post=body_completer_facture_api_v1_chorus_pro_factures_completer_post,
374
+ request_body=request_body,
386
375
  _request_auth=_request_auth,
387
376
  _content_type=_content_type,
388
377
  _headers=_headers,
@@ -407,7 +396,7 @@ class ChorusProApi:
407
396
  @validate_call
408
397
  def completer_facture_api_v1_chorus_pro_factures_completer_post_with_http_info(
409
398
  self,
410
- body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost,
399
+ request_body: Dict[str, Any],
411
400
  _request_timeout: Union[
412
401
  None,
413
402
  Annotated[StrictFloat, Field(gt=0)],
@@ -425,8 +414,8 @@ class ChorusProApi:
425
414
 
426
415
  Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
427
416
 
428
- :param body_completer_facture_api_v1_chorus_pro_factures_completer_post: (required)
429
- :type body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
417
+ :param request_body: (required)
418
+ :type request_body: Dict[str, object]
430
419
  :param _request_timeout: timeout setting for this request. If one
431
420
  number provided, it will be total request
432
421
  timeout. It can also be a pair (tuple) of
@@ -450,7 +439,7 @@ class ChorusProApi:
450
439
  """ # noqa: E501
451
440
 
452
441
  _param = self._completer_facture_api_v1_chorus_pro_factures_completer_post_serialize(
453
- body_completer_facture_api_v1_chorus_pro_factures_completer_post=body_completer_facture_api_v1_chorus_pro_factures_completer_post,
442
+ request_body=request_body,
454
443
  _request_auth=_request_auth,
455
444
  _content_type=_content_type,
456
445
  _headers=_headers,
@@ -475,7 +464,7 @@ class ChorusProApi:
475
464
  @validate_call
476
465
  def completer_facture_api_v1_chorus_pro_factures_completer_post_without_preload_content(
477
466
  self,
478
- body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost,
467
+ request_body: Dict[str, Any],
479
468
  _request_timeout: Union[
480
469
  None,
481
470
  Annotated[StrictFloat, Field(gt=0)],
@@ -493,8 +482,8 @@ class ChorusProApi:
493
482
 
494
483
  Complète une facture au statut SUSPENDUE en ajoutant des pièces jointes ou un commentaire. **Statut requis** : SUSPENDUE **Actions possibles** : - Ajouter des pièces jointes (justificatifs, bons de commande, etc.) - Modifier le commentaire **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"commentaire\": \"Voici les justificatifs demandés\", \"listePiecesJointes\": [ { \"pieceJointeIdFichier\": 98765, \"pieceJointeNom\": \"bon_commande.pdf\" } ] } ``` **Note** : Les pièces jointes doivent d'abord être uploadées via `/transverses/ajouter-fichier`. **Après complétion** : La facture repasse au statut MISE_A_DISPOSITION.
495
484
 
496
- :param body_completer_facture_api_v1_chorus_pro_factures_completer_post: (required)
497
- :type body_completer_facture_api_v1_chorus_pro_factures_completer_post: BodyCompleterFactureApiV1ChorusProFacturesCompleterPost
485
+ :param request_body: (required)
486
+ :type request_body: Dict[str, object]
498
487
  :param _request_timeout: timeout setting for this request. If one
499
488
  number provided, it will be total request
500
489
  timeout. It can also be a pair (tuple) of
@@ -518,7 +507,7 @@ class ChorusProApi:
518
507
  """ # noqa: E501
519
508
 
520
509
  _param = self._completer_facture_api_v1_chorus_pro_factures_completer_post_serialize(
521
- body_completer_facture_api_v1_chorus_pro_factures_completer_post=body_completer_facture_api_v1_chorus_pro_factures_completer_post,
510
+ request_body=request_body,
522
511
  _request_auth=_request_auth,
523
512
  _content_type=_content_type,
524
513
  _headers=_headers,
@@ -538,7 +527,7 @@ class ChorusProApi:
538
527
 
539
528
  def _completer_facture_api_v1_chorus_pro_factures_completer_post_serialize(
540
529
  self,
541
- body_completer_facture_api_v1_chorus_pro_factures_completer_post,
530
+ request_body,
542
531
  _request_auth,
543
532
  _content_type,
544
533
  _headers,
@@ -564,8 +553,8 @@ class ChorusProApi:
564
553
  # process the header parameters
565
554
  # process the form parameters
566
555
  # process the body parameter
567
- if body_completer_facture_api_v1_chorus_pro_factures_completer_post is not None:
568
- _body_params = body_completer_facture_api_v1_chorus_pro_factures_completer_post
556
+ if request_body is not None:
557
+ _body_params = request_body
569
558
 
570
559
 
571
560
  # set the HTTP header `Accept`
@@ -1171,7 +1160,6 @@ class ChorusProApi:
1171
1160
  def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get(
1172
1161
  self,
1173
1162
  id_structure_cpp: StrictInt,
1174
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet,
1175
1163
  _request_timeout: Union[
1176
1164
  None,
1177
1165
  Annotated[StrictFloat, Field(gt=0)],
@@ -1191,8 +1179,6 @@ class ChorusProApi:
1191
1179
 
1192
1180
  :param id_structure_cpp: (required)
1193
1181
  :type id_structure_cpp: int
1194
- :param body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: (required)
1195
- :type body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
1196
1182
  :param _request_timeout: timeout setting for this request. If one
1197
1183
  number provided, it will be total request
1198
1184
  timeout. It can also be a pair (tuple) of
@@ -1217,7 +1203,6 @@ class ChorusProApi:
1217
1203
 
1218
1204
  _param = self._lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_serialize(
1219
1205
  id_structure_cpp=id_structure_cpp,
1220
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get=body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get,
1221
1206
  _request_auth=_request_auth,
1222
1207
  _content_type=_content_type,
1223
1208
  _headers=_headers,
@@ -1243,7 +1228,6 @@ class ChorusProApi:
1243
1228
  def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_with_http_info(
1244
1229
  self,
1245
1230
  id_structure_cpp: StrictInt,
1246
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet,
1247
1231
  _request_timeout: Union[
1248
1232
  None,
1249
1233
  Annotated[StrictFloat, Field(gt=0)],
@@ -1263,8 +1247,6 @@ class ChorusProApi:
1263
1247
 
1264
1248
  :param id_structure_cpp: (required)
1265
1249
  :type id_structure_cpp: int
1266
- :param body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: (required)
1267
- :type body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
1268
1250
  :param _request_timeout: timeout setting for this request. If one
1269
1251
  number provided, it will be total request
1270
1252
  timeout. It can also be a pair (tuple) of
@@ -1289,7 +1271,6 @@ class ChorusProApi:
1289
1271
 
1290
1272
  _param = self._lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_serialize(
1291
1273
  id_structure_cpp=id_structure_cpp,
1292
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get=body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get,
1293
1274
  _request_auth=_request_auth,
1294
1275
  _content_type=_content_type,
1295
1276
  _headers=_headers,
@@ -1315,7 +1296,6 @@ class ChorusProApi:
1315
1296
  def lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_without_preload_content(
1316
1297
  self,
1317
1298
  id_structure_cpp: StrictInt,
1318
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet,
1319
1299
  _request_timeout: Union[
1320
1300
  None,
1321
1301
  Annotated[StrictFloat, Field(gt=0)],
@@ -1335,8 +1315,6 @@ class ChorusProApi:
1335
1315
 
1336
1316
  :param id_structure_cpp: (required)
1337
1317
  :type id_structure_cpp: int
1338
- :param body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: (required)
1339
- :type body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get: BodyListerServicesStructureApiV1ChorusProStructuresIdStructureCppServicesGet
1340
1318
  :param _request_timeout: timeout setting for this request. If one
1341
1319
  number provided, it will be total request
1342
1320
  timeout. It can also be a pair (tuple) of
@@ -1361,7 +1339,6 @@ class ChorusProApi:
1361
1339
 
1362
1340
  _param = self._lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_serialize(
1363
1341
  id_structure_cpp=id_structure_cpp,
1364
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get=body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get,
1365
1342
  _request_auth=_request_auth,
1366
1343
  _content_type=_content_type,
1367
1344
  _headers=_headers,
@@ -1382,7 +1359,6 @@ class ChorusProApi:
1382
1359
  def _lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get_serialize(
1383
1360
  self,
1384
1361
  id_structure_cpp,
1385
- body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get,
1386
1362
  _request_auth,
1387
1363
  _content_type,
1388
1364
  _headers,
@@ -1410,8 +1386,6 @@ class ChorusProApi:
1410
1386
  # process the header parameters
1411
1387
  # process the form parameters
1412
1388
  # process the body parameter
1413
- if body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get is not None:
1414
- _body_params = body_lister_services_structure_api_v1_chorus_pro_structures_id_structure_cpp_services_get
1415
1389
 
1416
1390
 
1417
1391
  # set the HTTP header `Accept`
@@ -1422,19 +1396,6 @@ class ChorusProApi:
1422
1396
  ]
1423
1397
  )
1424
1398
 
1425
- # set the HTTP header `Content-Type`
1426
- if _content_type:
1427
- _header_params['Content-Type'] = _content_type
1428
- else:
1429
- _default_content_type = (
1430
- self.api_client.select_header_content_type(
1431
- [
1432
- 'application/json'
1433
- ]
1434
- )
1435
- )
1436
- if _default_content_type is not None:
1437
- _header_params['Content-Type'] = _default_content_type
1438
1399
 
1439
1400
  # authentication setting
1440
1401
  _auth_settings: List[str] = [
@@ -1739,7 +1700,7 @@ class ChorusProApi:
1739
1700
  @validate_call
1740
1701
  def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post(
1741
1702
  self,
1742
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost,
1703
+ request_body: Dict[str, Any],
1743
1704
  _request_timeout: Union[
1744
1705
  None,
1745
1706
  Annotated[StrictFloat, Field(gt=0)],
@@ -1757,8 +1718,8 @@ class ChorusProApi:
1757
1718
 
1758
1719
  Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
1759
1720
 
1760
- :param body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: (required)
1761
- :type body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
1721
+ :param request_body: (required)
1722
+ :type request_body: Dict[str, object]
1762
1723
  :param _request_timeout: timeout setting for this request. If one
1763
1724
  number provided, it will be total request
1764
1725
  timeout. It can also be a pair (tuple) of
@@ -1782,7 +1743,7 @@ class ChorusProApi:
1782
1743
  """ # noqa: E501
1783
1744
 
1784
1745
  _param = self._rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_serialize(
1785
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post=body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post,
1746
+ request_body=request_body,
1786
1747
  _request_auth=_request_auth,
1787
1748
  _content_type=_content_type,
1788
1749
  _headers=_headers,
@@ -1807,7 +1768,7 @@ class ChorusProApi:
1807
1768
  @validate_call
1808
1769
  def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_with_http_info(
1809
1770
  self,
1810
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost,
1771
+ request_body: Dict[str, Any],
1811
1772
  _request_timeout: Union[
1812
1773
  None,
1813
1774
  Annotated[StrictFloat, Field(gt=0)],
@@ -1825,8 +1786,8 @@ class ChorusProApi:
1825
1786
 
1826
1787
  Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
1827
1788
 
1828
- :param body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: (required)
1829
- :type body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
1789
+ :param request_body: (required)
1790
+ :type request_body: Dict[str, object]
1830
1791
  :param _request_timeout: timeout setting for this request. If one
1831
1792
  number provided, it will be total request
1832
1793
  timeout. It can also be a pair (tuple) of
@@ -1850,7 +1811,7 @@ class ChorusProApi:
1850
1811
  """ # noqa: E501
1851
1812
 
1852
1813
  _param = self._rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_serialize(
1853
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post=body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post,
1814
+ request_body=request_body,
1854
1815
  _request_auth=_request_auth,
1855
1816
  _content_type=_content_type,
1856
1817
  _headers=_headers,
@@ -1875,7 +1836,7 @@ class ChorusProApi:
1875
1836
  @validate_call
1876
1837
  def rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_without_preload_content(
1877
1838
  self,
1878
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost,
1839
+ request_body: Dict[str, Any],
1879
1840
  _request_timeout: Union[
1880
1841
  None,
1881
1842
  Annotated[StrictFloat, Field(gt=0)],
@@ -1893,8 +1854,8 @@ class ChorusProApi:
1893
1854
 
1894
1855
  Recherche les factures reçues par le destinataire connecté. **Filtres** : - Téléchargée / non téléchargée - Dates de réception - Statut (MISE_A_DISPOSITION, SUSPENDUE, etc.) - Fournisseur **Indicateur utile** : `factureTelechargeeParDestinataire` permet de savoir si la facture a déjà été téléchargée.
1895
1856
 
1896
- :param body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: (required)
1897
- :type body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post: BodyRechercherFacturesDestinataireApiV1ChorusProFacturesRechercherDestinatairePost
1857
+ :param request_body: (required)
1858
+ :type request_body: Dict[str, object]
1898
1859
  :param _request_timeout: timeout setting for this request. If one
1899
1860
  number provided, it will be total request
1900
1861
  timeout. It can also be a pair (tuple) of
@@ -1918,7 +1879,7 @@ class ChorusProApi:
1918
1879
  """ # noqa: E501
1919
1880
 
1920
1881
  _param = self._rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_serialize(
1921
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post=body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post,
1882
+ request_body=request_body,
1922
1883
  _request_auth=_request_auth,
1923
1884
  _content_type=_content_type,
1924
1885
  _headers=_headers,
@@ -1938,7 +1899,7 @@ class ChorusProApi:
1938
1899
 
1939
1900
  def _rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post_serialize(
1940
1901
  self,
1941
- body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post,
1902
+ request_body,
1942
1903
  _request_auth,
1943
1904
  _content_type,
1944
1905
  _headers,
@@ -1964,8 +1925,8 @@ class ChorusProApi:
1964
1925
  # process the header parameters
1965
1926
  # process the form parameters
1966
1927
  # process the body parameter
1967
- if body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post is not None:
1968
- _body_params = body_rechercher_factures_destinataire_api_v1_chorus_pro_factures_rechercher_destinataire_post
1928
+ if request_body is not None:
1929
+ _body_params = request_body
1969
1930
 
1970
1931
 
1971
1932
  # set the HTTP header `Accept`
@@ -2016,7 +1977,7 @@ class ChorusProApi:
2016
1977
  @validate_call
2017
1978
  def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post(
2018
1979
  self,
2019
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost,
1980
+ request_body: Dict[str, Any],
2020
1981
  _request_timeout: Union[
2021
1982
  None,
2022
1983
  Annotated[StrictFloat, Field(gt=0)],
@@ -2034,8 +1995,8 @@ class ChorusProApi:
2034
1995
 
2035
1996
  Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
2036
1997
 
2037
- :param body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: (required)
2038
- :type body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
1998
+ :param request_body: (required)
1999
+ :type request_body: Dict[str, object]
2039
2000
  :param _request_timeout: timeout setting for this request. If one
2040
2001
  number provided, it will be total request
2041
2002
  timeout. It can also be a pair (tuple) of
@@ -2059,7 +2020,7 @@ class ChorusProApi:
2059
2020
  """ # noqa: E501
2060
2021
 
2061
2022
  _param = self._rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_serialize(
2062
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post=body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post,
2023
+ request_body=request_body,
2063
2024
  _request_auth=_request_auth,
2064
2025
  _content_type=_content_type,
2065
2026
  _headers=_headers,
@@ -2084,7 +2045,7 @@ class ChorusProApi:
2084
2045
  @validate_call
2085
2046
  def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_with_http_info(
2086
2047
  self,
2087
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost,
2048
+ request_body: Dict[str, Any],
2088
2049
  _request_timeout: Union[
2089
2050
  None,
2090
2051
  Annotated[StrictFloat, Field(gt=0)],
@@ -2102,8 +2063,8 @@ class ChorusProApi:
2102
2063
 
2103
2064
  Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
2104
2065
 
2105
- :param body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: (required)
2106
- :type body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
2066
+ :param request_body: (required)
2067
+ :type request_body: Dict[str, object]
2107
2068
  :param _request_timeout: timeout setting for this request. If one
2108
2069
  number provided, it will be total request
2109
2070
  timeout. It can also be a pair (tuple) of
@@ -2127,7 +2088,7 @@ class ChorusProApi:
2127
2088
  """ # noqa: E501
2128
2089
 
2129
2090
  _param = self._rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_serialize(
2130
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post=body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post,
2091
+ request_body=request_body,
2131
2092
  _request_auth=_request_auth,
2132
2093
  _content_type=_content_type,
2133
2094
  _headers=_headers,
@@ -2152,7 +2113,7 @@ class ChorusProApi:
2152
2113
  @validate_call
2153
2114
  def rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_without_preload_content(
2154
2115
  self,
2155
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost,
2116
+ request_body: Dict[str, Any],
2156
2117
  _request_timeout: Union[
2157
2118
  None,
2158
2119
  Annotated[StrictFloat, Field(gt=0)],
@@ -2170,8 +2131,8 @@ class ChorusProApi:
2170
2131
 
2171
2132
  Recherche les factures émises par le fournisseur connecté. **Filtres disponibles** : - Numéro de facture - Dates (début/fin) - Statut - Structure destinataire - Montant **Cas d'usage** : - Suivi des factures émises - Vérification des statuts - Export pour comptabilité
2172
2133
 
2173
- :param body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: (required)
2174
- :type body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post: BodyRechercherFacturesFournisseurApiV1ChorusProFacturesRechercherFournisseurPost
2134
+ :param request_body: (required)
2135
+ :type request_body: Dict[str, object]
2175
2136
  :param _request_timeout: timeout setting for this request. If one
2176
2137
  number provided, it will be total request
2177
2138
  timeout. It can also be a pair (tuple) of
@@ -2195,7 +2156,7 @@ class ChorusProApi:
2195
2156
  """ # noqa: E501
2196
2157
 
2197
2158
  _param = self._rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_serialize(
2198
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post=body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post,
2159
+ request_body=request_body,
2199
2160
  _request_auth=_request_auth,
2200
2161
  _content_type=_content_type,
2201
2162
  _headers=_headers,
@@ -2215,7 +2176,7 @@ class ChorusProApi:
2215
2176
 
2216
2177
  def _rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post_serialize(
2217
2178
  self,
2218
- body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post,
2179
+ request_body,
2219
2180
  _request_auth,
2220
2181
  _content_type,
2221
2182
  _headers,
@@ -2241,8 +2202,8 @@ class ChorusProApi:
2241
2202
  # process the header parameters
2242
2203
  # process the form parameters
2243
2204
  # process the body parameter
2244
- if body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post is not None:
2245
- _body_params = body_rechercher_factures_fournisseur_api_v1_chorus_pro_factures_rechercher_fournisseur_post
2205
+ if request_body is not None:
2206
+ _body_params = request_body
2246
2207
 
2247
2208
 
2248
2209
  # set the HTTP header `Accept`
@@ -2570,7 +2531,7 @@ class ChorusProApi:
2570
2531
  @validate_call
2571
2532
  def recycler_facture_api_v1_chorus_pro_factures_recycler_post(
2572
2533
  self,
2573
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost,
2534
+ request_body: Dict[str, Any],
2574
2535
  _request_timeout: Union[
2575
2536
  None,
2576
2537
  Annotated[StrictFloat, Field(gt=0)],
@@ -2588,8 +2549,8 @@ class ChorusProApi:
2588
2549
 
2589
2550
  Recycle une facture au statut A_RECYCLER en modifiant les données d'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d'engagement **Cas d'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d'acheminement changent.
2590
2551
 
2591
- :param body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: (required)
2592
- :type body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
2552
+ :param request_body: (required)
2553
+ :type request_body: Dict[str, object]
2593
2554
  :param _request_timeout: timeout setting for this request. If one
2594
2555
  number provided, it will be total request
2595
2556
  timeout. It can also be a pair (tuple) of
@@ -2613,7 +2574,7 @@ class ChorusProApi:
2613
2574
  """ # noqa: E501
2614
2575
 
2615
2576
  _param = self._recycler_facture_api_v1_chorus_pro_factures_recycler_post_serialize(
2616
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post=body_recycler_facture_api_v1_chorus_pro_factures_recycler_post,
2577
+ request_body=request_body,
2617
2578
  _request_auth=_request_auth,
2618
2579
  _content_type=_content_type,
2619
2580
  _headers=_headers,
@@ -2638,7 +2599,7 @@ class ChorusProApi:
2638
2599
  @validate_call
2639
2600
  def recycler_facture_api_v1_chorus_pro_factures_recycler_post_with_http_info(
2640
2601
  self,
2641
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost,
2602
+ request_body: Dict[str, Any],
2642
2603
  _request_timeout: Union[
2643
2604
  None,
2644
2605
  Annotated[StrictFloat, Field(gt=0)],
@@ -2656,8 +2617,8 @@ class ChorusProApi:
2656
2617
 
2657
2618
  Recycle une facture au statut A_RECYCLER en modifiant les données d'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d'engagement **Cas d'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d'acheminement changent.
2658
2619
 
2659
- :param body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: (required)
2660
- :type body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
2620
+ :param request_body: (required)
2621
+ :type request_body: Dict[str, object]
2661
2622
  :param _request_timeout: timeout setting for this request. If one
2662
2623
  number provided, it will be total request
2663
2624
  timeout. It can also be a pair (tuple) of
@@ -2681,7 +2642,7 @@ class ChorusProApi:
2681
2642
  """ # noqa: E501
2682
2643
 
2683
2644
  _param = self._recycler_facture_api_v1_chorus_pro_factures_recycler_post_serialize(
2684
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post=body_recycler_facture_api_v1_chorus_pro_factures_recycler_post,
2645
+ request_body=request_body,
2685
2646
  _request_auth=_request_auth,
2686
2647
  _content_type=_content_type,
2687
2648
  _headers=_headers,
@@ -2706,7 +2667,7 @@ class ChorusProApi:
2706
2667
  @validate_call
2707
2668
  def recycler_facture_api_v1_chorus_pro_factures_recycler_post_without_preload_content(
2708
2669
  self,
2709
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost,
2670
+ request_body: Dict[str, Any],
2710
2671
  _request_timeout: Union[
2711
2672
  None,
2712
2673
  Annotated[StrictFloat, Field(gt=0)],
@@ -2724,8 +2685,8 @@ class ChorusProApi:
2724
2685
 
2725
2686
  Recycle une facture au statut A_RECYCLER en modifiant les données d'acheminement. **Statut requis** : A_RECYCLER **Champs modifiables** : - Destinataire (`idStructureCPP`) - Code service - Numéro d'engagement **Cas d'usage** : - Erreur de destinataire - Changement de service facturation - Mise à jour du numéro d'engagement **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"idStructureCPP\": 67890, \"codeService\": \"SERVICE_01\", \"numeroEngagement\": \"ENG2024001\" } ``` **Note** : La facture conserve son numéro et ses montants, seuls les champs d'acheminement changent.
2726
2687
 
2727
- :param body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: (required)
2728
- :type body_recycler_facture_api_v1_chorus_pro_factures_recycler_post: BodyRecyclerFactureApiV1ChorusProFacturesRecyclerPost
2688
+ :param request_body: (required)
2689
+ :type request_body: Dict[str, object]
2729
2690
  :param _request_timeout: timeout setting for this request. If one
2730
2691
  number provided, it will be total request
2731
2692
  timeout. It can also be a pair (tuple) of
@@ -2749,7 +2710,7 @@ class ChorusProApi:
2749
2710
  """ # noqa: E501
2750
2711
 
2751
2712
  _param = self._recycler_facture_api_v1_chorus_pro_factures_recycler_post_serialize(
2752
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post=body_recycler_facture_api_v1_chorus_pro_factures_recycler_post,
2713
+ request_body=request_body,
2753
2714
  _request_auth=_request_auth,
2754
2715
  _content_type=_content_type,
2755
2716
  _headers=_headers,
@@ -2769,7 +2730,7 @@ class ChorusProApi:
2769
2730
 
2770
2731
  def _recycler_facture_api_v1_chorus_pro_factures_recycler_post_serialize(
2771
2732
  self,
2772
- body_recycler_facture_api_v1_chorus_pro_factures_recycler_post,
2733
+ request_body,
2773
2734
  _request_auth,
2774
2735
  _content_type,
2775
2736
  _headers,
@@ -2795,8 +2756,8 @@ class ChorusProApi:
2795
2756
  # process the header parameters
2796
2757
  # process the form parameters
2797
2758
  # process the body parameter
2798
- if body_recycler_facture_api_v1_chorus_pro_factures_recycler_post is not None:
2799
- _body_params = body_recycler_facture_api_v1_chorus_pro_factures_recycler_post
2759
+ if request_body is not None:
2760
+ _body_params = request_body
2800
2761
 
2801
2762
 
2802
2763
  # set the HTTP header `Accept`
@@ -3124,7 +3085,7 @@ class ChorusProApi:
3124
3085
  @validate_call
3125
3086
  def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post(
3126
3087
  self,
3127
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost,
3088
+ request_body: Dict[str, Any],
3128
3089
  _request_timeout: Union[
3129
3090
  None,
3130
3091
  Annotated[StrictFloat, Field(gt=0)],
@@ -3142,8 +3103,8 @@ class ChorusProApi:
3142
3103
 
3143
3104
  Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
3144
3105
 
3145
- :param body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: (required)
3146
- :type body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
3106
+ :param request_body: (required)
3107
+ :type request_body: Dict[str, object]
3147
3108
  :param _request_timeout: timeout setting for this request. If one
3148
3109
  number provided, it will be total request
3149
3110
  timeout. It can also be a pair (tuple) of
@@ -3167,7 +3128,7 @@ class ChorusProApi:
3167
3128
  """ # noqa: E501
3168
3129
 
3169
3130
  _param = self._telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_serialize(
3170
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post=body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post,
3131
+ request_body=request_body,
3171
3132
  _request_auth=_request_auth,
3172
3133
  _content_type=_content_type,
3173
3134
  _headers=_headers,
@@ -3192,7 +3153,7 @@ class ChorusProApi:
3192
3153
  @validate_call
3193
3154
  def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_with_http_info(
3194
3155
  self,
3195
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost,
3156
+ request_body: Dict[str, Any],
3196
3157
  _request_timeout: Union[
3197
3158
  None,
3198
3159
  Annotated[StrictFloat, Field(gt=0)],
@@ -3210,8 +3171,8 @@ class ChorusProApi:
3210
3171
 
3211
3172
  Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
3212
3173
 
3213
- :param body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: (required)
3214
- :type body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
3174
+ :param request_body: (required)
3175
+ :type request_body: Dict[str, object]
3215
3176
  :param _request_timeout: timeout setting for this request. If one
3216
3177
  number provided, it will be total request
3217
3178
  timeout. It can also be a pair (tuple) of
@@ -3235,7 +3196,7 @@ class ChorusProApi:
3235
3196
  """ # noqa: E501
3236
3197
 
3237
3198
  _param = self._telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_serialize(
3238
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post=body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post,
3199
+ request_body=request_body,
3239
3200
  _request_auth=_request_auth,
3240
3201
  _content_type=_content_type,
3241
3202
  _headers=_headers,
@@ -3260,7 +3221,7 @@ class ChorusProApi:
3260
3221
  @validate_call
3261
3222
  def telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_without_preload_content(
3262
3223
  self,
3263
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost,
3224
+ request_body: Dict[str, Any],
3264
3225
  _request_timeout: Union[
3265
3226
  None,
3266
3227
  Annotated[StrictFloat, Field(gt=0)],
@@ -3278,8 +3239,8 @@ class ChorusProApi:
3278
3239
 
3279
3240
  Télécharge une ou plusieurs factures (max 10 recommandé) avec leurs pièces jointes. **Formats disponibles** : - PDF : Fichier PDF uniquement - XML : Fichier XML uniquement - ZIP : Archive contenant PDF + XML + pièces jointes **Taille maximale** : 120 Mo par téléchargement **Payload exemple** : ```json { \"listeIdentifiantsFactureCPP\": [12345, 12346], \"inclurePiecesJointes\": true, \"formatFichier\": \"ZIP\" } ``` **Retour** : Le fichier est encodé en base64 dans le champ `fichierBase64`. **Note** : Le flag `factureTelechargeeParDestinataire` est mis à jour automatiquement.
3280
3241
 
3281
- :param body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: (required)
3282
- :type body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post: BodyTelechargerGroupeFacturesApiV1ChorusProFacturesTelechargerGroupePost
3242
+ :param request_body: (required)
3243
+ :type request_body: Dict[str, object]
3283
3244
  :param _request_timeout: timeout setting for this request. If one
3284
3245
  number provided, it will be total request
3285
3246
  timeout. It can also be a pair (tuple) of
@@ -3303,7 +3264,7 @@ class ChorusProApi:
3303
3264
  """ # noqa: E501
3304
3265
 
3305
3266
  _param = self._telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_serialize(
3306
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post=body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post,
3267
+ request_body=request_body,
3307
3268
  _request_auth=_request_auth,
3308
3269
  _content_type=_content_type,
3309
3270
  _headers=_headers,
@@ -3323,7 +3284,7 @@ class ChorusProApi:
3323
3284
 
3324
3285
  def _telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post_serialize(
3325
3286
  self,
3326
- body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post,
3287
+ request_body,
3327
3288
  _request_auth,
3328
3289
  _content_type,
3329
3290
  _headers,
@@ -3349,8 +3310,8 @@ class ChorusProApi:
3349
3310
  # process the header parameters
3350
3311
  # process the form parameters
3351
3312
  # process the body parameter
3352
- if body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post is not None:
3353
- _body_params = body_telecharger_groupe_factures_api_v1_chorus_pro_factures_telecharger_groupe_post
3313
+ if request_body is not None:
3314
+ _body_params = request_body
3354
3315
 
3355
3316
 
3356
3317
  # set the HTTP header `Accept`
@@ -3401,7 +3362,7 @@ class ChorusProApi:
3401
3362
  @validate_call
3402
3363
  def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post(
3403
3364
  self,
3404
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost,
3365
+ request_body: Dict[str, Any],
3405
3366
  _request_timeout: Union[
3406
3367
  None,
3407
3368
  Annotated[StrictFloat, Field(gt=0)],
@@ -3419,8 +3380,8 @@ class ChorusProApi:
3419
3380
 
3420
3381
  Change le statut d'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
3421
3382
 
3422
- :param body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: (required)
3423
- :type body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
3383
+ :param request_body: (required)
3384
+ :type request_body: Dict[str, object]
3424
3385
  :param _request_timeout: timeout setting for this request. If one
3425
3386
  number provided, it will be total request
3426
3387
  timeout. It can also be a pair (tuple) of
@@ -3444,7 +3405,7 @@ class ChorusProApi:
3444
3405
  """ # noqa: E501
3445
3406
 
3446
3407
  _param = self._traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_serialize(
3447
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post=body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post,
3408
+ request_body=request_body,
3448
3409
  _request_auth=_request_auth,
3449
3410
  _content_type=_content_type,
3450
3411
  _headers=_headers,
@@ -3469,7 +3430,7 @@ class ChorusProApi:
3469
3430
  @validate_call
3470
3431
  def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_with_http_info(
3471
3432
  self,
3472
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost,
3433
+ request_body: Dict[str, Any],
3473
3434
  _request_timeout: Union[
3474
3435
  None,
3475
3436
  Annotated[StrictFloat, Field(gt=0)],
@@ -3487,8 +3448,8 @@ class ChorusProApi:
3487
3448
 
3488
3449
  Change le statut d'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
3489
3450
 
3490
- :param body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: (required)
3491
- :type body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
3451
+ :param request_body: (required)
3452
+ :type request_body: Dict[str, object]
3492
3453
  :param _request_timeout: timeout setting for this request. If one
3493
3454
  number provided, it will be total request
3494
3455
  timeout. It can also be a pair (tuple) of
@@ -3512,7 +3473,7 @@ class ChorusProApi:
3512
3473
  """ # noqa: E501
3513
3474
 
3514
3475
  _param = self._traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_serialize(
3515
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post=body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post,
3476
+ request_body=request_body,
3516
3477
  _request_auth=_request_auth,
3517
3478
  _content_type=_content_type,
3518
3479
  _headers=_headers,
@@ -3537,7 +3498,7 @@ class ChorusProApi:
3537
3498
  @validate_call
3538
3499
  def traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_without_preload_content(
3539
3500
  self,
3540
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost,
3501
+ request_body: Dict[str, Any],
3541
3502
  _request_timeout: Union[
3542
3503
  None,
3543
3504
  Annotated[StrictFloat, Field(gt=0)],
@@ -3555,8 +3516,8 @@ class ChorusProApi:
3555
3516
 
3556
3517
  Change le statut d'une facture reçue. **Statuts possibles** : - MISE_A_DISPOSITION : Facture acceptée - SUSPENDUE : En attente d'informations complémentaires (motif obligatoire) - REJETEE : Facture refusée (motif obligatoire) - MANDATEE : Facture mandatée - MISE_EN_PAIEMENT : Facture en cours de paiement - COMPTABILISEE : Facture comptabilisée - MISE_A_DISPOSITION_COMPTABLE : Mise à disposition comptable - A_RECYCLER : À recycler - COMPLETEE : Complétée - SERVICE-FAIT : Service fait - PRISE_EN_COMPTE_DESTINATAIRE : Prise en compte - TRANSMISE_MOA : Transmise à la MOA **Payload exemple** : ```json { \"identifiantFactureCPP\": 12345, \"nouveauStatut\": \"REJETEE\", \"motifRejet\": \"Facture en double\", \"commentaire\": \"Facture déjà reçue sous la référence ABC123\" } ``` **Règles** : - Un motif est **obligatoire** pour SUSPENDUE et REJETEE - Seuls certains statuts sont autorisés selon le statut actuel de la facture
3557
3518
 
3558
- :param body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: (required)
3559
- :type body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post: BodyTraiterFactureRecueApiV1ChorusProFacturesTraiterFactureRecuePost
3519
+ :param request_body: (required)
3520
+ :type request_body: Dict[str, object]
3560
3521
  :param _request_timeout: timeout setting for this request. If one
3561
3522
  number provided, it will be total request
3562
3523
  timeout. It can also be a pair (tuple) of
@@ -3580,7 +3541,7 @@ class ChorusProApi:
3580
3541
  """ # noqa: E501
3581
3542
 
3582
3543
  _param = self._traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_serialize(
3583
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post=body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post,
3544
+ request_body=request_body,
3584
3545
  _request_auth=_request_auth,
3585
3546
  _content_type=_content_type,
3586
3547
  _headers=_headers,
@@ -3600,7 +3561,7 @@ class ChorusProApi:
3600
3561
 
3601
3562
  def _traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post_serialize(
3602
3563
  self,
3603
- body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post,
3564
+ request_body,
3604
3565
  _request_auth,
3605
3566
  _content_type,
3606
3567
  _headers,
@@ -3626,8 +3587,8 @@ class ChorusProApi:
3626
3587
  # process the header parameters
3627
3588
  # process the form parameters
3628
3589
  # process the body parameter
3629
- if body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post is not None:
3630
- _body_params = body_traiter_facture_recue_api_v1_chorus_pro_factures_traiter_facture_recue_post
3590
+ if request_body is not None:
3591
+ _body_params = request_body
3631
3592
 
3632
3593
 
3633
3594
  # set the HTTP header `Accept`
@@ -3678,7 +3639,7 @@ class ChorusProApi:
3678
3639
  @validate_call
3679
3640
  def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post(
3680
3641
  self,
3681
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost,
3642
+ request_body: Dict[str, Any],
3682
3643
  _request_timeout: Union[
3683
3644
  None,
3684
3645
  Annotated[StrictFloat, Field(gt=0)],
@@ -3694,10 +3655,9 @@ class ChorusProApi:
3694
3655
  ) -> object:
3695
3656
  """Consulter une facture (Valideur)
3696
3657
 
3697
- Consulte facture (valideur).
3698
3658
 
3699
- :param body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: (required)
3700
- :type body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
3659
+ :param request_body: (required)
3660
+ :type request_body: Dict[str, object]
3701
3661
  :param _request_timeout: timeout setting for this request. If one
3702
3662
  number provided, it will be total request
3703
3663
  timeout. It can also be a pair (tuple) of
@@ -3721,7 +3681,7 @@ class ChorusProApi:
3721
3681
  """ # noqa: E501
3722
3682
 
3723
3683
  _param = self._valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_serialize(
3724
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post=body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post,
3684
+ request_body=request_body,
3725
3685
  _request_auth=_request_auth,
3726
3686
  _content_type=_content_type,
3727
3687
  _headers=_headers,
@@ -3746,7 +3706,7 @@ class ChorusProApi:
3746
3706
  @validate_call
3747
3707
  def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_with_http_info(
3748
3708
  self,
3749
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost,
3709
+ request_body: Dict[str, Any],
3750
3710
  _request_timeout: Union[
3751
3711
  None,
3752
3712
  Annotated[StrictFloat, Field(gt=0)],
@@ -3762,10 +3722,9 @@ class ChorusProApi:
3762
3722
  ) -> ApiResponse[object]:
3763
3723
  """Consulter une facture (Valideur)
3764
3724
 
3765
- Consulte facture (valideur).
3766
3725
 
3767
- :param body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: (required)
3768
- :type body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
3726
+ :param request_body: (required)
3727
+ :type request_body: Dict[str, object]
3769
3728
  :param _request_timeout: timeout setting for this request. If one
3770
3729
  number provided, it will be total request
3771
3730
  timeout. It can also be a pair (tuple) of
@@ -3789,7 +3748,7 @@ class ChorusProApi:
3789
3748
  """ # noqa: E501
3790
3749
 
3791
3750
  _param = self._valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_serialize(
3792
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post=body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post,
3751
+ request_body=request_body,
3793
3752
  _request_auth=_request_auth,
3794
3753
  _content_type=_content_type,
3795
3754
  _headers=_headers,
@@ -3814,7 +3773,7 @@ class ChorusProApi:
3814
3773
  @validate_call
3815
3774
  def valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_without_preload_content(
3816
3775
  self,
3817
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost,
3776
+ request_body: Dict[str, Any],
3818
3777
  _request_timeout: Union[
3819
3778
  None,
3820
3779
  Annotated[StrictFloat, Field(gt=0)],
@@ -3830,10 +3789,9 @@ class ChorusProApi:
3830
3789
  ) -> RESTResponseType:
3831
3790
  """Consulter une facture (Valideur)
3832
3791
 
3833
- Consulte facture (valideur).
3834
3792
 
3835
- :param body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: (required)
3836
- :type body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post: BodyValideurConsulterFactureApiV1ChorusProFacturesValideurConsulterPost
3793
+ :param request_body: (required)
3794
+ :type request_body: Dict[str, object]
3837
3795
  :param _request_timeout: timeout setting for this request. If one
3838
3796
  number provided, it will be total request
3839
3797
  timeout. It can also be a pair (tuple) of
@@ -3857,7 +3815,7 @@ class ChorusProApi:
3857
3815
  """ # noqa: E501
3858
3816
 
3859
3817
  _param = self._valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_serialize(
3860
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post=body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post,
3818
+ request_body=request_body,
3861
3819
  _request_auth=_request_auth,
3862
3820
  _content_type=_content_type,
3863
3821
  _headers=_headers,
@@ -3877,7 +3835,7 @@ class ChorusProApi:
3877
3835
 
3878
3836
  def _valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post_serialize(
3879
3837
  self,
3880
- body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post,
3838
+ request_body,
3881
3839
  _request_auth,
3882
3840
  _content_type,
3883
3841
  _headers,
@@ -3903,8 +3861,8 @@ class ChorusProApi:
3903
3861
  # process the header parameters
3904
3862
  # process the form parameters
3905
3863
  # process the body parameter
3906
- if body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post is not None:
3907
- _body_params = body_valideur_consulter_facture_api_v1_chorus_pro_factures_valideur_consulter_post
3864
+ if request_body is not None:
3865
+ _body_params = request_body
3908
3866
 
3909
3867
 
3910
3868
  # set the HTTP header `Accept`
@@ -3955,7 +3913,7 @@ class ChorusProApi:
3955
3913
  @validate_call
3956
3914
  def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post(
3957
3915
  self,
3958
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost,
3916
+ request_body: Dict[str, Any],
3959
3917
  _request_timeout: Union[
3960
3918
  None,
3961
3919
  Annotated[StrictFloat, Field(gt=0)],
@@ -3973,8 +3931,8 @@ class ChorusProApi:
3973
3931
 
3974
3932
  Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
3975
3933
 
3976
- :param body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: (required)
3977
- :type body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
3934
+ :param request_body: (required)
3935
+ :type request_body: Dict[str, object]
3978
3936
  :param _request_timeout: timeout setting for this request. If one
3979
3937
  number provided, it will be total request
3980
3938
  timeout. It can also be a pair (tuple) of
@@ -3998,7 +3956,7 @@ class ChorusProApi:
3998
3956
  """ # noqa: E501
3999
3957
 
4000
3958
  _param = self._valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_serialize(
4001
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post=body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post,
3959
+ request_body=request_body,
4002
3960
  _request_auth=_request_auth,
4003
3961
  _content_type=_content_type,
4004
3962
  _headers=_headers,
@@ -4023,7 +3981,7 @@ class ChorusProApi:
4023
3981
  @validate_call
4024
3982
  def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_with_http_info(
4025
3983
  self,
4026
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost,
3984
+ request_body: Dict[str, Any],
4027
3985
  _request_timeout: Union[
4028
3986
  None,
4029
3987
  Annotated[StrictFloat, Field(gt=0)],
@@ -4041,8 +3999,8 @@ class ChorusProApi:
4041
3999
 
4042
4000
  Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
4043
4001
 
4044
- :param body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: (required)
4045
- :type body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
4002
+ :param request_body: (required)
4003
+ :type request_body: Dict[str, object]
4046
4004
  :param _request_timeout: timeout setting for this request. If one
4047
4005
  number provided, it will be total request
4048
4006
  timeout. It can also be a pair (tuple) of
@@ -4066,7 +4024,7 @@ class ChorusProApi:
4066
4024
  """ # noqa: E501
4067
4025
 
4068
4026
  _param = self._valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_serialize(
4069
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post=body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post,
4027
+ request_body=request_body,
4070
4028
  _request_auth=_request_auth,
4071
4029
  _content_type=_content_type,
4072
4030
  _headers=_headers,
@@ -4091,7 +4049,7 @@ class ChorusProApi:
4091
4049
  @validate_call
4092
4050
  def valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_without_preload_content(
4093
4051
  self,
4094
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost,
4052
+ request_body: Dict[str, Any],
4095
4053
  _request_timeout: Union[
4096
4054
  None,
4097
4055
  Annotated[StrictFloat, Field(gt=0)],
@@ -4109,8 +4067,8 @@ class ChorusProApi:
4109
4067
 
4110
4068
  Recherche les factures en attente de validation par le valideur connecté. **Rôle** : Valideur dans le circuit de validation interne. **Filtres** : Dates, structure, service, etc.
4111
4069
 
4112
- :param body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: (required)
4113
- :type body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post: BodyValideurRechercherFacturesApiV1ChorusProFacturesValideurRechercherPost
4070
+ :param request_body: (required)
4071
+ :type request_body: Dict[str, object]
4114
4072
  :param _request_timeout: timeout setting for this request. If one
4115
4073
  number provided, it will be total request
4116
4074
  timeout. It can also be a pair (tuple) of
@@ -4134,7 +4092,7 @@ class ChorusProApi:
4134
4092
  """ # noqa: E501
4135
4093
 
4136
4094
  _param = self._valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_serialize(
4137
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post=body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post,
4095
+ request_body=request_body,
4138
4096
  _request_auth=_request_auth,
4139
4097
  _content_type=_content_type,
4140
4098
  _headers=_headers,
@@ -4154,7 +4112,7 @@ class ChorusProApi:
4154
4112
 
4155
4113
  def _valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post_serialize(
4156
4114
  self,
4157
- body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post,
4115
+ request_body,
4158
4116
  _request_auth,
4159
4117
  _content_type,
4160
4118
  _headers,
@@ -4180,8 +4138,8 @@ class ChorusProApi:
4180
4138
  # process the header parameters
4181
4139
  # process the form parameters
4182
4140
  # process the body parameter
4183
- if body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post is not None:
4184
- _body_params = body_valideur_rechercher_factures_api_v1_chorus_pro_factures_valideur_rechercher_post
4141
+ if request_body is not None:
4142
+ _body_params = request_body
4185
4143
 
4186
4144
 
4187
4145
  # set the HTTP header `Accept`
@@ -4232,7 +4190,7 @@ class ChorusProApi:
4232
4190
  @validate_call
4233
4191
  def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post(
4234
4192
  self,
4235
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost,
4193
+ request_body: Dict[str, Any],
4236
4194
  _request_timeout: Union[
4237
4195
  None,
4238
4196
  Annotated[StrictFloat, Field(gt=0)],
@@ -4250,8 +4208,8 @@ class ChorusProApi:
4250
4208
 
4251
4209
  Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
4252
4210
 
4253
- :param body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: (required)
4254
- :type body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
4211
+ :param request_body: (required)
4212
+ :type request_body: Dict[str, object]
4255
4213
  :param _request_timeout: timeout setting for this request. If one
4256
4214
  number provided, it will be total request
4257
4215
  timeout. It can also be a pair (tuple) of
@@ -4275,7 +4233,7 @@ class ChorusProApi:
4275
4233
  """ # noqa: E501
4276
4234
 
4277
4235
  _param = self._valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_serialize(
4278
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post=body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post,
4236
+ request_body=request_body,
4279
4237
  _request_auth=_request_auth,
4280
4238
  _content_type=_content_type,
4281
4239
  _headers=_headers,
@@ -4300,7 +4258,7 @@ class ChorusProApi:
4300
4258
  @validate_call
4301
4259
  def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_with_http_info(
4302
4260
  self,
4303
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost,
4261
+ request_body: Dict[str, Any],
4304
4262
  _request_timeout: Union[
4305
4263
  None,
4306
4264
  Annotated[StrictFloat, Field(gt=0)],
@@ -4318,8 +4276,8 @@ class ChorusProApi:
4318
4276
 
4319
4277
  Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
4320
4278
 
4321
- :param body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: (required)
4322
- :type body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
4279
+ :param request_body: (required)
4280
+ :type request_body: Dict[str, object]
4323
4281
  :param _request_timeout: timeout setting for this request. If one
4324
4282
  number provided, it will be total request
4325
4283
  timeout. It can also be a pair (tuple) of
@@ -4343,7 +4301,7 @@ class ChorusProApi:
4343
4301
  """ # noqa: E501
4344
4302
 
4345
4303
  _param = self._valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_serialize(
4346
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post=body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post,
4304
+ request_body=request_body,
4347
4305
  _request_auth=_request_auth,
4348
4306
  _content_type=_content_type,
4349
4307
  _headers=_headers,
@@ -4368,7 +4326,7 @@ class ChorusProApi:
4368
4326
  @validate_call
4369
4327
  def valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_without_preload_content(
4370
4328
  self,
4371
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost,
4329
+ request_body: Dict[str, Any],
4372
4330
  _request_timeout: Union[
4373
4331
  None,
4374
4332
  Annotated[StrictFloat, Field(gt=0)],
@@ -4386,8 +4344,8 @@ class ChorusProApi:
4386
4344
 
4387
4345
  Valide ou refuse une facture en attente de validation. **Actions** : - Valider : La facture passe au statut suivant du circuit - Refuser : La facture est rejetée (motif obligatoire)
4388
4346
 
4389
- :param body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: (required)
4390
- :type body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post: BodyValideurTraiterFactureApiV1ChorusProFacturesValideurTraiterPost
4347
+ :param request_body: (required)
4348
+ :type request_body: Dict[str, object]
4391
4349
  :param _request_timeout: timeout setting for this request. If one
4392
4350
  number provided, it will be total request
4393
4351
  timeout. It can also be a pair (tuple) of
@@ -4411,7 +4369,7 @@ class ChorusProApi:
4411
4369
  """ # noqa: E501
4412
4370
 
4413
4371
  _param = self._valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_serialize(
4414
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post=body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post,
4372
+ request_body=request_body,
4415
4373
  _request_auth=_request_auth,
4416
4374
  _content_type=_content_type,
4417
4375
  _headers=_headers,
@@ -4431,7 +4389,7 @@ class ChorusProApi:
4431
4389
 
4432
4390
  def _valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post_serialize(
4433
4391
  self,
4434
- body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post,
4392
+ request_body,
4435
4393
  _request_auth,
4436
4394
  _content_type,
4437
4395
  _headers,
@@ -4457,8 +4415,8 @@ class ChorusProApi:
4457
4415
  # process the header parameters
4458
4416
  # process the form parameters
4459
4417
  # process the body parameter
4460
- if body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post is not None:
4461
- _body_params = body_valideur_traiter_facture_api_v1_chorus_pro_factures_valideur_traiter_post
4418
+ if request_body is not None:
4419
+ _body_params = request_body
4462
4420
 
4463
4421
 
4464
4422
  # set the HTTP header `Accept`