factpulse 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -5
- data/Gemfile.lock +11 -9
- data/README.md +7 -1
- data/docs/AFNORContainsOrStartWithOperator.md +15 -0
- data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
- data/docs/AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md +4 -0
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +2 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
- data/docs/AFNORFacilityPayloadIncluded.md +2 -0
- data/docs/AFNORFlow.md +2 -2
- data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
- data/docs/AFNORPDPPAFlowServiceApi.md +3 -133
- data/docs/AFNORRoutingCodeSearch.md +2 -2
- data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +4 -2
- data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
- data/docs/AFNORSearchFlowContent.md +3 -1
- data/docs/AFNORSearchFlowParams.md +3 -1
- data/docs/AFNORSearchSiren.md +1 -1
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenSortingInner.md +2 -2
- data/docs/AFNORSearchSiret.md +1 -1
- data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretSortingInner.md +2 -2
- data/docs/AFNORSirenSearchPost200Response.md +1 -1
- data/docs/AFNORSiretSearchPost200Response.md +1 -1
- data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
- data/docs/AFNORWebhook.md +12 -4
- data/docs/AFNORWebhookIdParam.md +5 -1
- data/docs/AFNORWebhookParams.md +8 -4
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{AFNORAlgorithm.md → Amounteur.md} +2 -2
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/ClientManagementApi.md +231 -0
- data/docs/CreateCDARRequest.md +3 -1
- data/docs/DeliveryParty.md +2 -2
- data/docs/ElectronicAddressInput.md +20 -0
- data/docs/ElectronicAddressOutput.md +20 -0
- data/docs/EncaisseeRequest.md +3 -1
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/Flux10EReportingApi.md +18 -8
- data/docs/Flux6InvoiceLifecycleCDARApi.md +39 -19
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/IncomingSupplier.md +4 -2
- data/docs/InvoiceGenerationApi.md +14 -8
- data/docs/InvoiceInput.md +5 -1
- data/docs/{AFNORCallbackAuthentication.md → Invoicedata.md} +9 -9
- data/docs/LifecycleEvent.md +2 -0
- data/docs/Payee.md +2 -2
- data/docs/PaymentAmountByRate.md +4 -2
- data/docs/PostalAddressInput.md +30 -0
- data/docs/PostalAddressOutput.md +30 -0
- data/docs/ProcessingOptions.md +1 -1
- data/docs/Recipient.md +3 -3
- data/docs/ReportSender.md +2 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SimplifiedInvoiceData.md +3 -3
- data/docs/SubmitCDARRequest.md +2 -0
- data/docs/SubmitCompleteInvoiceRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/SuperPDPConnectURLResponse.md +18 -0
- data/docs/SuperPDPDisconnectResponse.md +20 -0
- data/docs/SuperPDPStatusResponse.md +26 -0
- data/docs/Supplier.md +5 -3
- data/docs/TaxBreakdownInput.md +7 -1
- data/docs/TaxRepresentative.md +1 -1
- data/docs/{AFNORContainsOperator.md → Taxamounteur.md} +2 -2
- data/factpulse.gemspec +1 -1
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +7 -133
- data/lib/factpulse/api/async_tasks_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +196 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +1 -1
- data/lib/factpulse/api/factur_x_conversion_api.rb +1 -1
- data/lib/factpulse/api/factur_x_validation_api.rb +1 -1
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +1 -1
- data/lib/factpulse/api/flux10_e_reporting_api.rb +10 -1
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +25 -3
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_generation_api.rb +9 -3
- data/lib/factpulse/api/parse_api.rb +1 -1
- data/lib/factpulse/api/references_api.rb +1 -1
- data/lib/factpulse/api/validation_api.rb +1 -1
- data/lib/factpulse/api_client.rb +1 -1
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/helpers/client.rb +42 -5
- data/lib/factpulse/models/acknowledgment_status.rb +1 -1
- data/lib/factpulse/models/action_code_info.rb +1 -1
- data/lib/factpulse/models/action_codes_response.rb +1 -1
- data/lib/factpulse/models/additional_document.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
- data/lib/factpulse/models/afnor_address_read.rb +1 -1
- data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_start_with_operator.rb} +6 -5
- data/lib/factpulse/models/afnor_contains_or_strict_operator.rb +1 -1
- data/lib/factpulse/models/{afnor_algorithm.rb → afnor_contains_or_strict_or_start_with_operator.rb} +8 -11
- data/lib/factpulse/models/afnor_core_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_field.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_legal_unit_facility_routing_code.rb +51 -2
- data/lib/factpulse/models/afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb +42 -2
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_directory_line_status.rb +1 -1
- data/lib/factpulse/models/afnor_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_error.rb +1 -1
- data/lib/factpulse/models/afnor_error_detail.rb +1 -1
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_included.rb +11 -2
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +45 -11
- data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
- data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
- data/lib/factpulse/models/afnor_flow_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_flow_info_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +3 -2
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +9 -3
- data/lib/factpulse/models/afnor_full_flow_info.rb +11 -11
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +7 -7
- data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +14 -5
- data/lib/factpulse/models/afnor_processing_rule.rb +3 -2
- data/lib/factpulse/models/afnor_reason_code.rb +1 -1
- data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
- data/lib/factpulse/models/afnor_result.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_field.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +35 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +6 -6
- data/lib/factpulse/models/afnor_search_flow_params.rb +13 -3
- data/lib/factpulse/models/afnor_search_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
- data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
- data/lib/factpulse/models/afnor_strict_or_start_with_operator.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb → afnor_unique_directory_line_status.rb} +7 -10
- data/lib/factpulse/models/afnor_webhook.rb +83 -40
- data/lib/factpulse/models/afnor_webhook_id_param.rb +23 -5
- data/lib/factpulse/models/afnor_webhook_params.rb +65 -40
- data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
- data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
- data/lib/factpulse/models/allowance_charge.rb +2 -2
- data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_total_amount.rb +1 -1
- data/lib/factpulse/models/amount.rb +2 -2
- data/lib/factpulse/models/amount1.rb +2 -2
- data/lib/factpulse/models/amount2.rb +2 -2
- data/lib/factpulse/models/amount_due.rb +1 -1
- data/lib/factpulse/models/amounteur.rb +104 -0
- data/lib/factpulse/models/api_error.rb +1 -1
- data/lib/factpulse/models/api_profile.rb +1 -1
- data/lib/factpulse/models/async_task_status.rb +1 -1
- data/lib/factpulse/models/base_amount.rb +1 -1
- data/lib/factpulse/models/bounding_box_schema.rb +1 -1
- data/lib/factpulse/models/buyercountry.rb +1 -1
- data/lib/factpulse/models/celery_status.rb +1 -1
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/charge_total_amount.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +27 -95
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/client_activate_response.rb +1 -1
- data/lib/factpulse/models/client_create_request.rb +1 -1
- data/lib/factpulse/models/client_detail.rb +1 -1
- data/lib/factpulse/models/client_list_response.rb +1 -1
- data/lib/factpulse/models/client_summary.rb +1 -1
- data/lib/factpulse/models/client_update_request.rb +1 -1
- data/lib/factpulse/models/contact.rb +1 -1
- data/lib/factpulse/models/conversion_error_result.rb +1 -1
- data/lib/factpulse/models/conversion_extraction_info.rb +1 -1
- data/lib/factpulse/models/conversion_pending_input_result.rb +1 -1
- data/lib/factpulse/models/conversion_success_task_result.rb +1 -1
- data/lib/factpulse/models/conversion_task_status.rb +1 -1
- data/lib/factpulse/models/conversion_task_status_result.rb +1 -1
- data/lib/factpulse/models/conversion_validation_failed_result.rb +1 -1
- data/lib/factpulse/models/convert_resume_request.rb +1 -1
- data/lib/factpulse/models/convert_success_response.rb +1 -1
- data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
- data/lib/factpulse/models/country_code.rb +1 -1
- data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/create_cdar_request.rb +18 -6
- data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/currency.rb +1 -1
- data/lib/factpulse/models/currency_code.rb +1 -1
- data/lib/factpulse/models/delivery_party.rb +3 -3
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/doc_type.rb +1 -1
- data/lib/factpulse/models/document_type_info.rb +1 -1
- data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
- data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
- data/lib/factpulse/models/electronic_address.rb +2 -2
- data/lib/factpulse/models/{afnor_callback_signature.rb → electronic_address_input.rb} +29 -44
- data/lib/factpulse/models/{afnor_callback_parameters.rb → electronic_address_output.rb} +51 -46
- data/lib/factpulse/models/encaisseamount.rb +1 -1
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +15 -3
- data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
- data/lib/factpulse/models/error_level.rb +1 -1
- data/lib/factpulse/models/error_source.rb +1 -1
- data/lib/factpulse/models/extraction_info.rb +1 -1
- data/lib/factpulse/models/factur_x_invoice.rb +1 -1
- data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
- data/lib/factpulse/models/facture_electronique_models_invoice_type_code.rb +54 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +98 -30
- data/lib/factpulse/models/field_status.rb +1 -1
- data/lib/factpulse/models/file_info.rb +1 -1
- data/lib/factpulse/models/files_info.rb +1 -1
- data/lib/factpulse/models/flow_direction.rb +1 -1
- data/lib/factpulse/models/flow_profile.rb +3 -2
- data/lib/factpulse/models/flow_summary.rb +1 -1
- data/lib/factpulse/models/flow_syntax.rb +1 -1
- data/lib/factpulse/models/flow_type.rb +9 -3
- data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
- data/lib/factpulse/models/generate_cdar_response.rb +1 -1
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/generation_success_result.rb +1 -1
- data/lib/factpulse/models/generation_task_status.rb +1 -1
- data/lib/factpulse/models/generation_task_status_result.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- data/lib/factpulse/models/get_structure_response.rb +1 -1
- data/lib/factpulse/models/global_allowance_amount.rb +1 -1
- data/lib/factpulse/models/gross_unit_price.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/incoming_invoice.rb +1 -1
- data/lib/factpulse/models/incoming_supplier.rb +14 -4
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +23 -3
- data/lib/factpulse/models/invoice_lifecycle.rb +1 -1
- data/lib/factpulse/models/invoice_line.rb +1 -1
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
- data/lib/factpulse/models/invoice_note.rb +1 -1
- data/lib/factpulse/models/invoice_payment_input.rb +1 -1
- data/lib/factpulse/models/invoice_references.rb +1 -1
- data/lib/factpulse/models/invoice_status.rb +1 -1
- data/lib/factpulse/models/invoice_totals.rb +1 -1
- data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +7 -18
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/{afnor_callback_authentication.rb → invoicedata.rb} +5 -5
- data/lib/factpulse/models/invoicing_framework.rb +1 -1
- data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
- data/lib/factpulse/models/issuer_role_code.rb +1 -1
- data/lib/factpulse/models/key_rotation_request.rb +1 -1
- data/lib/factpulse/models/key_rotation_response.rb +1 -1
- data/lib/factpulse/models/lifecycle_event.rb +12 -2
- data/lib/factpulse/models/lifecycle_response.rb +1 -1
- data/lib/factpulse/models/line_net_amount.rb +1 -1
- data/lib/factpulse/models/line_sub_type.rb +1 -1
- data/lib/factpulse/models/line_total_amount.rb +1 -1
- data/lib/factpulse/models/location_inner.rb +1 -1
- data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
- data/lib/factpulse/models/manual_rate.rb +1 -1
- data/lib/factpulse/models/manual_vat_rate.rb +1 -1
- data/lib/factpulse/models/missing_field.rb +1 -1
- data/lib/factpulse/models/operation_nature.rb +1 -1
- data/lib/factpulse/models/output_format.rb +1 -1
- data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
- data/lib/factpulse/models/parse_factur_x_response.rb +1 -1
- data/lib/factpulse/models/payee.rb +3 -3
- data/lib/factpulse/models/payment_amount_by_rate.rb +15 -5
- data/lib/factpulse/models/payment_card.rb +1 -1
- data/lib/factpulse/models/payment_means.rb +1 -1
- data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
- data/lib/factpulse/models/pdp_config_response.rb +1 -1
- data/lib/factpulse/models/pdp_config_update_request.rb +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +1 -1
- data/lib/factpulse/models/percentage.rb +1 -1
- data/lib/factpulse/models/postal_address.rb +7 -7
- data/lib/factpulse/models/postal_address_input.rb +209 -0
- data/lib/factpulse/models/{afnor_callback_header.rb → postal_address_output.rb} +70 -51
- data/lib/factpulse/models/price_allowance_amount.rb +1 -1
- data/lib/factpulse/models/price_basis_quantity.rb +1 -1
- data/lib/factpulse/models/processing_options.rb +2 -2
- data/lib/factpulse/models/processing_rule.rb +3 -2
- data/lib/factpulse/models/product_characteristic.rb +1 -1
- data/lib/factpulse/models/product_classification.rb +1 -1
- data/lib/factpulse/models/quantity.rb +1 -1
- data/lib/factpulse/models/rate.rb +1 -1
- data/lib/factpulse/models/rate1.rb +1 -1
- data/lib/factpulse/models/reason_code_info.rb +1 -1
- data/lib/factpulse/models/reason_codes_response.rb +1 -1
- data/lib/factpulse/models/recipient.rb +4 -4
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +1 -1
- data/lib/factpulse/models/report_issuer.rb +1 -1
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +12 -2
- data/lib/factpulse/models/rounding_amount.rb +1 -1
- data/lib/factpulse/models/schematron_validation_error.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +1 -1
- data/lib/factpulse/models/search_flow_request.rb +1 -1
- data/lib/factpulse/models/search_flow_response.rb +1 -1
- data/lib/factpulse/models/search_services_response.rb +1 -1
- data/lib/factpulse/models/search_structure_request.rb +2 -2
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/secret_status.rb +1 -1
- data/lib/factpulse/models/sellercountry.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/signature_info_api.rb +1 -1
- data/lib/factpulse/models/signature_parameters.rb +1 -1
- data/lib/factpulse/models/signature_success_result.rb +1 -1
- data/lib/factpulse/models/signature_task_status.rb +1 -1
- data/lib/factpulse/models/signature_task_status_result.rb +1 -1
- data/lib/factpulse/models/simplified_cdar_response.rb +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +5 -5
- data/lib/factpulse/models/status_code_info.rb +1 -1
- data/lib/factpulse/models/status_codes_response.rb +1 -1
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/structure_parameters.rb +1 -1
- data/lib/factpulse/models/structure_service.rb +1 -1
- data/lib/factpulse/models/submission_mode.rb +1 -1
- data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/submit_cdar_request.rb +14 -2
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +1 -1
- data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -3
- data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/submit_flow_request.rb +1 -1
- data/lib/factpulse/models/submit_flow_response.rb +1 -1
- data/lib/factpulse/models/submit_gross_amount.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_net_amount.rb +1 -1
- data/lib/factpulse/models/submit_vat_amount.rb +1 -1
- data/lib/factpulse/models/{afnor_webhook_patch_payload.rb → super_pdp_connect_url_response.rb} +30 -31
- data/lib/factpulse/models/{afnor_basic_authentication.rb → super_pdp_disconnect_response.rb} +38 -35
- data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +15 -5
- data/lib/factpulse/models/task_error_result.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +35 -5
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +2 -2
- data/lib/factpulse/models/taxable_amount.rb +1 -1
- data/lib/factpulse/models/taxableamount.rb +1 -1
- data/lib/factpulse/models/taxamount.rb +1 -1
- data/lib/factpulse/models/taxamount1.rb +1 -1
- data/lib/factpulse/models/taxamount2.rb +1 -1
- data/lib/factpulse/models/taxamounteur.rb +104 -0
- data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
- data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
- data/lib/factpulse/models/total_gross_amount.rb +1 -1
- data/lib/factpulse/models/total_net_amount.rb +1 -1
- data/lib/factpulse/models/total_vat_amount.rb +1 -1
- data/lib/factpulse/models/transaction_category.rb +1 -1
- data/lib/factpulse/models/transmission_type_code.rb +1 -1
- data/lib/factpulse/models/unit_net_price.rb +1 -1
- data/lib/factpulse/models/unit_of_measure.rb +1 -1
- data/lib/factpulse/models/validate_cdar_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_response.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_detail.rb +1 -1
- data/lib/factpulse/models/validation_error_response.rb +1 -1
- data/lib/factpulse/models/validation_info.rb +1 -1
- data/lib/factpulse/models/validation_success_response.rb +1 -1
- data/lib/factpulse/models/validation_success_task_result.rb +1 -1
- data/lib/factpulse/models/validation_task_status.rb +1 -1
- data/lib/factpulse/models/validation_task_status_result.rb +1 -1
- data/lib/factpulse/models/vat_accounting_code.rb +1 -1
- data/lib/factpulse/models/vat_amount.rb +1 -1
- data/lib/factpulse/models/vat_category.rb +1 -1
- data/lib/factpulse/models/vat_line.rb +1 -1
- data/lib/factpulse/models/vat_point_date_code.rb +1 -1
- data/lib/factpulse/models/vat_rate.rb +1 -1
- data/lib/factpulse/models/vatex_code_info.rb +1 -1
- data/lib/factpulse/models/vatex_codes_response.rb +1 -1
- data/lib/factpulse/models/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verification_success_task_result.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status_result.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/models/webhook_secret_delete_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_generate_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_status_response.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +16 -13
- metadata +32 -26
- data/docs/AFNORBasicAuthentication.md +0 -20
- data/docs/AFNORCallbackHeader.md +0 -20
- data/docs/AFNORCallbackParameters.md +0 -24
- data/docs/AFNORCallbackSignature.md +0 -20
- data/docs/AFNOROAuth2Authentication.md +0 -22
- data/docs/AFNORWebhookMetadata.md +0 -24
- data/docs/AFNORWebhookPatchPayload.md +0 -22
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
- data/lib/factpulse/models/afnor_webhook_metadata.rb +0 -230
- data/lib/factpulse/models/afnoro_auth2_authentication.rb +0 -216
data/lib/factpulse/models/{afnor_algorithm.rb → afnor_contains_or_strict_or_start_with_operator.rb}
RENAMED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,16 +14,13 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
class
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
EDDSA_25519 = "EDDSA_25519".freeze
|
|
22
|
-
RSA_PSS = "RSA_PSS".freeze
|
|
23
|
-
EDDSA_448 = "EDDSA_448".freeze
|
|
17
|
+
class AFNORContainsOrStrictOrStartWithOperator
|
|
18
|
+
CONTAINS = "contains".freeze
|
|
19
|
+
STRICT = "strict".freeze
|
|
20
|
+
START_WITH = "startWith".freeze
|
|
24
21
|
|
|
25
22
|
def self.all_vars
|
|
26
|
-
@all_vars ||= [
|
|
23
|
+
@all_vars ||= [CONTAINS, STRICT, START_WITH].freeze
|
|
27
24
|
end
|
|
28
25
|
|
|
29
26
|
# Builds the enum from string
|
|
@@ -37,8 +34,8 @@ module FactPulse
|
|
|
37
34
|
# @param [String] The enum value in the form of the string
|
|
38
35
|
# @return [String] The enum value
|
|
39
36
|
def build_from_hash(value)
|
|
40
|
-
return value if
|
|
41
|
-
raise "Invalid ENUM value #{value} for class #
|
|
37
|
+
return value if AFNORContainsOrStrictOrStartWithOperator.all_vars.include?(value)
|
|
38
|
+
raise "Invalid ENUM value #{value} for class #AFNORContainsOrStrictOrStartWithOperator"
|
|
42
39
|
end
|
|
43
40
|
end
|
|
44
41
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -134,8 +134,8 @@ module FactPulse
|
|
|
134
134
|
def list_invalid_properties
|
|
135
135
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
136
136
|
invalid_properties = Array.new
|
|
137
|
-
if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
138
|
-
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
137
|
+
if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
138
|
+
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 64.')
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
if @name.nil?
|
|
@@ -157,7 +157,7 @@ module FactPulse
|
|
|
157
157
|
# @return true if the model is valid
|
|
158
158
|
def valid?
|
|
159
159
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
160
|
-
return false if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
160
|
+
return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
161
161
|
return false if @name.nil?
|
|
162
162
|
return false if @name.to_s.length > 255
|
|
163
163
|
return false if @flow_syntax.nil?
|
|
@@ -171,8 +171,8 @@ module FactPulse
|
|
|
171
171
|
fail ArgumentError, 'tracking_id cannot be nil'
|
|
172
172
|
end
|
|
173
173
|
|
|
174
|
-
if tracking_id.to_s.length >
|
|
175
|
-
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
174
|
+
if tracking_id.to_s.length > 64
|
|
175
|
+
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 64.'
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
@tracking_id = tracking_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.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -20,12 +20,17 @@ module FactPulse
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :platform_type
|
|
22
22
|
|
|
23
|
+
attr_accessor :directory_line_status
|
|
24
|
+
|
|
23
25
|
# SIREN number
|
|
24
26
|
attr_accessor :siren
|
|
25
27
|
|
|
26
28
|
# SIRET Number
|
|
27
29
|
attr_accessor :siret
|
|
28
30
|
|
|
31
|
+
# Routing identifier od a routing code.
|
|
32
|
+
attr_accessor :routing_identifier
|
|
33
|
+
|
|
29
34
|
# suffix of the directory line which defines an address mesh not attached to a facility
|
|
30
35
|
attr_accessor :addressing_suffix
|
|
31
36
|
|
|
@@ -62,8 +67,10 @@ module FactPulse
|
|
|
62
67
|
{
|
|
63
68
|
:'addressing_identifier' => :'addressingIdentifier',
|
|
64
69
|
:'platform_type' => :'platformType',
|
|
70
|
+
:'directory_line_status' => :'directoryLineStatus',
|
|
65
71
|
:'siren' => :'siren',
|
|
66
72
|
:'siret' => :'siret',
|
|
73
|
+
:'routing_identifier' => :'routingIdentifier',
|
|
67
74
|
:'addressing_suffix' => :'addressingSuffix',
|
|
68
75
|
:'routing_code' => :'routingCode',
|
|
69
76
|
:'legal_unit' => :'legalUnit',
|
|
@@ -86,8 +93,10 @@ module FactPulse
|
|
|
86
93
|
{
|
|
87
94
|
:'addressing_identifier' => :'String',
|
|
88
95
|
:'platform_type' => :'AFNORRecipientPlatformType',
|
|
96
|
+
:'directory_line_status' => :'AFNORUniqueDirectoryLineStatus',
|
|
89
97
|
:'siren' => :'String',
|
|
90
98
|
:'siret' => :'String',
|
|
99
|
+
:'routing_identifier' => :'String',
|
|
91
100
|
:'addressing_suffix' => :'String',
|
|
92
101
|
:'routing_code' => :'AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodeRoutingCode',
|
|
93
102
|
:'legal_unit' => :'AFNORLegalUnitPayloadIncluded',
|
|
@@ -125,6 +134,10 @@ module FactPulse
|
|
|
125
134
|
self.platform_type = attributes[:'platform_type']
|
|
126
135
|
end
|
|
127
136
|
|
|
137
|
+
if attributes.key?(:'directory_line_status')
|
|
138
|
+
self.directory_line_status = attributes[:'directory_line_status']
|
|
139
|
+
end
|
|
140
|
+
|
|
128
141
|
if attributes.key?(:'siren')
|
|
129
142
|
self.siren = attributes[:'siren']
|
|
130
143
|
end
|
|
@@ -133,6 +146,10 @@ module FactPulse
|
|
|
133
146
|
self.siret = attributes[:'siret']
|
|
134
147
|
end
|
|
135
148
|
|
|
149
|
+
if attributes.key?(:'routing_identifier')
|
|
150
|
+
self.routing_identifier = attributes[:'routing_identifier']
|
|
151
|
+
end
|
|
152
|
+
|
|
136
153
|
if attributes.key?(:'addressing_suffix')
|
|
137
154
|
self.addressing_suffix = attributes[:'addressing_suffix']
|
|
138
155
|
end
|
|
@@ -177,6 +194,15 @@ module FactPulse
|
|
|
177
194
|
invalid_properties.push("invalid value for \"siret\", must conform to the pattern #{pattern}.")
|
|
178
195
|
end
|
|
179
196
|
|
|
197
|
+
if !@routing_identifier.nil? && @routing_identifier.to_s.length > 100
|
|
198
|
+
invalid_properties.push('invalid value for "routing_identifier", the character length must be smaller than or equal to 100.')
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
pattern = Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
202
|
+
if !@routing_identifier.nil? && @routing_identifier !~ pattern
|
|
203
|
+
invalid_properties.push("invalid value for \"routing_identifier\", must conform to the pattern #{pattern}.")
|
|
204
|
+
end
|
|
205
|
+
|
|
180
206
|
if !@addressing_suffix.nil? && @addressing_suffix.to_s.length > 100
|
|
181
207
|
invalid_properties.push('invalid value for "addressing_suffix", the character length must be smaller than or equal to 100.')
|
|
182
208
|
end
|
|
@@ -193,6 +219,8 @@ module FactPulse
|
|
|
193
219
|
return false if !@siren.nil? && @siren !~ Regexp.new(/^([0-9]{9})$/)
|
|
194
220
|
return false if !@siret.nil? && @siret.to_s.length > 14
|
|
195
221
|
return false if !@siret.nil? && @siret !~ Regexp.new(/^([0-9]{14})$/)
|
|
222
|
+
return false if !@routing_identifier.nil? && @routing_identifier.to_s.length > 100
|
|
223
|
+
return false if !@routing_identifier.nil? && @routing_identifier !~ Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
196
224
|
return false if !@addressing_suffix.nil? && @addressing_suffix.to_s.length > 100
|
|
197
225
|
true
|
|
198
226
|
end
|
|
@@ -249,6 +277,25 @@ module FactPulse
|
|
|
249
277
|
@siret = siret
|
|
250
278
|
end
|
|
251
279
|
|
|
280
|
+
# Custom attribute writer method with validation
|
|
281
|
+
# @param [Object] routing_identifier Value to be assigned
|
|
282
|
+
def routing_identifier=(routing_identifier)
|
|
283
|
+
if routing_identifier.nil?
|
|
284
|
+
fail ArgumentError, 'routing_identifier cannot be nil'
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
if routing_identifier.to_s.length > 100
|
|
288
|
+
fail ArgumentError, 'invalid value for "routing_identifier", the character length must be smaller than or equal to 100.'
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
pattern = Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
292
|
+
if routing_identifier !~ pattern
|
|
293
|
+
fail ArgumentError, "invalid value for \"routing_identifier\", must conform to the pattern #{pattern}."
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
@routing_identifier = routing_identifier
|
|
297
|
+
end
|
|
298
|
+
|
|
252
299
|
# Custom attribute writer method with validation
|
|
253
300
|
# @param [Object] addressing_suffix Value to be assigned
|
|
254
301
|
def addressing_suffix=(addressing_suffix)
|
|
@@ -270,8 +317,10 @@ module FactPulse
|
|
|
270
317
|
self.class == o.class &&
|
|
271
318
|
addressing_identifier == o.addressing_identifier &&
|
|
272
319
|
platform_type == o.platform_type &&
|
|
320
|
+
directory_line_status == o.directory_line_status &&
|
|
273
321
|
siren == o.siren &&
|
|
274
322
|
siret == o.siret &&
|
|
323
|
+
routing_identifier == o.routing_identifier &&
|
|
275
324
|
addressing_suffix == o.addressing_suffix &&
|
|
276
325
|
routing_code == o.routing_code &&
|
|
277
326
|
legal_unit == o.legal_unit &&
|
|
@@ -287,7 +336,7 @@ module FactPulse
|
|
|
287
336
|
# Calculates hash code according to all attributes.
|
|
288
337
|
# @return [Integer] Hash code
|
|
289
338
|
def hash
|
|
290
|
-
[addressing_identifier, platform_type, siren, siret, addressing_suffix, routing_code, legal_unit, facility].hash
|
|
339
|
+
[addressing_identifier, platform_type, directory_line_status, siren, siret, routing_identifier, addressing_suffix, routing_code, legal_unit, facility].hash
|
|
291
340
|
end
|
|
292
341
|
|
|
293
342
|
# Builds the object from hash
|
data/lib/factpulse/models/afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -28,6 +28,9 @@ module FactPulse
|
|
|
28
28
|
# SIRET Number
|
|
29
29
|
attr_accessor :siret
|
|
30
30
|
|
|
31
|
+
# Routing identifier od a routing code.
|
|
32
|
+
attr_accessor :routing_identifier
|
|
33
|
+
|
|
31
34
|
# suffix of the directory line which defines an address mesh not attached to a facility
|
|
32
35
|
attr_accessor :addressing_suffix
|
|
33
36
|
|
|
@@ -67,6 +70,7 @@ module FactPulse
|
|
|
67
70
|
:'directory_line_status' => :'directoryLineStatus',
|
|
68
71
|
:'siren' => :'siren',
|
|
69
72
|
:'siret' => :'siret',
|
|
73
|
+
:'routing_identifier' => :'routingIdentifier',
|
|
70
74
|
:'addressing_suffix' => :'addressingSuffix',
|
|
71
75
|
:'routing_code' => :'routingCode',
|
|
72
76
|
:'legal_unit' => :'legalUnit',
|
|
@@ -92,6 +96,7 @@ module FactPulse
|
|
|
92
96
|
:'directory_line_status' => :'AFNORDirectoryLineStatus',
|
|
93
97
|
:'siren' => :'String',
|
|
94
98
|
:'siret' => :'String',
|
|
99
|
+
:'routing_identifier' => :'String',
|
|
95
100
|
:'addressing_suffix' => :'String',
|
|
96
101
|
:'routing_code' => :'AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodeRoutingCode',
|
|
97
102
|
:'legal_unit' => :'AFNORLegalUnitPayloadIncluded',
|
|
@@ -141,6 +146,10 @@ module FactPulse
|
|
|
141
146
|
self.siret = attributes[:'siret']
|
|
142
147
|
end
|
|
143
148
|
|
|
149
|
+
if attributes.key?(:'routing_identifier')
|
|
150
|
+
self.routing_identifier = attributes[:'routing_identifier']
|
|
151
|
+
end
|
|
152
|
+
|
|
144
153
|
if attributes.key?(:'addressing_suffix')
|
|
145
154
|
self.addressing_suffix = attributes[:'addressing_suffix']
|
|
146
155
|
end
|
|
@@ -185,6 +194,15 @@ module FactPulse
|
|
|
185
194
|
invalid_properties.push("invalid value for \"siret\", must conform to the pattern #{pattern}.")
|
|
186
195
|
end
|
|
187
196
|
|
|
197
|
+
if !@routing_identifier.nil? && @routing_identifier.to_s.length > 100
|
|
198
|
+
invalid_properties.push('invalid value for "routing_identifier", the character length must be smaller than or equal to 100.')
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
pattern = Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
202
|
+
if !@routing_identifier.nil? && @routing_identifier !~ pattern
|
|
203
|
+
invalid_properties.push("invalid value for \"routing_identifier\", must conform to the pattern #{pattern}.")
|
|
204
|
+
end
|
|
205
|
+
|
|
188
206
|
if !@addressing_suffix.nil? && @addressing_suffix.to_s.length > 100
|
|
189
207
|
invalid_properties.push('invalid value for "addressing_suffix", the character length must be smaller than or equal to 100.')
|
|
190
208
|
end
|
|
@@ -201,6 +219,8 @@ module FactPulse
|
|
|
201
219
|
return false if !@siren.nil? && @siren !~ Regexp.new(/^([0-9]{9})$/)
|
|
202
220
|
return false if !@siret.nil? && @siret.to_s.length > 14
|
|
203
221
|
return false if !@siret.nil? && @siret !~ Regexp.new(/^([0-9]{14})$/)
|
|
222
|
+
return false if !@routing_identifier.nil? && @routing_identifier.to_s.length > 100
|
|
223
|
+
return false if !@routing_identifier.nil? && @routing_identifier !~ Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
204
224
|
return false if !@addressing_suffix.nil? && @addressing_suffix.to_s.length > 100
|
|
205
225
|
true
|
|
206
226
|
end
|
|
@@ -257,6 +277,25 @@ module FactPulse
|
|
|
257
277
|
@siret = siret
|
|
258
278
|
end
|
|
259
279
|
|
|
280
|
+
# Custom attribute writer method with validation
|
|
281
|
+
# @param [Object] routing_identifier Value to be assigned
|
|
282
|
+
def routing_identifier=(routing_identifier)
|
|
283
|
+
if routing_identifier.nil?
|
|
284
|
+
fail ArgumentError, 'routing_identifier cannot be nil'
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
if routing_identifier.to_s.length > 100
|
|
288
|
+
fail ArgumentError, 'invalid value for "routing_identifier", the character length must be smaller than or equal to 100.'
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
pattern = Regexp.new(/^(?!\s+$)[\-_\/a-zA-Z0-9]{1,100}$/)
|
|
292
|
+
if routing_identifier !~ pattern
|
|
293
|
+
fail ArgumentError, "invalid value for \"routing_identifier\", must conform to the pattern #{pattern}."
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
@routing_identifier = routing_identifier
|
|
297
|
+
end
|
|
298
|
+
|
|
260
299
|
# Custom attribute writer method with validation
|
|
261
300
|
# @param [Object] addressing_suffix Value to be assigned
|
|
262
301
|
def addressing_suffix=(addressing_suffix)
|
|
@@ -281,6 +320,7 @@ module FactPulse
|
|
|
281
320
|
directory_line_status == o.directory_line_status &&
|
|
282
321
|
siren == o.siren &&
|
|
283
322
|
siret == o.siret &&
|
|
323
|
+
routing_identifier == o.routing_identifier &&
|
|
284
324
|
addressing_suffix == o.addressing_suffix &&
|
|
285
325
|
routing_code == o.routing_code &&
|
|
286
326
|
legal_unit == o.legal_unit &&
|
|
@@ -296,7 +336,7 @@ module FactPulse
|
|
|
296
336
|
# Calculates hash code according to all attributes.
|
|
297
337
|
# @return [Integer] Hash code
|
|
298
338
|
def hash
|
|
299
|
-
[addressing_identifier, platform_type, directory_line_status, siren, siret, addressing_suffix, routing_code, legal_unit, facility].hash
|
|
339
|
+
[addressing_identifier, platform_type, directory_line_status, siren, siret, routing_identifier, addressing_suffix, routing_code, legal_unit, facility].hash
|
|
300
340
|
end
|
|
301
341
|
|
|
302
342
|
# 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.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,7 +17,7 @@ module FactPulse
|
|
|
17
17
|
class AFNORDirectoryLineSearchPost200Response < ApiModelBase
|
|
18
18
|
attr_accessor :search
|
|
19
19
|
|
|
20
|
-
# The total number of results
|
|
20
|
+
# The total number of results, if -1 is returned then this value is not managed due to performance issue
|
|
21
21
|
attr_accessor :total_number_of_results
|
|
22
22
|
|
|
23
23
|
attr_accessor :results
|
|
@@ -78,6 +78,8 @@ module FactPulse
|
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'total_number_of_results')
|
|
80
80
|
self.total_number_of_results = attributes[:'total_number_of_results']
|
|
81
|
+
else
|
|
82
|
+
self.total_number_of_results = -1
|
|
81
83
|
end
|
|
82
84
|
|
|
83
85
|
if attributes.key?(:'results')
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -28,6 +28,8 @@ module FactPulse
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :administrative_status
|
|
30
30
|
|
|
31
|
+
attr_accessor :instructions
|
|
32
|
+
|
|
31
33
|
attr_accessor :address
|
|
32
34
|
|
|
33
35
|
attr_accessor :b2g_additional_data
|
|
@@ -62,6 +64,7 @@ module FactPulse
|
|
|
62
64
|
:'name' => :'name',
|
|
63
65
|
:'facility_type' => :'facilityType',
|
|
64
66
|
:'administrative_status' => :'administrativeStatus',
|
|
67
|
+
:'instructions' => :'instructions',
|
|
65
68
|
:'address' => :'address',
|
|
66
69
|
:'b2g_additional_data' => :'b2gAdditionalData'
|
|
67
70
|
}
|
|
@@ -85,6 +88,7 @@ module FactPulse
|
|
|
85
88
|
:'name' => :'String',
|
|
86
89
|
:'facility_type' => :'AFNORFacilityType',
|
|
87
90
|
:'administrative_status' => :'AFNORFacilityAdministrativeStatus',
|
|
91
|
+
:'instructions' => :'AFNORSiretInstructions',
|
|
88
92
|
:'address' => :'AFNORAddressRead',
|
|
89
93
|
:'b2g_additional_data' => :'AFNORFacilityPayloadHistoryUleB2gAdditionalData'
|
|
90
94
|
}
|
|
@@ -132,6 +136,10 @@ module FactPulse
|
|
|
132
136
|
self.administrative_status = attributes[:'administrative_status']
|
|
133
137
|
end
|
|
134
138
|
|
|
139
|
+
if attributes.key?(:'instructions')
|
|
140
|
+
self.instructions = attributes[:'instructions']
|
|
141
|
+
end
|
|
142
|
+
|
|
135
143
|
if attributes.key?(:'address')
|
|
136
144
|
self.address = attributes[:'address']
|
|
137
145
|
end
|
|
@@ -245,6 +253,7 @@ module FactPulse
|
|
|
245
253
|
name == o.name &&
|
|
246
254
|
facility_type == o.facility_type &&
|
|
247
255
|
administrative_status == o.administrative_status &&
|
|
256
|
+
instructions == o.instructions &&
|
|
248
257
|
address == o.address &&
|
|
249
258
|
b2g_additional_data == o.b2g_additional_data
|
|
250
259
|
end
|
|
@@ -258,7 +267,7 @@ module FactPulse
|
|
|
258
267
|
# Calculates hash code according to all attributes.
|
|
259
268
|
# @return [Integer] Hash code
|
|
260
269
|
def hash
|
|
261
|
-
[siret, siren, name, facility_type, administrative_status, address, b2g_additional_data].hash
|
|
270
|
+
[siret, siren, name, facility_type, administrative_status, instructions, address, b2g_additional_data].hash
|
|
262
271
|
end
|
|
263
272
|
|
|
264
273
|
# 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.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -157,6 +157,8 @@ module FactPulse
|
|
|
157
157
|
|
|
158
158
|
if attributes.key?(:'processing_rule')
|
|
159
159
|
self.processing_rule = attributes[:'processing_rule']
|
|
160
|
+
else
|
|
161
|
+
self.processing_rule = nil
|
|
160
162
|
end
|
|
161
163
|
|
|
162
164
|
if attributes.key?(:'flow_syntax')
|
|
@@ -167,6 +169,8 @@ module FactPulse
|
|
|
167
169
|
|
|
168
170
|
if attributes.key?(:'flow_profile')
|
|
169
171
|
self.flow_profile = attributes[:'flow_profile']
|
|
172
|
+
else
|
|
173
|
+
self.flow_profile = nil
|
|
170
174
|
end
|
|
171
175
|
|
|
172
176
|
if attributes.key?(:'flow_id')
|
|
@@ -217,8 +221,8 @@ module FactPulse
|
|
|
217
221
|
def list_invalid_properties
|
|
218
222
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
219
223
|
invalid_properties = Array.new
|
|
220
|
-
if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
221
|
-
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
224
|
+
if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
225
|
+
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 64.')
|
|
222
226
|
end
|
|
223
227
|
|
|
224
228
|
if @name.nil?
|
|
@@ -229,16 +233,24 @@ module FactPulse
|
|
|
229
233
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
|
|
230
234
|
end
|
|
231
235
|
|
|
236
|
+
if @processing_rule.nil?
|
|
237
|
+
invalid_properties.push('invalid value for "processing_rule", processing_rule cannot be nil.')
|
|
238
|
+
end
|
|
239
|
+
|
|
232
240
|
if @flow_syntax.nil?
|
|
233
241
|
invalid_properties.push('invalid value for "flow_syntax", flow_syntax cannot be nil.')
|
|
234
242
|
end
|
|
235
243
|
|
|
244
|
+
if @flow_profile.nil?
|
|
245
|
+
invalid_properties.push('invalid value for "flow_profile", flow_profile cannot be nil.')
|
|
246
|
+
end
|
|
247
|
+
|
|
236
248
|
if @flow_id.nil?
|
|
237
249
|
invalid_properties.push('invalid value for "flow_id", flow_id cannot be nil.')
|
|
238
250
|
end
|
|
239
251
|
|
|
240
|
-
if @flow_id.to_s.length >
|
|
241
|
-
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to
|
|
252
|
+
if @flow_id.to_s.length > 64
|
|
253
|
+
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to 64.')
|
|
242
254
|
end
|
|
243
255
|
|
|
244
256
|
if @submitted_at.nil?
|
|
@@ -272,12 +284,14 @@ module FactPulse
|
|
|
272
284
|
# @return true if the model is valid
|
|
273
285
|
def valid?
|
|
274
286
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
275
|
-
return false if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
287
|
+
return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
276
288
|
return false if @name.nil?
|
|
277
289
|
return false if @name.to_s.length > 255
|
|
290
|
+
return false if @processing_rule.nil?
|
|
278
291
|
return false if @flow_syntax.nil?
|
|
292
|
+
return false if @flow_profile.nil?
|
|
279
293
|
return false if @flow_id.nil?
|
|
280
|
-
return false if @flow_id.to_s.length >
|
|
294
|
+
return false if @flow_id.to_s.length > 64
|
|
281
295
|
return false if @submitted_at.nil?
|
|
282
296
|
return false if @updated_at.nil?
|
|
283
297
|
return false if @flow_type.nil?
|
|
@@ -296,8 +310,8 @@ module FactPulse
|
|
|
296
310
|
fail ArgumentError, 'tracking_id cannot be nil'
|
|
297
311
|
end
|
|
298
312
|
|
|
299
|
-
if tracking_id.to_s.length >
|
|
300
|
-
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
313
|
+
if tracking_id.to_s.length > 64
|
|
314
|
+
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 64.'
|
|
301
315
|
end
|
|
302
316
|
|
|
303
317
|
@tracking_id = tracking_id
|
|
@@ -317,6 +331,16 @@ module FactPulse
|
|
|
317
331
|
@name = name
|
|
318
332
|
end
|
|
319
333
|
|
|
334
|
+
# Custom attribute writer method with validation
|
|
335
|
+
# @param [Object] processing_rule Value to be assigned
|
|
336
|
+
def processing_rule=(processing_rule)
|
|
337
|
+
if processing_rule.nil?
|
|
338
|
+
fail ArgumentError, 'processing_rule cannot be nil'
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
@processing_rule = processing_rule
|
|
342
|
+
end
|
|
343
|
+
|
|
320
344
|
# Custom attribute writer method with validation
|
|
321
345
|
# @param [Object] flow_syntax Value to be assigned
|
|
322
346
|
def flow_syntax=(flow_syntax)
|
|
@@ -327,6 +351,16 @@ module FactPulse
|
|
|
327
351
|
@flow_syntax = flow_syntax
|
|
328
352
|
end
|
|
329
353
|
|
|
354
|
+
# Custom attribute writer method with validation
|
|
355
|
+
# @param [Object] flow_profile Value to be assigned
|
|
356
|
+
def flow_profile=(flow_profile)
|
|
357
|
+
if flow_profile.nil?
|
|
358
|
+
fail ArgumentError, 'flow_profile cannot be nil'
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
@flow_profile = flow_profile
|
|
362
|
+
end
|
|
363
|
+
|
|
330
364
|
# Custom attribute writer method with validation
|
|
331
365
|
# @param [Object] flow_id Value to be assigned
|
|
332
366
|
def flow_id=(flow_id)
|
|
@@ -334,8 +368,8 @@ module FactPulse
|
|
|
334
368
|
fail ArgumentError, 'flow_id cannot be nil'
|
|
335
369
|
end
|
|
336
370
|
|
|
337
|
-
if flow_id.to_s.length >
|
|
338
|
-
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to
|
|
371
|
+
if flow_id.to_s.length > 64
|
|
372
|
+
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to 64.'
|
|
339
373
|
end
|
|
340
374
|
|
|
341
375
|
@flow_id = flow_id
|