factpulse 4.3.0 → 4.5.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 +11 -5
- data/Gemfile.lock +15 -13
- 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 → Amount3.md} +2 -2
- data/docs/{AFNORContainsOperator.md → Amounteur.md} +2 -2
- data/docs/ClientManagementApi.md +383 -0
- data/docs/CreateCDARRequest.md +7 -1
- data/docs/DeliveryParty.md +2 -2
- data/docs/ElectronicAddressInput.md +20 -0
- data/docs/ElectronicAddressOutput.md +20 -0
- data/docs/ElectronicSignatureApi.md +6 -6
- data/docs/EncaisseAmountByRate.md +20 -0
- data/docs/EncaisseeRequest.md +8 -2
- data/docs/FacturXConversionApi.md +2 -2
- data/docs/FacturXPDFXMLVerificationApi.md +4 -4
- data/docs/FacturXValidationApi.md +4 -4
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/{ChorusProCredentials.md → FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md} +2 -2
- data/docs/{ValidationErrorResponse.md → FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md} +2 -2
- data/docs/Flux10EReportingApi.md +22 -12
- data/docs/Flux6InvoiceLifecycleCDARApi.md +45 -21
- 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 +16 -10
- data/docs/InvoiceInput.md +4 -0
- data/docs/{AFNORCallbackAuthentication.md → Invoicedata.md} +9 -9
- data/docs/LifecycleEvent.md +2 -0
- data/docs/LifecycleResponse.md +9 -1
- data/docs/ParseApi.md +4 -4
- 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 +6 -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/SuperPDPVatRegimeResponse.md +20 -0
- data/docs/SuperPDPVatRegimeUpdateRequest.md +20 -0
- data/docs/Supplier.md +5 -3
- data/docs/TaxBreakdownInput.md +7 -1
- data/docs/TaxRepresentative.md +1 -1
- data/docs/Taxamounteur.md +15 -0
- data/docs/ValidateCDARRequest.md +3 -1
- data/docs/ValidationApi.md +3 -3
- data/docs/ValidationError.md +5 -1
- data/factpulse.gemspec +1 -1
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +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 +333 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +7 -7
- data/lib/factpulse/api/factur_x_conversion_api.rb +3 -3
- data/lib/factpulse/api/factur_x_validation_api.rb +5 -5
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +5 -5
- data/lib/factpulse/api/flux10_e_reporting_api.rb +14 -5
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +33 -5
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_generation_api.rb +11 -5
- data/lib/factpulse/api/parse_api.rb +5 -5
- data/lib/factpulse/api/references_api.rb +1 -1
- data/lib/factpulse/api/validation_api.rb +5 -5
- 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/afnor_unique_directory_line_status.rb +40 -0
- 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/amount3.rb +104 -0
- 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_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 +70 -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/{afnor_basic_authentication.rb → encaisse_amount_by_rate.rb} +37 -35
- data/lib/factpulse/models/encaisseamount.rb +2 -2
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +54 -23
- 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/{chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +4 -4
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb +1 -1
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb +1 -1
- data/lib/factpulse/models/{validation_error_response.rb → facture_electronique_rest_api_schemas_validation_validation_error_response.rb} +4 -4
- 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 +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/{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 +49 -5
- 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 +3 -2
- 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 +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 +66 -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_callback_header.rb → super_pdp_disconnect_response.rb} +38 -35
- data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
- data/lib/factpulse/models/super_pdp_vat_regime_response.rb +195 -0
- data/lib/factpulse/models/{afnor_webhook_metadata.rb → super_pdp_vat_regime_update_request.rb} +33 -63
- 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 +18 -6
- 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 +24 -5
- data/lib/factpulse/models/validation_error_detail.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 +21 -13
- metadata +42 -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/lib/factpulse/models/afnoro_auth2_authentication.rb +0 -216
|
@@ -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
|
|
@@ -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
|
|
|
@@ -151,8 +151,8 @@ module FactPulse
|
|
|
151
151
|
def list_invalid_properties
|
|
152
152
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
153
153
|
invalid_properties = Array.new
|
|
154
|
-
if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
155
|
-
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
156
|
end
|
|
157
157
|
|
|
158
158
|
if @name.nil?
|
|
@@ -179,7 +179,7 @@ module FactPulse
|
|
|
179
179
|
# @return true if the model is valid
|
|
180
180
|
def valid?
|
|
181
181
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
182
|
-
return false if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
182
|
+
return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
183
183
|
return false if @name.nil?
|
|
184
184
|
return false if @name.to_s.length > 255
|
|
185
185
|
return false if @flow_syntax.nil?
|
|
@@ -194,8 +194,8 @@ module FactPulse
|
|
|
194
194
|
fail ArgumentError, 'tracking_id cannot be nil'
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
-
if tracking_id.to_s.length >
|
|
198
|
-
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.'
|
|
199
199
|
end
|
|
200
200
|
|
|
201
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
|
|
|
@@ -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
|
|
@@ -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
|
|
|
@@ -177,16 +177,16 @@ module FactPulse
|
|
|
177
177
|
invalid_properties.push('invalid value for "flow_id", flow_id cannot be nil.')
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
if @flow_id.to_s.length >
|
|
181
|
-
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to
|
|
180
|
+
if @flow_id.to_s.length > 64
|
|
181
|
+
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to 64.')
|
|
182
182
|
end
|
|
183
183
|
|
|
184
184
|
if @submitted_at.nil?
|
|
185
185
|
invalid_properties.push('invalid value for "submitted_at", submitted_at cannot be nil.')
|
|
186
186
|
end
|
|
187
187
|
|
|
188
|
-
if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
189
|
-
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
188
|
+
if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
189
|
+
invalid_properties.push('invalid value for "tracking_id", the character length must be smaller than or equal to 64.')
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
if @name.nil?
|
|
@@ -214,9 +214,9 @@ module FactPulse
|
|
|
214
214
|
def valid?
|
|
215
215
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
216
216
|
return false if @flow_id.nil?
|
|
217
|
-
return false if @flow_id.to_s.length >
|
|
217
|
+
return false if @flow_id.to_s.length > 64
|
|
218
218
|
return false if @submitted_at.nil?
|
|
219
|
-
return false if !@tracking_id.nil? && @tracking_id.to_s.length >
|
|
219
|
+
return false if !@tracking_id.nil? && @tracking_id.to_s.length > 64
|
|
220
220
|
return false if @name.nil?
|
|
221
221
|
return false if @name.to_s.length > 255
|
|
222
222
|
return false if @flow_syntax.nil?
|
|
@@ -231,8 +231,8 @@ module FactPulse
|
|
|
231
231
|
fail ArgumentError, 'flow_id cannot be nil'
|
|
232
232
|
end
|
|
233
233
|
|
|
234
|
-
if flow_id.to_s.length >
|
|
235
|
-
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to
|
|
234
|
+
if flow_id.to_s.length > 64
|
|
235
|
+
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to 64.'
|
|
236
236
|
end
|
|
237
237
|
|
|
238
238
|
@flow_id = flow_id
|
|
@@ -255,8 +255,8 @@ module FactPulse
|
|
|
255
255
|
fail ArgumentError, 'tracking_id cannot be nil'
|
|
256
256
|
end
|
|
257
257
|
|
|
258
|
-
if tracking_id.to_s.length >
|
|
259
|
-
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to
|
|
258
|
+
if tracking_id.to_s.length > 64
|
|
259
|
+
fail ArgumentError, 'invalid value for "tracking_id", the character length must be smaller than or equal to 64.'
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
@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,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
# Extension schema to build
|
|
17
|
+
# Extension schema to build FullFlowInfo, Flow schemas
|
|
18
18
|
class AFNORFullFlowInfoExtension < ApiModelBase
|
|
19
19
|
# Unique identifier supporting UUID but not only, for flexibility purpose
|
|
20
20
|
attr_accessor :flow_id
|
|
@@ -92,8 +92,8 @@ module FactPulse
|
|
|
92
92
|
invalid_properties.push('invalid value for "flow_id", flow_id cannot be nil.')
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
if @flow_id.to_s.length >
|
|
96
|
-
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to
|
|
95
|
+
if @flow_id.to_s.length > 64
|
|
96
|
+
invalid_properties.push('invalid value for "flow_id", the character length must be smaller than or equal to 64.')
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
if @submitted_at.nil?
|
|
@@ -108,7 +108,7 @@ module FactPulse
|
|
|
108
108
|
def valid?
|
|
109
109
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
110
110
|
return false if @flow_id.nil?
|
|
111
|
-
return false if @flow_id.to_s.length >
|
|
111
|
+
return false if @flow_id.to_s.length > 64
|
|
112
112
|
return false if @submitted_at.nil?
|
|
113
113
|
true
|
|
114
114
|
end
|
|
@@ -120,8 +120,8 @@ module FactPulse
|
|
|
120
120
|
fail ArgumentError, 'flow_id cannot be nil'
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
if flow_id.to_s.length >
|
|
124
|
-
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to
|
|
123
|
+
if flow_id.to_s.length > 64
|
|
124
|
+
fail ArgumentError, 'invalid value for "flow_id", the character length must be smaller than or equal to 64.'
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
@flow_id = flow_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
|
|
|
@@ -25,6 +25,8 @@ module FactPulse
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :administrative_status
|
|
27
27
|
|
|
28
|
+
attr_accessor :instructions
|
|
29
|
+
|
|
28
30
|
class EnumAttributeValidator
|
|
29
31
|
attr_reader :datatype
|
|
30
32
|
attr_reader :allowable_values
|
|
@@ -53,7 +55,8 @@ module FactPulse
|
|
|
53
55
|
:'siren' => :'siren',
|
|
54
56
|
:'business_name' => :'businessName',
|
|
55
57
|
:'entity_type' => :'entityType',
|
|
56
|
-
:'administrative_status' => :'administrativeStatus'
|
|
58
|
+
:'administrative_status' => :'administrativeStatus',
|
|
59
|
+
:'instructions' => :'instructions'
|
|
57
60
|
}
|
|
58
61
|
end
|
|
59
62
|
|
|
@@ -73,7 +76,8 @@ module FactPulse
|
|
|
73
76
|
:'siren' => :'String',
|
|
74
77
|
:'business_name' => :'String',
|
|
75
78
|
:'entity_type' => :'AFNOREntityType',
|
|
76
|
-
:'administrative_status' => :'AFNORLegalUnitAdministrativeStatus'
|
|
79
|
+
:'administrative_status' => :'AFNORLegalUnitAdministrativeStatus',
|
|
80
|
+
:'instructions' => :'AFNORSirenInstructions'
|
|
77
81
|
}
|
|
78
82
|
end
|
|
79
83
|
|
|
@@ -114,6 +118,10 @@ module FactPulse
|
|
|
114
118
|
if attributes.key?(:'administrative_status')
|
|
115
119
|
self.administrative_status = attributes[:'administrative_status']
|
|
116
120
|
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'instructions')
|
|
123
|
+
self.instructions = attributes[:'instructions']
|
|
124
|
+
end
|
|
117
125
|
end
|
|
118
126
|
|
|
119
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -188,7 +196,8 @@ module FactPulse
|
|
|
188
196
|
siren == o.siren &&
|
|
189
197
|
business_name == o.business_name &&
|
|
190
198
|
entity_type == o.entity_type &&
|
|
191
|
-
administrative_status == o.administrative_status
|
|
199
|
+
administrative_status == o.administrative_status &&
|
|
200
|
+
instructions == o.instructions
|
|
192
201
|
end
|
|
193
202
|
|
|
194
203
|
# @see the `==` method
|
|
@@ -200,7 +209,7 @@ module FactPulse
|
|
|
200
209
|
# Calculates hash code according to all attributes.
|
|
201
210
|
# @return [Integer] Hash code
|
|
202
211
|
def hash
|
|
203
|
-
[siren, business_name, entity_type, administrative_status].hash
|
|
212
|
+
[siren, business_name, entity_type, administrative_status, instructions].hash
|
|
204
213
|
end
|
|
205
214
|
|
|
206
215
|
# 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
|
|
|
@@ -24,9 +24,10 @@ module FactPulse
|
|
|
24
24
|
B2_G_OUT_OF_SCOPE = "B2GOutOfScope".freeze
|
|
25
25
|
ARCHIVE_ONLY = "ArchiveOnly".freeze
|
|
26
26
|
NOT_APPLICABLE = "NotApplicable".freeze
|
|
27
|
+
UNDEFINED = "Undefined".freeze
|
|
27
28
|
|
|
28
29
|
def self.all_vars
|
|
29
|
-
@all_vars ||= [B2_B, B2_B_INT, B2_C, B2_G, B2_G_INT, OUT_OF_SCOPE, B2_G_OUT_OF_SCOPE, ARCHIVE_ONLY, NOT_APPLICABLE].freeze
|
|
30
|
+
@all_vars ||= [B2_B, B2_B_INT, B2_C, B2_G, B2_G_INT, OUT_OF_SCOPE, B2_G_OUT_OF_SCOPE, ARCHIVE_ONLY, NOT_APPLICABLE, UNDEFINED].freeze
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
# Builds the enum from string
|