factpulse 4.3.0 → 4.4.0
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 +10 -5
- data/Gemfile.lock +11 -9
- data/README.md +7 -1
- data/docs/AFNORContainsOrStartWithOperator.md +15 -0
- data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
- data/docs/AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md +4 -0
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +2 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
- data/docs/AFNORFacilityPayloadIncluded.md +2 -0
- data/docs/AFNORFlow.md +2 -2
- data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
- data/docs/AFNORPDPPAFlowServiceApi.md +3 -133
- data/docs/AFNORRoutingCodeSearch.md +2 -2
- data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +4 -2
- data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
- data/docs/AFNORSearchFlowContent.md +3 -1
- data/docs/AFNORSearchFlowParams.md +3 -1
- data/docs/AFNORSearchSiren.md +1 -1
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenSortingInner.md +2 -2
- data/docs/AFNORSearchSiret.md +1 -1
- data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretSortingInner.md +2 -2
- data/docs/AFNORSirenSearchPost200Response.md +1 -1
- data/docs/AFNORSiretSearchPost200Response.md +1 -1
- data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
- data/docs/AFNORWebhook.md +12 -4
- data/docs/AFNORWebhookIdParam.md +5 -1
- data/docs/AFNORWebhookParams.md +8 -4
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{AFNORAlgorithm.md → Amounteur.md} +2 -2
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/ClientManagementApi.md +231 -0
- data/docs/CreateCDARRequest.md +3 -1
- data/docs/DeliveryParty.md +2 -2
- data/docs/ElectronicAddressInput.md +20 -0
- data/docs/ElectronicAddressOutput.md +20 -0
- data/docs/EncaisseeRequest.md +3 -1
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/Flux10EReportingApi.md +18 -8
- data/docs/Flux6InvoiceLifecycleCDARApi.md +39 -19
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/IncomingSupplier.md +4 -2
- data/docs/InvoiceGenerationApi.md +14 -8
- data/docs/InvoiceInput.md +5 -1
- data/docs/{AFNORCallbackAuthentication.md → Invoicedata.md} +9 -9
- data/docs/LifecycleEvent.md +2 -0
- data/docs/Payee.md +2 -2
- data/docs/PaymentAmountByRate.md +4 -2
- data/docs/PostalAddressInput.md +30 -0
- data/docs/PostalAddressOutput.md +30 -0
- data/docs/ProcessingOptions.md +1 -1
- data/docs/Recipient.md +3 -3
- data/docs/ReportSender.md +2 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SimplifiedInvoiceData.md +3 -3
- data/docs/SubmitCDARRequest.md +2 -0
- data/docs/SubmitCompleteInvoiceRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/SuperPDPConnectURLResponse.md +18 -0
- data/docs/SuperPDPDisconnectResponse.md +20 -0
- data/docs/SuperPDPStatusResponse.md +26 -0
- data/docs/Supplier.md +5 -3
- data/docs/TaxBreakdownInput.md +7 -1
- data/docs/TaxRepresentative.md +1 -1
- data/docs/{AFNORContainsOperator.md → Taxamounteur.md} +2 -2
- data/factpulse.gemspec +1 -1
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +7 -133
- data/lib/factpulse/api/async_tasks_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +196 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +1 -1
- data/lib/factpulse/api/factur_x_conversion_api.rb +1 -1
- data/lib/factpulse/api/factur_x_validation_api.rb +1 -1
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +1 -1
- data/lib/factpulse/api/flux10_e_reporting_api.rb +10 -1
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +25 -3
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_generation_api.rb +9 -3
- data/lib/factpulse/api/parse_api.rb +1 -1
- data/lib/factpulse/api/references_api.rb +1 -1
- data/lib/factpulse/api/validation_api.rb +1 -1
- data/lib/factpulse/api_client.rb +1 -1
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/helpers/client.rb +42 -5
- data/lib/factpulse/models/acknowledgment_status.rb +1 -1
- data/lib/factpulse/models/action_code_info.rb +1 -1
- data/lib/factpulse/models/action_codes_response.rb +1 -1
- data/lib/factpulse/models/additional_document.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
- data/lib/factpulse/models/afnor_address_read.rb +1 -1
- data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_start_with_operator.rb} +6 -5
- data/lib/factpulse/models/afnor_contains_or_strict_operator.rb +1 -1
- data/lib/factpulse/models/{afnor_algorithm.rb → afnor_contains_or_strict_or_start_with_operator.rb} +8 -11
- data/lib/factpulse/models/afnor_core_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_field.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_legal_unit_facility_routing_code.rb +51 -2
- data/lib/factpulse/models/afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb +42 -2
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_directory_line_status.rb +1 -1
- data/lib/factpulse/models/afnor_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_error.rb +1 -1
- data/lib/factpulse/models/afnor_error_detail.rb +1 -1
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_included.rb +11 -2
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +45 -11
- data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
- data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
- data/lib/factpulse/models/afnor_flow_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_flow_info_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +3 -2
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +9 -3
- data/lib/factpulse/models/afnor_full_flow_info.rb +11 -11
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +7 -7
- data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +14 -5
- data/lib/factpulse/models/afnor_processing_rule.rb +3 -2
- data/lib/factpulse/models/afnor_reason_code.rb +1 -1
- data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
- data/lib/factpulse/models/afnor_result.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_field.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +35 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +6 -6
- data/lib/factpulse/models/afnor_search_flow_params.rb +13 -3
- data/lib/factpulse/models/afnor_search_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
- data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
- data/lib/factpulse/models/afnor_strict_or_start_with_operator.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb → afnor_unique_directory_line_status.rb} +7 -10
- data/lib/factpulse/models/afnor_webhook.rb +83 -40
- data/lib/factpulse/models/afnor_webhook_id_param.rb +23 -5
- data/lib/factpulse/models/afnor_webhook_params.rb +65 -40
- data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
- data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
- data/lib/factpulse/models/allowance_charge.rb +2 -2
- data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_total_amount.rb +1 -1
- data/lib/factpulse/models/amount.rb +2 -2
- data/lib/factpulse/models/amount1.rb +2 -2
- data/lib/factpulse/models/amount2.rb +2 -2
- data/lib/factpulse/models/amount_due.rb +1 -1
- data/lib/factpulse/models/amounteur.rb +104 -0
- data/lib/factpulse/models/api_error.rb +1 -1
- data/lib/factpulse/models/api_profile.rb +1 -1
- data/lib/factpulse/models/async_task_status.rb +1 -1
- data/lib/factpulse/models/base_amount.rb +1 -1
- data/lib/factpulse/models/bounding_box_schema.rb +1 -1
- data/lib/factpulse/models/buyercountry.rb +1 -1
- data/lib/factpulse/models/celery_status.rb +1 -1
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/charge_total_amount.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +27 -95
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/client_activate_response.rb +1 -1
- data/lib/factpulse/models/client_create_request.rb +1 -1
- data/lib/factpulse/models/client_detail.rb +1 -1
- data/lib/factpulse/models/client_list_response.rb +1 -1
- data/lib/factpulse/models/client_summary.rb +1 -1
- data/lib/factpulse/models/client_update_request.rb +1 -1
- data/lib/factpulse/models/contact.rb +1 -1
- data/lib/factpulse/models/conversion_error_result.rb +1 -1
- data/lib/factpulse/models/conversion_extraction_info.rb +1 -1
- data/lib/factpulse/models/conversion_pending_input_result.rb +1 -1
- data/lib/factpulse/models/conversion_success_task_result.rb +1 -1
- data/lib/factpulse/models/conversion_task_status.rb +1 -1
- data/lib/factpulse/models/conversion_task_status_result.rb +1 -1
- data/lib/factpulse/models/conversion_validation_failed_result.rb +1 -1
- data/lib/factpulse/models/convert_resume_request.rb +1 -1
- data/lib/factpulse/models/convert_success_response.rb +1 -1
- data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
- data/lib/factpulse/models/country_code.rb +1 -1
- data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/create_cdar_request.rb +18 -6
- data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/currency.rb +1 -1
- data/lib/factpulse/models/currency_code.rb +1 -1
- data/lib/factpulse/models/delivery_party.rb +3 -3
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/doc_type.rb +1 -1
- data/lib/factpulse/models/document_type_info.rb +1 -1
- data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
- data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
- data/lib/factpulse/models/electronic_address.rb +2 -2
- data/lib/factpulse/models/{afnor_callback_signature.rb → electronic_address_input.rb} +29 -44
- data/lib/factpulse/models/{afnor_callback_parameters.rb → electronic_address_output.rb} +51 -46
- data/lib/factpulse/models/encaisseamount.rb +1 -1
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +15 -3
- data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
- data/lib/factpulse/models/error_level.rb +1 -1
- data/lib/factpulse/models/error_source.rb +1 -1
- data/lib/factpulse/models/extraction_info.rb +1 -1
- data/lib/factpulse/models/factur_x_invoice.rb +1 -1
- data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
- data/lib/factpulse/models/facture_electronique_models_invoice_type_code.rb +54 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +98 -30
- data/lib/factpulse/models/field_status.rb +1 -1
- data/lib/factpulse/models/file_info.rb +1 -1
- data/lib/factpulse/models/files_info.rb +1 -1
- data/lib/factpulse/models/flow_direction.rb +1 -1
- data/lib/factpulse/models/flow_profile.rb +3 -2
- data/lib/factpulse/models/flow_summary.rb +1 -1
- data/lib/factpulse/models/flow_syntax.rb +1 -1
- data/lib/factpulse/models/flow_type.rb +9 -3
- data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
- data/lib/factpulse/models/generate_cdar_response.rb +1 -1
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/generation_success_result.rb +1 -1
- data/lib/factpulse/models/generation_task_status.rb +1 -1
- data/lib/factpulse/models/generation_task_status_result.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- data/lib/factpulse/models/get_structure_response.rb +1 -1
- data/lib/factpulse/models/global_allowance_amount.rb +1 -1
- data/lib/factpulse/models/gross_unit_price.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/incoming_invoice.rb +1 -1
- data/lib/factpulse/models/incoming_supplier.rb +14 -4
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +23 -3
- data/lib/factpulse/models/invoice_lifecycle.rb +1 -1
- data/lib/factpulse/models/invoice_line.rb +1 -1
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
- data/lib/factpulse/models/invoice_note.rb +1 -1
- data/lib/factpulse/models/invoice_payment_input.rb +1 -1
- data/lib/factpulse/models/invoice_references.rb +1 -1
- data/lib/factpulse/models/invoice_status.rb +1 -1
- data/lib/factpulse/models/invoice_totals.rb +1 -1
- data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +7 -18
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/{afnor_callback_authentication.rb → invoicedata.rb} +5 -5
- data/lib/factpulse/models/invoicing_framework.rb +1 -1
- data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
- data/lib/factpulse/models/issuer_role_code.rb +1 -1
- data/lib/factpulse/models/key_rotation_request.rb +1 -1
- data/lib/factpulse/models/key_rotation_response.rb +1 -1
- data/lib/factpulse/models/lifecycle_event.rb +12 -2
- data/lib/factpulse/models/lifecycle_response.rb +1 -1
- data/lib/factpulse/models/line_net_amount.rb +1 -1
- data/lib/factpulse/models/line_sub_type.rb +1 -1
- data/lib/factpulse/models/line_total_amount.rb +1 -1
- data/lib/factpulse/models/location_inner.rb +1 -1
- data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
- data/lib/factpulse/models/manual_rate.rb +1 -1
- data/lib/factpulse/models/manual_vat_rate.rb +1 -1
- data/lib/factpulse/models/missing_field.rb +1 -1
- data/lib/factpulse/models/operation_nature.rb +1 -1
- data/lib/factpulse/models/output_format.rb +1 -1
- data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
- data/lib/factpulse/models/parse_factur_x_response.rb +1 -1
- data/lib/factpulse/models/payee.rb +3 -3
- data/lib/factpulse/models/payment_amount_by_rate.rb +15 -5
- data/lib/factpulse/models/payment_card.rb +1 -1
- data/lib/factpulse/models/payment_means.rb +1 -1
- data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
- data/lib/factpulse/models/pdp_config_response.rb +1 -1
- data/lib/factpulse/models/pdp_config_update_request.rb +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +1 -1
- data/lib/factpulse/models/percentage.rb +1 -1
- data/lib/factpulse/models/postal_address.rb +7 -7
- data/lib/factpulse/models/postal_address_input.rb +209 -0
- data/lib/factpulse/models/{afnor_callback_header.rb → postal_address_output.rb} +70 -51
- data/lib/factpulse/models/price_allowance_amount.rb +1 -1
- data/lib/factpulse/models/price_basis_quantity.rb +1 -1
- data/lib/factpulse/models/processing_options.rb +2 -2
- data/lib/factpulse/models/processing_rule.rb +3 -2
- data/lib/factpulse/models/product_characteristic.rb +1 -1
- data/lib/factpulse/models/product_classification.rb +1 -1
- data/lib/factpulse/models/quantity.rb +1 -1
- data/lib/factpulse/models/rate.rb +1 -1
- data/lib/factpulse/models/rate1.rb +1 -1
- data/lib/factpulse/models/reason_code_info.rb +1 -1
- data/lib/factpulse/models/reason_codes_response.rb +1 -1
- data/lib/factpulse/models/recipient.rb +4 -4
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +1 -1
- data/lib/factpulse/models/report_issuer.rb +1 -1
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +12 -2
- data/lib/factpulse/models/rounding_amount.rb +1 -1
- data/lib/factpulse/models/schematron_validation_error.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +1 -1
- data/lib/factpulse/models/search_flow_request.rb +1 -1
- data/lib/factpulse/models/search_flow_response.rb +1 -1
- data/lib/factpulse/models/search_services_response.rb +1 -1
- data/lib/factpulse/models/search_structure_request.rb +2 -2
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/secret_status.rb +1 -1
- data/lib/factpulse/models/sellercountry.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/signature_info_api.rb +1 -1
- data/lib/factpulse/models/signature_parameters.rb +1 -1
- data/lib/factpulse/models/signature_success_result.rb +1 -1
- data/lib/factpulse/models/signature_task_status.rb +1 -1
- data/lib/factpulse/models/signature_task_status_result.rb +1 -1
- data/lib/factpulse/models/simplified_cdar_response.rb +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +5 -5
- data/lib/factpulse/models/status_code_info.rb +1 -1
- data/lib/factpulse/models/status_codes_response.rb +1 -1
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/structure_parameters.rb +1 -1
- data/lib/factpulse/models/structure_service.rb +1 -1
- data/lib/factpulse/models/submission_mode.rb +1 -1
- data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/submit_cdar_request.rb +14 -2
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +1 -1
- data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -3
- data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/submit_flow_request.rb +1 -1
- data/lib/factpulse/models/submit_flow_response.rb +1 -1
- data/lib/factpulse/models/submit_gross_amount.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_net_amount.rb +1 -1
- data/lib/factpulse/models/submit_vat_amount.rb +1 -1
- data/lib/factpulse/models/{afnor_webhook_patch_payload.rb → super_pdp_connect_url_response.rb} +30 -31
- data/lib/factpulse/models/{afnor_basic_authentication.rb → super_pdp_disconnect_response.rb} +38 -35
- data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +15 -5
- data/lib/factpulse/models/task_error_result.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +35 -5
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +2 -2
- data/lib/factpulse/models/taxable_amount.rb +1 -1
- data/lib/factpulse/models/taxableamount.rb +1 -1
- data/lib/factpulse/models/taxamount.rb +1 -1
- data/lib/factpulse/models/taxamount1.rb +1 -1
- data/lib/factpulse/models/taxamount2.rb +1 -1
- data/lib/factpulse/models/taxamounteur.rb +104 -0
- data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
- data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
- data/lib/factpulse/models/total_gross_amount.rb +1 -1
- data/lib/factpulse/models/total_net_amount.rb +1 -1
- data/lib/factpulse/models/total_vat_amount.rb +1 -1
- data/lib/factpulse/models/transaction_category.rb +1 -1
- data/lib/factpulse/models/transmission_type_code.rb +1 -1
- data/lib/factpulse/models/unit_net_price.rb +1 -1
- data/lib/factpulse/models/unit_of_measure.rb +1 -1
- data/lib/factpulse/models/validate_cdar_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_response.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_detail.rb +1 -1
- data/lib/factpulse/models/validation_error_response.rb +1 -1
- data/lib/factpulse/models/validation_info.rb +1 -1
- data/lib/factpulse/models/validation_success_response.rb +1 -1
- data/lib/factpulse/models/validation_success_task_result.rb +1 -1
- data/lib/factpulse/models/validation_task_status.rb +1 -1
- data/lib/factpulse/models/validation_task_status_result.rb +1 -1
- data/lib/factpulse/models/vat_accounting_code.rb +1 -1
- data/lib/factpulse/models/vat_amount.rb +1 -1
- data/lib/factpulse/models/vat_category.rb +1 -1
- data/lib/factpulse/models/vat_line.rb +1 -1
- data/lib/factpulse/models/vat_point_date_code.rb +1 -1
- data/lib/factpulse/models/vat_rate.rb +1 -1
- data/lib/factpulse/models/vatex_code_info.rb +1 -1
- data/lib/factpulse/models/vatex_codes_response.rb +1 -1
- data/lib/factpulse/models/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verification_success_task_result.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status_result.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/models/webhook_secret_delete_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_generate_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_status_response.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +16 -13
- metadata +32 -26
- data/docs/AFNORBasicAuthentication.md +0 -20
- data/docs/AFNORCallbackHeader.md +0 -20
- data/docs/AFNORCallbackParameters.md +0 -24
- data/docs/AFNORCallbackSignature.md +0 -20
- data/docs/AFNOROAuth2Authentication.md +0 -22
- data/docs/AFNORWebhookMetadata.md +0 -24
- data/docs/AFNORWebhookPatchPayload.md +0 -22
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
- data/lib/factpulse/models/afnor_webhook_metadata.rb +0 -230
- data/lib/factpulse/models/afnoro_auth2_authentication.rb +0 -216
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **invoice_data** | [**
|
|
7
|
+
| **invoice_data** | [**Invoicedata**](Invoicedata.md) | | |
|
|
8
8
|
| **source_pdf** | **String** | Base64-encoded source PDF (will be transformed to Factur-X) | |
|
|
9
9
|
| **destination** | [**Destination**](Destination.md) | | |
|
|
10
10
|
| **signature** | [**SignatureParameters**](SignatureParameters.md) | | [optional] |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **credentials** | [**
|
|
7
|
+
| **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
|
|
8
8
|
| **invoice_number** | **String** | Invoice number | |
|
|
9
9
|
| **invoice_date** | **String** | Invoice date (ISO format: YYYY-MM-DD) | |
|
|
10
10
|
| **payment_due_date** | **String** | | [optional] |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# FactPulse::SuperPDPConnectURLResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **authorize_url** | **String** | URL to redirect the end user to in order to connect their SuperPDP account | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'factpulse'
|
|
13
|
+
|
|
14
|
+
instance = FactPulse::SuperPDPConnectURLResponse.new(
|
|
15
|
+
authorize_url: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::SuperPDPDisconnectResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **success** | **Boolean** | Whether the disconnection completed successfully | |
|
|
8
|
+
| **deleted** | **Boolean** | Whether a SuperPDP connection existed and was removed | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::SuperPDPDisconnectResponse.new(
|
|
16
|
+
success: null,
|
|
17
|
+
deleted: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FactPulse::SuperPDPStatusResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **connected** | **Boolean** | Whether this client has connected its SuperPDP account | |
|
|
8
|
+
| **connected_at** | **Time** | | [optional] |
|
|
9
|
+
| **expires_at** | **Time** | | [optional] |
|
|
10
|
+
| **mode_sandbox** | **Boolean** | | [optional] |
|
|
11
|
+
| **last_error** | **String** | Last token refresh error, if any | [optional][default to ''] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'factpulse'
|
|
17
|
+
|
|
18
|
+
instance = FactPulse::SuperPDPStatusResponse.new(
|
|
19
|
+
connected: null,
|
|
20
|
+
connected_at: null,
|
|
21
|
+
expires_at: null,
|
|
22
|
+
mode_sandbox: null,
|
|
23
|
+
last_error: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/Supplier.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **electronic_address** | [**
|
|
7
|
+
| **electronic_address** | [**ElectronicAddressInput**](ElectronicAddressInput.md) | | [optional] |
|
|
8
8
|
| **supplier_id** | **Integer** | Chorus Pro supplier structure ID (idFournisseur). Only required for B2G. | [optional][default to 0] |
|
|
9
9
|
| **private_id** | **String** | | [optional] |
|
|
10
10
|
| **supplier_bank_account_code** | **Integer** | | [optional] |
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
| **siren** | **String** | | [optional] |
|
|
16
16
|
| **siret** | **String** | | [optional] |
|
|
17
17
|
| **vat_number** | **String** | | [optional] |
|
|
18
|
+
| **tax_registration_id** | **String** | | [optional] |
|
|
18
19
|
| **iban** | **String** | | [optional] |
|
|
19
20
|
| **bic** | **String** | | [optional] |
|
|
20
21
|
| **bank_account_name** | **String** | | [optional] |
|
|
21
22
|
| **proprietary_id** | **String** | | [optional] |
|
|
22
|
-
| **postal_address** | [**
|
|
23
|
+
| **postal_address** | [**PostalAddressInput**](PostalAddressInput.md) | | [optional] |
|
|
23
24
|
| **contact** | [**Contact**](Contact.md) | | [optional] |
|
|
24
|
-
| **global_ids** | [**Array<
|
|
25
|
+
| **global_ids** | [**Array<ElectronicAddressInput>**](ElectronicAddressInput.md) | | [optional] |
|
|
25
26
|
|
|
26
27
|
## Example
|
|
27
28
|
|
|
@@ -40,6 +41,7 @@ instance = FactPulse::Supplier.new(
|
|
|
40
41
|
siren: null,
|
|
41
42
|
siret: null,
|
|
42
43
|
vat_number: null,
|
|
44
|
+
tax_registration_id: null,
|
|
43
45
|
iban: null,
|
|
44
46
|
bic: null,
|
|
45
47
|
bank_account_name: null,
|
data/docs/TaxBreakdownInput.md
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
| **rate** | [**Rate1**](Rate1.md) | | |
|
|
8
8
|
| **taxable_amount** | [**Taxableamount**](Taxableamount.md) | | |
|
|
9
9
|
| **tax_amount** | [**Taxamount2**](Taxamount2.md) | | |
|
|
10
|
+
| **tax_category_code** | **String** | | [optional] |
|
|
11
|
+
| **exemption_reason_code** | **String** | | [optional] |
|
|
12
|
+
| **exemption_reason** | **String** | | [optional] |
|
|
10
13
|
|
|
11
14
|
## Example
|
|
12
15
|
|
|
@@ -16,7 +19,10 @@ require 'factpulse'
|
|
|
16
19
|
instance = FactPulse::TaxBreakdownInput.new(
|
|
17
20
|
rate: null,
|
|
18
21
|
taxable_amount: null,
|
|
19
|
-
tax_amount: null
|
|
22
|
+
tax_amount: null,
|
|
23
|
+
tax_category_code: null,
|
|
24
|
+
exemption_reason_code: null,
|
|
25
|
+
exemption_reason: null
|
|
20
26
|
)
|
|
21
27
|
```
|
|
22
28
|
|
data/docs/TaxRepresentative.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | Tax representative name (BT-62). | |
|
|
8
8
|
| **vat_number** | **String** | Tax representative VAT identifier (BT-63). | |
|
|
9
|
-
| **postal_address** | [**
|
|
9
|
+
| **postal_address** | [**PostalAddressInput**](PostalAddressInput.md) | Tax representative postal address (BG-12). | |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
data/factpulse.gemspec
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ module FactPulse
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Create a webhook
|
|
23
|
-
# Register a new webhook subscription (AFNOR XP Z12-013 v1.
|
|
23
|
+
# Register a new webhook subscription (AFNOR XP Z12-013 v1.3.0)
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [Object]
|
|
26
26
|
def create_webhook_proxy_api_v1_afnor_flow_v1_webhooks_post(opts = {})
|
|
@@ -29,7 +29,7 @@ module FactPulse
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
# Create a webhook
|
|
32
|
-
# Register a new webhook subscription (AFNOR XP Z12-013 v1.
|
|
32
|
+
# Register a new webhook subscription (AFNOR XP Z12-013 v1.3.0)
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
35
35
|
def create_webhook_proxy_api_v1_afnor_flow_v1_webhooks_post_with_http_info(opts = {})
|
|
@@ -77,7 +77,7 @@ module FactPulse
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# Delete a webhook
|
|
80
|
-
# Delete a webhook subscription (AFNOR XP Z12-013 v1.
|
|
80
|
+
# Delete a webhook subscription (AFNOR XP Z12-013 v1.3.0)
|
|
81
81
|
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
83
|
# @return [Object]
|
|
@@ -87,7 +87,7 @@ module FactPulse
|
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Delete a webhook
|
|
90
|
-
# Delete a webhook subscription (AFNOR XP Z12-013 v1.
|
|
90
|
+
# Delete a webhook subscription (AFNOR XP Z12-013 v1.3.0)
|
|
91
91
|
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
92
92
|
# @param [Hash] opts the optional parameters
|
|
93
93
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
@@ -262,71 +262,8 @@ module FactPulse
|
|
|
262
262
|
return data, status_code, headers
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
-
# Get a webhook
|
|
266
|
-
# Get details of a specific webhook (AFNOR XP Z12-013 v1.2.0)
|
|
267
|
-
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
268
|
-
# @param [Hash] opts the optional parameters
|
|
269
|
-
# @return [AFNORWebhook]
|
|
270
|
-
def get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get(webhook_uid, opts = {})
|
|
271
|
-
data, _status_code, _headers = get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get_with_http_info(webhook_uid, opts)
|
|
272
|
-
data
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
# Get a webhook
|
|
276
|
-
# Get details of a specific webhook (AFNOR XP Z12-013 v1.2.0)
|
|
277
|
-
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
278
|
-
# @param [Hash] opts the optional parameters
|
|
279
|
-
# @return [Array<(AFNORWebhook, Integer, Hash)>] AFNORWebhook data, response status code and response headers
|
|
280
|
-
def get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get_with_http_info(webhook_uid, opts = {})
|
|
281
|
-
if @api_client.config.debugging
|
|
282
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPAFlowServiceApi.get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get ...'
|
|
283
|
-
end
|
|
284
|
-
# verify the required parameter 'webhook_uid' is set
|
|
285
|
-
if @api_client.config.client_side_validation && webhook_uid.nil?
|
|
286
|
-
fail ArgumentError, "Missing the required parameter 'webhook_uid' when calling AFNORPDPPAFlowServiceApi.get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get"
|
|
287
|
-
end
|
|
288
|
-
# resource path
|
|
289
|
-
local_var_path = '/api/v1/afnor/flow/v1/webhooks/{webhookUid}'.sub('{' + 'webhookUid' + '}', CGI.escape(webhook_uid.to_s))
|
|
290
|
-
|
|
291
|
-
# query parameters
|
|
292
|
-
query_params = opts[:query_params] || {}
|
|
293
|
-
|
|
294
|
-
# header parameters
|
|
295
|
-
header_params = opts[:header_params] || {}
|
|
296
|
-
# HTTP header 'Accept' (if needed)
|
|
297
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
298
|
-
|
|
299
|
-
# form parameters
|
|
300
|
-
form_params = opts[:form_params] || {}
|
|
301
|
-
|
|
302
|
-
# http body (model)
|
|
303
|
-
post_body = opts[:debug_body]
|
|
304
|
-
|
|
305
|
-
# return_type
|
|
306
|
-
return_type = opts[:debug_return_type] || 'AFNORWebhook'
|
|
307
|
-
|
|
308
|
-
# auth_names
|
|
309
|
-
auth_names = opts[:debug_auth_names] || []
|
|
310
|
-
|
|
311
|
-
new_options = opts.merge(
|
|
312
|
-
:operation => :"AFNORPDPPAFlowServiceApi.get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get",
|
|
313
|
-
:header_params => header_params,
|
|
314
|
-
:query_params => query_params,
|
|
315
|
-
:form_params => form_params,
|
|
316
|
-
:body => post_body,
|
|
317
|
-
:auth_names => auth_names,
|
|
318
|
-
:return_type => return_type
|
|
319
|
-
)
|
|
320
|
-
|
|
321
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
322
|
-
if @api_client.config.debugging
|
|
323
|
-
@api_client.config.logger.debug "API called: AFNORPDPPAFlowServiceApi#get_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
324
|
-
end
|
|
325
|
-
return data, status_code, headers
|
|
326
|
-
end
|
|
327
|
-
|
|
328
265
|
# List webhooks
|
|
329
|
-
# List all registered webhooks (AFNOR XP Z12-013 v1.
|
|
266
|
+
# List all registered webhooks (AFNOR XP Z12-013 v1.3.0)
|
|
330
267
|
# @param [Hash] opts the optional parameters
|
|
331
268
|
# @return [Array<AFNORWebhook>]
|
|
332
269
|
def list_webhooks_proxy_api_v1_afnor_flow_v1_webhooks_get(opts = {})
|
|
@@ -335,7 +272,7 @@ module FactPulse
|
|
|
335
272
|
end
|
|
336
273
|
|
|
337
274
|
# List webhooks
|
|
338
|
-
# List all registered webhooks (AFNOR XP Z12-013 v1.
|
|
275
|
+
# List all registered webhooks (AFNOR XP Z12-013 v1.3.0)
|
|
339
276
|
# @param [Hash] opts the optional parameters
|
|
340
277
|
# @return [Array<(Array<AFNORWebhook>, Integer, Hash)>] Array<AFNORWebhook> data, response status code and response headers
|
|
341
278
|
def list_webhooks_proxy_api_v1_afnor_flow_v1_webhooks_get_with_http_info(opts = {})
|
|
@@ -525,68 +462,5 @@ module FactPulse
|
|
|
525
462
|
end
|
|
526
463
|
return data, status_code, headers
|
|
527
464
|
end
|
|
528
|
-
|
|
529
|
-
# Update a webhook
|
|
530
|
-
# Partially update a webhook subscription (AFNOR XP Z12-013 v1.2.0)
|
|
531
|
-
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
532
|
-
# @param [Hash] opts the optional parameters
|
|
533
|
-
# @return [AFNORWebhook]
|
|
534
|
-
def update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch(webhook_uid, opts = {})
|
|
535
|
-
data, _status_code, _headers = update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch_with_http_info(webhook_uid, opts)
|
|
536
|
-
data
|
|
537
|
-
end
|
|
538
|
-
|
|
539
|
-
# Update a webhook
|
|
540
|
-
# Partially update a webhook subscription (AFNOR XP Z12-013 v1.2.0)
|
|
541
|
-
# @param webhook_uid [String] Webhook unique identifier (UUID)
|
|
542
|
-
# @param [Hash] opts the optional parameters
|
|
543
|
-
# @return [Array<(AFNORWebhook, Integer, Hash)>] AFNORWebhook data, response status code and response headers
|
|
544
|
-
def update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch_with_http_info(webhook_uid, opts = {})
|
|
545
|
-
if @api_client.config.debugging
|
|
546
|
-
@api_client.config.logger.debug 'Calling API: AFNORPDPPAFlowServiceApi.update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch ...'
|
|
547
|
-
end
|
|
548
|
-
# verify the required parameter 'webhook_uid' is set
|
|
549
|
-
if @api_client.config.client_side_validation && webhook_uid.nil?
|
|
550
|
-
fail ArgumentError, "Missing the required parameter 'webhook_uid' when calling AFNORPDPPAFlowServiceApi.update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch"
|
|
551
|
-
end
|
|
552
|
-
# resource path
|
|
553
|
-
local_var_path = '/api/v1/afnor/flow/v1/webhooks/{webhookUid}'.sub('{' + 'webhookUid' + '}', CGI.escape(webhook_uid.to_s))
|
|
554
|
-
|
|
555
|
-
# query parameters
|
|
556
|
-
query_params = opts[:query_params] || {}
|
|
557
|
-
|
|
558
|
-
# header parameters
|
|
559
|
-
header_params = opts[:header_params] || {}
|
|
560
|
-
# HTTP header 'Accept' (if needed)
|
|
561
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
562
|
-
|
|
563
|
-
# form parameters
|
|
564
|
-
form_params = opts[:form_params] || {}
|
|
565
|
-
|
|
566
|
-
# http body (model)
|
|
567
|
-
post_body = opts[:debug_body]
|
|
568
|
-
|
|
569
|
-
# return_type
|
|
570
|
-
return_type = opts[:debug_return_type] || 'AFNORWebhook'
|
|
571
|
-
|
|
572
|
-
# auth_names
|
|
573
|
-
auth_names = opts[:debug_auth_names] || []
|
|
574
|
-
|
|
575
|
-
new_options = opts.merge(
|
|
576
|
-
:operation => :"AFNORPDPPAFlowServiceApi.update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch",
|
|
577
|
-
:header_params => header_params,
|
|
578
|
-
:query_params => query_params,
|
|
579
|
-
:form_params => form_params,
|
|
580
|
-
:body => post_body,
|
|
581
|
-
:auth_names => auth_names,
|
|
582
|
-
:return_type => return_type
|
|
583
|
-
)
|
|
584
|
-
|
|
585
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
586
|
-
if @api_client.config.debugging
|
|
587
|
-
@api_client.config.logger.debug "API called: AFNORPDPPAFlowServiceApi#update_webhook_proxy_api_v1_afnor_flow_v1_webhooks_webhook_uid_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
588
|
-
end
|
|
589
|
-
return data, status_code, headers
|
|
590
|
-
end
|
|
591
465
|
end
|
|
592
466
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
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
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -276,6 +276,69 @@ module FactPulse
|
|
|
276
276
|
return data, status_code, headers
|
|
277
277
|
end
|
|
278
278
|
|
|
279
|
+
# Disconnect SuperPDP
|
|
280
|
+
# Disconnect SuperPDP for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) Revokes the stored refresh token with SuperPDP (RFC 7009) and deletes the stored tokens. The client can reconnect later via the connect-url endpoint.
|
|
281
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
282
|
+
# @param [Hash] opts the optional parameters
|
|
283
|
+
# @return [SuperPDPDisconnectResponse]
|
|
284
|
+
def disconnect_superpdp_api_v1_clients_uid_superpdp_delete(uid, opts = {})
|
|
285
|
+
data, _status_code, _headers = disconnect_superpdp_api_v1_clients_uid_superpdp_delete_with_http_info(uid, opts)
|
|
286
|
+
data
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# Disconnect SuperPDP
|
|
290
|
+
# Disconnect SuperPDP for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) Revokes the stored refresh token with SuperPDP (RFC 7009) and deletes the stored tokens. The client can reconnect later via the connect-url endpoint.
|
|
291
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
292
|
+
# @param [Hash] opts the optional parameters
|
|
293
|
+
# @return [Array<(SuperPDPDisconnectResponse, Integer, Hash)>] SuperPDPDisconnectResponse data, response status code and response headers
|
|
294
|
+
def disconnect_superpdp_api_v1_clients_uid_superpdp_delete_with_http_info(uid, opts = {})
|
|
295
|
+
if @api_client.config.debugging
|
|
296
|
+
@api_client.config.logger.debug 'Calling API: ClientManagementApi.disconnect_superpdp_api_v1_clients_uid_superpdp_delete ...'
|
|
297
|
+
end
|
|
298
|
+
# verify the required parameter 'uid' is set
|
|
299
|
+
if @api_client.config.client_side_validation && uid.nil?
|
|
300
|
+
fail ArgumentError, "Missing the required parameter 'uid' when calling ClientManagementApi.disconnect_superpdp_api_v1_clients_uid_superpdp_delete"
|
|
301
|
+
end
|
|
302
|
+
# resource path
|
|
303
|
+
local_var_path = '/api/v1/clients/{uid}/superpdp'.sub('{' + 'uid' + '}', CGI.escape(uid.to_s))
|
|
304
|
+
|
|
305
|
+
# query parameters
|
|
306
|
+
query_params = opts[:query_params] || {}
|
|
307
|
+
|
|
308
|
+
# header parameters
|
|
309
|
+
header_params = opts[:header_params] || {}
|
|
310
|
+
# HTTP header 'Accept' (if needed)
|
|
311
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
312
|
+
|
|
313
|
+
# form parameters
|
|
314
|
+
form_params = opts[:form_params] || {}
|
|
315
|
+
|
|
316
|
+
# http body (model)
|
|
317
|
+
post_body = opts[:debug_body]
|
|
318
|
+
|
|
319
|
+
# return_type
|
|
320
|
+
return_type = opts[:debug_return_type] || 'SuperPDPDisconnectResponse'
|
|
321
|
+
|
|
322
|
+
# auth_names
|
|
323
|
+
auth_names = opts[:debug_auth_names] || ['APIKeyHeader', 'HTTPBearer']
|
|
324
|
+
|
|
325
|
+
new_options = opts.merge(
|
|
326
|
+
:operation => :"ClientManagementApi.disconnect_superpdp_api_v1_clients_uid_superpdp_delete",
|
|
327
|
+
:header_params => header_params,
|
|
328
|
+
:query_params => query_params,
|
|
329
|
+
:form_params => form_params,
|
|
330
|
+
:body => post_body,
|
|
331
|
+
:auth_names => auth_names,
|
|
332
|
+
:return_type => return_type
|
|
333
|
+
)
|
|
334
|
+
|
|
335
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
336
|
+
if @api_client.config.debugging
|
|
337
|
+
@api_client.config.logger.debug "API called: ClientManagementApi#disconnect_superpdp_api_v1_clients_uid_superpdp_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
338
|
+
end
|
|
339
|
+
return data, status_code, headers
|
|
340
|
+
end
|
|
341
|
+
|
|
279
342
|
# Generate webhook secret
|
|
280
343
|
# Generate or regenerate the webhook secret for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Important**: Save the returned secret immediately - it will never be shown again. The secret is used to sign webhooks sent by the server (HMAC-SHA256). **If a secret already exists**: It will be replaced by the new one.
|
|
281
344
|
# @param uid [String] Client unique identifier (UUID)
|
|
@@ -465,6 +528,138 @@ module FactPulse
|
|
|
465
528
|
return data, status_code, headers
|
|
466
529
|
end
|
|
467
530
|
|
|
531
|
+
# Get SuperPDP connection URL
|
|
532
|
+
# Generate the SuperPDP OAuth2 authorization URL for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) Redirect the end user to the returned `authorizeUrl` so they can connect their own SuperPDP account to FactPulse (OAuth2 Authorization Code). **Query parameters**: - `modeSandbox` (default `true`): connect via the SuperPDP sandbox app (fictitious data) or the production app. - `returnUrl` (optional): absolute http(s) URL of your own portal. Once the SuperPDP authorization flow is over, the end user is redirected there with `superpdp_connected=true|false` (and `superpdp_error=<code>` on failure) appended to the query string. Without it, FactPulse displays its own confirmation page. Returns `400 invalid_return_url` if the URL is not an absolute http(s) URL.
|
|
533
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
534
|
+
# @param [Hash] opts the optional parameters
|
|
535
|
+
# @option opts [Boolean] :mode_sandbox True for the SuperPDP sandbox app (default), False for production (default to true)
|
|
536
|
+
# @option opts [String] :return_url Absolute http(s) URL to redirect the end user to once the SuperPDP connection is done. Defaults to the FactPulse confirmation page.
|
|
537
|
+
# @return [SuperPDPConnectURLResponse]
|
|
538
|
+
def get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post(uid, opts = {})
|
|
539
|
+
data, _status_code, _headers = get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post_with_http_info(uid, opts)
|
|
540
|
+
data
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Get SuperPDP connection URL
|
|
544
|
+
# Generate the SuperPDP OAuth2 authorization URL for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) Redirect the end user to the returned `authorizeUrl` so they can connect their own SuperPDP account to FactPulse (OAuth2 Authorization Code). **Query parameters**: - `modeSandbox` (default `true`): connect via the SuperPDP sandbox app (fictitious data) or the production app. - `returnUrl` (optional): absolute http(s) URL of your own portal. Once the SuperPDP authorization flow is over, the end user is redirected there with `superpdp_connected=true|false` (and `superpdp_error=<code>` on failure) appended to the query string. Without it, FactPulse displays its own confirmation page. Returns `400 invalid_return_url` if the URL is not an absolute http(s) URL.
|
|
545
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
546
|
+
# @param [Hash] opts the optional parameters
|
|
547
|
+
# @option opts [Boolean] :mode_sandbox True for the SuperPDP sandbox app (default), False for production (default to true)
|
|
548
|
+
# @option opts [String] :return_url Absolute http(s) URL to redirect the end user to once the SuperPDP connection is done. Defaults to the FactPulse confirmation page.
|
|
549
|
+
# @return [Array<(SuperPDPConnectURLResponse, Integer, Hash)>] SuperPDPConnectURLResponse data, response status code and response headers
|
|
550
|
+
def get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post_with_http_info(uid, opts = {})
|
|
551
|
+
if @api_client.config.debugging
|
|
552
|
+
@api_client.config.logger.debug 'Calling API: ClientManagementApi.get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post ...'
|
|
553
|
+
end
|
|
554
|
+
# verify the required parameter 'uid' is set
|
|
555
|
+
if @api_client.config.client_side_validation && uid.nil?
|
|
556
|
+
fail ArgumentError, "Missing the required parameter 'uid' when calling ClientManagementApi.get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post"
|
|
557
|
+
end
|
|
558
|
+
# resource path
|
|
559
|
+
local_var_path = '/api/v1/clients/{uid}/superpdp/connect-url'.sub('{' + 'uid' + '}', CGI.escape(uid.to_s))
|
|
560
|
+
|
|
561
|
+
# query parameters
|
|
562
|
+
query_params = opts[:query_params] || {}
|
|
563
|
+
query_params[:'modeSandbox'] = opts[:'mode_sandbox'] if !opts[:'mode_sandbox'].nil?
|
|
564
|
+
query_params[:'returnUrl'] = opts[:'return_url'] if !opts[:'return_url'].nil?
|
|
565
|
+
|
|
566
|
+
# header parameters
|
|
567
|
+
header_params = opts[:header_params] || {}
|
|
568
|
+
# HTTP header 'Accept' (if needed)
|
|
569
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
570
|
+
|
|
571
|
+
# form parameters
|
|
572
|
+
form_params = opts[:form_params] || {}
|
|
573
|
+
|
|
574
|
+
# http body (model)
|
|
575
|
+
post_body = opts[:debug_body]
|
|
576
|
+
|
|
577
|
+
# return_type
|
|
578
|
+
return_type = opts[:debug_return_type] || 'SuperPDPConnectURLResponse'
|
|
579
|
+
|
|
580
|
+
# auth_names
|
|
581
|
+
auth_names = opts[:debug_auth_names] || ['APIKeyHeader', 'HTTPBearer']
|
|
582
|
+
|
|
583
|
+
new_options = opts.merge(
|
|
584
|
+
:operation => :"ClientManagementApi.get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post",
|
|
585
|
+
:header_params => header_params,
|
|
586
|
+
:query_params => query_params,
|
|
587
|
+
:form_params => form_params,
|
|
588
|
+
:body => post_body,
|
|
589
|
+
:auth_names => auth_names,
|
|
590
|
+
:return_type => return_type
|
|
591
|
+
)
|
|
592
|
+
|
|
593
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
594
|
+
if @api_client.config.debugging
|
|
595
|
+
@api_client.config.logger.debug "API called: ClientManagementApi#get_superpdp_connect_url_api_v1_clients_uid_superpdp_connect_url_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
596
|
+
end
|
|
597
|
+
return data, status_code, headers
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Get SuperPDP connection status
|
|
601
|
+
# Check whether a client has connected its SuperPDP account. **Scope**: Client level (JWT with client_uid that must match {uid}) **Response**: - `connected`: Whether the client has an active SuperPDP connection - `connectedAt`: When the connection was established (if any) - `expiresAt`: When the current access token expires (if any) - `modeSandbox`: True if connected via the sandbox app, False for production, null if not connected - `lastError`: Last token refresh error, if any
|
|
602
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
603
|
+
# @param [Hash] opts the optional parameters
|
|
604
|
+
# @return [SuperPDPStatusResponse]
|
|
605
|
+
def get_superpdp_status_api_v1_clients_uid_superpdp_status_get(uid, opts = {})
|
|
606
|
+
data, _status_code, _headers = get_superpdp_status_api_v1_clients_uid_superpdp_status_get_with_http_info(uid, opts)
|
|
607
|
+
data
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# Get SuperPDP connection status
|
|
611
|
+
# Check whether a client has connected its SuperPDP account. **Scope**: Client level (JWT with client_uid that must match {uid}) **Response**: - `connected`: Whether the client has an active SuperPDP connection - `connectedAt`: When the connection was established (if any) - `expiresAt`: When the current access token expires (if any) - `modeSandbox`: True if connected via the sandbox app, False for production, null if not connected - `lastError`: Last token refresh error, if any
|
|
612
|
+
# @param uid [String] Client unique identifier (UUID)
|
|
613
|
+
# @param [Hash] opts the optional parameters
|
|
614
|
+
# @return [Array<(SuperPDPStatusResponse, Integer, Hash)>] SuperPDPStatusResponse data, response status code and response headers
|
|
615
|
+
def get_superpdp_status_api_v1_clients_uid_superpdp_status_get_with_http_info(uid, opts = {})
|
|
616
|
+
if @api_client.config.debugging
|
|
617
|
+
@api_client.config.logger.debug 'Calling API: ClientManagementApi.get_superpdp_status_api_v1_clients_uid_superpdp_status_get ...'
|
|
618
|
+
end
|
|
619
|
+
# verify the required parameter 'uid' is set
|
|
620
|
+
if @api_client.config.client_side_validation && uid.nil?
|
|
621
|
+
fail ArgumentError, "Missing the required parameter 'uid' when calling ClientManagementApi.get_superpdp_status_api_v1_clients_uid_superpdp_status_get"
|
|
622
|
+
end
|
|
623
|
+
# resource path
|
|
624
|
+
local_var_path = '/api/v1/clients/{uid}/superpdp/status'.sub('{' + 'uid' + '}', CGI.escape(uid.to_s))
|
|
625
|
+
|
|
626
|
+
# query parameters
|
|
627
|
+
query_params = opts[:query_params] || {}
|
|
628
|
+
|
|
629
|
+
# header parameters
|
|
630
|
+
header_params = opts[:header_params] || {}
|
|
631
|
+
# HTTP header 'Accept' (if needed)
|
|
632
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
633
|
+
|
|
634
|
+
# form parameters
|
|
635
|
+
form_params = opts[:form_params] || {}
|
|
636
|
+
|
|
637
|
+
# http body (model)
|
|
638
|
+
post_body = opts[:debug_body]
|
|
639
|
+
|
|
640
|
+
# return_type
|
|
641
|
+
return_type = opts[:debug_return_type] || 'SuperPDPStatusResponse'
|
|
642
|
+
|
|
643
|
+
# auth_names
|
|
644
|
+
auth_names = opts[:debug_auth_names] || ['APIKeyHeader', 'HTTPBearer']
|
|
645
|
+
|
|
646
|
+
new_options = opts.merge(
|
|
647
|
+
:operation => :"ClientManagementApi.get_superpdp_status_api_v1_clients_uid_superpdp_status_get",
|
|
648
|
+
:header_params => header_params,
|
|
649
|
+
:query_params => query_params,
|
|
650
|
+
:form_params => form_params,
|
|
651
|
+
:body => post_body,
|
|
652
|
+
:auth_names => auth_names,
|
|
653
|
+
:return_type => return_type
|
|
654
|
+
)
|
|
655
|
+
|
|
656
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
657
|
+
if @api_client.config.debugging
|
|
658
|
+
@api_client.config.logger.debug "API called: ClientManagementApi#get_superpdp_status_api_v1_clients_uid_superpdp_status_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
659
|
+
end
|
|
660
|
+
return data, status_code, headers
|
|
661
|
+
end
|
|
662
|
+
|
|
468
663
|
# Get webhook secret status
|
|
469
664
|
# Check if a webhook secret is configured for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Response**: - `hasSecret`: Whether a webhook secret is configured - `createdAt`: When the secret was created (if exists) **Note**: The secret value is never returned, only its status.
|
|
470
665
|
# @param uid [String] Client unique identifier (UUID)
|