factpulse 4.0.2 → 4.1.2
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 +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +12 -0
- data/docs/AFNORErrorDetail.md +26 -0
- data/docs/AFNORPDPPAApi.md +9 -2
- data/docs/AsyncTasksApi.md +231 -1
- data/docs/ChorusProApi.md +96 -16
- data/docs/ClientManagementApi.md +371 -25
- data/docs/ConversionErrorResult.md +30 -0
- data/docs/ConversionExtractionInfo.md +20 -0
- data/docs/ConversionPendingInputResult.md +30 -0
- data/docs/ConversionSuccessTaskResult.md +36 -0
- data/docs/ConversionTaskStatus.md +22 -0
- data/docs/ConversionTaskStatusResult.md +85 -0
- data/docs/ConversionValidationFailedResult.md +34 -0
- data/docs/ConvertResumeRequest.md +5 -1
- data/docs/DownloadsApi.md +16 -6
- data/docs/ElectronicSignatureApi.md +24 -4
- data/docs/FacturXConversionApi.md +176 -4
- data/docs/FacturXInvoice.md +1 -1
- data/docs/FacturXPDFXMLVerificationApi.md +93 -3
- data/docs/FacturXValidationApi.md +12 -78
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +18 -0
- data/docs/Flux10EReportingApi.md +36 -6
- data/docs/Flux6InvoiceLifecycleCDARApi.md +100 -3
- data/docs/GenerationSuccessResult.md +24 -0
- data/docs/GenerationTaskStatus.md +22 -0
- data/docs/GenerationTaskStatusResult.md +79 -0
- data/docs/HealthApi.md +6 -125
- data/docs/{FacturXGenerationApi.md → InvoiceGenerationApi.md} +39 -24
- data/docs/InvoiceInput.md +1 -1
- data/docs/InvoiceLifecycle.md +24 -0
- data/docs/InvoicingFramework.md +1 -1
- data/docs/KeyRotationRequest.md +20 -0
- data/docs/KeyRotationResponse.md +24 -0
- data/docs/LifecycleEvent.md +38 -0
- data/docs/LifecycleResponse.md +22 -0
- data/docs/PDPConfigResponse.md +2 -0
- data/docs/PDPConfigUpdateRequest.md +3 -1
- data/docs/ParseApi.md +161 -0
- data/docs/ParseFacturXResponse.md +26 -0
- data/docs/ReferencesApi.md +74 -0
- data/docs/SecretStatus.md +5 -1
- data/docs/SignatureSuccessResult.md +34 -0
- data/docs/SignatureTaskStatus.md +22 -0
- data/docs/SignatureTaskStatusResult.md +79 -0
- data/docs/SimplifiedInvoiceData.md +1 -1
- data/docs/SubmitCompleteInvoiceResponse.md +3 -1
- data/docs/Supplier.md +1 -1
- data/docs/TaskErrorResult.md +26 -0
- data/docs/VATEXCodeInfo.md +24 -0
- data/docs/VATEXCodesResponse.md +22 -0
- data/docs/ValidateCDARResponse.md +2 -2
- data/docs/ValidationApi.md +88 -0
- data/docs/ValidationErrorResponse.md +8 -2
- data/docs/ValidationSuccessTaskResult.md +20 -0
- data/docs/ValidationTaskStatus.md +22 -0
- data/docs/ValidationTaskStatusResult.md +79 -0
- data/docs/VerificationSuccessTaskResult.md +20 -0
- data/docs/VerificationTypedTaskStatus.md +22 -0
- data/docs/VerificationTypedTaskStatusResult.md +79 -0
- data/docs/WebhookSecretDeleteResponse.md +20 -0
- data/docs/WebhookSecretGenerateResponse.md +24 -0
- data/docs/WebhookSecretStatusResponse.md +20 -0
- data/factpulse.gemspec +3 -3
- data/lib/factpulse/api/afnorpdppa_api.rb +6 -3
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +2 -2
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +2 -2
- data/lib/factpulse/api/async_tasks_api.rb +192 -3
- data/lib/factpulse/api/chorus_pro_api.rb +18 -18
- data/lib/factpulse/api/client_management_api.rb +290 -24
- data/lib/factpulse/api/downloads_api.rb +8 -8
- data/lib/factpulse/api/electronic_signature_api.rb +6 -6
- data/lib/factpulse/api/factur_x_conversion_api.rb +143 -6
- data/lib/factpulse/api/factur_x_validation_api.rb +4 -79
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +68 -5
- data/lib/factpulse/api/flux10_e_reporting_api.rb +8 -8
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +88 -5
- data/lib/factpulse/api/health_api.rb +3 -117
- data/lib/factpulse/api/{factur_x_generation_api.rb → invoice_generation_api.rb} +26 -26
- data/lib/factpulse/api/parse_api.rb +163 -0
- data/lib/factpulse/api/references_api.rb +82 -0
- data/lib/factpulse/api/validation_api.rb +97 -0
- 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 +9 -2
- data/lib/factpulse/models/acknowledgment_status.rb +2 -2
- data/lib/factpulse/models/action_code_info.rb +2 -2
- data/lib/factpulse/models/action_codes_response.rb +2 -2
- data/lib/factpulse/models/additional_document.rb +2 -2
- data/lib/factpulse/models/afnor_acknowledgement.rb +2 -2
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +2 -2
- data/lib/factpulse/models/afnor_address_edit.rb +2 -2
- data/lib/factpulse/models/afnor_address_patch.rb +2 -2
- data/lib/factpulse/models/afnor_address_put.rb +2 -2
- data/lib/factpulse/models/afnor_address_read.rb +2 -2
- data/lib/factpulse/models/afnor_algorithm.rb +2 -2
- data/lib/factpulse/models/afnor_contains_operator.rb +2 -2
- data/lib/factpulse/models/afnor_create_directory_line_body.rb +2 -2
- data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +2 -2
- data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +2 -2
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +2 -2
- data/lib/factpulse/models/afnor_credentials.rb +2 -2
- data/lib/factpulse/models/afnor_destination.rb +2 -2
- data/lib/factpulse/models/afnor_diffusion_status.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_field.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_post201_response.rb +2 -2
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +2 -2
- data/lib/factpulse/models/afnor_entity_type.rb +2 -2
- data/lib/factpulse/models/afnor_error.rb +2 -2
- data/lib/factpulse/models/afnor_error_detail.rb +237 -0
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_facility_nature.rb +2 -2
- data/lib/factpulse/models/afnor_facility_payload_history.rb +2 -2
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +2 -2
- data/lib/factpulse/models/afnor_facility_payload_included.rb +2 -2
- data/lib/factpulse/models/afnor_facility_type.rb +2 -2
- data/lib/factpulse/models/afnor_flow.rb +2 -2
- data/lib/factpulse/models/afnor_flow_ack_status.rb +2 -2
- data/lib/factpulse/models/afnor_flow_direction.rb +2 -2
- data/lib/factpulse/models/afnor_flow_info.rb +2 -2
- data/lib/factpulse/models/afnor_flow_profile.rb +2 -2
- data/lib/factpulse/models/afnor_flow_syntax.rb +2 -2
- data/lib/factpulse/models/afnor_flow_type.rb +2 -2
- data/lib/factpulse/models/afnor_full_flow_info.rb +2 -2
- data/lib/factpulse/models/afnor_health_check_response.rb +2 -2
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +2 -2
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +2 -2
- data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +2 -2
- data/lib/factpulse/models/afnor_platform_status.rb +2 -2
- data/lib/factpulse/models/afnor_processing_rule.rb +2 -2
- data/lib/factpulse/models/afnor_reason_code.rb +2 -2
- data/lib/factpulse/models/afnor_reason_code_enum.rb +2 -2
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +2 -2
- data/lib/factpulse/models/afnor_result.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_field.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_post201_response.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +2 -2
- data/lib/factpulse/models/afnor_search_flow_content.rb +2 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +2 -2
- data/lib/factpulse/models/afnor_search_flow_params.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +2 -2
- data/lib/factpulse/models/afnor_siren_field.rb +2 -2
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +2 -2
- data/lib/factpulse/models/afnor_siret_field.rb +2 -2
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +2 -2
- data/lib/factpulse/models/afnor_sorting_order.rb +2 -2
- data/lib/factpulse/models/afnor_strict_operator.rb +2 -2
- data/lib/factpulse/models/afnor_update_patch_directory_line_body.rb +2 -2
- data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +2 -2
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +2 -2
- data/lib/factpulse/models/afnor_webhook_callback_content.rb +2 -2
- data/lib/factpulse/models/aggregated_payment_input.rb +2 -2
- data/lib/factpulse/models/aggregated_transaction_input.rb +2 -2
- data/lib/factpulse/models/allowance_charge.rb +2 -2
- data/lib/factpulse/models/allowance_charge_reason_code.rb +2 -2
- 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 +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 +2 -2
- data/lib/factpulse/models/api_error.rb +2 -2
- data/lib/factpulse/models/api_profile.rb +2 -2
- 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 +2 -2
- 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/chorus_pro_credentials.rb +2 -2
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +2 -2
- data/lib/factpulse/models/client_activate_response.rb +2 -2
- data/lib/factpulse/models/client_create_request.rb +2 -2
- data/lib/factpulse/models/client_detail.rb +2 -2
- data/lib/factpulse/models/client_list_response.rb +2 -2
- data/lib/factpulse/models/client_summary.rb +2 -2
- data/lib/factpulse/models/client_update_request.rb +2 -2
- data/lib/factpulse/models/contact.rb +2 -2
- data/lib/factpulse/models/conversion_error_result.rb +277 -0
- data/lib/factpulse/models/conversion_extraction_info.rb +176 -0
- data/lib/factpulse/models/conversion_pending_input_result.rb +344 -0
- data/lib/factpulse/models/conversion_success_task_result.rb +355 -0
- data/lib/factpulse/models/conversion_task_status.rb +223 -0
- data/lib/factpulse/models/conversion_task_status_result.rb +59 -0
- data/lib/factpulse/models/conversion_validation_failed_result.rb +348 -0
- data/lib/factpulse/models/convert_resume_request.rb +29 -7
- data/lib/factpulse/models/convert_success_response.rb +2 -2
- data/lib/factpulse/models/convert_validation_failed_response.rb +2 -2
- data/lib/factpulse/models/country_code.rb +2 -2
- data/lib/factpulse/models/create_aggregated_report_request.rb +2 -2
- data/lib/factpulse/models/create_cdar_request.rb +2 -2
- data/lib/factpulse/models/create_e_reporting_request.rb +2 -2
- data/lib/factpulse/models/currency.rb +2 -2
- data/lib/factpulse/models/currency_code.rb +2 -2
- data/lib/factpulse/models/delivery_party.rb +2 -2
- data/lib/factpulse/models/destination.rb +2 -2
- data/lib/factpulse/models/doc_type.rb +2 -2
- data/lib/factpulse/models/document_type_info.rb +2 -2
- data/lib/factpulse/models/e_reporting_flow_type.rb +2 -2
- data/lib/factpulse/models/e_reporting_validation_error.rb +2 -2
- data/lib/factpulse/models/electronic_address.rb +2 -2
- data/lib/factpulse/models/encaisseamount.rb +2 -2
- data/lib/factpulse/models/encaisseamount1.rb +2 -2
- data/lib/factpulse/models/encaissee_request.rb +2 -2
- data/lib/factpulse/models/enriched_invoice_info.rb +2 -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 +3 -19
- 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_chorus_pro_chorus_pro_credentials.rb +2 -2
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb +168 -0
- 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 +2 -2
- data/lib/factpulse/models/flow_syntax.rb +2 -2
- data/lib/factpulse/models/flow_type.rb +2 -2
- data/lib/factpulse/models/generate_aggregated_report_response.rb +2 -2
- data/lib/factpulse/models/generate_cdar_response.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/generation_success_result.rb +230 -0
- data/lib/factpulse/models/generation_task_status.rb +223 -0
- data/lib/factpulse/models/generation_task_status_result.rb +55 -0
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +2 -2
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +2 -2
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- data/lib/factpulse/models/get_structure_response.rb +2 -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 +2 -2
- 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 +3 -3
- data/lib/factpulse/models/invoice_lifecycle.rb +215 -0
- data/lib/factpulse/models/invoice_line.rb +2 -2
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +2 -2
- data/lib/factpulse/models/invoice_note.rb +2 -2
- data/lib/factpulse/models/invoice_payment_input.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/invoicing_framework.rb +3 -20
- data/lib/factpulse/models/invoicing_framework_code.rb +2 -2
- data/lib/factpulse/models/issuer_role_code.rb +2 -2
- data/lib/factpulse/models/key_rotation_request.rb +211 -0
- data/lib/factpulse/models/key_rotation_response.rb +232 -0
- data/lib/factpulse/models/lifecycle_event.rb +300 -0
- data/lib/factpulse/models/lifecycle_response.rb +205 -0
- data/lib/factpulse/models/line_net_amount.rb +2 -2
- data/lib/factpulse/models/line_sub_type.rb +2 -2
- data/lib/factpulse/models/line_total_amount.rb +2 -2
- data/lib/factpulse/models/location_inner.rb +2 -2
- 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 +5 -3
- data/lib/factpulse/models/page_dimensions_schema.rb +2 -2
- data/lib/factpulse/models/parse_factur_x_response.rb +249 -0
- data/lib/factpulse/models/payee.rb +2 -2
- data/lib/factpulse/models/payment_amount_by_rate.rb +2 -2
- 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_config_response.rb +13 -3
- data/lib/factpulse/models/pdp_config_update_request.rb +51 -7
- 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 +2 -2
- 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 +2 -2
- data/lib/factpulse/models/rate1.rb +2 -2
- data/lib/factpulse/models/reason_code_info.rb +2 -2
- data/lib/factpulse/models/reason_codes_response.rb +2 -2
- data/lib/factpulse/models/recipient.rb +2 -2
- data/lib/factpulse/models/recipient_input.rb +2 -2
- data/lib/factpulse/models/refusee_request.rb +2 -2
- data/lib/factpulse/models/report_issuer.rb +2 -2
- data/lib/factpulse/models/report_period.rb +2 -2
- data/lib/factpulse/models/report_sender.rb +2 -2
- data/lib/factpulse/models/rounding_amount.rb +2 -2
- data/lib/factpulse/models/schematron_validation_error.rb +2 -2
- data/lib/factpulse/models/scheme_id.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/search_structure_request.rb +2 -2
- data/lib/factpulse/models/search_structure_response.rb +2 -2
- data/lib/factpulse/models/secret_status.rb +26 -6
- data/lib/factpulse/models/sellercountry.rb +2 -2
- 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/signature_success_result.rb +394 -0
- data/lib/factpulse/models/signature_task_status.rb +223 -0
- data/lib/factpulse/models/signature_task_status_result.rb +55 -0
- data/lib/factpulse/models/simplified_cdar_response.rb +2 -2
- data/lib/factpulse/models/simplified_invoice_data.rb +3 -3
- data/lib/factpulse/models/status_code_info.rb +2 -2
- data/lib/factpulse/models/status_codes_response.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/submit_cdar_request.rb +2 -2
- data/lib/factpulse/models/submit_cdar_response.rb +2 -2
- data/lib/factpulse/models/submit_cdarxml_request.rb +2 -2
- data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_complete_invoice_response.rb +33 -4
- data/lib/factpulse/models/submit_e_reporting_request.rb +2 -2
- data/lib/factpulse/models/submit_e_reporting_response.rb +2 -2
- 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 +2 -2
- 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 +2 -2
- data/lib/factpulse/models/supplier.rb +4 -18
- data/lib/factpulse/models/task_error_result.rb +257 -0
- data/lib/factpulse/models/task_response.rb +2 -2
- data/lib/factpulse/models/tax_breakdown_input.rb +2 -2
- data/lib/factpulse/models/tax_due_date_type.rb +2 -2
- data/lib/factpulse/models/tax_representative.rb +2 -2
- data/lib/factpulse/models/taxable_amount.rb +2 -2
- data/lib/factpulse/models/taxableamount.rb +2 -2
- data/lib/factpulse/models/taxamount.rb +2 -2
- data/lib/factpulse/models/taxamount1.rb +2 -2
- data/lib/factpulse/models/taxamount2.rb +2 -2
- data/lib/factpulse/models/taxexclusiveamount.rb +2 -2
- data/lib/factpulse/models/taxexclusiveamount1.rb +2 -2
- 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 +2 -2
- data/lib/factpulse/models/transmission_type_code.rb +2 -2
- data/lib/factpulse/models/unit_net_price.rb +2 -2
- data/lib/factpulse/models/unit_of_measure.rb +17 -3
- data/lib/factpulse/models/validate_cdar_request.rb +2 -2
- data/lib/factpulse/models/validate_cdar_response.rb +4 -4
- data/lib/factpulse/models/validate_e_reporting_request.rb +2 -2
- data/lib/factpulse/models/validate_e_reporting_response.rb +2 -2
- data/lib/factpulse/models/validation_error.rb +2 -2
- data/lib/factpulse/models/validation_error_detail.rb +2 -2
- data/lib/factpulse/models/validation_error_response.rb +69 -22
- data/lib/factpulse/models/validation_info.rb +2 -2
- data/lib/factpulse/models/validation_success_response.rb +2 -2
- data/lib/factpulse/models/validation_success_task_result.rb +210 -0
- data/lib/factpulse/models/validation_task_status.rb +223 -0
- data/lib/factpulse/models/validation_task_status_result.rb +55 -0
- 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/vatex_code_info.rb +247 -0
- data/lib/factpulse/models/vatex_codes_response.rb +204 -0
- data/lib/factpulse/models/verification_success_response.rb +2 -2
- data/lib/factpulse/models/verification_success_task_result.rb +210 -0
- data/lib/factpulse/models/verification_typed_task_status.rb +223 -0
- data/lib/factpulse/models/verification_typed_task_status_result.rb +55 -0
- data/lib/factpulse/models/verified_field_schema.rb +2 -2
- data/lib/factpulse/models/webhook_secret_delete_response.rb +193 -0
- data/lib/factpulse/models/webhook_secret_generate_response.rb +247 -0
- data/lib/factpulse/models/webhook_secret_status_response.rb +176 -0
- data/lib/factpulse/version.rb +3 -3
- data/lib/factpulse.rb +40 -5
- metadata +133 -63
- data/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +0 -24
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +0 -215
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb +0 -43
data/docs/ClientManagementApi.md
CHANGED
|
@@ -7,9 +7,13 @@ All URIs are relative to *https://factpulse.fr*
|
|
|
7
7
|
| [**activate_client_api_v1_clients_uid_activer_post**](ClientManagementApi.md#activate_client_api_v1_clients_uid_activer_post) | **POST** /api/v1/clients/{uid}/activer | Activate a client |
|
|
8
8
|
| [**create_client_api_v1_clients_post**](ClientManagementApi.md#create_client_api_v1_clients_post) | **POST** /api/v1/clients | Create a client |
|
|
9
9
|
| [**deactivate_client_api_v1_clients_uid_desactiver_post**](ClientManagementApi.md#deactivate_client_api_v1_clients_uid_desactiver_post) | **POST** /api/v1/clients/{uid}/desactiver | Deactivate a client |
|
|
10
|
+
| [**delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete**](ClientManagementApi.md#delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete) | **DELETE** /api/v1/clients/{uid}/webhook-secret | Delete webhook secret |
|
|
11
|
+
| [**generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post**](ClientManagementApi.md#generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post) | **POST** /api/v1/clients/{uid}/webhook-secret/generate | Generate webhook secret |
|
|
10
12
|
| [**get_client_api_v1_clients_uid_get**](ClientManagementApi.md#get_client_api_v1_clients_uid_get) | **GET** /api/v1/clients/{uid} | Get client details |
|
|
11
13
|
| [**get_pdp_config_api_v1_clients_uid_pdp_config_get**](ClientManagementApi.md#get_pdp_config_api_v1_clients_uid_pdp_config_get) | **GET** /api/v1/clients/{uid}/pdp-config | Get client PDP configuration |
|
|
14
|
+
| [**get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get**](ClientManagementApi.md#get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get) | **GET** /api/v1/clients/{uid}/webhook-secret/status | Get webhook secret status |
|
|
12
15
|
| [**list_clients_api_v1_clients_get**](ClientManagementApi.md#list_clients_api_v1_clients_get) | **GET** /api/v1/clients | List clients |
|
|
16
|
+
| [**rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post**](ClientManagementApi.md#rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post) | **POST** /api/v1/clients/{uid}/rotate-encryption-key | Rotate client encryption key |
|
|
13
17
|
| [**update_client_api_v1_clients_uid_patch**](ClientManagementApi.md#update_client_api_v1_clients_uid_patch) | **PATCH** /api/v1/clients/{uid} | Update a client |
|
|
14
18
|
| [**update_pdp_config_api_v1_clients_uid_pdp_config_put**](ClientManagementApi.md#update_pdp_config_api_v1_clients_uid_pdp_config_put) | **PUT** /api/v1/clients/{uid}/pdp-config | Configure client PDP |
|
|
15
19
|
|
|
@@ -29,12 +33,17 @@ require 'time'
|
|
|
29
33
|
require 'factpulse'
|
|
30
34
|
# setup authorization
|
|
31
35
|
FactPulse.configure do |config|
|
|
36
|
+
# Configure API key authorization: APIKeyHeader
|
|
37
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
38
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
39
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
40
|
+
|
|
32
41
|
# Configure Bearer authorization: HTTPBearer
|
|
33
42
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
34
43
|
end
|
|
35
44
|
|
|
36
45
|
api_instance = FactPulse::ClientManagementApi.new
|
|
37
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
46
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
38
47
|
|
|
39
48
|
begin
|
|
40
49
|
# Activate a client
|
|
@@ -67,7 +76,7 @@ end
|
|
|
67
76
|
|
|
68
77
|
| Name | Type | Description | Notes |
|
|
69
78
|
| ---- | ---- | ----------- | ----- |
|
|
70
|
-
| **uid** | **String** |
|
|
79
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
71
80
|
|
|
72
81
|
### Return type
|
|
73
82
|
|
|
@@ -75,7 +84,7 @@ end
|
|
|
75
84
|
|
|
76
85
|
### Authorization
|
|
77
86
|
|
|
78
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
87
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
79
88
|
|
|
80
89
|
### HTTP request headers
|
|
81
90
|
|
|
@@ -98,6 +107,11 @@ require 'time'
|
|
|
98
107
|
require 'factpulse'
|
|
99
108
|
# setup authorization
|
|
100
109
|
FactPulse.configure do |config|
|
|
110
|
+
# Configure API key authorization: APIKeyHeader
|
|
111
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
112
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
113
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
114
|
+
|
|
101
115
|
# Configure Bearer authorization: HTTPBearer
|
|
102
116
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
103
117
|
end
|
|
@@ -144,7 +158,7 @@ end
|
|
|
144
158
|
|
|
145
159
|
### Authorization
|
|
146
160
|
|
|
147
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
161
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
148
162
|
|
|
149
163
|
### HTTP request headers
|
|
150
164
|
|
|
@@ -167,12 +181,17 @@ require 'time'
|
|
|
167
181
|
require 'factpulse'
|
|
168
182
|
# setup authorization
|
|
169
183
|
FactPulse.configure do |config|
|
|
184
|
+
# Configure API key authorization: APIKeyHeader
|
|
185
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
186
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
187
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
188
|
+
|
|
170
189
|
# Configure Bearer authorization: HTTPBearer
|
|
171
190
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
172
191
|
end
|
|
173
192
|
|
|
174
193
|
api_instance = FactPulse::ClientManagementApi.new
|
|
175
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
194
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
176
195
|
|
|
177
196
|
begin
|
|
178
197
|
# Deactivate a client
|
|
@@ -205,7 +224,7 @@ end
|
|
|
205
224
|
|
|
206
225
|
| Name | Type | Description | Notes |
|
|
207
226
|
| ---- | ---- | ----------- | ----- |
|
|
208
|
-
| **uid** | **String** |
|
|
227
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
209
228
|
|
|
210
229
|
### Return type
|
|
211
230
|
|
|
@@ -213,7 +232,155 @@ end
|
|
|
213
232
|
|
|
214
233
|
### Authorization
|
|
215
234
|
|
|
216
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
235
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: Not defined
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
## delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete
|
|
244
|
+
|
|
245
|
+
> <WebhookSecretDeleteResponse> delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete(uid)
|
|
246
|
+
|
|
247
|
+
Delete webhook secret
|
|
248
|
+
|
|
249
|
+
Delete the webhook secret for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **After deletion**: Webhooks for this client will use the global server key for HMAC signature instead of a client-specific key.
|
|
250
|
+
|
|
251
|
+
### Examples
|
|
252
|
+
|
|
253
|
+
```ruby
|
|
254
|
+
require 'time'
|
|
255
|
+
require 'factpulse'
|
|
256
|
+
# setup authorization
|
|
257
|
+
FactPulse.configure do |config|
|
|
258
|
+
# Configure API key authorization: APIKeyHeader
|
|
259
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
260
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
261
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
262
|
+
|
|
263
|
+
# Configure Bearer authorization: HTTPBearer
|
|
264
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
api_instance = FactPulse::ClientManagementApi.new
|
|
268
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
269
|
+
|
|
270
|
+
begin
|
|
271
|
+
# Delete webhook secret
|
|
272
|
+
result = api_instance.delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete(uid)
|
|
273
|
+
p result
|
|
274
|
+
rescue FactPulse::ApiError => e
|
|
275
|
+
puts "Error when calling ClientManagementApi->delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete: #{e}"
|
|
276
|
+
end
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
#### Using the delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete_with_http_info variant
|
|
280
|
+
|
|
281
|
+
This returns an Array which contains the response data, status code and headers.
|
|
282
|
+
|
|
283
|
+
> <Array(<WebhookSecretDeleteResponse>, Integer, Hash)> delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete_with_http_info(uid)
|
|
284
|
+
|
|
285
|
+
```ruby
|
|
286
|
+
begin
|
|
287
|
+
# Delete webhook secret
|
|
288
|
+
data, status_code, headers = api_instance.delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete_with_http_info(uid)
|
|
289
|
+
p status_code # => 2xx
|
|
290
|
+
p headers # => { ... }
|
|
291
|
+
p data # => <WebhookSecretDeleteResponse>
|
|
292
|
+
rescue FactPulse::ApiError => e
|
|
293
|
+
puts "Error when calling ClientManagementApi->delete_webhook_secret_api_v1_clients_uid_webhook_secret_delete_with_http_info: #{e}"
|
|
294
|
+
end
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Parameters
|
|
298
|
+
|
|
299
|
+
| Name | Type | Description | Notes |
|
|
300
|
+
| ---- | ---- | ----------- | ----- |
|
|
301
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
302
|
+
|
|
303
|
+
### Return type
|
|
304
|
+
|
|
305
|
+
[**WebhookSecretDeleteResponse**](WebhookSecretDeleteResponse.md)
|
|
306
|
+
|
|
307
|
+
### Authorization
|
|
308
|
+
|
|
309
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
310
|
+
|
|
311
|
+
### HTTP request headers
|
|
312
|
+
|
|
313
|
+
- **Content-Type**: Not defined
|
|
314
|
+
- **Accept**: application/json
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
## generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post
|
|
318
|
+
|
|
319
|
+
> <WebhookSecretGenerateResponse> generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post(uid)
|
|
320
|
+
|
|
321
|
+
Generate webhook secret
|
|
322
|
+
|
|
323
|
+
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.
|
|
324
|
+
|
|
325
|
+
### Examples
|
|
326
|
+
|
|
327
|
+
```ruby
|
|
328
|
+
require 'time'
|
|
329
|
+
require 'factpulse'
|
|
330
|
+
# setup authorization
|
|
331
|
+
FactPulse.configure do |config|
|
|
332
|
+
# Configure API key authorization: APIKeyHeader
|
|
333
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
334
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
335
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
336
|
+
|
|
337
|
+
# Configure Bearer authorization: HTTPBearer
|
|
338
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
api_instance = FactPulse::ClientManagementApi.new
|
|
342
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
343
|
+
|
|
344
|
+
begin
|
|
345
|
+
# Generate webhook secret
|
|
346
|
+
result = api_instance.generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post(uid)
|
|
347
|
+
p result
|
|
348
|
+
rescue FactPulse::ApiError => e
|
|
349
|
+
puts "Error when calling ClientManagementApi->generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post: #{e}"
|
|
350
|
+
end
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
#### Using the generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post_with_http_info variant
|
|
354
|
+
|
|
355
|
+
This returns an Array which contains the response data, status code and headers.
|
|
356
|
+
|
|
357
|
+
> <Array(<WebhookSecretGenerateResponse>, Integer, Hash)> generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post_with_http_info(uid)
|
|
358
|
+
|
|
359
|
+
```ruby
|
|
360
|
+
begin
|
|
361
|
+
# Generate webhook secret
|
|
362
|
+
data, status_code, headers = api_instance.generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post_with_http_info(uid)
|
|
363
|
+
p status_code # => 2xx
|
|
364
|
+
p headers # => { ... }
|
|
365
|
+
p data # => <WebhookSecretGenerateResponse>
|
|
366
|
+
rescue FactPulse::ApiError => e
|
|
367
|
+
puts "Error when calling ClientManagementApi->generate_webhook_secret_api_v1_clients_uid_webhook_secret_generate_post_with_http_info: #{e}"
|
|
368
|
+
end
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Parameters
|
|
372
|
+
|
|
373
|
+
| Name | Type | Description | Notes |
|
|
374
|
+
| ---- | ---- | ----------- | ----- |
|
|
375
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
376
|
+
|
|
377
|
+
### Return type
|
|
378
|
+
|
|
379
|
+
[**WebhookSecretGenerateResponse**](WebhookSecretGenerateResponse.md)
|
|
380
|
+
|
|
381
|
+
### Authorization
|
|
382
|
+
|
|
383
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
217
384
|
|
|
218
385
|
### HTTP request headers
|
|
219
386
|
|
|
@@ -236,12 +403,17 @@ require 'time'
|
|
|
236
403
|
require 'factpulse'
|
|
237
404
|
# setup authorization
|
|
238
405
|
FactPulse.configure do |config|
|
|
406
|
+
# Configure API key authorization: APIKeyHeader
|
|
407
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
408
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
409
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
410
|
+
|
|
239
411
|
# Configure Bearer authorization: HTTPBearer
|
|
240
412
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
241
413
|
end
|
|
242
414
|
|
|
243
415
|
api_instance = FactPulse::ClientManagementApi.new
|
|
244
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
416
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
245
417
|
|
|
246
418
|
begin
|
|
247
419
|
# Get client details
|
|
@@ -274,7 +446,7 @@ end
|
|
|
274
446
|
|
|
275
447
|
| Name | Type | Description | Notes |
|
|
276
448
|
| ---- | ---- | ----------- | ----- |
|
|
277
|
-
| **uid** | **String** |
|
|
449
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
278
450
|
|
|
279
451
|
### Return type
|
|
280
452
|
|
|
@@ -282,7 +454,7 @@ end
|
|
|
282
454
|
|
|
283
455
|
### Authorization
|
|
284
456
|
|
|
285
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
457
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
286
458
|
|
|
287
459
|
### HTTP request headers
|
|
288
460
|
|
|
@@ -305,12 +477,17 @@ require 'time'
|
|
|
305
477
|
require 'factpulse'
|
|
306
478
|
# setup authorization
|
|
307
479
|
FactPulse.configure do |config|
|
|
480
|
+
# Configure API key authorization: APIKeyHeader
|
|
481
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
482
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
483
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
484
|
+
|
|
308
485
|
# Configure Bearer authorization: HTTPBearer
|
|
309
486
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
310
487
|
end
|
|
311
488
|
|
|
312
489
|
api_instance = FactPulse::ClientManagementApi.new
|
|
313
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
490
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
314
491
|
|
|
315
492
|
begin
|
|
316
493
|
# Get client PDP configuration
|
|
@@ -343,7 +520,7 @@ end
|
|
|
343
520
|
|
|
344
521
|
| Name | Type | Description | Notes |
|
|
345
522
|
| ---- | ---- | ----------- | ----- |
|
|
346
|
-
| **uid** | **String** |
|
|
523
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
347
524
|
|
|
348
525
|
### Return type
|
|
349
526
|
|
|
@@ -351,7 +528,81 @@ end
|
|
|
351
528
|
|
|
352
529
|
### Authorization
|
|
353
530
|
|
|
354
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
531
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
532
|
+
|
|
533
|
+
### HTTP request headers
|
|
534
|
+
|
|
535
|
+
- **Content-Type**: Not defined
|
|
536
|
+
- **Accept**: application/json
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
## get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get
|
|
540
|
+
|
|
541
|
+
> <WebhookSecretStatusResponse> get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get(uid)
|
|
542
|
+
|
|
543
|
+
Get webhook secret status
|
|
544
|
+
|
|
545
|
+
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.
|
|
546
|
+
|
|
547
|
+
### Examples
|
|
548
|
+
|
|
549
|
+
```ruby
|
|
550
|
+
require 'time'
|
|
551
|
+
require 'factpulse'
|
|
552
|
+
# setup authorization
|
|
553
|
+
FactPulse.configure do |config|
|
|
554
|
+
# Configure API key authorization: APIKeyHeader
|
|
555
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
556
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
557
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
558
|
+
|
|
559
|
+
# Configure Bearer authorization: HTTPBearer
|
|
560
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
561
|
+
end
|
|
562
|
+
|
|
563
|
+
api_instance = FactPulse::ClientManagementApi.new
|
|
564
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
565
|
+
|
|
566
|
+
begin
|
|
567
|
+
# Get webhook secret status
|
|
568
|
+
result = api_instance.get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get(uid)
|
|
569
|
+
p result
|
|
570
|
+
rescue FactPulse::ApiError => e
|
|
571
|
+
puts "Error when calling ClientManagementApi->get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get: #{e}"
|
|
572
|
+
end
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
#### Using the get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get_with_http_info variant
|
|
576
|
+
|
|
577
|
+
This returns an Array which contains the response data, status code and headers.
|
|
578
|
+
|
|
579
|
+
> <Array(<WebhookSecretStatusResponse>, Integer, Hash)> get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get_with_http_info(uid)
|
|
580
|
+
|
|
581
|
+
```ruby
|
|
582
|
+
begin
|
|
583
|
+
# Get webhook secret status
|
|
584
|
+
data, status_code, headers = api_instance.get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get_with_http_info(uid)
|
|
585
|
+
p status_code # => 2xx
|
|
586
|
+
p headers # => { ... }
|
|
587
|
+
p data # => <WebhookSecretStatusResponse>
|
|
588
|
+
rescue FactPulse::ApiError => e
|
|
589
|
+
puts "Error when calling ClientManagementApi->get_webhook_secret_status_api_v1_clients_uid_webhook_secret_status_get_with_http_info: #{e}"
|
|
590
|
+
end
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### Parameters
|
|
594
|
+
|
|
595
|
+
| Name | Type | Description | Notes |
|
|
596
|
+
| ---- | ---- | ----------- | ----- |
|
|
597
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
598
|
+
|
|
599
|
+
### Return type
|
|
600
|
+
|
|
601
|
+
[**WebhookSecretStatusResponse**](WebhookSecretStatusResponse.md)
|
|
602
|
+
|
|
603
|
+
### Authorization
|
|
604
|
+
|
|
605
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
355
606
|
|
|
356
607
|
### HTTP request headers
|
|
357
608
|
|
|
@@ -374,6 +625,11 @@ require 'time'
|
|
|
374
625
|
require 'factpulse'
|
|
375
626
|
# setup authorization
|
|
376
627
|
FactPulse.configure do |config|
|
|
628
|
+
# Configure API key authorization: APIKeyHeader
|
|
629
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
630
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
631
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
632
|
+
|
|
377
633
|
# Configure Bearer authorization: HTTPBearer
|
|
378
634
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
379
635
|
end
|
|
@@ -424,7 +680,7 @@ end
|
|
|
424
680
|
|
|
425
681
|
### Authorization
|
|
426
682
|
|
|
427
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
683
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
428
684
|
|
|
429
685
|
### HTTP request headers
|
|
430
686
|
|
|
@@ -432,6 +688,82 @@ end
|
|
|
432
688
|
- **Accept**: application/json
|
|
433
689
|
|
|
434
690
|
|
|
691
|
+
## rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post
|
|
692
|
+
|
|
693
|
+
> <KeyRotationResponse> rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post(uid, key_rotation_request)
|
|
694
|
+
|
|
695
|
+
Rotate client encryption key
|
|
696
|
+
|
|
697
|
+
Rotate the client encryption key for all secrets in double encryption mode. **Scope**: Client level (JWT with client_uid that must match {uid}) **What this does**: 1. Decrypts all secrets (PDP, Chorus Pro) using the old key 2. Re-encrypts them using the new key 3. Saves to database **Important notes**: - Both keys must be base64-encoded AES-256 keys (32 bytes each) - The old key becomes invalid immediately after rotation - Only secrets encrypted with `encryptionMode: \"double\"` are affected - If the client has no double-encrypted secrets, returns 404 **Security**: - The old key must be valid (decryption is verified) - If decryption fails, rotation is aborted (atomic operation) - Neither key is logged or stored by the server
|
|
698
|
+
|
|
699
|
+
### Examples
|
|
700
|
+
|
|
701
|
+
```ruby
|
|
702
|
+
require 'time'
|
|
703
|
+
require 'factpulse'
|
|
704
|
+
# setup authorization
|
|
705
|
+
FactPulse.configure do |config|
|
|
706
|
+
# Configure API key authorization: APIKeyHeader
|
|
707
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
708
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
709
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
710
|
+
|
|
711
|
+
# Configure Bearer authorization: HTTPBearer
|
|
712
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
api_instance = FactPulse::ClientManagementApi.new
|
|
716
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
717
|
+
key_rotation_request = FactPulse::KeyRotationRequest.new({old_key: 'old_key_example', new_key: 'new_key_example'}) # KeyRotationRequest |
|
|
718
|
+
|
|
719
|
+
begin
|
|
720
|
+
# Rotate client encryption key
|
|
721
|
+
result = api_instance.rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post(uid, key_rotation_request)
|
|
722
|
+
p result
|
|
723
|
+
rescue FactPulse::ApiError => e
|
|
724
|
+
puts "Error when calling ClientManagementApi->rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post: #{e}"
|
|
725
|
+
end
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
#### Using the rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post_with_http_info variant
|
|
729
|
+
|
|
730
|
+
This returns an Array which contains the response data, status code and headers.
|
|
731
|
+
|
|
732
|
+
> <Array(<KeyRotationResponse>, Integer, Hash)> rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post_with_http_info(uid, key_rotation_request)
|
|
733
|
+
|
|
734
|
+
```ruby
|
|
735
|
+
begin
|
|
736
|
+
# Rotate client encryption key
|
|
737
|
+
data, status_code, headers = api_instance.rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post_with_http_info(uid, key_rotation_request)
|
|
738
|
+
p status_code # => 2xx
|
|
739
|
+
p headers # => { ... }
|
|
740
|
+
p data # => <KeyRotationResponse>
|
|
741
|
+
rescue FactPulse::ApiError => e
|
|
742
|
+
puts "Error when calling ClientManagementApi->rotate_encryption_key_api_v1_clients_uid_rotate_encryption_key_post_with_http_info: #{e}"
|
|
743
|
+
end
|
|
744
|
+
```
|
|
745
|
+
|
|
746
|
+
### Parameters
|
|
747
|
+
|
|
748
|
+
| Name | Type | Description | Notes |
|
|
749
|
+
| ---- | ---- | ----------- | ----- |
|
|
750
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
751
|
+
| **key_rotation_request** | [**KeyRotationRequest**](KeyRotationRequest.md) | | |
|
|
752
|
+
|
|
753
|
+
### Return type
|
|
754
|
+
|
|
755
|
+
[**KeyRotationResponse**](KeyRotationResponse.md)
|
|
756
|
+
|
|
757
|
+
### Authorization
|
|
758
|
+
|
|
759
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
760
|
+
|
|
761
|
+
### HTTP request headers
|
|
762
|
+
|
|
763
|
+
- **Content-Type**: application/json
|
|
764
|
+
- **Accept**: application/json
|
|
765
|
+
|
|
766
|
+
|
|
435
767
|
## update_client_api_v1_clients_uid_patch
|
|
436
768
|
|
|
437
769
|
> <ClientDetail> update_client_api_v1_clients_uid_patch(uid, client_update_request)
|
|
@@ -447,12 +779,17 @@ require 'time'
|
|
|
447
779
|
require 'factpulse'
|
|
448
780
|
# setup authorization
|
|
449
781
|
FactPulse.configure do |config|
|
|
782
|
+
# Configure API key authorization: APIKeyHeader
|
|
783
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
784
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
785
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
786
|
+
|
|
450
787
|
# Configure Bearer authorization: HTTPBearer
|
|
451
788
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
452
789
|
end
|
|
453
790
|
|
|
454
791
|
api_instance = FactPulse::ClientManagementApi.new
|
|
455
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
792
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
456
793
|
client_update_request = FactPulse::ClientUpdateRequest.new # ClientUpdateRequest |
|
|
457
794
|
|
|
458
795
|
begin
|
|
@@ -486,7 +823,7 @@ end
|
|
|
486
823
|
|
|
487
824
|
| Name | Type | Description | Notes |
|
|
488
825
|
| ---- | ---- | ----------- | ----- |
|
|
489
|
-
| **uid** | **String** |
|
|
826
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
490
827
|
| **client_update_request** | [**ClientUpdateRequest**](ClientUpdateRequest.md) | | |
|
|
491
828
|
|
|
492
829
|
### Return type
|
|
@@ -495,7 +832,7 @@ end
|
|
|
495
832
|
|
|
496
833
|
### Authorization
|
|
497
834
|
|
|
498
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
835
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
499
836
|
|
|
500
837
|
### HTTP request headers
|
|
501
838
|
|
|
@@ -505,11 +842,11 @@ end
|
|
|
505
842
|
|
|
506
843
|
## update_pdp_config_api_v1_clients_uid_pdp_config_put
|
|
507
844
|
|
|
508
|
-
> <PDPConfigResponse> update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request)
|
|
845
|
+
> <PDPConfigResponse> update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request, opts)
|
|
509
846
|
|
|
510
847
|
Configure client PDP
|
|
511
848
|
|
|
512
|
-
Configure or update the PDP (PA/PDP) configuration for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Required fields**: - `flowServiceUrl`: PDP Flow Service URL - `tokenUrl`: PDP OAuth token URL - `oauthClientId`: OAuth Client ID - `clientSecret`: OAuth Client Secret (sent but NEVER returned) **Optional fields**: - `isActive`: Enable/disable the config (default: true) - `modeSandbox`: Sandbox mode (default: false) **Security**: The `clientSecret` is stored encrypted on Django side and is never returned in API responses.
|
|
849
|
+
Configure or update the PDP (PA/PDP) configuration for a client. **Scope**: Client level (JWT with client_uid that must match {uid}) **Required fields**: - `flowServiceUrl`: PDP Flow Service URL - `tokenUrl`: PDP OAuth token URL - `oauthClientId`: OAuth Client ID - `clientSecret`: OAuth Client Secret (sent but NEVER returned) **Optional fields**: - `isActive`: Enable/disable the config (default: true) - `modeSandbox`: Sandbox mode (default: false) - `encryptionMode`: Encryption mode (default: \"fernet\") - \"fernet\": Server-side encryption only - \"double\": Client AES-256-GCM + Server Fernet (requires X-Encryption-Key header) **Double Encryption Mode**: When `encryptionMode` is set to \"double\", you MUST also provide the `X-Encryption-Key` header containing a base64-encoded AES-256 key (32 bytes). This key is used to encrypt the `clientSecret` on the client side before the server encrypts it again with Fernet. The server cannot decrypt the secret without the client key. **Security**: The `clientSecret` is stored encrypted on Django side and is never returned in API responses.
|
|
513
850
|
|
|
514
851
|
### Examples
|
|
515
852
|
|
|
@@ -518,17 +855,25 @@ require 'time'
|
|
|
518
855
|
require 'factpulse'
|
|
519
856
|
# setup authorization
|
|
520
857
|
FactPulse.configure do |config|
|
|
858
|
+
# Configure API key authorization: APIKeyHeader
|
|
859
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
860
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
861
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
862
|
+
|
|
521
863
|
# Configure Bearer authorization: HTTPBearer
|
|
522
864
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
523
865
|
end
|
|
524
866
|
|
|
525
867
|
api_instance = FactPulse::ClientManagementApi.new
|
|
526
|
-
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
868
|
+
uid = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Client unique identifier (UUID)
|
|
527
869
|
pdp_config_update_request = FactPulse::PDPConfigUpdateRequest.new({flow_service_url: 'flow_service_url_example', token_url: 'token_url_example', oauth_client_id: 'oauth_client_id_example', client_secret: 'client_secret_example'}) # PDPConfigUpdateRequest |
|
|
870
|
+
opts = {
|
|
871
|
+
x_encryption_key: 'x_encryption_key_example' # String | Client encryption key for double encryption mode. Must be a base64-encoded AES-256 key (32 bytes). Required only when accessing resources encrypted with encryption_mode='double'.
|
|
872
|
+
}
|
|
528
873
|
|
|
529
874
|
begin
|
|
530
875
|
# Configure client PDP
|
|
531
|
-
result = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request)
|
|
876
|
+
result = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put(uid, pdp_config_update_request, opts)
|
|
532
877
|
p result
|
|
533
878
|
rescue FactPulse::ApiError => e
|
|
534
879
|
puts "Error when calling ClientManagementApi->update_pdp_config_api_v1_clients_uid_pdp_config_put: #{e}"
|
|
@@ -539,12 +884,12 @@ end
|
|
|
539
884
|
|
|
540
885
|
This returns an Array which contains the response data, status code and headers.
|
|
541
886
|
|
|
542
|
-
> <Array(<PDPConfigResponse>, Integer, Hash)> update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request)
|
|
887
|
+
> <Array(<PDPConfigResponse>, Integer, Hash)> update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request, opts)
|
|
543
888
|
|
|
544
889
|
```ruby
|
|
545
890
|
begin
|
|
546
891
|
# Configure client PDP
|
|
547
|
-
data, status_code, headers = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request)
|
|
892
|
+
data, status_code, headers = api_instance.update_pdp_config_api_v1_clients_uid_pdp_config_put_with_http_info(uid, pdp_config_update_request, opts)
|
|
548
893
|
p status_code # => 2xx
|
|
549
894
|
p headers # => { ... }
|
|
550
895
|
p data # => <PDPConfigResponse>
|
|
@@ -557,8 +902,9 @@ end
|
|
|
557
902
|
|
|
558
903
|
| Name | Type | Description | Notes |
|
|
559
904
|
| ---- | ---- | ----------- | ----- |
|
|
560
|
-
| **uid** | **String** |
|
|
905
|
+
| **uid** | **String** | Client unique identifier (UUID) | |
|
|
561
906
|
| **pdp_config_update_request** | [**PDPConfigUpdateRequest**](PDPConfigUpdateRequest.md) | | |
|
|
907
|
+
| **x_encryption_key** | **String** | Client encryption key for double encryption mode. Must be a base64-encoded AES-256 key (32 bytes). Required only when accessing resources encrypted with encryption_mode='double'. | [optional] |
|
|
562
908
|
|
|
563
909
|
### Return type
|
|
564
910
|
|
|
@@ -566,7 +912,7 @@ end
|
|
|
566
912
|
|
|
567
913
|
### Authorization
|
|
568
914
|
|
|
569
|
-
[HTTPBearer](../README.md#HTTPBearer)
|
|
915
|
+
[APIKeyHeader](../README.md#APIKeyHeader), [HTTPBearer](../README.md#HTTPBearer)
|
|
570
916
|
|
|
571
917
|
### HTTP request headers
|
|
572
918
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# FactPulse::ConversionErrorResult
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | [optional][default to 'ERROR'] |
|
|
8
|
+
| **conversion_id** | **String** | | [optional] |
|
|
9
|
+
| **error_code** | **String** | | |
|
|
10
|
+
| **error_message** | **String** | | |
|
|
11
|
+
| **details** | [**Array<AFNORErrorDetail>**](AFNORErrorDetail.md) | | [optional] |
|
|
12
|
+
| **traceback** | **String** | | [optional] |
|
|
13
|
+
| **processing_time_ms** | **Integer** | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'factpulse'
|
|
19
|
+
|
|
20
|
+
instance = FactPulse::ConversionErrorResult.new(
|
|
21
|
+
status: null,
|
|
22
|
+
conversion_id: null,
|
|
23
|
+
error_code: null,
|
|
24
|
+
error_message: null,
|
|
25
|
+
details: null,
|
|
26
|
+
traceback: null,
|
|
27
|
+
processing_time_ms: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# FactPulse::ConversionExtractionInfo
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **confidence_score** | **Float** | | |
|
|
8
|
+
| **ocr_provider** | **String** | | [optional][default to 'mistral_ocr'] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'factpulse'
|
|
14
|
+
|
|
15
|
+
instance = FactPulse::ConversionExtractionInfo.new(
|
|
16
|
+
confidence_score: null,
|
|
17
|
+
ocr_provider: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|