factpulse 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -5
- data/Gemfile.lock +11 -9
- data/README.md +7 -1
- data/docs/AFNORContainsOrStartWithOperator.md +15 -0
- data/docs/AFNORContainsOrStrictOrStartWithOperator.md +15 -0
- data/docs/AFNORDirectoryLinePayloadLegalUnitFacilityRoutingCode.md +4 -0
- data/docs/AFNORDirectoryLinePayloadStatusLegalUnitFacilityRoutingCode.md +2 -0
- data/docs/AFNORDirectoryLineSearchPost200Response.md +1 -1
- data/docs/AFNORFacilityPayloadIncluded.md +2 -0
- data/docs/AFNORFlow.md +2 -2
- data/docs/AFNORLegalUnitPayloadIncluded.md +3 -1
- data/docs/AFNORPDPPAFlowServiceApi.md +3 -133
- data/docs/AFNORRoutingCodeSearch.md +2 -2
- data/docs/AFNORRoutingCodeSearchPost200Response.md +1 -1
- data/docs/AFNORSearchDirectoryLine.md +4 -2
- data/docs/AFNORSearchDirectoryLineSortingInner.md +2 -2
- data/docs/AFNORSearchFlowContent.md +3 -1
- data/docs/AFNORSearchFlowParams.md +3 -1
- data/docs/AFNORSearchSiren.md +1 -1
- data/docs/AFNORSearchSirenFiltersBusinessName.md +1 -1
- data/docs/AFNORSearchSirenSortingInner.md +2 -2
- data/docs/AFNORSearchSiret.md +1 -1
- data/docs/AFNORSearchSiretFiltersAddressLines.md +1 -1
- data/docs/AFNORSearchSiretFiltersLocality.md +1 -1
- data/docs/AFNORSearchSiretFiltersName.md +1 -1
- data/docs/AFNORSearchSiretSortingInner.md +2 -2
- data/docs/AFNORSirenSearchPost200Response.md +1 -1
- data/docs/AFNORSiretSearchPost200Response.md +1 -1
- data/docs/AFNORUniqueDirectoryLineStatus.md +15 -0
- data/docs/AFNORWebhook.md +12 -4
- data/docs/AFNORWebhookIdParam.md +5 -1
- data/docs/AFNORWebhookParams.md +8 -4
- data/docs/AllowanceCharge.md +1 -1
- data/docs/{AFNORAlgorithm.md → Amounteur.md} +2 -2
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/ClientManagementApi.md +231 -0
- data/docs/CreateCDARRequest.md +3 -1
- data/docs/DeliveryParty.md +2 -2
- data/docs/ElectronicAddressInput.md +20 -0
- data/docs/ElectronicAddressOutput.md +20 -0
- data/docs/EncaisseeRequest.md +3 -1
- data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/Flux10EReportingApi.md +18 -8
- data/docs/Flux6InvoiceLifecycleCDARApi.md +39 -19
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/IncomingSupplier.md +4 -2
- data/docs/InvoiceGenerationApi.md +14 -8
- data/docs/InvoiceInput.md +5 -1
- data/docs/{AFNORCallbackAuthentication.md → Invoicedata.md} +9 -9
- data/docs/LifecycleEvent.md +2 -0
- data/docs/Payee.md +2 -2
- data/docs/PaymentAmountByRate.md +4 -2
- data/docs/PostalAddressInput.md +30 -0
- data/docs/PostalAddressOutput.md +30 -0
- data/docs/ProcessingOptions.md +1 -1
- data/docs/Recipient.md +3 -3
- data/docs/ReportSender.md +2 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SimplifiedInvoiceData.md +3 -3
- data/docs/SubmitCDARRequest.md +2 -0
- data/docs/SubmitCompleteInvoiceRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/SuperPDPConnectURLResponse.md +18 -0
- data/docs/SuperPDPDisconnectResponse.md +20 -0
- data/docs/SuperPDPStatusResponse.md +26 -0
- data/docs/Supplier.md +5 -3
- data/docs/TaxBreakdownInput.md +7 -1
- data/docs/TaxRepresentative.md +1 -1
- data/docs/{AFNORContainsOperator.md → Taxamounteur.md} +2 -2
- data/factpulse.gemspec +1 -1
- data/lib/factpulse/api/afnorpdppa_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +1 -1
- data/lib/factpulse/api/afnorpdppa_flow_service_api.rb +7 -133
- data/lib/factpulse/api/async_tasks_api.rb +1 -1
- data/lib/factpulse/api/chorus_pro_api.rb +1 -1
- data/lib/factpulse/api/client_management_api.rb +196 -1
- data/lib/factpulse/api/downloads_api.rb +1 -1
- data/lib/factpulse/api/electronic_signature_api.rb +1 -1
- data/lib/factpulse/api/factur_x_conversion_api.rb +1 -1
- data/lib/factpulse/api/factur_x_validation_api.rb +1 -1
- data/lib/factpulse/api/factur_xpdfxml_verification_api.rb +1 -1
- data/lib/factpulse/api/flux10_e_reporting_api.rb +10 -1
- data/lib/factpulse/api/flux6_invoice_lifecycle_cdar_api.rb +25 -3
- data/lib/factpulse/api/health_api.rb +1 -1
- data/lib/factpulse/api/invoice_generation_api.rb +9 -3
- data/lib/factpulse/api/parse_api.rb +1 -1
- data/lib/factpulse/api/references_api.rb +1 -1
- data/lib/factpulse/api/validation_api.rb +1 -1
- data/lib/factpulse/api_client.rb +1 -1
- data/lib/factpulse/api_error.rb +1 -1
- data/lib/factpulse/api_model_base.rb +1 -1
- data/lib/factpulse/configuration.rb +1 -1
- data/lib/factpulse/helpers/client.rb +42 -5
- data/lib/factpulse/models/acknowledgment_status.rb +1 -1
- data/lib/factpulse/models/action_code_info.rb +1 -1
- data/lib/factpulse/models/action_codes_response.rb +1 -1
- data/lib/factpulse/models/additional_document.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement.rb +1 -1
- data/lib/factpulse/models/afnor_acknowledgement_detail.rb +1 -1
- data/lib/factpulse/models/afnor_address_read.rb +1 -1
- data/lib/factpulse/models/{afnor_contains_operator.rb → afnor_contains_or_start_with_operator.rb} +6 -5
- data/lib/factpulse/models/afnor_contains_or_strict_operator.rb +1 -1
- data/lib/factpulse/models/{afnor_algorithm.rb → afnor_contains_or_strict_or_start_with_operator.rb} +8 -11
- data/lib/factpulse/models/afnor_core_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_credentials.rb +1 -1
- data/lib/factpulse/models/afnor_destination.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_field.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_history_legal_unit_facility_routing_code_routing_code.rb +1 -1
- data/lib/factpulse/models/afnor_directory_line_payload_legal_unit_facility_routing_code.rb +51 -2
- data/lib/factpulse/models/afnor_directory_line_payload_status_legal_unit_facility_routing_code.rb +42 -2
- data/lib/factpulse/models/afnor_directory_line_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_directory_line_status.rb +1 -1
- data/lib/factpulse/models/afnor_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_error.rb +1 -1
- data/lib/factpulse/models/afnor_error_detail.rb +1 -1
- data/lib/factpulse/models/afnor_facility_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_history_ule_b2g_additional_data.rb +1 -1
- data/lib/factpulse/models/afnor_facility_payload_included.rb +11 -2
- data/lib/factpulse/models/afnor_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_flow.rb +45 -11
- data/lib/factpulse/models/afnor_flow_ack_status.rb +1 -1
- data/lib/factpulse/models/afnor_flow_direction.rb +1 -1
- data/lib/factpulse/models/afnor_flow_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_info.rb +6 -6
- data/lib/factpulse/models/afnor_flow_info_extension.rb +1 -1
- data/lib/factpulse/models/afnor_flow_profile.rb +3 -2
- data/lib/factpulse/models/afnor_flow_syntax.rb +1 -1
- data/lib/factpulse/models/afnor_flow_type.rb +9 -3
- data/lib/factpulse/models/afnor_full_flow_info.rb +11 -11
- data/lib/factpulse/models/afnor_full_flow_info_extension.rb +7 -7
- data/lib/factpulse/models/afnor_health_check_response.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_history.rb +1 -1
- data/lib/factpulse/models/afnor_legal_unit_payload_included.rb +14 -5
- data/lib/factpulse/models/afnor_processing_rule.rb +3 -2
- data/lib/factpulse/models/afnor_reason_code.rb +1 -1
- data/lib/factpulse/models/afnor_reason_code_enum.rb +1 -1
- data/lib/factpulse/models/afnor_recipient_platform_type.rb +1 -1
- data/lib/factpulse/models/afnor_result.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_field.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_payload_history_legal_unit_facility.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_code_name.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_filters_routing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_routing_code_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_routing_code_search_sorting_inner.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line.rb +35 -2
- data/lib/factpulse/models/afnor_search_directory_line_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_identifier.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_filters_addressing_suffix.rb +1 -1
- data/lib/factpulse/models/afnor_search_directory_line_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_flow_content.rb +34 -2
- data/lib/factpulse/models/afnor_search_flow_filters.rb +6 -6
- data/lib/factpulse/models/afnor_search_flow_params.rb +13 -3
- data/lib/factpulse/models/afnor_search_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_business_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siren_filters_entity_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_filters_siren.rb +1 -1
- data/lib/factpulse/models/afnor_search_siren_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_search_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_address_lines.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_administrative_status.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_country_subdivision.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_facility_type.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_locality.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_name.rb +2 -2
- data/lib/factpulse/models/afnor_search_siret_filters_postal_code.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_filters_siret.rb +1 -1
- data/lib/factpulse/models/afnor_search_siret_sorting_inner.rb +8 -8
- data/lib/factpulse/models/afnor_siren_field.rb +1 -1
- data/lib/factpulse/models/afnor_siren_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siren_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_siret_field.rb +1 -1
- data/lib/factpulse/models/afnor_siret_instructions.rb +1 -1
- data/lib/factpulse/models/afnor_siret_search_post200_response.rb +4 -2
- data/lib/factpulse/models/afnor_sorting_order.rb +1 -1
- data/lib/factpulse/models/afnor_strict_operator.rb +1 -1
- data/lib/factpulse/models/afnor_strict_or_start_with_operator.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb → afnor_unique_directory_line_status.rb} +7 -10
- data/lib/factpulse/models/afnor_webhook.rb +83 -40
- data/lib/factpulse/models/afnor_webhook_id_param.rb +23 -5
- data/lib/factpulse/models/afnor_webhook_params.rb +65 -40
- data/lib/factpulse/models/aggregated_payment_input.rb +1 -1
- data/lib/factpulse/models/aggregated_transaction_input.rb +1 -1
- data/lib/factpulse/models/allowance_charge.rb +2 -2
- data/lib/factpulse/models/allowance_charge_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_reason_code.rb +1 -1
- data/lib/factpulse/models/allowance_total_amount.rb +1 -1
- data/lib/factpulse/models/amount.rb +2 -2
- data/lib/factpulse/models/amount1.rb +2 -2
- data/lib/factpulse/models/amount2.rb +2 -2
- data/lib/factpulse/models/amount_due.rb +1 -1
- data/lib/factpulse/models/amounteur.rb +104 -0
- data/lib/factpulse/models/api_error.rb +1 -1
- data/lib/factpulse/models/api_profile.rb +1 -1
- data/lib/factpulse/models/async_task_status.rb +1 -1
- data/lib/factpulse/models/base_amount.rb +1 -1
- data/lib/factpulse/models/bounding_box_schema.rb +1 -1
- data/lib/factpulse/models/buyercountry.rb +1 -1
- data/lib/factpulse/models/celery_status.rb +1 -1
- data/lib/factpulse/models/certificate_info_response.rb +1 -1
- data/lib/factpulse/models/charge_total_amount.rb +1 -1
- data/lib/factpulse/models/chorus_pro_credentials.rb +27 -95
- data/lib/factpulse/models/chorus_pro_destination.rb +2 -2
- data/lib/factpulse/models/chorus_pro_result.rb +1 -1
- data/lib/factpulse/models/client_activate_response.rb +1 -1
- data/lib/factpulse/models/client_create_request.rb +1 -1
- data/lib/factpulse/models/client_detail.rb +1 -1
- data/lib/factpulse/models/client_list_response.rb +1 -1
- data/lib/factpulse/models/client_summary.rb +1 -1
- data/lib/factpulse/models/client_update_request.rb +1 -1
- data/lib/factpulse/models/contact.rb +1 -1
- data/lib/factpulse/models/conversion_error_result.rb +1 -1
- data/lib/factpulse/models/conversion_extraction_info.rb +1 -1
- data/lib/factpulse/models/conversion_pending_input_result.rb +1 -1
- data/lib/factpulse/models/conversion_success_task_result.rb +1 -1
- data/lib/factpulse/models/conversion_task_status.rb +1 -1
- data/lib/factpulse/models/conversion_task_status_result.rb +1 -1
- data/lib/factpulse/models/conversion_validation_failed_result.rb +1 -1
- data/lib/factpulse/models/convert_resume_request.rb +1 -1
- data/lib/factpulse/models/convert_success_response.rb +1 -1
- data/lib/factpulse/models/convert_validation_failed_response.rb +1 -1
- data/lib/factpulse/models/country_code.rb +1 -1
- data/lib/factpulse/models/create_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/create_cdar_request.rb +18 -6
- data/lib/factpulse/models/create_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/currency.rb +1 -1
- data/lib/factpulse/models/currency_code.rb +1 -1
- data/lib/factpulse/models/delivery_party.rb +3 -3
- data/lib/factpulse/models/destination.rb +1 -1
- data/lib/factpulse/models/doc_type.rb +1 -1
- data/lib/factpulse/models/document_type_info.rb +1 -1
- data/lib/factpulse/models/e_reporting_flow_type.rb +1 -1
- data/lib/factpulse/models/e_reporting_validation_error.rb +1 -1
- data/lib/factpulse/models/electronic_address.rb +2 -2
- data/lib/factpulse/models/{afnor_callback_signature.rb → electronic_address_input.rb} +29 -44
- data/lib/factpulse/models/{afnor_callback_parameters.rb → electronic_address_output.rb} +51 -46
- data/lib/factpulse/models/encaisseamount.rb +1 -1
- data/lib/factpulse/models/encaisseamount1.rb +1 -1
- data/lib/factpulse/models/encaissee_request.rb +15 -3
- data/lib/factpulse/models/enriched_invoice_info.rb +1 -1
- data/lib/factpulse/models/error_level.rb +1 -1
- data/lib/factpulse/models/error_source.rb +1 -1
- data/lib/factpulse/models/extraction_info.rb +1 -1
- data/lib/factpulse/models/factur_x_invoice.rb +1 -1
- data/lib/factpulse/models/factur_xpdf_info.rb +1 -1
- data/lib/factpulse/models/facture_electronique_models_invoice_type_code.rb +54 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb +1 -1
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +98 -30
- data/lib/factpulse/models/field_status.rb +1 -1
- data/lib/factpulse/models/file_info.rb +1 -1
- data/lib/factpulse/models/files_info.rb +1 -1
- data/lib/factpulse/models/flow_direction.rb +1 -1
- data/lib/factpulse/models/flow_profile.rb +3 -2
- data/lib/factpulse/models/flow_summary.rb +1 -1
- data/lib/factpulse/models/flow_syntax.rb +1 -1
- data/lib/factpulse/models/flow_type.rb +9 -3
- data/lib/factpulse/models/generate_aggregated_report_response.rb +1 -1
- data/lib/factpulse/models/generate_cdar_response.rb +1 -1
- data/lib/factpulse/models/generate_certificate_request.rb +1 -1
- data/lib/factpulse/models/generate_certificate_response.rb +1 -1
- data/lib/factpulse/models/generate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/generation_success_result.rb +1 -1
- data/lib/factpulse/models/generation_task_status.rb +1 -1
- data/lib/factpulse/models/generation_task_status_result.rb +1 -1
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +2 -2
- data/lib/factpulse/models/get_chorus_pro_id_response.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +2 -2
- data/lib/factpulse/models/get_invoice_response.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +2 -2
- data/lib/factpulse/models/get_structure_response.rb +1 -1
- data/lib/factpulse/models/global_allowance_amount.rb +1 -1
- data/lib/factpulse/models/gross_unit_price.rb +1 -1
- data/lib/factpulse/models/http_validation_error.rb +1 -1
- data/lib/factpulse/models/incoming_invoice.rb +1 -1
- data/lib/factpulse/models/incoming_supplier.rb +14 -4
- data/lib/factpulse/models/invoice_format.rb +1 -1
- data/lib/factpulse/models/invoice_input.rb +23 -3
- data/lib/factpulse/models/invoice_lifecycle.rb +1 -1
- data/lib/factpulse/models/invoice_line.rb +1 -1
- data/lib/factpulse/models/invoice_line_allowance_amount.rb +1 -1
- data/lib/factpulse/models/invoice_note.rb +1 -1
- data/lib/factpulse/models/invoice_payment_input.rb +1 -1
- data/lib/factpulse/models/invoice_references.rb +1 -1
- data/lib/factpulse/models/invoice_status.rb +1 -1
- data/lib/factpulse/models/invoice_totals.rb +1 -1
- data/lib/factpulse/models/invoice_totals_prepayment.rb +1 -1
- data/lib/factpulse/models/invoice_type_code.rb +7 -18
- data/lib/factpulse/models/invoice_type_code_output.rb +1 -1
- data/lib/factpulse/models/{afnor_callback_authentication.rb → invoicedata.rb} +5 -5
- data/lib/factpulse/models/invoicing_framework.rb +1 -1
- data/lib/factpulse/models/invoicing_framework_code.rb +1 -1
- data/lib/factpulse/models/issuer_role_code.rb +1 -1
- data/lib/factpulse/models/key_rotation_request.rb +1 -1
- data/lib/factpulse/models/key_rotation_response.rb +1 -1
- data/lib/factpulse/models/lifecycle_event.rb +12 -2
- data/lib/factpulse/models/lifecycle_response.rb +1 -1
- data/lib/factpulse/models/line_net_amount.rb +1 -1
- data/lib/factpulse/models/line_sub_type.rb +1 -1
- data/lib/factpulse/models/line_total_amount.rb +1 -1
- data/lib/factpulse/models/location_inner.rb +1 -1
- data/lib/factpulse/models/mandatory_note_schema.rb +1 -1
- data/lib/factpulse/models/manual_rate.rb +1 -1
- data/lib/factpulse/models/manual_vat_rate.rb +1 -1
- data/lib/factpulse/models/missing_field.rb +1 -1
- data/lib/factpulse/models/operation_nature.rb +1 -1
- data/lib/factpulse/models/output_format.rb +1 -1
- data/lib/factpulse/models/page_dimensions_schema.rb +1 -1
- data/lib/factpulse/models/parse_factur_x_response.rb +1 -1
- data/lib/factpulse/models/payee.rb +3 -3
- data/lib/factpulse/models/payment_amount_by_rate.rb +15 -5
- data/lib/factpulse/models/payment_card.rb +1 -1
- data/lib/factpulse/models/payment_means.rb +1 -1
- data/lib/factpulse/models/pdf_validation_result_api.rb +1 -1
- data/lib/factpulse/models/pdp_config_response.rb +1 -1
- data/lib/factpulse/models/pdp_config_update_request.rb +1 -1
- data/lib/factpulse/models/pdp_credentials.rb +1 -1
- data/lib/factpulse/models/percentage.rb +1 -1
- data/lib/factpulse/models/postal_address.rb +7 -7
- data/lib/factpulse/models/postal_address_input.rb +209 -0
- data/lib/factpulse/models/{afnor_callback_header.rb → postal_address_output.rb} +70 -51
- data/lib/factpulse/models/price_allowance_amount.rb +1 -1
- data/lib/factpulse/models/price_basis_quantity.rb +1 -1
- data/lib/factpulse/models/processing_options.rb +2 -2
- data/lib/factpulse/models/processing_rule.rb +3 -2
- data/lib/factpulse/models/product_characteristic.rb +1 -1
- data/lib/factpulse/models/product_classification.rb +1 -1
- data/lib/factpulse/models/quantity.rb +1 -1
- data/lib/factpulse/models/rate.rb +1 -1
- data/lib/factpulse/models/rate1.rb +1 -1
- data/lib/factpulse/models/reason_code_info.rb +1 -1
- data/lib/factpulse/models/reason_codes_response.rb +1 -1
- data/lib/factpulse/models/recipient.rb +4 -4
- data/lib/factpulse/models/recipient_input.rb +1 -1
- data/lib/factpulse/models/refusee_request.rb +1 -1
- data/lib/factpulse/models/report_issuer.rb +1 -1
- data/lib/factpulse/models/report_period.rb +1 -1
- data/lib/factpulse/models/report_sender.rb +12 -2
- data/lib/factpulse/models/rounding_amount.rb +1 -1
- data/lib/factpulse/models/schematron_validation_error.rb +1 -1
- data/lib/factpulse/models/scheme_id.rb +1 -1
- data/lib/factpulse/models/search_flow_request.rb +1 -1
- data/lib/factpulse/models/search_flow_response.rb +1 -1
- data/lib/factpulse/models/search_services_response.rb +1 -1
- data/lib/factpulse/models/search_structure_request.rb +2 -2
- data/lib/factpulse/models/search_structure_response.rb +1 -1
- data/lib/factpulse/models/secret_status.rb +1 -1
- data/lib/factpulse/models/sellercountry.rb +1 -1
- data/lib/factpulse/models/signature_info.rb +1 -1
- data/lib/factpulse/models/signature_info_api.rb +1 -1
- data/lib/factpulse/models/signature_parameters.rb +1 -1
- data/lib/factpulse/models/signature_success_result.rb +1 -1
- data/lib/factpulse/models/signature_task_status.rb +1 -1
- data/lib/factpulse/models/signature_task_status_result.rb +1 -1
- data/lib/factpulse/models/simplified_cdar_response.rb +1 -1
- data/lib/factpulse/models/simplified_invoice_data.rb +5 -5
- data/lib/factpulse/models/status_code_info.rb +1 -1
- data/lib/factpulse/models/status_codes_response.rb +1 -1
- data/lib/factpulse/models/structure_info.rb +1 -1
- data/lib/factpulse/models/structure_parameters.rb +1 -1
- data/lib/factpulse/models/structure_service.rb +1 -1
- data/lib/factpulse/models/submission_mode.rb +1 -1
- data/lib/factpulse/models/submit_aggregated_report_request.rb +1 -1
- data/lib/factpulse/models/submit_cdar_request.rb +14 -2
- data/lib/factpulse/models/submit_cdar_response.rb +1 -1
- data/lib/factpulse/models/submit_cdarxml_request.rb +1 -1
- data/lib/factpulse/models/submit_complete_invoice_request.rb +2 -3
- data/lib/factpulse/models/submit_complete_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/submit_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/submit_flow_request.rb +1 -1
- data/lib/factpulse/models/submit_flow_response.rb +1 -1
- data/lib/factpulse/models/submit_gross_amount.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +2 -2
- data/lib/factpulse/models/submit_invoice_response.rb +1 -1
- data/lib/factpulse/models/submit_net_amount.rb +1 -1
- data/lib/factpulse/models/submit_vat_amount.rb +1 -1
- data/lib/factpulse/models/{afnor_webhook_patch_payload.rb → super_pdp_connect_url_response.rb} +30 -31
- data/lib/factpulse/models/{afnor_basic_authentication.rb → super_pdp_disconnect_response.rb} +38 -35
- data/lib/factpulse/models/super_pdp_status_response.rb +208 -0
- data/lib/factpulse/models/supplementary_attachment.rb +1 -1
- data/lib/factpulse/models/supplier.rb +15 -5
- data/lib/factpulse/models/task_error_result.rb +1 -1
- data/lib/factpulse/models/task_response.rb +1 -1
- data/lib/factpulse/models/tax_breakdown_input.rb +35 -5
- data/lib/factpulse/models/tax_due_date_type.rb +1 -1
- data/lib/factpulse/models/tax_representative.rb +2 -2
- data/lib/factpulse/models/taxable_amount.rb +1 -1
- data/lib/factpulse/models/taxableamount.rb +1 -1
- data/lib/factpulse/models/taxamount.rb +1 -1
- data/lib/factpulse/models/taxamount1.rb +1 -1
- data/lib/factpulse/models/taxamount2.rb +1 -1
- data/lib/factpulse/models/taxamounteur.rb +104 -0
- data/lib/factpulse/models/taxexclusiveamount.rb +1 -1
- data/lib/factpulse/models/taxexclusiveamount1.rb +1 -1
- data/lib/factpulse/models/total_gross_amount.rb +1 -1
- data/lib/factpulse/models/total_net_amount.rb +1 -1
- data/lib/factpulse/models/total_vat_amount.rb +1 -1
- data/lib/factpulse/models/transaction_category.rb +1 -1
- data/lib/factpulse/models/transmission_type_code.rb +1 -1
- data/lib/factpulse/models/unit_net_price.rb +1 -1
- data/lib/factpulse/models/unit_of_measure.rb +1 -1
- data/lib/factpulse/models/validate_cdar_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_response.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_request.rb +1 -1
- data/lib/factpulse/models/validate_e_reporting_response.rb +1 -1
- data/lib/factpulse/models/validation_error.rb +1 -1
- data/lib/factpulse/models/validation_error_detail.rb +1 -1
- data/lib/factpulse/models/validation_error_response.rb +1 -1
- data/lib/factpulse/models/validation_info.rb +1 -1
- data/lib/factpulse/models/validation_success_response.rb +1 -1
- data/lib/factpulse/models/validation_success_task_result.rb +1 -1
- data/lib/factpulse/models/validation_task_status.rb +1 -1
- data/lib/factpulse/models/validation_task_status_result.rb +1 -1
- data/lib/factpulse/models/vat_accounting_code.rb +1 -1
- data/lib/factpulse/models/vat_amount.rb +1 -1
- data/lib/factpulse/models/vat_category.rb +1 -1
- data/lib/factpulse/models/vat_line.rb +1 -1
- data/lib/factpulse/models/vat_point_date_code.rb +1 -1
- data/lib/factpulse/models/vat_rate.rb +1 -1
- data/lib/factpulse/models/vatex_code_info.rb +1 -1
- data/lib/factpulse/models/vatex_codes_response.rb +1 -1
- data/lib/factpulse/models/verification_success_response.rb +1 -1
- data/lib/factpulse/models/verification_success_task_result.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status.rb +1 -1
- data/lib/factpulse/models/verification_typed_task_status_result.rb +1 -1
- data/lib/factpulse/models/verified_field_schema.rb +1 -1
- data/lib/factpulse/models/webhook_secret_delete_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_generate_response.rb +1 -1
- data/lib/factpulse/models/webhook_secret_status_response.rb +1 -1
- data/lib/factpulse/version.rb +2 -2
- data/lib/factpulse.rb +16 -13
- metadata +32 -26
- data/docs/AFNORBasicAuthentication.md +0 -20
- data/docs/AFNORCallbackHeader.md +0 -20
- data/docs/AFNORCallbackParameters.md +0 -24
- data/docs/AFNORCallbackSignature.md +0 -20
- data/docs/AFNOROAuth2Authentication.md +0 -22
- data/docs/AFNORWebhookMetadata.md +0 -24
- data/docs/AFNORWebhookPatchPayload.md +0 -22
- data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
- data/lib/factpulse/models/afnor_webhook_metadata.rb +0 -230
- data/lib/factpulse/models/afnoro_auth2_authentication.rb +0 -216
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,7 +17,7 @@ module FactPulse
|
|
|
17
17
|
class AFNORSiretSearchPost200Response < ApiModelBase
|
|
18
18
|
attr_accessor :search
|
|
19
19
|
|
|
20
|
-
# The total number of results
|
|
20
|
+
# The total number of results, if -1 is returned then this value is not managed due to performance issue
|
|
21
21
|
attr_accessor :total_number_of_results
|
|
22
22
|
|
|
23
23
|
attr_accessor :results
|
|
@@ -78,6 +78,8 @@ module FactPulse
|
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'total_number_of_results')
|
|
80
80
|
self.total_number_of_results = attributes[:'total_number_of_results']
|
|
81
|
+
else
|
|
82
|
+
self.total_number_of_results = -1
|
|
81
83
|
end
|
|
82
84
|
|
|
83
85
|
if attributes.key?(:'results')
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,15 +14,12 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
class
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
N384 = "384".freeze
|
|
21
|
-
N389 = "389".freeze
|
|
22
|
-
N386 = "386".freeze
|
|
17
|
+
class AFNORUniqueDirectoryLineStatus
|
|
18
|
+
ENABLED = "Enabled".freeze
|
|
19
|
+
DISABLED = "Disabled".freeze
|
|
23
20
|
|
|
24
21
|
def self.all_vars
|
|
25
|
-
@all_vars ||= [
|
|
22
|
+
@all_vars ||= [ENABLED, DISABLED].freeze
|
|
26
23
|
end
|
|
27
24
|
|
|
28
25
|
# Builds the enum from string
|
|
@@ -36,8 +33,8 @@ module FactPulse
|
|
|
36
33
|
# @param [String] The enum value in the form of the string
|
|
37
34
|
# @return [String] The enum value
|
|
38
35
|
def build_from_hash(value)
|
|
39
|
-
return value if
|
|
40
|
-
raise "Invalid ENUM value #{value} for class #
|
|
36
|
+
return value if AFNORUniqueDirectoryLineStatus.all_vars.include?(value)
|
|
37
|
+
raise "Invalid ENUM value #{value} for class #AFNORUniqueDirectoryLineStatus"
|
|
41
38
|
end
|
|
42
39
|
end
|
|
43
40
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,16 +17,50 @@ module FactPulse
|
|
|
17
17
|
class AFNORWebhook < ApiModelBase
|
|
18
18
|
attr_accessor :webhook_id
|
|
19
19
|
|
|
20
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :signing_key
|
|
21
21
|
|
|
22
|
-
attr_accessor :
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
24
|
+
attr_accessor :callback_url
|
|
25
|
+
|
|
26
|
+
attr_accessor :flow_types
|
|
27
|
+
|
|
28
|
+
attr_accessor :flow_direction
|
|
29
|
+
|
|
30
|
+
attr_accessor :ack_status
|
|
31
|
+
|
|
32
|
+
class EnumAttributeValidator
|
|
33
|
+
attr_reader :datatype
|
|
34
|
+
attr_reader :allowable_values
|
|
35
|
+
|
|
36
|
+
def initialize(datatype, allowable_values)
|
|
37
|
+
@allowable_values = allowable_values.map do |value|
|
|
38
|
+
case datatype.to_s
|
|
39
|
+
when /Integer/i
|
|
40
|
+
value.to_i
|
|
41
|
+
when /Float/i
|
|
42
|
+
value.to_f
|
|
43
|
+
else
|
|
44
|
+
value
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def valid?(value)
|
|
50
|
+
!value || allowable_values.include?(value)
|
|
51
|
+
end
|
|
52
|
+
end
|
|
23
53
|
|
|
24
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
55
|
def self.attribute_map
|
|
26
56
|
{
|
|
27
57
|
:'webhook_id' => :'webhookId',
|
|
28
|
-
:'
|
|
29
|
-
:'
|
|
58
|
+
:'signing_key' => :'signingKey',
|
|
59
|
+
:'created_at' => :'createdAt',
|
|
60
|
+
:'callback_url' => :'callbackUrl',
|
|
61
|
+
:'flow_types' => :'flowTypes',
|
|
62
|
+
:'flow_direction' => :'flowDirection',
|
|
63
|
+
:'ack_status' => :'ackStatus'
|
|
30
64
|
}
|
|
31
65
|
end
|
|
32
66
|
|
|
@@ -44,8 +78,12 @@ module FactPulse
|
|
|
44
78
|
def self.openapi_types
|
|
45
79
|
{
|
|
46
80
|
:'webhook_id' => :'String',
|
|
47
|
-
:'
|
|
48
|
-
:'
|
|
81
|
+
:'signing_key' => :'String',
|
|
82
|
+
:'created_at' => :'Time',
|
|
83
|
+
:'callback_url' => :'String',
|
|
84
|
+
:'flow_types' => :'Array<AFNORFlowType>',
|
|
85
|
+
:'flow_direction' => :'AFNORFlowDirection',
|
|
86
|
+
:'ack_status' => :'AFNORFlowAckStatus'
|
|
49
87
|
}
|
|
50
88
|
end
|
|
51
89
|
|
|
@@ -83,16 +121,32 @@ module FactPulse
|
|
|
83
121
|
self.webhook_id = attributes[:'webhook_id']
|
|
84
122
|
end
|
|
85
123
|
|
|
86
|
-
if attributes.key?(:'
|
|
87
|
-
self.
|
|
88
|
-
|
|
89
|
-
|
|
124
|
+
if attributes.key?(:'signing_key')
|
|
125
|
+
self.signing_key = attributes[:'signing_key']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'created_at')
|
|
129
|
+
self.created_at = attributes[:'created_at']
|
|
90
130
|
end
|
|
91
131
|
|
|
92
|
-
if attributes.key?(:'
|
|
93
|
-
self.
|
|
132
|
+
if attributes.key?(:'callback_url')
|
|
133
|
+
self.callback_url = attributes[:'callback_url']
|
|
94
134
|
else
|
|
95
|
-
self.
|
|
135
|
+
self.callback_url = nil
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'flow_types')
|
|
139
|
+
if (value = attributes[:'flow_types']).is_a?(Array)
|
|
140
|
+
self.flow_types = value
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'flow_direction')
|
|
145
|
+
self.flow_direction = attributes[:'flow_direction']
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
if attributes.key?(:'ack_status')
|
|
149
|
+
self.ack_status = attributes[:'ack_status']
|
|
96
150
|
end
|
|
97
151
|
end
|
|
98
152
|
|
|
@@ -101,12 +155,8 @@ module FactPulse
|
|
|
101
155
|
def list_invalid_properties
|
|
102
156
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
103
157
|
invalid_properties = Array.new
|
|
104
|
-
if @
|
|
105
|
-
invalid_properties.push('invalid value for "
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if @metadata.nil?
|
|
109
|
-
invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
|
|
158
|
+
if @callback_url.nil?
|
|
159
|
+
invalid_properties.push('invalid value for "callback_url", callback_url cannot be nil.')
|
|
110
160
|
end
|
|
111
161
|
|
|
112
162
|
invalid_properties
|
|
@@ -116,29 +166,18 @@ module FactPulse
|
|
|
116
166
|
# @return true if the model is valid
|
|
117
167
|
def valid?
|
|
118
168
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
119
|
-
return false if @
|
|
120
|
-
return false if @metadata.nil?
|
|
169
|
+
return false if @callback_url.nil?
|
|
121
170
|
true
|
|
122
171
|
end
|
|
123
172
|
|
|
124
173
|
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object]
|
|
126
|
-
def
|
|
127
|
-
if
|
|
128
|
-
fail ArgumentError, '
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@callback = callback
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
# Custom attribute writer method with validation
|
|
135
|
-
# @param [Object] metadata Value to be assigned
|
|
136
|
-
def metadata=(metadata)
|
|
137
|
-
if metadata.nil?
|
|
138
|
-
fail ArgumentError, 'metadata cannot be nil'
|
|
174
|
+
# @param [Object] callback_url Value to be assigned
|
|
175
|
+
def callback_url=(callback_url)
|
|
176
|
+
if callback_url.nil?
|
|
177
|
+
fail ArgumentError, 'callback_url cannot be nil'
|
|
139
178
|
end
|
|
140
179
|
|
|
141
|
-
@
|
|
180
|
+
@callback_url = callback_url
|
|
142
181
|
end
|
|
143
182
|
|
|
144
183
|
# Checks equality by comparing each attribute.
|
|
@@ -147,8 +186,12 @@ module FactPulse
|
|
|
147
186
|
return true if self.equal?(o)
|
|
148
187
|
self.class == o.class &&
|
|
149
188
|
webhook_id == o.webhook_id &&
|
|
150
|
-
|
|
151
|
-
|
|
189
|
+
signing_key == o.signing_key &&
|
|
190
|
+
created_at == o.created_at &&
|
|
191
|
+
callback_url == o.callback_url &&
|
|
192
|
+
flow_types == o.flow_types &&
|
|
193
|
+
flow_direction == o.flow_direction &&
|
|
194
|
+
ack_status == o.ack_status
|
|
152
195
|
end
|
|
153
196
|
|
|
154
197
|
# @see the `==` method
|
|
@@ -160,7 +203,7 @@ module FactPulse
|
|
|
160
203
|
# Calculates hash code according to all attributes.
|
|
161
204
|
# @return [Integer] Hash code
|
|
162
205
|
def hash
|
|
163
|
-
[webhook_id,
|
|
206
|
+
[webhook_id, signing_key, created_at, callback_url, flow_types, flow_direction, ack_status].hash
|
|
164
207
|
end
|
|
165
208
|
|
|
166
209
|
# Builds the object from hash
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: contact@factpulse.fr
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.21.0
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -17,10 +17,16 @@ module FactPulse
|
|
|
17
17
|
class AFNORWebhookIdParam < ApiModelBase
|
|
18
18
|
attr_accessor :webhook_id
|
|
19
19
|
|
|
20
|
+
attr_accessor :signing_key
|
|
21
|
+
|
|
22
|
+
attr_accessor :created_at
|
|
23
|
+
|
|
20
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
25
|
def self.attribute_map
|
|
22
26
|
{
|
|
23
|
-
:'webhook_id' => :'webhookId'
|
|
27
|
+
:'webhook_id' => :'webhookId',
|
|
28
|
+
:'signing_key' => :'signingKey',
|
|
29
|
+
:'created_at' => :'createdAt'
|
|
24
30
|
}
|
|
25
31
|
end
|
|
26
32
|
|
|
@@ -37,7 +43,9 @@ module FactPulse
|
|
|
37
43
|
# Attribute type mapping.
|
|
38
44
|
def self.openapi_types
|
|
39
45
|
{
|
|
40
|
-
:'webhook_id' => :'String'
|
|
46
|
+
:'webhook_id' => :'String',
|
|
47
|
+
:'signing_key' => :'String',
|
|
48
|
+
:'created_at' => :'Time'
|
|
41
49
|
}
|
|
42
50
|
end
|
|
43
51
|
|
|
@@ -66,6 +74,14 @@ module FactPulse
|
|
|
66
74
|
if attributes.key?(:'webhook_id')
|
|
67
75
|
self.webhook_id = attributes[:'webhook_id']
|
|
68
76
|
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'signing_key')
|
|
79
|
+
self.signing_key = attributes[:'signing_key']
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'created_at')
|
|
83
|
+
self.created_at = attributes[:'created_at']
|
|
84
|
+
end
|
|
69
85
|
end
|
|
70
86
|
|
|
71
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -88,7 +104,9 @@ module FactPulse
|
|
|
88
104
|
def ==(o)
|
|
89
105
|
return true if self.equal?(o)
|
|
90
106
|
self.class == o.class &&
|
|
91
|
-
webhook_id == o.webhook_id
|
|
107
|
+
webhook_id == o.webhook_id &&
|
|
108
|
+
signing_key == o.signing_key &&
|
|
109
|
+
created_at == o.created_at
|
|
92
110
|
end
|
|
93
111
|
|
|
94
112
|
# @see the `==` method
|
|
@@ -100,7 +118,7 @@ module FactPulse
|
|
|
100
118
|
# Calculates hash code according to all attributes.
|
|
101
119
|
# @return [Integer] Hash code
|
|
102
120
|
def hash
|
|
103
|
-
[webhook_id].hash
|
|
121
|
+
[webhook_id, signing_key, created_at].hash
|
|
104
122
|
end
|
|
105
123
|
|
|
106
124
|
# 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
|
|
|
@@ -15,15 +15,43 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
17
|
class AFNORWebhookParams < ApiModelBase
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :callback_url
|
|
19
19
|
|
|
20
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :flow_types
|
|
21
|
+
|
|
22
|
+
attr_accessor :flow_direction
|
|
23
|
+
|
|
24
|
+
attr_accessor :ack_status
|
|
25
|
+
|
|
26
|
+
class EnumAttributeValidator
|
|
27
|
+
attr_reader :datatype
|
|
28
|
+
attr_reader :allowable_values
|
|
29
|
+
|
|
30
|
+
def initialize(datatype, allowable_values)
|
|
31
|
+
@allowable_values = allowable_values.map do |value|
|
|
32
|
+
case datatype.to_s
|
|
33
|
+
when /Integer/i
|
|
34
|
+
value.to_i
|
|
35
|
+
when /Float/i
|
|
36
|
+
value.to_f
|
|
37
|
+
else
|
|
38
|
+
value
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def valid?(value)
|
|
44
|
+
!value || allowable_values.include?(value)
|
|
45
|
+
end
|
|
46
|
+
end
|
|
21
47
|
|
|
22
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
49
|
def self.attribute_map
|
|
24
50
|
{
|
|
25
|
-
:'
|
|
26
|
-
:'
|
|
51
|
+
:'callback_url' => :'callbackUrl',
|
|
52
|
+
:'flow_types' => :'flowTypes',
|
|
53
|
+
:'flow_direction' => :'flowDirection',
|
|
54
|
+
:'ack_status' => :'ackStatus'
|
|
27
55
|
}
|
|
28
56
|
end
|
|
29
57
|
|
|
@@ -40,8 +68,10 @@ module FactPulse
|
|
|
40
68
|
# Attribute type mapping.
|
|
41
69
|
def self.openapi_types
|
|
42
70
|
{
|
|
43
|
-
:'
|
|
44
|
-
:'
|
|
71
|
+
:'callback_url' => :'String',
|
|
72
|
+
:'flow_types' => :'Array<AFNORFlowType>',
|
|
73
|
+
:'flow_direction' => :'AFNORFlowDirection',
|
|
74
|
+
:'ack_status' => :'AFNORFlowAckStatus'
|
|
45
75
|
}
|
|
46
76
|
end
|
|
47
77
|
|
|
@@ -67,16 +97,24 @@ module FactPulse
|
|
|
67
97
|
h[k.to_sym] = v
|
|
68
98
|
}
|
|
69
99
|
|
|
70
|
-
if attributes.key?(:'
|
|
71
|
-
self.
|
|
100
|
+
if attributes.key?(:'callback_url')
|
|
101
|
+
self.callback_url = attributes[:'callback_url']
|
|
72
102
|
else
|
|
73
|
-
self.
|
|
103
|
+
self.callback_url = nil
|
|
74
104
|
end
|
|
75
105
|
|
|
76
|
-
if attributes.key?(:'
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
106
|
+
if attributes.key?(:'flow_types')
|
|
107
|
+
if (value = attributes[:'flow_types']).is_a?(Array)
|
|
108
|
+
self.flow_types = value
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'flow_direction')
|
|
113
|
+
self.flow_direction = attributes[:'flow_direction']
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'ack_status')
|
|
117
|
+
self.ack_status = attributes[:'ack_status']
|
|
80
118
|
end
|
|
81
119
|
end
|
|
82
120
|
|
|
@@ -85,12 +123,8 @@ module FactPulse
|
|
|
85
123
|
def list_invalid_properties
|
|
86
124
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
87
125
|
invalid_properties = Array.new
|
|
88
|
-
if @
|
|
89
|
-
invalid_properties.push('invalid value for "
|
|
90
|
-
end
|
|
91
|
-
|
|
92
|
-
if @metadata.nil?
|
|
93
|
-
invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
|
|
126
|
+
if @callback_url.nil?
|
|
127
|
+
invalid_properties.push('invalid value for "callback_url", callback_url cannot be nil.')
|
|
94
128
|
end
|
|
95
129
|
|
|
96
130
|
invalid_properties
|
|
@@ -100,29 +134,18 @@ module FactPulse
|
|
|
100
134
|
# @return true if the model is valid
|
|
101
135
|
def valid?
|
|
102
136
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
103
|
-
return false if @
|
|
104
|
-
return false if @metadata.nil?
|
|
137
|
+
return false if @callback_url.nil?
|
|
105
138
|
true
|
|
106
139
|
end
|
|
107
140
|
|
|
108
141
|
# Custom attribute writer method with validation
|
|
109
|
-
# @param [Object]
|
|
110
|
-
def
|
|
111
|
-
if
|
|
112
|
-
fail ArgumentError, '
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
@callback = callback
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
# Custom attribute writer method with validation
|
|
119
|
-
# @param [Object] metadata Value to be assigned
|
|
120
|
-
def metadata=(metadata)
|
|
121
|
-
if metadata.nil?
|
|
122
|
-
fail ArgumentError, 'metadata cannot be nil'
|
|
142
|
+
# @param [Object] callback_url Value to be assigned
|
|
143
|
+
def callback_url=(callback_url)
|
|
144
|
+
if callback_url.nil?
|
|
145
|
+
fail ArgumentError, 'callback_url cannot be nil'
|
|
123
146
|
end
|
|
124
147
|
|
|
125
|
-
@
|
|
148
|
+
@callback_url = callback_url
|
|
126
149
|
end
|
|
127
150
|
|
|
128
151
|
# Checks equality by comparing each attribute.
|
|
@@ -130,8 +153,10 @@ module FactPulse
|
|
|
130
153
|
def ==(o)
|
|
131
154
|
return true if self.equal?(o)
|
|
132
155
|
self.class == o.class &&
|
|
133
|
-
|
|
134
|
-
|
|
156
|
+
callback_url == o.callback_url &&
|
|
157
|
+
flow_types == o.flow_types &&
|
|
158
|
+
flow_direction == o.flow_direction &&
|
|
159
|
+
ack_status == o.ack_status
|
|
135
160
|
end
|
|
136
161
|
|
|
137
162
|
# @see the `==` method
|
|
@@ -143,7 +168,7 @@ module FactPulse
|
|
|
143
168
|
# Calculates hash code according to all attributes.
|
|
144
169
|
# @return [Integer] Hash code
|
|
145
170
|
def hash
|
|
146
|
-
[
|
|
171
|
+
[callback_url, flow_types, flow_direction, ack_status].hash
|
|
147
172
|
end
|
|
148
173
|
|
|
149
174
|
# 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
|
|
|
@@ -83,7 +83,7 @@ module FactPulse
|
|
|
83
83
|
def self.openapi_types
|
|
84
84
|
{
|
|
85
85
|
:'is_charge' => :'Boolean',
|
|
86
|
-
:'amount' => :'
|
|
86
|
+
:'amount' => :'Amount',
|
|
87
87
|
:'base_amount' => :'BaseAmount',
|
|
88
88
|
:'percentage' => :'Percentage',
|
|
89
89
|
:'reason' => :'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
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
#
|
|
17
|
+
# Allowance/charge amount (BT-92/99/136/141).
|
|
18
18
|
module Amount
|
|
19
19
|
class << self
|
|
20
20
|
# List of class defined in anyOf (OpenAPI v3)
|
|
@@ -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
|
-
#
|
|
17
|
+
# Montant encaissé en EUR (obligatoire, BR-FR-CDV-14)
|
|
18
18
|
module Amount1
|
|
19
19
|
class << self
|
|
20
20
|
# List of class defined in anyOf (OpenAPI v3)
|
|
@@ -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
|
-
#
|
|
17
|
+
# Payment amount
|
|
18
18
|
module Amount2
|
|
19
19
|
class << self
|
|
20
20
|
# List of class defined in anyOf (OpenAPI v3)
|