factpulse 3.0.7__py3-none-any.whl → 3.0.23__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.
- factpulse/__init__.py +289 -12
- factpulse/api/__init__.py +2 -0
- factpulse/api/afnorpdppa_api.py +16 -14
- factpulse/api/afnorpdppa_directory_service_api.py +1224 -309
- factpulse/api/afnorpdppa_flow_service_api.py +199 -68
- factpulse/api/chorus_pro_api.py +61 -8
- factpulse/api/document_conversion_api.py +54 -338
- factpulse/api/downloads_api.py +1171 -0
- factpulse/api/e_reporting_api.py +3254 -0
- factpulse/api/health_api.py +8 -1
- factpulse/api/invoice_processing_api.py +234 -37
- factpulse/api/pdfxml_verification_api.py +98 -19
- factpulse/api/user_api.py +5 -1
- factpulse/api_client.py +3 -2
- factpulse/configuration.py +10 -5
- factpulse/exceptions.py +2 -1
- factpulse/models/__init__.py +143 -6
- factpulse/models/accept_language.py +38 -0
- factpulse/models/acknowledgment_status.py +2 -1
- factpulse/models/additional_document.py +2 -1
- factpulse/models/afnor_acknowledgement.py +100 -0
- factpulse/models/afnor_acknowledgement_detail.py +105 -0
- factpulse/models/afnor_address_edit.py +111 -0
- factpulse/models/afnor_address_patch.py +141 -0
- factpulse/models/afnor_address_put.py +129 -0
- factpulse/models/afnor_address_read.py +113 -0
- factpulse/models/afnor_algorithm.py +41 -0
- factpulse/models/afnor_contains_operator.py +37 -0
- factpulse/models/afnor_create_directory_line_body.py +98 -0
- factpulse/models/afnor_create_directory_line_body_addressing_information.py +122 -0
- factpulse/models/afnor_create_directory_line_body_period.py +91 -0
- factpulse/models/afnor_create_routing_code_body.py +153 -0
- factpulse/models/afnor_credentials.py +2 -1
- factpulse/models/afnor_destination.py +15 -15
- factpulse/models/afnor_diffusion_status.py +38 -0
- factpulse/models/afnor_directory_line_field.py +42 -0
- factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.py +139 -0
- factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.py +92 -0
- factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.py +134 -0
- factpulse/models/afnor_directory_line_post201_response.py +94 -0
- factpulse/models/afnor_directory_line_search_post200_response.py +104 -0
- factpulse/models/afnor_entity_type.py +38 -0
- factpulse/models/afnor_error.py +97 -0
- factpulse/models/afnor_facility_administrative_status.py +38 -0
- factpulse/models/afnor_facility_nature.py +38 -0
- factpulse/models/afnor_facility_payload_history.py +140 -0
- factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.py +98 -0
- factpulse/models/afnor_facility_payload_included.py +134 -0
- factpulse/models/afnor_facility_type.py +38 -0
- factpulse/models/afnor_flow.py +129 -0
- factpulse/models/afnor_flow_ack_status.py +39 -0
- factpulse/models/afnor_flow_direction.py +38 -0
- factpulse/models/afnor_flow_info.py +112 -0
- factpulse/models/afnor_flow_profile.py +39 -0
- factpulse/models/afnor_flow_syntax.py +41 -0
- factpulse/models/afnor_flow_type.py +49 -0
- factpulse/models/afnor_full_flow_info.py +117 -0
- factpulse/models/afnor_health_check_response.py +2 -1
- factpulse/models/afnor_legal_unit_administrative_status.py +38 -0
- factpulse/models/afnor_legal_unit_payload_history.py +107 -0
- factpulse/models/afnor_legal_unit_payload_included.py +107 -0
- factpulse/models/afnor_legal_unit_payload_included_no_siren.py +95 -0
- factpulse/models/afnor_platform_status.py +38 -0
- factpulse/models/afnor_processing_rule.py +42 -0
- factpulse/models/afnor_reason_code.py +141 -0
- factpulse/models/afnor_reason_code_enum.py +51 -0
- factpulse/models/afnor_recipient_platform_type.py +38 -0
- factpulse/models/afnor_result.py +25 -3
- factpulse/models/afnor_routing_code_administrative_status.py +38 -0
- factpulse/models/afnor_routing_code_field.py +44 -0
- factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.py +158 -0
- factpulse/models/afnor_routing_code_post201_response.py +113 -0
- factpulse/models/afnor_routing_code_search.py +122 -0
- factpulse/models/afnor_routing_code_search_filters.py +128 -0
- factpulse/models/afnor_routing_code_search_filters_administrative_status.py +92 -0
- factpulse/models/afnor_routing_code_search_filters_routing_code_name.py +102 -0
- factpulse/models/afnor_routing_code_search_filters_routing_identifier.py +102 -0
- factpulse/models/afnor_routing_code_search_post200_response.py +104 -0
- factpulse/models/afnor_routing_code_search_sorting_inner.py +92 -0
- factpulse/models/afnor_search_directory_line.py +109 -0
- factpulse/models/afnor_search_directory_line_filters.py +116 -0
- factpulse/models/afnor_search_directory_line_filters_addressing_identifier.py +92 -0
- factpulse/models/afnor_search_directory_line_filters_addressing_suffix.py +92 -0
- factpulse/models/afnor_search_directory_line_sorting_inner.py +92 -0
- factpulse/models/afnor_search_flow_content.py +104 -0
- factpulse/models/afnor_search_flow_filters.py +106 -0
- factpulse/models/afnor_search_flow_params.py +95 -0
- factpulse/models/afnor_search_siren.py +109 -0
- factpulse/models/afnor_search_siren_filters.py +110 -0
- factpulse/models/afnor_search_siren_filters_administrative_status.py +92 -0
- factpulse/models/afnor_search_siren_filters_business_name.py +92 -0
- factpulse/models/afnor_search_siren_filters_entity_type.py +92 -0
- factpulse/models/afnor_search_siren_filters_siren.py +102 -0
- factpulse/models/afnor_search_siren_sorting_inner.py +92 -0
- factpulse/models/afnor_search_siret.py +122 -0
- factpulse/models/afnor_search_siret_filters.py +140 -0
- factpulse/models/afnor_search_siret_filters_address_lines.py +92 -0
- factpulse/models/afnor_search_siret_filters_administrative_status.py +92 -0
- factpulse/models/afnor_search_siret_filters_country_subdivision.py +92 -0
- factpulse/models/afnor_search_siret_filters_facility_type.py +92 -0
- factpulse/models/afnor_search_siret_filters_locality.py +92 -0
- factpulse/models/afnor_search_siret_filters_name.py +92 -0
- factpulse/models/afnor_search_siret_filters_postal_code.py +102 -0
- factpulse/models/afnor_search_siret_filters_siret.py +102 -0
- factpulse/models/afnor_search_siret_sorting_inner.py +92 -0
- factpulse/models/afnor_siren_field.py +41 -0
- factpulse/models/afnor_siren_search_post200_response.py +104 -0
- factpulse/models/afnor_siret_field.py +50 -0
- factpulse/models/afnor_siret_search_post200_response.py +104 -0
- factpulse/models/afnor_sorting_order.py +38 -0
- factpulse/models/afnor_strict_operator.py +37 -0
- factpulse/models/afnor_update_patch_directory_line_body.py +89 -0
- factpulse/models/afnor_update_patch_routing_code_body.py +120 -0
- factpulse/models/afnor_update_put_routing_code_body.py +114 -0
- factpulse/models/afnor_webhook_callback_content.py +92 -0
- factpulse/models/aggregated_payment_input.py +106 -0
- factpulse/models/aggregated_transaction_input.py +136 -0
- factpulse/models/allowance_charge.py +9 -6
- factpulse/models/allowance_charge_reason_code.py +74 -0
- factpulse/models/allowance_reason_code.py +2 -1
- factpulse/models/allowance_total_amount.py +2 -1
- factpulse/models/amount.py +3 -2
- factpulse/models/amount1.py +140 -0
- factpulse/models/amount_due.py +2 -1
- factpulse/models/api_error.py +2 -1
- factpulse/models/api_profile.py +41 -0
- factpulse/models/async_task_status.py +2 -1
- factpulse/models/base_amount.py +2 -1
- factpulse/models/bounding_box_schema.py +2 -1
- factpulse/models/buyercountry.py +137 -0
- factpulse/models/celery_status.py +2 -1
- factpulse/models/certificate_info_response.py +2 -1
- factpulse/models/charge_total_amount.py +2 -1
- factpulse/models/{facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.py → chorus_pro_credentials.py} +5 -4
- factpulse/models/chorus_pro_destination.py +2 -1
- factpulse/models/chorus_pro_result.py +2 -1
- factpulse/models/contact.py +2 -1
- factpulse/models/convert_resume_request.py +2 -1
- factpulse/models/convert_success_response.py +2 -1
- factpulse/models/convert_validation_failed_response.py +7 -6
- factpulse/models/country_code.py +206 -0
- factpulse/models/create_aggregated_report_request.py +170 -0
- factpulse/models/create_e_reporting_request.py +173 -0
- factpulse/models/currency.py +137 -0
- factpulse/models/currency_code.py +89 -0
- factpulse/models/delivery_party.py +2 -1
- factpulse/models/destination.py +2 -1
- factpulse/models/directory_line_include.py +40 -0
- factpulse/models/doc_type.py +40 -0
- factpulse/models/document_type_info.py +2 -1
- factpulse/models/e_reporting_flow_type.py +40 -0
- factpulse/models/{convert_error_response.py → e_reporting_validation_error.py} +15 -23
- factpulse/models/electronic_address.py +4 -3
- factpulse/models/enriched_invoice_info.py +8 -7
- factpulse/models/error_level.py +2 -1
- factpulse/models/error_source.py +2 -1
- factpulse/models/extraction_info.py +2 -1
- factpulse/models/factur_x_invoice.py +2 -1
- factpulse/models/factur_xpdf_info.py +2 -1
- factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.py +41 -0
- factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.py +2 -1
- factpulse/models/field_status.py +2 -1
- factpulse/models/file_info.py +2 -1
- factpulse/models/files_info.py +2 -1
- factpulse/models/flow_direction.py +2 -1
- factpulse/models/flow_profile.py +2 -1
- factpulse/models/flow_summary.py +5 -4
- factpulse/models/flow_syntax.py +2 -1
- factpulse/models/flow_type.py +12 -3
- factpulse/models/generate_aggregated_report_response.py +100 -0
- factpulse/models/generate_certificate_request.py +2 -1
- factpulse/models/generate_certificate_response.py +2 -1
- factpulse/models/generate_e_reporting_response.py +96 -0
- factpulse/models/get_chorus_pro_id_request.py +5 -4
- factpulse/models/get_chorus_pro_id_response.py +2 -1
- factpulse/models/get_invoice_request.py +5 -4
- factpulse/models/get_invoice_response.py +4 -3
- factpulse/models/get_structure_request.py +5 -4
- factpulse/models/get_structure_response.py +4 -3
- factpulse/models/global_allowance_amount.py +2 -1
- factpulse/models/gross_unit_price.py +2 -1
- factpulse/models/http_validation_error.py +2 -1
- factpulse/models/incoming_invoice.py +8 -29
- factpulse/models/incoming_supplier.py +2 -1
- factpulse/models/invoice_format.py +2 -1
- factpulse/models/invoice_input.py +179 -0
- factpulse/models/invoice_line.py +18 -2
- factpulse/models/invoice_line_allowance_amount.py +2 -1
- factpulse/models/invoice_note.py +4 -3
- factpulse/models/invoice_payment_input.py +110 -0
- factpulse/models/invoice_references.py +2 -1
- factpulse/models/invoice_status.py +2 -1
- factpulse/models/invoice_totals.py +2 -1
- factpulse/models/invoice_totals_prepayment.py +2 -1
- factpulse/models/invoice_type_code.py +2 -1
- factpulse/models/invoice_type_code_output.py +52 -0
- factpulse/models/invoicing_framework.py +4 -3
- factpulse/models/invoicing_framework_code.py +2 -1
- factpulse/models/line_net_amount.py +2 -1
- factpulse/models/line_sub_type.py +39 -0
- factpulse/models/line_total_amount.py +2 -1
- factpulse/models/{validation_error_loc_inner.py → location_inner.py} +8 -7
- factpulse/models/mandatory_note_schema.py +2 -1
- factpulse/models/manual_rate.py +2 -1
- factpulse/models/manual_vat_rate.py +2 -1
- factpulse/models/missing_field.py +2 -1
- factpulse/models/operation_nature.py +2 -1
- factpulse/models/output_format.py +2 -1
- factpulse/models/page_dimensions_schema.py +2 -1
- factpulse/models/payee.py +2 -1
- factpulse/models/payment_amount_by_rate.py +98 -0
- factpulse/models/payment_card.py +2 -1
- factpulse/models/payment_means.py +2 -1
- factpulse/models/pdf_validation_result_api.py +2 -1
- factpulse/models/pdp_credentials.py +2 -1
- factpulse/models/percentage.py +2 -1
- factpulse/models/postal_address.py +2 -1
- factpulse/models/price_allowance_amount.py +2 -1
- factpulse/models/price_basis_quantity.py +2 -1
- factpulse/models/processing_options.py +4 -3
- factpulse/models/processing_rule.py +42 -0
- factpulse/models/product_characteristic.py +2 -1
- factpulse/models/product_classification.py +2 -1
- factpulse/models/quantity.py +2 -1
- factpulse/models/rate.py +140 -0
- factpulse/models/rate1.py +140 -0
- factpulse/models/recipient.py +2 -1
- factpulse/models/report_period.py +91 -0
- factpulse/models/report_sender.py +98 -0
- factpulse/models/rounding_amount.py +2 -1
- factpulse/models/routing_code_include.py +38 -0
- factpulse/models/schematron_validation_error.py +128 -0
- factpulse/models/scheme_id.py +9 -1
- factpulse/models/search_flow_request.py +2 -1
- factpulse/models/search_flow_response.py +2 -1
- factpulse/models/search_services_response.py +5 -4
- factpulse/models/search_structure_request.py +5 -4
- factpulse/models/search_structure_response.py +2 -1
- factpulse/models/sellercountry.py +137 -0
- factpulse/models/signature_info.py +2 -1
- factpulse/models/signature_info_api.py +2 -1
- factpulse/models/signature_parameters.py +2 -1
- factpulse/models/simplified_invoice_data.py +30 -3
- factpulse/models/siret_include.py +37 -0
- factpulse/models/structure_info.py +2 -1
- factpulse/models/structure_parameters.py +2 -1
- factpulse/models/structure_service.py +2 -1
- factpulse/models/submission_mode.py +2 -1
- factpulse/models/submit_aggregated_report_request.py +127 -0
- factpulse/models/submit_complete_invoice_request.py +2 -1
- factpulse/models/submit_complete_invoice_response.py +2 -1
- factpulse/models/submit_e_reporting_request.py +127 -0
- factpulse/models/submit_e_reporting_response.py +117 -0
- factpulse/models/submit_flow_request.py +2 -1
- factpulse/models/submit_flow_response.py +2 -1
- factpulse/models/submit_gross_amount.py +2 -1
- factpulse/models/submit_invoice_request.py +5 -4
- factpulse/models/submit_invoice_response.py +2 -1
- factpulse/models/submit_net_amount.py +2 -1
- factpulse/models/submit_vat_amount.py +2 -1
- factpulse/models/supplementary_attachment.py +7 -6
- factpulse/models/supplier.py +2 -1
- factpulse/models/task_response.py +2 -1
- factpulse/models/tax_breakdown_input.py +104 -0
- factpulse/models/tax_due_date_type.py +42 -0
- factpulse/models/tax_representative.py +2 -1
- factpulse/models/taxable_amount.py +2 -1
- factpulse/models/taxableamount.py +140 -0
- factpulse/models/taxamount.py +140 -0
- factpulse/models/taxamount1.py +140 -0
- factpulse/models/taxamount2.py +140 -0
- factpulse/models/taxexclusiveamount.py +140 -0
- factpulse/models/taxexclusiveamount1.py +140 -0
- factpulse/models/total_gross_amount.py +2 -1
- factpulse/models/total_net_amount.py +2 -1
- factpulse/models/total_vat_amount.py +2 -1
- factpulse/models/transaction_category.py +40 -0
- factpulse/models/transmission_type_code.py +38 -0
- factpulse/models/unit_net_price.py +2 -1
- factpulse/models/unit_of_measure.py +2 -1
- factpulse/models/validate_e_reporting_request.py +92 -0
- factpulse/models/validate_e_reporting_response.py +113 -0
- factpulse/models/validation_error.py +5 -4
- factpulse/models/validation_error_detail.py +2 -1
- factpulse/models/validation_error_response.py +2 -1
- factpulse/models/validation_info.py +5 -4
- factpulse/models/validation_success_response.py +2 -1
- factpulse/models/vat_accounting_code.py +2 -1
- factpulse/models/vat_amount.py +2 -1
- factpulse/models/vat_category.py +2 -1
- factpulse/models/vat_line.py +2 -1
- factpulse/models/vat_point_date_code.py +2 -1
- factpulse/models/vat_rate.py +2 -1
- factpulse/models/verification_success_response.py +2 -1
- factpulse/models/verified_field_schema.py +2 -1
- factpulse/rest.py +2 -1
- {factpulse-3.0.7.dist-info → factpulse-3.0.23.dist-info}/METADATA +42 -40
- factpulse-3.0.23.dist-info/RECORD +306 -0
- {factpulse-3.0.7.dist-info → factpulse-3.0.23.dist-info}/licenses/LICENSE +1 -1
- factpulse_helpers/client.py +2 -1
- factpulse/models/convert_pending_input_response.py +0 -114
- factpulse/models/factur_x_profile.py +0 -39
- factpulse-3.0.7.dist-info/RECORD +0 -168
- {factpulse-3.0.7.dist-info → factpulse-3.0.23.dist-info}/WHEEL +0 -0
- {factpulse-3.0.7.dist-info → factpulse-3.0.23.dist-info}/top_level.txt +0 -0
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
"""
|
|
4
4
|
FactPulse REST API
|
|
5
5
|
|
|
6
|
-
REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://
|
|
6
|
+
REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d '{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: contact@factpulse.fr
|
|
9
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
11
|
|
|
11
12
|
Do not edit the class manually.
|
|
@@ -16,8 +17,22 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
18
|
from typing_extensions import Annotated
|
|
18
19
|
|
|
19
|
-
from pydantic import StrictStr
|
|
20
|
-
from typing import Any
|
|
20
|
+
from pydantic import Field, StrictStr
|
|
21
|
+
from typing import Any, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from factpulse.models.afnor_directory_line_payload_history_legal_unit_facility_routing_code import AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode
|
|
24
|
+
from factpulse.models.afnor_directory_line_post201_response import AFNORDirectoryLinePost201Response
|
|
25
|
+
from factpulse.models.afnor_directory_line_search_post200_response import AFNORDirectoryLineSearchPost200Response
|
|
26
|
+
from factpulse.models.afnor_facility_payload_history import AFNORFacilityPayloadHistory
|
|
27
|
+
from factpulse.models.afnor_legal_unit_payload_history import AFNORLegalUnitPayloadHistory
|
|
28
|
+
from factpulse.models.afnor_routing_code_payload_history_legal_unit_facility import AFNORRoutingCodePayloadHistoryLegalUnitFacility
|
|
29
|
+
from factpulse.models.afnor_routing_code_post201_response import AFNORRoutingCodePost201Response
|
|
30
|
+
from factpulse.models.afnor_routing_code_search_post200_response import AFNORRoutingCodeSearchPost200Response
|
|
31
|
+
from factpulse.models.afnor_siren_search_post200_response import AFNORSirenSearchPost200Response
|
|
32
|
+
from factpulse.models.afnor_siret_search_post200_response import AFNORSiretSearchPost200Response
|
|
33
|
+
from factpulse.models.directory_line_include import DirectoryLineInclude
|
|
34
|
+
from factpulse.models.routing_code_include import RoutingCodeInclude
|
|
35
|
+
from factpulse.models.siret_include import SiretInclude
|
|
21
36
|
|
|
22
37
|
from factpulse.api_client import ApiClient, RequestSerialized
|
|
23
38
|
from factpulse.api_response import ApiResponse
|
|
@@ -40,6 +55,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
40
55
|
@validate_call
|
|
41
56
|
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post(
|
|
42
57
|
self,
|
|
58
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
43
59
|
_request_timeout: Union[
|
|
44
60
|
None,
|
|
45
61
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -55,8 +71,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
55
71
|
) -> object:
|
|
56
72
|
"""Creating a directory line
|
|
57
73
|
|
|
58
|
-
|
|
74
|
+
Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
59
75
|
|
|
76
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
77
|
+
:type accept_language: AcceptLanguage
|
|
60
78
|
:param _request_timeout: timeout setting for this request. If one
|
|
61
79
|
number provided, it will be total request
|
|
62
80
|
timeout. It can also be a pair (tuple) of
|
|
@@ -80,6 +98,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
80
98
|
""" # noqa: E501
|
|
81
99
|
|
|
82
100
|
_param = self._create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_serialize(
|
|
101
|
+
accept_language=accept_language,
|
|
83
102
|
_request_auth=_request_auth,
|
|
84
103
|
_content_type=_content_type,
|
|
85
104
|
_headers=_headers,
|
|
@@ -88,9 +107,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
88
107
|
|
|
89
108
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
90
109
|
'200': "object",
|
|
91
|
-
'201':
|
|
110
|
+
'201': "AFNORDirectoryLinePost201Response",
|
|
92
111
|
'400': None,
|
|
93
112
|
'401': None,
|
|
113
|
+
'403': None,
|
|
114
|
+
'404': None,
|
|
115
|
+
'408': None,
|
|
116
|
+
'422': None,
|
|
117
|
+
'429': None,
|
|
118
|
+
'500': None,
|
|
119
|
+
'501': None,
|
|
120
|
+
'503': None,
|
|
94
121
|
}
|
|
95
122
|
response_data = self.api_client.call_api(
|
|
96
123
|
*_param,
|
|
@@ -106,6 +133,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
106
133
|
@validate_call
|
|
107
134
|
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(
|
|
108
135
|
self,
|
|
136
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
109
137
|
_request_timeout: Union[
|
|
110
138
|
None,
|
|
111
139
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -121,8 +149,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
121
149
|
) -> ApiResponse[object]:
|
|
122
150
|
"""Creating a directory line
|
|
123
151
|
|
|
124
|
-
|
|
152
|
+
Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
125
153
|
|
|
154
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
155
|
+
:type accept_language: AcceptLanguage
|
|
126
156
|
:param _request_timeout: timeout setting for this request. If one
|
|
127
157
|
number provided, it will be total request
|
|
128
158
|
timeout. It can also be a pair (tuple) of
|
|
@@ -146,6 +176,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
146
176
|
""" # noqa: E501
|
|
147
177
|
|
|
148
178
|
_param = self._create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_serialize(
|
|
179
|
+
accept_language=accept_language,
|
|
149
180
|
_request_auth=_request_auth,
|
|
150
181
|
_content_type=_content_type,
|
|
151
182
|
_headers=_headers,
|
|
@@ -154,9 +185,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
154
185
|
|
|
155
186
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
156
187
|
'200': "object",
|
|
157
|
-
'201':
|
|
188
|
+
'201': "AFNORDirectoryLinePost201Response",
|
|
158
189
|
'400': None,
|
|
159
190
|
'401': None,
|
|
191
|
+
'403': None,
|
|
192
|
+
'404': None,
|
|
193
|
+
'408': None,
|
|
194
|
+
'422': None,
|
|
195
|
+
'429': None,
|
|
196
|
+
'500': None,
|
|
197
|
+
'501': None,
|
|
198
|
+
'503': None,
|
|
160
199
|
}
|
|
161
200
|
response_data = self.api_client.call_api(
|
|
162
201
|
*_param,
|
|
@@ -172,6 +211,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
172
211
|
@validate_call
|
|
173
212
|
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_without_preload_content(
|
|
174
213
|
self,
|
|
214
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
175
215
|
_request_timeout: Union[
|
|
176
216
|
None,
|
|
177
217
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -187,8 +227,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
187
227
|
) -> RESTResponseType:
|
|
188
228
|
"""Creating a directory line
|
|
189
229
|
|
|
190
|
-
|
|
230
|
+
Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
191
231
|
|
|
232
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
233
|
+
:type accept_language: AcceptLanguage
|
|
192
234
|
:param _request_timeout: timeout setting for this request. If one
|
|
193
235
|
number provided, it will be total request
|
|
194
236
|
timeout. It can also be a pair (tuple) of
|
|
@@ -212,6 +254,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
212
254
|
""" # noqa: E501
|
|
213
255
|
|
|
214
256
|
_param = self._create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_serialize(
|
|
257
|
+
accept_language=accept_language,
|
|
215
258
|
_request_auth=_request_auth,
|
|
216
259
|
_content_type=_content_type,
|
|
217
260
|
_headers=_headers,
|
|
@@ -220,9 +263,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
220
263
|
|
|
221
264
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
222
265
|
'200': "object",
|
|
223
|
-
'201':
|
|
266
|
+
'201': "AFNORDirectoryLinePost201Response",
|
|
224
267
|
'400': None,
|
|
225
268
|
'401': None,
|
|
269
|
+
'403': None,
|
|
270
|
+
'404': None,
|
|
271
|
+
'408': None,
|
|
272
|
+
'422': None,
|
|
273
|
+
'429': None,
|
|
274
|
+
'500': None,
|
|
275
|
+
'501': None,
|
|
276
|
+
'503': None,
|
|
226
277
|
}
|
|
227
278
|
response_data = self.api_client.call_api(
|
|
228
279
|
*_param,
|
|
@@ -233,6 +284,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
233
284
|
|
|
234
285
|
def _create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_serialize(
|
|
235
286
|
self,
|
|
287
|
+
accept_language,
|
|
236
288
|
_request_auth,
|
|
237
289
|
_content_type,
|
|
238
290
|
_headers,
|
|
@@ -256,6 +308,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
256
308
|
# process the path parameters
|
|
257
309
|
# process the query parameters
|
|
258
310
|
# process the header parameters
|
|
311
|
+
if accept_language is not None:
|
|
312
|
+
_header_params['Accept-Language'] = accept_language
|
|
259
313
|
# process the form parameters
|
|
260
314
|
# process the body parameter
|
|
261
315
|
|
|
@@ -295,6 +349,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
295
349
|
@validate_call
|
|
296
350
|
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post(
|
|
297
351
|
self,
|
|
352
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
298
353
|
_request_timeout: Union[
|
|
299
354
|
None,
|
|
300
355
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -310,8 +365,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
310
365
|
) -> object:
|
|
311
366
|
"""Create a routing code
|
|
312
367
|
|
|
313
|
-
|
|
368
|
+
Creating a routing code.
|
|
314
369
|
|
|
370
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
371
|
+
:type accept_language: AcceptLanguage
|
|
315
372
|
:param _request_timeout: timeout setting for this request. If one
|
|
316
373
|
number provided, it will be total request
|
|
317
374
|
timeout. It can also be a pair (tuple) of
|
|
@@ -335,6 +392,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
335
392
|
""" # noqa: E501
|
|
336
393
|
|
|
337
394
|
_param = self._create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_serialize(
|
|
395
|
+
accept_language=accept_language,
|
|
338
396
|
_request_auth=_request_auth,
|
|
339
397
|
_content_type=_content_type,
|
|
340
398
|
_headers=_headers,
|
|
@@ -343,9 +401,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
343
401
|
|
|
344
402
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
345
403
|
'200': "object",
|
|
346
|
-
'201':
|
|
404
|
+
'201': "AFNORRoutingCodePost201Response",
|
|
347
405
|
'400': None,
|
|
348
406
|
'401': None,
|
|
407
|
+
'403': None,
|
|
408
|
+
'404': None,
|
|
409
|
+
'408': None,
|
|
410
|
+
'422': None,
|
|
411
|
+
'429': None,
|
|
412
|
+
'500': None,
|
|
413
|
+
'501': None,
|
|
414
|
+
'503': None,
|
|
349
415
|
}
|
|
350
416
|
response_data = self.api_client.call_api(
|
|
351
417
|
*_param,
|
|
@@ -361,6 +427,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
361
427
|
@validate_call
|
|
362
428
|
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(
|
|
363
429
|
self,
|
|
430
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
364
431
|
_request_timeout: Union[
|
|
365
432
|
None,
|
|
366
433
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -376,8 +443,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
376
443
|
) -> ApiResponse[object]:
|
|
377
444
|
"""Create a routing code
|
|
378
445
|
|
|
379
|
-
|
|
446
|
+
Creating a routing code.
|
|
380
447
|
|
|
448
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
449
|
+
:type accept_language: AcceptLanguage
|
|
381
450
|
:param _request_timeout: timeout setting for this request. If one
|
|
382
451
|
number provided, it will be total request
|
|
383
452
|
timeout. It can also be a pair (tuple) of
|
|
@@ -401,6 +470,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
401
470
|
""" # noqa: E501
|
|
402
471
|
|
|
403
472
|
_param = self._create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_serialize(
|
|
473
|
+
accept_language=accept_language,
|
|
404
474
|
_request_auth=_request_auth,
|
|
405
475
|
_content_type=_content_type,
|
|
406
476
|
_headers=_headers,
|
|
@@ -409,9 +479,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
409
479
|
|
|
410
480
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
411
481
|
'200': "object",
|
|
412
|
-
'201':
|
|
482
|
+
'201': "AFNORRoutingCodePost201Response",
|
|
413
483
|
'400': None,
|
|
414
484
|
'401': None,
|
|
485
|
+
'403': None,
|
|
486
|
+
'404': None,
|
|
487
|
+
'408': None,
|
|
488
|
+
'422': None,
|
|
489
|
+
'429': None,
|
|
490
|
+
'500': None,
|
|
491
|
+
'501': None,
|
|
492
|
+
'503': None,
|
|
415
493
|
}
|
|
416
494
|
response_data = self.api_client.call_api(
|
|
417
495
|
*_param,
|
|
@@ -427,6 +505,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
427
505
|
@validate_call
|
|
428
506
|
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_without_preload_content(
|
|
429
507
|
self,
|
|
508
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
430
509
|
_request_timeout: Union[
|
|
431
510
|
None,
|
|
432
511
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -442,8 +521,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
442
521
|
) -> RESTResponseType:
|
|
443
522
|
"""Create a routing code
|
|
444
523
|
|
|
445
|
-
|
|
524
|
+
Creating a routing code.
|
|
446
525
|
|
|
526
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
527
|
+
:type accept_language: AcceptLanguage
|
|
447
528
|
:param _request_timeout: timeout setting for this request. If one
|
|
448
529
|
number provided, it will be total request
|
|
449
530
|
timeout. It can also be a pair (tuple) of
|
|
@@ -467,6 +548,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
467
548
|
""" # noqa: E501
|
|
468
549
|
|
|
469
550
|
_param = self._create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_serialize(
|
|
551
|
+
accept_language=accept_language,
|
|
470
552
|
_request_auth=_request_auth,
|
|
471
553
|
_content_type=_content_type,
|
|
472
554
|
_headers=_headers,
|
|
@@ -475,9 +557,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
475
557
|
|
|
476
558
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
477
559
|
'200': "object",
|
|
478
|
-
'201':
|
|
560
|
+
'201': "AFNORRoutingCodePost201Response",
|
|
479
561
|
'400': None,
|
|
480
562
|
'401': None,
|
|
563
|
+
'403': None,
|
|
564
|
+
'404': None,
|
|
565
|
+
'408': None,
|
|
566
|
+
'422': None,
|
|
567
|
+
'429': None,
|
|
568
|
+
'500': None,
|
|
569
|
+
'501': None,
|
|
570
|
+
'503': None,
|
|
481
571
|
}
|
|
482
572
|
response_data = self.api_client.call_api(
|
|
483
573
|
*_param,
|
|
@@ -488,6 +578,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
488
578
|
|
|
489
579
|
def _create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_serialize(
|
|
490
580
|
self,
|
|
581
|
+
accept_language,
|
|
491
582
|
_request_auth,
|
|
492
583
|
_content_type,
|
|
493
584
|
_headers,
|
|
@@ -511,6 +602,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
511
602
|
# process the path parameters
|
|
512
603
|
# process the query parameters
|
|
513
604
|
# process the header parameters
|
|
605
|
+
if accept_language is not None:
|
|
606
|
+
_header_params['Accept-Language'] = accept_language
|
|
514
607
|
# process the form parameters
|
|
515
608
|
# process the body parameter
|
|
516
609
|
|
|
@@ -550,7 +643,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
550
643
|
@validate_call
|
|
551
644
|
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete(
|
|
552
645
|
self,
|
|
553
|
-
id_instance: StrictStr,
|
|
646
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
647
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
554
648
|
_request_timeout: Union[
|
|
555
649
|
None,
|
|
556
650
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -566,10 +660,12 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
566
660
|
) -> object:
|
|
567
661
|
"""Delete a directory line
|
|
568
662
|
|
|
569
|
-
Delete a directory line
|
|
663
|
+
Delete a directory line.
|
|
570
664
|
|
|
571
|
-
:param id_instance: (required)
|
|
665
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
572
666
|
:type id_instance: str
|
|
667
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
668
|
+
:type accept_language: AcceptLanguage
|
|
573
669
|
:param _request_timeout: timeout setting for this request. If one
|
|
574
670
|
number provided, it will be total request
|
|
575
671
|
timeout. It can also be a pair (tuple) of
|
|
@@ -594,6 +690,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
594
690
|
|
|
595
691
|
_param = self._delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_serialize(
|
|
596
692
|
id_instance=id_instance,
|
|
693
|
+
accept_language=accept_language,
|
|
597
694
|
_request_auth=_request_auth,
|
|
598
695
|
_content_type=_content_type,
|
|
599
696
|
_headers=_headers,
|
|
@@ -603,9 +700,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
603
700
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
604
701
|
'200': "object",
|
|
605
702
|
'204': None,
|
|
606
|
-
'
|
|
703
|
+
'400': None,
|
|
607
704
|
'401': None,
|
|
608
|
-
'
|
|
705
|
+
'403': None,
|
|
706
|
+
'404': None,
|
|
707
|
+
'408': None,
|
|
708
|
+
'422': None,
|
|
709
|
+
'429': None,
|
|
710
|
+
'500': None,
|
|
711
|
+
'501': None,
|
|
712
|
+
'503': None,
|
|
609
713
|
}
|
|
610
714
|
response_data = self.api_client.call_api(
|
|
611
715
|
*_param,
|
|
@@ -621,7 +725,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
621
725
|
@validate_call
|
|
622
726
|
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(
|
|
623
727
|
self,
|
|
624
|
-
id_instance: StrictStr,
|
|
728
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
729
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
625
730
|
_request_timeout: Union[
|
|
626
731
|
None,
|
|
627
732
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -637,10 +742,12 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
637
742
|
) -> ApiResponse[object]:
|
|
638
743
|
"""Delete a directory line
|
|
639
744
|
|
|
640
|
-
Delete a directory line
|
|
745
|
+
Delete a directory line.
|
|
641
746
|
|
|
642
|
-
:param id_instance: (required)
|
|
747
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
643
748
|
:type id_instance: str
|
|
749
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
750
|
+
:type accept_language: AcceptLanguage
|
|
644
751
|
:param _request_timeout: timeout setting for this request. If one
|
|
645
752
|
number provided, it will be total request
|
|
646
753
|
timeout. It can also be a pair (tuple) of
|
|
@@ -665,6 +772,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
665
772
|
|
|
666
773
|
_param = self._delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_serialize(
|
|
667
774
|
id_instance=id_instance,
|
|
775
|
+
accept_language=accept_language,
|
|
668
776
|
_request_auth=_request_auth,
|
|
669
777
|
_content_type=_content_type,
|
|
670
778
|
_headers=_headers,
|
|
@@ -674,9 +782,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
674
782
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
675
783
|
'200': "object",
|
|
676
784
|
'204': None,
|
|
677
|
-
'
|
|
785
|
+
'400': None,
|
|
678
786
|
'401': None,
|
|
679
|
-
'
|
|
787
|
+
'403': None,
|
|
788
|
+
'404': None,
|
|
789
|
+
'408': None,
|
|
790
|
+
'422': None,
|
|
791
|
+
'429': None,
|
|
792
|
+
'500': None,
|
|
793
|
+
'501': None,
|
|
794
|
+
'503': None,
|
|
680
795
|
}
|
|
681
796
|
response_data = self.api_client.call_api(
|
|
682
797
|
*_param,
|
|
@@ -692,7 +807,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
692
807
|
@validate_call
|
|
693
808
|
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_without_preload_content(
|
|
694
809
|
self,
|
|
695
|
-
id_instance: StrictStr,
|
|
810
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
811
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
696
812
|
_request_timeout: Union[
|
|
697
813
|
None,
|
|
698
814
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -708,10 +824,12 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
708
824
|
) -> RESTResponseType:
|
|
709
825
|
"""Delete a directory line
|
|
710
826
|
|
|
711
|
-
Delete a directory line
|
|
827
|
+
Delete a directory line.
|
|
712
828
|
|
|
713
|
-
:param id_instance: (required)
|
|
829
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
714
830
|
:type id_instance: str
|
|
831
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
832
|
+
:type accept_language: AcceptLanguage
|
|
715
833
|
:param _request_timeout: timeout setting for this request. If one
|
|
716
834
|
number provided, it will be total request
|
|
717
835
|
timeout. It can also be a pair (tuple) of
|
|
@@ -736,6 +854,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
736
854
|
|
|
737
855
|
_param = self._delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_serialize(
|
|
738
856
|
id_instance=id_instance,
|
|
857
|
+
accept_language=accept_language,
|
|
739
858
|
_request_auth=_request_auth,
|
|
740
859
|
_content_type=_content_type,
|
|
741
860
|
_headers=_headers,
|
|
@@ -745,9 +864,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
745
864
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
746
865
|
'200': "object",
|
|
747
866
|
'204': None,
|
|
748
|
-
'
|
|
867
|
+
'400': None,
|
|
749
868
|
'401': None,
|
|
750
|
-
'
|
|
869
|
+
'403': None,
|
|
870
|
+
'404': None,
|
|
871
|
+
'408': None,
|
|
872
|
+
'422': None,
|
|
873
|
+
'429': None,
|
|
874
|
+
'500': None,
|
|
875
|
+
'501': None,
|
|
876
|
+
'503': None,
|
|
751
877
|
}
|
|
752
878
|
response_data = self.api_client.call_api(
|
|
753
879
|
*_param,
|
|
@@ -759,6 +885,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
759
885
|
def _delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_serialize(
|
|
760
886
|
self,
|
|
761
887
|
id_instance,
|
|
888
|
+
accept_language,
|
|
762
889
|
_request_auth,
|
|
763
890
|
_content_type,
|
|
764
891
|
_headers,
|
|
@@ -784,6 +911,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
784
911
|
_path_params['id_instance'] = id_instance
|
|
785
912
|
# process the query parameters
|
|
786
913
|
# process the header parameters
|
|
914
|
+
if accept_language is not None:
|
|
915
|
+
_header_params['Accept-Language'] = accept_language
|
|
787
916
|
# process the form parameters
|
|
788
917
|
# process the body parameter
|
|
789
918
|
|
|
@@ -838,7 +967,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
838
967
|
) -> object:
|
|
839
968
|
"""Healthcheck Directory Service
|
|
840
969
|
|
|
841
|
-
Check Directory Service availability
|
|
970
|
+
Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
842
971
|
|
|
843
972
|
:param _request_timeout: timeout setting for this request. If one
|
|
844
973
|
number provided, it will be total request
|
|
@@ -871,6 +1000,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
871
1000
|
|
|
872
1001
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
873
1002
|
'200': "object",
|
|
1003
|
+
'500': None,
|
|
1004
|
+
'503': None,
|
|
874
1005
|
}
|
|
875
1006
|
response_data = self.api_client.call_api(
|
|
876
1007
|
*_param,
|
|
@@ -901,7 +1032,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
901
1032
|
) -> ApiResponse[object]:
|
|
902
1033
|
"""Healthcheck Directory Service
|
|
903
1034
|
|
|
904
|
-
Check Directory Service availability
|
|
1035
|
+
Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
905
1036
|
|
|
906
1037
|
:param _request_timeout: timeout setting for this request. If one
|
|
907
1038
|
number provided, it will be total request
|
|
@@ -934,6 +1065,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
934
1065
|
|
|
935
1066
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
936
1067
|
'200': "object",
|
|
1068
|
+
'500': None,
|
|
1069
|
+
'503': None,
|
|
937
1070
|
}
|
|
938
1071
|
response_data = self.api_client.call_api(
|
|
939
1072
|
*_param,
|
|
@@ -964,7 +1097,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
964
1097
|
) -> RESTResponseType:
|
|
965
1098
|
"""Healthcheck Directory Service
|
|
966
1099
|
|
|
967
|
-
Check Directory Service availability
|
|
1100
|
+
Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
968
1101
|
|
|
969
1102
|
:param _request_timeout: timeout setting for this request. If one
|
|
970
1103
|
number provided, it will be total request
|
|
@@ -997,6 +1130,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
997
1130
|
|
|
998
1131
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
999
1132
|
'200': "object",
|
|
1133
|
+
'500': None,
|
|
1134
|
+
'503': None,
|
|
1000
1135
|
}
|
|
1001
1136
|
response_data = self.api_client.call_api(
|
|
1002
1137
|
*_param,
|
|
@@ -1068,7 +1203,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1068
1203
|
@validate_call
|
|
1069
1204
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get(
|
|
1070
1205
|
self,
|
|
1071
|
-
addressing_identifier: StrictStr,
|
|
1206
|
+
addressing_identifier: Annotated[StrictStr, Field(description="Addressing identifier (SIREN, SIRET or routing code)")],
|
|
1207
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1208
|
+
include: Annotated[Optional[List[DirectoryLineInclude]], Field(description="Relations to include in the response.")] = None,
|
|
1209
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1072
1210
|
_request_timeout: Union[
|
|
1073
1211
|
None,
|
|
1074
1212
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1081,13 +1219,19 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1081
1219
|
_content_type: Optional[StrictStr] = None,
|
|
1082
1220
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1083
1221
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1084
|
-
) ->
|
|
1085
|
-
"""Get a directory line
|
|
1222
|
+
) -> AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode:
|
|
1223
|
+
"""Get a directory line.
|
|
1086
1224
|
|
|
1087
|
-
|
|
1225
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1088
1226
|
|
|
1089
|
-
:param addressing_identifier: (required)
|
|
1227
|
+
:param addressing_identifier: Addressing identifier (SIREN, SIRET or routing code) (required)
|
|
1090
1228
|
:type addressing_identifier: str
|
|
1229
|
+
:param fields: Fields of the Directory Line resource.
|
|
1230
|
+
:type fields: List[str]
|
|
1231
|
+
:param include: Relations to include in the response.
|
|
1232
|
+
:type include: List[DirectoryLineInclude]
|
|
1233
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1234
|
+
:type accept_language: AcceptLanguage
|
|
1091
1235
|
:param _request_timeout: timeout setting for this request. If one
|
|
1092
1236
|
number provided, it will be total request
|
|
1093
1237
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1112,6 +1256,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1112
1256
|
|
|
1113
1257
|
_param = self._get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_serialize(
|
|
1114
1258
|
addressing_identifier=addressing_identifier,
|
|
1259
|
+
fields=fields,
|
|
1260
|
+
include=include,
|
|
1261
|
+
accept_language=accept_language,
|
|
1115
1262
|
_request_auth=_request_auth,
|
|
1116
1263
|
_content_type=_content_type,
|
|
1117
1264
|
_headers=_headers,
|
|
@@ -1119,10 +1266,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1119
1266
|
)
|
|
1120
1267
|
|
|
1121
1268
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1122
|
-
'200': "
|
|
1123
|
-
'
|
|
1269
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1270
|
+
'400': None,
|
|
1124
1271
|
'401': None,
|
|
1125
|
-
'
|
|
1272
|
+
'403': None,
|
|
1273
|
+
'404': None,
|
|
1274
|
+
'408': None,
|
|
1275
|
+
'422': None,
|
|
1276
|
+
'429': None,
|
|
1277
|
+
'500': None,
|
|
1278
|
+
'501': None,
|
|
1279
|
+
'503': None,
|
|
1126
1280
|
}
|
|
1127
1281
|
response_data = self.api_client.call_api(
|
|
1128
1282
|
*_param,
|
|
@@ -1138,7 +1292,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1138
1292
|
@validate_call
|
|
1139
1293
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(
|
|
1140
1294
|
self,
|
|
1141
|
-
addressing_identifier: StrictStr,
|
|
1295
|
+
addressing_identifier: Annotated[StrictStr, Field(description="Addressing identifier (SIREN, SIRET or routing code)")],
|
|
1296
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1297
|
+
include: Annotated[Optional[List[DirectoryLineInclude]], Field(description="Relations to include in the response.")] = None,
|
|
1298
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1142
1299
|
_request_timeout: Union[
|
|
1143
1300
|
None,
|
|
1144
1301
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1151,13 +1308,19 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1151
1308
|
_content_type: Optional[StrictStr] = None,
|
|
1152
1309
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1153
1310
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1154
|
-
) -> ApiResponse[
|
|
1155
|
-
"""Get a directory line
|
|
1311
|
+
) -> ApiResponse[AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode]:
|
|
1312
|
+
"""Get a directory line.
|
|
1156
1313
|
|
|
1157
|
-
|
|
1314
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1158
1315
|
|
|
1159
|
-
:param addressing_identifier: (required)
|
|
1316
|
+
:param addressing_identifier: Addressing identifier (SIREN, SIRET or routing code) (required)
|
|
1160
1317
|
:type addressing_identifier: str
|
|
1318
|
+
:param fields: Fields of the Directory Line resource.
|
|
1319
|
+
:type fields: List[str]
|
|
1320
|
+
:param include: Relations to include in the response.
|
|
1321
|
+
:type include: List[DirectoryLineInclude]
|
|
1322
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1323
|
+
:type accept_language: AcceptLanguage
|
|
1161
1324
|
:param _request_timeout: timeout setting for this request. If one
|
|
1162
1325
|
number provided, it will be total request
|
|
1163
1326
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1182,6 +1345,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1182
1345
|
|
|
1183
1346
|
_param = self._get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_serialize(
|
|
1184
1347
|
addressing_identifier=addressing_identifier,
|
|
1348
|
+
fields=fields,
|
|
1349
|
+
include=include,
|
|
1350
|
+
accept_language=accept_language,
|
|
1185
1351
|
_request_auth=_request_auth,
|
|
1186
1352
|
_content_type=_content_type,
|
|
1187
1353
|
_headers=_headers,
|
|
@@ -1189,10 +1355,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1189
1355
|
)
|
|
1190
1356
|
|
|
1191
1357
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1192
|
-
'200': "
|
|
1193
|
-
'
|
|
1358
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1359
|
+
'400': None,
|
|
1194
1360
|
'401': None,
|
|
1195
|
-
'
|
|
1361
|
+
'403': None,
|
|
1362
|
+
'404': None,
|
|
1363
|
+
'408': None,
|
|
1364
|
+
'422': None,
|
|
1365
|
+
'429': None,
|
|
1366
|
+
'500': None,
|
|
1367
|
+
'501': None,
|
|
1368
|
+
'503': None,
|
|
1196
1369
|
}
|
|
1197
1370
|
response_data = self.api_client.call_api(
|
|
1198
1371
|
*_param,
|
|
@@ -1208,7 +1381,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1208
1381
|
@validate_call
|
|
1209
1382
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_without_preload_content(
|
|
1210
1383
|
self,
|
|
1211
|
-
addressing_identifier: StrictStr,
|
|
1384
|
+
addressing_identifier: Annotated[StrictStr, Field(description="Addressing identifier (SIREN, SIRET or routing code)")],
|
|
1385
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1386
|
+
include: Annotated[Optional[List[DirectoryLineInclude]], Field(description="Relations to include in the response.")] = None,
|
|
1387
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1212
1388
|
_request_timeout: Union[
|
|
1213
1389
|
None,
|
|
1214
1390
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1222,12 +1398,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1222
1398
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1223
1399
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1224
1400
|
) -> RESTResponseType:
|
|
1225
|
-
"""Get a directory line
|
|
1401
|
+
"""Get a directory line.
|
|
1226
1402
|
|
|
1227
|
-
|
|
1403
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1228
1404
|
|
|
1229
|
-
:param addressing_identifier: (required)
|
|
1405
|
+
:param addressing_identifier: Addressing identifier (SIREN, SIRET or routing code) (required)
|
|
1230
1406
|
:type addressing_identifier: str
|
|
1407
|
+
:param fields: Fields of the Directory Line resource.
|
|
1408
|
+
:type fields: List[str]
|
|
1409
|
+
:param include: Relations to include in the response.
|
|
1410
|
+
:type include: List[DirectoryLineInclude]
|
|
1411
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1412
|
+
:type accept_language: AcceptLanguage
|
|
1231
1413
|
:param _request_timeout: timeout setting for this request. If one
|
|
1232
1414
|
number provided, it will be total request
|
|
1233
1415
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1252,6 +1434,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1252
1434
|
|
|
1253
1435
|
_param = self._get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_serialize(
|
|
1254
1436
|
addressing_identifier=addressing_identifier,
|
|
1437
|
+
fields=fields,
|
|
1438
|
+
include=include,
|
|
1439
|
+
accept_language=accept_language,
|
|
1255
1440
|
_request_auth=_request_auth,
|
|
1256
1441
|
_content_type=_content_type,
|
|
1257
1442
|
_headers=_headers,
|
|
@@ -1259,10 +1444,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1259
1444
|
)
|
|
1260
1445
|
|
|
1261
1446
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1262
|
-
'200': "
|
|
1263
|
-
'
|
|
1447
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1448
|
+
'400': None,
|
|
1264
1449
|
'401': None,
|
|
1265
|
-
'
|
|
1450
|
+
'403': None,
|
|
1451
|
+
'404': None,
|
|
1452
|
+
'408': None,
|
|
1453
|
+
'422': None,
|
|
1454
|
+
'429': None,
|
|
1455
|
+
'500': None,
|
|
1456
|
+
'501': None,
|
|
1457
|
+
'503': None,
|
|
1266
1458
|
}
|
|
1267
1459
|
response_data = self.api_client.call_api(
|
|
1268
1460
|
*_param,
|
|
@@ -1274,6 +1466,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1274
1466
|
def _get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_serialize(
|
|
1275
1467
|
self,
|
|
1276
1468
|
addressing_identifier,
|
|
1469
|
+
fields,
|
|
1470
|
+
include,
|
|
1471
|
+
accept_language,
|
|
1277
1472
|
_request_auth,
|
|
1278
1473
|
_content_type,
|
|
1279
1474
|
_headers,
|
|
@@ -1283,6 +1478,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1283
1478
|
_host = None
|
|
1284
1479
|
|
|
1285
1480
|
_collection_formats: Dict[str, str] = {
|
|
1481
|
+
'fields': 'multi',
|
|
1482
|
+
'include': 'multi',
|
|
1286
1483
|
}
|
|
1287
1484
|
|
|
1288
1485
|
_path_params: Dict[str, str] = {}
|
|
@@ -1298,7 +1495,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1298
1495
|
if addressing_identifier is not None:
|
|
1299
1496
|
_path_params['addressing_identifier'] = addressing_identifier
|
|
1300
1497
|
# process the query parameters
|
|
1498
|
+
if fields is not None:
|
|
1499
|
+
|
|
1500
|
+
_query_params.append(('fields', fields))
|
|
1501
|
+
|
|
1502
|
+
if include is not None:
|
|
1503
|
+
|
|
1504
|
+
_query_params.append(('include', include))
|
|
1505
|
+
|
|
1301
1506
|
# process the header parameters
|
|
1507
|
+
if accept_language is not None:
|
|
1508
|
+
_header_params['Accept-Language'] = accept_language
|
|
1302
1509
|
# process the form parameters
|
|
1303
1510
|
# process the body parameter
|
|
1304
1511
|
|
|
@@ -1338,7 +1545,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1338
1545
|
@validate_call
|
|
1339
1546
|
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get(
|
|
1340
1547
|
self,
|
|
1341
|
-
id_instance: StrictStr,
|
|
1548
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
1549
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1550
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1342
1551
|
_request_timeout: Union[
|
|
1343
1552
|
None,
|
|
1344
1553
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1351,13 +1560,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1351
1560
|
_content_type: Optional[StrictStr] = None,
|
|
1352
1561
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1353
1562
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1354
|
-
) ->
|
|
1355
|
-
"""Get a directory line
|
|
1563
|
+
) -> AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode:
|
|
1564
|
+
"""Get a directory line.
|
|
1356
1565
|
|
|
1357
|
-
|
|
1566
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1358
1567
|
|
|
1359
|
-
:param id_instance: (required)
|
|
1568
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1360
1569
|
:type id_instance: str
|
|
1570
|
+
:param fields: Fields of the Directory Line resource.
|
|
1571
|
+
:type fields: List[str]
|
|
1572
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1573
|
+
:type accept_language: AcceptLanguage
|
|
1361
1574
|
:param _request_timeout: timeout setting for this request. If one
|
|
1362
1575
|
number provided, it will be total request
|
|
1363
1576
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1382,6 +1595,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1382
1595
|
|
|
1383
1596
|
_param = self._get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_serialize(
|
|
1384
1597
|
id_instance=id_instance,
|
|
1598
|
+
fields=fields,
|
|
1599
|
+
accept_language=accept_language,
|
|
1385
1600
|
_request_auth=_request_auth,
|
|
1386
1601
|
_content_type=_content_type,
|
|
1387
1602
|
_headers=_headers,
|
|
@@ -1389,10 +1604,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1389
1604
|
)
|
|
1390
1605
|
|
|
1391
1606
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1392
|
-
'200': "
|
|
1393
|
-
'
|
|
1607
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1608
|
+
'400': None,
|
|
1394
1609
|
'401': None,
|
|
1395
|
-
'
|
|
1610
|
+
'403': None,
|
|
1611
|
+
'404': None,
|
|
1612
|
+
'408': None,
|
|
1613
|
+
'422': None,
|
|
1614
|
+
'429': None,
|
|
1615
|
+
'500': None,
|
|
1616
|
+
'501': None,
|
|
1617
|
+
'503': None,
|
|
1396
1618
|
}
|
|
1397
1619
|
response_data = self.api_client.call_api(
|
|
1398
1620
|
*_param,
|
|
@@ -1408,7 +1630,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1408
1630
|
@validate_call
|
|
1409
1631
|
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(
|
|
1410
1632
|
self,
|
|
1411
|
-
id_instance: StrictStr,
|
|
1633
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
1634
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1635
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1412
1636
|
_request_timeout: Union[
|
|
1413
1637
|
None,
|
|
1414
1638
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1421,13 +1645,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1421
1645
|
_content_type: Optional[StrictStr] = None,
|
|
1422
1646
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1423
1647
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1424
|
-
) -> ApiResponse[
|
|
1425
|
-
"""Get a directory line
|
|
1648
|
+
) -> ApiResponse[AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode]:
|
|
1649
|
+
"""Get a directory line.
|
|
1426
1650
|
|
|
1427
|
-
|
|
1651
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1428
1652
|
|
|
1429
|
-
:param id_instance: (required)
|
|
1653
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1430
1654
|
:type id_instance: str
|
|
1655
|
+
:param fields: Fields of the Directory Line resource.
|
|
1656
|
+
:type fields: List[str]
|
|
1657
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1658
|
+
:type accept_language: AcceptLanguage
|
|
1431
1659
|
:param _request_timeout: timeout setting for this request. If one
|
|
1432
1660
|
number provided, it will be total request
|
|
1433
1661
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1452,6 +1680,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1452
1680
|
|
|
1453
1681
|
_param = self._get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_serialize(
|
|
1454
1682
|
id_instance=id_instance,
|
|
1683
|
+
fields=fields,
|
|
1684
|
+
accept_language=accept_language,
|
|
1455
1685
|
_request_auth=_request_auth,
|
|
1456
1686
|
_content_type=_content_type,
|
|
1457
1687
|
_headers=_headers,
|
|
@@ -1459,10 +1689,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1459
1689
|
)
|
|
1460
1690
|
|
|
1461
1691
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1462
|
-
'200': "
|
|
1463
|
-
'
|
|
1692
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1693
|
+
'400': None,
|
|
1464
1694
|
'401': None,
|
|
1465
|
-
'
|
|
1695
|
+
'403': None,
|
|
1696
|
+
'404': None,
|
|
1697
|
+
'408': None,
|
|
1698
|
+
'422': None,
|
|
1699
|
+
'429': None,
|
|
1700
|
+
'500': None,
|
|
1701
|
+
'501': None,
|
|
1702
|
+
'503': None,
|
|
1466
1703
|
}
|
|
1467
1704
|
response_data = self.api_client.call_api(
|
|
1468
1705
|
*_param,
|
|
@@ -1478,7 +1715,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1478
1715
|
@validate_call
|
|
1479
1716
|
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_without_preload_content(
|
|
1480
1717
|
self,
|
|
1481
|
-
id_instance: StrictStr,
|
|
1718
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
1719
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Directory Line resource.")] = None,
|
|
1720
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1482
1721
|
_request_timeout: Union[
|
|
1483
1722
|
None,
|
|
1484
1723
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1492,12 +1731,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1492
1731
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1493
1732
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1494
1733
|
) -> RESTResponseType:
|
|
1495
|
-
"""Get a directory line
|
|
1734
|
+
"""Get a directory line.
|
|
1496
1735
|
|
|
1497
|
-
|
|
1736
|
+
Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
1498
1737
|
|
|
1499
|
-
:param id_instance: (required)
|
|
1738
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1500
1739
|
:type id_instance: str
|
|
1740
|
+
:param fields: Fields of the Directory Line resource.
|
|
1741
|
+
:type fields: List[str]
|
|
1742
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1743
|
+
:type accept_language: AcceptLanguage
|
|
1501
1744
|
:param _request_timeout: timeout setting for this request. If one
|
|
1502
1745
|
number provided, it will be total request
|
|
1503
1746
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1522,6 +1765,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1522
1765
|
|
|
1523
1766
|
_param = self._get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_serialize(
|
|
1524
1767
|
id_instance=id_instance,
|
|
1768
|
+
fields=fields,
|
|
1769
|
+
accept_language=accept_language,
|
|
1525
1770
|
_request_auth=_request_auth,
|
|
1526
1771
|
_content_type=_content_type,
|
|
1527
1772
|
_headers=_headers,
|
|
@@ -1529,10 +1774,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1529
1774
|
)
|
|
1530
1775
|
|
|
1531
1776
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1532
|
-
'200': "
|
|
1533
|
-
'
|
|
1777
|
+
'200': "AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode",
|
|
1778
|
+
'400': None,
|
|
1534
1779
|
'401': None,
|
|
1535
|
-
'
|
|
1780
|
+
'403': None,
|
|
1781
|
+
'404': None,
|
|
1782
|
+
'408': None,
|
|
1783
|
+
'422': None,
|
|
1784
|
+
'429': None,
|
|
1785
|
+
'500': None,
|
|
1786
|
+
'501': None,
|
|
1787
|
+
'503': None,
|
|
1536
1788
|
}
|
|
1537
1789
|
response_data = self.api_client.call_api(
|
|
1538
1790
|
*_param,
|
|
@@ -1544,6 +1796,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1544
1796
|
def _get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_serialize(
|
|
1545
1797
|
self,
|
|
1546
1798
|
id_instance,
|
|
1799
|
+
fields,
|
|
1800
|
+
accept_language,
|
|
1547
1801
|
_request_auth,
|
|
1548
1802
|
_content_type,
|
|
1549
1803
|
_headers,
|
|
@@ -1553,6 +1807,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1553
1807
|
_host = None
|
|
1554
1808
|
|
|
1555
1809
|
_collection_formats: Dict[str, str] = {
|
|
1810
|
+
'fields': 'multi',
|
|
1556
1811
|
}
|
|
1557
1812
|
|
|
1558
1813
|
_path_params: Dict[str, str] = {}
|
|
@@ -1568,7 +1823,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1568
1823
|
if id_instance is not None:
|
|
1569
1824
|
_path_params['id_instance'] = id_instance
|
|
1570
1825
|
# process the query parameters
|
|
1826
|
+
if fields is not None:
|
|
1827
|
+
|
|
1828
|
+
_query_params.append(('fields', fields))
|
|
1829
|
+
|
|
1571
1830
|
# process the header parameters
|
|
1831
|
+
if accept_language is not None:
|
|
1832
|
+
_header_params['Accept-Language'] = accept_language
|
|
1572
1833
|
# process the form parameters
|
|
1573
1834
|
# process the body parameter
|
|
1574
1835
|
|
|
@@ -1608,7 +1869,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1608
1869
|
@validate_call
|
|
1609
1870
|
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get(
|
|
1610
1871
|
self,
|
|
1611
|
-
id_instance: StrictStr,
|
|
1872
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
1873
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
1874
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1612
1875
|
_request_timeout: Union[
|
|
1613
1876
|
None,
|
|
1614
1877
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1621,13 +1884,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1621
1884
|
_content_type: Optional[StrictStr] = None,
|
|
1622
1885
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1623
1886
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1624
|
-
) ->
|
|
1625
|
-
"""Get a routing code by instance-id
|
|
1887
|
+
) -> AFNORRoutingCodePayloadHistoryLegalUnitFacility:
|
|
1888
|
+
"""Get a routing code by instance-id.
|
|
1626
1889
|
|
|
1627
|
-
|
|
1890
|
+
Retrieve the Routing Code data corresponding to the Instance ID.
|
|
1628
1891
|
|
|
1629
|
-
:param id_instance: (required)
|
|
1892
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1630
1893
|
:type id_instance: str
|
|
1894
|
+
:param fields: Fields of the Routing Code resource
|
|
1895
|
+
:type fields: List[str]
|
|
1896
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1897
|
+
:type accept_language: AcceptLanguage
|
|
1631
1898
|
:param _request_timeout: timeout setting for this request. If one
|
|
1632
1899
|
number provided, it will be total request
|
|
1633
1900
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1652,6 +1919,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1652
1919
|
|
|
1653
1920
|
_param = self._get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_serialize(
|
|
1654
1921
|
id_instance=id_instance,
|
|
1922
|
+
fields=fields,
|
|
1923
|
+
accept_language=accept_language,
|
|
1655
1924
|
_request_auth=_request_auth,
|
|
1656
1925
|
_content_type=_content_type,
|
|
1657
1926
|
_headers=_headers,
|
|
@@ -1659,10 +1928,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1659
1928
|
)
|
|
1660
1929
|
|
|
1661
1930
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1662
|
-
'200': "
|
|
1663
|
-
'
|
|
1931
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
1932
|
+
'400': None,
|
|
1664
1933
|
'401': None,
|
|
1665
|
-
'
|
|
1934
|
+
'403': None,
|
|
1935
|
+
'404': None,
|
|
1936
|
+
'408': None,
|
|
1937
|
+
'422': None,
|
|
1938
|
+
'429': None,
|
|
1939
|
+
'500': None,
|
|
1940
|
+
'501': None,
|
|
1941
|
+
'503': None,
|
|
1666
1942
|
}
|
|
1667
1943
|
response_data = self.api_client.call_api(
|
|
1668
1944
|
*_param,
|
|
@@ -1678,7 +1954,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1678
1954
|
@validate_call
|
|
1679
1955
|
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(
|
|
1680
1956
|
self,
|
|
1681
|
-
id_instance: StrictStr,
|
|
1957
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
1958
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
1959
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1682
1960
|
_request_timeout: Union[
|
|
1683
1961
|
None,
|
|
1684
1962
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1691,13 +1969,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1691
1969
|
_content_type: Optional[StrictStr] = None,
|
|
1692
1970
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1693
1971
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1694
|
-
) -> ApiResponse[
|
|
1695
|
-
"""Get a routing code by instance-id
|
|
1972
|
+
) -> ApiResponse[AFNORRoutingCodePayloadHistoryLegalUnitFacility]:
|
|
1973
|
+
"""Get a routing code by instance-id.
|
|
1696
1974
|
|
|
1697
|
-
|
|
1975
|
+
Retrieve the Routing Code data corresponding to the Instance ID.
|
|
1698
1976
|
|
|
1699
|
-
:param id_instance: (required)
|
|
1977
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1700
1978
|
:type id_instance: str
|
|
1979
|
+
:param fields: Fields of the Routing Code resource
|
|
1980
|
+
:type fields: List[str]
|
|
1981
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
1982
|
+
:type accept_language: AcceptLanguage
|
|
1701
1983
|
:param _request_timeout: timeout setting for this request. If one
|
|
1702
1984
|
number provided, it will be total request
|
|
1703
1985
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1722,6 +2004,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1722
2004
|
|
|
1723
2005
|
_param = self._get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_serialize(
|
|
1724
2006
|
id_instance=id_instance,
|
|
2007
|
+
fields=fields,
|
|
2008
|
+
accept_language=accept_language,
|
|
1725
2009
|
_request_auth=_request_auth,
|
|
1726
2010
|
_content_type=_content_type,
|
|
1727
2011
|
_headers=_headers,
|
|
@@ -1729,10 +2013,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1729
2013
|
)
|
|
1730
2014
|
|
|
1731
2015
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1732
|
-
'200': "
|
|
1733
|
-
'
|
|
2016
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
2017
|
+
'400': None,
|
|
1734
2018
|
'401': None,
|
|
1735
|
-
'
|
|
2019
|
+
'403': None,
|
|
2020
|
+
'404': None,
|
|
2021
|
+
'408': None,
|
|
2022
|
+
'422': None,
|
|
2023
|
+
'429': None,
|
|
2024
|
+
'500': None,
|
|
2025
|
+
'501': None,
|
|
2026
|
+
'503': None,
|
|
1736
2027
|
}
|
|
1737
2028
|
response_data = self.api_client.call_api(
|
|
1738
2029
|
*_param,
|
|
@@ -1748,7 +2039,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1748
2039
|
@validate_call
|
|
1749
2040
|
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_without_preload_content(
|
|
1750
2041
|
self,
|
|
1751
|
-
id_instance: StrictStr,
|
|
2042
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
2043
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
2044
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1752
2045
|
_request_timeout: Union[
|
|
1753
2046
|
None,
|
|
1754
2047
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1762,12 +2055,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1762
2055
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1763
2056
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1764
2057
|
) -> RESTResponseType:
|
|
1765
|
-
"""Get a routing code by instance-id
|
|
2058
|
+
"""Get a routing code by instance-id.
|
|
1766
2059
|
|
|
1767
|
-
|
|
2060
|
+
Retrieve the Routing Code data corresponding to the Instance ID.
|
|
1768
2061
|
|
|
1769
|
-
:param id_instance: (required)
|
|
2062
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
1770
2063
|
:type id_instance: str
|
|
2064
|
+
:param fields: Fields of the Routing Code resource
|
|
2065
|
+
:type fields: List[str]
|
|
2066
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2067
|
+
:type accept_language: AcceptLanguage
|
|
1771
2068
|
:param _request_timeout: timeout setting for this request. If one
|
|
1772
2069
|
number provided, it will be total request
|
|
1773
2070
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1792,6 +2089,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1792
2089
|
|
|
1793
2090
|
_param = self._get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_serialize(
|
|
1794
2091
|
id_instance=id_instance,
|
|
2092
|
+
fields=fields,
|
|
2093
|
+
accept_language=accept_language,
|
|
1795
2094
|
_request_auth=_request_auth,
|
|
1796
2095
|
_content_type=_content_type,
|
|
1797
2096
|
_headers=_headers,
|
|
@@ -1799,10 +2098,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1799
2098
|
)
|
|
1800
2099
|
|
|
1801
2100
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1802
|
-
'200': "
|
|
1803
|
-
'
|
|
2101
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
2102
|
+
'400': None,
|
|
1804
2103
|
'401': None,
|
|
1805
|
-
'
|
|
2104
|
+
'403': None,
|
|
2105
|
+
'404': None,
|
|
2106
|
+
'408': None,
|
|
2107
|
+
'422': None,
|
|
2108
|
+
'429': None,
|
|
2109
|
+
'500': None,
|
|
2110
|
+
'501': None,
|
|
2111
|
+
'503': None,
|
|
1806
2112
|
}
|
|
1807
2113
|
response_data = self.api_client.call_api(
|
|
1808
2114
|
*_param,
|
|
@@ -1814,6 +2120,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1814
2120
|
def _get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_serialize(
|
|
1815
2121
|
self,
|
|
1816
2122
|
id_instance,
|
|
2123
|
+
fields,
|
|
2124
|
+
accept_language,
|
|
1817
2125
|
_request_auth,
|
|
1818
2126
|
_content_type,
|
|
1819
2127
|
_headers,
|
|
@@ -1823,6 +2131,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1823
2131
|
_host = None
|
|
1824
2132
|
|
|
1825
2133
|
_collection_formats: Dict[str, str] = {
|
|
2134
|
+
'fields': 'multi',
|
|
1826
2135
|
}
|
|
1827
2136
|
|
|
1828
2137
|
_path_params: Dict[str, str] = {}
|
|
@@ -1838,7 +2147,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1838
2147
|
if id_instance is not None:
|
|
1839
2148
|
_path_params['id_instance'] = id_instance
|
|
1840
2149
|
# process the query parameters
|
|
2150
|
+
if fields is not None:
|
|
2151
|
+
|
|
2152
|
+
_query_params.append(('fields', fields))
|
|
2153
|
+
|
|
1841
2154
|
# process the header parameters
|
|
2155
|
+
if accept_language is not None:
|
|
2156
|
+
_header_params['Accept-Language'] = accept_language
|
|
1842
2157
|
# process the form parameters
|
|
1843
2158
|
# process the body parameter
|
|
1844
2159
|
|
|
@@ -1878,8 +2193,11 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1878
2193
|
@validate_call
|
|
1879
2194
|
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get(
|
|
1880
2195
|
self,
|
|
1881
|
-
siret: StrictStr,
|
|
1882
|
-
routing_identifier: StrictStr,
|
|
2196
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
2197
|
+
routing_identifier: Annotated[StrictStr, Field(description="Routing code identifier")],
|
|
2198
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
2199
|
+
include: Annotated[Optional[List[RoutingCodeInclude]], Field(description="Relations to include in the response.")] = None,
|
|
2200
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1883
2201
|
_request_timeout: Union[
|
|
1884
2202
|
None,
|
|
1885
2203
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1892,15 +2210,21 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1892
2210
|
_content_type: Optional[StrictStr] = None,
|
|
1893
2211
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1894
2212
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1895
|
-
) ->
|
|
2213
|
+
) -> AFNORRoutingCodePayloadHistoryLegalUnitFacility:
|
|
1896
2214
|
"""Get a routing code by SIRET and routing identifier
|
|
1897
2215
|
|
|
1898
|
-
|
|
2216
|
+
Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
1899
2217
|
|
|
1900
|
-
:param siret: (required)
|
|
2218
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
1901
2219
|
:type siret: str
|
|
1902
|
-
:param routing_identifier: (required)
|
|
2220
|
+
:param routing_identifier: Routing code identifier (required)
|
|
1903
2221
|
:type routing_identifier: str
|
|
2222
|
+
:param fields: Fields of the Routing Code resource
|
|
2223
|
+
:type fields: List[str]
|
|
2224
|
+
:param include: Relations to include in the response.
|
|
2225
|
+
:type include: List[RoutingCodeInclude]
|
|
2226
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2227
|
+
:type accept_language: AcceptLanguage
|
|
1904
2228
|
:param _request_timeout: timeout setting for this request. If one
|
|
1905
2229
|
number provided, it will be total request
|
|
1906
2230
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1926,6 +2250,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1926
2250
|
_param = self._get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_serialize(
|
|
1927
2251
|
siret=siret,
|
|
1928
2252
|
routing_identifier=routing_identifier,
|
|
2253
|
+
fields=fields,
|
|
2254
|
+
include=include,
|
|
2255
|
+
accept_language=accept_language,
|
|
1929
2256
|
_request_auth=_request_auth,
|
|
1930
2257
|
_content_type=_content_type,
|
|
1931
2258
|
_headers=_headers,
|
|
@@ -1933,10 +2260,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1933
2260
|
)
|
|
1934
2261
|
|
|
1935
2262
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1936
|
-
'200': "
|
|
1937
|
-
'
|
|
2263
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
2264
|
+
'400': None,
|
|
1938
2265
|
'401': None,
|
|
1939
|
-
'
|
|
2266
|
+
'403': None,
|
|
2267
|
+
'404': None,
|
|
2268
|
+
'408': None,
|
|
2269
|
+
'422': None,
|
|
2270
|
+
'429': None,
|
|
2271
|
+
'500': None,
|
|
2272
|
+
'501': None,
|
|
2273
|
+
'503': None,
|
|
1940
2274
|
}
|
|
1941
2275
|
response_data = self.api_client.call_api(
|
|
1942
2276
|
*_param,
|
|
@@ -1952,8 +2286,11 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1952
2286
|
@validate_call
|
|
1953
2287
|
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_with_http_info(
|
|
1954
2288
|
self,
|
|
1955
|
-
siret: StrictStr,
|
|
1956
|
-
routing_identifier: StrictStr,
|
|
2289
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
2290
|
+
routing_identifier: Annotated[StrictStr, Field(description="Routing code identifier")],
|
|
2291
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
2292
|
+
include: Annotated[Optional[List[RoutingCodeInclude]], Field(description="Relations to include in the response.")] = None,
|
|
2293
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
1957
2294
|
_request_timeout: Union[
|
|
1958
2295
|
None,
|
|
1959
2296
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1966,15 +2303,21 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
1966
2303
|
_content_type: Optional[StrictStr] = None,
|
|
1967
2304
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1968
2305
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1969
|
-
) -> ApiResponse[
|
|
2306
|
+
) -> ApiResponse[AFNORRoutingCodePayloadHistoryLegalUnitFacility]:
|
|
1970
2307
|
"""Get a routing code by SIRET and routing identifier
|
|
1971
2308
|
|
|
1972
|
-
|
|
2309
|
+
Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
1973
2310
|
|
|
1974
|
-
:param siret: (required)
|
|
2311
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
1975
2312
|
:type siret: str
|
|
1976
|
-
:param routing_identifier: (required)
|
|
2313
|
+
:param routing_identifier: Routing code identifier (required)
|
|
1977
2314
|
:type routing_identifier: str
|
|
2315
|
+
:param fields: Fields of the Routing Code resource
|
|
2316
|
+
:type fields: List[str]
|
|
2317
|
+
:param include: Relations to include in the response.
|
|
2318
|
+
:type include: List[RoutingCodeInclude]
|
|
2319
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2320
|
+
:type accept_language: AcceptLanguage
|
|
1978
2321
|
:param _request_timeout: timeout setting for this request. If one
|
|
1979
2322
|
number provided, it will be total request
|
|
1980
2323
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2000,6 +2343,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2000
2343
|
_param = self._get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_serialize(
|
|
2001
2344
|
siret=siret,
|
|
2002
2345
|
routing_identifier=routing_identifier,
|
|
2346
|
+
fields=fields,
|
|
2347
|
+
include=include,
|
|
2348
|
+
accept_language=accept_language,
|
|
2003
2349
|
_request_auth=_request_auth,
|
|
2004
2350
|
_content_type=_content_type,
|
|
2005
2351
|
_headers=_headers,
|
|
@@ -2007,10 +2353,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2007
2353
|
)
|
|
2008
2354
|
|
|
2009
2355
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2010
|
-
'200': "
|
|
2011
|
-
'
|
|
2356
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
2357
|
+
'400': None,
|
|
2012
2358
|
'401': None,
|
|
2013
|
-
'
|
|
2359
|
+
'403': None,
|
|
2360
|
+
'404': None,
|
|
2361
|
+
'408': None,
|
|
2362
|
+
'422': None,
|
|
2363
|
+
'429': None,
|
|
2364
|
+
'500': None,
|
|
2365
|
+
'501': None,
|
|
2366
|
+
'503': None,
|
|
2014
2367
|
}
|
|
2015
2368
|
response_data = self.api_client.call_api(
|
|
2016
2369
|
*_param,
|
|
@@ -2026,8 +2379,11 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2026
2379
|
@validate_call
|
|
2027
2380
|
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_without_preload_content(
|
|
2028
2381
|
self,
|
|
2029
|
-
siret: StrictStr,
|
|
2030
|
-
routing_identifier: StrictStr,
|
|
2382
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
2383
|
+
routing_identifier: Annotated[StrictStr, Field(description="Routing code identifier")],
|
|
2384
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the Routing Code resource")] = None,
|
|
2385
|
+
include: Annotated[Optional[List[RoutingCodeInclude]], Field(description="Relations to include in the response.")] = None,
|
|
2386
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2031
2387
|
_request_timeout: Union[
|
|
2032
2388
|
None,
|
|
2033
2389
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2043,12 +2399,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2043
2399
|
) -> RESTResponseType:
|
|
2044
2400
|
"""Get a routing code by SIRET and routing identifier
|
|
2045
2401
|
|
|
2046
|
-
|
|
2402
|
+
Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
2047
2403
|
|
|
2048
|
-
:param siret: (required)
|
|
2404
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
2049
2405
|
:type siret: str
|
|
2050
|
-
:param routing_identifier: (required)
|
|
2406
|
+
:param routing_identifier: Routing code identifier (required)
|
|
2051
2407
|
:type routing_identifier: str
|
|
2408
|
+
:param fields: Fields of the Routing Code resource
|
|
2409
|
+
:type fields: List[str]
|
|
2410
|
+
:param include: Relations to include in the response.
|
|
2411
|
+
:type include: List[RoutingCodeInclude]
|
|
2412
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2413
|
+
:type accept_language: AcceptLanguage
|
|
2052
2414
|
:param _request_timeout: timeout setting for this request. If one
|
|
2053
2415
|
number provided, it will be total request
|
|
2054
2416
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2074,6 +2436,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2074
2436
|
_param = self._get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_serialize(
|
|
2075
2437
|
siret=siret,
|
|
2076
2438
|
routing_identifier=routing_identifier,
|
|
2439
|
+
fields=fields,
|
|
2440
|
+
include=include,
|
|
2441
|
+
accept_language=accept_language,
|
|
2077
2442
|
_request_auth=_request_auth,
|
|
2078
2443
|
_content_type=_content_type,
|
|
2079
2444
|
_headers=_headers,
|
|
@@ -2081,10 +2446,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2081
2446
|
)
|
|
2082
2447
|
|
|
2083
2448
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2084
|
-
'200': "
|
|
2085
|
-
'
|
|
2449
|
+
'200': "AFNORRoutingCodePayloadHistoryLegalUnitFacility",
|
|
2450
|
+
'400': None,
|
|
2086
2451
|
'401': None,
|
|
2087
|
-
'
|
|
2452
|
+
'403': None,
|
|
2453
|
+
'404': None,
|
|
2454
|
+
'408': None,
|
|
2455
|
+
'422': None,
|
|
2456
|
+
'429': None,
|
|
2457
|
+
'500': None,
|
|
2458
|
+
'501': None,
|
|
2459
|
+
'503': None,
|
|
2088
2460
|
}
|
|
2089
2461
|
response_data = self.api_client.call_api(
|
|
2090
2462
|
*_param,
|
|
@@ -2097,6 +2469,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2097
2469
|
self,
|
|
2098
2470
|
siret,
|
|
2099
2471
|
routing_identifier,
|
|
2472
|
+
fields,
|
|
2473
|
+
include,
|
|
2474
|
+
accept_language,
|
|
2100
2475
|
_request_auth,
|
|
2101
2476
|
_content_type,
|
|
2102
2477
|
_headers,
|
|
@@ -2106,6 +2481,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2106
2481
|
_host = None
|
|
2107
2482
|
|
|
2108
2483
|
_collection_formats: Dict[str, str] = {
|
|
2484
|
+
'fields': 'multi',
|
|
2485
|
+
'include': 'multi',
|
|
2109
2486
|
}
|
|
2110
2487
|
|
|
2111
2488
|
_path_params: Dict[str, str] = {}
|
|
@@ -2123,7 +2500,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2123
2500
|
if routing_identifier is not None:
|
|
2124
2501
|
_path_params['routing_identifier'] = routing_identifier
|
|
2125
2502
|
# process the query parameters
|
|
2503
|
+
if fields is not None:
|
|
2504
|
+
|
|
2505
|
+
_query_params.append(('fields', fields))
|
|
2506
|
+
|
|
2507
|
+
if include is not None:
|
|
2508
|
+
|
|
2509
|
+
_query_params.append(('include', include))
|
|
2510
|
+
|
|
2126
2511
|
# process the header parameters
|
|
2512
|
+
if accept_language is not None:
|
|
2513
|
+
_header_params['Accept-Language'] = accept_language
|
|
2127
2514
|
# process the form parameters
|
|
2128
2515
|
# process the body parameter
|
|
2129
2516
|
|
|
@@ -2163,7 +2550,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2163
2550
|
@validate_call
|
|
2164
2551
|
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get(
|
|
2165
2552
|
self,
|
|
2166
|
-
siren: StrictStr,
|
|
2553
|
+
siren: Annotated[StrictStr, Field(description="9-digit SIREN number (INSEE company identifier)")],
|
|
2554
|
+
fields: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Fields of the SIREN resource")] = None,
|
|
2555
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2167
2556
|
_request_timeout: Union[
|
|
2168
2557
|
None,
|
|
2169
2558
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2176,13 +2565,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2176
2565
|
_content_type: Optional[StrictStr] = None,
|
|
2177
2566
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2178
2567
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2179
|
-
) ->
|
|
2568
|
+
) -> AFNORLegalUnitPayloadHistory:
|
|
2180
2569
|
"""Consult a siren (legal unit) by SIREN number
|
|
2181
2570
|
|
|
2182
|
-
Returns details of a company (legal unit) identified by
|
|
2571
|
+
Returns the details of a company (legal unit) identified by the SIREN number passed as a parameter.
|
|
2183
2572
|
|
|
2184
|
-
:param siren: (required)
|
|
2573
|
+
:param siren: 9-digit SIREN number (INSEE company identifier) (required)
|
|
2185
2574
|
:type siren: str
|
|
2575
|
+
:param fields: Fields of the SIREN resource
|
|
2576
|
+
:type fields: List[Optional[str]]
|
|
2577
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2578
|
+
:type accept_language: AcceptLanguage
|
|
2186
2579
|
:param _request_timeout: timeout setting for this request. If one
|
|
2187
2580
|
number provided, it will be total request
|
|
2188
2581
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2207,6 +2600,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2207
2600
|
|
|
2208
2601
|
_param = self._get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_serialize(
|
|
2209
2602
|
siren=siren,
|
|
2603
|
+
fields=fields,
|
|
2604
|
+
accept_language=accept_language,
|
|
2210
2605
|
_request_auth=_request_auth,
|
|
2211
2606
|
_content_type=_content_type,
|
|
2212
2607
|
_headers=_headers,
|
|
@@ -2214,10 +2609,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2214
2609
|
)
|
|
2215
2610
|
|
|
2216
2611
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2217
|
-
'200': "
|
|
2218
|
-
'
|
|
2612
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
2613
|
+
'400': None,
|
|
2219
2614
|
'401': None,
|
|
2220
|
-
'
|
|
2615
|
+
'403': None,
|
|
2616
|
+
'404': None,
|
|
2617
|
+
'408': None,
|
|
2618
|
+
'422': None,
|
|
2619
|
+
'429': None,
|
|
2620
|
+
'500': None,
|
|
2621
|
+
'501': None,
|
|
2622
|
+
'503': None,
|
|
2221
2623
|
}
|
|
2222
2624
|
response_data = self.api_client.call_api(
|
|
2223
2625
|
*_param,
|
|
@@ -2233,7 +2635,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2233
2635
|
@validate_call
|
|
2234
2636
|
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(
|
|
2235
2637
|
self,
|
|
2236
|
-
siren: StrictStr,
|
|
2638
|
+
siren: Annotated[StrictStr, Field(description="9-digit SIREN number (INSEE company identifier)")],
|
|
2639
|
+
fields: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Fields of the SIREN resource")] = None,
|
|
2640
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2237
2641
|
_request_timeout: Union[
|
|
2238
2642
|
None,
|
|
2239
2643
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2246,13 +2650,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2246
2650
|
_content_type: Optional[StrictStr] = None,
|
|
2247
2651
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2248
2652
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2249
|
-
) -> ApiResponse[
|
|
2653
|
+
) -> ApiResponse[AFNORLegalUnitPayloadHistory]:
|
|
2250
2654
|
"""Consult a siren (legal unit) by SIREN number
|
|
2251
2655
|
|
|
2252
|
-
Returns details of a company (legal unit) identified by
|
|
2656
|
+
Returns the details of a company (legal unit) identified by the SIREN number passed as a parameter.
|
|
2253
2657
|
|
|
2254
|
-
:param siren: (required)
|
|
2658
|
+
:param siren: 9-digit SIREN number (INSEE company identifier) (required)
|
|
2255
2659
|
:type siren: str
|
|
2660
|
+
:param fields: Fields of the SIREN resource
|
|
2661
|
+
:type fields: List[Optional[str]]
|
|
2662
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2663
|
+
:type accept_language: AcceptLanguage
|
|
2256
2664
|
:param _request_timeout: timeout setting for this request. If one
|
|
2257
2665
|
number provided, it will be total request
|
|
2258
2666
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2277,6 +2685,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2277
2685
|
|
|
2278
2686
|
_param = self._get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_serialize(
|
|
2279
2687
|
siren=siren,
|
|
2688
|
+
fields=fields,
|
|
2689
|
+
accept_language=accept_language,
|
|
2280
2690
|
_request_auth=_request_auth,
|
|
2281
2691
|
_content_type=_content_type,
|
|
2282
2692
|
_headers=_headers,
|
|
@@ -2284,10 +2694,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2284
2694
|
)
|
|
2285
2695
|
|
|
2286
2696
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2287
|
-
'200': "
|
|
2288
|
-
'
|
|
2697
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
2698
|
+
'400': None,
|
|
2289
2699
|
'401': None,
|
|
2290
|
-
'
|
|
2700
|
+
'403': None,
|
|
2701
|
+
'404': None,
|
|
2702
|
+
'408': None,
|
|
2703
|
+
'422': None,
|
|
2704
|
+
'429': None,
|
|
2705
|
+
'500': None,
|
|
2706
|
+
'501': None,
|
|
2707
|
+
'503': None,
|
|
2291
2708
|
}
|
|
2292
2709
|
response_data = self.api_client.call_api(
|
|
2293
2710
|
*_param,
|
|
@@ -2303,7 +2720,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2303
2720
|
@validate_call
|
|
2304
2721
|
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_without_preload_content(
|
|
2305
2722
|
self,
|
|
2306
|
-
siren: StrictStr,
|
|
2723
|
+
siren: Annotated[StrictStr, Field(description="9-digit SIREN number (INSEE company identifier)")],
|
|
2724
|
+
fields: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Fields of the SIREN resource")] = None,
|
|
2725
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2307
2726
|
_request_timeout: Union[
|
|
2308
2727
|
None,
|
|
2309
2728
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2319,10 +2738,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2319
2738
|
) -> RESTResponseType:
|
|
2320
2739
|
"""Consult a siren (legal unit) by SIREN number
|
|
2321
2740
|
|
|
2322
|
-
Returns details of a company (legal unit) identified by
|
|
2741
|
+
Returns the details of a company (legal unit) identified by the SIREN number passed as a parameter.
|
|
2323
2742
|
|
|
2324
|
-
:param siren: (required)
|
|
2743
|
+
:param siren: 9-digit SIREN number (INSEE company identifier) (required)
|
|
2325
2744
|
:type siren: str
|
|
2745
|
+
:param fields: Fields of the SIREN resource
|
|
2746
|
+
:type fields: List[Optional[str]]
|
|
2747
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2748
|
+
:type accept_language: AcceptLanguage
|
|
2326
2749
|
:param _request_timeout: timeout setting for this request. If one
|
|
2327
2750
|
number provided, it will be total request
|
|
2328
2751
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2347,6 +2770,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2347
2770
|
|
|
2348
2771
|
_param = self._get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_serialize(
|
|
2349
2772
|
siren=siren,
|
|
2773
|
+
fields=fields,
|
|
2774
|
+
accept_language=accept_language,
|
|
2350
2775
|
_request_auth=_request_auth,
|
|
2351
2776
|
_content_type=_content_type,
|
|
2352
2777
|
_headers=_headers,
|
|
@@ -2354,10 +2779,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2354
2779
|
)
|
|
2355
2780
|
|
|
2356
2781
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2357
|
-
'200': "
|
|
2358
|
-
'
|
|
2782
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
2783
|
+
'400': None,
|
|
2359
2784
|
'401': None,
|
|
2360
|
-
'
|
|
2785
|
+
'403': None,
|
|
2786
|
+
'404': None,
|
|
2787
|
+
'408': None,
|
|
2788
|
+
'422': None,
|
|
2789
|
+
'429': None,
|
|
2790
|
+
'500': None,
|
|
2791
|
+
'501': None,
|
|
2792
|
+
'503': None,
|
|
2361
2793
|
}
|
|
2362
2794
|
response_data = self.api_client.call_api(
|
|
2363
2795
|
*_param,
|
|
@@ -2369,6 +2801,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2369
2801
|
def _get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_serialize(
|
|
2370
2802
|
self,
|
|
2371
2803
|
siren,
|
|
2804
|
+
fields,
|
|
2805
|
+
accept_language,
|
|
2372
2806
|
_request_auth,
|
|
2373
2807
|
_content_type,
|
|
2374
2808
|
_headers,
|
|
@@ -2378,6 +2812,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2378
2812
|
_host = None
|
|
2379
2813
|
|
|
2380
2814
|
_collection_formats: Dict[str, str] = {
|
|
2815
|
+
'fields': 'multi',
|
|
2381
2816
|
}
|
|
2382
2817
|
|
|
2383
2818
|
_path_params: Dict[str, str] = {}
|
|
@@ -2393,7 +2828,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2393
2828
|
if siren is not None:
|
|
2394
2829
|
_path_params['siren'] = siren
|
|
2395
2830
|
# process the query parameters
|
|
2831
|
+
if fields is not None:
|
|
2832
|
+
|
|
2833
|
+
_query_params.append(('fields', fields))
|
|
2834
|
+
|
|
2396
2835
|
# process the header parameters
|
|
2836
|
+
if accept_language is not None:
|
|
2837
|
+
_header_params['Accept-Language'] = accept_language
|
|
2397
2838
|
# process the form parameters
|
|
2398
2839
|
# process the body parameter
|
|
2399
2840
|
|
|
@@ -2433,7 +2874,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2433
2874
|
@validate_call
|
|
2434
2875
|
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get(
|
|
2435
2876
|
self,
|
|
2436
|
-
id_instance: StrictStr,
|
|
2877
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
2878
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the SIREN resource")] = None,
|
|
2879
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2437
2880
|
_request_timeout: Union[
|
|
2438
2881
|
None,
|
|
2439
2882
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2446,13 +2889,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2446
2889
|
_content_type: Optional[StrictStr] = None,
|
|
2447
2890
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2448
2891
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2449
|
-
) ->
|
|
2892
|
+
) -> AFNORLegalUnitPayloadHistory:
|
|
2450
2893
|
"""Gets a siren (legal unit) by instance ID
|
|
2451
2894
|
|
|
2452
|
-
|
|
2895
|
+
Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
2453
2896
|
|
|
2454
|
-
:param id_instance: (required)
|
|
2897
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
2455
2898
|
:type id_instance: str
|
|
2899
|
+
:param fields: Fields of the SIREN resource
|
|
2900
|
+
:type fields: List[str]
|
|
2901
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2902
|
+
:type accept_language: AcceptLanguage
|
|
2456
2903
|
:param _request_timeout: timeout setting for this request. If one
|
|
2457
2904
|
number provided, it will be total request
|
|
2458
2905
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2477,6 +2924,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2477
2924
|
|
|
2478
2925
|
_param = self._get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_serialize(
|
|
2479
2926
|
id_instance=id_instance,
|
|
2927
|
+
fields=fields,
|
|
2928
|
+
accept_language=accept_language,
|
|
2480
2929
|
_request_auth=_request_auth,
|
|
2481
2930
|
_content_type=_content_type,
|
|
2482
2931
|
_headers=_headers,
|
|
@@ -2484,10 +2933,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2484
2933
|
)
|
|
2485
2934
|
|
|
2486
2935
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2487
|
-
'200': "
|
|
2488
|
-
'
|
|
2936
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
2937
|
+
'400': None,
|
|
2489
2938
|
'401': None,
|
|
2490
|
-
'
|
|
2939
|
+
'403': None,
|
|
2940
|
+
'404': None,
|
|
2941
|
+
'408': None,
|
|
2942
|
+
'422': None,
|
|
2943
|
+
'429': None,
|
|
2944
|
+
'500': None,
|
|
2945
|
+
'501': None,
|
|
2946
|
+
'503': None,
|
|
2491
2947
|
}
|
|
2492
2948
|
response_data = self.api_client.call_api(
|
|
2493
2949
|
*_param,
|
|
@@ -2503,7 +2959,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2503
2959
|
@validate_call
|
|
2504
2960
|
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(
|
|
2505
2961
|
self,
|
|
2506
|
-
id_instance: StrictStr,
|
|
2962
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
2963
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the SIREN resource")] = None,
|
|
2964
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2507
2965
|
_request_timeout: Union[
|
|
2508
2966
|
None,
|
|
2509
2967
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2516,13 +2974,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2516
2974
|
_content_type: Optional[StrictStr] = None,
|
|
2517
2975
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2518
2976
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2519
|
-
) -> ApiResponse[
|
|
2977
|
+
) -> ApiResponse[AFNORLegalUnitPayloadHistory]:
|
|
2520
2978
|
"""Gets a siren (legal unit) by instance ID
|
|
2521
2979
|
|
|
2522
|
-
|
|
2980
|
+
Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
2523
2981
|
|
|
2524
|
-
:param id_instance: (required)
|
|
2982
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
2525
2983
|
:type id_instance: str
|
|
2984
|
+
:param fields: Fields of the SIREN resource
|
|
2985
|
+
:type fields: List[str]
|
|
2986
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
2987
|
+
:type accept_language: AcceptLanguage
|
|
2526
2988
|
:param _request_timeout: timeout setting for this request. If one
|
|
2527
2989
|
number provided, it will be total request
|
|
2528
2990
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2547,6 +3009,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2547
3009
|
|
|
2548
3010
|
_param = self._get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_serialize(
|
|
2549
3011
|
id_instance=id_instance,
|
|
3012
|
+
fields=fields,
|
|
3013
|
+
accept_language=accept_language,
|
|
2550
3014
|
_request_auth=_request_auth,
|
|
2551
3015
|
_content_type=_content_type,
|
|
2552
3016
|
_headers=_headers,
|
|
@@ -2554,10 +3018,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2554
3018
|
)
|
|
2555
3019
|
|
|
2556
3020
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2557
|
-
'200': "
|
|
2558
|
-
'
|
|
3021
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
3022
|
+
'400': None,
|
|
2559
3023
|
'401': None,
|
|
2560
|
-
'
|
|
3024
|
+
'403': None,
|
|
3025
|
+
'404': None,
|
|
3026
|
+
'408': None,
|
|
3027
|
+
'422': None,
|
|
3028
|
+
'429': None,
|
|
3029
|
+
'500': None,
|
|
3030
|
+
'501': None,
|
|
3031
|
+
'503': None,
|
|
2561
3032
|
}
|
|
2562
3033
|
response_data = self.api_client.call_api(
|
|
2563
3034
|
*_param,
|
|
@@ -2573,7 +3044,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2573
3044
|
@validate_call
|
|
2574
3045
|
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_without_preload_content(
|
|
2575
3046
|
self,
|
|
2576
|
-
id_instance: StrictStr,
|
|
3047
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3048
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of the SIREN resource")] = None,
|
|
3049
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2577
3050
|
_request_timeout: Union[
|
|
2578
3051
|
None,
|
|
2579
3052
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2589,10 +3062,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2589
3062
|
) -> RESTResponseType:
|
|
2590
3063
|
"""Gets a siren (legal unit) by instance ID
|
|
2591
3064
|
|
|
2592
|
-
|
|
3065
|
+
Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
2593
3066
|
|
|
2594
|
-
:param id_instance: (required)
|
|
3067
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
2595
3068
|
:type id_instance: str
|
|
3069
|
+
:param fields: Fields of the SIREN resource
|
|
3070
|
+
:type fields: List[str]
|
|
3071
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3072
|
+
:type accept_language: AcceptLanguage
|
|
2596
3073
|
:param _request_timeout: timeout setting for this request. If one
|
|
2597
3074
|
number provided, it will be total request
|
|
2598
3075
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2617,6 +3094,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2617
3094
|
|
|
2618
3095
|
_param = self._get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_serialize(
|
|
2619
3096
|
id_instance=id_instance,
|
|
3097
|
+
fields=fields,
|
|
3098
|
+
accept_language=accept_language,
|
|
2620
3099
|
_request_auth=_request_auth,
|
|
2621
3100
|
_content_type=_content_type,
|
|
2622
3101
|
_headers=_headers,
|
|
@@ -2624,10 +3103,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2624
3103
|
)
|
|
2625
3104
|
|
|
2626
3105
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2627
|
-
'200': "
|
|
2628
|
-
'
|
|
3106
|
+
'200': "AFNORLegalUnitPayloadHistory",
|
|
3107
|
+
'400': None,
|
|
2629
3108
|
'401': None,
|
|
2630
|
-
'
|
|
3109
|
+
'403': None,
|
|
3110
|
+
'404': None,
|
|
3111
|
+
'408': None,
|
|
3112
|
+
'422': None,
|
|
3113
|
+
'429': None,
|
|
3114
|
+
'500': None,
|
|
3115
|
+
'501': None,
|
|
3116
|
+
'503': None,
|
|
2631
3117
|
}
|
|
2632
3118
|
response_data = self.api_client.call_api(
|
|
2633
3119
|
*_param,
|
|
@@ -2639,6 +3125,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2639
3125
|
def _get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_serialize(
|
|
2640
3126
|
self,
|
|
2641
3127
|
id_instance,
|
|
3128
|
+
fields,
|
|
3129
|
+
accept_language,
|
|
2642
3130
|
_request_auth,
|
|
2643
3131
|
_content_type,
|
|
2644
3132
|
_headers,
|
|
@@ -2648,6 +3136,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2648
3136
|
_host = None
|
|
2649
3137
|
|
|
2650
3138
|
_collection_formats: Dict[str, str] = {
|
|
3139
|
+
'fields': 'multi',
|
|
2651
3140
|
}
|
|
2652
3141
|
|
|
2653
3142
|
_path_params: Dict[str, str] = {}
|
|
@@ -2663,7 +3152,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2663
3152
|
if id_instance is not None:
|
|
2664
3153
|
_path_params['id_instance'] = id_instance
|
|
2665
3154
|
# process the query parameters
|
|
3155
|
+
if fields is not None:
|
|
3156
|
+
|
|
3157
|
+
_query_params.append(('fields', fields))
|
|
3158
|
+
|
|
2666
3159
|
# process the header parameters
|
|
3160
|
+
if accept_language is not None:
|
|
3161
|
+
_header_params['Accept-Language'] = accept_language
|
|
2667
3162
|
# process the form parameters
|
|
2668
3163
|
# process the body parameter
|
|
2669
3164
|
|
|
@@ -2703,7 +3198,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2703
3198
|
@validate_call
|
|
2704
3199
|
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get(
|
|
2705
3200
|
self,
|
|
2706
|
-
siret: StrictStr,
|
|
3201
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
3202
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3203
|
+
include: Annotated[Optional[List[SiretInclude]], Field(description="Relations to include in the response.")] = None,
|
|
3204
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2707
3205
|
_request_timeout: Union[
|
|
2708
3206
|
None,
|
|
2709
3207
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2716,13 +3214,19 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2716
3214
|
_content_type: Optional[StrictStr] = None,
|
|
2717
3215
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2718
3216
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2719
|
-
) ->
|
|
3217
|
+
) -> AFNORFacilityPayloadHistory:
|
|
2720
3218
|
"""Gets a siret (facility) by SIRET number
|
|
2721
3219
|
|
|
2722
|
-
|
|
3220
|
+
Returns the details of a facility associated to a SIRET.
|
|
2723
3221
|
|
|
2724
|
-
:param siret: (required)
|
|
3222
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
2725
3223
|
:type siret: str
|
|
3224
|
+
:param fields: Fields of a SIRET resource.
|
|
3225
|
+
:type fields: List[str]
|
|
3226
|
+
:param include: Relations to include in the response.
|
|
3227
|
+
:type include: List[SiretInclude]
|
|
3228
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3229
|
+
:type accept_language: AcceptLanguage
|
|
2726
3230
|
:param _request_timeout: timeout setting for this request. If one
|
|
2727
3231
|
number provided, it will be total request
|
|
2728
3232
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2747,6 +3251,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2747
3251
|
|
|
2748
3252
|
_param = self._get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_serialize(
|
|
2749
3253
|
siret=siret,
|
|
3254
|
+
fields=fields,
|
|
3255
|
+
include=include,
|
|
3256
|
+
accept_language=accept_language,
|
|
2750
3257
|
_request_auth=_request_auth,
|
|
2751
3258
|
_content_type=_content_type,
|
|
2752
3259
|
_headers=_headers,
|
|
@@ -2754,10 +3261,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2754
3261
|
)
|
|
2755
3262
|
|
|
2756
3263
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2757
|
-
'200': "
|
|
2758
|
-
'
|
|
3264
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3265
|
+
'400': None,
|
|
2759
3266
|
'401': None,
|
|
2760
|
-
'
|
|
3267
|
+
'403': None,
|
|
3268
|
+
'404': None,
|
|
3269
|
+
'408': None,
|
|
3270
|
+
'422': None,
|
|
3271
|
+
'429': None,
|
|
3272
|
+
'500': None,
|
|
3273
|
+
'501': None,
|
|
3274
|
+
'503': None,
|
|
2761
3275
|
}
|
|
2762
3276
|
response_data = self.api_client.call_api(
|
|
2763
3277
|
*_param,
|
|
@@ -2773,7 +3287,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2773
3287
|
@validate_call
|
|
2774
3288
|
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(
|
|
2775
3289
|
self,
|
|
2776
|
-
siret: StrictStr,
|
|
3290
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
3291
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3292
|
+
include: Annotated[Optional[List[SiretInclude]], Field(description="Relations to include in the response.")] = None,
|
|
3293
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2777
3294
|
_request_timeout: Union[
|
|
2778
3295
|
None,
|
|
2779
3296
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2786,13 +3303,19 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2786
3303
|
_content_type: Optional[StrictStr] = None,
|
|
2787
3304
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2788
3305
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2789
|
-
) -> ApiResponse[
|
|
3306
|
+
) -> ApiResponse[AFNORFacilityPayloadHistory]:
|
|
2790
3307
|
"""Gets a siret (facility) by SIRET number
|
|
2791
3308
|
|
|
2792
|
-
|
|
3309
|
+
Returns the details of a facility associated to a SIRET.
|
|
2793
3310
|
|
|
2794
|
-
:param siret: (required)
|
|
3311
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
2795
3312
|
:type siret: str
|
|
3313
|
+
:param fields: Fields of a SIRET resource.
|
|
3314
|
+
:type fields: List[str]
|
|
3315
|
+
:param include: Relations to include in the response.
|
|
3316
|
+
:type include: List[SiretInclude]
|
|
3317
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3318
|
+
:type accept_language: AcceptLanguage
|
|
2796
3319
|
:param _request_timeout: timeout setting for this request. If one
|
|
2797
3320
|
number provided, it will be total request
|
|
2798
3321
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2817,6 +3340,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2817
3340
|
|
|
2818
3341
|
_param = self._get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_serialize(
|
|
2819
3342
|
siret=siret,
|
|
3343
|
+
fields=fields,
|
|
3344
|
+
include=include,
|
|
3345
|
+
accept_language=accept_language,
|
|
2820
3346
|
_request_auth=_request_auth,
|
|
2821
3347
|
_content_type=_content_type,
|
|
2822
3348
|
_headers=_headers,
|
|
@@ -2824,10 +3350,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2824
3350
|
)
|
|
2825
3351
|
|
|
2826
3352
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2827
|
-
'200': "
|
|
2828
|
-
'
|
|
3353
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3354
|
+
'400': None,
|
|
2829
3355
|
'401': None,
|
|
2830
|
-
'
|
|
3356
|
+
'403': None,
|
|
3357
|
+
'404': None,
|
|
3358
|
+
'408': None,
|
|
3359
|
+
'422': None,
|
|
3360
|
+
'429': None,
|
|
3361
|
+
'500': None,
|
|
3362
|
+
'501': None,
|
|
3363
|
+
'503': None,
|
|
2831
3364
|
}
|
|
2832
3365
|
response_data = self.api_client.call_api(
|
|
2833
3366
|
*_param,
|
|
@@ -2843,7 +3376,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2843
3376
|
@validate_call
|
|
2844
3377
|
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_without_preload_content(
|
|
2845
3378
|
self,
|
|
2846
|
-
siret: StrictStr,
|
|
3379
|
+
siret: Annotated[StrictStr, Field(description="14-digit SIRET number (INSEE establishment identifier)")],
|
|
3380
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3381
|
+
include: Annotated[Optional[List[SiretInclude]], Field(description="Relations to include in the response.")] = None,
|
|
3382
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2847
3383
|
_request_timeout: Union[
|
|
2848
3384
|
None,
|
|
2849
3385
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2859,10 +3395,16 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2859
3395
|
) -> RESTResponseType:
|
|
2860
3396
|
"""Gets a siret (facility) by SIRET number
|
|
2861
3397
|
|
|
2862
|
-
|
|
3398
|
+
Returns the details of a facility associated to a SIRET.
|
|
2863
3399
|
|
|
2864
|
-
:param siret: (required)
|
|
3400
|
+
:param siret: 14-digit SIRET number (INSEE establishment identifier) (required)
|
|
2865
3401
|
:type siret: str
|
|
3402
|
+
:param fields: Fields of a SIRET resource.
|
|
3403
|
+
:type fields: List[str]
|
|
3404
|
+
:param include: Relations to include in the response.
|
|
3405
|
+
:type include: List[SiretInclude]
|
|
3406
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3407
|
+
:type accept_language: AcceptLanguage
|
|
2866
3408
|
:param _request_timeout: timeout setting for this request. If one
|
|
2867
3409
|
number provided, it will be total request
|
|
2868
3410
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2887,6 +3429,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2887
3429
|
|
|
2888
3430
|
_param = self._get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_serialize(
|
|
2889
3431
|
siret=siret,
|
|
3432
|
+
fields=fields,
|
|
3433
|
+
include=include,
|
|
3434
|
+
accept_language=accept_language,
|
|
2890
3435
|
_request_auth=_request_auth,
|
|
2891
3436
|
_content_type=_content_type,
|
|
2892
3437
|
_headers=_headers,
|
|
@@ -2894,10 +3439,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2894
3439
|
)
|
|
2895
3440
|
|
|
2896
3441
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2897
|
-
'200': "
|
|
2898
|
-
'
|
|
3442
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3443
|
+
'400': None,
|
|
2899
3444
|
'401': None,
|
|
2900
|
-
'
|
|
3445
|
+
'403': None,
|
|
3446
|
+
'404': None,
|
|
3447
|
+
'408': None,
|
|
3448
|
+
'422': None,
|
|
3449
|
+
'429': None,
|
|
3450
|
+
'500': None,
|
|
3451
|
+
'501': None,
|
|
3452
|
+
'503': None,
|
|
2901
3453
|
}
|
|
2902
3454
|
response_data = self.api_client.call_api(
|
|
2903
3455
|
*_param,
|
|
@@ -2909,6 +3461,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2909
3461
|
def _get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_serialize(
|
|
2910
3462
|
self,
|
|
2911
3463
|
siret,
|
|
3464
|
+
fields,
|
|
3465
|
+
include,
|
|
3466
|
+
accept_language,
|
|
2912
3467
|
_request_auth,
|
|
2913
3468
|
_content_type,
|
|
2914
3469
|
_headers,
|
|
@@ -2918,6 +3473,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2918
3473
|
_host = None
|
|
2919
3474
|
|
|
2920
3475
|
_collection_formats: Dict[str, str] = {
|
|
3476
|
+
'fields': 'multi',
|
|
3477
|
+
'include': 'multi',
|
|
2921
3478
|
}
|
|
2922
3479
|
|
|
2923
3480
|
_path_params: Dict[str, str] = {}
|
|
@@ -2933,7 +3490,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2933
3490
|
if siret is not None:
|
|
2934
3491
|
_path_params['siret'] = siret
|
|
2935
3492
|
# process the query parameters
|
|
3493
|
+
if fields is not None:
|
|
3494
|
+
|
|
3495
|
+
_query_params.append(('fields', fields))
|
|
3496
|
+
|
|
3497
|
+
if include is not None:
|
|
3498
|
+
|
|
3499
|
+
_query_params.append(('include', include))
|
|
3500
|
+
|
|
2936
3501
|
# process the header parameters
|
|
3502
|
+
if accept_language is not None:
|
|
3503
|
+
_header_params['Accept-Language'] = accept_language
|
|
2937
3504
|
# process the form parameters
|
|
2938
3505
|
# process the body parameter
|
|
2939
3506
|
|
|
@@ -2973,7 +3540,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2973
3540
|
@validate_call
|
|
2974
3541
|
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get(
|
|
2975
3542
|
self,
|
|
2976
|
-
id_instance: StrictStr,
|
|
3543
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3544
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3545
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
2977
3546
|
_request_timeout: Union[
|
|
2978
3547
|
None,
|
|
2979
3548
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2986,13 +3555,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
2986
3555
|
_content_type: Optional[StrictStr] = None,
|
|
2987
3556
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2988
3557
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2989
|
-
) ->
|
|
3558
|
+
) -> AFNORFacilityPayloadHistory:
|
|
2990
3559
|
"""Gets a siret (facility) by id-instance
|
|
2991
3560
|
|
|
2992
|
-
|
|
3561
|
+
Returns the details of a facility according to an instance-id.
|
|
2993
3562
|
|
|
2994
|
-
:param id_instance: (required)
|
|
3563
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
2995
3564
|
:type id_instance: str
|
|
3565
|
+
:param fields: Fields of a SIRET resource.
|
|
3566
|
+
:type fields: List[str]
|
|
3567
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3568
|
+
:type accept_language: AcceptLanguage
|
|
2996
3569
|
:param _request_timeout: timeout setting for this request. If one
|
|
2997
3570
|
number provided, it will be total request
|
|
2998
3571
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3017,6 +3590,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3017
3590
|
|
|
3018
3591
|
_param = self._get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_serialize(
|
|
3019
3592
|
id_instance=id_instance,
|
|
3593
|
+
fields=fields,
|
|
3594
|
+
accept_language=accept_language,
|
|
3020
3595
|
_request_auth=_request_auth,
|
|
3021
3596
|
_content_type=_content_type,
|
|
3022
3597
|
_headers=_headers,
|
|
@@ -3024,10 +3599,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3024
3599
|
)
|
|
3025
3600
|
|
|
3026
3601
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3027
|
-
'200': "
|
|
3028
|
-
'
|
|
3602
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3603
|
+
'400': None,
|
|
3029
3604
|
'401': None,
|
|
3030
|
-
'
|
|
3605
|
+
'403': None,
|
|
3606
|
+
'404': None,
|
|
3607
|
+
'408': None,
|
|
3608
|
+
'422': None,
|
|
3609
|
+
'429': None,
|
|
3610
|
+
'500': None,
|
|
3611
|
+
'501': None,
|
|
3612
|
+
'503': None,
|
|
3031
3613
|
}
|
|
3032
3614
|
response_data = self.api_client.call_api(
|
|
3033
3615
|
*_param,
|
|
@@ -3043,7 +3625,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3043
3625
|
@validate_call
|
|
3044
3626
|
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(
|
|
3045
3627
|
self,
|
|
3046
|
-
id_instance: StrictStr,
|
|
3628
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3629
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3630
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3047
3631
|
_request_timeout: Union[
|
|
3048
3632
|
None,
|
|
3049
3633
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3056,13 +3640,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3056
3640
|
_content_type: Optional[StrictStr] = None,
|
|
3057
3641
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3058
3642
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3059
|
-
) -> ApiResponse[
|
|
3643
|
+
) -> ApiResponse[AFNORFacilityPayloadHistory]:
|
|
3060
3644
|
"""Gets a siret (facility) by id-instance
|
|
3061
3645
|
|
|
3062
|
-
|
|
3646
|
+
Returns the details of a facility according to an instance-id.
|
|
3063
3647
|
|
|
3064
|
-
:param id_instance: (required)
|
|
3648
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3065
3649
|
:type id_instance: str
|
|
3650
|
+
:param fields: Fields of a SIRET resource.
|
|
3651
|
+
:type fields: List[str]
|
|
3652
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3653
|
+
:type accept_language: AcceptLanguage
|
|
3066
3654
|
:param _request_timeout: timeout setting for this request. If one
|
|
3067
3655
|
number provided, it will be total request
|
|
3068
3656
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3087,6 +3675,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3087
3675
|
|
|
3088
3676
|
_param = self._get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_serialize(
|
|
3089
3677
|
id_instance=id_instance,
|
|
3678
|
+
fields=fields,
|
|
3679
|
+
accept_language=accept_language,
|
|
3090
3680
|
_request_auth=_request_auth,
|
|
3091
3681
|
_content_type=_content_type,
|
|
3092
3682
|
_headers=_headers,
|
|
@@ -3094,10 +3684,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3094
3684
|
)
|
|
3095
3685
|
|
|
3096
3686
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3097
|
-
'200': "
|
|
3098
|
-
'
|
|
3687
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3688
|
+
'400': None,
|
|
3099
3689
|
'401': None,
|
|
3100
|
-
'
|
|
3690
|
+
'403': None,
|
|
3691
|
+
'404': None,
|
|
3692
|
+
'408': None,
|
|
3693
|
+
'422': None,
|
|
3694
|
+
'429': None,
|
|
3695
|
+
'500': None,
|
|
3696
|
+
'501': None,
|
|
3697
|
+
'503': None,
|
|
3101
3698
|
}
|
|
3102
3699
|
response_data = self.api_client.call_api(
|
|
3103
3700
|
*_param,
|
|
@@ -3113,7 +3710,9 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3113
3710
|
@validate_call
|
|
3114
3711
|
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_without_preload_content(
|
|
3115
3712
|
self,
|
|
3116
|
-
id_instance: StrictStr,
|
|
3713
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3714
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="Fields of a SIRET resource.")] = None,
|
|
3715
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3117
3716
|
_request_timeout: Union[
|
|
3118
3717
|
None,
|
|
3119
3718
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3129,10 +3728,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3129
3728
|
) -> RESTResponseType:
|
|
3130
3729
|
"""Gets a siret (facility) by id-instance
|
|
3131
3730
|
|
|
3132
|
-
|
|
3731
|
+
Returns the details of a facility according to an instance-id.
|
|
3133
3732
|
|
|
3134
|
-
:param id_instance: (required)
|
|
3733
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3135
3734
|
:type id_instance: str
|
|
3735
|
+
:param fields: Fields of a SIRET resource.
|
|
3736
|
+
:type fields: List[str]
|
|
3737
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3738
|
+
:type accept_language: AcceptLanguage
|
|
3136
3739
|
:param _request_timeout: timeout setting for this request. If one
|
|
3137
3740
|
number provided, it will be total request
|
|
3138
3741
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3157,6 +3760,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3157
3760
|
|
|
3158
3761
|
_param = self._get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_serialize(
|
|
3159
3762
|
id_instance=id_instance,
|
|
3763
|
+
fields=fields,
|
|
3764
|
+
accept_language=accept_language,
|
|
3160
3765
|
_request_auth=_request_auth,
|
|
3161
3766
|
_content_type=_content_type,
|
|
3162
3767
|
_headers=_headers,
|
|
@@ -3164,10 +3769,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3164
3769
|
)
|
|
3165
3770
|
|
|
3166
3771
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3167
|
-
'200': "
|
|
3168
|
-
'
|
|
3772
|
+
'200': "AFNORFacilityPayloadHistory",
|
|
3773
|
+
'400': None,
|
|
3169
3774
|
'401': None,
|
|
3170
|
-
'
|
|
3775
|
+
'403': None,
|
|
3776
|
+
'404': None,
|
|
3777
|
+
'408': None,
|
|
3778
|
+
'422': None,
|
|
3779
|
+
'429': None,
|
|
3780
|
+
'500': None,
|
|
3781
|
+
'501': None,
|
|
3782
|
+
'503': None,
|
|
3171
3783
|
}
|
|
3172
3784
|
response_data = self.api_client.call_api(
|
|
3173
3785
|
*_param,
|
|
@@ -3179,6 +3791,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3179
3791
|
def _get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_serialize(
|
|
3180
3792
|
self,
|
|
3181
3793
|
id_instance,
|
|
3794
|
+
fields,
|
|
3795
|
+
accept_language,
|
|
3182
3796
|
_request_auth,
|
|
3183
3797
|
_content_type,
|
|
3184
3798
|
_headers,
|
|
@@ -3188,6 +3802,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3188
3802
|
_host = None
|
|
3189
3803
|
|
|
3190
3804
|
_collection_formats: Dict[str, str] = {
|
|
3805
|
+
'fields': 'multi',
|
|
3191
3806
|
}
|
|
3192
3807
|
|
|
3193
3808
|
_path_params: Dict[str, str] = {}
|
|
@@ -3203,7 +3818,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3203
3818
|
if id_instance is not None:
|
|
3204
3819
|
_path_params['id_instance'] = id_instance
|
|
3205
3820
|
# process the query parameters
|
|
3821
|
+
if fields is not None:
|
|
3822
|
+
|
|
3823
|
+
_query_params.append(('fields', fields))
|
|
3824
|
+
|
|
3206
3825
|
# process the header parameters
|
|
3826
|
+
if accept_language is not None:
|
|
3827
|
+
_header_params['Accept-Language'] = accept_language
|
|
3207
3828
|
# process the form parameters
|
|
3208
3829
|
# process the body parameter
|
|
3209
3830
|
|
|
@@ -3243,7 +3864,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3243
3864
|
@validate_call
|
|
3244
3865
|
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch(
|
|
3245
3866
|
self,
|
|
3246
|
-
id_instance: StrictStr,
|
|
3867
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3868
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3247
3869
|
_request_timeout: Union[
|
|
3248
3870
|
None,
|
|
3249
3871
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3256,13 +3878,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3256
3878
|
_content_type: Optional[StrictStr] = None,
|
|
3257
3879
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3258
3880
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3259
|
-
) ->
|
|
3260
|
-
"""Partially updates a directory line
|
|
3881
|
+
) -> AFNORDirectoryLinePost201Response:
|
|
3882
|
+
"""Partially updates a directory line..
|
|
3261
3883
|
|
|
3262
|
-
Partially
|
|
3884
|
+
Partially updates a directory line.
|
|
3263
3885
|
|
|
3264
|
-
:param id_instance: (required)
|
|
3886
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3265
3887
|
:type id_instance: str
|
|
3888
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3889
|
+
:type accept_language: AcceptLanguage
|
|
3266
3890
|
:param _request_timeout: timeout setting for this request. If one
|
|
3267
3891
|
number provided, it will be total request
|
|
3268
3892
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3287,6 +3911,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3287
3911
|
|
|
3288
3912
|
_param = self._patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_serialize(
|
|
3289
3913
|
id_instance=id_instance,
|
|
3914
|
+
accept_language=accept_language,
|
|
3290
3915
|
_request_auth=_request_auth,
|
|
3291
3916
|
_content_type=_content_type,
|
|
3292
3917
|
_headers=_headers,
|
|
@@ -3294,10 +3919,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3294
3919
|
)
|
|
3295
3920
|
|
|
3296
3921
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3297
|
-
'200': "
|
|
3298
|
-
'
|
|
3922
|
+
'200': "AFNORDirectoryLinePost201Response",
|
|
3923
|
+
'400': None,
|
|
3299
3924
|
'401': None,
|
|
3300
|
-
'
|
|
3925
|
+
'403': None,
|
|
3926
|
+
'404': None,
|
|
3927
|
+
'408': None,
|
|
3928
|
+
'422': None,
|
|
3929
|
+
'429': None,
|
|
3930
|
+
'500': None,
|
|
3931
|
+
'501': None,
|
|
3932
|
+
'503': None,
|
|
3301
3933
|
}
|
|
3302
3934
|
response_data = self.api_client.call_api(
|
|
3303
3935
|
*_param,
|
|
@@ -3313,7 +3945,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3313
3945
|
@validate_call
|
|
3314
3946
|
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(
|
|
3315
3947
|
self,
|
|
3316
|
-
id_instance: StrictStr,
|
|
3948
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
3949
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3317
3950
|
_request_timeout: Union[
|
|
3318
3951
|
None,
|
|
3319
3952
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3326,13 +3959,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3326
3959
|
_content_type: Optional[StrictStr] = None,
|
|
3327
3960
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3328
3961
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3329
|
-
) -> ApiResponse[
|
|
3330
|
-
"""Partially updates a directory line
|
|
3962
|
+
) -> ApiResponse[AFNORDirectoryLinePost201Response]:
|
|
3963
|
+
"""Partially updates a directory line..
|
|
3331
3964
|
|
|
3332
|
-
Partially
|
|
3965
|
+
Partially updates a directory line.
|
|
3333
3966
|
|
|
3334
|
-
:param id_instance: (required)
|
|
3967
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3335
3968
|
:type id_instance: str
|
|
3969
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
3970
|
+
:type accept_language: AcceptLanguage
|
|
3336
3971
|
:param _request_timeout: timeout setting for this request. If one
|
|
3337
3972
|
number provided, it will be total request
|
|
3338
3973
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3357,6 +3992,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3357
3992
|
|
|
3358
3993
|
_param = self._patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_serialize(
|
|
3359
3994
|
id_instance=id_instance,
|
|
3995
|
+
accept_language=accept_language,
|
|
3360
3996
|
_request_auth=_request_auth,
|
|
3361
3997
|
_content_type=_content_type,
|
|
3362
3998
|
_headers=_headers,
|
|
@@ -3364,10 +4000,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3364
4000
|
)
|
|
3365
4001
|
|
|
3366
4002
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3367
|
-
'200': "
|
|
3368
|
-
'
|
|
4003
|
+
'200': "AFNORDirectoryLinePost201Response",
|
|
4004
|
+
'400': None,
|
|
3369
4005
|
'401': None,
|
|
3370
|
-
'
|
|
4006
|
+
'403': None,
|
|
4007
|
+
'404': None,
|
|
4008
|
+
'408': None,
|
|
4009
|
+
'422': None,
|
|
4010
|
+
'429': None,
|
|
4011
|
+
'500': None,
|
|
4012
|
+
'501': None,
|
|
4013
|
+
'503': None,
|
|
3371
4014
|
}
|
|
3372
4015
|
response_data = self.api_client.call_api(
|
|
3373
4016
|
*_param,
|
|
@@ -3383,7 +4026,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3383
4026
|
@validate_call
|
|
3384
4027
|
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_without_preload_content(
|
|
3385
4028
|
self,
|
|
3386
|
-
id_instance: StrictStr,
|
|
4029
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4030
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3387
4031
|
_request_timeout: Union[
|
|
3388
4032
|
None,
|
|
3389
4033
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3397,12 +4041,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3397
4041
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3398
4042
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3399
4043
|
) -> RESTResponseType:
|
|
3400
|
-
"""Partially updates a directory line
|
|
4044
|
+
"""Partially updates a directory line..
|
|
3401
4045
|
|
|
3402
|
-
Partially
|
|
4046
|
+
Partially updates a directory line.
|
|
3403
4047
|
|
|
3404
|
-
:param id_instance: (required)
|
|
4048
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3405
4049
|
:type id_instance: str
|
|
4050
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4051
|
+
:type accept_language: AcceptLanguage
|
|
3406
4052
|
:param _request_timeout: timeout setting for this request. If one
|
|
3407
4053
|
number provided, it will be total request
|
|
3408
4054
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3427,6 +4073,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3427
4073
|
|
|
3428
4074
|
_param = self._patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_serialize(
|
|
3429
4075
|
id_instance=id_instance,
|
|
4076
|
+
accept_language=accept_language,
|
|
3430
4077
|
_request_auth=_request_auth,
|
|
3431
4078
|
_content_type=_content_type,
|
|
3432
4079
|
_headers=_headers,
|
|
@@ -3434,10 +4081,17 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3434
4081
|
)
|
|
3435
4082
|
|
|
3436
4083
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3437
|
-
'200': "
|
|
3438
|
-
'
|
|
4084
|
+
'200': "AFNORDirectoryLinePost201Response",
|
|
4085
|
+
'400': None,
|
|
3439
4086
|
'401': None,
|
|
3440
|
-
'
|
|
4087
|
+
'403': None,
|
|
4088
|
+
'404': None,
|
|
4089
|
+
'408': None,
|
|
4090
|
+
'422': None,
|
|
4091
|
+
'429': None,
|
|
4092
|
+
'500': None,
|
|
4093
|
+
'501': None,
|
|
4094
|
+
'503': None,
|
|
3441
4095
|
}
|
|
3442
4096
|
response_data = self.api_client.call_api(
|
|
3443
4097
|
*_param,
|
|
@@ -3449,6 +4103,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3449
4103
|
def _patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_serialize(
|
|
3450
4104
|
self,
|
|
3451
4105
|
id_instance,
|
|
4106
|
+
accept_language,
|
|
3452
4107
|
_request_auth,
|
|
3453
4108
|
_content_type,
|
|
3454
4109
|
_headers,
|
|
@@ -3474,6 +4129,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3474
4129
|
_path_params['id_instance'] = id_instance
|
|
3475
4130
|
# process the query parameters
|
|
3476
4131
|
# process the header parameters
|
|
4132
|
+
if accept_language is not None:
|
|
4133
|
+
_header_params['Accept-Language'] = accept_language
|
|
3477
4134
|
# process the form parameters
|
|
3478
4135
|
# process the body parameter
|
|
3479
4136
|
|
|
@@ -3513,7 +4170,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3513
4170
|
@validate_call
|
|
3514
4171
|
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch(
|
|
3515
4172
|
self,
|
|
3516
|
-
id_instance: StrictStr,
|
|
4173
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4174
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3517
4175
|
_request_timeout: Union[
|
|
3518
4176
|
None,
|
|
3519
4177
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3526,13 +4184,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3526
4184
|
_content_type: Optional[StrictStr] = None,
|
|
3527
4185
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3528
4186
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3529
|
-
) ->
|
|
3530
|
-
"""Partially update a private routing code
|
|
4187
|
+
) -> AFNORRoutingCodePost201Response:
|
|
4188
|
+
"""Partially update a private routing code.
|
|
3531
4189
|
|
|
3532
|
-
Partially update a private routing code
|
|
4190
|
+
Partially update a private routing code.
|
|
3533
4191
|
|
|
3534
|
-
:param id_instance: (required)
|
|
4192
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3535
4193
|
:type id_instance: str
|
|
4194
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4195
|
+
:type accept_language: AcceptLanguage
|
|
3536
4196
|
:param _request_timeout: timeout setting for this request. If one
|
|
3537
4197
|
number provided, it will be total request
|
|
3538
4198
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3557,6 +4217,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3557
4217
|
|
|
3558
4218
|
_param = self._patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_serialize(
|
|
3559
4219
|
id_instance=id_instance,
|
|
4220
|
+
accept_language=accept_language,
|
|
3560
4221
|
_request_auth=_request_auth,
|
|
3561
4222
|
_content_type=_content_type,
|
|
3562
4223
|
_headers=_headers,
|
|
@@ -3564,10 +4225,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3564
4225
|
)
|
|
3565
4226
|
|
|
3566
4227
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3567
|
-
'200': "
|
|
3568
|
-
'
|
|
4228
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4229
|
+
'206': None,
|
|
4230
|
+
'400': None,
|
|
3569
4231
|
'401': None,
|
|
3570
|
-
'
|
|
4232
|
+
'403': None,
|
|
4233
|
+
'404': None,
|
|
4234
|
+
'408': None,
|
|
4235
|
+
'422': None,
|
|
4236
|
+
'429': None,
|
|
4237
|
+
'500': None,
|
|
4238
|
+
'501': None,
|
|
4239
|
+
'503': None,
|
|
3571
4240
|
}
|
|
3572
4241
|
response_data = self.api_client.call_api(
|
|
3573
4242
|
*_param,
|
|
@@ -3583,7 +4252,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3583
4252
|
@validate_call
|
|
3584
4253
|
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(
|
|
3585
4254
|
self,
|
|
3586
|
-
id_instance: StrictStr,
|
|
4255
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4256
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3587
4257
|
_request_timeout: Union[
|
|
3588
4258
|
None,
|
|
3589
4259
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3596,13 +4266,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3596
4266
|
_content_type: Optional[StrictStr] = None,
|
|
3597
4267
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3598
4268
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3599
|
-
) -> ApiResponse[
|
|
3600
|
-
"""Partially update a private routing code
|
|
4269
|
+
) -> ApiResponse[AFNORRoutingCodePost201Response]:
|
|
4270
|
+
"""Partially update a private routing code.
|
|
3601
4271
|
|
|
3602
|
-
Partially update a private routing code
|
|
4272
|
+
Partially update a private routing code.
|
|
3603
4273
|
|
|
3604
|
-
:param id_instance: (required)
|
|
4274
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3605
4275
|
:type id_instance: str
|
|
4276
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4277
|
+
:type accept_language: AcceptLanguage
|
|
3606
4278
|
:param _request_timeout: timeout setting for this request. If one
|
|
3607
4279
|
number provided, it will be total request
|
|
3608
4280
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3627,6 +4299,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3627
4299
|
|
|
3628
4300
|
_param = self._patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_serialize(
|
|
3629
4301
|
id_instance=id_instance,
|
|
4302
|
+
accept_language=accept_language,
|
|
3630
4303
|
_request_auth=_request_auth,
|
|
3631
4304
|
_content_type=_content_type,
|
|
3632
4305
|
_headers=_headers,
|
|
@@ -3634,10 +4307,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3634
4307
|
)
|
|
3635
4308
|
|
|
3636
4309
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3637
|
-
'200': "
|
|
3638
|
-
'
|
|
4310
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4311
|
+
'206': None,
|
|
4312
|
+
'400': None,
|
|
3639
4313
|
'401': None,
|
|
3640
|
-
'
|
|
4314
|
+
'403': None,
|
|
4315
|
+
'404': None,
|
|
4316
|
+
'408': None,
|
|
4317
|
+
'422': None,
|
|
4318
|
+
'429': None,
|
|
4319
|
+
'500': None,
|
|
4320
|
+
'501': None,
|
|
4321
|
+
'503': None,
|
|
3641
4322
|
}
|
|
3642
4323
|
response_data = self.api_client.call_api(
|
|
3643
4324
|
*_param,
|
|
@@ -3653,7 +4334,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3653
4334
|
@validate_call
|
|
3654
4335
|
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_without_preload_content(
|
|
3655
4336
|
self,
|
|
3656
|
-
id_instance: StrictStr,
|
|
4337
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4338
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3657
4339
|
_request_timeout: Union[
|
|
3658
4340
|
None,
|
|
3659
4341
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3667,12 +4349,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3667
4349
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3668
4350
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3669
4351
|
) -> RESTResponseType:
|
|
3670
|
-
"""Partially update a private routing code
|
|
4352
|
+
"""Partially update a private routing code.
|
|
3671
4353
|
|
|
3672
|
-
Partially update a private routing code
|
|
4354
|
+
Partially update a private routing code.
|
|
3673
4355
|
|
|
3674
|
-
:param id_instance: (required)
|
|
4356
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3675
4357
|
:type id_instance: str
|
|
4358
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4359
|
+
:type accept_language: AcceptLanguage
|
|
3676
4360
|
:param _request_timeout: timeout setting for this request. If one
|
|
3677
4361
|
number provided, it will be total request
|
|
3678
4362
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3697,6 +4381,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3697
4381
|
|
|
3698
4382
|
_param = self._patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_serialize(
|
|
3699
4383
|
id_instance=id_instance,
|
|
4384
|
+
accept_language=accept_language,
|
|
3700
4385
|
_request_auth=_request_auth,
|
|
3701
4386
|
_content_type=_content_type,
|
|
3702
4387
|
_headers=_headers,
|
|
@@ -3704,10 +4389,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3704
4389
|
)
|
|
3705
4390
|
|
|
3706
4391
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3707
|
-
'200': "
|
|
3708
|
-
'
|
|
4392
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4393
|
+
'206': None,
|
|
4394
|
+
'400': None,
|
|
3709
4395
|
'401': None,
|
|
3710
|
-
'
|
|
4396
|
+
'403': None,
|
|
4397
|
+
'404': None,
|
|
4398
|
+
'408': None,
|
|
4399
|
+
'422': None,
|
|
4400
|
+
'429': None,
|
|
4401
|
+
'500': None,
|
|
4402
|
+
'501': None,
|
|
4403
|
+
'503': None,
|
|
3711
4404
|
}
|
|
3712
4405
|
response_data = self.api_client.call_api(
|
|
3713
4406
|
*_param,
|
|
@@ -3719,6 +4412,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3719
4412
|
def _patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_serialize(
|
|
3720
4413
|
self,
|
|
3721
4414
|
id_instance,
|
|
4415
|
+
accept_language,
|
|
3722
4416
|
_request_auth,
|
|
3723
4417
|
_content_type,
|
|
3724
4418
|
_headers,
|
|
@@ -3744,6 +4438,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3744
4438
|
_path_params['id_instance'] = id_instance
|
|
3745
4439
|
# process the query parameters
|
|
3746
4440
|
# process the header parameters
|
|
4441
|
+
if accept_language is not None:
|
|
4442
|
+
_header_params['Accept-Language'] = accept_language
|
|
3747
4443
|
# process the form parameters
|
|
3748
4444
|
# process the body parameter
|
|
3749
4445
|
|
|
@@ -3783,7 +4479,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3783
4479
|
@validate_call
|
|
3784
4480
|
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put(
|
|
3785
4481
|
self,
|
|
3786
|
-
id_instance: StrictStr,
|
|
4482
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4483
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3787
4484
|
_request_timeout: Union[
|
|
3788
4485
|
None,
|
|
3789
4486
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3796,13 +4493,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3796
4493
|
_content_type: Optional[StrictStr] = None,
|
|
3797
4494
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3798
4495
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3799
|
-
) ->
|
|
3800
|
-
"""Completely update a private routing code
|
|
4496
|
+
) -> AFNORRoutingCodePost201Response:
|
|
4497
|
+
"""Completely update a private routing code.
|
|
3801
4498
|
|
|
3802
|
-
Completely update a private routing code
|
|
4499
|
+
Completely update a private routing code.
|
|
3803
4500
|
|
|
3804
|
-
:param id_instance: (required)
|
|
4501
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3805
4502
|
:type id_instance: str
|
|
4503
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4504
|
+
:type accept_language: AcceptLanguage
|
|
3806
4505
|
:param _request_timeout: timeout setting for this request. If one
|
|
3807
4506
|
number provided, it will be total request
|
|
3808
4507
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3827,6 +4526,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3827
4526
|
|
|
3828
4527
|
_param = self._put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_serialize(
|
|
3829
4528
|
id_instance=id_instance,
|
|
4529
|
+
accept_language=accept_language,
|
|
3830
4530
|
_request_auth=_request_auth,
|
|
3831
4531
|
_content_type=_content_type,
|
|
3832
4532
|
_headers=_headers,
|
|
@@ -3834,10 +4534,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3834
4534
|
)
|
|
3835
4535
|
|
|
3836
4536
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3837
|
-
'200': "
|
|
3838
|
-
'
|
|
4537
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4538
|
+
'206': None,
|
|
4539
|
+
'400': None,
|
|
3839
4540
|
'401': None,
|
|
3840
|
-
'
|
|
4541
|
+
'403': None,
|
|
4542
|
+
'404': None,
|
|
4543
|
+
'408': None,
|
|
4544
|
+
'422': None,
|
|
4545
|
+
'429': None,
|
|
4546
|
+
'500': None,
|
|
4547
|
+
'501': None,
|
|
4548
|
+
'503': None,
|
|
3841
4549
|
}
|
|
3842
4550
|
response_data = self.api_client.call_api(
|
|
3843
4551
|
*_param,
|
|
@@ -3853,7 +4561,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3853
4561
|
@validate_call
|
|
3854
4562
|
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(
|
|
3855
4563
|
self,
|
|
3856
|
-
id_instance: StrictStr,
|
|
4564
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4565
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3857
4566
|
_request_timeout: Union[
|
|
3858
4567
|
None,
|
|
3859
4568
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3866,13 +4575,15 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3866
4575
|
_content_type: Optional[StrictStr] = None,
|
|
3867
4576
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3868
4577
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3869
|
-
) -> ApiResponse[
|
|
3870
|
-
"""Completely update a private routing code
|
|
4578
|
+
) -> ApiResponse[AFNORRoutingCodePost201Response]:
|
|
4579
|
+
"""Completely update a private routing code.
|
|
3871
4580
|
|
|
3872
|
-
Completely update a private routing code
|
|
4581
|
+
Completely update a private routing code.
|
|
3873
4582
|
|
|
3874
|
-
:param id_instance: (required)
|
|
4583
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3875
4584
|
:type id_instance: str
|
|
4585
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4586
|
+
:type accept_language: AcceptLanguage
|
|
3876
4587
|
:param _request_timeout: timeout setting for this request. If one
|
|
3877
4588
|
number provided, it will be total request
|
|
3878
4589
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3897,6 +4608,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3897
4608
|
|
|
3898
4609
|
_param = self._put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_serialize(
|
|
3899
4610
|
id_instance=id_instance,
|
|
4611
|
+
accept_language=accept_language,
|
|
3900
4612
|
_request_auth=_request_auth,
|
|
3901
4613
|
_content_type=_content_type,
|
|
3902
4614
|
_headers=_headers,
|
|
@@ -3904,10 +4616,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3904
4616
|
)
|
|
3905
4617
|
|
|
3906
4618
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3907
|
-
'200': "
|
|
3908
|
-
'
|
|
4619
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4620
|
+
'206': None,
|
|
4621
|
+
'400': None,
|
|
3909
4622
|
'401': None,
|
|
3910
|
-
'
|
|
4623
|
+
'403': None,
|
|
4624
|
+
'404': None,
|
|
4625
|
+
'408': None,
|
|
4626
|
+
'422': None,
|
|
4627
|
+
'429': None,
|
|
4628
|
+
'500': None,
|
|
4629
|
+
'501': None,
|
|
4630
|
+
'503': None,
|
|
3911
4631
|
}
|
|
3912
4632
|
response_data = self.api_client.call_api(
|
|
3913
4633
|
*_param,
|
|
@@ -3923,7 +4643,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3923
4643
|
@validate_call
|
|
3924
4644
|
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_without_preload_content(
|
|
3925
4645
|
self,
|
|
3926
|
-
id_instance: StrictStr,
|
|
4646
|
+
id_instance: Annotated[StrictStr, Field(description="AFNOR instance ID (UUID)")],
|
|
4647
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
3927
4648
|
_request_timeout: Union[
|
|
3928
4649
|
None,
|
|
3929
4650
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3937,12 +4658,14 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3937
4658
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3938
4659
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3939
4660
|
) -> RESTResponseType:
|
|
3940
|
-
"""Completely update a private routing code
|
|
4661
|
+
"""Completely update a private routing code.
|
|
3941
4662
|
|
|
3942
|
-
Completely update a private routing code
|
|
4663
|
+
Completely update a private routing code.
|
|
3943
4664
|
|
|
3944
|
-
:param id_instance: (required)
|
|
4665
|
+
:param id_instance: AFNOR instance ID (UUID) (required)
|
|
3945
4666
|
:type id_instance: str
|
|
4667
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4668
|
+
:type accept_language: AcceptLanguage
|
|
3946
4669
|
:param _request_timeout: timeout setting for this request. If one
|
|
3947
4670
|
number provided, it will be total request
|
|
3948
4671
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3967,6 +4690,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3967
4690
|
|
|
3968
4691
|
_param = self._put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_serialize(
|
|
3969
4692
|
id_instance=id_instance,
|
|
4693
|
+
accept_language=accept_language,
|
|
3970
4694
|
_request_auth=_request_auth,
|
|
3971
4695
|
_content_type=_content_type,
|
|
3972
4696
|
_headers=_headers,
|
|
@@ -3974,10 +4698,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3974
4698
|
)
|
|
3975
4699
|
|
|
3976
4700
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3977
|
-
'200': "
|
|
3978
|
-
'
|
|
4701
|
+
'200': "AFNORRoutingCodePost201Response",
|
|
4702
|
+
'206': None,
|
|
4703
|
+
'400': None,
|
|
3979
4704
|
'401': None,
|
|
3980
|
-
'
|
|
4705
|
+
'403': None,
|
|
4706
|
+
'404': None,
|
|
4707
|
+
'408': None,
|
|
4708
|
+
'422': None,
|
|
4709
|
+
'429': None,
|
|
4710
|
+
'500': None,
|
|
4711
|
+
'501': None,
|
|
4712
|
+
'503': None,
|
|
3981
4713
|
}
|
|
3982
4714
|
response_data = self.api_client.call_api(
|
|
3983
4715
|
*_param,
|
|
@@ -3989,6 +4721,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
3989
4721
|
def _put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_serialize(
|
|
3990
4722
|
self,
|
|
3991
4723
|
id_instance,
|
|
4724
|
+
accept_language,
|
|
3992
4725
|
_request_auth,
|
|
3993
4726
|
_content_type,
|
|
3994
4727
|
_headers,
|
|
@@ -4014,6 +4747,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4014
4747
|
_path_params['id_instance'] = id_instance
|
|
4015
4748
|
# process the query parameters
|
|
4016
4749
|
# process the header parameters
|
|
4750
|
+
if accept_language is not None:
|
|
4751
|
+
_header_params['Accept-Language'] = accept_language
|
|
4017
4752
|
# process the form parameters
|
|
4018
4753
|
# process the body parameter
|
|
4019
4754
|
|
|
@@ -4053,6 +4788,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4053
4788
|
@validate_call
|
|
4054
4789
|
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post(
|
|
4055
4790
|
self,
|
|
4791
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4056
4792
|
_request_timeout: Union[
|
|
4057
4793
|
None,
|
|
4058
4794
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4065,11 +4801,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4065
4801
|
_content_type: Optional[StrictStr] = None,
|
|
4066
4802
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4067
4803
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4068
|
-
) ->
|
|
4804
|
+
) -> AFNORDirectoryLineSearchPost200Response:
|
|
4069
4805
|
"""Search for a directory line
|
|
4070
4806
|
|
|
4071
|
-
Search for directory lines
|
|
4807
|
+
Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
4072
4808
|
|
|
4809
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4810
|
+
:type accept_language: AcceptLanguage
|
|
4073
4811
|
:param _request_timeout: timeout setting for this request. If one
|
|
4074
4812
|
number provided, it will be total request
|
|
4075
4813
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4093,6 +4831,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4093
4831
|
""" # noqa: E501
|
|
4094
4832
|
|
|
4095
4833
|
_param = self._search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_serialize(
|
|
4834
|
+
accept_language=accept_language,
|
|
4096
4835
|
_request_auth=_request_auth,
|
|
4097
4836
|
_content_type=_content_type,
|
|
4098
4837
|
_headers=_headers,
|
|
@@ -4100,8 +4839,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4100
4839
|
)
|
|
4101
4840
|
|
|
4102
4841
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4103
|
-
'200': "
|
|
4842
|
+
'200': "AFNORDirectoryLineSearchPost200Response",
|
|
4843
|
+
'206': "AFNORDirectoryLineSearchPost200Response",
|
|
4844
|
+
'400': None,
|
|
4104
4845
|
'401': None,
|
|
4846
|
+
'403': None,
|
|
4847
|
+
'404': None,
|
|
4848
|
+
'408': None,
|
|
4849
|
+
'422': None,
|
|
4850
|
+
'429': None,
|
|
4851
|
+
'500': None,
|
|
4852
|
+
'501': None,
|
|
4853
|
+
'503': None,
|
|
4105
4854
|
}
|
|
4106
4855
|
response_data = self.api_client.call_api(
|
|
4107
4856
|
*_param,
|
|
@@ -4117,6 +4866,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4117
4866
|
@validate_call
|
|
4118
4867
|
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(
|
|
4119
4868
|
self,
|
|
4869
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4120
4870
|
_request_timeout: Union[
|
|
4121
4871
|
None,
|
|
4122
4872
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4129,11 +4879,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4129
4879
|
_content_type: Optional[StrictStr] = None,
|
|
4130
4880
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4131
4881
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4132
|
-
) -> ApiResponse[
|
|
4882
|
+
) -> ApiResponse[AFNORDirectoryLineSearchPost200Response]:
|
|
4133
4883
|
"""Search for a directory line
|
|
4134
4884
|
|
|
4135
|
-
Search for directory lines
|
|
4885
|
+
Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
4136
4886
|
|
|
4887
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4888
|
+
:type accept_language: AcceptLanguage
|
|
4137
4889
|
:param _request_timeout: timeout setting for this request. If one
|
|
4138
4890
|
number provided, it will be total request
|
|
4139
4891
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4157,6 +4909,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4157
4909
|
""" # noqa: E501
|
|
4158
4910
|
|
|
4159
4911
|
_param = self._search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_serialize(
|
|
4912
|
+
accept_language=accept_language,
|
|
4160
4913
|
_request_auth=_request_auth,
|
|
4161
4914
|
_content_type=_content_type,
|
|
4162
4915
|
_headers=_headers,
|
|
@@ -4164,8 +4917,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4164
4917
|
)
|
|
4165
4918
|
|
|
4166
4919
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4167
|
-
'200': "
|
|
4920
|
+
'200': "AFNORDirectoryLineSearchPost200Response",
|
|
4921
|
+
'206': "AFNORDirectoryLineSearchPost200Response",
|
|
4922
|
+
'400': None,
|
|
4168
4923
|
'401': None,
|
|
4924
|
+
'403': None,
|
|
4925
|
+
'404': None,
|
|
4926
|
+
'408': None,
|
|
4927
|
+
'422': None,
|
|
4928
|
+
'429': None,
|
|
4929
|
+
'500': None,
|
|
4930
|
+
'501': None,
|
|
4931
|
+
'503': None,
|
|
4169
4932
|
}
|
|
4170
4933
|
response_data = self.api_client.call_api(
|
|
4171
4934
|
*_param,
|
|
@@ -4181,6 +4944,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4181
4944
|
@validate_call
|
|
4182
4945
|
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_without_preload_content(
|
|
4183
4946
|
self,
|
|
4947
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4184
4948
|
_request_timeout: Union[
|
|
4185
4949
|
None,
|
|
4186
4950
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4196,8 +4960,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4196
4960
|
) -> RESTResponseType:
|
|
4197
4961
|
"""Search for a directory line
|
|
4198
4962
|
|
|
4199
|
-
Search for directory lines
|
|
4963
|
+
Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
4200
4964
|
|
|
4965
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
4966
|
+
:type accept_language: AcceptLanguage
|
|
4201
4967
|
:param _request_timeout: timeout setting for this request. If one
|
|
4202
4968
|
number provided, it will be total request
|
|
4203
4969
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4221,6 +4987,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4221
4987
|
""" # noqa: E501
|
|
4222
4988
|
|
|
4223
4989
|
_param = self._search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_serialize(
|
|
4990
|
+
accept_language=accept_language,
|
|
4224
4991
|
_request_auth=_request_auth,
|
|
4225
4992
|
_content_type=_content_type,
|
|
4226
4993
|
_headers=_headers,
|
|
@@ -4228,8 +4995,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4228
4995
|
)
|
|
4229
4996
|
|
|
4230
4997
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4231
|
-
'200': "
|
|
4998
|
+
'200': "AFNORDirectoryLineSearchPost200Response",
|
|
4999
|
+
'206': "AFNORDirectoryLineSearchPost200Response",
|
|
5000
|
+
'400': None,
|
|
4232
5001
|
'401': None,
|
|
5002
|
+
'403': None,
|
|
5003
|
+
'404': None,
|
|
5004
|
+
'408': None,
|
|
5005
|
+
'422': None,
|
|
5006
|
+
'429': None,
|
|
5007
|
+
'500': None,
|
|
5008
|
+
'501': None,
|
|
5009
|
+
'503': None,
|
|
4233
5010
|
}
|
|
4234
5011
|
response_data = self.api_client.call_api(
|
|
4235
5012
|
*_param,
|
|
@@ -4240,6 +5017,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4240
5017
|
|
|
4241
5018
|
def _search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_serialize(
|
|
4242
5019
|
self,
|
|
5020
|
+
accept_language,
|
|
4243
5021
|
_request_auth,
|
|
4244
5022
|
_content_type,
|
|
4245
5023
|
_headers,
|
|
@@ -4263,6 +5041,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4263
5041
|
# process the path parameters
|
|
4264
5042
|
# process the query parameters
|
|
4265
5043
|
# process the header parameters
|
|
5044
|
+
if accept_language is not None:
|
|
5045
|
+
_header_params['Accept-Language'] = accept_language
|
|
4266
5046
|
# process the form parameters
|
|
4267
5047
|
# process the body parameter
|
|
4268
5048
|
|
|
@@ -4302,6 +5082,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4302
5082
|
@validate_call
|
|
4303
5083
|
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post(
|
|
4304
5084
|
self,
|
|
5085
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4305
5086
|
_request_timeout: Union[
|
|
4306
5087
|
None,
|
|
4307
5088
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4314,11 +5095,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4314
5095
|
_content_type: Optional[StrictStr] = None,
|
|
4315
5096
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4316
5097
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4317
|
-
) ->
|
|
5098
|
+
) -> AFNORRoutingCodeSearchPost200Response:
|
|
4318
5099
|
"""Search for a routing code
|
|
4319
5100
|
|
|
4320
|
-
Search for routing codes
|
|
5101
|
+
Search for routing codes that meet all the criteria passed as parameters and return the routing codes in the desired format.
|
|
4321
5102
|
|
|
5103
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5104
|
+
:type accept_language: AcceptLanguage
|
|
4322
5105
|
:param _request_timeout: timeout setting for this request. If one
|
|
4323
5106
|
number provided, it will be total request
|
|
4324
5107
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4342,6 +5125,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4342
5125
|
""" # noqa: E501
|
|
4343
5126
|
|
|
4344
5127
|
_param = self._search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_serialize(
|
|
5128
|
+
accept_language=accept_language,
|
|
4345
5129
|
_request_auth=_request_auth,
|
|
4346
5130
|
_content_type=_content_type,
|
|
4347
5131
|
_headers=_headers,
|
|
@@ -4349,8 +5133,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4349
5133
|
)
|
|
4350
5134
|
|
|
4351
5135
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4352
|
-
'200': "
|
|
5136
|
+
'200': "AFNORRoutingCodeSearchPost200Response",
|
|
5137
|
+
'206': "AFNORRoutingCodeSearchPost200Response",
|
|
5138
|
+
'400': None,
|
|
4353
5139
|
'401': None,
|
|
5140
|
+
'403': None,
|
|
5141
|
+
'404': None,
|
|
5142
|
+
'408': None,
|
|
5143
|
+
'422': None,
|
|
5144
|
+
'429': None,
|
|
5145
|
+
'500': None,
|
|
5146
|
+
'501': None,
|
|
5147
|
+
'503': None,
|
|
4354
5148
|
}
|
|
4355
5149
|
response_data = self.api_client.call_api(
|
|
4356
5150
|
*_param,
|
|
@@ -4366,6 +5160,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4366
5160
|
@validate_call
|
|
4367
5161
|
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(
|
|
4368
5162
|
self,
|
|
5163
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4369
5164
|
_request_timeout: Union[
|
|
4370
5165
|
None,
|
|
4371
5166
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4378,11 +5173,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4378
5173
|
_content_type: Optional[StrictStr] = None,
|
|
4379
5174
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4380
5175
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4381
|
-
) -> ApiResponse[
|
|
5176
|
+
) -> ApiResponse[AFNORRoutingCodeSearchPost200Response]:
|
|
4382
5177
|
"""Search for a routing code
|
|
4383
5178
|
|
|
4384
|
-
Search for routing codes
|
|
5179
|
+
Search for routing codes that meet all the criteria passed as parameters and return the routing codes in the desired format.
|
|
4385
5180
|
|
|
5181
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5182
|
+
:type accept_language: AcceptLanguage
|
|
4386
5183
|
:param _request_timeout: timeout setting for this request. If one
|
|
4387
5184
|
number provided, it will be total request
|
|
4388
5185
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4406,6 +5203,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4406
5203
|
""" # noqa: E501
|
|
4407
5204
|
|
|
4408
5205
|
_param = self._search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_serialize(
|
|
5206
|
+
accept_language=accept_language,
|
|
4409
5207
|
_request_auth=_request_auth,
|
|
4410
5208
|
_content_type=_content_type,
|
|
4411
5209
|
_headers=_headers,
|
|
@@ -4413,8 +5211,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4413
5211
|
)
|
|
4414
5212
|
|
|
4415
5213
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4416
|
-
'200': "
|
|
5214
|
+
'200': "AFNORRoutingCodeSearchPost200Response",
|
|
5215
|
+
'206': "AFNORRoutingCodeSearchPost200Response",
|
|
5216
|
+
'400': None,
|
|
4417
5217
|
'401': None,
|
|
5218
|
+
'403': None,
|
|
5219
|
+
'404': None,
|
|
5220
|
+
'408': None,
|
|
5221
|
+
'422': None,
|
|
5222
|
+
'429': None,
|
|
5223
|
+
'500': None,
|
|
5224
|
+
'501': None,
|
|
5225
|
+
'503': None,
|
|
4418
5226
|
}
|
|
4419
5227
|
response_data = self.api_client.call_api(
|
|
4420
5228
|
*_param,
|
|
@@ -4430,6 +5238,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4430
5238
|
@validate_call
|
|
4431
5239
|
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_without_preload_content(
|
|
4432
5240
|
self,
|
|
5241
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4433
5242
|
_request_timeout: Union[
|
|
4434
5243
|
None,
|
|
4435
5244
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4445,8 +5254,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4445
5254
|
) -> RESTResponseType:
|
|
4446
5255
|
"""Search for a routing code
|
|
4447
5256
|
|
|
4448
|
-
Search for routing codes
|
|
5257
|
+
Search for routing codes that meet all the criteria passed as parameters and return the routing codes in the desired format.
|
|
4449
5258
|
|
|
5259
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5260
|
+
:type accept_language: AcceptLanguage
|
|
4450
5261
|
:param _request_timeout: timeout setting for this request. If one
|
|
4451
5262
|
number provided, it will be total request
|
|
4452
5263
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4470,6 +5281,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4470
5281
|
""" # noqa: E501
|
|
4471
5282
|
|
|
4472
5283
|
_param = self._search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_serialize(
|
|
5284
|
+
accept_language=accept_language,
|
|
4473
5285
|
_request_auth=_request_auth,
|
|
4474
5286
|
_content_type=_content_type,
|
|
4475
5287
|
_headers=_headers,
|
|
@@ -4477,8 +5289,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4477
5289
|
)
|
|
4478
5290
|
|
|
4479
5291
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4480
|
-
'200': "
|
|
5292
|
+
'200': "AFNORRoutingCodeSearchPost200Response",
|
|
5293
|
+
'206': "AFNORRoutingCodeSearchPost200Response",
|
|
5294
|
+
'400': None,
|
|
4481
5295
|
'401': None,
|
|
5296
|
+
'403': None,
|
|
5297
|
+
'404': None,
|
|
5298
|
+
'408': None,
|
|
5299
|
+
'422': None,
|
|
5300
|
+
'429': None,
|
|
5301
|
+
'500': None,
|
|
5302
|
+
'501': None,
|
|
5303
|
+
'503': None,
|
|
4482
5304
|
}
|
|
4483
5305
|
response_data = self.api_client.call_api(
|
|
4484
5306
|
*_param,
|
|
@@ -4489,6 +5311,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4489
5311
|
|
|
4490
5312
|
def _search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_serialize(
|
|
4491
5313
|
self,
|
|
5314
|
+
accept_language,
|
|
4492
5315
|
_request_auth,
|
|
4493
5316
|
_content_type,
|
|
4494
5317
|
_headers,
|
|
@@ -4512,6 +5335,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4512
5335
|
# process the path parameters
|
|
4513
5336
|
# process the query parameters
|
|
4514
5337
|
# process the header parameters
|
|
5338
|
+
if accept_language is not None:
|
|
5339
|
+
_header_params['Accept-Language'] = accept_language
|
|
4515
5340
|
# process the form parameters
|
|
4516
5341
|
# process the body parameter
|
|
4517
5342
|
|
|
@@ -4551,6 +5376,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4551
5376
|
@validate_call
|
|
4552
5377
|
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post(
|
|
4553
5378
|
self,
|
|
5379
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4554
5380
|
_request_timeout: Union[
|
|
4555
5381
|
None,
|
|
4556
5382
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4563,11 +5389,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4563
5389
|
_content_type: Optional[StrictStr] = None,
|
|
4564
5390
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4565
5391
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4566
|
-
) ->
|
|
5392
|
+
) -> AFNORSirenSearchPost200Response:
|
|
4567
5393
|
"""SIREN search (or legal unit)
|
|
4568
5394
|
|
|
4569
|
-
Multi-criteria search
|
|
5395
|
+
Multi-criteria company search.
|
|
4570
5396
|
|
|
5397
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5398
|
+
:type accept_language: AcceptLanguage
|
|
4571
5399
|
:param _request_timeout: timeout setting for this request. If one
|
|
4572
5400
|
number provided, it will be total request
|
|
4573
5401
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4591,6 +5419,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4591
5419
|
""" # noqa: E501
|
|
4592
5420
|
|
|
4593
5421
|
_param = self._search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_serialize(
|
|
5422
|
+
accept_language=accept_language,
|
|
4594
5423
|
_request_auth=_request_auth,
|
|
4595
5424
|
_content_type=_content_type,
|
|
4596
5425
|
_headers=_headers,
|
|
@@ -4598,8 +5427,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4598
5427
|
)
|
|
4599
5428
|
|
|
4600
5429
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4601
|
-
'200': "
|
|
5430
|
+
'200': "AFNORSirenSearchPost200Response",
|
|
5431
|
+
'206': "AFNORSirenSearchPost200Response",
|
|
5432
|
+
'400': None,
|
|
4602
5433
|
'401': None,
|
|
5434
|
+
'403': None,
|
|
5435
|
+
'404': None,
|
|
5436
|
+
'408': None,
|
|
5437
|
+
'422': None,
|
|
5438
|
+
'429': None,
|
|
5439
|
+
'500': None,
|
|
5440
|
+
'501': None,
|
|
5441
|
+
'503': None,
|
|
4603
5442
|
}
|
|
4604
5443
|
response_data = self.api_client.call_api(
|
|
4605
5444
|
*_param,
|
|
@@ -4615,6 +5454,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4615
5454
|
@validate_call
|
|
4616
5455
|
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(
|
|
4617
5456
|
self,
|
|
5457
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4618
5458
|
_request_timeout: Union[
|
|
4619
5459
|
None,
|
|
4620
5460
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4627,11 +5467,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4627
5467
|
_content_type: Optional[StrictStr] = None,
|
|
4628
5468
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4629
5469
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4630
|
-
) -> ApiResponse[
|
|
5470
|
+
) -> ApiResponse[AFNORSirenSearchPost200Response]:
|
|
4631
5471
|
"""SIREN search (or legal unit)
|
|
4632
5472
|
|
|
4633
|
-
Multi-criteria search
|
|
5473
|
+
Multi-criteria company search.
|
|
4634
5474
|
|
|
5475
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5476
|
+
:type accept_language: AcceptLanguage
|
|
4635
5477
|
:param _request_timeout: timeout setting for this request. If one
|
|
4636
5478
|
number provided, it will be total request
|
|
4637
5479
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4655,6 +5497,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4655
5497
|
""" # noqa: E501
|
|
4656
5498
|
|
|
4657
5499
|
_param = self._search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_serialize(
|
|
5500
|
+
accept_language=accept_language,
|
|
4658
5501
|
_request_auth=_request_auth,
|
|
4659
5502
|
_content_type=_content_type,
|
|
4660
5503
|
_headers=_headers,
|
|
@@ -4662,8 +5505,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4662
5505
|
)
|
|
4663
5506
|
|
|
4664
5507
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4665
|
-
'200': "
|
|
5508
|
+
'200': "AFNORSirenSearchPost200Response",
|
|
5509
|
+
'206': "AFNORSirenSearchPost200Response",
|
|
5510
|
+
'400': None,
|
|
4666
5511
|
'401': None,
|
|
5512
|
+
'403': None,
|
|
5513
|
+
'404': None,
|
|
5514
|
+
'408': None,
|
|
5515
|
+
'422': None,
|
|
5516
|
+
'429': None,
|
|
5517
|
+
'500': None,
|
|
5518
|
+
'501': None,
|
|
5519
|
+
'503': None,
|
|
4667
5520
|
}
|
|
4668
5521
|
response_data = self.api_client.call_api(
|
|
4669
5522
|
*_param,
|
|
@@ -4679,6 +5532,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4679
5532
|
@validate_call
|
|
4680
5533
|
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_without_preload_content(
|
|
4681
5534
|
self,
|
|
5535
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4682
5536
|
_request_timeout: Union[
|
|
4683
5537
|
None,
|
|
4684
5538
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4694,8 +5548,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4694
5548
|
) -> RESTResponseType:
|
|
4695
5549
|
"""SIREN search (or legal unit)
|
|
4696
5550
|
|
|
4697
|
-
Multi-criteria search
|
|
5551
|
+
Multi-criteria company search.
|
|
4698
5552
|
|
|
5553
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5554
|
+
:type accept_language: AcceptLanguage
|
|
4699
5555
|
:param _request_timeout: timeout setting for this request. If one
|
|
4700
5556
|
number provided, it will be total request
|
|
4701
5557
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4719,6 +5575,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4719
5575
|
""" # noqa: E501
|
|
4720
5576
|
|
|
4721
5577
|
_param = self._search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_serialize(
|
|
5578
|
+
accept_language=accept_language,
|
|
4722
5579
|
_request_auth=_request_auth,
|
|
4723
5580
|
_content_type=_content_type,
|
|
4724
5581
|
_headers=_headers,
|
|
@@ -4726,8 +5583,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4726
5583
|
)
|
|
4727
5584
|
|
|
4728
5585
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4729
|
-
'200': "
|
|
5586
|
+
'200': "AFNORSirenSearchPost200Response",
|
|
5587
|
+
'206': "AFNORSirenSearchPost200Response",
|
|
5588
|
+
'400': None,
|
|
4730
5589
|
'401': None,
|
|
5590
|
+
'403': None,
|
|
5591
|
+
'404': None,
|
|
5592
|
+
'408': None,
|
|
5593
|
+
'422': None,
|
|
5594
|
+
'429': None,
|
|
5595
|
+
'500': None,
|
|
5596
|
+
'501': None,
|
|
5597
|
+
'503': None,
|
|
4731
5598
|
}
|
|
4732
5599
|
response_data = self.api_client.call_api(
|
|
4733
5600
|
*_param,
|
|
@@ -4738,6 +5605,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4738
5605
|
|
|
4739
5606
|
def _search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_serialize(
|
|
4740
5607
|
self,
|
|
5608
|
+
accept_language,
|
|
4741
5609
|
_request_auth,
|
|
4742
5610
|
_content_type,
|
|
4743
5611
|
_headers,
|
|
@@ -4761,6 +5629,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4761
5629
|
# process the path parameters
|
|
4762
5630
|
# process the query parameters
|
|
4763
5631
|
# process the header parameters
|
|
5632
|
+
if accept_language is not None:
|
|
5633
|
+
_header_params['Accept-Language'] = accept_language
|
|
4764
5634
|
# process the form parameters
|
|
4765
5635
|
# process the body parameter
|
|
4766
5636
|
|
|
@@ -4800,6 +5670,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4800
5670
|
@validate_call
|
|
4801
5671
|
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post(
|
|
4802
5672
|
self,
|
|
5673
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4803
5674
|
_request_timeout: Union[
|
|
4804
5675
|
None,
|
|
4805
5676
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4812,11 +5683,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4812
5683
|
_content_type: Optional[StrictStr] = None,
|
|
4813
5684
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4814
5685
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4815
|
-
) ->
|
|
5686
|
+
) -> AFNORSiretSearchPost200Response:
|
|
4816
5687
|
"""Search for a SIRET (facility)
|
|
4817
5688
|
|
|
4818
|
-
Multi-criteria search for
|
|
5689
|
+
Multi-criteria search for facilities.
|
|
4819
5690
|
|
|
5691
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5692
|
+
:type accept_language: AcceptLanguage
|
|
4820
5693
|
:param _request_timeout: timeout setting for this request. If one
|
|
4821
5694
|
number provided, it will be total request
|
|
4822
5695
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4840,6 +5713,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4840
5713
|
""" # noqa: E501
|
|
4841
5714
|
|
|
4842
5715
|
_param = self._search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_serialize(
|
|
5716
|
+
accept_language=accept_language,
|
|
4843
5717
|
_request_auth=_request_auth,
|
|
4844
5718
|
_content_type=_content_type,
|
|
4845
5719
|
_headers=_headers,
|
|
@@ -4847,8 +5721,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4847
5721
|
)
|
|
4848
5722
|
|
|
4849
5723
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4850
|
-
'200': "
|
|
5724
|
+
'200': "AFNORSiretSearchPost200Response",
|
|
5725
|
+
'206': "AFNORSiretSearchPost200Response",
|
|
5726
|
+
'400': None,
|
|
4851
5727
|
'401': None,
|
|
5728
|
+
'403': None,
|
|
5729
|
+
'404': None,
|
|
5730
|
+
'408': None,
|
|
5731
|
+
'422': None,
|
|
5732
|
+
'429': None,
|
|
5733
|
+
'500': None,
|
|
5734
|
+
'501': None,
|
|
5735
|
+
'503': None,
|
|
4852
5736
|
}
|
|
4853
5737
|
response_data = self.api_client.call_api(
|
|
4854
5738
|
*_param,
|
|
@@ -4864,6 +5748,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4864
5748
|
@validate_call
|
|
4865
5749
|
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(
|
|
4866
5750
|
self,
|
|
5751
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4867
5752
|
_request_timeout: Union[
|
|
4868
5753
|
None,
|
|
4869
5754
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4876,11 +5761,13 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4876
5761
|
_content_type: Optional[StrictStr] = None,
|
|
4877
5762
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4878
5763
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4879
|
-
) -> ApiResponse[
|
|
5764
|
+
) -> ApiResponse[AFNORSiretSearchPost200Response]:
|
|
4880
5765
|
"""Search for a SIRET (facility)
|
|
4881
5766
|
|
|
4882
|
-
Multi-criteria search for
|
|
5767
|
+
Multi-criteria search for facilities.
|
|
4883
5768
|
|
|
5769
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5770
|
+
:type accept_language: AcceptLanguage
|
|
4884
5771
|
:param _request_timeout: timeout setting for this request. If one
|
|
4885
5772
|
number provided, it will be total request
|
|
4886
5773
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4904,6 +5791,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4904
5791
|
""" # noqa: E501
|
|
4905
5792
|
|
|
4906
5793
|
_param = self._search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_serialize(
|
|
5794
|
+
accept_language=accept_language,
|
|
4907
5795
|
_request_auth=_request_auth,
|
|
4908
5796
|
_content_type=_content_type,
|
|
4909
5797
|
_headers=_headers,
|
|
@@ -4911,8 +5799,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4911
5799
|
)
|
|
4912
5800
|
|
|
4913
5801
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4914
|
-
'200': "
|
|
5802
|
+
'200': "AFNORSiretSearchPost200Response",
|
|
5803
|
+
'206': "AFNORSiretSearchPost200Response",
|
|
5804
|
+
'400': None,
|
|
4915
5805
|
'401': None,
|
|
5806
|
+
'403': None,
|
|
5807
|
+
'404': None,
|
|
5808
|
+
'408': None,
|
|
5809
|
+
'422': None,
|
|
5810
|
+
'429': None,
|
|
5811
|
+
'500': None,
|
|
5812
|
+
'501': None,
|
|
5813
|
+
'503': None,
|
|
4916
5814
|
}
|
|
4917
5815
|
response_data = self.api_client.call_api(
|
|
4918
5816
|
*_param,
|
|
@@ -4928,6 +5826,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4928
5826
|
@validate_call
|
|
4929
5827
|
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_without_preload_content(
|
|
4930
5828
|
self,
|
|
5829
|
+
accept_language: Annotated[Optional[Any], Field(description="Specifies the language in which the resource is requested.")] = None,
|
|
4931
5830
|
_request_timeout: Union[
|
|
4932
5831
|
None,
|
|
4933
5832
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4943,8 +5842,10 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4943
5842
|
) -> RESTResponseType:
|
|
4944
5843
|
"""Search for a SIRET (facility)
|
|
4945
5844
|
|
|
4946
|
-
Multi-criteria search for
|
|
5845
|
+
Multi-criteria search for facilities.
|
|
4947
5846
|
|
|
5847
|
+
:param accept_language: Specifies the language in which the resource is requested.
|
|
5848
|
+
:type accept_language: AcceptLanguage
|
|
4948
5849
|
:param _request_timeout: timeout setting for this request. If one
|
|
4949
5850
|
number provided, it will be total request
|
|
4950
5851
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4968,6 +5869,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4968
5869
|
""" # noqa: E501
|
|
4969
5870
|
|
|
4970
5871
|
_param = self._search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_serialize(
|
|
5872
|
+
accept_language=accept_language,
|
|
4971
5873
|
_request_auth=_request_auth,
|
|
4972
5874
|
_content_type=_content_type,
|
|
4973
5875
|
_headers=_headers,
|
|
@@ -4975,8 +5877,18 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4975
5877
|
)
|
|
4976
5878
|
|
|
4977
5879
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4978
|
-
'200': "
|
|
5880
|
+
'200': "AFNORSiretSearchPost200Response",
|
|
5881
|
+
'206': "AFNORSiretSearchPost200Response",
|
|
5882
|
+
'400': None,
|
|
4979
5883
|
'401': None,
|
|
5884
|
+
'403': None,
|
|
5885
|
+
'404': None,
|
|
5886
|
+
'408': None,
|
|
5887
|
+
'422': None,
|
|
5888
|
+
'429': None,
|
|
5889
|
+
'500': None,
|
|
5890
|
+
'501': None,
|
|
5891
|
+
'503': None,
|
|
4980
5892
|
}
|
|
4981
5893
|
response_data = self.api_client.call_api(
|
|
4982
5894
|
*_param,
|
|
@@ -4987,6 +5899,7 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
4987
5899
|
|
|
4988
5900
|
def _search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_serialize(
|
|
4989
5901
|
self,
|
|
5902
|
+
accept_language,
|
|
4990
5903
|
_request_auth,
|
|
4991
5904
|
_content_type,
|
|
4992
5905
|
_headers,
|
|
@@ -5010,6 +5923,8 @@ class AFNORPDPPADirectoryServiceApi:
|
|
|
5010
5923
|
# process the path parameters
|
|
5011
5924
|
# process the query parameters
|
|
5012
5925
|
# process the header parameters
|
|
5926
|
+
if accept_language is not None:
|
|
5927
|
+
_header_params['Accept-Language'] = accept_language
|
|
5013
5928
|
# process the form parameters
|
|
5014
5929
|
# process the body parameter
|
|
5015
5930
|
|