factpulse 4.0.0 → 4.0.1
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 +5 -9
- data/Gemfile.lock +1 -1
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{FactureElectroniqueModelsInvoiceTypeCode.md → Amount2.md} +2 -2
- data/docs/CDARCycleDeVieApi.md +154 -30
- data/docs/ClientActivateResponse.md +22 -0
- data/docs/ClientCreateRequest.md +22 -0
- data/docs/ClientDetail.md +38 -0
- data/docs/ClientListResponse.md +24 -0
- data/docs/ClientManagementApi.md +575 -0
- data/docs/ClientSummary.md +38 -0
- data/docs/ClientUpdateRequest.md +22 -0
- data/docs/DownloadsApi.md +0 -144
- data/docs/EncaisseeRequest.md +36 -0
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +15 -0
- data/docs/InvoiceInput.md +1 -1
- data/docs/PDPConfigResponse.md +44 -0
- data/docs/PDPConfigUpdateRequest.md +28 -0
- data/docs/PaymentAmountByRate.md +1 -1
- data/docs/RefuseeRequest.md +36 -0
- data/docs/SecretStatus.md +20 -0
- data/docs/SimplifiedCDARResponse.md +26 -0
- data/docs/SimplifiedInvoiceData.md +1 -1
- data/docs/SubmitCDARRequest.md +9 -1
- data/docs/SubmitCDARXMLRequest.md +9 -1
- 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 +1 -1
- data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +159 -49
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +565 -0
- data/lib/factpulse/api/document_conversion_api.rb +1 -1
- data/lib/factpulse/api/downloads_api.rb +1 -130
- data/lib/factpulse/api/e_reporting_api.rb +1 -1
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_processing_api.rb +1 -1
- data/lib/factpulse/api/pdfxml_verification_api.rb +1 -1
- data/lib/factpulse/api/user_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 +64 -1
- 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_edit.rb +1 -1
- data/lib/factpulse/models/afnor_address_patch.rb +1 -1
- data/lib/factpulse/models/afnor_address_put.rb +1 -1
- data/lib/factpulse/models/afnor_address_read.rb +1 -1
- data/lib/factpulse/models/afnor_algorithm.rb +1 -1
- data/lib/factpulse/models/afnor_contains_operator.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body_addressing_information.rb +1 -1
- data/lib/factpulse/models/afnor_create_directory_line_body_period.rb +1 -1
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.rb +1 -1
- data/lib/factpulse/models/afnor_diffusion_status.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.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_platform.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_post201_response.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.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_facility_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_facility_nature.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 +1 -1
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +1 -1
- 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_info.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +1 -1
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +1 -1
- data/lib/factpulse/models/afnor_full_flow_info.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included_no_siren.rb +1 -1
- data/lib/factpulse/models/afnor_platform_status.rb +1 -1
- data/lib/factpulse/models/afnor_processing_rule.rb +1 -1
- 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_post201_response.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 +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/afnor_search_flow_content.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_flow_params.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +1 -1
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +1 -1
- 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_update_patch_directory_line_body.rb +1 -1
- data/lib/factpulse/models/afnor_update_patch_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +1 -1
- data/lib/factpulse/models/afnor_webhook_callback_content.rb +1 -1
- 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 +104 -0
- data/lib/factpulse/models/amount_due.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/{body_submit_cdar_api_v1_cdar_submit_post.rb → client_activate_response.rb} +73 -27
- data/lib/factpulse/models/client_create_request.rb +236 -0
- data/lib/factpulse/models/client_detail.rb +368 -0
- data/lib/factpulse/models/client_list_response.rb +249 -0
- data/lib/factpulse/models/client_summary.rb +368 -0
- data/lib/factpulse/models/client_update_request.rb +225 -0
- data/lib/factpulse/models/contact.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- data/lib/factpulse/models/encaisseamount.rb +1 -1
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +293 -0
- 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_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_models_invoice_type_code.rb → facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb} +10 -21
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/get_chorus_pro_id_request.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +1 -1
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +2 -2
- 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 +18 -7
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/invoicing_framework.rb +1 -1
- data/lib/factpulse/models/invoicing_framework_code.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/payee.rb +1 -1
- data/lib/factpulse/models/payment_amount_by_rate.rb +2 -2
- 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 +296 -0
- data/lib/factpulse/models/pdp_config_update_request.rb +271 -0
- data/lib/factpulse/models/pdp_credentials.rb +1 -1
- data/lib/factpulse/models/percentage.rb +1 -1
- data/lib/factpulse/models/postal_address.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/processing_rule.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +292 -0
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +1 -1
- 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 +1 -1
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/{body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb → secret_status.rb} +46 -27
- 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/simplified_cdar_response.rb +274 -0
- data/lib/factpulse/models/simplified_invoice_data.rb +2 -2
- 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 +45 -5
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +46 -6
- data/lib/factpulse/models/submit_complete_invoice_request.rb +1 -1
- 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 +1 -1
- 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/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +1 -1
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +1 -1
- 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/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/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/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +16 -4
- metadata +32 -8
- data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +0 -20
- data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0061473ad13efd96d8c31a87f167aa5c1d8722e43f960266fce4a50b66adee83
|
|
4
|
+
data.tar.gz: 6d066ab2f7b58959051286436f2a7f5d267873d105ba5fffa8b715a31f6bf57a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d4487a0f6b114af93c883946f6b5ac51973de38f8de2161e5d125e42e505c14dd6f06f6f1ff9a5c48cf5baaea86971ab626f60af374f7de5aa72ff4c239e9c6
|
|
7
|
+
data.tar.gz: acec505dcfe90e493a3b5b61b3a479ef507935d5ad7888988f338f64b603a3520ab42a21788ff4c8f441ee2256888b1e2554de46e7e8c9fb2bc04b7b6815197d
|
data/CHANGELOG.md
CHANGED
|
@@ -7,15 +7,11 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [4.0.
|
|
10
|
+
## [4.0.1] - 2026-01-20
|
|
11
11
|
|
|
12
|
-
###
|
|
13
|
-
- Gestion
|
|
14
|
-
- Gestion automatique du décodage des documents renvoyés en base 64.
|
|
12
|
+
### Fixed
|
|
13
|
+
- Gestion post multipart
|
|
15
14
|
|
|
16
|
-
### Changed
|
|
17
|
-
- Rework complet du fonctionnement des SDK, fonctionnement totalement générique et transparent
|
|
18
15
|
|
|
19
|
-
|
|
20
|
-
[
|
|
21
|
-
[4.0.0]: https://github.com/factpulse/sdk-ruby/releases/tag/v4.0.0
|
|
16
|
+
[Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v4.0.1...HEAD
|
|
17
|
+
[4.0.1]: https://github.com/factpulse/sdk-ruby/releases/tag/v4.0.1
|
data/Gemfile.lock
CHANGED
data/docs/AllowanceCharge.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **is_charge** | **Boolean** | True for charge, False for allowance (ChargeIndicator). | |
|
|
8
|
-
| **amount** | [**
|
|
8
|
+
| **amount** | [**Amount2**](Amount2.md) | | |
|
|
9
9
|
| **base_amount** | [**BaseAmount**](BaseAmount.md) | | [optional] |
|
|
10
10
|
| **percentage** | [**Percentage**](Percentage.md) | | [optional] |
|
|
11
11
|
| **reason** | **String** | | [optional] |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# FactPulse::
|
|
1
|
+
# FactPulse::Amount2
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
```ruby
|
|
11
11
|
require 'factpulse'
|
|
12
12
|
|
|
13
|
-
instance = FactPulse::
|
|
13
|
+
instance = FactPulse::Amount2.new()
|
|
14
14
|
```
|
|
15
15
|
|
data/docs/CDARCycleDeVieApi.md
CHANGED
|
@@ -10,6 +10,8 @@ All URIs are relative to *https://factpulse.fr*
|
|
|
10
10
|
| [**get_status_codes_api_v1_cdar_status_codes_get**](CDARCycleDeVieApi.md#get_status_codes_api_v1_cdar_status_codes_get) | **GET** /api/v1/cdar/status-codes | Liste des codes statut CDAR |
|
|
11
11
|
| [**submit_cdar_api_v1_cdar_submit_post**](CDARCycleDeVieApi.md#submit_cdar_api_v1_cdar_submit_post) | **POST** /api/v1/cdar/submit | Générer et soumettre un message CDAR |
|
|
12
12
|
| [**submit_cdar_xml_api_v1_cdar_submit_xml_post**](CDARCycleDeVieApi.md#submit_cdar_xml_api_v1_cdar_submit_xml_post) | **POST** /api/v1/cdar/submit-xml | Soumettre un XML CDAR pré-généré |
|
|
13
|
+
| [**submit_encaissee_api_v1_cdar_encaissee_post**](CDARCycleDeVieApi.md#submit_encaissee_api_v1_cdar_encaissee_post) | **POST** /api/v1/cdar/encaissee | [Simplifié] Soumettre un statut ENCAISSÉE (212) |
|
|
14
|
+
| [**submit_refusee_api_v1_cdar_refusee_post**](CDARCycleDeVieApi.md#submit_refusee_api_v1_cdar_refusee_post) | **POST** /api/v1/cdar/refusee | [Simplifié] Soumettre un statut REFUSÉE (210) |
|
|
13
15
|
| [**validate_cdar_api_v1_cdar_validate_post**](CDARCycleDeVieApi.md#validate_cdar_api_v1_cdar_validate_post) | **POST** /api/v1/cdar/validate | Valider des données CDAR |
|
|
14
16
|
|
|
15
17
|
|
|
@@ -267,11 +269,11 @@ No authorization required
|
|
|
267
269
|
|
|
268
270
|
## submit_cdar_api_v1_cdar_submit_post
|
|
269
271
|
|
|
270
|
-
> <SubmitCDARResponse> submit_cdar_api_v1_cdar_submit_post(
|
|
272
|
+
> <SubmitCDARResponse> submit_cdar_api_v1_cdar_submit_post(submit_cdar_request)
|
|
271
273
|
|
|
272
274
|
Générer et soumettre un message CDAR
|
|
273
275
|
|
|
274
|
-
Génère un message CDAR et le soumet à la plateforme PA/PDP.
|
|
276
|
+
Génère un message CDAR et le soumet à la plateforme PA/PDP. **Stratégies d'authentification:** 1. **JWT avec client_uid** (recommandé): credentials PDP récupérés du backend 2. **Zero-storage**: Fournir pdpFlowServiceUrl, pdpClientId, pdpClientSecret dans la requête **Types de flux (flowType):** - `CustomerInvoiceLC`: Cycle de vie côté client (acheteur) - `SupplierInvoiceLC`: Cycle de vie côté fournisseur (vendeur)
|
|
275
277
|
|
|
276
278
|
### Examples
|
|
277
279
|
|
|
@@ -285,16 +287,11 @@ FactPulse.configure do |config|
|
|
|
285
287
|
end
|
|
286
288
|
|
|
287
289
|
api_instance = FactPulse::CDARCycleDeVieApi.new
|
|
288
|
-
|
|
289
|
-
body_submit_cdar_api_v1_cdar_submit_post = FactPulse::BodySubmitCdarApiV1CdarSubmitPost.new({request: FactPulse::SubmitCDARRequest.new({document_id: 'document_id_example', sender_siren: 'sender_siren_example', invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, status: 'status_example'})}) # BodySubmitCdarApiV1CdarSubmitPost |
|
|
290
|
-
opts = {
|
|
291
|
-
jwt_token: 'jwt_token_example', # String |
|
|
292
|
-
client_uid: 'client_uid_example' # String |
|
|
293
|
-
}
|
|
290
|
+
submit_cdar_request = FactPulse::SubmitCDARRequest.new({document_id: 'document_id_example', sender_siren: 'sender_siren_example', invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, status: 'status_example'}) # SubmitCDARRequest |
|
|
294
291
|
|
|
295
292
|
begin
|
|
296
293
|
# Générer et soumettre un message CDAR
|
|
297
|
-
result = api_instance.submit_cdar_api_v1_cdar_submit_post(
|
|
294
|
+
result = api_instance.submit_cdar_api_v1_cdar_submit_post(submit_cdar_request)
|
|
298
295
|
p result
|
|
299
296
|
rescue FactPulse::ApiError => e
|
|
300
297
|
puts "Error when calling CDARCycleDeVieApi->submit_cdar_api_v1_cdar_submit_post: #{e}"
|
|
@@ -305,12 +302,12 @@ end
|
|
|
305
302
|
|
|
306
303
|
This returns an Array which contains the response data, status code and headers.
|
|
307
304
|
|
|
308
|
-
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_api_v1_cdar_submit_post_with_http_info(
|
|
305
|
+
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request)
|
|
309
306
|
|
|
310
307
|
```ruby
|
|
311
308
|
begin
|
|
312
309
|
# Générer et soumettre un message CDAR
|
|
313
|
-
data, status_code, headers = api_instance.submit_cdar_api_v1_cdar_submit_post_with_http_info(
|
|
310
|
+
data, status_code, headers = api_instance.submit_cdar_api_v1_cdar_submit_post_with_http_info(submit_cdar_request)
|
|
314
311
|
p status_code # => 2xx
|
|
315
312
|
p headers # => { ... }
|
|
316
313
|
p data # => <SubmitCDARResponse>
|
|
@@ -323,10 +320,7 @@ end
|
|
|
323
320
|
|
|
324
321
|
| Name | Type | Description | Notes |
|
|
325
322
|
| ---- | ---- | ----------- | ----- |
|
|
326
|
-
| **
|
|
327
|
-
| **body_submit_cdar_api_v1_cdar_submit_post** | [**BodySubmitCdarApiV1CdarSubmitPost**](BodySubmitCdarApiV1CdarSubmitPost.md) | | |
|
|
328
|
-
| **jwt_token** | **String** | | [optional] |
|
|
329
|
-
| **client_uid** | **String** | | [optional] |
|
|
323
|
+
| **submit_cdar_request** | [**SubmitCDARRequest**](SubmitCDARRequest.md) | | |
|
|
330
324
|
|
|
331
325
|
### Return type
|
|
332
326
|
|
|
@@ -344,11 +338,11 @@ end
|
|
|
344
338
|
|
|
345
339
|
## submit_cdar_xml_api_v1_cdar_submit_xml_post
|
|
346
340
|
|
|
347
|
-
> <SubmitCDARResponse> submit_cdar_xml_api_v1_cdar_submit_xml_post(
|
|
341
|
+
> <SubmitCDARResponse> submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request)
|
|
348
342
|
|
|
349
343
|
Soumettre un XML CDAR pré-généré
|
|
350
344
|
|
|
351
|
-
Soumet un message XML CDAR pré-généré à la plateforme PA/PDP. Utile pour soumettre des XML générés par d'autres systèmes.
|
|
345
|
+
Soumet un message XML CDAR pré-généré à la plateforme PA/PDP. Utile pour soumettre des XML générés par d'autres systèmes. **Stratégies d'authentification:** 1. **JWT avec client_uid** (recommandé): credentials PDP récupérés du backend 2. **Zero-storage**: Fournir pdpFlowServiceUrl, pdpClientId, pdpClientSecret dans la requête
|
|
352
346
|
|
|
353
347
|
### Examples
|
|
354
348
|
|
|
@@ -362,16 +356,11 @@ FactPulse.configure do |config|
|
|
|
362
356
|
end
|
|
363
357
|
|
|
364
358
|
api_instance = FactPulse::CDARCycleDeVieApi.new
|
|
365
|
-
|
|
366
|
-
body_submit_cdar_xml_api_v1_cdar_submit_xml_post = FactPulse::BodySubmitCdarXmlApiV1CdarSubmitXmlPost.new({request: FactPulse::SubmitCDARXMLRequest.new({xml: 'xml_example'})}) # BodySubmitCdarXmlApiV1CdarSubmitXmlPost |
|
|
367
|
-
opts = {
|
|
368
|
-
jwt_token: 'jwt_token_example', # String |
|
|
369
|
-
client_uid: 'client_uid_example' # String |
|
|
370
|
-
}
|
|
359
|
+
submit_cdarxml_request = FactPulse::SubmitCDARXMLRequest.new({xml: 'xml_example'}) # SubmitCDARXMLRequest |
|
|
371
360
|
|
|
372
361
|
begin
|
|
373
362
|
# Soumettre un XML CDAR pré-généré
|
|
374
|
-
result = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post(
|
|
363
|
+
result = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post(submit_cdarxml_request)
|
|
375
364
|
p result
|
|
376
365
|
rescue FactPulse::ApiError => e
|
|
377
366
|
puts "Error when calling CDARCycleDeVieApi->submit_cdar_xml_api_v1_cdar_submit_xml_post: #{e}"
|
|
@@ -382,12 +371,12 @@ end
|
|
|
382
371
|
|
|
383
372
|
This returns an Array which contains the response data, status code and headers.
|
|
384
373
|
|
|
385
|
-
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(
|
|
374
|
+
> <Array(<SubmitCDARResponse>, Integer, Hash)> submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request)
|
|
386
375
|
|
|
387
376
|
```ruby
|
|
388
377
|
begin
|
|
389
378
|
# Soumettre un XML CDAR pré-généré
|
|
390
|
-
data, status_code, headers = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(
|
|
379
|
+
data, status_code, headers = api_instance.submit_cdar_xml_api_v1_cdar_submit_xml_post_with_http_info(submit_cdarxml_request)
|
|
391
380
|
p status_code # => 2xx
|
|
392
381
|
p headers # => { ... }
|
|
393
382
|
p data # => <SubmitCDARResponse>
|
|
@@ -400,10 +389,7 @@ end
|
|
|
400
389
|
|
|
401
390
|
| Name | Type | Description | Notes |
|
|
402
391
|
| ---- | ---- | ----------- | ----- |
|
|
403
|
-
| **
|
|
404
|
-
| **body_submit_cdar_xml_api_v1_cdar_submit_xml_post** | [**BodySubmitCdarXmlApiV1CdarSubmitXmlPost**](BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md) | | |
|
|
405
|
-
| **jwt_token** | **String** | | [optional] |
|
|
406
|
-
| **client_uid** | **String** | | [optional] |
|
|
392
|
+
| **submit_cdarxml_request** | [**SubmitCDARXMLRequest**](SubmitCDARXMLRequest.md) | | |
|
|
407
393
|
|
|
408
394
|
### Return type
|
|
409
395
|
|
|
@@ -419,6 +405,144 @@ end
|
|
|
419
405
|
- **Accept**: application/json
|
|
420
406
|
|
|
421
407
|
|
|
408
|
+
## submit_encaissee_api_v1_cdar_encaissee_post
|
|
409
|
+
|
|
410
|
+
> <SimplifiedCDARResponse> submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request)
|
|
411
|
+
|
|
412
|
+
[Simplifié] Soumettre un statut ENCAISSÉE (212)
|
|
413
|
+
|
|
414
|
+
**Endpoint simplifié pour OD** - Soumet un statut ENCAISSÉE (212) pour une facture. Ce statut est **obligatoire pour le PPF** (BR-FR-CDV-14 requiert le montant encaissé). **Cas d'usage:** L'acheteur confirme le paiement d'une facture. **Authentification:** JWT Bearer (recommandé) ou credentials PDP dans la requête.
|
|
415
|
+
|
|
416
|
+
### Examples
|
|
417
|
+
|
|
418
|
+
```ruby
|
|
419
|
+
require 'time'
|
|
420
|
+
require 'factpulse'
|
|
421
|
+
# setup authorization
|
|
422
|
+
FactPulse.configure do |config|
|
|
423
|
+
# Configure Bearer authorization: HTTPBearer
|
|
424
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
api_instance = FactPulse::CDARCycleDeVieApi.new
|
|
428
|
+
encaissee_request = FactPulse::EncaisseeRequest.new({invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, amount: FactPulse::Amount.new}) # EncaisseeRequest |
|
|
429
|
+
|
|
430
|
+
begin
|
|
431
|
+
# [Simplifié] Soumettre un statut ENCAISSÉE (212)
|
|
432
|
+
result = api_instance.submit_encaissee_api_v1_cdar_encaissee_post(encaissee_request)
|
|
433
|
+
p result
|
|
434
|
+
rescue FactPulse::ApiError => e
|
|
435
|
+
puts "Error when calling CDARCycleDeVieApi->submit_encaissee_api_v1_cdar_encaissee_post: #{e}"
|
|
436
|
+
end
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
#### Using the submit_encaissee_api_v1_cdar_encaissee_post_with_http_info variant
|
|
440
|
+
|
|
441
|
+
This returns an Array which contains the response data, status code and headers.
|
|
442
|
+
|
|
443
|
+
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request)
|
|
444
|
+
|
|
445
|
+
```ruby
|
|
446
|
+
begin
|
|
447
|
+
# [Simplifié] Soumettre un statut ENCAISSÉE (212)
|
|
448
|
+
data, status_code, headers = api_instance.submit_encaissee_api_v1_cdar_encaissee_post_with_http_info(encaissee_request)
|
|
449
|
+
p status_code # => 2xx
|
|
450
|
+
p headers # => { ... }
|
|
451
|
+
p data # => <SimplifiedCDARResponse>
|
|
452
|
+
rescue FactPulse::ApiError => e
|
|
453
|
+
puts "Error when calling CDARCycleDeVieApi->submit_encaissee_api_v1_cdar_encaissee_post_with_http_info: #{e}"
|
|
454
|
+
end
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
### Parameters
|
|
458
|
+
|
|
459
|
+
| Name | Type | Description | Notes |
|
|
460
|
+
| ---- | ---- | ----------- | ----- |
|
|
461
|
+
| **encaissee_request** | [**EncaisseeRequest**](EncaisseeRequest.md) | | |
|
|
462
|
+
|
|
463
|
+
### Return type
|
|
464
|
+
|
|
465
|
+
[**SimplifiedCDARResponse**](SimplifiedCDARResponse.md)
|
|
466
|
+
|
|
467
|
+
### Authorization
|
|
468
|
+
|
|
469
|
+
[HTTPBearer](../README.md#HTTPBearer)
|
|
470
|
+
|
|
471
|
+
### HTTP request headers
|
|
472
|
+
|
|
473
|
+
- **Content-Type**: application/json
|
|
474
|
+
- **Accept**: application/json
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
## submit_refusee_api_v1_cdar_refusee_post
|
|
478
|
+
|
|
479
|
+
> <SimplifiedCDARResponse> submit_refusee_api_v1_cdar_refusee_post(refusee_request)
|
|
480
|
+
|
|
481
|
+
[Simplifié] Soumettre un statut REFUSÉE (210)
|
|
482
|
+
|
|
483
|
+
**Endpoint simplifié pour OD** - Soumet un statut REFUSÉE (210) pour une facture. Ce statut est **obligatoire pour le PPF** (BR-FR-CDV-15 requiert un code motif). **Cas d'usage:** L'acheteur refuse une facture reçue. **Codes motif autorisés (BR-FR-CDV-CL-09):** - `TX_TVA_ERR`: Taux de TVA erroné - `MONTANTTOTAL_ERR`: Montant total erroné - `CALCUL_ERR`: Erreur de calcul - `NON_CONFORME`: Non conforme - `DOUBLON`: Doublon - `DEST_ERR`: Destinataire erroné - `TRANSAC_INC`: Transaction incomplète - `EMMET_INC`: Émetteur inconnu - `CONTRAT_TERM`: Contrat terminé - `DOUBLE_FACT`: Double facturation - `CMD_ERR`: Commande erronée - `ADR_ERR`: Adresse erronée - `REF_CT_ABSENT`: Référence contrat absente **Authentification:** JWT Bearer (recommandé) ou credentials PDP dans la requête.
|
|
484
|
+
|
|
485
|
+
### Examples
|
|
486
|
+
|
|
487
|
+
```ruby
|
|
488
|
+
require 'time'
|
|
489
|
+
require 'factpulse'
|
|
490
|
+
# setup authorization
|
|
491
|
+
FactPulse.configure do |config|
|
|
492
|
+
# Configure Bearer authorization: HTTPBearer
|
|
493
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
api_instance = FactPulse::CDARCycleDeVieApi.new
|
|
497
|
+
refusee_request = FactPulse::RefuseeRequest.new({invoice_id: 'invoice_id_example', invoice_issue_date: Date.today, reason_code: 'reason_code_example'}) # RefuseeRequest |
|
|
498
|
+
|
|
499
|
+
begin
|
|
500
|
+
# [Simplifié] Soumettre un statut REFUSÉE (210)
|
|
501
|
+
result = api_instance.submit_refusee_api_v1_cdar_refusee_post(refusee_request)
|
|
502
|
+
p result
|
|
503
|
+
rescue FactPulse::ApiError => e
|
|
504
|
+
puts "Error when calling CDARCycleDeVieApi->submit_refusee_api_v1_cdar_refusee_post: #{e}"
|
|
505
|
+
end
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
#### Using the submit_refusee_api_v1_cdar_refusee_post_with_http_info variant
|
|
509
|
+
|
|
510
|
+
This returns an Array which contains the response data, status code and headers.
|
|
511
|
+
|
|
512
|
+
> <Array(<SimplifiedCDARResponse>, Integer, Hash)> submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request)
|
|
513
|
+
|
|
514
|
+
```ruby
|
|
515
|
+
begin
|
|
516
|
+
# [Simplifié] Soumettre un statut REFUSÉE (210)
|
|
517
|
+
data, status_code, headers = api_instance.submit_refusee_api_v1_cdar_refusee_post_with_http_info(refusee_request)
|
|
518
|
+
p status_code # => 2xx
|
|
519
|
+
p headers # => { ... }
|
|
520
|
+
p data # => <SimplifiedCDARResponse>
|
|
521
|
+
rescue FactPulse::ApiError => e
|
|
522
|
+
puts "Error when calling CDARCycleDeVieApi->submit_refusee_api_v1_cdar_refusee_post_with_http_info: #{e}"
|
|
523
|
+
end
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
### Parameters
|
|
527
|
+
|
|
528
|
+
| Name | Type | Description | Notes |
|
|
529
|
+
| ---- | ---- | ----------- | ----- |
|
|
530
|
+
| **refusee_request** | [**RefuseeRequest**](RefuseeRequest.md) | | |
|
|
531
|
+
|
|
532
|
+
### Return type
|
|
533
|
+
|
|
534
|
+
[**SimplifiedCDARResponse**](SimplifiedCDARResponse.md)
|
|
535
|
+
|
|
536
|
+
### Authorization
|
|
537
|
+
|
|
538
|
+
[HTTPBearer](../README.md#HTTPBearer)
|
|
539
|
+
|
|
540
|
+
### HTTP request headers
|
|
541
|
+
|
|
542
|
+
- **Content-Type**: application/json
|
|
543
|
+
- **Accept**: application/json
|
|
544
|
+
|
|
545
|
+
|
|
422
546
|
## validate_cdar_api_v1_cdar_validate_post
|
|
423
547
|
|
|
424
548
|
> <ValidateCDARResponse> validate_cdar_api_v1_cdar_validate_post(validate_cdar_request)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FactPulse::ClientActivateResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **uid** | **String** | Unique client identifier | |
|
|
8
|
+
| **is_active** | **Boolean** | New status | |
|
|
9
|
+
| **message** | **String** | Confirmation message | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'factpulse'
|
|
15
|
+
|
|
16
|
+
instance = FactPulse::ClientActivateResponse.new(
|
|
17
|
+
uid: null,
|
|
18
|
+
is_active: null,
|
|
19
|
+
message: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# FactPulse::ClientCreateRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Client name | |
|
|
8
|
+
| **description** | **String** | | [optional] |
|
|
9
|
+
| **siret** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'factpulse'
|
|
15
|
+
|
|
16
|
+
instance = FactPulse::ClientCreateRequest.new(
|
|
17
|
+
name: null,
|
|
18
|
+
description: null,
|
|
19
|
+
siret: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# FactPulse::ClientDetail
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **uid** | **String** | Unique client identifier | |
|
|
8
|
+
| **name** | **String** | Client name | |
|
|
9
|
+
| **siret** | **String** | | [optional] |
|
|
10
|
+
| **description** | **String** | | [optional] |
|
|
11
|
+
| **is_active** | **Boolean** | Whether the client is active | |
|
|
12
|
+
| **has_config_pdp** | **Boolean** | Whether PDP config exists | |
|
|
13
|
+
| **pdp_is_active** | **Boolean** | | [optional] |
|
|
14
|
+
| **pdp_is_mock** | **Boolean** | | [optional] |
|
|
15
|
+
| **has_config_chorus** | **Boolean** | Whether Chorus Pro config exists | |
|
|
16
|
+
| **created_at** | **Time** | Creation date | |
|
|
17
|
+
| **updated_at** | **Time** | Last update date | |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'factpulse'
|
|
23
|
+
|
|
24
|
+
instance = FactPulse::ClientDetail.new(
|
|
25
|
+
uid: null,
|
|
26
|
+
name: null,
|
|
27
|
+
siret: null,
|
|
28
|
+
description: null,
|
|
29
|
+
is_active: null,
|
|
30
|
+
has_config_pdp: null,
|
|
31
|
+
pdp_is_active: null,
|
|
32
|
+
pdp_is_mock: null,
|
|
33
|
+
has_config_chorus: null,
|
|
34
|
+
created_at: null,
|
|
35
|
+
updated_at: null
|
|
36
|
+
)
|
|
37
|
+
```
|
|
38
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# FactPulse::ClientListResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **results** | [**Array<ClientSummary>**](ClientSummary.md) | List of clients | |
|
|
8
|
+
| **total** | **Integer** | Total number of clients | |
|
|
9
|
+
| **page** | **Integer** | Current page | |
|
|
10
|
+
| **page_size** | **Integer** | Page size | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'factpulse'
|
|
16
|
+
|
|
17
|
+
instance = FactPulse::ClientListResponse.new(
|
|
18
|
+
results: null,
|
|
19
|
+
total: null,
|
|
20
|
+
page: null,
|
|
21
|
+
page_size: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|