@factpulse/sdk 3.0.9 → 3.0.13
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.
- package/.openapi-generator/FILES +282 -8
- package/CHANGELOG.md +3 -3
- package/LICENSE +1 -1
- package/api/afnorpdppaapi.ts +10 -10
- package/api/afnorpdppadirectory-service-api.ts +560 -284
- package/api/afnorpdppaflow-service-api.ts +96 -43
- package/api/chorus-pro-api.ts +12 -10
- package/api/document-conversion-api.ts +34 -122
- package/api/downloads-api.ts +360 -0
- package/api/ereporting-api.ts +927 -0
- package/api/health-api.ts +2 -2
- package/api/invoice-processing-api.ts +158 -68
- package/api/pdfxmlverification-api.ts +64 -32
- package/api/user-api.ts +2 -2
- package/api.ts +4 -2
- package/base.ts +3 -3
- package/common.ts +17 -4
- package/configuration.ts +2 -2
- package/dist/api/afnorpdppaapi.d.ts +10 -10
- package/dist/api/afnorpdppaapi.js +10 -10
- package/dist/api/afnorpdppadirectory-service-api.d.ts +359 -229
- package/dist/api/afnorpdppadirectory-service-api.js +519 -280
- package/dist/api/afnorpdppaflow-service-api.d.ts +54 -33
- package/dist/api/afnorpdppaflow-service-api.js +76 -40
- package/dist/api/chorus-pro-api.d.ts +10 -10
- package/dist/api/chorus-pro-api.js +10 -10
- package/dist/api/document-conversion-api.d.ts +26 -62
- package/dist/api/document-conversion-api.js +32 -113
- package/dist/api/downloads-api.d.ts +170 -0
- package/dist/api/downloads-api.js +356 -0
- package/dist/api/ereporting-api.d.ts +443 -0
- package/dist/api/ereporting-api.js +878 -0
- package/dist/api/health-api.d.ts +2 -2
- package/dist/api/health-api.js +2 -2
- package/dist/api/invoice-processing-api.d.ts +94 -50
- package/dist/api/invoice-processing-api.js +145 -68
- package/dist/api/pdfxmlverification-api.d.ts +42 -26
- package/dist/api/pdfxmlverification-api.js +60 -32
- package/dist/api/user-api.d.ts +2 -2
- package/dist/api/user-api.js +2 -2
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/base.d.ts +2 -2
- package/dist/base.js +3 -3
- package/dist/common.d.ts +8 -2
- package/dist/common.js +19 -5
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api/afnorpdppaapi.d.ts +10 -10
- package/dist/esm/api/afnorpdppaapi.js +10 -10
- package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +359 -229
- package/dist/esm/api/afnorpdppadirectory-service-api.js +520 -281
- package/dist/esm/api/afnorpdppaflow-service-api.d.ts +54 -33
- package/dist/esm/api/afnorpdppaflow-service-api.js +77 -41
- package/dist/esm/api/chorus-pro-api.d.ts +10 -10
- package/dist/esm/api/chorus-pro-api.js +10 -10
- package/dist/esm/api/document-conversion-api.d.ts +26 -62
- package/dist/esm/api/document-conversion-api.js +32 -113
- package/dist/esm/api/downloads-api.d.ts +170 -0
- package/dist/esm/api/downloads-api.js +346 -0
- package/dist/esm/api/ereporting-api.d.ts +443 -0
- package/dist/esm/api/ereporting-api.js +868 -0
- package/dist/esm/api/health-api.d.ts +2 -2
- package/dist/esm/api/health-api.js +2 -2
- package/dist/esm/api/invoice-processing-api.d.ts +94 -50
- package/dist/esm/api/invoice-processing-api.js +145 -68
- package/dist/esm/api/pdfxmlverification-api.d.ts +42 -26
- package/dist/esm/api/pdfxmlverification-api.js +60 -32
- package/dist/esm/api/user-api.d.ts +2 -2
- package/dist/esm/api/user-api.js +2 -2
- package/dist/esm/api.d.ts +4 -2
- package/dist/esm/api.js +4 -2
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +3 -3
- package/dist/esm/common.d.ts +8 -2
- package/dist/esm/common.js +17 -4
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/models/accept-language.d.ts +19 -0
- package/dist/esm/models/accept-language.js +20 -0
- package/dist/esm/models/acknowledgment-status.d.ts +2 -2
- package/dist/esm/models/acknowledgment-status.js +2 -2
- package/dist/esm/models/additional-document.d.ts +2 -2
- package/dist/esm/models/additional-document.js +2 -2
- package/dist/esm/models/afnoracknowledgement-detail.d.ts +26 -0
- package/dist/esm/models/afnoracknowledgement-detail.js +17 -0
- package/dist/esm/models/afnoracknowledgement.d.ts +17 -0
- package/dist/esm/models/afnoracknowledgement.js +14 -0
- package/dist/esm/models/afnoraddress-edit.d.ts +44 -0
- package/dist/esm/models/afnoraddress-edit.js +14 -0
- package/dist/esm/models/afnoraddress-patch.d.ts +44 -0
- package/dist/esm/models/afnoraddress-patch.js +14 -0
- package/dist/esm/models/afnoraddress-put.d.ts +44 -0
- package/dist/esm/models/afnoraddress-put.js +14 -0
- package/dist/esm/models/afnoraddress-read.d.ts +48 -0
- package/dist/esm/models/afnoraddress-read.js +14 -0
- package/dist/esm/models/afnoralgorithm.d.ts +19 -0
- package/dist/esm/models/afnoralgorithm.js +20 -0
- package/dist/esm/models/afnorcontains-operator.d.ts +18 -0
- package/dist/esm/models/afnorcontains-operator.js +19 -0
- package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.d.ts +29 -0
- package/dist/esm/models/afnorcreate-directory-line-body-addressing-information.js +14 -0
- package/dist/esm/models/afnorcreate-directory-line-body-period.d.ts +21 -0
- package/dist/esm/models/afnorcreate-directory-line-body-period.js +14 -0
- package/dist/esm/models/afnorcreate-directory-line-body.d.ts +17 -0
- package/dist/esm/models/afnorcreate-directory-line-body.js +14 -0
- package/dist/esm/models/afnorcreate-routing-code-body.d.ts +39 -0
- package/dist/esm/models/afnorcreate-routing-code-body.js +14 -0
- package/dist/esm/models/afnorcredentials.d.ts +2 -2
- package/dist/esm/models/afnorcredentials.js +2 -2
- package/dist/esm/models/afnordestination.d.ts +7 -10
- package/dist/esm/models/afnordestination.js +2 -7
- package/dist/esm/models/afnordiffusion-status.d.ts +19 -0
- package/dist/esm/models/afnordiffusion-status.js +20 -0
- package/dist/esm/models/afnordirectory-line-field.d.ts +23 -0
- package/dist/esm/models/afnordirectory-line-field.js +24 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +17 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +14 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +33 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +14 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +37 -0
- package/dist/esm/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +14 -0
- package/dist/esm/models/afnordirectory-line-post201-response.d.ts +25 -0
- package/dist/esm/models/afnordirectory-line-post201-response.js +14 -0
- package/dist/esm/models/afnordirectory-line-search-post200-response.d.ts +21 -0
- package/dist/esm/models/afnordirectory-line-search-post200-response.js +14 -0
- package/dist/esm/models/afnorentity-type.d.ts +19 -0
- package/dist/esm/models/afnorentity-type.js +20 -0
- package/dist/esm/models/afnorerror.d.ts +21 -0
- package/dist/esm/models/afnorerror.js +14 -0
- package/dist/esm/models/afnorfacility-administrative-status.d.ts +19 -0
- package/dist/esm/models/afnorfacility-administrative-status.js +20 -0
- package/dist/esm/models/afnorfacility-nature.d.ts +19 -0
- package/dist/esm/models/afnorfacility-nature.js +20 -0
- package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +37 -0
- package/dist/esm/models/afnorfacility-payload-history-ule-b2g-additional-data.js +14 -0
- package/dist/esm/models/afnorfacility-payload-history.d.ts +37 -0
- package/dist/esm/models/afnorfacility-payload-history.js +14 -0
- package/dist/esm/models/afnorfacility-payload-included.d.ts +35 -0
- package/dist/esm/models/afnorfacility-payload-included.js +14 -0
- package/dist/esm/models/afnorfacility-type.d.ts +19 -0
- package/dist/esm/models/afnorfacility-type.js +20 -0
- package/dist/esm/models/afnorflow-ack-status.d.ts +20 -0
- package/dist/esm/models/afnorflow-ack-status.js +21 -0
- package/dist/esm/models/afnorflow-direction.d.ts +19 -0
- package/dist/esm/models/afnorflow-direction.js +20 -0
- package/dist/esm/models/afnorflow-info.d.ts +31 -0
- package/dist/esm/models/afnorflow-info.js +14 -0
- package/dist/esm/models/afnorflow-profile.d.ts +17 -0
- package/dist/esm/models/afnorflow-profile.js +18 -0
- package/dist/esm/models/afnorflow-syntax.d.ts +22 -0
- package/dist/esm/models/afnorflow-syntax.js +23 -0
- package/dist/esm/models/afnorflow-type.d.ts +30 -0
- package/dist/esm/models/afnorflow-type.js +31 -0
- package/dist/esm/models/afnorflow.d.ts +53 -0
- package/dist/esm/models/afnorflow.js +17 -0
- package/dist/esm/models/afnorfull-flow-info.d.ts +17 -0
- package/dist/esm/models/afnorfull-flow-info.js +14 -0
- package/dist/esm/models/afnorhealth-check-response.d.ts +2 -2
- package/dist/esm/models/afnorhealth-check-response.js +2 -2
- package/dist/esm/models/afnorlegal-unit-administrative-status.d.ts +19 -0
- package/dist/esm/models/afnorlegal-unit-administrative-status.js +20 -0
- package/dist/esm/models/afnorlegal-unit-payload-history.d.ts +25 -0
- package/dist/esm/models/afnorlegal-unit-payload-history.js +14 -0
- package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.d.ts +21 -0
- package/dist/esm/models/afnorlegal-unit-payload-included-no-siren.js +14 -0
- package/dist/esm/models/afnorlegal-unit-payload-included.d.ts +25 -0
- package/dist/esm/models/afnorlegal-unit-payload-included.js +14 -0
- package/dist/esm/models/afnorplatform-status.d.ts +19 -0
- package/dist/esm/models/afnorplatform-status.js +20 -0
- package/dist/esm/models/afnorprocessing-rule.d.ts +23 -0
- package/dist/esm/models/afnorprocessing-rule.js +24 -0
- package/dist/esm/models/afnorreason-code-enum.d.ts +32 -0
- package/dist/esm/models/afnorreason-code-enum.js +33 -0
- package/dist/esm/models/afnorreason-code.d.ts +17 -0
- package/dist/esm/models/afnorreason-code.js +14 -0
- package/dist/esm/models/afnorrecipient-platform-type.d.ts +19 -0
- package/dist/esm/models/afnorrecipient-platform-type.js +20 -0
- package/dist/esm/models/afnorresult.d.ts +5 -2
- package/dist/esm/models/afnorresult.js +2 -2
- package/dist/esm/models/afnorrouting-code-administrative-status.d.ts +19 -0
- package/dist/esm/models/afnorrouting-code-administrative-status.js +20 -0
- package/dist/esm/models/afnorrouting-code-field.d.ts +25 -0
- package/dist/esm/models/afnorrouting-code-field.js +26 -0
- package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +41 -0
- package/dist/esm/models/afnorrouting-code-payload-history-legal-unit-facility.js +14 -0
- package/dist/esm/models/afnorrouting-code-post201-response.d.ts +25 -0
- package/dist/esm/models/afnorrouting-code-post201-response.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.d.ts +17 -0
- package/dist/esm/models/afnorrouting-code-search-filters-administrative-status.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.d.ts +19 -0
- package/dist/esm/models/afnorrouting-code-search-filters-routing-code-name.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.d.ts +19 -0
- package/dist/esm/models/afnorrouting-code-search-filters-routing-identifier.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-filters.d.ts +27 -0
- package/dist/esm/models/afnorrouting-code-search-filters.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-post200-response.d.ts +21 -0
- package/dist/esm/models/afnorrouting-code-search-post200-response.js +14 -0
- package/dist/esm/models/afnorrouting-code-search-sorting-inner.d.ts +20 -0
- package/dist/esm/models/afnorrouting-code-search-sorting-inner.js +14 -0
- package/dist/esm/models/afnorrouting-code-search.d.ts +39 -0
- package/dist/esm/models/afnorrouting-code-search.js +17 -0
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +19 -0
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-identifier.js +14 -0
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +19 -0
- package/dist/esm/models/afnorsearch-directory-line-filters-addressing-suffix.js +14 -0
- package/dist/esm/models/afnorsearch-directory-line-filters.d.ts +23 -0
- package/dist/esm/models/afnorsearch-directory-line-filters.js +14 -0
- package/dist/esm/models/afnorsearch-directory-line-sorting-inner.d.ts +20 -0
- package/dist/esm/models/afnorsearch-directory-line-sorting-inner.js +14 -0
- package/dist/esm/models/afnorsearch-directory-line.d.ts +33 -0
- package/dist/esm/models/afnorsearch-directory-line.js +14 -0
- package/dist/esm/models/afnorsearch-flow-content.d.ts +21 -0
- package/dist/esm/models/afnorsearch-flow-content.js +14 -0
- package/dist/esm/models/afnorsearch-flow-filters.d.ts +30 -0
- package/dist/esm/models/afnorsearch-flow-filters.js +14 -0
- package/dist/esm/models/afnorsearch-flow-params.d.ts +19 -0
- package/dist/esm/models/afnorsearch-flow-params.js +14 -0
- package/dist/esm/models/afnorsearch-siren-filters-administrative-status.d.ts +17 -0
- package/dist/esm/models/afnorsearch-siren-filters-administrative-status.js +14 -0
- package/dist/esm/models/afnorsearch-siren-filters-business-name.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siren-filters-business-name.js +14 -0
- package/dist/esm/models/afnorsearch-siren-filters-entity-type.d.ts +17 -0
- package/dist/esm/models/afnorsearch-siren-filters-entity-type.js +14 -0
- package/dist/esm/models/afnorsearch-siren-filters-siren.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siren-filters-siren.js +14 -0
- package/dist/esm/models/afnorsearch-siren-filters.d.ts +21 -0
- package/dist/esm/models/afnorsearch-siren-filters.js +14 -0
- package/dist/esm/models/afnorsearch-siren-sorting-inner.d.ts +20 -0
- package/dist/esm/models/afnorsearch-siren-sorting-inner.js +14 -0
- package/dist/esm/models/afnorsearch-siren.d.ts +33 -0
- package/dist/esm/models/afnorsearch-siren.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-address-lines.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-address-lines.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-administrative-status.d.ts +17 -0
- package/dist/esm/models/afnorsearch-siret-filters-administrative-status.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-country-subdivision.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-facility-type.d.ts +17 -0
- package/dist/esm/models/afnorsearch-siret-filters-facility-type.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-locality.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-locality.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-name.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-name.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-postal-code.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-postal-code.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters-siret.d.ts +19 -0
- package/dist/esm/models/afnorsearch-siret-filters-siret.js +14 -0
- package/dist/esm/models/afnorsearch-siret-filters.d.ts +31 -0
- package/dist/esm/models/afnorsearch-siret-filters.js +14 -0
- package/dist/esm/models/afnorsearch-siret-sorting-inner.d.ts +20 -0
- package/dist/esm/models/afnorsearch-siret-sorting-inner.js +14 -0
- package/dist/esm/models/afnorsearch-siret.d.ts +38 -0
- package/dist/esm/models/afnorsearch-siret.js +16 -0
- package/dist/esm/models/afnorsiren-field.d.ts +22 -0
- package/dist/esm/models/afnorsiren-field.js +23 -0
- package/dist/esm/models/afnorsiren-search-post200-response.d.ts +21 -0
- package/dist/esm/models/afnorsiren-search-post200-response.js +14 -0
- package/dist/esm/models/afnorsiret-field.d.ts +31 -0
- package/dist/esm/models/afnorsiret-field.js +32 -0
- package/dist/esm/models/afnorsiret-search-post200-response.d.ts +21 -0
- package/dist/esm/models/afnorsiret-search-post200-response.js +14 -0
- package/dist/esm/models/afnorsorting-order.d.ts +19 -0
- package/dist/esm/models/afnorsorting-order.js +20 -0
- package/dist/esm/models/afnorstrict-operator.d.ts +18 -0
- package/dist/esm/models/afnorstrict-operator.js +19 -0
- package/dist/esm/models/afnorupdate-patch-directory-line-body.d.ts +17 -0
- package/dist/esm/models/afnorupdate-patch-directory-line-body.js +14 -0
- package/dist/esm/models/afnorupdate-patch-routing-code-body.d.ts +25 -0
- package/dist/esm/models/afnorupdate-patch-routing-code-body.js +14 -0
- package/dist/esm/models/afnorupdate-put-routing-code-body.d.ts +25 -0
- package/dist/esm/models/afnorupdate-put-routing-code-body.js +14 -0
- package/dist/esm/models/afnorwebhook-callback-content.d.ts +18 -0
- package/dist/esm/models/afnorwebhook-callback-content.js +14 -0
- package/dist/esm/models/aggregated-payment-input.d.ts +27 -0
- package/dist/esm/models/aggregated-payment-input.js +14 -0
- package/dist/esm/models/aggregated-transaction-input.d.ts +39 -0
- package/dist/esm/models/aggregated-transaction-input.js +14 -0
- package/dist/esm/models/allowance-charge-reason-code.d.ts +55 -0
- package/dist/esm/models/allowance-charge-reason-code.js +56 -0
- package/dist/esm/models/allowance-charge.d.ts +8 -6
- package/dist/esm/models/allowance-charge.js +2 -2
- package/dist/esm/models/allowance-reason-code.d.ts +2 -2
- package/dist/esm/models/allowance-reason-code.js +2 -2
- package/dist/esm/models/allowance-total-amount.d.ts +2 -2
- package/dist/esm/models/allowance-total-amount.js +2 -2
- package/dist/esm/models/amount-due.d.ts +2 -2
- package/dist/esm/models/amount-due.js +2 -2
- package/dist/esm/models/amount.d.ts +3 -3
- package/dist/esm/models/amount.js +2 -2
- package/dist/esm/models/amount1.d.ts +16 -0
- package/dist/esm/models/amount1.js +14 -0
- package/dist/esm/models/apierror.d.ts +2 -2
- package/dist/esm/models/apierror.js +2 -2
- package/dist/esm/models/apiprofile.d.ts +3 -2
- package/dist/esm/models/apiprofile.js +3 -2
- package/dist/esm/models/async-task-status.d.ts +2 -2
- package/dist/esm/models/async-task-status.js +2 -2
- package/dist/esm/models/base-amount.d.ts +2 -2
- package/dist/esm/models/base-amount.js +2 -2
- package/dist/esm/models/bounding-box-schema.d.ts +2 -2
- package/dist/esm/models/bounding-box-schema.js +2 -2
- package/dist/esm/models/buyercountry.d.ts +16 -0
- package/dist/esm/models/buyercountry.js +14 -0
- package/dist/esm/models/celery-status.d.ts +2 -2
- package/dist/esm/models/celery-status.js +2 -2
- package/dist/esm/models/certificate-info-response.d.ts +2 -2
- package/dist/esm/models/certificate-info-response.js +2 -2
- package/dist/esm/models/charge-total-amount.d.ts +2 -2
- package/dist/esm/models/charge-total-amount.js +2 -2
- package/dist/esm/models/{facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts → chorus-pro-credentials.d.ts} +3 -3
- package/dist/esm/models/chorus-pro-credentials.js +14 -0
- package/dist/esm/models/chorus-pro-destination.d.ts +2 -2
- package/dist/esm/models/chorus-pro-destination.js +2 -2
- package/dist/esm/models/chorus-pro-result.d.ts +2 -2
- package/dist/esm/models/chorus-pro-result.js +2 -2
- package/dist/esm/models/contact.d.ts +2 -2
- package/dist/esm/models/contact.js +2 -2
- package/dist/esm/models/convert-resume-request.d.ts +2 -2
- package/dist/esm/models/convert-resume-request.js +2 -2
- package/dist/esm/models/convert-success-response.d.ts +2 -2
- package/dist/esm/models/convert-success-response.js +2 -2
- package/dist/esm/models/convert-validation-failed-response.d.ts +17 -2
- package/dist/esm/models/convert-validation-failed-response.js +2 -2
- package/dist/esm/models/country-code.d.ts +187 -0
- package/dist/esm/models/country-code.js +188 -0
- package/dist/esm/models/create-aggregated-report-request.d.ts +44 -0
- package/dist/esm/models/create-aggregated-report-request.js +14 -0
- package/dist/esm/models/create-ereporting-request.d.ts +49 -0
- package/dist/esm/models/create-ereporting-request.js +14 -0
- package/dist/esm/models/currency-code.d.ts +70 -0
- package/dist/esm/models/currency-code.js +71 -0
- package/dist/esm/models/currency.d.ts +16 -0
- package/dist/esm/models/currency.js +14 -0
- package/dist/esm/models/delivery-party.d.ts +2 -2
- package/dist/esm/models/delivery-party.js +2 -2
- package/dist/esm/models/destination.d.ts +2 -2
- package/dist/esm/models/destination.js +2 -2
- package/dist/esm/models/directory-line-include.d.ts +21 -0
- package/dist/esm/models/directory-line-include.js +22 -0
- package/dist/esm/models/doc-type.d.ts +21 -0
- package/dist/esm/models/doc-type.js +22 -0
- package/dist/esm/models/document-type-info.d.ts +2 -2
- package/dist/esm/models/document-type-info.js +2 -2
- package/dist/esm/models/electronic-address.d.ts +8 -2
- package/dist/esm/models/electronic-address.js +2 -2
- package/dist/esm/models/enriched-invoice-info.d.ts +20 -2
- package/dist/esm/models/enriched-invoice-info.js +2 -2
- package/dist/esm/models/ereporting-flow-type.d.ts +21 -0
- package/dist/esm/models/ereporting-flow-type.js +22 -0
- package/dist/esm/models/error-level.d.ts +2 -2
- package/dist/esm/models/error-level.js +2 -2
- package/dist/esm/models/error-source.d.ts +2 -2
- package/dist/esm/models/error-source.js +2 -2
- package/dist/esm/models/extraction-info.d.ts +2 -2
- package/dist/esm/models/extraction-info.js +2 -2
- package/dist/esm/models/factur-xinvoice.d.ts +2 -2
- package/dist/esm/models/factur-xinvoice.js +2 -2
- package/dist/esm/models/factur-xpdfinfo.d.ts +2 -2
- package/dist/esm/models/factur-xpdfinfo.js +2 -2
- package/dist/esm/models/facture-electronique-models-invoice-type-code.d.ts +81 -0
- package/dist/esm/models/facture-electronique-models-invoice-type-code.js +82 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-convert-validation-error.d.ts +33 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-convert-validation-error.js +14 -0
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +2 -2
- package/dist/esm/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +2 -2
- package/dist/esm/models/field-status.d.ts +2 -2
- package/dist/esm/models/field-status.js +2 -2
- package/dist/esm/models/file-info.d.ts +2 -2
- package/dist/esm/models/file-info.js +2 -2
- package/dist/esm/models/files-info.d.ts +2 -2
- package/dist/esm/models/files-info.js +2 -2
- package/dist/esm/models/flow-direction.d.ts +2 -2
- package/dist/esm/models/flow-direction.js +2 -2
- package/dist/esm/models/flow-profile.d.ts +2 -2
- package/dist/esm/models/flow-profile.js +2 -2
- package/dist/esm/models/flow-summary.d.ts +8 -2
- package/dist/esm/models/flow-summary.js +2 -2
- package/dist/esm/models/flow-syntax.d.ts +2 -2
- package/dist/esm/models/flow-syntax.js +2 -2
- package/dist/esm/models/flow-type.d.ts +12 -4
- package/dist/esm/models/flow-type.js +12 -4
- package/dist/esm/models/generate-aggregated-report-response.d.ts +46 -0
- package/dist/esm/models/generate-aggregated-report-response.js +14 -0
- package/dist/esm/models/generate-certificate-request.d.ts +2 -2
- package/dist/esm/models/generate-certificate-request.js +2 -2
- package/dist/esm/models/generate-certificate-response.d.ts +2 -2
- package/dist/esm/models/generate-certificate-response.js +2 -2
- package/dist/esm/models/generate-ereporting-response.d.ts +36 -0
- package/dist/esm/models/generate-ereporting-response.js +14 -0
- package/dist/esm/models/get-chorus-pro-id-request.d.ts +4 -4
- package/dist/esm/models/get-chorus-pro-id-request.js +2 -2
- package/dist/esm/models/get-chorus-pro-id-response.d.ts +2 -2
- package/dist/esm/models/get-chorus-pro-id-response.js +2 -2
- package/dist/esm/models/get-invoice-request.d.ts +4 -4
- package/dist/esm/models/get-invoice-request.js +2 -2
- package/dist/esm/models/get-invoice-response.d.ts +8 -2
- package/dist/esm/models/get-invoice-response.js +2 -2
- package/dist/esm/models/get-structure-request.d.ts +4 -4
- package/dist/esm/models/get-structure-request.js +2 -2
- package/dist/esm/models/get-structure-response.d.ts +8 -2
- package/dist/esm/models/get-structure-response.js +2 -2
- package/dist/esm/models/global-allowance-amount.d.ts +2 -2
- package/dist/esm/models/global-allowance-amount.js +2 -2
- package/dist/esm/models/gross-unit-price.d.ts +2 -2
- package/dist/esm/models/gross-unit-price.js +2 -2
- package/dist/esm/models/httpvalidation-error.d.ts +2 -2
- package/dist/esm/models/httpvalidation-error.js +2 -2
- package/dist/esm/models/incoming-invoice.d.ts +4 -4
- package/dist/esm/models/incoming-invoice.js +2 -2
- package/dist/esm/models/incoming-supplier.d.ts +2 -2
- package/dist/esm/models/incoming-supplier.js +2 -2
- package/dist/esm/models/index.d.ts +139 -4
- package/dist/esm/models/index.js +139 -4
- package/dist/esm/models/invoice-format.d.ts +2 -2
- package/dist/esm/models/invoice-format.js +2 -2
- package/dist/esm/models/invoice-input.d.ts +54 -0
- package/dist/esm/models/invoice-input.js +14 -0
- package/dist/esm/models/invoice-line-allowance-amount.d.ts +2 -2
- package/dist/esm/models/invoice-line-allowance-amount.js +2 -2
- package/dist/esm/models/invoice-line.d.ts +5 -2
- package/dist/esm/models/invoice-line.js +2 -2
- package/dist/esm/models/invoice-note.d.ts +5 -2
- package/dist/esm/models/invoice-note.js +2 -2
- package/dist/esm/models/invoice-payment-input.d.ts +35 -0
- package/dist/esm/models/invoice-payment-input.js +14 -0
- package/dist/esm/models/invoice-references.d.ts +2 -2
- package/dist/esm/models/invoice-references.js +2 -2
- package/dist/esm/models/invoice-status.d.ts +2 -2
- package/dist/esm/models/invoice-status.js +2 -2
- package/dist/esm/models/invoice-totals-prepayment.d.ts +2 -2
- package/dist/esm/models/invoice-totals-prepayment.js +2 -2
- package/dist/esm/models/invoice-totals.d.ts +2 -2
- package/dist/esm/models/invoice-totals.js +2 -2
- package/dist/esm/models/invoice-type-code-output.d.ts +81 -0
- package/dist/esm/models/invoice-type-code-output.js +82 -0
- package/dist/esm/models/invoice-type-code.d.ts +8 -67
- package/dist/esm/models/invoice-type-code.js +8 -67
- package/dist/esm/models/invoicing-framework-code.d.ts +2 -2
- package/dist/esm/models/invoicing-framework-code.js +2 -2
- package/dist/esm/models/invoicing-framework.d.ts +5 -2
- package/dist/esm/models/invoicing-framework.js +2 -2
- package/dist/esm/models/line-net-amount.d.ts +2 -2
- package/dist/esm/models/line-net-amount.js +2 -2
- package/dist/esm/models/line-sub-type.d.ts +20 -0
- package/dist/esm/models/line-sub-type.js +21 -0
- package/dist/esm/models/line-total-amount.d.ts +2 -2
- package/dist/esm/models/line-total-amount.js +2 -2
- package/dist/esm/models/location-inner.d.ts +13 -0
- package/dist/esm/models/location-inner.js +14 -0
- package/dist/esm/models/mandatory-note-schema.d.ts +2 -2
- package/dist/esm/models/mandatory-note-schema.js +2 -2
- package/dist/esm/models/manual-rate.d.ts +2 -2
- package/dist/esm/models/manual-rate.js +2 -2
- package/dist/esm/models/manual-vat-rate.d.ts +2 -2
- package/dist/esm/models/manual-vat-rate.js +2 -2
- package/dist/esm/models/missing-field.d.ts +2 -2
- package/dist/esm/models/missing-field.js +2 -2
- package/dist/esm/models/operation-nature.d.ts +2 -2
- package/dist/esm/models/operation-nature.js +2 -2
- package/dist/esm/models/output-format.d.ts +2 -2
- package/dist/esm/models/output-format.js +2 -2
- package/dist/esm/models/page-dimensions-schema.d.ts +2 -2
- package/dist/esm/models/page-dimensions-schema.js +2 -2
- package/dist/esm/models/payee.d.ts +2 -2
- package/dist/esm/models/payee.js +2 -2
- package/dist/esm/models/payment-amount-by-rate.d.ts +20 -0
- package/dist/esm/models/payment-amount-by-rate.js +14 -0
- package/dist/esm/models/payment-card.d.ts +2 -2
- package/dist/esm/models/payment-card.js +2 -2
- package/dist/esm/models/payment-means.d.ts +2 -2
- package/dist/esm/models/payment-means.js +2 -2
- package/dist/esm/models/pdfvalidation-result-api.d.ts +2 -2
- package/dist/esm/models/pdfvalidation-result-api.js +2 -2
- package/dist/esm/models/pdpcredentials.d.ts +2 -2
- package/dist/esm/models/pdpcredentials.js +2 -2
- package/dist/esm/models/percentage.d.ts +2 -2
- package/dist/esm/models/percentage.js +2 -2
- package/dist/esm/models/postal-address.d.ts +2 -2
- package/dist/esm/models/postal-address.js +2 -2
- package/dist/esm/models/price-allowance-amount.d.ts +2 -2
- package/dist/esm/models/price-allowance-amount.js +2 -2
- package/dist/esm/models/price-basis-quantity.d.ts +2 -2
- package/dist/esm/models/price-basis-quantity.js +2 -2
- package/dist/esm/models/processing-options.d.ts +2 -2
- package/dist/esm/models/processing-options.js +2 -2
- package/dist/esm/models/processing-rule.d.ts +23 -0
- package/dist/esm/models/processing-rule.js +24 -0
- package/dist/esm/models/product-characteristic.d.ts +2 -2
- package/dist/esm/models/product-characteristic.js +2 -2
- package/dist/esm/models/product-classification.d.ts +2 -2
- package/dist/esm/models/product-classification.js +2 -2
- package/dist/esm/models/quantity.d.ts +2 -2
- package/dist/esm/models/quantity.js +2 -2
- package/dist/esm/models/rate.d.ts +16 -0
- package/dist/esm/models/rate.js +14 -0
- package/dist/esm/models/rate1.d.ts +16 -0
- package/dist/esm/models/rate1.js +14 -0
- package/dist/esm/models/recipient.d.ts +2 -2
- package/dist/esm/models/recipient.js +2 -2
- package/dist/esm/models/report-period.d.ts +24 -0
- package/dist/esm/models/report-period.js +14 -0
- package/dist/esm/models/report-sender.d.ts +25 -0
- package/dist/esm/models/report-sender.js +14 -0
- package/dist/esm/models/rounding-amount.d.ts +2 -2
- package/dist/esm/models/rounding-amount.js +2 -2
- package/dist/esm/models/routing-code-include.d.ts +19 -0
- package/dist/esm/models/routing-code-include.js +20 -0
- package/dist/esm/models/scheme-id.d.ts +30 -2
- package/dist/esm/models/scheme-id.js +31 -3
- package/dist/esm/models/search-flow-request.d.ts +2 -2
- package/dist/esm/models/search-flow-request.js +2 -2
- package/dist/esm/models/search-flow-response.d.ts +2 -2
- package/dist/esm/models/search-flow-response.js +2 -2
- package/dist/esm/models/search-services-response.d.ts +11 -2
- package/dist/esm/models/search-services-response.js +2 -2
- package/dist/esm/models/search-structure-request.d.ts +4 -4
- package/dist/esm/models/search-structure-request.js +2 -2
- package/dist/esm/models/search-structure-response.d.ts +2 -2
- package/dist/esm/models/search-structure-response.js +2 -2
- package/dist/esm/models/sellercountry.d.ts +16 -0
- package/dist/esm/models/sellercountry.js +14 -0
- package/dist/esm/models/signature-info-api.d.ts +2 -2
- package/dist/esm/models/signature-info-api.js +2 -2
- package/dist/esm/models/signature-info.d.ts +2 -2
- package/dist/esm/models/signature-info.js +2 -2
- package/dist/esm/models/signature-parameters.d.ts +2 -2
- package/dist/esm/models/signature-parameters.js +2 -2
- package/dist/esm/models/simplified-invoice-data.d.ts +12 -2
- package/dist/esm/models/simplified-invoice-data.js +2 -2
- package/dist/esm/models/siret-include.d.ts +18 -0
- package/dist/esm/models/siret-include.js +19 -0
- package/dist/esm/models/structure-info.d.ts +2 -2
- package/dist/esm/models/structure-info.js +2 -2
- package/dist/esm/models/structure-parameters.d.ts +2 -2
- package/dist/esm/models/structure-parameters.js +2 -2
- package/dist/esm/models/structure-service.d.ts +2 -2
- package/dist/esm/models/structure-service.js +2 -2
- package/dist/esm/models/submission-mode.d.ts +2 -2
- package/dist/esm/models/submission-mode.js +2 -2
- package/dist/esm/models/submit-aggregated-report-request.d.ts +26 -0
- package/dist/esm/models/submit-aggregated-report-request.js +14 -0
- package/dist/esm/models/submit-complete-invoice-request.d.ts +2 -2
- package/dist/esm/models/submit-complete-invoice-request.js +2 -2
- package/dist/esm/models/submit-complete-invoice-response.d.ts +2 -2
- package/dist/esm/models/submit-complete-invoice-response.js +2 -2
- package/dist/esm/models/submit-ereporting-request.d.ts +26 -0
- package/dist/esm/models/submit-ereporting-request.js +14 -0
- package/dist/esm/models/submit-ereporting-response.d.ts +41 -0
- package/dist/esm/models/submit-ereporting-response.js +14 -0
- package/dist/esm/models/submit-flow-request.d.ts +2 -2
- package/dist/esm/models/submit-flow-request.js +2 -2
- package/dist/esm/models/submit-flow-response.d.ts +2 -2
- package/dist/esm/models/submit-flow-response.js +2 -2
- package/dist/esm/models/submit-gross-amount.d.ts +2 -2
- package/dist/esm/models/submit-gross-amount.js +2 -2
- package/dist/esm/models/submit-invoice-request.d.ts +4 -4
- package/dist/esm/models/submit-invoice-request.js +2 -2
- package/dist/esm/models/submit-invoice-response.d.ts +2 -2
- package/dist/esm/models/submit-invoice-response.js +2 -2
- package/dist/esm/models/submit-net-amount.d.ts +2 -2
- package/dist/esm/models/submit-net-amount.js +2 -2
- package/dist/esm/models/submit-vat-amount.d.ts +2 -2
- package/dist/esm/models/submit-vat-amount.js +2 -2
- package/dist/esm/models/supplementary-attachment.d.ts +17 -2
- package/dist/esm/models/supplementary-attachment.js +2 -2
- package/dist/esm/models/supplier.d.ts +2 -2
- package/dist/esm/models/supplier.js +2 -2
- package/dist/esm/models/task-response.d.ts +2 -2
- package/dist/esm/models/task-response.js +2 -2
- package/dist/esm/models/tax-breakdown-input.d.ts +22 -0
- package/dist/esm/models/tax-breakdown-input.js +14 -0
- package/dist/esm/models/tax-due-date-type.d.ts +23 -0
- package/dist/esm/models/tax-due-date-type.js +24 -0
- package/dist/esm/models/tax-representative.d.ts +2 -2
- package/dist/esm/models/tax-representative.js +2 -2
- package/dist/esm/models/taxable-amount.d.ts +2 -2
- package/dist/esm/models/taxable-amount.js +2 -2
- package/dist/esm/models/taxableamount.d.ts +16 -0
- package/dist/esm/models/taxableamount.js +14 -0
- package/dist/esm/models/taxamount.d.ts +16 -0
- package/dist/esm/models/taxamount.js +14 -0
- package/dist/esm/models/taxamount1.d.ts +16 -0
- package/dist/esm/models/taxamount1.js +14 -0
- package/dist/esm/models/taxamount2.d.ts +16 -0
- package/dist/esm/models/taxamount2.js +14 -0
- package/dist/esm/models/taxexclusiveamount.d.ts +16 -0
- package/dist/esm/models/taxexclusiveamount.js +14 -0
- package/dist/esm/models/taxexclusiveamount1.d.ts +16 -0
- package/dist/esm/models/taxexclusiveamount1.js +14 -0
- package/dist/esm/models/total-gross-amount.d.ts +2 -2
- package/dist/esm/models/total-gross-amount.js +2 -2
- package/dist/esm/models/total-net-amount.d.ts +2 -2
- package/dist/esm/models/total-net-amount.js +2 -2
- package/dist/esm/models/total-vatamount.d.ts +2 -2
- package/dist/esm/models/total-vatamount.js +2 -2
- package/dist/esm/models/transaction-category.d.ts +21 -0
- package/dist/esm/models/transaction-category.js +22 -0
- package/dist/esm/models/transmission-type-code.d.ts +19 -0
- package/dist/esm/models/transmission-type-code.js +20 -0
- package/dist/esm/models/unit-net-price.d.ts +2 -2
- package/dist/esm/models/unit-net-price.js +2 -2
- package/dist/esm/models/unit-of-measure.d.ts +2 -2
- package/dist/esm/models/unit-of-measure.js +2 -2
- package/dist/esm/models/validate-ereporting-request.d.ts +21 -0
- package/dist/esm/models/validate-ereporting-request.js +14 -0
- package/dist/esm/models/validate-ereporting-response.d.ts +41 -0
- package/dist/esm/models/validate-ereporting-response.js +14 -0
- package/dist/esm/models/validation-error-detail.d.ts +2 -2
- package/dist/esm/models/validation-error-detail.js +2 -2
- package/dist/esm/models/validation-error-response.d.ts +2 -2
- package/dist/esm/models/validation-error-response.js +2 -2
- package/dist/esm/models/validation-error.d.ts +4 -4
- package/dist/esm/models/validation-error.js +2 -2
- package/dist/esm/models/validation-info.d.ts +4 -4
- package/dist/esm/models/validation-info.js +2 -2
- package/dist/esm/models/validation-success-response.d.ts +2 -2
- package/dist/esm/models/validation-success-response.js +2 -2
- package/dist/esm/models/vat-rate.d.ts +2 -2
- package/dist/esm/models/vat-rate.js +2 -2
- package/dist/esm/models/vataccounting-code.d.ts +2 -2
- package/dist/esm/models/vataccounting-code.js +2 -2
- package/dist/esm/models/vatamount.d.ts +2 -2
- package/dist/esm/models/vatamount.js +2 -2
- package/dist/esm/models/vatcategory.d.ts +2 -2
- package/dist/esm/models/vatcategory.js +2 -2
- package/dist/esm/models/vatline.d.ts +2 -2
- package/dist/esm/models/vatline.js +2 -2
- package/dist/esm/models/vatpoint-date-code.d.ts +2 -2
- package/dist/esm/models/vatpoint-date-code.js +2 -2
- package/dist/esm/models/verification-success-response.d.ts +2 -2
- package/dist/esm/models/verification-success-response.js +2 -2
- package/dist/esm/models/verified-field-schema.d.ts +2 -2
- package/dist/esm/models/verified-field-schema.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/accept-language.d.ts +19 -0
- package/dist/models/accept-language.js +23 -0
- package/dist/models/acknowledgment-status.d.ts +2 -2
- package/dist/models/acknowledgment-status.js +2 -2
- package/dist/models/additional-document.d.ts +2 -2
- package/dist/models/additional-document.js +2 -2
- package/dist/models/afnoracknowledgement-detail.d.ts +26 -0
- package/dist/models/afnoracknowledgement-detail.js +20 -0
- package/dist/models/afnoracknowledgement.d.ts +17 -0
- package/dist/models/afnoracknowledgement.js +15 -0
- package/dist/models/afnoraddress-edit.d.ts +44 -0
- package/dist/models/afnoraddress-edit.js +15 -0
- package/dist/models/afnoraddress-patch.d.ts +44 -0
- package/dist/models/afnoraddress-patch.js +15 -0
- package/dist/models/afnoraddress-put.d.ts +44 -0
- package/dist/models/afnoraddress-put.js +15 -0
- package/dist/models/afnoraddress-read.d.ts +48 -0
- package/dist/models/afnoraddress-read.js +15 -0
- package/dist/models/afnoralgorithm.d.ts +19 -0
- package/dist/models/afnoralgorithm.js +23 -0
- package/dist/models/afnorcontains-operator.d.ts +18 -0
- package/dist/models/afnorcontains-operator.js +22 -0
- package/dist/models/afnorcreate-directory-line-body-addressing-information.d.ts +29 -0
- package/dist/models/afnorcreate-directory-line-body-addressing-information.js +15 -0
- package/dist/models/afnorcreate-directory-line-body-period.d.ts +21 -0
- package/dist/models/afnorcreate-directory-line-body-period.js +15 -0
- package/dist/models/afnorcreate-directory-line-body.d.ts +17 -0
- package/dist/models/afnorcreate-directory-line-body.js +15 -0
- package/dist/models/afnorcreate-routing-code-body.d.ts +39 -0
- package/dist/models/afnorcreate-routing-code-body.js +15 -0
- package/dist/models/afnorcredentials.d.ts +2 -2
- package/dist/models/afnorcredentials.js +2 -2
- package/dist/models/afnordestination.d.ts +7 -10
- package/dist/models/afnordestination.js +3 -8
- package/dist/models/afnordiffusion-status.d.ts +19 -0
- package/dist/models/afnordiffusion-status.js +23 -0
- package/dist/models/afnordirectory-line-field.d.ts +23 -0
- package/dist/models/afnordirectory-line-field.js +27 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.d.ts +17 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.js +15 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.d.ts +33 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.js +15 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.d.ts +37 -0
- package/dist/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.js +15 -0
- package/dist/models/afnordirectory-line-post201-response.d.ts +25 -0
- package/dist/models/afnordirectory-line-post201-response.js +15 -0
- package/dist/models/afnordirectory-line-search-post200-response.d.ts +21 -0
- package/dist/models/afnordirectory-line-search-post200-response.js +15 -0
- package/dist/models/afnorentity-type.d.ts +19 -0
- package/dist/models/afnorentity-type.js +23 -0
- package/dist/models/afnorerror.d.ts +21 -0
- package/dist/models/afnorerror.js +15 -0
- package/dist/models/afnorfacility-administrative-status.d.ts +19 -0
- package/dist/models/afnorfacility-administrative-status.js +23 -0
- package/dist/models/afnorfacility-nature.d.ts +19 -0
- package/dist/models/afnorfacility-nature.js +23 -0
- package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.d.ts +37 -0
- package/dist/models/afnorfacility-payload-history-ule-b2g-additional-data.js +15 -0
- package/dist/models/afnorfacility-payload-history.d.ts +37 -0
- package/dist/models/afnorfacility-payload-history.js +15 -0
- package/dist/models/afnorfacility-payload-included.d.ts +35 -0
- package/dist/models/afnorfacility-payload-included.js +15 -0
- package/dist/models/afnorfacility-type.d.ts +19 -0
- package/dist/models/afnorfacility-type.js +23 -0
- package/dist/models/afnorflow-ack-status.d.ts +20 -0
- package/dist/models/afnorflow-ack-status.js +24 -0
- package/dist/models/afnorflow-direction.d.ts +19 -0
- package/dist/models/afnorflow-direction.js +23 -0
- package/dist/models/afnorflow-info.d.ts +31 -0
- package/dist/models/afnorflow-info.js +15 -0
- package/dist/models/afnorflow-profile.d.ts +17 -0
- package/dist/models/afnorflow-profile.js +21 -0
- package/dist/models/afnorflow-syntax.d.ts +22 -0
- package/dist/models/afnorflow-syntax.js +26 -0
- package/dist/models/afnorflow-type.d.ts +30 -0
- package/dist/models/afnorflow-type.js +34 -0
- package/dist/models/afnorflow.d.ts +53 -0
- package/dist/models/afnorflow.js +20 -0
- package/dist/models/afnorfull-flow-info.d.ts +17 -0
- package/dist/models/afnorfull-flow-info.js +15 -0
- package/dist/models/afnorhealth-check-response.d.ts +2 -2
- package/dist/models/afnorhealth-check-response.js +2 -2
- package/dist/models/afnorlegal-unit-administrative-status.d.ts +19 -0
- package/dist/models/afnorlegal-unit-administrative-status.js +23 -0
- package/dist/models/afnorlegal-unit-payload-history.d.ts +25 -0
- package/dist/models/afnorlegal-unit-payload-history.js +15 -0
- package/dist/models/afnorlegal-unit-payload-included-no-siren.d.ts +21 -0
- package/dist/models/afnorlegal-unit-payload-included-no-siren.js +15 -0
- package/dist/models/afnorlegal-unit-payload-included.d.ts +25 -0
- package/dist/models/afnorlegal-unit-payload-included.js +15 -0
- package/dist/models/afnorplatform-status.d.ts +19 -0
- package/dist/models/afnorplatform-status.js +23 -0
- package/dist/models/afnorprocessing-rule.d.ts +23 -0
- package/dist/models/afnorprocessing-rule.js +27 -0
- package/dist/models/afnorreason-code-enum.d.ts +32 -0
- package/dist/models/afnorreason-code-enum.js +36 -0
- package/dist/models/afnorreason-code.d.ts +17 -0
- package/dist/models/afnorreason-code.js +15 -0
- package/dist/models/afnorrecipient-platform-type.d.ts +19 -0
- package/dist/models/afnorrecipient-platform-type.js +23 -0
- package/dist/models/afnorresult.d.ts +5 -2
- package/dist/models/afnorresult.js +2 -2
- package/dist/models/afnorrouting-code-administrative-status.d.ts +19 -0
- package/dist/models/afnorrouting-code-administrative-status.js +23 -0
- package/dist/models/afnorrouting-code-field.d.ts +25 -0
- package/dist/models/afnorrouting-code-field.js +29 -0
- package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.d.ts +41 -0
- package/dist/models/afnorrouting-code-payload-history-legal-unit-facility.js +15 -0
- package/dist/models/afnorrouting-code-post201-response.d.ts +25 -0
- package/dist/models/afnorrouting-code-post201-response.js +15 -0
- package/dist/models/afnorrouting-code-search-filters-administrative-status.d.ts +17 -0
- package/dist/models/afnorrouting-code-search-filters-administrative-status.js +15 -0
- package/dist/models/afnorrouting-code-search-filters-routing-code-name.d.ts +19 -0
- package/dist/models/afnorrouting-code-search-filters-routing-code-name.js +15 -0
- package/dist/models/afnorrouting-code-search-filters-routing-identifier.d.ts +19 -0
- package/dist/models/afnorrouting-code-search-filters-routing-identifier.js +15 -0
- package/dist/models/afnorrouting-code-search-filters.d.ts +27 -0
- package/dist/models/afnorrouting-code-search-filters.js +15 -0
- package/dist/models/afnorrouting-code-search-post200-response.d.ts +21 -0
- package/dist/models/afnorrouting-code-search-post200-response.js +15 -0
- package/dist/models/afnorrouting-code-search-sorting-inner.d.ts +20 -0
- package/dist/models/afnorrouting-code-search-sorting-inner.js +15 -0
- package/dist/models/afnorrouting-code-search.d.ts +39 -0
- package/dist/models/afnorrouting-code-search.js +20 -0
- package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.d.ts +19 -0
- package/dist/models/afnorsearch-directory-line-filters-addressing-identifier.js +15 -0
- package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.d.ts +19 -0
- package/dist/models/afnorsearch-directory-line-filters-addressing-suffix.js +15 -0
- package/dist/models/afnorsearch-directory-line-filters.d.ts +23 -0
- package/dist/models/afnorsearch-directory-line-filters.js +15 -0
- package/dist/models/afnorsearch-directory-line-sorting-inner.d.ts +20 -0
- package/dist/models/afnorsearch-directory-line-sorting-inner.js +15 -0
- package/dist/models/afnorsearch-directory-line.d.ts +33 -0
- package/dist/models/afnorsearch-directory-line.js +15 -0
- package/dist/models/afnorsearch-flow-content.d.ts +21 -0
- package/dist/models/afnorsearch-flow-content.js +15 -0
- package/dist/models/afnorsearch-flow-filters.d.ts +30 -0
- package/dist/models/afnorsearch-flow-filters.js +15 -0
- package/dist/models/afnorsearch-flow-params.d.ts +19 -0
- package/dist/models/afnorsearch-flow-params.js +15 -0
- package/dist/models/afnorsearch-siren-filters-administrative-status.d.ts +17 -0
- package/dist/models/afnorsearch-siren-filters-administrative-status.js +15 -0
- package/dist/models/afnorsearch-siren-filters-business-name.d.ts +19 -0
- package/dist/models/afnorsearch-siren-filters-business-name.js +15 -0
- package/dist/models/afnorsearch-siren-filters-entity-type.d.ts +17 -0
- package/dist/models/afnorsearch-siren-filters-entity-type.js +15 -0
- package/dist/models/afnorsearch-siren-filters-siren.d.ts +19 -0
- package/dist/models/afnorsearch-siren-filters-siren.js +15 -0
- package/dist/models/afnorsearch-siren-filters.d.ts +21 -0
- package/dist/models/afnorsearch-siren-filters.js +15 -0
- package/dist/models/afnorsearch-siren-sorting-inner.d.ts +20 -0
- package/dist/models/afnorsearch-siren-sorting-inner.js +15 -0
- package/dist/models/afnorsearch-siren.d.ts +33 -0
- package/dist/models/afnorsearch-siren.js +15 -0
- package/dist/models/afnorsearch-siret-filters-address-lines.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-address-lines.js +15 -0
- package/dist/models/afnorsearch-siret-filters-administrative-status.d.ts +17 -0
- package/dist/models/afnorsearch-siret-filters-administrative-status.js +15 -0
- package/dist/models/afnorsearch-siret-filters-country-subdivision.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-country-subdivision.js +15 -0
- package/dist/models/afnorsearch-siret-filters-facility-type.d.ts +17 -0
- package/dist/models/afnorsearch-siret-filters-facility-type.js +15 -0
- package/dist/models/afnorsearch-siret-filters-locality.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-locality.js +15 -0
- package/dist/models/afnorsearch-siret-filters-name.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-name.js +15 -0
- package/dist/models/afnorsearch-siret-filters-postal-code.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-postal-code.js +15 -0
- package/dist/models/afnorsearch-siret-filters-siret.d.ts +19 -0
- package/dist/models/afnorsearch-siret-filters-siret.js +15 -0
- package/dist/models/afnorsearch-siret-filters.d.ts +31 -0
- package/dist/models/afnorsearch-siret-filters.js +15 -0
- package/dist/models/afnorsearch-siret-sorting-inner.d.ts +20 -0
- package/dist/models/afnorsearch-siret-sorting-inner.js +15 -0
- package/dist/models/afnorsearch-siret.d.ts +38 -0
- package/dist/models/afnorsearch-siret.js +19 -0
- package/dist/models/afnorsiren-field.d.ts +22 -0
- package/dist/models/afnorsiren-field.js +26 -0
- package/dist/models/afnorsiren-search-post200-response.d.ts +21 -0
- package/dist/models/afnorsiren-search-post200-response.js +15 -0
- package/dist/models/afnorsiret-field.d.ts +31 -0
- package/dist/models/afnorsiret-field.js +35 -0
- package/dist/models/afnorsiret-search-post200-response.d.ts +21 -0
- package/dist/models/afnorsiret-search-post200-response.js +15 -0
- package/dist/models/afnorsorting-order.d.ts +19 -0
- package/dist/models/afnorsorting-order.js +23 -0
- package/dist/models/afnorstrict-operator.d.ts +18 -0
- package/dist/models/afnorstrict-operator.js +22 -0
- package/dist/models/afnorupdate-patch-directory-line-body.d.ts +17 -0
- package/dist/models/afnorupdate-patch-directory-line-body.js +15 -0
- package/dist/models/afnorupdate-patch-routing-code-body.d.ts +25 -0
- package/dist/models/afnorupdate-patch-routing-code-body.js +15 -0
- package/dist/models/afnorupdate-put-routing-code-body.d.ts +25 -0
- package/dist/models/afnorupdate-put-routing-code-body.js +15 -0
- package/dist/models/afnorwebhook-callback-content.d.ts +18 -0
- package/dist/models/afnorwebhook-callback-content.js +15 -0
- package/dist/models/aggregated-payment-input.d.ts +27 -0
- package/dist/models/aggregated-payment-input.js +15 -0
- package/dist/models/aggregated-transaction-input.d.ts +39 -0
- package/dist/models/aggregated-transaction-input.js +15 -0
- package/dist/models/allowance-charge-reason-code.d.ts +55 -0
- package/dist/models/allowance-charge-reason-code.js +59 -0
- package/dist/models/allowance-charge.d.ts +8 -6
- package/dist/models/allowance-charge.js +2 -2
- package/dist/models/allowance-reason-code.d.ts +2 -2
- package/dist/models/allowance-reason-code.js +2 -2
- package/dist/models/allowance-total-amount.d.ts +2 -2
- package/dist/models/allowance-total-amount.js +2 -2
- package/dist/models/amount-due.d.ts +2 -2
- package/dist/models/amount-due.js +2 -2
- package/dist/models/amount.d.ts +3 -3
- package/dist/models/amount.js +2 -2
- package/dist/models/amount1.d.ts +16 -0
- package/dist/models/amount1.js +15 -0
- package/dist/models/apierror.d.ts +2 -2
- package/dist/models/apierror.js +2 -2
- package/dist/models/apiprofile.d.ts +3 -2
- package/dist/models/apiprofile.js +3 -2
- package/dist/models/async-task-status.d.ts +2 -2
- package/dist/models/async-task-status.js +2 -2
- package/dist/models/base-amount.d.ts +2 -2
- package/dist/models/base-amount.js +2 -2
- package/dist/models/bounding-box-schema.d.ts +2 -2
- package/dist/models/bounding-box-schema.js +2 -2
- package/dist/models/buyercountry.d.ts +16 -0
- package/dist/models/buyercountry.js +15 -0
- package/dist/models/celery-status.d.ts +2 -2
- package/dist/models/celery-status.js +2 -2
- package/dist/models/certificate-info-response.d.ts +2 -2
- package/dist/models/certificate-info-response.js +2 -2
- package/dist/models/charge-total-amount.d.ts +2 -2
- package/dist/models/charge-total-amount.js +2 -2
- package/dist/models/{facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts → chorus-pro-credentials.d.ts} +3 -3
- package/dist/models/chorus-pro-credentials.js +15 -0
- package/dist/models/chorus-pro-destination.d.ts +2 -2
- package/dist/models/chorus-pro-destination.js +2 -2
- package/dist/models/chorus-pro-result.d.ts +2 -2
- package/dist/models/chorus-pro-result.js +2 -2
- package/dist/models/contact.d.ts +2 -2
- package/dist/models/contact.js +2 -2
- package/dist/models/convert-resume-request.d.ts +2 -2
- package/dist/models/convert-resume-request.js +2 -2
- package/dist/models/convert-success-response.d.ts +2 -2
- package/dist/models/convert-success-response.js +2 -2
- package/dist/models/convert-validation-failed-response.d.ts +17 -2
- package/dist/models/convert-validation-failed-response.js +2 -2
- package/dist/models/country-code.d.ts +187 -0
- package/dist/models/country-code.js +191 -0
- package/dist/models/create-aggregated-report-request.d.ts +44 -0
- package/dist/models/create-aggregated-report-request.js +15 -0
- package/dist/models/create-ereporting-request.d.ts +49 -0
- package/dist/models/create-ereporting-request.js +15 -0
- package/dist/models/currency-code.d.ts +70 -0
- package/dist/models/currency-code.js +74 -0
- package/dist/models/currency.d.ts +16 -0
- package/dist/models/currency.js +15 -0
- package/dist/models/delivery-party.d.ts +2 -2
- package/dist/models/delivery-party.js +2 -2
- package/dist/models/destination.d.ts +2 -2
- package/dist/models/destination.js +2 -2
- package/dist/models/directory-line-include.d.ts +21 -0
- package/dist/models/directory-line-include.js +25 -0
- package/dist/models/doc-type.d.ts +21 -0
- package/dist/models/doc-type.js +25 -0
- package/dist/models/document-type-info.d.ts +2 -2
- package/dist/models/document-type-info.js +2 -2
- package/dist/models/electronic-address.d.ts +8 -2
- package/dist/models/electronic-address.js +2 -2
- package/dist/models/enriched-invoice-info.d.ts +20 -2
- package/dist/models/enriched-invoice-info.js +2 -2
- package/dist/models/ereporting-flow-type.d.ts +21 -0
- package/dist/models/ereporting-flow-type.js +25 -0
- package/dist/models/error-level.d.ts +2 -2
- package/dist/models/error-level.js +2 -2
- package/dist/models/error-source.d.ts +2 -2
- package/dist/models/error-source.js +2 -2
- package/dist/models/extraction-info.d.ts +2 -2
- package/dist/models/extraction-info.js +2 -2
- package/dist/models/factur-xinvoice.d.ts +2 -2
- package/dist/models/factur-xinvoice.js +2 -2
- package/dist/models/factur-xpdfinfo.d.ts +2 -2
- package/dist/models/factur-xpdfinfo.js +2 -2
- package/dist/models/facture-electronique-models-invoice-type-code.d.ts +81 -0
- package/dist/models/facture-electronique-models-invoice-type-code.js +85 -0
- package/dist/models/facture-electronique-rest-api-schemas-convert-validation-error.d.ts +33 -0
- package/dist/models/facture-electronique-rest-api-schemas-convert-validation-error.js +15 -0
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts +2 -2
- package/dist/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js +2 -2
- package/dist/models/field-status.d.ts +2 -2
- package/dist/models/field-status.js +2 -2
- package/dist/models/file-info.d.ts +2 -2
- package/dist/models/file-info.js +2 -2
- package/dist/models/files-info.d.ts +2 -2
- package/dist/models/files-info.js +2 -2
- package/dist/models/flow-direction.d.ts +2 -2
- package/dist/models/flow-direction.js +2 -2
- package/dist/models/flow-profile.d.ts +2 -2
- package/dist/models/flow-profile.js +2 -2
- package/dist/models/flow-summary.d.ts +8 -2
- package/dist/models/flow-summary.js +2 -2
- package/dist/models/flow-syntax.d.ts +2 -2
- package/dist/models/flow-syntax.js +2 -2
- package/dist/models/flow-type.d.ts +12 -4
- package/dist/models/flow-type.js +12 -4
- package/dist/models/generate-aggregated-report-response.d.ts +46 -0
- package/dist/models/generate-aggregated-report-response.js +15 -0
- package/dist/models/generate-certificate-request.d.ts +2 -2
- package/dist/models/generate-certificate-request.js +2 -2
- package/dist/models/generate-certificate-response.d.ts +2 -2
- package/dist/models/generate-certificate-response.js +2 -2
- package/dist/models/generate-ereporting-response.d.ts +36 -0
- package/dist/models/generate-ereporting-response.js +15 -0
- package/dist/models/get-chorus-pro-id-request.d.ts +4 -4
- package/dist/models/get-chorus-pro-id-request.js +2 -2
- package/dist/models/get-chorus-pro-id-response.d.ts +2 -2
- package/dist/models/get-chorus-pro-id-response.js +2 -2
- package/dist/models/get-invoice-request.d.ts +4 -4
- package/dist/models/get-invoice-request.js +2 -2
- package/dist/models/get-invoice-response.d.ts +8 -2
- package/dist/models/get-invoice-response.js +2 -2
- package/dist/models/get-structure-request.d.ts +4 -4
- package/dist/models/get-structure-request.js +2 -2
- package/dist/models/get-structure-response.d.ts +8 -2
- package/dist/models/get-structure-response.js +2 -2
- package/dist/models/global-allowance-amount.d.ts +2 -2
- package/dist/models/global-allowance-amount.js +2 -2
- package/dist/models/gross-unit-price.d.ts +2 -2
- package/dist/models/gross-unit-price.js +2 -2
- package/dist/models/httpvalidation-error.d.ts +2 -2
- package/dist/models/httpvalidation-error.js +2 -2
- package/dist/models/incoming-invoice.d.ts +4 -4
- package/dist/models/incoming-invoice.js +2 -2
- package/dist/models/incoming-supplier.d.ts +2 -2
- package/dist/models/incoming-supplier.js +2 -2
- package/dist/models/index.d.ts +139 -4
- package/dist/models/index.js +139 -4
- package/dist/models/invoice-format.d.ts +2 -2
- package/dist/models/invoice-format.js +2 -2
- package/dist/models/invoice-input.d.ts +54 -0
- package/dist/models/invoice-input.js +15 -0
- package/dist/models/invoice-line-allowance-amount.d.ts +2 -2
- package/dist/models/invoice-line-allowance-amount.js +2 -2
- package/dist/models/invoice-line.d.ts +5 -2
- package/dist/models/invoice-line.js +2 -2
- package/dist/models/invoice-note.d.ts +5 -2
- package/dist/models/invoice-note.js +2 -2
- package/dist/models/invoice-payment-input.d.ts +35 -0
- package/dist/models/invoice-payment-input.js +15 -0
- package/dist/models/invoice-references.d.ts +2 -2
- package/dist/models/invoice-references.js +2 -2
- package/dist/models/invoice-status.d.ts +2 -2
- package/dist/models/invoice-status.js +2 -2
- package/dist/models/invoice-totals-prepayment.d.ts +2 -2
- package/dist/models/invoice-totals-prepayment.js +2 -2
- package/dist/models/invoice-totals.d.ts +2 -2
- package/dist/models/invoice-totals.js +2 -2
- package/dist/models/invoice-type-code-output.d.ts +81 -0
- package/dist/models/invoice-type-code-output.js +85 -0
- package/dist/models/invoice-type-code.d.ts +8 -67
- package/dist/models/invoice-type-code.js +8 -67
- package/dist/models/invoicing-framework-code.d.ts +2 -2
- package/dist/models/invoicing-framework-code.js +2 -2
- package/dist/models/invoicing-framework.d.ts +5 -2
- package/dist/models/invoicing-framework.js +2 -2
- package/dist/models/line-net-amount.d.ts +2 -2
- package/dist/models/line-net-amount.js +2 -2
- package/dist/models/line-sub-type.d.ts +20 -0
- package/dist/models/line-sub-type.js +24 -0
- package/dist/models/line-total-amount.d.ts +2 -2
- package/dist/models/line-total-amount.js +2 -2
- package/dist/models/location-inner.d.ts +13 -0
- package/dist/models/location-inner.js +15 -0
- package/dist/models/mandatory-note-schema.d.ts +2 -2
- package/dist/models/mandatory-note-schema.js +2 -2
- package/dist/models/manual-rate.d.ts +2 -2
- package/dist/models/manual-rate.js +2 -2
- package/dist/models/manual-vat-rate.d.ts +2 -2
- package/dist/models/manual-vat-rate.js +2 -2
- package/dist/models/missing-field.d.ts +2 -2
- package/dist/models/missing-field.js +2 -2
- package/dist/models/operation-nature.d.ts +2 -2
- package/dist/models/operation-nature.js +2 -2
- package/dist/models/output-format.d.ts +2 -2
- package/dist/models/output-format.js +2 -2
- package/dist/models/page-dimensions-schema.d.ts +2 -2
- package/dist/models/page-dimensions-schema.js +2 -2
- package/dist/models/payee.d.ts +2 -2
- package/dist/models/payee.js +2 -2
- package/dist/models/payment-amount-by-rate.d.ts +20 -0
- package/dist/models/payment-amount-by-rate.js +15 -0
- package/dist/models/payment-card.d.ts +2 -2
- package/dist/models/payment-card.js +2 -2
- package/dist/models/payment-means.d.ts +2 -2
- package/dist/models/payment-means.js +2 -2
- package/dist/models/pdfvalidation-result-api.d.ts +2 -2
- package/dist/models/pdfvalidation-result-api.js +2 -2
- package/dist/models/pdpcredentials.d.ts +2 -2
- package/dist/models/pdpcredentials.js +2 -2
- package/dist/models/percentage.d.ts +2 -2
- package/dist/models/percentage.js +2 -2
- package/dist/models/postal-address.d.ts +2 -2
- package/dist/models/postal-address.js +2 -2
- package/dist/models/price-allowance-amount.d.ts +2 -2
- package/dist/models/price-allowance-amount.js +2 -2
- package/dist/models/price-basis-quantity.d.ts +2 -2
- package/dist/models/price-basis-quantity.js +2 -2
- package/dist/models/processing-options.d.ts +2 -2
- package/dist/models/processing-options.js +2 -2
- package/dist/models/processing-rule.d.ts +23 -0
- package/dist/models/processing-rule.js +27 -0
- package/dist/models/product-characteristic.d.ts +2 -2
- package/dist/models/product-characteristic.js +2 -2
- package/dist/models/product-classification.d.ts +2 -2
- package/dist/models/product-classification.js +2 -2
- package/dist/models/quantity.d.ts +2 -2
- package/dist/models/quantity.js +2 -2
- package/dist/models/rate.d.ts +16 -0
- package/dist/models/rate.js +15 -0
- package/dist/models/rate1.d.ts +16 -0
- package/dist/models/rate1.js +15 -0
- package/dist/models/recipient.d.ts +2 -2
- package/dist/models/recipient.js +2 -2
- package/dist/models/report-period.d.ts +24 -0
- package/dist/models/report-period.js +15 -0
- package/dist/models/report-sender.d.ts +25 -0
- package/dist/models/report-sender.js +15 -0
- package/dist/models/rounding-amount.d.ts +2 -2
- package/dist/models/rounding-amount.js +2 -2
- package/dist/models/routing-code-include.d.ts +19 -0
- package/dist/models/routing-code-include.js +23 -0
- package/dist/models/scheme-id.d.ts +30 -2
- package/dist/models/scheme-id.js +31 -3
- package/dist/models/search-flow-request.d.ts +2 -2
- package/dist/models/search-flow-request.js +2 -2
- package/dist/models/search-flow-response.d.ts +2 -2
- package/dist/models/search-flow-response.js +2 -2
- package/dist/models/search-services-response.d.ts +11 -2
- package/dist/models/search-services-response.js +2 -2
- package/dist/models/search-structure-request.d.ts +4 -4
- package/dist/models/search-structure-request.js +2 -2
- package/dist/models/search-structure-response.d.ts +2 -2
- package/dist/models/search-structure-response.js +2 -2
- package/dist/models/sellercountry.d.ts +16 -0
- package/dist/models/sellercountry.js +15 -0
- package/dist/models/signature-info-api.d.ts +2 -2
- package/dist/models/signature-info-api.js +2 -2
- package/dist/models/signature-info.d.ts +2 -2
- package/dist/models/signature-info.js +2 -2
- package/dist/models/signature-parameters.d.ts +2 -2
- package/dist/models/signature-parameters.js +2 -2
- package/dist/models/simplified-invoice-data.d.ts +12 -2
- package/dist/models/simplified-invoice-data.js +2 -2
- package/dist/models/siret-include.d.ts +18 -0
- package/dist/models/siret-include.js +22 -0
- package/dist/models/structure-info.d.ts +2 -2
- package/dist/models/structure-info.js +2 -2
- package/dist/models/structure-parameters.d.ts +2 -2
- package/dist/models/structure-parameters.js +2 -2
- package/dist/models/structure-service.d.ts +2 -2
- package/dist/models/structure-service.js +2 -2
- package/dist/models/submission-mode.d.ts +2 -2
- package/dist/models/submission-mode.js +2 -2
- package/dist/models/submit-aggregated-report-request.d.ts +26 -0
- package/dist/models/submit-aggregated-report-request.js +15 -0
- package/dist/models/submit-complete-invoice-request.d.ts +2 -2
- package/dist/models/submit-complete-invoice-request.js +2 -2
- package/dist/models/submit-complete-invoice-response.d.ts +2 -2
- package/dist/models/submit-complete-invoice-response.js +2 -2
- package/dist/models/submit-ereporting-request.d.ts +26 -0
- package/dist/models/submit-ereporting-request.js +15 -0
- package/dist/models/submit-ereporting-response.d.ts +41 -0
- package/dist/models/submit-ereporting-response.js +15 -0
- package/dist/models/submit-flow-request.d.ts +2 -2
- package/dist/models/submit-flow-request.js +2 -2
- package/dist/models/submit-flow-response.d.ts +2 -2
- package/dist/models/submit-flow-response.js +2 -2
- package/dist/models/submit-gross-amount.d.ts +2 -2
- package/dist/models/submit-gross-amount.js +2 -2
- package/dist/models/submit-invoice-request.d.ts +4 -4
- package/dist/models/submit-invoice-request.js +2 -2
- package/dist/models/submit-invoice-response.d.ts +2 -2
- package/dist/models/submit-invoice-response.js +2 -2
- package/dist/models/submit-net-amount.d.ts +2 -2
- package/dist/models/submit-net-amount.js +2 -2
- package/dist/models/submit-vat-amount.d.ts +2 -2
- package/dist/models/submit-vat-amount.js +2 -2
- package/dist/models/supplementary-attachment.d.ts +17 -2
- package/dist/models/supplementary-attachment.js +2 -2
- package/dist/models/supplier.d.ts +2 -2
- package/dist/models/supplier.js +2 -2
- package/dist/models/task-response.d.ts +2 -2
- package/dist/models/task-response.js +2 -2
- package/dist/models/tax-breakdown-input.d.ts +22 -0
- package/dist/models/tax-breakdown-input.js +15 -0
- package/dist/models/tax-due-date-type.d.ts +23 -0
- package/dist/models/tax-due-date-type.js +27 -0
- package/dist/models/tax-representative.d.ts +2 -2
- package/dist/models/tax-representative.js +2 -2
- package/dist/models/taxable-amount.d.ts +2 -2
- package/dist/models/taxable-amount.js +2 -2
- package/dist/models/taxableamount.d.ts +16 -0
- package/dist/models/taxableamount.js +15 -0
- package/dist/models/taxamount.d.ts +16 -0
- package/dist/models/taxamount.js +15 -0
- package/dist/models/taxamount1.d.ts +16 -0
- package/dist/models/taxamount1.js +15 -0
- package/dist/models/taxamount2.d.ts +16 -0
- package/dist/models/taxamount2.js +15 -0
- package/dist/models/taxexclusiveamount.d.ts +16 -0
- package/dist/models/taxexclusiveamount.js +15 -0
- package/dist/models/taxexclusiveamount1.d.ts +16 -0
- package/dist/models/taxexclusiveamount1.js +15 -0
- package/dist/models/total-gross-amount.d.ts +2 -2
- package/dist/models/total-gross-amount.js +2 -2
- package/dist/models/total-net-amount.d.ts +2 -2
- package/dist/models/total-net-amount.js +2 -2
- package/dist/models/total-vatamount.d.ts +2 -2
- package/dist/models/total-vatamount.js +2 -2
- package/dist/models/transaction-category.d.ts +21 -0
- package/dist/models/transaction-category.js +25 -0
- package/dist/models/transmission-type-code.d.ts +19 -0
- package/dist/models/transmission-type-code.js +23 -0
- package/dist/models/unit-net-price.d.ts +2 -2
- package/dist/models/unit-net-price.js +2 -2
- package/dist/models/unit-of-measure.d.ts +2 -2
- package/dist/models/unit-of-measure.js +2 -2
- package/dist/models/validate-ereporting-request.d.ts +21 -0
- package/dist/models/validate-ereporting-request.js +15 -0
- package/dist/models/validate-ereporting-response.d.ts +41 -0
- package/dist/models/validate-ereporting-response.js +15 -0
- package/dist/models/validation-error-detail.d.ts +2 -2
- package/dist/models/validation-error-detail.js +2 -2
- package/dist/models/validation-error-response.d.ts +2 -2
- package/dist/models/validation-error-response.js +2 -2
- package/dist/models/validation-error.d.ts +4 -4
- package/dist/models/validation-error.js +2 -2
- package/dist/models/validation-info.d.ts +4 -4
- package/dist/models/validation-info.js +2 -2
- package/dist/models/validation-success-response.d.ts +2 -2
- package/dist/models/validation-success-response.js +2 -2
- package/dist/models/vat-rate.d.ts +2 -2
- package/dist/models/vat-rate.js +2 -2
- package/dist/models/vataccounting-code.d.ts +2 -2
- package/dist/models/vataccounting-code.js +2 -2
- package/dist/models/vatamount.d.ts +2 -2
- package/dist/models/vatamount.js +2 -2
- package/dist/models/vatcategory.d.ts +2 -2
- package/dist/models/vatcategory.js +2 -2
- package/dist/models/vatline.d.ts +2 -2
- package/dist/models/vatline.js +2 -2
- package/dist/models/vatpoint-date-code.d.ts +2 -2
- package/dist/models/vatpoint-date-code.js +2 -2
- package/dist/models/verification-success-response.d.ts +2 -2
- package/dist/models/verification-success-response.js +2 -2
- package/dist/models/verified-field-schema.d.ts +2 -2
- package/dist/models/verified-field-schema.js +2 -2
- package/docs/AFNORAcknowledgement.md +22 -0
- package/docs/AFNORAcknowledgementDetail.md +26 -0
- package/docs/AFNORAddressEdit.md +33 -0
- package/docs/AFNORAddressPatch.md +33 -0
- package/docs/AFNORAddressPut.md +33 -0
- package/docs/AFNORAddressRead.md +35 -0
- package/docs/AFNORAlgorithm.md +16 -0
- package/docs/AFNORContainsOperator.md +9 -0
- package/docs/AFNORCreateDirectoryLineBody.md +22 -0
- package/docs/AFNORCreateDirectoryLineBodyAddressingInformation.md +26 -0
- package/docs/AFNORCreateDirectoryLineBodyPeriod.md +22 -0
- package/docs/AFNORCreateRoutingCodeBody.md +34 -0
- package/docs/AFNORDestination.md +3 -1
- package/docs/AFNORDiffusionStatus.md +11 -0
- package/docs/AFNORDirectoryLineField.md +19 -0
- package/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCode.md +34 -0
- package/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodePlatform.md +22 -0
- package/docs/AFNORDirectoryLinePayloadHistoryLegalUnitFacilityRoutingCodeRoutingCode.md +30 -0
- package/docs/AFNORDirectoryLinePost201Response.md +24 -0
- package/docs/AFNORDirectoryLineSearchPost200Response.md +24 -0
- package/docs/AFNOREntityType.md +11 -0
- package/docs/AFNORError.md +28 -0
- package/docs/AFNORFacilityAdministrativeStatus.md +11 -0
- package/docs/AFNORFacilityNature.md +11 -0
- package/docs/AFNORFacilityPayloadHistory.md +36 -0
- package/docs/AFNORFacilityPayloadHistoryUleB2gAdditionalData.md +30 -0
- package/docs/AFNORFacilityPayloadIncluded.md +34 -0
- package/docs/AFNORFacilityType.md +11 -0
- package/docs/AFNORFlow.md +41 -0
- package/docs/AFNORFlowAckStatus.md +13 -0
- package/docs/AFNORFlowDirection.md +11 -0
- package/docs/AFNORFlowInfo.md +31 -0
- package/docs/AFNORFlowProfile.md +12 -0
- package/docs/AFNORFlowSyntax.md +17 -0
- package/docs/AFNORFlowType.md +33 -0
- package/docs/AFNORFullFlowInfo.md +35 -0
- package/docs/AFNORLegalUnitAdministrativeStatus.md +11 -0
- package/docs/AFNORLegalUnitPayloadHistory.md +26 -0
- package/docs/AFNORLegalUnitPayloadIncluded.md +26 -0
- package/docs/AFNORLegalUnitPayloadIncludedNoSiren.md +24 -0
- package/docs/AFNORPDPPAApi.md +5 -5
- package/docs/AFNORPDPPADirectoryServiceApi.md +426 -171
- package/docs/AFNORPDPPAFlowServiceApi.md +72 -38
- package/docs/AFNORPlatformStatus.md +11 -0
- package/docs/AFNORProcessingRule.md +19 -0
- package/docs/AFNORReasonCode.md +19 -0
- package/docs/AFNORReasonCodeEnum.md +37 -0
- package/docs/AFNORRecipientPlatformType.md +11 -0
- package/docs/AFNORResult.md +6 -0
- package/docs/AFNORRoutingCodeAdministrativeStatus.md +11 -0
- package/docs/AFNORRoutingCodeField.md +23 -0
- package/docs/AFNORRoutingCodePayloadHistoryLegalUnitFacility.md +36 -0
- package/docs/AFNORRoutingCodePost201Response.md +24 -0
- package/docs/AFNORRoutingCodeSearch.md +30 -0
- package/docs/AFNORRoutingCodeSearchFilters.md +32 -0
- package/docs/AFNORRoutingCodeSearchFiltersAdministrativeStatus.md +22 -0
- package/docs/AFNORRoutingCodeSearchFiltersRoutingCodeName.md +22 -0
- package/docs/AFNORRoutingCodeSearchFiltersRoutingIdentifier.md +22 -0
- package/docs/AFNORRoutingCodeSearchPost200Response.md +24 -0
- package/docs/AFNORRoutingCodeSearchSortingInner.md +23 -0
- package/docs/AFNORSearchDirectoryLine.md +28 -0
- package/docs/AFNORSearchDirectoryLineFilters.md +28 -0
- package/docs/AFNORSearchDirectoryLineFiltersAddressingIdentifier.md +22 -0
- package/docs/AFNORSearchDirectoryLineFiltersAddressingSuffix.md +22 -0
- package/docs/AFNORSearchDirectoryLineSortingInner.md +23 -0
- package/docs/AFNORSearchFlowContent.md +25 -0
- package/docs/AFNORSearchFlowFilters.md +33 -0
- package/docs/AFNORSearchFlowParams.md +22 -0
- package/docs/AFNORSearchSiren.md +28 -0
- package/docs/AFNORSearchSirenFilters.md +26 -0
- package/docs/AFNORSearchSirenFiltersAdministrativeStatus.md +22 -0
- package/docs/AFNORSearchSirenFiltersBusinessName.md +22 -0
- package/docs/AFNORSearchSirenFiltersEntityType.md +22 -0
- package/docs/AFNORSearchSirenFiltersSiren.md +22 -0
- package/docs/AFNORSearchSirenSortingInner.md +23 -0
- package/docs/AFNORSearchSiret.md +30 -0
- package/docs/AFNORSearchSiretFilters.md +36 -0
- package/docs/AFNORSearchSiretFiltersAddressLines.md +22 -0
- package/docs/AFNORSearchSiretFiltersAdministrativeStatus.md +22 -0
- package/docs/AFNORSearchSiretFiltersCountrySubdivision.md +22 -0
- package/docs/AFNORSearchSiretFiltersFacilityType.md +22 -0
- package/docs/AFNORSearchSiretFiltersLocality.md +22 -0
- package/docs/AFNORSearchSiretFiltersName.md +22 -0
- package/docs/AFNORSearchSiretFiltersPostalCode.md +22 -0
- package/docs/AFNORSearchSiretFiltersSiret.md +22 -0
- package/docs/AFNORSearchSiretSortingInner.md +23 -0
- package/docs/AFNORSirenField.md +17 -0
- package/docs/AFNORSirenSearchPost200Response.md +24 -0
- package/docs/AFNORSiretField.md +35 -0
- package/docs/AFNORSiretSearchPost200Response.md +24 -0
- package/docs/AFNORSortingOrder.md +11 -0
- package/docs/AFNORStrictOperator.md +9 -0
- package/docs/AFNORUpdatePatchDirectoryLineBody.md +20 -0
- package/docs/AFNORUpdatePatchRoutingCodeBody.md +26 -0
- package/docs/AFNORUpdatePutRoutingCodeBody.md +26 -0
- package/docs/AFNORWebhookCallbackContent.md +21 -0
- package/docs/APIProfile.md +2 -0
- package/docs/AcceptLanguage.md +11 -0
- package/docs/AggregatedPaymentInput.md +25 -0
- package/docs/AggregatedTransactionInput.md +35 -0
- package/docs/AllowanceCharge.md +3 -3
- package/docs/AllowanceChargeReasonCode.md +83 -0
- package/docs/Amount.md +1 -1
- package/docs/{ValidationErrorLocInner.md → Amount1.md} +4 -3
- package/docs/Buyercountry.md +19 -0
- package/docs/ChorusProApi.md +20 -3
- package/docs/{FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md → ChorusProCredentials.md} +3 -3
- package/docs/ConvertValidationFailedResponse.md +5 -5
- package/docs/CountryCode.md +347 -0
- package/docs/CreateAggregatedReportRequest.md +37 -0
- package/docs/CreateEReportingRequest.md +39 -0
- package/docs/Currency.md +19 -0
- package/docs/CurrencyCode.md +113 -0
- package/docs/Destination.md +3 -1
- package/docs/DirectoryLineInclude.md +15 -0
- package/docs/DocType.md +15 -0
- package/docs/DocumentConversionApi.md +17 -71
- package/docs/DownloadsApi.md +237 -0
- package/docs/EReportingApi.md +638 -0
- package/docs/EReportingFlowType.md +15 -0
- package/docs/ElectronicAddress.md +2 -2
- package/docs/EnrichedInvoiceInfo.md +6 -6
- package/docs/FactureElectroniqueModelsInvoiceTypeCode.md +39 -0
- package/docs/FactureElectroniqueRestApiSchemasConvertValidationError.md +35 -0
- package/docs/FlowSummary.md +2 -2
- package/docs/FlowType.md +18 -2
- package/docs/GenerateAggregatedReportResponse.md +33 -0
- package/docs/GenerateEReportingResponse.md +29 -0
- package/docs/GetChorusProIdRequest.md +1 -1
- package/docs/GetInvoiceRequest.md +1 -1
- package/docs/GetInvoiceResponse.md +2 -2
- package/docs/GetStructureRequest.md +1 -1
- package/docs/GetStructureResponse.md +2 -2
- package/docs/HealthApi.md +3 -1
- package/docs/IncomingInvoice.md +1 -1
- package/docs/InvoiceInput.md +51 -0
- package/docs/InvoiceLine.md +4 -0
- package/docs/InvoiceNote.md +1 -1
- package/docs/InvoicePaymentInput.md +29 -0
- package/docs/InvoiceProcessingApi.md +56 -14
- package/docs/InvoiceTypeCode.md +6 -28
- package/docs/InvoiceTypeCodeOutput.md +39 -0
- package/docs/InvoicingFramework.md +1 -1
- package/docs/LineSubType.md +13 -0
- package/docs/LocationInner.md +18 -0
- package/docs/PDFXMLVerificationApi.md +27 -9
- package/docs/PaymentAmountByRate.md +23 -0
- package/docs/ProcessingRule.md +19 -0
- package/docs/Rate.md +19 -0
- package/docs/Rate1.md +19 -0
- package/docs/ReportPeriod.md +23 -0
- package/docs/ReportSender.md +25 -0
- package/docs/RoutingCodeInclude.md +11 -0
- package/docs/SchemeID.md +14 -0
- package/docs/SearchServicesResponse.md +3 -3
- package/docs/SearchStructureRequest.md +1 -1
- package/docs/Sellercountry.md +19 -0
- package/docs/SimplifiedInvoiceData.md +8 -0
- package/docs/SiretInclude.md +9 -0
- package/docs/SubmitAggregatedReportRequest.md +31 -0
- package/docs/SubmitEReportingRequest.md +31 -0
- package/docs/SubmitEReportingResponse.md +35 -0
- package/docs/SubmitInvoiceRequest.md +1 -1
- package/docs/SupplementaryAttachment.md +5 -5
- package/docs/TaxBreakdownInput.md +25 -0
- package/docs/TaxDueDateType.md +19 -0
- package/docs/Taxableamount.md +19 -0
- package/docs/Taxamount.md +19 -0
- package/docs/Taxamount1.md +19 -0
- package/docs/Taxamount2.md +19 -0
- package/docs/Taxexclusiveamount.md +19 -0
- package/docs/Taxexclusiveamount1.md +19 -0
- package/docs/TransactionCategory.md +15 -0
- package/docs/TransmissionTypeCode.md +11 -0
- package/docs/UserApi.md +2 -1
- package/docs/ValidateEReportingRequest.md +21 -0
- package/docs/ValidateEReportingResponse.md +31 -0
- package/docs/ValidationError.md +1 -1
- package/docs/ValidationInfo.md +1 -1
- package/index.ts +2 -2
- package/models/accept-language.ts +29 -0
- package/models/acknowledgment-status.ts +2 -2
- package/models/additional-document.ts +2 -2
- package/models/afnoracknowledgement-detail.ts +37 -0
- package/models/afnoracknowledgement.ts +29 -0
- package/models/afnoraddress-edit.ts +50 -0
- package/models/afnoraddress-patch.ts +50 -0
- package/models/afnoraddress-put.ts +50 -0
- package/models/afnoraddress-read.ts +54 -0
- package/models/afnoralgorithm.ts +29 -0
- package/models/afnorcontains-operator.ts +28 -0
- package/models/afnorcreate-directory-line-body-addressing-information.ts +35 -0
- package/models/afnorcreate-directory-line-body-period.ts +27 -0
- package/models/afnorcreate-directory-line-body.ts +27 -0
- package/models/afnorcreate-routing-code-body.ts +53 -0
- package/models/afnorcredentials.ts +2 -2
- package/models/afnordestination.ts +11 -11
- package/models/afnordiffusion-status.ts +29 -0
- package/models/afnordirectory-line-field.ts +33 -0
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-platform.ts +29 -0
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code-routing-code.ts +45 -0
- package/models/afnordirectory-line-payload-history-legal-unit-facility-routing-code.ts +51 -0
- package/models/afnordirectory-line-post201-response.ts +31 -0
- package/models/afnordirectory-line-search-post200-response.ts +31 -0
- package/models/afnorentity-type.ts +29 -0
- package/models/afnorerror.ts +27 -0
- package/models/afnorfacility-administrative-status.ts +29 -0
- package/models/afnorfacility-nature.ts +29 -0
- package/models/afnorfacility-payload-history-ule-b2g-additional-data.ts +43 -0
- package/models/afnorfacility-payload-history.ts +57 -0
- package/models/afnorfacility-payload-included.ts +53 -0
- package/models/afnorfacility-type.ts +29 -0
- package/models/afnorflow-ack-status.ts +30 -0
- package/models/afnorflow-direction.ts +29 -0
- package/models/afnorflow-info.ts +45 -0
- package/models/afnorflow-profile.ts +27 -0
- package/models/afnorflow-syntax.ts +32 -0
- package/models/afnorflow-type.ts +40 -0
- package/models/afnorflow.ts +74 -0
- package/models/afnorfull-flow-info.ts +35 -0
- package/models/afnorhealth-check-response.ts +2 -2
- package/models/afnorlegal-unit-administrative-status.ts +29 -0
- package/models/afnorlegal-unit-payload-history.ts +37 -0
- package/models/afnorlegal-unit-payload-included-no-siren.ts +33 -0
- package/models/afnorlegal-unit-payload-included.ts +37 -0
- package/models/afnorplatform-status.ts +29 -0
- package/models/afnorprocessing-rule.ts +33 -0
- package/models/afnorreason-code-enum.ts +42 -0
- package/models/afnorreason-code.ts +26 -0
- package/models/afnorrecipient-platform-type.ts +29 -0
- package/models/afnorresult.ts +5 -2
- package/models/afnorrouting-code-administrative-status.ts +29 -0
- package/models/afnorrouting-code-field.ts +35 -0
- package/models/afnorrouting-code-payload-history-legal-unit-facility.ts +57 -0
- package/models/afnorrouting-code-post201-response.ts +31 -0
- package/models/afnorrouting-code-search-filters-administrative-status.ts +29 -0
- package/models/afnorrouting-code-search-filters-routing-code-name.ts +29 -0
- package/models/afnorrouting-code-search-filters-routing-identifier.ts +29 -0
- package/models/afnorrouting-code-search-filters.ts +47 -0
- package/models/afnorrouting-code-search-post200-response.ts +31 -0
- package/models/afnorrouting-code-search-sorting-inner.ts +32 -0
- package/models/afnorrouting-code-search.ts +54 -0
- package/models/afnorsearch-directory-line-filters-addressing-identifier.ts +29 -0
- package/models/afnorsearch-directory-line-filters-addressing-suffix.ts +29 -0
- package/models/afnorsearch-directory-line-filters.ts +39 -0
- package/models/afnorsearch-directory-line-sorting-inner.ts +32 -0
- package/models/afnorsearch-directory-line.ts +45 -0
- package/models/afnorsearch-flow-content.ts +31 -0
- package/models/afnorsearch-flow-filters.ts +46 -0
- package/models/afnorsearch-flow-params.ts +27 -0
- package/models/afnorsearch-siren-filters-administrative-status.ts +29 -0
- package/models/afnorsearch-siren-filters-business-name.ts +29 -0
- package/models/afnorsearch-siren-filters-entity-type.ts +29 -0
- package/models/afnorsearch-siren-filters-siren.ts +29 -0
- package/models/afnorsearch-siren-filters.ts +35 -0
- package/models/afnorsearch-siren-sorting-inner.ts +32 -0
- package/models/afnorsearch-siren.ts +45 -0
- package/models/afnorsearch-siret-filters-address-lines.ts +29 -0
- package/models/afnorsearch-siret-filters-administrative-status.ts +29 -0
- package/models/afnorsearch-siret-filters-country-subdivision.ts +29 -0
- package/models/afnorsearch-siret-filters-facility-type.ts +29 -0
- package/models/afnorsearch-siret-filters-locality.ts +29 -0
- package/models/afnorsearch-siret-filters-name.ts +29 -0
- package/models/afnorsearch-siret-filters-postal-code.ts +29 -0
- package/models/afnorsearch-siret-filters-siret.ts +29 -0
- package/models/afnorsearch-siret-filters.ts +55 -0
- package/models/afnorsearch-siret-sorting-inner.ts +32 -0
- package/models/afnorsearch-siret.ts +53 -0
- package/models/afnorsiren-field.ts +32 -0
- package/models/afnorsiren-search-post200-response.ts +31 -0
- package/models/afnorsiret-field.ts +41 -0
- package/models/afnorsiret-search-post200-response.ts +31 -0
- package/models/afnorsorting-order.ts +29 -0
- package/models/afnorstrict-operator.ts +28 -0
- package/models/afnorupdate-patch-directory-line-body.ts +23 -0
- package/models/afnorupdate-patch-routing-code-body.ts +37 -0
- package/models/afnorupdate-put-routing-code-body.ts +37 -0
- package/models/afnorwebhook-callback-content.ts +26 -0
- package/models/aggregated-payment-input.ts +37 -0
- package/models/aggregated-transaction-input.ts +59 -0
- package/models/allowance-charge-reason-code.ts +65 -0
- package/models/allowance-charge.ts +14 -6
- package/models/allowance-reason-code.ts +2 -2
- package/models/allowance-total-amount.ts +2 -2
- package/models/amount-due.ts +2 -2
- package/models/amount.ts +3 -3
- package/models/amount1.ts +22 -0
- package/models/apierror.ts +2 -2
- package/models/apiprofile.ts +3 -2
- package/models/async-task-status.ts +2 -2
- package/models/base-amount.ts +2 -2
- package/models/bounding-box-schema.ts +2 -2
- package/models/buyercountry.ts +25 -0
- package/models/celery-status.ts +2 -2
- package/models/certificate-info-response.ts +2 -2
- package/models/charge-total-amount.ts +2 -2
- package/models/{facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts → chorus-pro-credentials.ts} +3 -3
- package/models/chorus-pro-destination.ts +2 -2
- package/models/chorus-pro-result.ts +2 -2
- package/models/contact.ts +2 -2
- package/models/convert-resume-request.ts +2 -2
- package/models/convert-success-response.ts +2 -2
- package/models/convert-validation-failed-response.ts +17 -2
- package/models/country-code.ts +197 -0
- package/models/create-aggregated-report-request.ts +66 -0
- package/models/create-ereporting-request.ts +73 -0
- package/models/currency-code.ts +80 -0
- package/models/currency.ts +25 -0
- package/models/delivery-party.ts +2 -2
- package/models/destination.ts +8 -2
- package/models/directory-line-include.ts +31 -0
- package/models/doc-type.ts +31 -0
- package/models/document-type-info.ts +2 -2
- package/models/electronic-address.ts +8 -2
- package/models/enriched-invoice-info.ts +20 -2
- package/models/ereporting-flow-type.ts +31 -0
- package/models/error-level.ts +2 -2
- package/models/error-source.ts +2 -2
- package/models/extraction-info.ts +2 -2
- package/models/factur-xinvoice.ts +2 -2
- package/models/factur-xpdfinfo.ts +2 -2
- package/models/facture-electronique-models-invoice-type-code.ts +91 -0
- package/models/facture-electronique-rest-api-schemas-convert-validation-error.ts +39 -0
- package/models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts +2 -2
- package/models/field-status.ts +2 -2
- package/models/file-info.ts +2 -2
- package/models/files-info.ts +2 -2
- package/models/flow-direction.ts +2 -2
- package/models/flow-profile.ts +2 -2
- package/models/flow-summary.ts +8 -2
- package/models/flow-syntax.ts +2 -2
- package/models/flow-type.ts +12 -4
- package/models/generate-aggregated-report-response.ts +50 -0
- package/models/generate-certificate-request.ts +2 -2
- package/models/generate-certificate-response.ts +2 -2
- package/models/generate-ereporting-response.ts +42 -0
- package/models/get-chorus-pro-id-request.ts +4 -4
- package/models/get-chorus-pro-id-response.ts +2 -2
- package/models/get-invoice-request.ts +4 -4
- package/models/get-invoice-response.ts +8 -2
- package/models/get-structure-request.ts +4 -4
- package/models/get-structure-response.ts +8 -2
- package/models/global-allowance-amount.ts +2 -2
- package/models/gross-unit-price.ts +2 -2
- package/models/httpvalidation-error.ts +2 -2
- package/models/incoming-invoice.ts +4 -4
- package/models/incoming-supplier.ts +2 -2
- package/models/index.ts +139 -4
- package/models/invoice-format.ts +2 -2
- package/models/invoice-input.ts +76 -0
- package/models/invoice-line-allowance-amount.ts +2 -2
- package/models/invoice-line.ts +7 -2
- package/models/invoice-note.ts +5 -2
- package/models/invoice-payment-input.ts +45 -0
- package/models/invoice-references.ts +2 -2
- package/models/invoice-status.ts +2 -2
- package/models/invoice-totals-prepayment.ts +2 -2
- package/models/invoice-totals.ts +2 -2
- package/models/invoice-type-code-output.ts +91 -0
- package/models/invoice-type-code.ts +8 -67
- package/models/invoicing-framework-code.ts +2 -2
- package/models/invoicing-framework.ts +5 -2
- package/models/line-net-amount.ts +2 -2
- package/models/line-sub-type.ts +30 -0
- package/models/line-total-amount.ts +2 -2
- package/models/location-inner.ts +19 -0
- package/models/mandatory-note-schema.ts +2 -2
- package/models/manual-rate.ts +2 -2
- package/models/manual-vat-rate.ts +2 -2
- package/models/missing-field.ts +2 -2
- package/models/operation-nature.ts +2 -2
- package/models/output-format.ts +2 -2
- package/models/page-dimensions-schema.ts +2 -2
- package/models/payee.ts +2 -2
- package/models/payment-amount-by-rate.ts +30 -0
- package/models/payment-card.ts +2 -2
- package/models/payment-means.ts +2 -2
- package/models/pdfvalidation-result-api.ts +2 -2
- package/models/pdpcredentials.ts +2 -2
- package/models/percentage.ts +2 -2
- package/models/postal-address.ts +2 -2
- package/models/price-allowance-amount.ts +2 -2
- package/models/price-basis-quantity.ts +2 -2
- package/models/processing-options.ts +2 -2
- package/models/processing-rule.ts +33 -0
- package/models/product-characteristic.ts +2 -2
- package/models/product-classification.ts +2 -2
- package/models/quantity.ts +2 -2
- package/models/rate.ts +22 -0
- package/models/rate1.ts +22 -0
- package/models/recipient.ts +2 -2
- package/models/report-period.ts +30 -0
- package/models/report-sender.ts +31 -0
- package/models/rounding-amount.ts +2 -2
- package/models/routing-code-include.ts +29 -0
- package/models/scheme-id.ts +31 -3
- package/models/search-flow-request.ts +2 -2
- package/models/search-flow-response.ts +2 -2
- package/models/search-services-response.ts +11 -2
- package/models/search-structure-request.ts +4 -4
- package/models/search-structure-response.ts +2 -2
- package/models/sellercountry.ts +25 -0
- package/models/signature-info-api.ts +2 -2
- package/models/signature-info.ts +2 -2
- package/models/signature-parameters.ts +2 -2
- package/models/simplified-invoice-data.ts +20 -2
- package/models/siret-include.ts +28 -0
- package/models/structure-info.ts +2 -2
- package/models/structure-parameters.ts +2 -2
- package/models/structure-service.ts +2 -2
- package/models/submission-mode.ts +2 -2
- package/models/submit-aggregated-report-request.ts +34 -0
- package/models/submit-complete-invoice-request.ts +2 -2
- package/models/submit-complete-invoice-response.ts +2 -2
- package/models/submit-ereporting-request.ts +34 -0
- package/models/submit-ereporting-response.ts +45 -0
- package/models/submit-flow-request.ts +2 -2
- package/models/submit-flow-response.ts +2 -2
- package/models/submit-gross-amount.ts +2 -2
- package/models/submit-invoice-request.ts +4 -4
- package/models/submit-invoice-response.ts +2 -2
- package/models/submit-net-amount.ts +2 -2
- package/models/submit-vat-amount.ts +2 -2
- package/models/supplementary-attachment.ts +17 -2
- package/models/supplier.ts +2 -2
- package/models/task-response.ts +2 -2
- package/models/tax-breakdown-input.ts +34 -0
- package/models/tax-due-date-type.ts +33 -0
- package/models/tax-representative.ts +2 -2
- package/models/taxable-amount.ts +2 -2
- package/models/taxableamount.ts +22 -0
- package/models/taxamount.ts +22 -0
- package/models/taxamount1.ts +22 -0
- package/models/taxamount2.ts +22 -0
- package/models/taxexclusiveamount.ts +22 -0
- package/models/taxexclusiveamount1.ts +22 -0
- package/models/total-gross-amount.ts +2 -2
- package/models/total-net-amount.ts +2 -2
- package/models/total-vatamount.ts +2 -2
- package/models/transaction-category.ts +31 -0
- package/models/transmission-type-code.ts +29 -0
- package/models/unit-net-price.ts +2 -2
- package/models/unit-of-measure.ts +2 -2
- package/models/validate-ereporting-request.ts +29 -0
- package/models/validate-ereporting-response.ts +49 -0
- package/models/validation-error-detail.ts +2 -2
- package/models/validation-error-response.ts +2 -2
- package/models/validation-error.ts +4 -4
- package/models/validation-info.ts +4 -4
- package/models/validation-success-response.ts +2 -2
- package/models/vat-rate.ts +2 -2
- package/models/vataccounting-code.ts +2 -2
- package/models/vatamount.ts +2 -2
- package/models/vatcategory.ts +2 -2
- package/models/vatline.ts +2 -2
- package/models/vatpoint-date-code.ts +2 -2
- package/models/verification-success-response.ts +2 -2
- package/models/verified-field-schema.ts +2 -2
- package/package.json +1 -1
- package/dist/esm/models/convert-error-response.d.ts +0 -27
- package/dist/esm/models/convert-error-response.js +0 -14
- package/dist/esm/models/convert-pending-input-response.d.ts +0 -31
- package/dist/esm/models/convert-pending-input-response.js +0 -14
- package/dist/esm/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +0 -14
- package/dist/esm/models/validation-error-loc-inner.d.ts +0 -13
- package/dist/esm/models/validation-error-loc-inner.js +0 -14
- package/dist/models/convert-error-response.d.ts +0 -27
- package/dist/models/convert-error-response.js +0 -15
- package/dist/models/convert-pending-input-response.d.ts +0 -31
- package/dist/models/convert-pending-input-response.js +0 -15
- package/dist/models/facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js +0 -15
- package/dist/models/validation-error-loc-inner.d.ts +0 -13
- package/dist/models/validation-error-loc-inner.js +0 -15
- package/docs/ConvertErrorResponse.md +0 -29
- package/docs/ConvertPendingInputResponse.md +0 -35
- package/models/convert-error-response.ts +0 -33
- package/models/convert-pending-input-response.ts +0 -39
- package/models/validation-error-loc-inner.ts +0 -19
|
@@ -0,0 +1,878 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FactPulse REST API
|
|
6
|
+
* REST API for electronic invoicing in France: Factur-X, AFNOR PDP/PA, electronic signatures. ## 🎯 Main Features ### 📄 Factur-X Invoice Generation - **Formats**: XML only or PDF/A-3 with embedded XML - **Profiles**: MINIMUM, BASIC, EN16931, EXTENDED - **Standards**: EN 16931 (EU directive 2014/55), ISO 19005-3 (PDF/A-3), CII (UN/CEFACT) - **🆕 Simplified Format**: Generation from SIRET + auto-enrichment (Chorus Pro API + Business Search) ### ✅ Validation and Compliance - **XML Validation**: Schematron (45 to 210+ rules depending on profile) - **PDF Validation**: PDF/A-3, Factur-X XMP metadata, electronic signatures - **VeraPDF**: Strict PDF/A validation (146+ ISO 19005-3 rules) - **Asynchronous Processing**: Celery support for heavy validations (VeraPDF) ### 📡 AFNOR PDP/PA Integration (XP Z12-013) - **Flow Submission**: Send invoices to Partner Dematerialization Platforms - **Flow Search**: View submitted invoices - **Download**: Retrieve PDF/A-3 with XML - **Directory Service**: Company search (SIREN/SIRET) - **Multi-client**: Support for multiple PDP configs per user (stored credentials or zero-storage) ### ✍️ PDF Electronic Signature - **Standards**: PAdES-B-B, PAdES-B-T (RFC 3161 timestamping), PAdES-B-LT (long-term archival) - **eIDAS Levels**: SES (self-signed), AdES (commercial CA), QES (QTSP) - **Validation**: Cryptographic integrity and certificate verification - **Certificate Generation**: Self-signed X.509 certificates for testing ### 🔄 Asynchronous Processing - **Celery**: Asynchronous generation, validation and signing - **Polling**: Status tracking via `/tasks/{task_id}/status` - **No timeout**: Ideal for large files or heavy validations ## 🔒 Authentication All requests require a **JWT token** in the Authorization header: ``` Authorization: Bearer YOUR_JWT_TOKEN ``` ### How to obtain a JWT token? #### 🔑 Method 1: `/api/token/` API (Recommended) **URL:** `https://factpulse.fr/api/token/` This method is **recommended** for integration in your applications and CI/CD workflows. **Prerequisites:** Having set a password on your account **For users registered via email/password:** - You already have a password, use it directly **For users registered via OAuth (Google/GitHub):** - You must first set a password at: https://factpulse.fr/accounts/password/set/ - Once the password is created, you can use the API **Request example:** ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\" }\' ``` **Optional `client_uid` parameter:** To select credentials for a specific client (PA/PDP, Chorus Pro, signing certificates), add `client_uid`: ```bash curl -X POST https://factpulse.fr/api/token/ \\ -H \"Content-Type: application/json\" \\ -d \'{ \"username\": \"your_email@example.com\", \"password\": \"your_password\", \"client_uid\": \"550e8400-e29b-41d4-a716-446655440000\" }\' ``` The `client_uid` will be included in the JWT and allow the API to automatically use: - AFNOR/PDP credentials configured for this client - Chorus Pro credentials configured for this client - Electronic signature certificates configured for this client **Response:** ```json { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\", // Access token (validity: 30 min) \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGc...\" // Refresh token (validity: 7 days) } ``` **Advantages:** - ✅ Full automation (CI/CD, scripts) - ✅ Programmatic token management - ✅ Refresh token support for automatic access renewal - ✅ Easy integration in any language/tool #### 🖥️ Method 2: Dashboard Generation (Alternative) **URL:** https://factpulse.fr/api/dashboard/ This method is suitable for quick tests or occasional use via the graphical interface. **How it works:** - Log in to the dashboard - Use the \"Generate Test Token\" or \"Generate Production Token\" buttons - Works for **all** users (OAuth and email/password), without requiring a password **Token types:** - **Test Token**: 24h validity, 1000 calls/day quota (free) - **Production Token**: 7 days validity, quota based on your plan **Advantages:** - ✅ Quick for API testing - ✅ No password required - ✅ Simple visual interface **Disadvantages:** - ❌ Requires manual action - ❌ No refresh token - ❌ Less suited for automation ### 📚 Full Documentation For more information on authentication and API usage: https://factpulse.fr/documentation-api/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: contact@factpulse.fr
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EReportingApi = exports.EReportingApiFactory = exports.EReportingApiFp = exports.EReportingApiAxiosParamCreator = void 0;
|
|
29
|
+
const axios_1 = __importDefault(require("axios"));
|
|
30
|
+
// Some imports not used depending on template conditions
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const common_1 = require("../common");
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
const base_1 = require("../base");
|
|
35
|
+
/**
|
|
36
|
+
* EReportingApi - axios parameter creator
|
|
37
|
+
*/
|
|
38
|
+
const EReportingApiAxiosParamCreator = function (configuration) {
|
|
39
|
+
return {
|
|
40
|
+
/**
|
|
41
|
+
* Generate a PPF-compliant aggregated e-reporting XML containing multiple flux types in a single file. This endpoint creates a Report XML that can contain: - **TransactionsReport**: Invoice (10.1) AND/OR Transactions (10.3) - **PaymentsReport**: Invoice payments (10.2) AND/OR Transaction payments (10.4) The AFNOR FlowType is automatically determined based on content: - Single type → Specific FlowType (e.g., AggregatedCustomerTransactionReport) - Multiple types → MultiFlowReport **CategoryCode (TT-81)** must use PPF-compliant values: - TLB1: Goods deliveries - TPS1: Service provisions - TNT1: Non-taxed transactions - TMA1: Mixed transactions
|
|
42
|
+
* @summary Generate aggregated e-reporting XML (PPF-compliant)
|
|
43
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost: (createAggregatedReportRequest_1, ...args_1) => __awaiter(this, [createAggregatedReportRequest_1, ...args_1], void 0, function* (createAggregatedReportRequest, options = {}) {
|
|
48
|
+
// verify required parameter 'createAggregatedReportRequest' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost', 'createAggregatedReportRequest', createAggregatedReportRequest);
|
|
50
|
+
const localVarPath = `/api/v1/ereporting/generate-aggregated`;
|
|
51
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
53
|
+
let baseOptions;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
}
|
|
57
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
58
|
+
const localVarHeaderParameter = {};
|
|
59
|
+
const localVarQueryParameter = {};
|
|
60
|
+
// authentication HTTPBearer required
|
|
61
|
+
// http bearer authentication required
|
|
62
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
63
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
64
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
65
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
66
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
68
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAggregatedReportRequest, localVarRequestOptions, configuration);
|
|
69
|
+
return {
|
|
70
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
71
|
+
options: localVarRequestOptions,
|
|
72
|
+
};
|
|
73
|
+
}),
|
|
74
|
+
/**
|
|
75
|
+
* Generate e-reporting XML (FRR format) from structured data. Supports all four flow types: - **10.1**: Unitary B2B international transactions (use `invoices` field) - **10.2**: Payments for B2B international invoices (use `invoicePayments` field) - **10.3**: Aggregated B2C transactions (use `transactions` field) - **10.4**: Aggregated B2C payments (use `aggregatedPayments` field) The generated XML is compliant with DGFIP specifications and ready for submission to a PA (Plateforme Agréée).
|
|
76
|
+
* @summary Generate e-reporting XML
|
|
77
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
generateEreportingApiV1EreportingGeneratePost: (createEReportingRequest_1, ...args_1) => __awaiter(this, [createEReportingRequest_1, ...args_1], void 0, function* (createEReportingRequest, options = {}) {
|
|
82
|
+
// verify required parameter 'createEReportingRequest' is not null or undefined
|
|
83
|
+
(0, common_1.assertParamExists)('generateEreportingApiV1EreportingGeneratePost', 'createEReportingRequest', createEReportingRequest);
|
|
84
|
+
const localVarPath = `/api/v1/ereporting/generate`;
|
|
85
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
87
|
+
let baseOptions;
|
|
88
|
+
if (configuration) {
|
|
89
|
+
baseOptions = configuration.baseOptions;
|
|
90
|
+
}
|
|
91
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
92
|
+
const localVarHeaderParameter = {};
|
|
93
|
+
const localVarQueryParameter = {};
|
|
94
|
+
// authentication HTTPBearer required
|
|
95
|
+
// http bearer authentication required
|
|
96
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
97
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
98
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
99
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
102
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEReportingRequest, localVarRequestOptions, configuration);
|
|
103
|
+
return {
|
|
104
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
105
|
+
options: localVarRequestOptions,
|
|
106
|
+
};
|
|
107
|
+
}),
|
|
108
|
+
/**
|
|
109
|
+
* Generate e-reporting XML and return as downloadable file.
|
|
110
|
+
* @summary Generate and download e-reporting XML
|
|
111
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
112
|
+
* @param {string | null} [filename] Output filename (default: ereporting_{reportId}.xml)
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
generateEreportingDownloadApiV1EreportingGenerateDownloadPost: (createEReportingRequest_1, filename_1, ...args_1) => __awaiter(this, [createEReportingRequest_1, filename_1, ...args_1], void 0, function* (createEReportingRequest, filename, options = {}) {
|
|
117
|
+
// verify required parameter 'createEReportingRequest' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('generateEreportingDownloadApiV1EreportingGenerateDownloadPost', 'createEReportingRequest', createEReportingRequest);
|
|
119
|
+
const localVarPath = `/api/v1/ereporting/generate/download`;
|
|
120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
121
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
let baseOptions;
|
|
123
|
+
if (configuration) {
|
|
124
|
+
baseOptions = configuration.baseOptions;
|
|
125
|
+
}
|
|
126
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
127
|
+
const localVarHeaderParameter = {};
|
|
128
|
+
const localVarQueryParameter = {};
|
|
129
|
+
// authentication HTTPBearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
132
|
+
if (filename !== undefined) {
|
|
133
|
+
localVarQueryParameter['filename'] = filename;
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
137
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
140
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEReportingRequest, localVarRequestOptions, configuration);
|
|
141
|
+
return {
|
|
142
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
};
|
|
145
|
+
}),
|
|
146
|
+
/**
|
|
147
|
+
* Returns the list of valid CategoryCode values (TT-81) for e-reporting transactions. Source: Annexe 6 - Format sémantique FE e-reporting v1.9
|
|
148
|
+
* @summary List PPF-compliant category codes
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
listCategoryCodesApiV1EreportingCategoryCodesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
153
|
+
const localVarPath = `/api/v1/ereporting/category-codes`;
|
|
154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
156
|
+
let baseOptions;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
}
|
|
160
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
161
|
+
const localVarHeaderParameter = {};
|
|
162
|
+
const localVarQueryParameter = {};
|
|
163
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
165
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
167
|
+
return {
|
|
168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
169
|
+
options: localVarRequestOptions,
|
|
170
|
+
};
|
|
171
|
+
}),
|
|
172
|
+
/**
|
|
173
|
+
* Returns the list of supported e-reporting flow types with descriptions.
|
|
174
|
+
* @summary List available flow types
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
listFlowTypesApiV1EreportingFlowTypesGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
179
|
+
const localVarPath = `/api/v1/ereporting/flow-types`;
|
|
180
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
|
+
let baseOptions;
|
|
183
|
+
if (configuration) {
|
|
184
|
+
baseOptions = configuration.baseOptions;
|
|
185
|
+
}
|
|
186
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
187
|
+
const localVarHeaderParameter = {};
|
|
188
|
+
const localVarQueryParameter = {};
|
|
189
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
193
|
+
return {
|
|
194
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
195
|
+
options: localVarRequestOptions,
|
|
196
|
+
};
|
|
197
|
+
}),
|
|
198
|
+
/**
|
|
199
|
+
* Generate and submit a PPF-compliant aggregated e-reporting to a PA/PDP. Combines generation and submission in a single call. Automatically determines the AFNOR FlowType based on content.
|
|
200
|
+
* @summary Submit aggregated e-reporting to PA/PDP
|
|
201
|
+
* @param {SubmitAggregatedReportRequest} submitAggregatedReportRequest
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost: (submitAggregatedReportRequest_1, ...args_1) => __awaiter(this, [submitAggregatedReportRequest_1, ...args_1], void 0, function* (submitAggregatedReportRequest, options = {}) {
|
|
206
|
+
// verify required parameter 'submitAggregatedReportRequest' is not null or undefined
|
|
207
|
+
(0, common_1.assertParamExists)('submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost', 'submitAggregatedReportRequest', submitAggregatedReportRequest);
|
|
208
|
+
const localVarPath = `/api/v1/ereporting/submit-aggregated`;
|
|
209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
210
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
211
|
+
let baseOptions;
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
}
|
|
215
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
216
|
+
const localVarHeaderParameter = {};
|
|
217
|
+
const localVarQueryParameter = {};
|
|
218
|
+
// authentication HTTPBearer required
|
|
219
|
+
// http bearer authentication required
|
|
220
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
221
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
222
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
223
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
224
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
225
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
226
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitAggregatedReportRequest, localVarRequestOptions, configuration);
|
|
227
|
+
return {
|
|
228
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
229
|
+
options: localVarRequestOptions,
|
|
230
|
+
};
|
|
231
|
+
}),
|
|
232
|
+
/**
|
|
233
|
+
* Generate and submit e-reporting to a PA (Plateforme Agréée). Authentication strategies (same as invoices): 1. **JWT with client_uid** (recommended): PDP credentials fetched from backend 2. **Zero-storage**: Provide pdpFlowServiceUrl, pdpClientId, pdpClientSecret in request The e-reporting is submitted using the AFNOR Flow Service API with syntax=FRR (FRench Reporting).
|
|
234
|
+
* @summary Submit e-reporting to PA/PDP
|
|
235
|
+
* @param {SubmitEReportingRequest} submitEReportingRequest
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
submitEreportingApiV1EreportingSubmitPost: (submitEReportingRequest_1, ...args_1) => __awaiter(this, [submitEReportingRequest_1, ...args_1], void 0, function* (submitEReportingRequest, options = {}) {
|
|
240
|
+
// verify required parameter 'submitEReportingRequest' is not null or undefined
|
|
241
|
+
(0, common_1.assertParamExists)('submitEreportingApiV1EreportingSubmitPost', 'submitEReportingRequest', submitEReportingRequest);
|
|
242
|
+
const localVarPath = `/api/v1/ereporting/submit`;
|
|
243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
244
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
245
|
+
let baseOptions;
|
|
246
|
+
if (configuration) {
|
|
247
|
+
baseOptions = configuration.baseOptions;
|
|
248
|
+
}
|
|
249
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
250
|
+
const localVarHeaderParameter = {};
|
|
251
|
+
const localVarQueryParameter = {};
|
|
252
|
+
// authentication HTTPBearer required
|
|
253
|
+
// http bearer authentication required
|
|
254
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
255
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
257
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
260
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submitEReportingRequest, localVarRequestOptions, configuration);
|
|
261
|
+
return {
|
|
262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
263
|
+
options: localVarRequestOptions,
|
|
264
|
+
};
|
|
265
|
+
}),
|
|
266
|
+
/**
|
|
267
|
+
* Submit a pre-generated e-reporting XML file directly to a PA/PDP. This endpoint is designed for clients who generate their own PPF-compliant XML and only need FactPulse for the PDP submission. **Process:** 1. Validates the XML against PPF XSD schemas 2. Determines the appropriate AFNOR FlowType 3. Submits to the configured PDP/PA 4. Returns the flowId for tracking **Authentication:** Same strategies as /submit endpoint (JWT or zero-storage credentials).
|
|
268
|
+
* @summary Submit pre-generated e-reporting XML
|
|
269
|
+
* @param {File} xmlFile E-reporting XML file
|
|
270
|
+
* @param {string | null} [trackingId]
|
|
271
|
+
* @param {boolean} [skipValidation] Skip XSD validation
|
|
272
|
+
* @param {string | null} [pdpFlowServiceUrl]
|
|
273
|
+
* @param {string | null} [pdpTokenUrl]
|
|
274
|
+
* @param {string | null} [pdpClientId]
|
|
275
|
+
* @param {string | null} [pdpClientSecret]
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
submitXmlEreportingApiV1EreportingSubmitXmlPost: (xmlFile_1, trackingId_1, skipValidation_1, pdpFlowServiceUrl_1, pdpTokenUrl_1, pdpClientId_1, pdpClientSecret_1, ...args_1) => __awaiter(this, [xmlFile_1, trackingId_1, skipValidation_1, pdpFlowServiceUrl_1, pdpTokenUrl_1, pdpClientId_1, pdpClientSecret_1, ...args_1], void 0, function* (xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options = {}) {
|
|
280
|
+
// verify required parameter 'xmlFile' is not null or undefined
|
|
281
|
+
(0, common_1.assertParamExists)('submitXmlEreportingApiV1EreportingSubmitXmlPost', 'xmlFile', xmlFile);
|
|
282
|
+
const localVarPath = `/api/v1/ereporting/submit-xml`;
|
|
283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
285
|
+
let baseOptions;
|
|
286
|
+
if (configuration) {
|
|
287
|
+
baseOptions = configuration.baseOptions;
|
|
288
|
+
}
|
|
289
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
290
|
+
const localVarHeaderParameter = {};
|
|
291
|
+
const localVarQueryParameter = {};
|
|
292
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
293
|
+
// authentication HTTPBearer required
|
|
294
|
+
// http bearer authentication required
|
|
295
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
296
|
+
if (xmlFile !== undefined) {
|
|
297
|
+
localVarFormParams.append('xml_file', xmlFile);
|
|
298
|
+
}
|
|
299
|
+
if (trackingId !== undefined) {
|
|
300
|
+
localVarFormParams.append('tracking_id', trackingId);
|
|
301
|
+
}
|
|
302
|
+
if (skipValidation !== undefined) {
|
|
303
|
+
localVarFormParams.append('skip_validation', String(skipValidation));
|
|
304
|
+
}
|
|
305
|
+
if (pdpFlowServiceUrl !== undefined) {
|
|
306
|
+
localVarFormParams.append('pdp_flow_service_url', pdpFlowServiceUrl);
|
|
307
|
+
}
|
|
308
|
+
if (pdpTokenUrl !== undefined) {
|
|
309
|
+
localVarFormParams.append('pdp_token_url', pdpTokenUrl);
|
|
310
|
+
}
|
|
311
|
+
if (pdpClientId !== undefined) {
|
|
312
|
+
localVarFormParams.append('pdp_client_id', pdpClientId);
|
|
313
|
+
}
|
|
314
|
+
if (pdpClientSecret !== undefined) {
|
|
315
|
+
localVarFormParams.append('pdp_client_secret', pdpClientSecret);
|
|
316
|
+
}
|
|
317
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
318
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
319
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
322
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
323
|
+
return {
|
|
324
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
325
|
+
options: localVarRequestOptions,
|
|
326
|
+
};
|
|
327
|
+
}),
|
|
328
|
+
/**
|
|
329
|
+
* Validates aggregated e-reporting data without generating XML.
|
|
330
|
+
* @summary Validate aggregated e-reporting data
|
|
331
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
validateAggregatedEreportingApiV1EreportingValidateAggregatedPost: (createAggregatedReportRequest_1, ...args_1) => __awaiter(this, [createAggregatedReportRequest_1, ...args_1], void 0, function* (createAggregatedReportRequest, options = {}) {
|
|
336
|
+
// verify required parameter 'createAggregatedReportRequest' is not null or undefined
|
|
337
|
+
(0, common_1.assertParamExists)('validateAggregatedEreportingApiV1EreportingValidateAggregatedPost', 'createAggregatedReportRequest', createAggregatedReportRequest);
|
|
338
|
+
const localVarPath = `/api/v1/ereporting/validate-aggregated`;
|
|
339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
340
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
341
|
+
let baseOptions;
|
|
342
|
+
if (configuration) {
|
|
343
|
+
baseOptions = configuration.baseOptions;
|
|
344
|
+
}
|
|
345
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
346
|
+
const localVarHeaderParameter = {};
|
|
347
|
+
const localVarQueryParameter = {};
|
|
348
|
+
// authentication HTTPBearer required
|
|
349
|
+
// http bearer authentication required
|
|
350
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
351
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
352
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAggregatedReportRequest, localVarRequestOptions, configuration);
|
|
357
|
+
return {
|
|
358
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
};
|
|
361
|
+
}),
|
|
362
|
+
/**
|
|
363
|
+
* Validate e-reporting data without generating or submitting. Performs: - Schema validation - Business rule validation (correct flux type vs data) - Data consistency checks (tax totals, dates, etc.) Returns validation errors and warnings.
|
|
364
|
+
* @summary Validate e-reporting data
|
|
365
|
+
* @param {ValidateEReportingRequest} validateEReportingRequest
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @throws {RequiredError}
|
|
368
|
+
*/
|
|
369
|
+
validateEreportingApiV1EreportingValidatePost: (validateEReportingRequest_1, ...args_1) => __awaiter(this, [validateEReportingRequest_1, ...args_1], void 0, function* (validateEReportingRequest, options = {}) {
|
|
370
|
+
// verify required parameter 'validateEReportingRequest' is not null or undefined
|
|
371
|
+
(0, common_1.assertParamExists)('validateEreportingApiV1EreportingValidatePost', 'validateEReportingRequest', validateEReportingRequest);
|
|
372
|
+
const localVarPath = `/api/v1/ereporting/validate`;
|
|
373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
374
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
375
|
+
let baseOptions;
|
|
376
|
+
if (configuration) {
|
|
377
|
+
baseOptions = configuration.baseOptions;
|
|
378
|
+
}
|
|
379
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
380
|
+
const localVarHeaderParameter = {};
|
|
381
|
+
const localVarQueryParameter = {};
|
|
382
|
+
// authentication HTTPBearer required
|
|
383
|
+
// http bearer authentication required
|
|
384
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
385
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
386
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
387
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
389
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
390
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(validateEReportingRequest, localVarRequestOptions, configuration);
|
|
391
|
+
return {
|
|
392
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
393
|
+
options: localVarRequestOptions,
|
|
394
|
+
};
|
|
395
|
+
}),
|
|
396
|
+
/**
|
|
397
|
+
* Validates an e-reporting XML file against: 1. **XSD schemas**: Official PPF e-reporting XSD (structure, types, cardinality) 2. **Business rules**: ISO codes and enum validation - Currency codes (ISO 4217: EUR, USD, GBP, etc.) - Country codes (ISO 3166-1 alpha-2: FR, DE, US, etc.) - Scheme IDs (0009=SIRET, 0002=SIREN, etc.) - Role codes (UNCL 3035: SE=Seller, BY=Buyer, WK=Working party, etc.) Returns validation status and detailed error messages if invalid.
|
|
398
|
+
* @summary Validate e-reporting XML against PPF XSD schemas and business rules
|
|
399
|
+
* @param {File} xmlFile E-reporting XML file to validate
|
|
400
|
+
* @param {boolean} [validateBusinessRules] Also validate business rules (ISO codes, enums)
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
validateXmlEreportingApiV1EreportingValidateXmlPost: (xmlFile_1, validateBusinessRules_1, ...args_1) => __awaiter(this, [xmlFile_1, validateBusinessRules_1, ...args_1], void 0, function* (xmlFile, validateBusinessRules, options = {}) {
|
|
405
|
+
// verify required parameter 'xmlFile' is not null or undefined
|
|
406
|
+
(0, common_1.assertParamExists)('validateXmlEreportingApiV1EreportingValidateXmlPost', 'xmlFile', xmlFile);
|
|
407
|
+
const localVarPath = `/api/v1/ereporting/validate-xml`;
|
|
408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
409
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
410
|
+
let baseOptions;
|
|
411
|
+
if (configuration) {
|
|
412
|
+
baseOptions = configuration.baseOptions;
|
|
413
|
+
}
|
|
414
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
415
|
+
const localVarHeaderParameter = {};
|
|
416
|
+
const localVarQueryParameter = {};
|
|
417
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
418
|
+
// authentication HTTPBearer required
|
|
419
|
+
// http bearer authentication required
|
|
420
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
421
|
+
if (validateBusinessRules !== undefined) {
|
|
422
|
+
localVarQueryParameter['validate_business_rules'] = validateBusinessRules;
|
|
423
|
+
}
|
|
424
|
+
if (xmlFile !== undefined) {
|
|
425
|
+
localVarFormParams.append('xml_file', xmlFile);
|
|
426
|
+
}
|
|
427
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
428
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
429
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
430
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
431
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
432
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
433
|
+
return {
|
|
434
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
435
|
+
options: localVarRequestOptions,
|
|
436
|
+
};
|
|
437
|
+
}),
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
exports.EReportingApiAxiosParamCreator = EReportingApiAxiosParamCreator;
|
|
441
|
+
/**
|
|
442
|
+
* EReportingApi - functional programming interface
|
|
443
|
+
*/
|
|
444
|
+
const EReportingApiFp = function (configuration) {
|
|
445
|
+
const localVarAxiosParamCreator = (0, exports.EReportingApiAxiosParamCreator)(configuration);
|
|
446
|
+
return {
|
|
447
|
+
/**
|
|
448
|
+
* Generate a PPF-compliant aggregated e-reporting XML containing multiple flux types in a single file. This endpoint creates a Report XML that can contain: - **TransactionsReport**: Invoice (10.1) AND/OR Transactions (10.3) - **PaymentsReport**: Invoice payments (10.2) AND/OR Transaction payments (10.4) The AFNOR FlowType is automatically determined based on content: - Single type → Specific FlowType (e.g., AggregatedCustomerTransactionReport) - Multiple types → MultiFlowReport **CategoryCode (TT-81)** must use PPF-compliant values: - TLB1: Goods deliveries - TPS1: Service provisions - TNT1: Non-taxed transactions - TMA1: Mixed transactions
|
|
449
|
+
* @summary Generate aggregated e-reporting XML (PPF-compliant)
|
|
450
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options) {
|
|
455
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
456
|
+
var _a, _b, _c;
|
|
457
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options);
|
|
458
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
459
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
460
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
461
|
+
});
|
|
462
|
+
},
|
|
463
|
+
/**
|
|
464
|
+
* Generate e-reporting XML (FRR format) from structured data. Supports all four flow types: - **10.1**: Unitary B2B international transactions (use `invoices` field) - **10.2**: Payments for B2B international invoices (use `invoicePayments` field) - **10.3**: Aggregated B2C transactions (use `transactions` field) - **10.4**: Aggregated B2C payments (use `aggregatedPayments` field) The generated XML is compliant with DGFIP specifications and ready for submission to a PA (Plateforme Agréée).
|
|
465
|
+
* @summary Generate e-reporting XML
|
|
466
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options) {
|
|
471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
472
|
+
var _a, _b, _c;
|
|
473
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options);
|
|
474
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
475
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.generateEreportingApiV1EreportingGeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
476
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
477
|
+
});
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
* Generate e-reporting XML and return as downloadable file.
|
|
481
|
+
* @summary Generate and download e-reporting XML
|
|
482
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
483
|
+
* @param {string | null} [filename] Output filename (default: ereporting_{reportId}.xml)
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options) {
|
|
488
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
489
|
+
var _a, _b, _c;
|
|
490
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options);
|
|
491
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
492
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.generateEreportingDownloadApiV1EreportingGenerateDownloadPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
493
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
494
|
+
});
|
|
495
|
+
},
|
|
496
|
+
/**
|
|
497
|
+
* Returns the list of valid CategoryCode values (TT-81) for e-reporting transactions. Source: Annexe 6 - Format sémantique FE e-reporting v1.9
|
|
498
|
+
* @summary List PPF-compliant category codes
|
|
499
|
+
* @param {*} [options] Override http request option.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
listCategoryCodesApiV1EreportingCategoryCodesGet(options) {
|
|
503
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
504
|
+
var _a, _b, _c;
|
|
505
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCategoryCodesApiV1EreportingCategoryCodesGet(options);
|
|
506
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
507
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.listCategoryCodesApiV1EreportingCategoryCodesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
508
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
509
|
+
});
|
|
510
|
+
},
|
|
511
|
+
/**
|
|
512
|
+
* Returns the list of supported e-reporting flow types with descriptions.
|
|
513
|
+
* @summary List available flow types
|
|
514
|
+
* @param {*} [options] Override http request option.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
*/
|
|
517
|
+
listFlowTypesApiV1EreportingFlowTypesGet(options) {
|
|
518
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
519
|
+
var _a, _b, _c;
|
|
520
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFlowTypesApiV1EreportingFlowTypesGet(options);
|
|
521
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
522
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.listFlowTypesApiV1EreportingFlowTypesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
523
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
524
|
+
});
|
|
525
|
+
},
|
|
526
|
+
/**
|
|
527
|
+
* Generate and submit a PPF-compliant aggregated e-reporting to a PA/PDP. Combines generation and submission in a single call. Automatically determines the AFNOR FlowType based on content.
|
|
528
|
+
* @summary Submit aggregated e-reporting to PA/PDP
|
|
529
|
+
* @param {SubmitAggregatedReportRequest} submitAggregatedReportRequest
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options) {
|
|
534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
+
var _a, _b, _c;
|
|
536
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options);
|
|
537
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
538
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
539
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
540
|
+
});
|
|
541
|
+
},
|
|
542
|
+
/**
|
|
543
|
+
* Generate and submit e-reporting to a PA (Plateforme Agréée). Authentication strategies (same as invoices): 1. **JWT with client_uid** (recommended): PDP credentials fetched from backend 2. **Zero-storage**: Provide pdpFlowServiceUrl, pdpClientId, pdpClientSecret in request The e-reporting is submitted using the AFNOR Flow Service API with syntax=FRR (FRench Reporting).
|
|
544
|
+
* @summary Submit e-reporting to PA/PDP
|
|
545
|
+
* @param {SubmitEReportingRequest} submitEReportingRequest
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options) {
|
|
550
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
551
|
+
var _a, _b, _c;
|
|
552
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options);
|
|
553
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
554
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.submitEreportingApiV1EreportingSubmitPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
555
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
556
|
+
});
|
|
557
|
+
},
|
|
558
|
+
/**
|
|
559
|
+
* Submit a pre-generated e-reporting XML file directly to a PA/PDP. This endpoint is designed for clients who generate their own PPF-compliant XML and only need FactPulse for the PDP submission. **Process:** 1. Validates the XML against PPF XSD schemas 2. Determines the appropriate AFNOR FlowType 3. Submits to the configured PDP/PA 4. Returns the flowId for tracking **Authentication:** Same strategies as /submit endpoint (JWT or zero-storage credentials).
|
|
560
|
+
* @summary Submit pre-generated e-reporting XML
|
|
561
|
+
* @param {File} xmlFile E-reporting XML file
|
|
562
|
+
* @param {string | null} [trackingId]
|
|
563
|
+
* @param {boolean} [skipValidation] Skip XSD validation
|
|
564
|
+
* @param {string | null} [pdpFlowServiceUrl]
|
|
565
|
+
* @param {string | null} [pdpTokenUrl]
|
|
566
|
+
* @param {string | null} [pdpClientId]
|
|
567
|
+
* @param {string | null} [pdpClientSecret]
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options) {
|
|
572
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
+
var _a, _b, _c;
|
|
574
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options);
|
|
575
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
576
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.submitXmlEreportingApiV1EreportingSubmitXmlPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
577
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
578
|
+
});
|
|
579
|
+
},
|
|
580
|
+
/**
|
|
581
|
+
* Validates aggregated e-reporting data without generating XML.
|
|
582
|
+
* @summary Validate aggregated e-reporting data
|
|
583
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options) {
|
|
588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
589
|
+
var _a, _b, _c;
|
|
590
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options);
|
|
591
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
592
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.validateAggregatedEreportingApiV1EreportingValidateAggregatedPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
593
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
594
|
+
});
|
|
595
|
+
},
|
|
596
|
+
/**
|
|
597
|
+
* Validate e-reporting data without generating or submitting. Performs: - Schema validation - Business rule validation (correct flux type vs data) - Data consistency checks (tax totals, dates, etc.) Returns validation errors and warnings.
|
|
598
|
+
* @summary Validate e-reporting data
|
|
599
|
+
* @param {ValidateEReportingRequest} validateEReportingRequest
|
|
600
|
+
* @param {*} [options] Override http request option.
|
|
601
|
+
* @throws {RequiredError}
|
|
602
|
+
*/
|
|
603
|
+
validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options) {
|
|
604
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
605
|
+
var _a, _b, _c;
|
|
606
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options);
|
|
607
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
608
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.validateEreportingApiV1EreportingValidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
609
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
610
|
+
});
|
|
611
|
+
},
|
|
612
|
+
/**
|
|
613
|
+
* Validates an e-reporting XML file against: 1. **XSD schemas**: Official PPF e-reporting XSD (structure, types, cardinality) 2. **Business rules**: ISO codes and enum validation - Currency codes (ISO 4217: EUR, USD, GBP, etc.) - Country codes (ISO 3166-1 alpha-2: FR, DE, US, etc.) - Scheme IDs (0009=SIRET, 0002=SIREN, etc.) - Role codes (UNCL 3035: SE=Seller, BY=Buyer, WK=Working party, etc.) Returns validation status and detailed error messages if invalid.
|
|
614
|
+
* @summary Validate e-reporting XML against PPF XSD schemas and business rules
|
|
615
|
+
* @param {File} xmlFile E-reporting XML file to validate
|
|
616
|
+
* @param {boolean} [validateBusinessRules] Also validate business rules (ISO codes, enums)
|
|
617
|
+
* @param {*} [options] Override http request option.
|
|
618
|
+
* @throws {RequiredError}
|
|
619
|
+
*/
|
|
620
|
+
validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options) {
|
|
621
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
622
|
+
var _a, _b, _c;
|
|
623
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options);
|
|
624
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
625
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EReportingApi.validateXmlEreportingApiV1EreportingValidateXmlPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
626
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
627
|
+
});
|
|
628
|
+
},
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
exports.EReportingApiFp = EReportingApiFp;
|
|
632
|
+
/**
|
|
633
|
+
* EReportingApi - factory interface
|
|
634
|
+
*/
|
|
635
|
+
const EReportingApiFactory = function (configuration, basePath, axios) {
|
|
636
|
+
const localVarFp = (0, exports.EReportingApiFp)(configuration);
|
|
637
|
+
return {
|
|
638
|
+
/**
|
|
639
|
+
* Generate a PPF-compliant aggregated e-reporting XML containing multiple flux types in a single file. This endpoint creates a Report XML that can contain: - **TransactionsReport**: Invoice (10.1) AND/OR Transactions (10.3) - **PaymentsReport**: Invoice payments (10.2) AND/OR Transaction payments (10.4) The AFNOR FlowType is automatically determined based on content: - Single type → Specific FlowType (e.g., AggregatedCustomerTransactionReport) - Multiple types → MultiFlowReport **CategoryCode (TT-81)** must use PPF-compliant values: - TLB1: Goods deliveries - TPS1: Service provisions - TNT1: Non-taxed transactions - TMA1: Mixed transactions
|
|
640
|
+
* @summary Generate aggregated e-reporting XML (PPF-compliant)
|
|
641
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options) {
|
|
646
|
+
return localVarFp.generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options).then((request) => request(axios, basePath));
|
|
647
|
+
},
|
|
648
|
+
/**
|
|
649
|
+
* Generate e-reporting XML (FRR format) from structured data. Supports all four flow types: - **10.1**: Unitary B2B international transactions (use `invoices` field) - **10.2**: Payments for B2B international invoices (use `invoicePayments` field) - **10.3**: Aggregated B2C transactions (use `transactions` field) - **10.4**: Aggregated B2C payments (use `aggregatedPayments` field) The generated XML is compliant with DGFIP specifications and ready for submission to a PA (Plateforme Agréée).
|
|
650
|
+
* @summary Generate e-reporting XML
|
|
651
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options) {
|
|
656
|
+
return localVarFp.generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options).then((request) => request(axios, basePath));
|
|
657
|
+
},
|
|
658
|
+
/**
|
|
659
|
+
* Generate e-reporting XML and return as downloadable file.
|
|
660
|
+
* @summary Generate and download e-reporting XML
|
|
661
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
662
|
+
* @param {string | null} [filename] Output filename (default: ereporting_{reportId}.xml)
|
|
663
|
+
* @param {*} [options] Override http request option.
|
|
664
|
+
* @throws {RequiredError}
|
|
665
|
+
*/
|
|
666
|
+
generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options) {
|
|
667
|
+
return localVarFp.generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options).then((request) => request(axios, basePath));
|
|
668
|
+
},
|
|
669
|
+
/**
|
|
670
|
+
* Returns the list of valid CategoryCode values (TT-81) for e-reporting transactions. Source: Annexe 6 - Format sémantique FE e-reporting v1.9
|
|
671
|
+
* @summary List PPF-compliant category codes
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
listCategoryCodesApiV1EreportingCategoryCodesGet(options) {
|
|
676
|
+
return localVarFp.listCategoryCodesApiV1EreportingCategoryCodesGet(options).then((request) => request(axios, basePath));
|
|
677
|
+
},
|
|
678
|
+
/**
|
|
679
|
+
* Returns the list of supported e-reporting flow types with descriptions.
|
|
680
|
+
* @summary List available flow types
|
|
681
|
+
* @param {*} [options] Override http request option.
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
*/
|
|
684
|
+
listFlowTypesApiV1EreportingFlowTypesGet(options) {
|
|
685
|
+
return localVarFp.listFlowTypesApiV1EreportingFlowTypesGet(options).then((request) => request(axios, basePath));
|
|
686
|
+
},
|
|
687
|
+
/**
|
|
688
|
+
* Generate and submit a PPF-compliant aggregated e-reporting to a PA/PDP. Combines generation and submission in a single call. Automatically determines the AFNOR FlowType based on content.
|
|
689
|
+
* @summary Submit aggregated e-reporting to PA/PDP
|
|
690
|
+
* @param {SubmitAggregatedReportRequest} submitAggregatedReportRequest
|
|
691
|
+
* @param {*} [options] Override http request option.
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
*/
|
|
694
|
+
submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options) {
|
|
695
|
+
return localVarFp.submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options).then((request) => request(axios, basePath));
|
|
696
|
+
},
|
|
697
|
+
/**
|
|
698
|
+
* Generate and submit e-reporting to a PA (Plateforme Agréée). Authentication strategies (same as invoices): 1. **JWT with client_uid** (recommended): PDP credentials fetched from backend 2. **Zero-storage**: Provide pdpFlowServiceUrl, pdpClientId, pdpClientSecret in request The e-reporting is submitted using the AFNOR Flow Service API with syntax=FRR (FRench Reporting).
|
|
699
|
+
* @summary Submit e-reporting to PA/PDP
|
|
700
|
+
* @param {SubmitEReportingRequest} submitEReportingRequest
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
*/
|
|
704
|
+
submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options) {
|
|
705
|
+
return localVarFp.submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options).then((request) => request(axios, basePath));
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
* Submit a pre-generated e-reporting XML file directly to a PA/PDP. This endpoint is designed for clients who generate their own PPF-compliant XML and only need FactPulse for the PDP submission. **Process:** 1. Validates the XML against PPF XSD schemas 2. Determines the appropriate AFNOR FlowType 3. Submits to the configured PDP/PA 4. Returns the flowId for tracking **Authentication:** Same strategies as /submit endpoint (JWT or zero-storage credentials).
|
|
709
|
+
* @summary Submit pre-generated e-reporting XML
|
|
710
|
+
* @param {File} xmlFile E-reporting XML file
|
|
711
|
+
* @param {string | null} [trackingId]
|
|
712
|
+
* @param {boolean} [skipValidation] Skip XSD validation
|
|
713
|
+
* @param {string | null} [pdpFlowServiceUrl]
|
|
714
|
+
* @param {string | null} [pdpTokenUrl]
|
|
715
|
+
* @param {string | null} [pdpClientId]
|
|
716
|
+
* @param {string | null} [pdpClientSecret]
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
*/
|
|
720
|
+
submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options) {
|
|
721
|
+
return localVarFp.submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options).then((request) => request(axios, basePath));
|
|
722
|
+
},
|
|
723
|
+
/**
|
|
724
|
+
* Validates aggregated e-reporting data without generating XML.
|
|
725
|
+
* @summary Validate aggregated e-reporting data
|
|
726
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options) {
|
|
731
|
+
return localVarFp.validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options).then((request) => request(axios, basePath));
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
* Validate e-reporting data without generating or submitting. Performs: - Schema validation - Business rule validation (correct flux type vs data) - Data consistency checks (tax totals, dates, etc.) Returns validation errors and warnings.
|
|
735
|
+
* @summary Validate e-reporting data
|
|
736
|
+
* @param {ValidateEReportingRequest} validateEReportingRequest
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options) {
|
|
741
|
+
return localVarFp.validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options).then((request) => request(axios, basePath));
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
* Validates an e-reporting XML file against: 1. **XSD schemas**: Official PPF e-reporting XSD (structure, types, cardinality) 2. **Business rules**: ISO codes and enum validation - Currency codes (ISO 4217: EUR, USD, GBP, etc.) - Country codes (ISO 3166-1 alpha-2: FR, DE, US, etc.) - Scheme IDs (0009=SIRET, 0002=SIREN, etc.) - Role codes (UNCL 3035: SE=Seller, BY=Buyer, WK=Working party, etc.) Returns validation status and detailed error messages if invalid.
|
|
745
|
+
* @summary Validate e-reporting XML against PPF XSD schemas and business rules
|
|
746
|
+
* @param {File} xmlFile E-reporting XML file to validate
|
|
747
|
+
* @param {boolean} [validateBusinessRules] Also validate business rules (ISO codes, enums)
|
|
748
|
+
* @param {*} [options] Override http request option.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options) {
|
|
752
|
+
return localVarFp.validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options).then((request) => request(axios, basePath));
|
|
753
|
+
},
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
exports.EReportingApiFactory = EReportingApiFactory;
|
|
757
|
+
/**
|
|
758
|
+
* EReportingApi - object-oriented interface
|
|
759
|
+
*/
|
|
760
|
+
class EReportingApi extends base_1.BaseAPI {
|
|
761
|
+
/**
|
|
762
|
+
* Generate a PPF-compliant aggregated e-reporting XML containing multiple flux types in a single file. This endpoint creates a Report XML that can contain: - **TransactionsReport**: Invoice (10.1) AND/OR Transactions (10.3) - **PaymentsReport**: Invoice payments (10.2) AND/OR Transaction payments (10.4) The AFNOR FlowType is automatically determined based on content: - Single type → Specific FlowType (e.g., AggregatedCustomerTransactionReport) - Multiple types → MultiFlowReport **CategoryCode (TT-81)** must use PPF-compliant values: - TLB1: Goods deliveries - TPS1: Service provisions - TNT1: Non-taxed transactions - TMA1: Mixed transactions
|
|
763
|
+
* @summary Generate aggregated e-reporting XML (PPF-compliant)
|
|
764
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options) {
|
|
769
|
+
return (0, exports.EReportingApiFp)(this.configuration).generateAggregatedEreportingApiV1EreportingGenerateAggregatedPost(createAggregatedReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Generate e-reporting XML (FRR format) from structured data. Supports all four flow types: - **10.1**: Unitary B2B international transactions (use `invoices` field) - **10.2**: Payments for B2B international invoices (use `invoicePayments` field) - **10.3**: Aggregated B2C transactions (use `transactions` field) - **10.4**: Aggregated B2C payments (use `aggregatedPayments` field) The generated XML is compliant with DGFIP specifications and ready for submission to a PA (Plateforme Agréée).
|
|
773
|
+
* @summary Generate e-reporting XML
|
|
774
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options) {
|
|
779
|
+
return (0, exports.EReportingApiFp)(this.configuration).generateEreportingApiV1EreportingGeneratePost(createEReportingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Generate e-reporting XML and return as downloadable file.
|
|
783
|
+
* @summary Generate and download e-reporting XML
|
|
784
|
+
* @param {CreateEReportingRequest} createEReportingRequest
|
|
785
|
+
* @param {string | null} [filename] Output filename (default: ereporting_{reportId}.xml)
|
|
786
|
+
* @param {*} [options] Override http request option.
|
|
787
|
+
* @throws {RequiredError}
|
|
788
|
+
*/
|
|
789
|
+
generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options) {
|
|
790
|
+
return (0, exports.EReportingApiFp)(this.configuration).generateEreportingDownloadApiV1EreportingGenerateDownloadPost(createEReportingRequest, filename, options).then((request) => request(this.axios, this.basePath));
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Returns the list of valid CategoryCode values (TT-81) for e-reporting transactions. Source: Annexe 6 - Format sémantique FE e-reporting v1.9
|
|
794
|
+
* @summary List PPF-compliant category codes
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @throws {RequiredError}
|
|
797
|
+
*/
|
|
798
|
+
listCategoryCodesApiV1EreportingCategoryCodesGet(options) {
|
|
799
|
+
return (0, exports.EReportingApiFp)(this.configuration).listCategoryCodesApiV1EreportingCategoryCodesGet(options).then((request) => request(this.axios, this.basePath));
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Returns the list of supported e-reporting flow types with descriptions.
|
|
803
|
+
* @summary List available flow types
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
listFlowTypesApiV1EreportingFlowTypesGet(options) {
|
|
808
|
+
return (0, exports.EReportingApiFp)(this.configuration).listFlowTypesApiV1EreportingFlowTypesGet(options).then((request) => request(this.axios, this.basePath));
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Generate and submit a PPF-compliant aggregated e-reporting to a PA/PDP. Combines generation and submission in a single call. Automatically determines the AFNOR FlowType based on content.
|
|
812
|
+
* @summary Submit aggregated e-reporting to PA/PDP
|
|
813
|
+
* @param {SubmitAggregatedReportRequest} submitAggregatedReportRequest
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
*/
|
|
817
|
+
submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options) {
|
|
818
|
+
return (0, exports.EReportingApiFp)(this.configuration).submitAggregatedEreportingApiV1EreportingSubmitAggregatedPost(submitAggregatedReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Generate and submit e-reporting to a PA (Plateforme Agréée). Authentication strategies (same as invoices): 1. **JWT with client_uid** (recommended): PDP credentials fetched from backend 2. **Zero-storage**: Provide pdpFlowServiceUrl, pdpClientId, pdpClientSecret in request The e-reporting is submitted using the AFNOR Flow Service API with syntax=FRR (FRench Reporting).
|
|
822
|
+
* @summary Submit e-reporting to PA/PDP
|
|
823
|
+
* @param {SubmitEReportingRequest} submitEReportingRequest
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options) {
|
|
828
|
+
return (0, exports.EReportingApiFp)(this.configuration).submitEreportingApiV1EreportingSubmitPost(submitEReportingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Submit a pre-generated e-reporting XML file directly to a PA/PDP. This endpoint is designed for clients who generate their own PPF-compliant XML and only need FactPulse for the PDP submission. **Process:** 1. Validates the XML against PPF XSD schemas 2. Determines the appropriate AFNOR FlowType 3. Submits to the configured PDP/PA 4. Returns the flowId for tracking **Authentication:** Same strategies as /submit endpoint (JWT or zero-storage credentials).
|
|
832
|
+
* @summary Submit pre-generated e-reporting XML
|
|
833
|
+
* @param {File} xmlFile E-reporting XML file
|
|
834
|
+
* @param {string | null} [trackingId]
|
|
835
|
+
* @param {boolean} [skipValidation] Skip XSD validation
|
|
836
|
+
* @param {string | null} [pdpFlowServiceUrl]
|
|
837
|
+
* @param {string | null} [pdpTokenUrl]
|
|
838
|
+
* @param {string | null} [pdpClientId]
|
|
839
|
+
* @param {string | null} [pdpClientSecret]
|
|
840
|
+
* @param {*} [options] Override http request option.
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
*/
|
|
843
|
+
submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options) {
|
|
844
|
+
return (0, exports.EReportingApiFp)(this.configuration).submitXmlEreportingApiV1EreportingSubmitXmlPost(xmlFile, trackingId, skipValidation, pdpFlowServiceUrl, pdpTokenUrl, pdpClientId, pdpClientSecret, options).then((request) => request(this.axios, this.basePath));
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Validates aggregated e-reporting data without generating XML.
|
|
848
|
+
* @summary Validate aggregated e-reporting data
|
|
849
|
+
* @param {CreateAggregatedReportRequest} createAggregatedReportRequest
|
|
850
|
+
* @param {*} [options] Override http request option.
|
|
851
|
+
* @throws {RequiredError}
|
|
852
|
+
*/
|
|
853
|
+
validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options) {
|
|
854
|
+
return (0, exports.EReportingApiFp)(this.configuration).validateAggregatedEreportingApiV1EreportingValidateAggregatedPost(createAggregatedReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Validate e-reporting data without generating or submitting. Performs: - Schema validation - Business rule validation (correct flux type vs data) - Data consistency checks (tax totals, dates, etc.) Returns validation errors and warnings.
|
|
858
|
+
* @summary Validate e-reporting data
|
|
859
|
+
* @param {ValidateEReportingRequest} validateEReportingRequest
|
|
860
|
+
* @param {*} [options] Override http request option.
|
|
861
|
+
* @throws {RequiredError}
|
|
862
|
+
*/
|
|
863
|
+
validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options) {
|
|
864
|
+
return (0, exports.EReportingApiFp)(this.configuration).validateEreportingApiV1EreportingValidatePost(validateEReportingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* Validates an e-reporting XML file against: 1. **XSD schemas**: Official PPF e-reporting XSD (structure, types, cardinality) 2. **Business rules**: ISO codes and enum validation - Currency codes (ISO 4217: EUR, USD, GBP, etc.) - Country codes (ISO 3166-1 alpha-2: FR, DE, US, etc.) - Scheme IDs (0009=SIRET, 0002=SIREN, etc.) - Role codes (UNCL 3035: SE=Seller, BY=Buyer, WK=Working party, etc.) Returns validation status and detailed error messages if invalid.
|
|
868
|
+
* @summary Validate e-reporting XML against PPF XSD schemas and business rules
|
|
869
|
+
* @param {File} xmlFile E-reporting XML file to validate
|
|
870
|
+
* @param {boolean} [validateBusinessRules] Also validate business rules (ISO codes, enums)
|
|
871
|
+
* @param {*} [options] Override http request option.
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
*/
|
|
874
|
+
validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options) {
|
|
875
|
+
return (0, exports.EReportingApiFp)(this.configuration).validateXmlEreportingApiV1EreportingValidateXmlPost(xmlFile, validateBusinessRules, options).then((request) => request(this.axios, this.basePath));
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
exports.EReportingApi = EReportingApi;
|