factpulse 3.0.37 → 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 -12
- data/Gemfile.lock +1 -1
- data/README.md +136 -138
- data/docs/AllowanceCharge.md +1 -1
- data/docs/Amount2.md +15 -0
- data/docs/CDARCycleDeVieApi.md +154 -30
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- 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/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +26 -0
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/PDPConfigResponse.md +44 -0
- data/docs/PDPConfigUpdateRequest.md +28 -0
- data/docs/PaymentAmountByRate.md +1 -1
- data/docs/Recipient.md +1 -1
- data/docs/RefuseeRequest.md +36 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SecretStatus.md +20 -0
- data/docs/SimplifiedCDARResponse.md +26 -0
- data/docs/SubmitCDARRequest.md +9 -1
- data/docs/SubmitCDARXMLRequest.md +9 -1
- data/docs/SubmitCompleteInvoiceResponse.md +2 -2
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/Supplier.md +1 -1
- data/docs/ValidateCDARResponse.md +2 -2
- data/docs/ValidationErrorResponse.md +2 -8
- 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 +199 -754
- data/lib/factpulse/helpers/exceptions.rb +38 -14
- data/lib/factpulse/helpers/helpers.rb +8 -7
- 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 +95 -27
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → client_activate_response.rb} +76 -24
- 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/{body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb → facture_electronique_rest_api_schemas_cdar_validation_error_response.rb} +68 -27
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb} +30 -98
- 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 +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- data/lib/factpulse/models/get_structure_response.rb +1 -1
- data/lib/factpulse/models/global_allowance_amount.rb +1 -1
- data/lib/factpulse/models/gross_unit_price.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/incoming_invoice.rb +1 -1
- data/lib/factpulse/models/incoming_supplier.rb +1 -1
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +1 -1
- data/lib/factpulse/models/invoice_line.rb +1 -1
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
- data/lib/factpulse/models/invoice_note.rb +1 -1
- data/lib/factpulse/models/invoice_payment_input.rb +1 -1
- data/lib/factpulse/models/invoice_references.rb +1 -1
- data/lib/factpulse/models/invoice_status.rb +1 -1
- data/lib/factpulse/models/invoice_totals.rb +1 -1
- data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +1 -1
- 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 -3
- 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 +4 -4
- data/lib/factpulse/models/search_flow_request.rb +1 -1
- data/lib/factpulse/models/search_flow_response.rb +1 -1
- data/lib/factpulse/models/search_services_response.rb +1 -1
- data/lib/factpulse/models/search_structure_request.rb +2 -2
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/{body_submit_cdar_api_v1_cdar_submit_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 +1 -1
- 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 +17 -17
- data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/submit_flow_request.rb +1 -1
- data/lib/factpulse/models/submit_flow_response.rb +1 -1
- data/lib/factpulse/models/submit_gross_amount.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_net_amount.rb +1 -1
- data/lib/factpulse/models/submit_vat_amount.rb +1 -1
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +1 -3
- 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 +3 -3
- 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 +21 -68
- 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 +17 -5
- metadata +34 -10
- data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +0 -20
- data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +0 -20
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +0 -26
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.20.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -35,7 +35,7 @@ module FactPulse
|
|
|
35
35
|
attr_accessor :signature
|
|
36
36
|
|
|
37
37
|
# Generated Factur-X PDF (and signed if requested) base64-encoded
|
|
38
|
-
attr_accessor :
|
|
38
|
+
attr_accessor :content_b64
|
|
39
39
|
|
|
40
40
|
# Return message
|
|
41
41
|
attr_accessor :message
|
|
@@ -72,7 +72,7 @@ module FactPulse
|
|
|
72
72
|
:'enriched_invoice' => :'enrichedInvoice',
|
|
73
73
|
:'facturx_pdf' => :'facturxPdf',
|
|
74
74
|
:'signature' => :'signature',
|
|
75
|
-
:'
|
|
75
|
+
:'content_b64' => :'contentB64',
|
|
76
76
|
:'message' => :'message'
|
|
77
77
|
}
|
|
78
78
|
end
|
|
@@ -97,7 +97,7 @@ module FactPulse
|
|
|
97
97
|
:'enriched_invoice' => :'EnrichedInvoiceInfo',
|
|
98
98
|
:'facturx_pdf' => :'FacturXPDFInfo',
|
|
99
99
|
:'signature' => :'SignatureInfo',
|
|
100
|
-
:'
|
|
100
|
+
:'content_b64' => :'String',
|
|
101
101
|
:'message' => :'String'
|
|
102
102
|
}
|
|
103
103
|
end
|
|
@@ -163,10 +163,10 @@ module FactPulse
|
|
|
163
163
|
self.signature = attributes[:'signature']
|
|
164
164
|
end
|
|
165
165
|
|
|
166
|
-
if attributes.key?(:'
|
|
167
|
-
self.
|
|
166
|
+
if attributes.key?(:'content_b64')
|
|
167
|
+
self.content_b64 = attributes[:'content_b64']
|
|
168
168
|
else
|
|
169
|
-
self.
|
|
169
|
+
self.content_b64 = nil
|
|
170
170
|
end
|
|
171
171
|
|
|
172
172
|
if attributes.key?(:'message')
|
|
@@ -197,8 +197,8 @@ module FactPulse
|
|
|
197
197
|
invalid_properties.push('invalid value for "facturx_pdf", facturx_pdf cannot be nil.')
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
-
if @
|
|
201
|
-
invalid_properties.push('invalid value for "
|
|
200
|
+
if @content_b64.nil?
|
|
201
|
+
invalid_properties.push('invalid value for "content_b64", content_b64 cannot be nil.')
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
if @message.nil?
|
|
@@ -218,7 +218,7 @@ module FactPulse
|
|
|
218
218
|
return false unless destination_type_validator.valid?(@destination_type)
|
|
219
219
|
return false if @enriched_invoice.nil?
|
|
220
220
|
return false if @facturx_pdf.nil?
|
|
221
|
-
return false if @
|
|
221
|
+
return false if @content_b64.nil?
|
|
222
222
|
return false if @message.nil?
|
|
223
223
|
true
|
|
224
224
|
end
|
|
@@ -264,13 +264,13 @@ module FactPulse
|
|
|
264
264
|
end
|
|
265
265
|
|
|
266
266
|
# Custom attribute writer method with validation
|
|
267
|
-
# @param [Object]
|
|
268
|
-
def
|
|
269
|
-
if
|
|
270
|
-
fail ArgumentError, '
|
|
267
|
+
# @param [Object] content_b64 Value to be assigned
|
|
268
|
+
def content_b64=(content_b64)
|
|
269
|
+
if content_b64.nil?
|
|
270
|
+
fail ArgumentError, 'content_b64 cannot be nil'
|
|
271
271
|
end
|
|
272
272
|
|
|
273
|
-
@
|
|
273
|
+
@content_b64 = content_b64
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
# Custom attribute writer method with validation
|
|
@@ -295,7 +295,7 @@ module FactPulse
|
|
|
295
295
|
enriched_invoice == o.enriched_invoice &&
|
|
296
296
|
facturx_pdf == o.facturx_pdf &&
|
|
297
297
|
signature == o.signature &&
|
|
298
|
-
|
|
298
|
+
content_b64 == o.content_b64 &&
|
|
299
299
|
message == o.message
|
|
300
300
|
end
|
|
301
301
|
|
|
@@ -308,7 +308,7 @@ module FactPulse
|
|
|
308
308
|
# Calculates hash code according to all attributes.
|
|
309
309
|
# @return [Integer] Hash code
|
|
310
310
|
def hash
|
|
311
|
-
[success, destination_type, chorus_result, afnor_result, enriched_invoice, facturx_pdf, signature,
|
|
311
|
+
[success, destination_type, chorus_result, afnor_result, enriched_invoice, facturx_pdf, signature, content_b64, message].hash
|
|
312
312
|
end
|
|
313
313
|
|
|
314
314
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.20.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -83,7 +83,7 @@ module FactPulse
|
|
|
83
83
|
# Attribute type mapping.
|
|
84
84
|
def self.openapi_types
|
|
85
85
|
{
|
|
86
|
-
:'credentials' => :'
|
|
86
|
+
:'credentials' => :'ChorusProCredentials',
|
|
87
87
|
:'invoice_number' => :'String',
|
|
88
88
|
:'invoice_date' => :'String',
|
|
89
89
|
:'payment_due_date' => :'String',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.20.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -151,8 +151,6 @@ module FactPulse
|
|
|
151
151
|
|
|
152
152
|
if attributes.key?(:'electronic_address')
|
|
153
153
|
self.electronic_address = attributes[:'electronic_address']
|
|
154
|
-
else
|
|
155
|
-
self.electronic_address = nil
|
|
156
154
|
end
|
|
157
155
|
|
|
158
156
|
if attributes.key?(:'supplier_id')
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.20.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -48,8 +48,8 @@ module FactPulse
|
|
|
48
48
|
def self.openapi_types
|
|
49
49
|
{
|
|
50
50
|
:'valid' => :'Boolean',
|
|
51
|
-
:'errors' => :'Array<
|
|
52
|
-
:'warnings' => :'Array<
|
|
51
|
+
:'errors' => :'Array<FactureElectroniqueRestApiSchemasCdarValidationErrorResponse>',
|
|
52
|
+
:'warnings' => :'Array<FactureElectroniqueRestApiSchemasCdarValidationErrorResponse>'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.20.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,26 +14,15 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
#
|
|
17
|
+
# Response for validation errors.
|
|
18
18
|
class ValidationErrorResponse < ApiModelBase
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# Message d'erreur
|
|
23
|
-
attr_accessor :message
|
|
24
|
-
|
|
25
|
-
attr_accessor :rule
|
|
26
|
-
|
|
27
|
-
# Sévérité (error/warning)
|
|
28
|
-
attr_accessor :severity
|
|
19
|
+
# List of detected validation errors.
|
|
20
|
+
attr_accessor :detail
|
|
29
21
|
|
|
30
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
23
|
def self.attribute_map
|
|
32
24
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'message' => :'message',
|
|
35
|
-
:'rule' => :'rule',
|
|
36
|
-
:'severity' => :'severity'
|
|
25
|
+
:'detail' => :'detail'
|
|
37
26
|
}
|
|
38
27
|
end
|
|
39
28
|
|
|
@@ -50,17 +39,13 @@ module FactPulse
|
|
|
50
39
|
# Attribute type mapping.
|
|
51
40
|
def self.openapi_types
|
|
52
41
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'message' => :'String',
|
|
55
|
-
:'rule' => :'String',
|
|
56
|
-
:'severity' => :'String'
|
|
42
|
+
:'detail' => :'Array<String>'
|
|
57
43
|
}
|
|
58
44
|
end
|
|
59
45
|
|
|
60
46
|
# List of attributes with nullable: true
|
|
61
47
|
def self.openapi_nullable
|
|
62
48
|
Set.new([
|
|
63
|
-
:'rule',
|
|
64
49
|
])
|
|
65
50
|
end
|
|
66
51
|
|
|
@@ -80,26 +65,12 @@ module FactPulse
|
|
|
80
65
|
h[k.to_sym] = v
|
|
81
66
|
}
|
|
82
67
|
|
|
83
|
-
if attributes.key?(:'
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
if attributes.key?(:'message')
|
|
90
|
-
self.message = attributes[:'message']
|
|
91
|
-
else
|
|
92
|
-
self.message = nil
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if attributes.key?(:'rule')
|
|
96
|
-
self.rule = attributes[:'rule']
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'severity')
|
|
100
|
-
self.severity = attributes[:'severity']
|
|
68
|
+
if attributes.key?(:'detail')
|
|
69
|
+
if (value = attributes[:'detail']).is_a?(Array)
|
|
70
|
+
self.detail = value
|
|
71
|
+
end
|
|
101
72
|
else
|
|
102
|
-
self.
|
|
73
|
+
self.detail = nil
|
|
103
74
|
end
|
|
104
75
|
end
|
|
105
76
|
|
|
@@ -108,12 +79,8 @@ module FactPulse
|
|
|
108
79
|
def list_invalid_properties
|
|
109
80
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
110
81
|
invalid_properties = Array.new
|
|
111
|
-
if @
|
|
112
|
-
invalid_properties.push('invalid value for "
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
if @message.nil?
|
|
116
|
-
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
82
|
+
if @detail.nil?
|
|
83
|
+
invalid_properties.push('invalid value for "detail", detail cannot be nil.')
|
|
117
84
|
end
|
|
118
85
|
|
|
119
86
|
invalid_properties
|
|
@@ -123,29 +90,18 @@ module FactPulse
|
|
|
123
90
|
# @return true if the model is valid
|
|
124
91
|
def valid?
|
|
125
92
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
126
|
-
return false if @
|
|
127
|
-
return false if @message.nil?
|
|
93
|
+
return false if @detail.nil?
|
|
128
94
|
true
|
|
129
95
|
end
|
|
130
96
|
|
|
131
97
|
# Custom attribute writer method with validation
|
|
132
|
-
# @param [Object]
|
|
133
|
-
def
|
|
134
|
-
if
|
|
135
|
-
fail ArgumentError, '
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
@field = field
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
# Custom attribute writer method with validation
|
|
142
|
-
# @param [Object] message Value to be assigned
|
|
143
|
-
def message=(message)
|
|
144
|
-
if message.nil?
|
|
145
|
-
fail ArgumentError, 'message cannot be nil'
|
|
98
|
+
# @param [Object] detail Value to be assigned
|
|
99
|
+
def detail=(detail)
|
|
100
|
+
if detail.nil?
|
|
101
|
+
fail ArgumentError, 'detail cannot be nil'
|
|
146
102
|
end
|
|
147
103
|
|
|
148
|
-
@
|
|
104
|
+
@detail = detail
|
|
149
105
|
end
|
|
150
106
|
|
|
151
107
|
# Checks equality by comparing each attribute.
|
|
@@ -153,10 +109,7 @@ module FactPulse
|
|
|
153
109
|
def ==(o)
|
|
154
110
|
return true if self.equal?(o)
|
|
155
111
|
self.class == o.class &&
|
|
156
|
-
|
|
157
|
-
message == o.message &&
|
|
158
|
-
rule == o.rule &&
|
|
159
|
-
severity == o.severity
|
|
112
|
+
detail == o.detail
|
|
160
113
|
end
|
|
161
114
|
|
|
162
115
|
# @see the `==` method
|
|
@@ -168,7 +121,7 @@ module FactPulse
|
|
|
168
121
|
# Calculates hash code according to all attributes.
|
|
169
122
|
# @return [Integer] Hash code
|
|
170
123
|
def hash
|
|
171
|
-
[
|
|
124
|
+
[detail].hash
|
|
172
125
|
end
|
|
173
126
|
|
|
174
127
|
# Builds the object from hash
|