factpulse 4.1.2 → 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 +9 -4
- data/Gemfile.lock +12 -10
- data/README.md +7 -1
- data/docs/AFNORContainsOrStartWithOperator.md +15 -0
- data/docs/{AFNORFacilityNature.md → AFNORContainsOrStrictOperator.md} +2 -2
- data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
- data/docs/AFNORCoreFlowInfo.md +26 -0
- data/docs/{AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md → AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md} +9 -5
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +36 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +2 -2
- data/docs/{AFNORContainsOperator.md → AFNORDirectoryLineStatus.md} +2 -2
- data/docs/AFNORError.md +4 -4
- data/docs/AFNORFacilityPayloadHistory.md +3 -3
- data/docs/AFNORFacilityPayloadIncluded.md +2 -2
- data/docs/AFNORFlow.md +18 -16
- data/docs/AFNORFlowExtension.md +26 -0
- data/docs/AFNORFlowInfo.md +3 -3
- data/docs/AFNORFlowInfoExtension.md +18 -0
- data/docs/AFNORFullFlowInfo.md +8 -8
- data/docs/AFNORFullFlowInfoExtension.md +20 -0
- data/docs/AFNORLegalUnitPayloadHistory.md +3 -1
- data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
- data/docs/AFNORPDPPADirectoryServiceApi.md +4 -648
- data/docs/AFNORPDPPAFlowServiceApi.md +190 -1
- data/docs/AFNORRoutingCodeSearch.md +3 -3
- data/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +1 -1
- data/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +1 -1
- data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +5 -3
- data/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +1 -1
- data/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +1 -1
- data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
- data/docs/AFNORSearchFlowContent.md +3 -1
- data/docs/AFNORSearchFlowFilters.md +1 -1
- data/docs/AFNORSearchFlowParams.md +3 -1
- data/docs/AFNORSearchSiren.md +2 -2
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenFiltersSiren.md +1 -1
- data/docs/AFNORSearchSirenSortingInner.md +2 -2
- data/docs/AFNORSearchSiret.md +3 -3
- data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
- data/docs/AFNORSearchSiretFiltersCountrySubdivision.md +1 -1
- data/docs/AFNORSearchSiretFiltersFacilityType.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretFiltersPostalCode.md +1 -1
- data/docs/AFNORSearchSiretFiltersSiret.md +1 -1
- data/docs/AFNORSearchSiretSortingInner.md +2 -2
- data/docs/AFNORSirenInstructions.md +18 -0
- data/docs/AFNORSirenSearchPost200Response.md +1 -1
- data/docs/AFNORSiretInstructions.md +18 -0
- data/docs/AFNORSiretSearchPost200Response.md +1 -1
- data/docs/{AFNORDiffusionStatus.md → AFNORStrictOrStartWithOperator.md} +2 -2
- data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
- data/docs/AFNORWebhook.md +30 -0
- data/docs/AFNORWebhookIdParam.md +22 -0
- data/docs/AFNORWebhookParams.md +24 -0
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{AFNORAlgorithm.md → Amounteur.md} +2 -2
- 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/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
- data/docs/Flux10EReportingApi.md +18 -8
- data/docs/Flux6InvoiceLifecycleCDARApi.md +39 -19
- data/docs/IncomingSupplier.md +4 -2
- data/docs/InvoiceGenerationApi.md +14 -8
- data/docs/InvoiceInput.md +4 -0
- data/docs/Invoicedata.md +49 -0
- 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/SimplifiedInvoiceData.md +2 -2
- data/docs/SubmitCDARRequest.md +2 -0
- data/docs/SubmitCompleteInvoiceRequest.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/{AFNORPlatformStatus.md → Taxamounteur.md} +2 -2
- 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 +4 -622
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +178 -1
- 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_diffusion_status.rb → afnor_contains_or_start_with_operator.rb} +7 -7
- data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_strict_operator.rb} +6 -5
- data/lib/factpulse/models/afnor_contains_or_strict_or_start_with_operator.rb +41 -0
- data/lib/factpulse/models/{afnor_routing_code_post201_response.rb → afnor_core_flow_info.rb} +104 -62
- 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 +2 -3
- 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_history_legal_unit_facility_routing_code.rb → afnor_directory_line_payload_legal_unit_facility_routing_code.rb} +86 -15
- data/lib/factpulse/models/{afnor_create_directory_line_body_addressing_information.rb → afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb} +106 -17
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +5 -3
- data/lib/factpulse/models/afnor_directory_line_status.rb +41 -0
- data/lib/factpulse/models/afnor_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_error.rb +31 -40
- 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 +12 -12
- 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 -11
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +257 -62
- 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_update_patch_routing_code_body.rb → afnor_flow_extension.rb} +104 -67
- data/lib/factpulse/models/afnor_flow_info.rb +26 -10
- data/lib/factpulse/models/{afnor_create_directory_line_body_period.rb → afnor_flow_info_extension.rb} +27 -32
- 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 +85 -52
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +202 -0
- 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 +14 -5
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +14 -5
- data/lib/factpulse/models/afnor_processing_rule.rb +6 -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 +2 -3
- 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 +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +2 -2
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +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 +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +2 -2
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +7 -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 +2 -2
- 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 +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_siren_field.rb +3 -3
- data/lib/factpulse/models/{afnor_update_patch_directory_line_body.rb → afnor_siren_instructions.rb} +13 -12
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_siret_field.rb +4 -5
- data/lib/factpulse/models/{afnor_webhook_callback_content.rb → afnor_siret_instructions.rb} +13 -12
- 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_facility_nature.rb → afnor_strict_or_start_with_operator.rb} +7 -7
- data/lib/factpulse/models/{afnor_platform_status.rb → afnor_unique_directory_line_status.rb} +4 -4
- data/lib/factpulse/models/afnor_webhook.rb +250 -0
- data/lib/factpulse/models/{afnor_create_directory_line_body.rb → afnor_webhook_id_param.rb} +26 -17
- data/lib/factpulse/models/{afnor_legal_unit_payload_included_no_siren.rb → afnor_webhook_params.rb} +44 -36
- 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 +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/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_directory_line_payload_history_legal_unit_facility_routing_code_platform.rb → electronic_address_input.rb} +37 -17
- data/lib/factpulse/models/electronic_address_output.rb +198 -0
- 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 +1 -1
- data/lib/factpulse/models/{afnor_directory_line_post201_response.rb → facture_electronique_rest_api_schemas_cdar_validation_error_response.rb} +64 -36
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_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 +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 +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 +14 -4
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +22 -2
- 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 +1 -1
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/invoicedata.rb +105 -0
- 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/postal_address_output.rb +209 -0
- 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 +6 -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 +1 -1
- 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 +4 -4
- 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 +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/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → super_pdp_connect_url_response.rb} +22 -24
- data/lib/factpulse/models/super_pdp_disconnect_response.rb +193 -0
- 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/{afnor_algorithm.rb → taxamounteur.rb} +84 -23
- 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/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 +29 -23
- metadata +58 -46
- data/docs/AFNORAddressEdit.md +0 -30
- data/docs/AFNORAddressPatch.md +0 -30
- data/docs/AFNORAddressPut.md +0 -30
- data/docs/AFNORCreateDirectoryLineBody.md +0 -20
- data/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +0 -24
- data/docs/AFNORCreateDirectoryLineBodyPeriod.md +0 -20
- data/docs/AFNORCreateRoutingCodeBody.md +0 -32
- data/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +0 -20
- data/docs/AFNORDirectoryLinePost201Response.md +0 -22
- data/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +0 -22
- data/docs/AFNORRoutingCodePost201Response.md +0 -22
- data/docs/AFNORUpdatePatchDirectoryLineBody.md +0 -18
- data/docs/AFNORUpdatePatchRoutingCodeBody.md +0 -24
- data/docs/AFNORUpdatePutRoutingCodeBody.md +0 -24
- data/docs/AFNORWebhookCallbackContent.md +0 -18
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
- data/lib/factpulse/models/afnor_address_edit.rb +0 -353
- data/lib/factpulse/models/afnor_address_patch.rb +0 -386
- data/lib/factpulse/models/afnor_address_put.rb +0 -435
- data/lib/factpulse/models/afnor_create_routing_code_body.rb +0 -412
- data/lib/factpulse/models/afnor_update_put_routing_code_body.rb +0 -289
data/lib/factpulse/models/{afnor_update_patch_routing_code_body.rb → afnor_flow_extension.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,19 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
# Extension schema to build Flow schema
|
|
18
|
+
class AFNORFlowExtension < ApiModelBase
|
|
19
|
+
# The last update date and time of the flow. When the flow is submitted updatedAt is equal to submittedAt. When the flow acknowledgment status is changed updatedAt date and time is updated.
|
|
20
|
+
attr_accessor :updated_at
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :routing_code_name
|
|
22
|
+
attr_accessor :flow_type
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Says whether the processing rule has been computed or the processing rule was an input parameter
|
|
25
|
+
attr_accessor :processing_rule_source
|
|
25
26
|
|
|
26
|
-
attr_accessor :
|
|
27
|
+
attr_accessor :flow_direction
|
|
28
|
+
|
|
29
|
+
attr_accessor :acknowledgement
|
|
27
30
|
|
|
28
31
|
class EnumAttributeValidator
|
|
29
32
|
attr_reader :datatype
|
|
@@ -50,10 +53,11 @@ module FactPulse
|
|
|
50
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
54
|
def self.attribute_map
|
|
52
55
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
56
|
-
:'
|
|
56
|
+
:'updated_at' => :'updatedAt',
|
|
57
|
+
:'flow_type' => :'flowType',
|
|
58
|
+
:'processing_rule_source' => :'processingRuleSource',
|
|
59
|
+
:'flow_direction' => :'flowDirection',
|
|
60
|
+
:'acknowledgement' => :'acknowledgement'
|
|
57
61
|
}
|
|
58
62
|
end
|
|
59
63
|
|
|
@@ -70,10 +74,11 @@ module FactPulse
|
|
|
70
74
|
# Attribute type mapping.
|
|
71
75
|
def self.openapi_types
|
|
72
76
|
{
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
77
|
+
:'updated_at' => :'Time',
|
|
78
|
+
:'flow_type' => :'AFNORFlowType',
|
|
79
|
+
:'processing_rule_source' => :'String',
|
|
80
|
+
:'flow_direction' => :'AFNORFlowDirection',
|
|
81
|
+
:'acknowledgement' => :'AFNORAcknowledgement'
|
|
77
82
|
}
|
|
78
83
|
end
|
|
79
84
|
|
|
@@ -87,32 +92,46 @@ module FactPulse
|
|
|
87
92
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
88
93
|
def initialize(attributes = {})
|
|
89
94
|
if (!attributes.is_a?(Hash))
|
|
90
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::
|
|
95
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::AFNORFlowExtension` initialize method"
|
|
91
96
|
end
|
|
92
97
|
|
|
93
98
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
94
99
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
95
100
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
96
101
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
97
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::
|
|
102
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::AFNORFlowExtension`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
98
103
|
end
|
|
99
104
|
h[k.to_sym] = v
|
|
100
105
|
}
|
|
101
106
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
107
|
+
if attributes.key?(:'updated_at')
|
|
108
|
+
self.updated_at = attributes[:'updated_at']
|
|
109
|
+
else
|
|
110
|
+
self.updated_at = nil
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'flow_type')
|
|
114
|
+
self.flow_type = attributes[:'flow_type']
|
|
115
|
+
else
|
|
116
|
+
self.flow_type = nil
|
|
104
117
|
end
|
|
105
118
|
|
|
106
|
-
if attributes.key?(:'
|
|
107
|
-
self.
|
|
119
|
+
if attributes.key?(:'processing_rule_source')
|
|
120
|
+
self.processing_rule_source = attributes[:'processing_rule_source']
|
|
121
|
+
else
|
|
122
|
+
self.processing_rule_source = nil
|
|
108
123
|
end
|
|
109
124
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
125
|
+
if attributes.key?(:'flow_direction')
|
|
126
|
+
self.flow_direction = attributes[:'flow_direction']
|
|
127
|
+
else
|
|
128
|
+
self.flow_direction = nil
|
|
112
129
|
end
|
|
113
130
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
131
|
+
if attributes.key?(:'acknowledgement')
|
|
132
|
+
self.acknowledgement = attributes[:'acknowledgement']
|
|
133
|
+
else
|
|
134
|
+
self.acknowledgement = nil
|
|
116
135
|
end
|
|
117
136
|
end
|
|
118
137
|
|
|
@@ -121,22 +140,24 @@ module FactPulse
|
|
|
121
140
|
def list_invalid_properties
|
|
122
141
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
123
142
|
invalid_properties = Array.new
|
|
124
|
-
if
|
|
125
|
-
invalid_properties.push('invalid value for "
|
|
143
|
+
if @updated_at.nil?
|
|
144
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
|
126
145
|
end
|
|
127
146
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
invalid_properties.push("invalid value for \"routing_identifier_type\", must conform to the pattern #{pattern}.")
|
|
147
|
+
if @flow_type.nil?
|
|
148
|
+
invalid_properties.push('invalid value for "flow_type", flow_type cannot be nil.')
|
|
131
149
|
end
|
|
132
150
|
|
|
133
|
-
if
|
|
134
|
-
invalid_properties.push('invalid value for "
|
|
151
|
+
if @processing_rule_source.nil?
|
|
152
|
+
invalid_properties.push('invalid value for "processing_rule_source", processing_rule_source cannot be nil.')
|
|
135
153
|
end
|
|
136
154
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
155
|
+
if @flow_direction.nil?
|
|
156
|
+
invalid_properties.push('invalid value for "flow_direction", flow_direction cannot be nil.')
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if @acknowledgement.nil?
|
|
160
|
+
invalid_properties.push('invalid value for "acknowledgement", acknowledgement cannot be nil.')
|
|
140
161
|
end
|
|
141
162
|
|
|
142
163
|
invalid_properties
|
|
@@ -146,49 +167,64 @@ module FactPulse
|
|
|
146
167
|
# @return true if the model is valid
|
|
147
168
|
def valid?
|
|
148
169
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
149
|
-
return false if
|
|
150
|
-
return false if
|
|
151
|
-
return false if
|
|
152
|
-
|
|
170
|
+
return false if @updated_at.nil?
|
|
171
|
+
return false if @flow_type.nil?
|
|
172
|
+
return false if @processing_rule_source.nil?
|
|
173
|
+
processing_rule_source_validator = EnumAttributeValidator.new('String', ["Input", "Computed"])
|
|
174
|
+
return false unless processing_rule_source_validator.valid?(@processing_rule_source)
|
|
175
|
+
return false if @flow_direction.nil?
|
|
176
|
+
return false if @acknowledgement.nil?
|
|
153
177
|
true
|
|
154
178
|
end
|
|
155
179
|
|
|
156
180
|
# Custom attribute writer method with validation
|
|
157
|
-
# @param [Object]
|
|
158
|
-
def
|
|
159
|
-
if
|
|
160
|
-
fail ArgumentError, '
|
|
181
|
+
# @param [Object] updated_at Value to be assigned
|
|
182
|
+
def updated_at=(updated_at)
|
|
183
|
+
if updated_at.nil?
|
|
184
|
+
fail ArgumentError, 'updated_at cannot be nil'
|
|
161
185
|
end
|
|
162
186
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
end
|
|
187
|
+
@updated_at = updated_at
|
|
188
|
+
end
|
|
166
189
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
190
|
+
# Custom attribute writer method with validation
|
|
191
|
+
# @param [Object] flow_type Value to be assigned
|
|
192
|
+
def flow_type=(flow_type)
|
|
193
|
+
if flow_type.nil?
|
|
194
|
+
fail ArgumentError, 'flow_type cannot be nil'
|
|
170
195
|
end
|
|
171
196
|
|
|
172
|
-
@
|
|
197
|
+
@flow_type = flow_type
|
|
173
198
|
end
|
|
174
199
|
|
|
175
|
-
# Custom attribute writer method
|
|
176
|
-
# @param [Object]
|
|
177
|
-
def
|
|
178
|
-
|
|
179
|
-
|
|
200
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
201
|
+
# @param [Object] processing_rule_source Object to be assigned
|
|
202
|
+
def processing_rule_source=(processing_rule_source)
|
|
203
|
+
validator = EnumAttributeValidator.new('String', ["Input", "Computed"])
|
|
204
|
+
unless validator.valid?(processing_rule_source)
|
|
205
|
+
fail ArgumentError, "invalid value for \"processing_rule_source\", must be one of #{validator.allowable_values}."
|
|
180
206
|
end
|
|
207
|
+
@processing_rule_source = processing_rule_source
|
|
208
|
+
end
|
|
181
209
|
|
|
182
|
-
|
|
183
|
-
|
|
210
|
+
# Custom attribute writer method with validation
|
|
211
|
+
# @param [Object] flow_direction Value to be assigned
|
|
212
|
+
def flow_direction=(flow_direction)
|
|
213
|
+
if flow_direction.nil?
|
|
214
|
+
fail ArgumentError, 'flow_direction cannot be nil'
|
|
184
215
|
end
|
|
185
216
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
217
|
+
@flow_direction = flow_direction
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Custom attribute writer method with validation
|
|
221
|
+
# @param [Object] acknowledgement Value to be assigned
|
|
222
|
+
def acknowledgement=(acknowledgement)
|
|
223
|
+
if acknowledgement.nil?
|
|
224
|
+
fail ArgumentError, 'acknowledgement cannot be nil'
|
|
189
225
|
end
|
|
190
226
|
|
|
191
|
-
@
|
|
227
|
+
@acknowledgement = acknowledgement
|
|
192
228
|
end
|
|
193
229
|
|
|
194
230
|
# Checks equality by comparing each attribute.
|
|
@@ -196,10 +232,11 @@ module FactPulse
|
|
|
196
232
|
def ==(o)
|
|
197
233
|
return true if self.equal?(o)
|
|
198
234
|
self.class == o.class &&
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
235
|
+
updated_at == o.updated_at &&
|
|
236
|
+
flow_type == o.flow_type &&
|
|
237
|
+
processing_rule_source == o.processing_rule_source &&
|
|
238
|
+
flow_direction == o.flow_direction &&
|
|
239
|
+
acknowledgement == o.acknowledgement
|
|
203
240
|
end
|
|
204
241
|
|
|
205
242
|
# @see the `==` method
|
|
@@ -211,7 +248,7 @@ module FactPulse
|
|
|
211
248
|
# Calculates hash code according to all attributes.
|
|
212
249
|
# @return [Integer] Hash code
|
|
213
250
|
def hash
|
|
214
|
-
[
|
|
251
|
+
[updated_at, flow_type, processing_rule_source, flow_direction, acknowledgement].hash
|
|
215
252
|
end
|
|
216
253
|
|
|
217
254
|
# 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
|
|
|
@@ -14,9 +14,9 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
# Signaling of the flow
|
|
17
|
+
# Signaling of the flow
|
|
18
18
|
class AFNORFlowInfo < ApiModelBase
|
|
19
|
-
#
|
|
19
|
+
# The tracking id is an external identifier and is used to track the flow by the sender
|
|
20
20
|
attr_accessor :tracking_id
|
|
21
21
|
|
|
22
22
|
# Name of the file
|
|
@@ -28,6 +28,7 @@ module FactPulse
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :flow_profile
|
|
30
30
|
|
|
31
|
+
# The sha256 is the fingerprint of the attached file: - if provided in the request: it should be checked once received - if not provided in the request: it may be computed and returned in the response
|
|
31
32
|
attr_accessor :sha256
|
|
32
33
|
|
|
33
34
|
class EnumAttributeValidator
|
|
@@ -92,6 +93,14 @@ module FactPulse
|
|
|
92
93
|
])
|
|
93
94
|
end
|
|
94
95
|
|
|
96
|
+
# List of class defined in allOf (OpenAPI v3)
|
|
97
|
+
def self.openapi_all_of
|
|
98
|
+
[
|
|
99
|
+
:'AFNORCoreFlowInfo',
|
|
100
|
+
:'AFNORFlowInfoExtension'
|
|
101
|
+
]
|
|
102
|
+
end
|
|
103
|
+
|
|
95
104
|
# Initializes the object
|
|
96
105
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
97
106
|
def initialize(attributes = {})
|
|
@@ -114,6 +123,8 @@ module FactPulse
|
|
|
114
123
|
|
|
115
124
|
if attributes.key?(:'name')
|
|
116
125
|
self.name = attributes[:'name']
|
|
126
|
+
else
|
|
127
|
+
self.name = nil
|
|
117
128
|
end
|
|
118
129
|
|
|
119
130
|
if attributes.key?(:'processing_rule')
|
|
@@ -140,11 +151,15 @@ module FactPulse
|
|
|
140
151
|
def list_invalid_properties
|
|
141
152
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
142
153
|
invalid_properties = Array.new
|
|
143
|
-
if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
144
|
-
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
154
|
+
if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
155
|
+
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 64.')
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
if @name.nil?
|
|
159
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
145
160
|
end
|
|
146
161
|
|
|
147
|
-
if
|
|
162
|
+
if @name.to_s.length > 255
|
|
148
163
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 255.')
|
|
149
164
|
end
|
|
150
165
|
|
|
@@ -164,8 +179,9 @@ module FactPulse
|
|
|
164
179
|
# @return true if the model is valid
|
|
165
180
|
def valid?
|
|
166
181
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
167
|
-
return false if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
168
|
-
return false if
|
|
182
|
+
return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
183
|
+
return false if @name.nil?
|
|
184
|
+
return false if @name.to_s.length > 255
|
|
169
185
|
return false if @flow_syntax.nil?
|
|
170
186
|
return false if !@sha256.nil? && @sha256 !~ Regexp.new(/^[a-f0-9]{64}$/)
|
|
171
187
|
true
|
|
@@ -178,8 +194,8 @@ module FactPulse
|
|
|
178
194
|
fail ArgumentError, 'tracking_id cannot be nil'
|
|
179
195
|
end
|
|
180
196
|
|
|
181
|
-
if tracking_id.to_s.length >
|
|
182
|
-
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
197
|
+
if tracking_id.to_s.length > 64
|
|
198
|
+
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 64.'
|
|
183
199
|
end
|
|
184
200
|
|
|
185
201
|
@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
|
|
|
@@ -14,18 +14,15 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# Effective end date of the directory line.
|
|
22
|
-
attr_accessor :date_to
|
|
17
|
+
# Extension to build the FlowInfo
|
|
18
|
+
class AFNORFlowInfoExtension < ApiModelBase
|
|
19
|
+
# The sha256 is the fingerprint of the attached file: - if provided in the request: it should be checked once received - if not provided in the request: it may be computed and returned in the response
|
|
20
|
+
attr_accessor :sha256
|
|
23
21
|
|
|
24
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
23
|
def self.attribute_map
|
|
26
24
|
{
|
|
27
|
-
:'
|
|
28
|
-
:'date_to' => :'dateTo'
|
|
25
|
+
:'sha256' => :'sha256'
|
|
29
26
|
}
|
|
30
27
|
end
|
|
31
28
|
|
|
@@ -42,8 +39,7 @@ module FactPulse
|
|
|
42
39
|
# Attribute type mapping.
|
|
43
40
|
def self.openapi_types
|
|
44
41
|
{
|
|
45
|
-
:'
|
|
46
|
-
:'date_to' => :'Date'
|
|
42
|
+
:'sha256' => :'String'
|
|
47
43
|
}
|
|
48
44
|
end
|
|
49
45
|
|
|
@@ -57,26 +53,20 @@ module FactPulse
|
|
|
57
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
54
|
def initialize(attributes = {})
|
|
59
55
|
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::
|
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::AFNORFlowInfoExtension` initialize method"
|
|
61
57
|
end
|
|
62
58
|
|
|
63
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
60
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
62
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::
|
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::AFNORFlowInfoExtension`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
64
|
end
|
|
69
65
|
h[k.to_sym] = v
|
|
70
66
|
}
|
|
71
67
|
|
|
72
|
-
if attributes.key?(:'
|
|
73
|
-
self.
|
|
74
|
-
else
|
|
75
|
-
self.date_from = nil
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
if attributes.key?(:'date_to')
|
|
79
|
-
self.date_to = attributes[:'date_to']
|
|
68
|
+
if attributes.key?(:'sha256')
|
|
69
|
+
self.sha256 = attributes[:'sha256']
|
|
80
70
|
end
|
|
81
71
|
end
|
|
82
72
|
|
|
@@ -85,8 +75,9 @@ module FactPulse
|
|
|
85
75
|
def list_invalid_properties
|
|
86
76
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
77
|
invalid_properties = Array.new
|
|
88
|
-
|
|
89
|
-
|
|
78
|
+
pattern = Regexp.new(/^[a-f0-9]{64}$/)
|
|
79
|
+
if !@sha256.nil? && @sha256 !~ pattern
|
|
80
|
+
invalid_properties.push("invalid value for \"sha256\", must conform to the pattern #{pattern}.")
|
|
90
81
|
end
|
|
91
82
|
|
|
92
83
|
invalid_properties
|
|
@@ -96,18 +87,23 @@ module FactPulse
|
|
|
96
87
|
# @return true if the model is valid
|
|
97
88
|
def valid?
|
|
98
89
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
99
|
-
return false if
|
|
90
|
+
return false if !@sha256.nil? && @sha256 !~ Regexp.new(/^[a-f0-9]{64}$/)
|
|
100
91
|
true
|
|
101
92
|
end
|
|
102
93
|
|
|
103
94
|
# Custom attribute writer method with validation
|
|
104
|
-
# @param [Object]
|
|
105
|
-
def
|
|
106
|
-
if
|
|
107
|
-
fail ArgumentError, '
|
|
95
|
+
# @param [Object] sha256 Value to be assigned
|
|
96
|
+
def sha256=(sha256)
|
|
97
|
+
if sha256.nil?
|
|
98
|
+
fail ArgumentError, 'sha256 cannot be nil'
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
pattern = Regexp.new(/^[a-f0-9]{64}$/)
|
|
102
|
+
if sha256 !~ pattern
|
|
103
|
+
fail ArgumentError, "invalid value for \"sha256\", must conform to the pattern #{pattern}."
|
|
108
104
|
end
|
|
109
105
|
|
|
110
|
-
@
|
|
106
|
+
@sha256 = sha256
|
|
111
107
|
end
|
|
112
108
|
|
|
113
109
|
# Checks equality by comparing each attribute.
|
|
@@ -115,8 +111,7 @@ module FactPulse
|
|
|
115
111
|
def ==(o)
|
|
116
112
|
return true if self.equal?(o)
|
|
117
113
|
self.class == o.class &&
|
|
118
|
-
|
|
119
|
-
date_to == o.date_to
|
|
114
|
+
sha256 == o.sha256
|
|
120
115
|
end
|
|
121
116
|
|
|
122
117
|
# @see the `==` method
|
|
@@ -128,7 +123,7 @@ module FactPulse
|
|
|
128
123
|
# Calculates hash code according to all attributes.
|
|
129
124
|
# @return [Integer] Hash code
|
|
130
125
|
def hash
|
|
131
|
-
[
|
|
126
|
+
[sha256].hash
|
|
132
127
|
end
|
|
133
128
|
|
|
134
129
|
# 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
|
|
|
@@ -18,9 +18,10 @@ module FactPulse
|
|
|
18
18
|
BASIC = "Basic".freeze
|
|
19
19
|
CIUS = "CIUS".freeze
|
|
20
20
|
EXTENDED_CTC_FR = "Extended-CTC-FR".freeze
|
|
21
|
+
UNDEFINED = "Undefined".freeze
|
|
21
22
|
|
|
22
23
|
def self.all_vars
|
|
23
|
-
@all_vars ||= [BASIC, CIUS, EXTENDED_CTC_FR].freeze
|
|
24
|
+
@all_vars ||= [BASIC, CIUS, EXTENDED_CTC_FR, UNDEFINED].freeze
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
# Builds the enum from 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.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,7 +17,6 @@ module FactPulse
|
|
|
17
17
|
class AFNORFlowType
|
|
18
18
|
CUSTOMER_INVOICE = "CustomerInvoice".freeze
|
|
19
19
|
SUPPLIER_INVOICE = "SupplierInvoice".freeze
|
|
20
|
-
STATE_INVOICE = "StateInvoice".freeze
|
|
21
20
|
CUSTOMER_INVOICE_LC = "CustomerInvoiceLC".freeze
|
|
22
21
|
SUPPLIER_INVOICE_LC = "SupplierInvoiceLC".freeze
|
|
23
22
|
STATE_CUSTOMER_INVOICE_LC = "StateCustomerInvoiceLC".freeze
|
|
@@ -28,9 +27,16 @@ module FactPulse
|
|
|
28
27
|
UNITARY_CUSTOMER_PAYMENT_REPORT = "UnitaryCustomerPaymentReport".freeze
|
|
29
28
|
UNITARY_SUPPLIER_TRANSACTION_REPORT = "UnitarySupplierTransactionReport".freeze
|
|
30
29
|
MULTI_FLOW_REPORT = "MultiFlowReport".freeze
|
|
30
|
+
STATE_CUSTOMER_INVOICE = "StateCustomerInvoice".freeze
|
|
31
|
+
STATE_SUPPLIER_INVOICE = "StateSupplierInvoice".freeze
|
|
32
|
+
STATE_TRANSACTION_REPORT = "StateTransactionReport".freeze
|
|
33
|
+
STATE_TRANSACTION_REPORT_LC = "StateTransactionReportLC".freeze
|
|
34
|
+
STATE_PAYMENT_REPORT = "StatePaymentReport".freeze
|
|
35
|
+
STATE_PAYMENT_REPORT_LC = "StatePaymentReportLC".freeze
|
|
36
|
+
UNDEFINED = "Undefined".freeze
|
|
31
37
|
|
|
32
38
|
def self.all_vars
|
|
33
|
-
@all_vars ||= [CUSTOMER_INVOICE, SUPPLIER_INVOICE,
|
|
39
|
+
@all_vars ||= [CUSTOMER_INVOICE, SUPPLIER_INVOICE, CUSTOMER_INVOICE_LC, SUPPLIER_INVOICE_LC, STATE_CUSTOMER_INVOICE_LC, STATE_SUPPLIER_INVOICE_LC, AGGREGATED_CUSTOMER_TRANSACTION_REPORT, UNITARY_CUSTOMER_TRANSACTION_REPORT, AGGREGATED_CUSTOMER_PAYMENT_REPORT, UNITARY_CUSTOMER_PAYMENT_REPORT, UNITARY_SUPPLIER_TRANSACTION_REPORT, MULTI_FLOW_REPORT, STATE_CUSTOMER_INVOICE, STATE_SUPPLIER_INVOICE, STATE_TRANSACTION_REPORT, STATE_TRANSACTION_REPORT_LC, STATE_PAYMENT_REPORT, STATE_PAYMENT_REPORT_LC, UNDEFINED].freeze
|
|
34
40
|
end
|
|
35
41
|
|
|
36
42
|
# Builds the enum from string
|