factpulse 3.0.10 → 3.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/Gemfile.lock +3 -3
- data/LICENSE +1 -1
- data/docs/AFNORAcknowledgement.md +20 -0
- data/docs/AFNORAcknowledgementDetail.md +24 -0
- data/docs/AFNORAddressEdit.md +30 -0
- data/docs/AFNORAddressPatch.md +30 -0
- data/docs/AFNORAddressPut.md +30 -0
- data/docs/AFNORAddressRead.md +32 -0
- data/docs/{ValidationErrorLocInner.md → AFNORAlgorithm.md} +2 -2
- data/docs/AFNORContainsOperator.md +15 -0
- data/docs/AFNORCreateDirectoryLineBody.md +20 -0
- data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +24 -0
- data/docs/AFNORCreateDirectoryLineBodyPeriod.md +20 -0
- data/docs/AFNORCreateRoutingCodeBody.md +32 -0
- data/docs/AFNORDestination.md +4 -2
- data/docs/AFNORDiffusionStatus.md +15 -0
- data/docs/AFNORDirectoryLineField.md +15 -0
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md +32 -0
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +20 -0
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodeRoutingCode.md +28 -0
- data/docs/AFNORDirectoryLinePost201Response.md +22 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +22 -0
- data/docs/AFNOREntityType.md +15 -0
- data/docs/AFNORError.md +26 -0
- data/docs/AFNORFacilityAdministrativeStatus.md +15 -0
- data/docs/AFNORFacilityNature.md +15 -0
- data/docs/AFNORFacilityPayloadHistory.md +34 -0
- data/docs/AFNORFacilityPayloadHistoryUleB2gAdditionalData.md +28 -0
- data/docs/AFNORFacilityPayloadIncluded.md +32 -0
- data/docs/AFNORFacilityType.md +15 -0
- data/docs/AFNORFlow.md +38 -0
- data/docs/AFNORFlowAckStatus.md +15 -0
- data/docs/AFNORFlowDirection.md +15 -0
- data/docs/AFNORFlowInfo.md +28 -0
- data/docs/AFNORFlowProfile.md +15 -0
- data/docs/AFNORFlowSyntax.md +15 -0
- data/docs/AFNORFlowType.md +15 -0
- data/docs/AFNORFullFlowInfo.md +32 -0
- data/docs/AFNORLegalUnitAdministrativeStatus.md +15 -0
- data/docs/AFNORLegalUnitPayloadHistory.md +24 -0
- data/docs/AFNORLegalUnitPayloadIncluded.md +24 -0
- data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +22 -0
- data/docs/AFNORPDPPAApi.md +5 -5
- data/docs/AFNORPDPPADirectoryServiceApi.md +278 -178
- data/docs/AFNORPDPPAFlowServiceApi.md +39 -27
- data/docs/AFNORPlatformStatus.md +15 -0
- data/docs/AFNORProcessingRule.md +15 -0
- data/docs/AFNORReasonCode.md +49 -0
- data/docs/AFNORReasonCodeEnum.md +15 -0
- data/docs/AFNORRecipientPlatformType.md +15 -0
- data/docs/AFNORResult.md +7 -1
- data/docs/AFNORRoutingCodeAdministrativeStatus.md +15 -0
- data/docs/AFNORRoutingCodeField.md +15 -0
- data/docs/AFNORRoutingCodePayloadHistoryLegalUnitFacility.md +34 -0
- data/docs/AFNORRoutingCodePost201Response.md +22 -0
- data/docs/AFNORRoutingCodeSearch.md +28 -0
- data/docs/AFNORRoutingCodeSearchFilters.md +30 -0
- data/docs/AFNORRoutingCodeSearchFiltersAdministrativeStatus.md +20 -0
- data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +20 -0
- data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +20 -0
- data/docs/AFNORRoutingCodeSearchPost200Response.md +22 -0
- data/docs/AFNORRoutingCodeSearchSortingInner.md +20 -0
- data/docs/AFNORSearchDirectoryLine.md +26 -0
- data/docs/AFNORSearchDirectoryLineFilters.md +26 -0
- data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +20 -0
- data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +20 -0
- data/docs/AFNORSearchDirectoryLineSortingInner.md +20 -0
- data/docs/AFNORSearchFlowContent.md +22 -0
- data/docs/AFNORSearchFlowFilters.md +30 -0
- data/docs/AFNORSearchFlowParams.md +20 -0
- data/docs/AFNORSearchSiren.md +26 -0
- data/docs/AFNORSearchSirenFilters.md +24 -0
- data/docs/AFNORSearchSirenFiltersAdministrativeStatus.md +20 -0
- data/docs/AFNORSearchSirenFiltersBusinessName.md +20 -0
- data/docs/AFNORSearchSirenFiltersEntityType.md +20 -0
- data/docs/AFNORSearchSirenFiltersSiren.md +20 -0
- data/docs/AFNORSearchSirenSortingInner.md +20 -0
- data/docs/AFNORSearchSiret.md +28 -0
- data/docs/AFNORSearchSiretFilters.md +34 -0
- data/docs/AFNORSearchSiretFiltersAddressLines.md +20 -0
- data/docs/AFNORSearchSiretFiltersAdministrativeStatus.md +20 -0
- data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +20 -0
- data/docs/AFNORSearchSiretFiltersFacilityType.md +20 -0
- data/docs/AFNORSearchSiretFiltersLocality.md +20 -0
- data/docs/AFNORSearchSiretFiltersName.md +20 -0
- data/docs/AFNORSearchSiretFiltersPostalCode.md +20 -0
- data/docs/AFNORSearchSiretFiltersSiret.md +20 -0
- data/docs/AFNORSearchSiretSortingInner.md +20 -0
- data/docs/AFNORSirenField.md +15 -0
- data/docs/AFNORSirenSearchPost200Response.md +22 -0
- data/docs/AFNORSiretField.md +15 -0
- data/docs/AFNORSiretSearchPost200Response.md +22 -0
- data/docs/AFNORSortingOrder.md +15 -0
- data/docs/AFNORStrictOperator.md +15 -0
- data/docs/AFNORUpdatePatchDirectoryLineBody.md +18 -0
- data/docs/AFNORUpdatePatchRoutingCodeBody.md +24 -0
- data/docs/AFNORUpdatePutRoutingCodeBody.md +24 -0
- data/docs/AFNORWebhookCallbackContent.md +18 -0
- data/docs/AcceptLanguage.md +15 -0
- data/docs/AggregatedPaymentInput.md +22 -0
- data/docs/AggregatedTransactionInput.md +32 -0
- data/docs/AllowanceCharge.md +3 -3
- data/docs/AllowanceChargeReasonCode.md +15 -0
- data/docs/Amount1.md +15 -0
- data/docs/Buyercountry.md +15 -0
- data/docs/ChorusProApi.md +5 -3
- data/docs/{FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md → ChorusProCredentials.md} +2 -2
- data/docs/ConvertValidationFailedResponse.md +5 -5
- data/docs/CountryCode.md +15 -0
- data/docs/CreateAggregatedReportRequest.md +34 -0
- data/docs/CreateEReportingRequest.md +36 -0
- data/docs/Currency.md +15 -0
- data/docs/CurrencyCode.md +15 -0
- data/docs/DirectoryLineInclude.md +15 -0
- data/docs/DocType.md +15 -0
- data/docs/DocumentConversionApi.md +12 -86
- data/docs/DownloadsApi.md +295 -0
- data/docs/EReportingApi.md +782 -0
- data/docs/EReportingFlowType.md +15 -0
- data/docs/ElectronicAddress.md +2 -2
- data/docs/EnrichedInvoiceInfo.md +6 -6
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasConvertValidationError.md +32 -0
- data/docs/FlowSummary.md +2 -2
- data/docs/GenerateAggregatedReportResponse.md +30 -0
- data/docs/GenerateEReportingResponse.md +26 -0
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetInvoiceResponse.md +2 -2
- data/docs/GetStructureRequest.md +1 -1
- data/docs/GetStructureResponse.md +2 -2
- data/docs/HealthApi.md +1 -1
- data/docs/IncomingInvoice.md +1 -1
- data/docs/InvoiceInput.md +48 -0
- data/docs/InvoiceLine.md +4 -0
- data/docs/InvoiceNote.md +1 -1
- data/docs/InvoicePaymentInput.md +26 -0
- data/docs/InvoiceProcessingApi.md +41 -17
- data/docs/InvoiceTypeCodeOutput.md +15 -0
- data/docs/InvoicingFramework.md +1 -1
- data/docs/LineSubType.md +15 -0
- data/docs/LocationInner.md +15 -0
- data/docs/PDFXMLVerificationApi.md +17 -9
- data/docs/PaymentAmountByRate.md +20 -0
- data/docs/ProcessingRule.md +15 -0
- data/docs/Rate.md +15 -0
- data/docs/Rate1.md +15 -0
- data/docs/ReportPeriod.md +20 -0
- data/docs/ReportSender.md +22 -0
- data/docs/RoutingCodeInclude.md +15 -0
- data/docs/SearchServicesResponse.md +3 -3
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/Sellercountry.md +15 -0
- data/docs/SimplifiedInvoiceData.md +9 -1
- data/docs/SiretInclude.md +15 -0
- data/docs/SubmitAggregatedReportRequest.md +28 -0
- data/docs/SubmitEReportingRequest.md +28 -0
- data/docs/SubmitEReportingResponse.md +32 -0
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/SupplementaryAttachment.md +5 -5
- data/docs/TaxBreakdownInput.md +22 -0
- data/docs/TaxDueDateType.md +15 -0
- data/docs/Taxableamount.md +15 -0
- data/docs/Taxamount.md +15 -0
- data/docs/Taxamount1.md +15 -0
- data/docs/Taxamount2.md +15 -0
- data/docs/Taxexclusiveamount.md +15 -0
- data/docs/Taxexclusiveamount1.md +15 -0
- data/docs/TransactionCategory.md +15 -0
- data/docs/TransmissionTypeCode.md +15 -0
- data/docs/UserApi.md +1 -1
- data/docs/ValidateEReportingRequest.md +18 -0
- data/docs/ValidateEReportingResponse.md +28 -0
- data/docs/ValidationError.md +1 -1
- data/docs/ValidationInfo.md +1 -1
- data/factpulse.gemspec +4 -4
- data/lib/factpulse/api/afnorpdppa_api.rb +6 -6
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +210 -123
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +57 -24
- data/lib/factpulse/api/chorus_pro_api.rb +6 -4
- data/lib/factpulse/api/document_conversion_api.rb +13 -85
- data/lib/factpulse/api/downloads_api.rb +280 -0
- data/lib/factpulse/api/e_reporting_api.rb +774 -0
- data/lib/factpulse/api/health_api.rb +2 -2
- data/lib/factpulse/api/invoice_processing_api.rb +47 -14
- data/lib/factpulse/api/pdfxml_verification_api.rb +22 -10
- data/lib/factpulse/api/user_api.rb +2 -2
- data/lib/factpulse/api_client.rb +2 -2
- data/lib/factpulse/api_error.rb +2 -2
- data/lib/factpulse/api_model_base.rb +2 -2
- data/lib/factpulse/configuration.rb +10 -6
- data/lib/factpulse/models/accept_language.rb +40 -0
- data/lib/factpulse/models/acknowledgment_status.rb +2 -2
- data/lib/factpulse/models/additional_document.rb +2 -2
- data/lib/factpulse/models/afnor_acknowledgement.rb +216 -0
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +267 -0
- data/lib/factpulse/models/afnor_address_edit.rb +353 -0
- data/lib/factpulse/models/afnor_address_patch.rb +386 -0
- data/lib/factpulse/models/afnor_address_put.rb +435 -0
- data/lib/factpulse/models/afnor_address_read.rb +382 -0
- data/lib/factpulse/models/afnor_algorithm.rb +43 -0
- data/lib/factpulse/models/afnor_contains_operator.rb +39 -0
- data/lib/factpulse/models/afnor_create_directory_line_body.rb +156 -0
- data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +294 -0
- data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +175 -0
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +412 -0
- data/lib/factpulse/models/afnor_credentials.rb +2 -2
- data/lib/factpulse/models/afnor_destination.rb +19 -23
- data/lib/factpulse/models/afnor_diffusion_status.rb +40 -0
- data/lib/factpulse/models/afnor_directory_line_field.rb +44 -0
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb +312 -0
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb +178 -0
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +308 -0
- data/lib/factpulse/models/afnor_directory_line_post201_response.rb +187 -0
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +168 -0
- data/lib/factpulse/models/afnor_entity_type.rb +40 -0
- data/lib/factpulse/models/{convert_error_response.rb → afnor_error.rb} +51 -61
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +40 -0
- data/lib/factpulse/models/afnor_facility_nature.rb +40 -0
- data/lib/factpulse/models/afnor_facility_payload_history.rb +323 -0
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +198 -0
- data/lib/factpulse/models/afnor_facility_payload_included.rb +314 -0
- data/lib/factpulse/models/afnor_facility_type.rb +40 -0
- data/lib/factpulse/models/afnor_flow.rb +315 -0
- data/lib/factpulse/models/afnor_flow_ack_status.rb +41 -0
- data/lib/factpulse/models/afnor_flow_direction.rb +40 -0
- data/lib/factpulse/models/afnor_flow_info.rb +293 -0
- data/lib/factpulse/models/afnor_flow_profile.rb +41 -0
- data/lib/factpulse/models/afnor_flow_syntax.rb +43 -0
- data/lib/factpulse/models/afnor_flow_type.rb +51 -0
- data/lib/factpulse/models/afnor_full_flow_info.rb +339 -0
- data/lib/factpulse/models/afnor_health_check_response.rb +2 -2
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +40 -0
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +247 -0
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +247 -0
- data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +207 -0
- data/lib/factpulse/models/afnor_platform_status.rb +40 -0
- data/lib/factpulse/models/afnor_processing_rule.rb +44 -0
- data/lib/factpulse/models/afnor_reason_code.rb +105 -0
- data/lib/factpulse/models/afnor_reason_code_enum.rb +53 -0
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +40 -0
- data/lib/factpulse/models/afnor_result.rb +37 -7
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +40 -0
- data/lib/factpulse/models/afnor_routing_code_field.rb +46 -0
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +366 -0
- data/lib/factpulse/models/afnor_routing_code_post201_response.rb +228 -0
- data/lib/factpulse/models/afnor_routing_code_search.rb +224 -0
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +201 -0
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +178 -0
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +209 -0
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +209 -0
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +168 -0
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +179 -0
- data/lib/factpulse/models/afnor_search_directory_line.rb +191 -0
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +183 -0
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +198 -0
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +198 -0
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +179 -0
- data/lib/factpulse/models/afnor_search_flow_content.rb +168 -0
- data/lib/factpulse/models/afnor_search_flow_filters.rb +250 -0
- data/lib/factpulse/models/afnor_search_flow_params.rb +195 -0
- data/lib/factpulse/models/afnor_search_siren.rb +191 -0
- data/lib/factpulse/models/afnor_search_siren_filters.rb +174 -0
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +178 -0
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +198 -0
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +178 -0
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +209 -0
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +179 -0
- data/lib/factpulse/models/afnor_search_siret.rb +224 -0
- data/lib/factpulse/models/afnor_search_siret_filters.rb +219 -0
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +198 -0
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +178 -0
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +198 -0
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +178 -0
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +198 -0
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +198 -0
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +209 -0
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +209 -0
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +179 -0
- data/lib/factpulse/models/afnor_siren_field.rb +43 -0
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +168 -0
- data/lib/factpulse/models/afnor_siret_field.rb +52 -0
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +168 -0
- data/lib/factpulse/models/afnor_sorting_order.rb +40 -0
- data/lib/factpulse/models/afnor_strict_operator.rb +39 -0
- data/lib/factpulse/models/afnor_update_patch_directory_line_body.rb +148 -0
- data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +258 -0
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +289 -0
- data/lib/factpulse/models/afnor_webhook_callback_content.rb +148 -0
- data/lib/factpulse/models/aggregated_payment_input.rb +213 -0
- data/lib/factpulse/models/aggregated_transaction_input.rb +349 -0
- data/lib/factpulse/models/allowance_charge.rb +27 -5
- data/lib/factpulse/models/allowance_charge_reason_code.rb +76 -0
- data/lib/factpulse/models/allowance_reason_code.rb +2 -2
- data/lib/factpulse/models/allowance_total_amount.rb +2 -2
- data/lib/factpulse/models/amount.rb +3 -3
- data/lib/factpulse/models/amount1.rb +104 -0
- data/lib/factpulse/models/amount_due.rb +2 -2
- data/lib/factpulse/models/api_error.rb +2 -2
- data/lib/factpulse/models/api_profile.rb +4 -3
- data/lib/factpulse/models/async_task_status.rb +2 -2
- data/lib/factpulse/models/base_amount.rb +2 -2
- data/lib/factpulse/models/bounding_box_schema.rb +2 -2
- data/lib/factpulse/models/buyercountry.rb +104 -0
- data/lib/factpulse/models/celery_status.rb +2 -2
- data/lib/factpulse/models/certificate_info_response.rb +2 -2
- data/lib/factpulse/models/charge_total_amount.rb +2 -2
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb → chorus_pro_credentials.rb} +5 -5
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +2 -2
- data/lib/factpulse/models/contact.rb +2 -2
- data/lib/factpulse/models/convert_resume_request.rb +2 -2
- data/lib/factpulse/models/convert_success_response.rb +2 -2
- data/lib/factpulse/models/convert_validation_failed_response.rb +7 -2
- data/lib/factpulse/models/country_code.rb +208 -0
- data/lib/factpulse/models/create_aggregated_report_request.rb +310 -0
- data/lib/factpulse/models/create_e_reporting_request.rb +337 -0
- data/lib/factpulse/models/currency.rb +104 -0
- data/lib/factpulse/models/currency_code.rb +91 -0
- data/lib/factpulse/models/delivery_party.rb +2 -2
- data/lib/factpulse/models/destination.rb +2 -2
- data/lib/factpulse/models/directory_line_include.rb +42 -0
- data/lib/factpulse/models/doc_type.rb +42 -0
- data/lib/factpulse/models/document_type_info.rb +2 -2
- data/lib/factpulse/models/e_reporting_flow_type.rb +42 -0
- data/lib/factpulse/models/electronic_address.rb +4 -2
- data/lib/factpulse/models/enriched_invoice_info.rb +8 -2
- data/lib/factpulse/models/error_level.rb +2 -2
- data/lib/factpulse/models/error_source.rb +2 -2
- data/lib/factpulse/models/extraction_info.rb +2 -2
- data/lib/factpulse/models/factur_x_invoice.rb +2 -2
- data/lib/factpulse/models/factur_xpdf_info.rb +2 -2
- data/lib/factpulse/models/facture_electronique_models_invoice_type_code.rb +54 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_convert_validation_error.rb +294 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +2 -2
- data/lib/factpulse/models/field_status.rb +2 -2
- data/lib/factpulse/models/file_info.rb +2 -2
- data/lib/factpulse/models/files_info.rb +2 -2
- data/lib/factpulse/models/flow_direction.rb +2 -2
- data/lib/factpulse/models/flow_profile.rb +2 -2
- data/lib/factpulse/models/flow_summary.rb +4 -2
- data/lib/factpulse/models/flow_syntax.rb +2 -2
- data/lib/factpulse/models/flow_type.rb +12 -4
- data/lib/factpulse/models/generate_aggregated_report_response.rb +330 -0
- data/lib/factpulse/models/generate_certificate_request.rb +2 -2
- data/lib/factpulse/models/generate_certificate_response.rb +2 -2
- data/lib/factpulse/models/generate_e_reporting_response.rb +274 -0
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +3 -3
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +2 -2
- data/lib/factpulse/models/get_invoice_request.rb +3 -3
- data/lib/factpulse/models/get_invoice_response.rb +4 -2
- data/lib/factpulse/models/get_structure_request.rb +3 -3
- data/lib/factpulse/models/get_structure_response.rb +4 -2
- data/lib/factpulse/models/global_allowance_amount.rb +2 -2
- data/lib/factpulse/models/gross_unit_price.rb +2 -2
- data/lib/factpulse/models/http_validation_error.rb +2 -2
- data/lib/factpulse/models/incoming_invoice.rb +3 -36
- data/lib/factpulse/models/incoming_supplier.rb +2 -2
- data/lib/factpulse/models/invoice_format.rb +2 -2
- data/lib/factpulse/models/invoice_input.rb +446 -0
- data/lib/factpulse/models/invoice_line.rb +23 -3
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +2 -2
- data/lib/factpulse/models/invoice_note.rb +3 -2
- data/lib/factpulse/models/invoice_payment_input.rb +267 -0
- data/lib/factpulse/models/invoice_references.rb +2 -2
- data/lib/factpulse/models/invoice_status.rb +2 -2
- data/lib/factpulse/models/invoice_totals.rb +2 -2
- data/lib/factpulse/models/invoice_totals_prepayment.rb +2 -2
- data/lib/factpulse/models/invoice_type_code.rb +8 -19
- data/lib/factpulse/models/invoice_type_code_output.rb +54 -0
- data/lib/factpulse/models/invoicing_framework.rb +3 -2
- data/lib/factpulse/models/invoicing_framework_code.rb +2 -2
- data/lib/factpulse/models/line_net_amount.rb +2 -2
- data/lib/factpulse/models/line_sub_type.rb +41 -0
- data/lib/factpulse/models/line_total_amount.rb +2 -2
- data/lib/factpulse/models/{validation_error_loc_inner.rb → location_inner.rb} +3 -3
- data/lib/factpulse/models/mandatory_note_schema.rb +2 -2
- data/lib/factpulse/models/manual_rate.rb +2 -2
- data/lib/factpulse/models/manual_vat_rate.rb +2 -2
- data/lib/factpulse/models/missing_field.rb +2 -2
- data/lib/factpulse/models/operation_nature.rb +2 -2
- data/lib/factpulse/models/output_format.rb +2 -2
- data/lib/factpulse/models/page_dimensions_schema.rb +2 -2
- data/lib/factpulse/models/payee.rb +2 -2
- data/lib/factpulse/models/payment_amount_by_rate.rb +191 -0
- data/lib/factpulse/models/payment_card.rb +2 -2
- data/lib/factpulse/models/payment_means.rb +2 -2
- data/lib/factpulse/models/pdf_validation_result_api.rb +2 -2
- data/lib/factpulse/models/pdp_credentials.rb +2 -2
- data/lib/factpulse/models/percentage.rb +2 -2
- data/lib/factpulse/models/postal_address.rb +2 -2
- data/lib/factpulse/models/price_allowance_amount.rb +2 -2
- data/lib/factpulse/models/price_basis_quantity.rb +2 -2
- data/lib/factpulse/models/processing_options.rb +2 -2
- data/lib/factpulse/models/processing_rule.rb +44 -0
- data/lib/factpulse/models/product_characteristic.rb +2 -2
- data/lib/factpulse/models/product_classification.rb +2 -2
- data/lib/factpulse/models/quantity.rb +2 -2
- data/lib/factpulse/models/rate.rb +104 -0
- data/lib/factpulse/models/rate1.rb +104 -0
- data/lib/factpulse/models/recipient.rb +2 -2
- data/lib/factpulse/models/report_period.rb +193 -0
- data/lib/factpulse/models/report_sender.rb +221 -0
- data/lib/factpulse/models/rounding_amount.rb +2 -2
- data/lib/factpulse/models/routing_code_include.rb +40 -0
- data/lib/factpulse/models/scheme_id.rb +10 -3
- data/lib/factpulse/models/search_flow_request.rb +2 -2
- data/lib/factpulse/models/search_flow_response.rb +2 -2
- data/lib/factpulse/models/search_services_response.rb +5 -2
- data/lib/factpulse/models/search_structure_request.rb +3 -3
- data/lib/factpulse/models/search_structure_response.rb +2 -2
- data/lib/factpulse/models/sellercountry.rb +104 -0
- data/lib/factpulse/models/signature_info.rb +2 -2
- data/lib/factpulse/models/signature_info_api.rb +2 -2
- data/lib/factpulse/models/signature_parameters.rb +2 -2
- data/lib/factpulse/models/simplified_invoice_data.rb +69 -7
- data/lib/factpulse/models/siret_include.rb +39 -0
- data/lib/factpulse/models/structure_info.rb +2 -2
- data/lib/factpulse/models/structure_parameters.rb +2 -2
- data/lib/factpulse/models/structure_service.rb +2 -2
- data/lib/factpulse/models/submission_mode.rb +2 -2
- data/lib/factpulse/models/submit_aggregated_report_request.rb +216 -0
- data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_complete_invoice_response.rb +2 -2
- data/lib/factpulse/models/submit_e_reporting_request.rb +216 -0
- data/lib/factpulse/models/submit_e_reporting_response.rb +306 -0
- data/lib/factpulse/models/submit_flow_request.rb +2 -2
- data/lib/factpulse/models/submit_flow_response.rb +2 -2
- data/lib/factpulse/models/submit_gross_amount.rb +2 -2
- data/lib/factpulse/models/submit_invoice_request.rb +3 -3
- data/lib/factpulse/models/submit_invoice_response.rb +2 -2
- data/lib/factpulse/models/submit_net_amount.rb +2 -2
- data/lib/factpulse/models/submit_vat_amount.rb +2 -2
- data/lib/factpulse/models/supplementary_attachment.rb +7 -2
- data/lib/factpulse/models/supplier.rb +2 -2
- data/lib/factpulse/models/task_response.rb +2 -2
- data/lib/factpulse/models/tax_breakdown_input.rb +217 -0
- data/lib/factpulse/models/tax_due_date_type.rb +44 -0
- data/lib/factpulse/models/tax_representative.rb +2 -2
- data/lib/factpulse/models/taxable_amount.rb +2 -2
- data/lib/factpulse/models/taxableamount0.rb +104 -0
- data/lib/factpulse/models/taxamount.rb +104 -0
- data/lib/factpulse/models/taxamount1.rb +104 -0
- data/lib/factpulse/models/taxamount2.rb +104 -0
- data/lib/factpulse/models/taxexclusiveamount.rb +104 -0
- data/lib/factpulse/models/taxexclusiveamount1.rb +104 -0
- data/lib/factpulse/models/total_gross_amount.rb +2 -2
- data/lib/factpulse/models/total_net_amount.rb +2 -2
- data/lib/factpulse/models/total_vat_amount.rb +2 -2
- data/lib/factpulse/models/transaction_category.rb +42 -0
- data/lib/factpulse/models/transmission_type_code.rb +40 -0
- data/lib/factpulse/models/unit_net_price.rb +2 -2
- data/lib/factpulse/models/unit_of_measure.rb +2 -2
- data/lib/factpulse/models/validate_e_reporting_request.rb +166 -0
- data/lib/factpulse/models/validate_e_reporting_response.rb +271 -0
- data/lib/factpulse/models/validation_error.rb +3 -3
- data/lib/factpulse/models/validation_error_detail.rb +2 -2
- data/lib/factpulse/models/validation_error_response.rb +2 -2
- data/lib/factpulse/models/validation_info.rb +3 -3
- data/lib/factpulse/models/validation_success_response.rb +2 -2
- data/lib/factpulse/models/vat_accounting_code.rb +2 -2
- data/lib/factpulse/models/vat_amount.rb +2 -2
- data/lib/factpulse/models/vat_category.rb +2 -2
- data/lib/factpulse/models/vat_line.rb +2 -2
- data/lib/factpulse/models/vat_point_date_code.rb +2 -2
- data/lib/factpulse/models/vat_rate.rb +2 -2
- data/lib/factpulse/models/verification_success_response.rb +2 -2
- data/lib/factpulse/models/verified_field_schema.rb +2 -2
- data/lib/factpulse/version.rb +3 -3
- data/lib/factpulse.rb +143 -6
- metadata +291 -17
- data/docs/ConvertErrorResponse.md +0 -26
- data/docs/ConvertPendingInputResponse.md +0 -32
- data/lib/factpulse/models/convert_pending_input_response.rb +0 -322
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FactPulse REST API
|
|
3
3
|
|
|
4
|
-
# 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://
|
|
4
|
+
# 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/
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
|
|
7
|
+
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.19.0-SNAPSHOT
|
|
10
10
|
|
|
@@ -20,8 +20,9 @@ module FactPulse
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Creating a directory line
|
|
23
|
-
#
|
|
23
|
+
# Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
25
26
|
# @return [Object]
|
|
26
27
|
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post(opts = {})
|
|
27
28
|
data, _status_code, _headers = create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts)
|
|
@@ -29,8 +30,9 @@ module FactPulse
|
|
|
29
30
|
end
|
|
30
31
|
|
|
31
32
|
# Creating a directory line
|
|
32
|
-
#
|
|
33
|
+
# Creation of a new directory line for a SIREN, a SIRET or a ROUTING CODE.
|
|
33
34
|
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
34
36
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
35
37
|
def create_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_post_with_http_info(opts = {})
|
|
36
38
|
if @api_client.config.debugging
|
|
@@ -46,6 +48,7 @@ module FactPulse
|
|
|
46
48
|
header_params = opts[:header_params] || {}
|
|
47
49
|
# HTTP header 'Accept' (if needed)
|
|
48
50
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
51
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
49
52
|
|
|
50
53
|
# form parameters
|
|
51
54
|
form_params = opts[:form_params] || {}
|
|
@@ -77,8 +80,9 @@ module FactPulse
|
|
|
77
80
|
end
|
|
78
81
|
|
|
79
82
|
# Create a routing code
|
|
80
|
-
#
|
|
83
|
+
# Creating a routing code.
|
|
81
84
|
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
82
86
|
# @return [Object]
|
|
83
87
|
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post(opts = {})
|
|
84
88
|
data, _status_code, _headers = create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts)
|
|
@@ -86,8 +90,9 @@ module FactPulse
|
|
|
86
90
|
end
|
|
87
91
|
|
|
88
92
|
# Create a routing code
|
|
89
|
-
#
|
|
93
|
+
# Creating a routing code.
|
|
90
94
|
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
91
96
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
92
97
|
def create_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_post_with_http_info(opts = {})
|
|
93
98
|
if @api_client.config.debugging
|
|
@@ -103,6 +108,7 @@ module FactPulse
|
|
|
103
108
|
header_params = opts[:header_params] || {}
|
|
104
109
|
# HTTP header 'Accept' (if needed)
|
|
105
110
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
111
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
106
112
|
|
|
107
113
|
# form parameters
|
|
108
114
|
form_params = opts[:form_params] || {}
|
|
@@ -134,9 +140,10 @@ module FactPulse
|
|
|
134
140
|
end
|
|
135
141
|
|
|
136
142
|
# Delete a directory line
|
|
137
|
-
# Delete a directory line
|
|
138
|
-
# @param id_instance [String]
|
|
143
|
+
# Delete a directory line.
|
|
144
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
139
145
|
# @param [Hash] opts the optional parameters
|
|
146
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
140
147
|
# @return [Object]
|
|
141
148
|
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete(id_instance, opts = {})
|
|
142
149
|
data, _status_code, _headers = delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts)
|
|
@@ -144,9 +151,10 @@ module FactPulse
|
|
|
144
151
|
end
|
|
145
152
|
|
|
146
153
|
# Delete a directory line
|
|
147
|
-
# Delete a directory line
|
|
148
|
-
# @param id_instance [String]
|
|
154
|
+
# Delete a directory line.
|
|
155
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
149
156
|
# @param [Hash] opts the optional parameters
|
|
157
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
150
158
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
151
159
|
def delete_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_delete_with_http_info(id_instance, opts = {})
|
|
152
160
|
if @api_client.config.debugging
|
|
@@ -166,6 +174,7 @@ module FactPulse
|
|
|
166
174
|
header_params = opts[:header_params] || {}
|
|
167
175
|
# HTTP header 'Accept' (if needed)
|
|
168
176
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
177
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
169
178
|
|
|
170
179
|
# form parameters
|
|
171
180
|
form_params = opts[:form_params] || {}
|
|
@@ -197,7 +206,7 @@ module FactPulse
|
|
|
197
206
|
end
|
|
198
207
|
|
|
199
208
|
# Healthcheck Directory Service
|
|
200
|
-
# Check Directory Service availability
|
|
209
|
+
# Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
201
210
|
# @param [Hash] opts the optional parameters
|
|
202
211
|
# @return [Object]
|
|
203
212
|
def directory_healthcheck_proxy_api_v1_afnor_directory_v1_healthcheck_get(opts = {})
|
|
@@ -206,7 +215,7 @@ module FactPulse
|
|
|
206
215
|
end
|
|
207
216
|
|
|
208
217
|
# Healthcheck Directory Service
|
|
209
|
-
# Check Directory Service availability
|
|
218
|
+
# Check Directory Service availability (AFNOR XP Z12-013 compliant)
|
|
210
219
|
# @param [Hash] opts the optional parameters
|
|
211
220
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
212
221
|
def directory_healthcheck_proxy_api_v1_afnor_directory_v1_healthcheck_get_with_http_info(opts = {})
|
|
@@ -253,21 +262,27 @@ module FactPulse
|
|
|
253
262
|
return data, status_code, headers
|
|
254
263
|
end
|
|
255
264
|
|
|
256
|
-
# Get a directory line
|
|
257
|
-
#
|
|
258
|
-
# @param addressing_identifier [String]
|
|
265
|
+
# Get a directory line.
|
|
266
|
+
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
267
|
+
# @param addressing_identifier [String] Addressing identifier (SIREN, SIRET or routing code)
|
|
259
268
|
# @param [Hash] opts the optional parameters
|
|
260
|
-
# @
|
|
269
|
+
# @option opts [Array<String>] :fields Fields of the Directory Line resource.
|
|
270
|
+
# @option opts [Array<DirectoryLineInclude>] :include Relations to include in the response.
|
|
271
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
272
|
+
# @return [AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode]
|
|
261
273
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get(addressing_identifier, opts = {})
|
|
262
274
|
data, _status_code, _headers = get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts)
|
|
263
275
|
data
|
|
264
276
|
end
|
|
265
277
|
|
|
266
|
-
# Get a directory line
|
|
267
|
-
#
|
|
268
|
-
# @param addressing_identifier [String]
|
|
278
|
+
# Get a directory line.
|
|
279
|
+
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
280
|
+
# @param addressing_identifier [String] Addressing identifier (SIREN, SIRET or routing code)
|
|
269
281
|
# @param [Hash] opts the optional parameters
|
|
270
|
-
# @
|
|
282
|
+
# @option opts [Array<String>] :fields Fields of the Directory Line resource.
|
|
283
|
+
# @option opts [Array<DirectoryLineInclude>] :include Relations to include in the response.
|
|
284
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
285
|
+
# @return [Array<(AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode, Integer, Hash)>] AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode data, response status code and response headers
|
|
271
286
|
def get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get_with_http_info(addressing_identifier, opts = {})
|
|
272
287
|
if @api_client.config.debugging
|
|
273
288
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_code_proxy_api_v1_afnor_directory_v1_directory_line_code_addressing_identifier_get ...'
|
|
@@ -281,11 +296,14 @@ module FactPulse
|
|
|
281
296
|
|
|
282
297
|
# query parameters
|
|
283
298
|
query_params = opts[:query_params] || {}
|
|
299
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
300
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :multi) if !opts[:'include'].nil?
|
|
284
301
|
|
|
285
302
|
# header parameters
|
|
286
303
|
header_params = opts[:header_params] || {}
|
|
287
304
|
# HTTP header 'Accept' (if needed)
|
|
288
305
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
306
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
289
307
|
|
|
290
308
|
# form parameters
|
|
291
309
|
form_params = opts[:form_params] || {}
|
|
@@ -294,7 +312,7 @@ module FactPulse
|
|
|
294
312
|
post_body = opts[:debug_body]
|
|
295
313
|
|
|
296
314
|
# return_type
|
|
297
|
-
return_type = opts[:debug_return_type] || '
|
|
315
|
+
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode'
|
|
298
316
|
|
|
299
317
|
# auth_names
|
|
300
318
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -316,21 +334,25 @@ module FactPulse
|
|
|
316
334
|
return data, status_code, headers
|
|
317
335
|
end
|
|
318
336
|
|
|
319
|
-
# Get a directory line
|
|
320
|
-
#
|
|
321
|
-
# @param id_instance [String]
|
|
337
|
+
# Get a directory line.
|
|
338
|
+
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
339
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
322
340
|
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @
|
|
341
|
+
# @option opts [Array<String>] :fields Fields of the Directory Line resource.
|
|
342
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
343
|
+
# @return [AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode]
|
|
324
344
|
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get(id_instance, opts = {})
|
|
325
345
|
data, _status_code, _headers = get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
326
346
|
data
|
|
327
347
|
end
|
|
328
348
|
|
|
329
|
-
# Get a directory line
|
|
330
|
-
#
|
|
331
|
-
# @param id_instance [String]
|
|
349
|
+
# Get a directory line.
|
|
350
|
+
# Retrieve the data from the directory line corresponding to the identifier passed in parameters.
|
|
351
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
332
352
|
# @param [Hash] opts the optional parameters
|
|
333
|
-
# @
|
|
353
|
+
# @option opts [Array<String>] :fields Fields of the Directory Line resource.
|
|
354
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
355
|
+
# @return [Array<(AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode, Integer, Hash)>] AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode data, response status code and response headers
|
|
334
356
|
def get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
335
357
|
if @api_client.config.debugging
|
|
336
358
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_directory_line_by_id_instance_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_get ...'
|
|
@@ -344,11 +366,13 @@ module FactPulse
|
|
|
344
366
|
|
|
345
367
|
# query parameters
|
|
346
368
|
query_params = opts[:query_params] || {}
|
|
369
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
347
370
|
|
|
348
371
|
# header parameters
|
|
349
372
|
header_params = opts[:header_params] || {}
|
|
350
373
|
# HTTP header 'Accept' (if needed)
|
|
351
374
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
375
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
352
376
|
|
|
353
377
|
# form parameters
|
|
354
378
|
form_params = opts[:form_params] || {}
|
|
@@ -357,7 +381,7 @@ module FactPulse
|
|
|
357
381
|
post_body = opts[:debug_body]
|
|
358
382
|
|
|
359
383
|
# return_type
|
|
360
|
-
return_type = opts[:debug_return_type] || '
|
|
384
|
+
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode'
|
|
361
385
|
|
|
362
386
|
# auth_names
|
|
363
387
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -379,21 +403,25 @@ module FactPulse
|
|
|
379
403
|
return data, status_code, headers
|
|
380
404
|
end
|
|
381
405
|
|
|
382
|
-
# Get a routing code by instance-id
|
|
383
|
-
#
|
|
384
|
-
# @param id_instance [String]
|
|
406
|
+
# Get a routing code by instance-id.
|
|
407
|
+
# Retrieve the Routing Code data corresponding to the Instance ID.
|
|
408
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
385
409
|
# @param [Hash] opts the optional parameters
|
|
386
|
-
# @
|
|
410
|
+
# @option opts [Array<String>] :fields Fields of the Routing Code resource
|
|
411
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
412
|
+
# @return [AFNORRoutingCodePayloadHistoryLegalUnitFacility]
|
|
387
413
|
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get(id_instance, opts = {})
|
|
388
414
|
data, _status_code, _headers = get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
389
415
|
data
|
|
390
416
|
end
|
|
391
417
|
|
|
392
|
-
# Get a routing code by instance-id
|
|
393
|
-
#
|
|
394
|
-
# @param id_instance [String]
|
|
418
|
+
# Get a routing code by instance-id.
|
|
419
|
+
# Retrieve the Routing Code data corresponding to the Instance ID.
|
|
420
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
395
421
|
# @param [Hash] opts the optional parameters
|
|
396
|
-
# @
|
|
422
|
+
# @option opts [Array<String>] :fields Fields of the Routing Code resource
|
|
423
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
424
|
+
# @return [Array<(AFNORRoutingCodePayloadHistoryLegalUnitFacility, Integer, Hash)>] AFNORRoutingCodePayloadHistoryLegalUnitFacility data, response status code and response headers
|
|
397
425
|
def get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
398
426
|
if @api_client.config.debugging
|
|
399
427
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_routing_code_by_id_instance_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_get ...'
|
|
@@ -407,11 +435,13 @@ module FactPulse
|
|
|
407
435
|
|
|
408
436
|
# query parameters
|
|
409
437
|
query_params = opts[:query_params] || {}
|
|
438
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
410
439
|
|
|
411
440
|
# header parameters
|
|
412
441
|
header_params = opts[:header_params] || {}
|
|
413
442
|
# HTTP header 'Accept' (if needed)
|
|
414
443
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
444
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
415
445
|
|
|
416
446
|
# form parameters
|
|
417
447
|
form_params = opts[:form_params] || {}
|
|
@@ -420,7 +450,7 @@ module FactPulse
|
|
|
420
450
|
post_body = opts[:debug_body]
|
|
421
451
|
|
|
422
452
|
# return_type
|
|
423
|
-
return_type = opts[:debug_return_type] || '
|
|
453
|
+
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePayloadHistoryLegalUnitFacility'
|
|
424
454
|
|
|
425
455
|
# auth_names
|
|
426
456
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -443,22 +473,28 @@ module FactPulse
|
|
|
443
473
|
end
|
|
444
474
|
|
|
445
475
|
# Get a routing code by SIRET and routing identifier
|
|
446
|
-
#
|
|
447
|
-
# @param siret [String]
|
|
448
|
-
# @param routing_identifier [String]
|
|
476
|
+
# Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
477
|
+
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
478
|
+
# @param routing_identifier [String] Routing code identifier
|
|
449
479
|
# @param [Hash] opts the optional parameters
|
|
450
|
-
# @
|
|
480
|
+
# @option opts [Array<String>] :fields Fields of the Routing Code resource
|
|
481
|
+
# @option opts [Array<RoutingCodeInclude>] :include Relations to include in the response.
|
|
482
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
483
|
+
# @return [AFNORRoutingCodePayloadHistoryLegalUnitFacility]
|
|
451
484
|
def get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get(siret, routing_identifier, opts = {})
|
|
452
485
|
data, _status_code, _headers = get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get_with_http_info(siret, routing_identifier, opts)
|
|
453
486
|
data
|
|
454
487
|
end
|
|
455
488
|
|
|
456
489
|
# Get a routing code by SIRET and routing identifier
|
|
457
|
-
#
|
|
458
|
-
# @param siret [String]
|
|
459
|
-
# @param routing_identifier [String]
|
|
490
|
+
# Retrieve the Routing Code data corresponding to the identifier passed in parameters.
|
|
491
|
+
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
492
|
+
# @param routing_identifier [String] Routing code identifier
|
|
460
493
|
# @param [Hash] opts the optional parameters
|
|
461
|
-
# @
|
|
494
|
+
# @option opts [Array<String>] :fields Fields of the Routing Code resource
|
|
495
|
+
# @option opts [Array<RoutingCodeInclude>] :include Relations to include in the response.
|
|
496
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
497
|
+
# @return [Array<(AFNORRoutingCodePayloadHistoryLegalUnitFacility, Integer, Hash)>] AFNORRoutingCodePayloadHistoryLegalUnitFacility data, response status code and response headers
|
|
462
498
|
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(siret, routing_identifier, opts = {})
|
|
463
499
|
if @api_client.config.debugging
|
|
464
500
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_routing_code_by_siret_and_code_proxy_api_v1_afnor_directory_v1_routing_code_siret_siret_code_routing_identifier_get ...'
|
|
@@ -476,11 +512,14 @@ module FactPulse
|
|
|
476
512
|
|
|
477
513
|
# query parameters
|
|
478
514
|
query_params = opts[:query_params] || {}
|
|
515
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
516
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :multi) if !opts[:'include'].nil?
|
|
479
517
|
|
|
480
518
|
# header parameters
|
|
481
519
|
header_params = opts[:header_params] || {}
|
|
482
520
|
# HTTP header 'Accept' (if needed)
|
|
483
521
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
522
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
484
523
|
|
|
485
524
|
# form parameters
|
|
486
525
|
form_params = opts[:form_params] || {}
|
|
@@ -489,7 +528,7 @@ module FactPulse
|
|
|
489
528
|
post_body = opts[:debug_body]
|
|
490
529
|
|
|
491
530
|
# return_type
|
|
492
|
-
return_type = opts[:debug_return_type] || '
|
|
531
|
+
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePayloadHistoryLegalUnitFacility'
|
|
493
532
|
|
|
494
533
|
# auth_names
|
|
495
534
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -512,20 +551,24 @@ module FactPulse
|
|
|
512
551
|
end
|
|
513
552
|
|
|
514
553
|
# Consult a siren (legal unit) by SIREN number
|
|
515
|
-
# Returns details of a company (legal unit) identified by
|
|
516
|
-
# @param siren [String]
|
|
554
|
+
# Returns the details of a company (legal unit) identified by the SIREN number passed as a parameter.
|
|
555
|
+
# @param siren [String] 9-digit SIREN number (INSEE company identifier)
|
|
517
556
|
# @param [Hash] opts the optional parameters
|
|
518
|
-
# @
|
|
557
|
+
# @option opts [Array<String>] :fields Fields of the SIREN resource
|
|
558
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
559
|
+
# @return [AFNORLegalUnitPayloadHistory]
|
|
519
560
|
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get(siren, opts = {})
|
|
520
561
|
data, _status_code, _headers = get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts)
|
|
521
562
|
data
|
|
522
563
|
end
|
|
523
564
|
|
|
524
565
|
# Consult a siren (legal unit) by SIREN number
|
|
525
|
-
# Returns details of a company (legal unit) identified by
|
|
526
|
-
# @param siren [String]
|
|
566
|
+
# Returns the details of a company (legal unit) identified by the SIREN number passed as a parameter.
|
|
567
|
+
# @param siren [String] 9-digit SIREN number (INSEE company identifier)
|
|
527
568
|
# @param [Hash] opts the optional parameters
|
|
528
|
-
# @
|
|
569
|
+
# @option opts [Array<String>] :fields Fields of the SIREN resource
|
|
570
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
571
|
+
# @return [Array<(AFNORLegalUnitPayloadHistory, Integer, Hash)>] AFNORLegalUnitPayloadHistory data, response status code and response headers
|
|
529
572
|
def get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get_with_http_info(siren, opts = {})
|
|
530
573
|
if @api_client.config.debugging
|
|
531
574
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_code_insee_proxy_api_v1_afnor_directory_v1_siren_code_insee_siren_get ...'
|
|
@@ -539,11 +582,13 @@ module FactPulse
|
|
|
539
582
|
|
|
540
583
|
# query parameters
|
|
541
584
|
query_params = opts[:query_params] || {}
|
|
585
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
542
586
|
|
|
543
587
|
# header parameters
|
|
544
588
|
header_params = opts[:header_params] || {}
|
|
545
589
|
# HTTP header 'Accept' (if needed)
|
|
546
590
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
591
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
547
592
|
|
|
548
593
|
# form parameters
|
|
549
594
|
form_params = opts[:form_params] || {}
|
|
@@ -552,7 +597,7 @@ module FactPulse
|
|
|
552
597
|
post_body = opts[:debug_body]
|
|
553
598
|
|
|
554
599
|
# return_type
|
|
555
|
-
return_type = opts[:debug_return_type] || '
|
|
600
|
+
return_type = opts[:debug_return_type] || 'AFNORLegalUnitPayloadHistory'
|
|
556
601
|
|
|
557
602
|
# auth_names
|
|
558
603
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -575,20 +620,24 @@ module FactPulse
|
|
|
575
620
|
end
|
|
576
621
|
|
|
577
622
|
# Gets a siren (legal unit) by instance ID
|
|
578
|
-
#
|
|
579
|
-
# @param id_instance [String]
|
|
623
|
+
# Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
624
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
580
625
|
# @param [Hash] opts the optional parameters
|
|
581
|
-
# @
|
|
626
|
+
# @option opts [Array<String>] :fields Fields of the SIREN resource
|
|
627
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
628
|
+
# @return [AFNORLegalUnitPayloadHistory]
|
|
582
629
|
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get(id_instance, opts = {})
|
|
583
630
|
data, _status_code, _headers = get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
584
631
|
data
|
|
585
632
|
end
|
|
586
633
|
|
|
587
634
|
# Gets a siren (legal unit) by instance ID
|
|
588
|
-
#
|
|
589
|
-
# @param id_instance [String]
|
|
635
|
+
# Returns the details of a company (legal unit) identified by the id-instance passed as a parameter.
|
|
636
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
590
637
|
# @param [Hash] opts the optional parameters
|
|
591
|
-
# @
|
|
638
|
+
# @option opts [Array<String>] :fields Fields of the SIREN resource
|
|
639
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
640
|
+
# @return [Array<(AFNORLegalUnitPayloadHistory, Integer, Hash)>] AFNORLegalUnitPayloadHistory data, response status code and response headers
|
|
592
641
|
def get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
593
642
|
if @api_client.config.debugging
|
|
594
643
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siren_by_id_instance_proxy_api_v1_afnor_directory_v1_siren_id_instance_id_instance_get ...'
|
|
@@ -602,11 +651,13 @@ module FactPulse
|
|
|
602
651
|
|
|
603
652
|
# query parameters
|
|
604
653
|
query_params = opts[:query_params] || {}
|
|
654
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
605
655
|
|
|
606
656
|
# header parameters
|
|
607
657
|
header_params = opts[:header_params] || {}
|
|
608
658
|
# HTTP header 'Accept' (if needed)
|
|
609
659
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
660
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
610
661
|
|
|
611
662
|
# form parameters
|
|
612
663
|
form_params = opts[:form_params] || {}
|
|
@@ -615,7 +666,7 @@ module FactPulse
|
|
|
615
666
|
post_body = opts[:debug_body]
|
|
616
667
|
|
|
617
668
|
# return_type
|
|
618
|
-
return_type = opts[:debug_return_type] || '
|
|
669
|
+
return_type = opts[:debug_return_type] || 'AFNORLegalUnitPayloadHistory'
|
|
619
670
|
|
|
620
671
|
# auth_names
|
|
621
672
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -638,20 +689,26 @@ module FactPulse
|
|
|
638
689
|
end
|
|
639
690
|
|
|
640
691
|
# Gets a siret (facility) by SIRET number
|
|
641
|
-
#
|
|
642
|
-
# @param siret [String]
|
|
692
|
+
# Returns the details of a facility associated to a SIRET.
|
|
693
|
+
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
643
694
|
# @param [Hash] opts the optional parameters
|
|
644
|
-
# @
|
|
695
|
+
# @option opts [Array<String>] :fields Fields of a SIRET resource.
|
|
696
|
+
# @option opts [Array<SiretInclude>] :include Relations to include in the response.
|
|
697
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
698
|
+
# @return [AFNORFacilityPayloadHistory]
|
|
645
699
|
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get(siret, opts = {})
|
|
646
700
|
data, _status_code, _headers = get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts)
|
|
647
701
|
data
|
|
648
702
|
end
|
|
649
703
|
|
|
650
704
|
# Gets a siret (facility) by SIRET number
|
|
651
|
-
#
|
|
652
|
-
# @param siret [String]
|
|
705
|
+
# Returns the details of a facility associated to a SIRET.
|
|
706
|
+
# @param siret [String] 14-digit SIRET number (INSEE establishment identifier)
|
|
653
707
|
# @param [Hash] opts the optional parameters
|
|
654
|
-
# @
|
|
708
|
+
# @option opts [Array<String>] :fields Fields of a SIRET resource.
|
|
709
|
+
# @option opts [Array<SiretInclude>] :include Relations to include in the response.
|
|
710
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
711
|
+
# @return [Array<(AFNORFacilityPayloadHistory, Integer, Hash)>] AFNORFacilityPayloadHistory data, response status code and response headers
|
|
655
712
|
def get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get_with_http_info(siret, opts = {})
|
|
656
713
|
if @api_client.config.debugging
|
|
657
714
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_code_insee_proxy_api_v1_afnor_directory_v1_siret_code_insee_siret_get ...'
|
|
@@ -665,11 +722,14 @@ module FactPulse
|
|
|
665
722
|
|
|
666
723
|
# query parameters
|
|
667
724
|
query_params = opts[:query_params] || {}
|
|
725
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
726
|
+
query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :multi) if !opts[:'include'].nil?
|
|
668
727
|
|
|
669
728
|
# header parameters
|
|
670
729
|
header_params = opts[:header_params] || {}
|
|
671
730
|
# HTTP header 'Accept' (if needed)
|
|
672
731
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
732
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
673
733
|
|
|
674
734
|
# form parameters
|
|
675
735
|
form_params = opts[:form_params] || {}
|
|
@@ -678,7 +738,7 @@ module FactPulse
|
|
|
678
738
|
post_body = opts[:debug_body]
|
|
679
739
|
|
|
680
740
|
# return_type
|
|
681
|
-
return_type = opts[:debug_return_type] || '
|
|
741
|
+
return_type = opts[:debug_return_type] || 'AFNORFacilityPayloadHistory'
|
|
682
742
|
|
|
683
743
|
# auth_names
|
|
684
744
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -701,20 +761,24 @@ module FactPulse
|
|
|
701
761
|
end
|
|
702
762
|
|
|
703
763
|
# Gets a siret (facility) by id-instance
|
|
704
|
-
#
|
|
705
|
-
# @param id_instance [String]
|
|
764
|
+
# Returns the details of a facility according to an instance-id.
|
|
765
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
706
766
|
# @param [Hash] opts the optional parameters
|
|
707
|
-
# @
|
|
767
|
+
# @option opts [Array<String>] :fields Fields of a SIRET resource.
|
|
768
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
769
|
+
# @return [AFNORFacilityPayloadHistory]
|
|
708
770
|
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get(id_instance, opts = {})
|
|
709
771
|
data, _status_code, _headers = get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts)
|
|
710
772
|
data
|
|
711
773
|
end
|
|
712
774
|
|
|
713
775
|
# Gets a siret (facility) by id-instance
|
|
714
|
-
#
|
|
715
|
-
# @param id_instance [String]
|
|
776
|
+
# Returns the details of a facility according to an instance-id.
|
|
777
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
716
778
|
# @param [Hash] opts the optional parameters
|
|
717
|
-
# @
|
|
779
|
+
# @option opts [Array<String>] :fields Fields of a SIRET resource.
|
|
780
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
781
|
+
# @return [Array<(AFNORFacilityPayloadHistory, Integer, Hash)>] AFNORFacilityPayloadHistory data, response status code and response headers
|
|
718
782
|
def get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get_with_http_info(id_instance, opts = {})
|
|
719
783
|
if @api_client.config.debugging
|
|
720
784
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.get_siret_by_id_instance_proxy_api_v1_afnor_directory_v1_siret_id_instance_id_instance_get ...'
|
|
@@ -728,11 +792,13 @@ module FactPulse
|
|
|
728
792
|
|
|
729
793
|
# query parameters
|
|
730
794
|
query_params = opts[:query_params] || {}
|
|
795
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
731
796
|
|
|
732
797
|
# header parameters
|
|
733
798
|
header_params = opts[:header_params] || {}
|
|
734
799
|
# HTTP header 'Accept' (if needed)
|
|
735
800
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
801
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
736
802
|
|
|
737
803
|
# form parameters
|
|
738
804
|
form_params = opts[:form_params] || {}
|
|
@@ -741,7 +807,7 @@ module FactPulse
|
|
|
741
807
|
post_body = opts[:debug_body]
|
|
742
808
|
|
|
743
809
|
# return_type
|
|
744
|
-
return_type = opts[:debug_return_type] || '
|
|
810
|
+
return_type = opts[:debug_return_type] || 'AFNORFacilityPayloadHistory'
|
|
745
811
|
|
|
746
812
|
# auth_names
|
|
747
813
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -763,21 +829,23 @@ module FactPulse
|
|
|
763
829
|
return data, status_code, headers
|
|
764
830
|
end
|
|
765
831
|
|
|
766
|
-
# Partially updates a directory line
|
|
767
|
-
# Partially
|
|
768
|
-
# @param id_instance [String]
|
|
832
|
+
# Partially updates a directory line..
|
|
833
|
+
# Partially updates a directory line.
|
|
834
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
769
835
|
# @param [Hash] opts the optional parameters
|
|
770
|
-
# @
|
|
836
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
837
|
+
# @return [AFNORDirectoryLinePost201Response]
|
|
771
838
|
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch(id_instance, opts = {})
|
|
772
839
|
data, _status_code, _headers = patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
773
840
|
data
|
|
774
841
|
end
|
|
775
842
|
|
|
776
|
-
# Partially updates a directory line
|
|
777
|
-
# Partially
|
|
778
|
-
# @param id_instance [String]
|
|
843
|
+
# Partially updates a directory line..
|
|
844
|
+
# Partially updates a directory line.
|
|
845
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
779
846
|
# @param [Hash] opts the optional parameters
|
|
780
|
-
# @
|
|
847
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
848
|
+
# @return [Array<(AFNORDirectoryLinePost201Response, Integer, Hash)>] AFNORDirectoryLinePost201Response data, response status code and response headers
|
|
781
849
|
def patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
782
850
|
if @api_client.config.debugging
|
|
783
851
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_id_instance_id_instance_patch ...'
|
|
@@ -796,6 +864,7 @@ module FactPulse
|
|
|
796
864
|
header_params = opts[:header_params] || {}
|
|
797
865
|
# HTTP header 'Accept' (if needed)
|
|
798
866
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
867
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
799
868
|
|
|
800
869
|
# form parameters
|
|
801
870
|
form_params = opts[:form_params] || {}
|
|
@@ -804,7 +873,7 @@ module FactPulse
|
|
|
804
873
|
post_body = opts[:debug_body]
|
|
805
874
|
|
|
806
875
|
# return_type
|
|
807
|
-
return_type = opts[:debug_return_type] || '
|
|
876
|
+
return_type = opts[:debug_return_type] || 'AFNORDirectoryLinePost201Response'
|
|
808
877
|
|
|
809
878
|
# auth_names
|
|
810
879
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -826,21 +895,23 @@ module FactPulse
|
|
|
826
895
|
return data, status_code, headers
|
|
827
896
|
end
|
|
828
897
|
|
|
829
|
-
# Partially update a private routing code
|
|
830
|
-
# Partially update a private routing code
|
|
831
|
-
# @param id_instance [String]
|
|
898
|
+
# Partially update a private routing code.
|
|
899
|
+
# Partially update a private routing code.
|
|
900
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
832
901
|
# @param [Hash] opts the optional parameters
|
|
833
|
-
# @
|
|
902
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
903
|
+
# @return [AFNORRoutingCodePost201Response]
|
|
834
904
|
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch(id_instance, opts = {})
|
|
835
905
|
data, _status_code, _headers = patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts)
|
|
836
906
|
data
|
|
837
907
|
end
|
|
838
908
|
|
|
839
|
-
# Partially update a private routing code
|
|
840
|
-
# Partially update a private routing code
|
|
841
|
-
# @param id_instance [String]
|
|
909
|
+
# Partially update a private routing code.
|
|
910
|
+
# Partially update a private routing code.
|
|
911
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
842
912
|
# @param [Hash] opts the optional parameters
|
|
843
|
-
# @
|
|
913
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
914
|
+
# @return [Array<(AFNORRoutingCodePost201Response, Integer, Hash)>] AFNORRoutingCodePost201Response data, response status code and response headers
|
|
844
915
|
def patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch_with_http_info(id_instance, opts = {})
|
|
845
916
|
if @api_client.config.debugging
|
|
846
917
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.patch_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_patch ...'
|
|
@@ -859,6 +930,7 @@ module FactPulse
|
|
|
859
930
|
header_params = opts[:header_params] || {}
|
|
860
931
|
# HTTP header 'Accept' (if needed)
|
|
861
932
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
933
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
862
934
|
|
|
863
935
|
# form parameters
|
|
864
936
|
form_params = opts[:form_params] || {}
|
|
@@ -867,7 +939,7 @@ module FactPulse
|
|
|
867
939
|
post_body = opts[:debug_body]
|
|
868
940
|
|
|
869
941
|
# return_type
|
|
870
|
-
return_type = opts[:debug_return_type] || '
|
|
942
|
+
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePost201Response'
|
|
871
943
|
|
|
872
944
|
# auth_names
|
|
873
945
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -889,21 +961,23 @@ module FactPulse
|
|
|
889
961
|
return data, status_code, headers
|
|
890
962
|
end
|
|
891
963
|
|
|
892
|
-
# Completely update a private routing code
|
|
893
|
-
# Completely update a private routing code
|
|
894
|
-
# @param id_instance [String]
|
|
964
|
+
# Completely update a private routing code.
|
|
965
|
+
# Completely update a private routing code.
|
|
966
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
895
967
|
# @param [Hash] opts the optional parameters
|
|
896
|
-
# @
|
|
968
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
969
|
+
# @return [AFNORRoutingCodePost201Response]
|
|
897
970
|
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put(id_instance, opts = {})
|
|
898
971
|
data, _status_code, _headers = put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts)
|
|
899
972
|
data
|
|
900
973
|
end
|
|
901
974
|
|
|
902
|
-
# Completely update a private routing code
|
|
903
|
-
# Completely update a private routing code
|
|
904
|
-
# @param id_instance [String]
|
|
975
|
+
# Completely update a private routing code.
|
|
976
|
+
# Completely update a private routing code.
|
|
977
|
+
# @param id_instance [String] AFNOR instance ID (UUID)
|
|
905
978
|
# @param [Hash] opts the optional parameters
|
|
906
|
-
# @
|
|
979
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
980
|
+
# @return [Array<(AFNORRoutingCodePost201Response, Integer, Hash)>] AFNORRoutingCodePost201Response data, response status code and response headers
|
|
907
981
|
def put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put_with_http_info(id_instance, opts = {})
|
|
908
982
|
if @api_client.config.debugging
|
|
909
983
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.put_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_id_instance_id_instance_put ...'
|
|
@@ -922,6 +996,7 @@ module FactPulse
|
|
|
922
996
|
header_params = opts[:header_params] || {}
|
|
923
997
|
# HTTP header 'Accept' (if needed)
|
|
924
998
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
999
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
925
1000
|
|
|
926
1001
|
# form parameters
|
|
927
1002
|
form_params = opts[:form_params] || {}
|
|
@@ -930,7 +1005,7 @@ module FactPulse
|
|
|
930
1005
|
post_body = opts[:debug_body]
|
|
931
1006
|
|
|
932
1007
|
# return_type
|
|
933
|
-
return_type = opts[:debug_return_type] || '
|
|
1008
|
+
return_type = opts[:debug_return_type] || 'AFNORRoutingCodePost201Response'
|
|
934
1009
|
|
|
935
1010
|
# auth_names
|
|
936
1011
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -953,18 +1028,20 @@ module FactPulse
|
|
|
953
1028
|
end
|
|
954
1029
|
|
|
955
1030
|
# Search for a directory line
|
|
956
|
-
# Search for directory lines
|
|
1031
|
+
# Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
957
1032
|
# @param [Hash] opts the optional parameters
|
|
958
|
-
# @
|
|
1033
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1034
|
+
# @return [AFNORDirectoryLineSearchPost200Response]
|
|
959
1035
|
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post(opts = {})
|
|
960
1036
|
data, _status_code, _headers = search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts)
|
|
961
1037
|
data
|
|
962
1038
|
end
|
|
963
1039
|
|
|
964
1040
|
# Search for a directory line
|
|
965
|
-
# Search for directory lines
|
|
1041
|
+
# Search for directory lines that meet all the criteria passed as parameters and return the results in the desired format.
|
|
966
1042
|
# @param [Hash] opts the optional parameters
|
|
967
|
-
# @
|
|
1043
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1044
|
+
# @return [Array<(AFNORDirectoryLineSearchPost200Response, Integer, Hash)>] AFNORDirectoryLineSearchPost200Response data, response status code and response headers
|
|
968
1045
|
def search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post_with_http_info(opts = {})
|
|
969
1046
|
if @api_client.config.debugging
|
|
970
1047
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_directory_line_proxy_api_v1_afnor_directory_v1_directory_line_search_post ...'
|
|
@@ -979,6 +1056,7 @@ module FactPulse
|
|
|
979
1056
|
header_params = opts[:header_params] || {}
|
|
980
1057
|
# HTTP header 'Accept' (if needed)
|
|
981
1058
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1059
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
982
1060
|
|
|
983
1061
|
# form parameters
|
|
984
1062
|
form_params = opts[:form_params] || {}
|
|
@@ -987,7 +1065,7 @@ module FactPulse
|
|
|
987
1065
|
post_body = opts[:debug_body]
|
|
988
1066
|
|
|
989
1067
|
# return_type
|
|
990
|
-
return_type = opts[:debug_return_type] || '
|
|
1068
|
+
return_type = opts[:debug_return_type] || 'AFNORDirectoryLineSearchPost200Response'
|
|
991
1069
|
|
|
992
1070
|
# auth_names
|
|
993
1071
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -1010,18 +1088,20 @@ module FactPulse
|
|
|
1010
1088
|
end
|
|
1011
1089
|
|
|
1012
1090
|
# Search for a routing code
|
|
1013
|
-
# Search for routing codes
|
|
1091
|
+
# Search for routing codes that meet all the criteria passed as parameters and return the routing codes in the desired format.
|
|
1014
1092
|
# @param [Hash] opts the optional parameters
|
|
1015
|
-
# @
|
|
1093
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1094
|
+
# @return [AFNORRoutingCodeSearchPost200Response]
|
|
1016
1095
|
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post(opts = {})
|
|
1017
1096
|
data, _status_code, _headers = search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts)
|
|
1018
1097
|
data
|
|
1019
1098
|
end
|
|
1020
1099
|
|
|
1021
1100
|
# Search for a routing code
|
|
1022
|
-
# Search for routing codes
|
|
1101
|
+
# Search for routing codes that meet all the criteria passed as parameters and return the routing codes in the desired format.
|
|
1023
1102
|
# @param [Hash] opts the optional parameters
|
|
1024
|
-
# @
|
|
1103
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1104
|
+
# @return [Array<(AFNORRoutingCodeSearchPost200Response, Integer, Hash)>] AFNORRoutingCodeSearchPost200Response data, response status code and response headers
|
|
1025
1105
|
def search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post_with_http_info(opts = {})
|
|
1026
1106
|
if @api_client.config.debugging
|
|
1027
1107
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_routing_code_proxy_api_v1_afnor_directory_v1_routing_code_search_post ...'
|
|
@@ -1036,6 +1116,7 @@ module FactPulse
|
|
|
1036
1116
|
header_params = opts[:header_params] || {}
|
|
1037
1117
|
# HTTP header 'Accept' (if needed)
|
|
1038
1118
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1119
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1039
1120
|
|
|
1040
1121
|
# form parameters
|
|
1041
1122
|
form_params = opts[:form_params] || {}
|
|
@@ -1044,7 +1125,7 @@ module FactPulse
|
|
|
1044
1125
|
post_body = opts[:debug_body]
|
|
1045
1126
|
|
|
1046
1127
|
# return_type
|
|
1047
|
-
return_type = opts[:debug_return_type] || '
|
|
1128
|
+
return_type = opts[:debug_return_type] || 'AFNORRoutingCodeSearchPost200Response'
|
|
1048
1129
|
|
|
1049
1130
|
# auth_names
|
|
1050
1131
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -1067,18 +1148,20 @@ module FactPulse
|
|
|
1067
1148
|
end
|
|
1068
1149
|
|
|
1069
1150
|
# SIREN search (or legal unit)
|
|
1070
|
-
# Multi-criteria search
|
|
1151
|
+
# Multi-criteria company search.
|
|
1071
1152
|
# @param [Hash] opts the optional parameters
|
|
1072
|
-
# @
|
|
1153
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1154
|
+
# @return [AFNORSirenSearchPost200Response]
|
|
1073
1155
|
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post(opts = {})
|
|
1074
1156
|
data, _status_code, _headers = search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts)
|
|
1075
1157
|
data
|
|
1076
1158
|
end
|
|
1077
1159
|
|
|
1078
1160
|
# SIREN search (or legal unit)
|
|
1079
|
-
# Multi-criteria search
|
|
1161
|
+
# Multi-criteria company search.
|
|
1080
1162
|
# @param [Hash] opts the optional parameters
|
|
1081
|
-
# @
|
|
1163
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1164
|
+
# @return [Array<(AFNORSirenSearchPost200Response, Integer, Hash)>] AFNORSirenSearchPost200Response data, response status code and response headers
|
|
1082
1165
|
def search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post_with_http_info(opts = {})
|
|
1083
1166
|
if @api_client.config.debugging
|
|
1084
1167
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siren_proxy_api_v1_afnor_directory_v1_siren_search_post ...'
|
|
@@ -1093,6 +1176,7 @@ module FactPulse
|
|
|
1093
1176
|
header_params = opts[:header_params] || {}
|
|
1094
1177
|
# HTTP header 'Accept' (if needed)
|
|
1095
1178
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1179
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1096
1180
|
|
|
1097
1181
|
# form parameters
|
|
1098
1182
|
form_params = opts[:form_params] || {}
|
|
@@ -1101,7 +1185,7 @@ module FactPulse
|
|
|
1101
1185
|
post_body = opts[:debug_body]
|
|
1102
1186
|
|
|
1103
1187
|
# return_type
|
|
1104
|
-
return_type = opts[:debug_return_type] || '
|
|
1188
|
+
return_type = opts[:debug_return_type] || 'AFNORSirenSearchPost200Response'
|
|
1105
1189
|
|
|
1106
1190
|
# auth_names
|
|
1107
1191
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|
|
@@ -1124,18 +1208,20 @@ module FactPulse
|
|
|
1124
1208
|
end
|
|
1125
1209
|
|
|
1126
1210
|
# Search for a SIRET (facility)
|
|
1127
|
-
# Multi-criteria search for
|
|
1211
|
+
# Multi-criteria search for facilities.
|
|
1128
1212
|
# @param [Hash] opts the optional parameters
|
|
1129
|
-
# @
|
|
1213
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1214
|
+
# @return [AFNORSiretSearchPost200Response]
|
|
1130
1215
|
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post(opts = {})
|
|
1131
1216
|
data, _status_code, _headers = search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts)
|
|
1132
1217
|
data
|
|
1133
1218
|
end
|
|
1134
1219
|
|
|
1135
1220
|
# Search for a SIRET (facility)
|
|
1136
|
-
# Multi-criteria search for
|
|
1221
|
+
# Multi-criteria search for facilities.
|
|
1137
1222
|
# @param [Hash] opts the optional parameters
|
|
1138
|
-
# @
|
|
1223
|
+
# @option opts [AcceptLanguage] :accept_language Specifies the language in which the resource is requested.
|
|
1224
|
+
# @return [Array<(AFNORSiretSearchPost200Response, Integer, Hash)>] AFNORSiretSearchPost200Response data, response status code and response headers
|
|
1139
1225
|
def search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post_with_http_info(opts = {})
|
|
1140
1226
|
if @api_client.config.debugging
|
|
1141
1227
|
@api_client.config.logger.debug 'Calling API: AFNORPDPPADirectoryServiceApi.search_siret_proxy_api_v1_afnor_directory_v1_siret_search_post ...'
|
|
@@ -1150,6 +1236,7 @@ module FactPulse
|
|
|
1150
1236
|
header_params = opts[:header_params] || {}
|
|
1151
1237
|
# HTTP header 'Accept' (if needed)
|
|
1152
1238
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1239
|
+
header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil?
|
|
1153
1240
|
|
|
1154
1241
|
# form parameters
|
|
1155
1242
|
form_params = opts[:form_params] || {}
|
|
@@ -1158,7 +1245,7 @@ module FactPulse
|
|
|
1158
1245
|
post_body = opts[:debug_body]
|
|
1159
1246
|
|
|
1160
1247
|
# return_type
|
|
1161
|
-
return_type = opts[:debug_return_type] || '
|
|
1248
|
+
return_type = opts[:debug_return_type] || 'AFNORSiretSearchPost200Response'
|
|
1162
1249
|
|
|
1163
1250
|
# auth_names
|
|
1164
1251
|
auth_names = opts[:debug_auth_names] || ['HTTPBearer']
|