digicust_types 1.7.321 → 1.7.322
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/lib/contracts/import-ocr-document-into-graph.dto.d-ti.ts +21 -0
- package/lib/contracts/index.d-ti.ts +11 -0
- package/lib/contracts/start-dakosy-submission.dto.d-ti.ts +17 -0
- package/lib/contracts/start-dakosy-submission.dto.dtest.ts +17 -0
- package/lib/contracts/start-data-extraction.dto.d-ti.ts +25 -0
- package/lib/contracts/start-data-integration.dto.d-ti.ts +17 -0
- package/lib/contracts/start-data-normalization.dto.d-ti.ts +17 -0
- package/lib/contracts/start-data-validation.dto.d-ti.ts +17 -0
- package/lib/contracts/start-document-classifier.dto.d-ti.ts +17 -0
- package/lib/contracts/start-document-merger.dto.d-ti.ts +21 -0
- package/lib/contracts/start-document-splitting.dto.d-ti.ts +19 -0
- package/lib/contracts/start-hs-classification-research.dto.d-ti.ts +15 -0
- package/lib/contracts/start-hs-classification.dto.d-ti.ts +14 -0
- package/lib/contracts/start-hs-classification.dto.d.ts +3 -0
- package/lib/{models/digicust/documents/delivery-note.model.js → contracts/start-hs-classification.dto.js} +0 -0
- package/lib/contracts/start-hs-classifier.dto.d-ti.ts +18 -0
- package/lib/contracts/start-ocr.dto.d-ti.ts +19 -0
- package/lib/contracts/start-post-processing.dto.d-ti.ts +17 -0
- package/lib/contracts/trigger-event.dto.d-ti.ts +17 -0
- package/lib/helpers/cleanObject.d-ti.ts +11 -0
- package/lib/index.d-ti.ts +11 -0
- package/lib/models/common/address.model.d-ti.ts +29 -0
- package/lib/models/common/address.model.d.ts +23 -0
- package/lib/models/common/address.model.js +13 -0
- package/lib/models/common/bbox.model.d-ti.ts +18 -0
- package/lib/models/common/bbox.model.d.ts +22 -0
- package/lib/models/common/bbox.model.js +2 -0
- package/lib/models/common/checkpoint.model.d-ti.ts +38 -0
- package/lib/models/common/checkpoint.model.d.ts +21 -0
- package/lib/models/common/checkpoint.model.js +8 -0
- package/lib/models/common/classification-code.model.d-ti.ts +15 -0
- package/lib/models/common/classification-code.model.d.ts +5 -0
- package/lib/models/common/classification-code.model.js +2 -0
- package/lib/models/common/company.model.d-ti.ts +31 -0
- package/lib/models/common/company.model.d.ts +30 -0
- package/lib/models/common/company.model.js +2 -0
- package/lib/models/common/country.model.d-ti.ts +14 -0
- package/lib/models/common/country.model.d.ts +4 -0
- package/lib/models/common/country.model.js +2 -0
- package/lib/models/common/currency.enum.d-ti.ts +192 -0
- package/lib/models/common/currency.enum.d.ts +181 -0
- package/lib/models/common/currency.enum.js +185 -0
- package/lib/models/common/customs-tariff-number.model.d-ti.ts +26 -0
- package/lib/models/common/customs-tariff-number.model.d.ts +25 -0
- package/lib/models/common/customs-tariff-number.model.js +21 -0
- package/lib/models/common/date.model.d-ti.ts +15 -0
- package/lib/models/common/date.model.d.ts +5 -0
- package/lib/models/common/date.model.js +2 -0
- package/lib/models/common/dialog-window.model.d-ti.ts +16 -0
- package/lib/models/common/dialog-window.model.d.ts +6 -0
- package/lib/models/common/dialog-window.model.js +2 -0
- package/lib/models/common/dimensions-unit.enum.d-ti.ts +18 -0
- package/lib/models/common/dimensions-unit.enum.d.ts +7 -0
- package/lib/models/common/dimensions-unit.enum.js +11 -0
- package/lib/models/common/dimensions.model.d-ti.ts +17 -0
- package/lib/models/common/dimensions.model.d.ts +8 -0
- package/lib/models/common/dimensions.model.js +2 -0
- package/lib/models/common/event.model.d-ti.ts +38 -0
- package/lib/models/common/event.model.d.ts +21 -0
- package/lib/models/common/event.model.js +8 -0
- package/lib/models/common/extra-styles.model.d-ti.ts +15 -0
- package/lib/models/common/extra-styles.model.d.ts +4 -0
- package/lib/models/common/extra-styles.model.js +2 -0
- package/lib/models/common/field-type.enum.d-ti.ts +21 -0
- package/lib/models/common/field-type.enum.d.ts +10 -0
- package/lib/models/common/field-type.enum.js +14 -0
- package/lib/models/common/filter.enum.d-ti.ts +19 -0
- package/lib/models/common/filter.enum.d.ts +8 -0
- package/lib/models/common/filter.enum.js +12 -0
- package/lib/models/common/frontend-fields.model.d-ti.ts +20 -0
- package/lib/models/common/frontend-fields.model.d.ts +11 -0
- package/lib/models/common/frontend-fields.model.js +2 -0
- package/lib/models/common/fuzzy-input.d-ti.ts +15 -0
- package/lib/models/common/fuzzy-input.d.ts +4 -0
- package/lib/models/common/fuzzy-input.js +2 -0
- package/lib/models/common/hs-classification-interaction.d-ti.ts +40 -0
- package/lib/models/common/hs-classification-interaction.d.ts +30 -0
- package/lib/models/common/hs-classification-interaction.js +2 -0
- package/lib/models/common/hs-classification-response.d-ti.ts +40 -0
- package/lib/models/common/hs-classification-response.d.ts +31 -0
- package/lib/models/common/hs-classification-response.js +2 -0
- package/lib/models/common/hs-code.model.d-ti.ts +21 -0
- package/lib/models/common/hs-code.model.d.ts +11 -0
- package/lib/models/common/hs-code.model.js +2 -0
- package/lib/models/common/index.d-ti.ts +11 -0
- package/lib/models/common/index.d.ts +29 -0
- package/lib/models/common/index.js +49 -0
- package/lib/models/common/language.model.d-ti.ts +14 -0
- package/lib/models/common/language.model.d.ts +4 -0
- package/lib/models/common/language.model.js +2 -0
- package/lib/models/common/meta.d-ti.ts +22 -0
- package/lib/models/common/meta.d.ts +35 -0
- package/lib/models/common/meta.js +13 -0
- package/lib/models/common/money.model.d-ti.ts +16 -0
- package/lib/models/common/money.model.d.ts +11 -0
- package/lib/models/common/money.model.js +16 -0
- package/lib/models/common/multerfile.model.d-ti.ts +19 -0
- package/lib/models/common/multerfile.model.d.ts +12 -0
- package/lib/models/common/multerfile.model.js +2 -0
- package/lib/models/common/package-type.model.d-ti.ts +17 -0
- package/lib/models/common/package-type.model.d.ts +10 -0
- package/lib/models/common/package-type.model.js +2 -0
- package/lib/models/common/periods.enum.d-ti.ts +16 -0
- package/lib/models/common/periods.enum.d.ts +5 -0
- package/lib/models/common/periods.enum.js +9 -0
- package/lib/models/common/person.model.d-ti.ts +19 -0
- package/lib/models/common/person.model.d.ts +12 -0
- package/lib/models/common/person.model.js +2 -0
- package/lib/models/common/prefix.enum.d-ti.ts +16 -0
- package/lib/models/common/prefix.enum.d.ts +5 -0
- package/lib/models/common/prefix.enum.js +10 -0
- package/lib/models/common/quantity.model.d-ti.ts +16 -0
- package/lib/models/common/quantity.model.d.ts +18 -0
- package/lib/models/common/quantity.model.js +10 -0
- package/lib/models/common/section-type.enum.d-ti.ts +23 -0
- package/lib/models/common/section-type.enum.d.ts +12 -0
- package/lib/models/common/section-type.enum.js +16 -0
- package/lib/models/common/sort.enum.d-ti.ts +15 -0
- package/lib/models/common/sort.enum.d.ts +4 -0
- package/lib/models/common/sort.enum.js +8 -0
- package/lib/models/common/subscription-price.model.d-ti.ts +20 -0
- package/lib/models/common/subscription-price.model.d.ts +9 -0
- package/lib/models/common/subscription-price.model.js +2 -0
- package/lib/models/common/super.d-ti.ts +18 -0
- package/lib/models/common/super.d.ts +7 -0
- package/lib/models/common/super.js +2 -0
- package/lib/models/common/unit-of-measurement.d-ti.ts +20 -0
- package/lib/models/common/unit-of-measurement.d.ts +10 -0
- package/lib/models/common/unit-of-measurement.js +2 -0
- package/lib/models/common/uom.enum.d-ti.ts +50 -0
- package/lib/models/common/uom.enum.d.ts +39 -0
- package/lib/models/common/uom.enum.js +44 -0
- package/lib/models/common/weight-unit.enum.d-ti.ts +21 -0
- package/lib/models/common/weight-unit.enum.d.ts +10 -0
- package/lib/models/common/weight-unit.enum.js +14 -0
- package/lib/models/common/weight.model.d-ti.ts +15 -0
- package/lib/models/common/weight.model.d.ts +7 -0
- package/lib/models/common/weight.model.js +15 -0
- package/lib/models/common/workflow.d-ti.ts +18 -0
- package/lib/models/common/workflow.d.ts +23 -0
- package/lib/models/common/workflow.js +2 -0
- package/lib/models/digicust/AnalyzerMetadataModel.model.d-ti.ts +20 -0
- package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +13 -0
- package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.d-ti.ts +25 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +12 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -0
- package/lib/models/digicust/activity/activity.model.d-ti.ts +23 -0
- package/lib/models/digicust/activity/index.d-ti.ts +11 -0
- package/lib/models/digicust/activity.mode.d-ti.ts +24 -0
- package/lib/models/digicust/activity.mode.d.ts +18 -0
- package/lib/models/digicust/activity.mode.js +2 -0
- package/lib/models/digicust/activity.model.d-ti.ts +23 -0
- package/lib/models/digicust/activity.model.d.ts +16 -0
- package/lib/models/digicust/activity.model.js +2 -0
- package/lib/models/digicust/adjustment.model.d-ti.ts +16 -0
- package/lib/models/digicust/adjustment.model.d.ts +7 -0
- package/lib/models/digicust/adjustment.model.js +2 -0
- package/lib/models/digicust/aggregated-case-data.model.d-ti.ts +76 -0
- package/lib/models/digicust/aggregated-case-data.model.d.ts +76 -0
- package/lib/models/digicust/aggregated-case-data.model.js +25 -0
- package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.d-ti.ts +20 -0
- package/lib/models/digicust/analyzer/index.d-ti.ts +11 -0
- package/lib/models/digicust/billing/index.d-ti.ts +11 -0
- package/lib/models/digicust/billing/periods.enum.d-ti.ts +16 -0
- package/lib/models/digicust/billing/subscription-info.model.d-ti.ts +22 -0
- package/lib/models/digicust/billing/subscription-price.model.d-ti.ts +20 -0
- package/lib/models/digicust/billing/subscription.model.d-ti.ts +18 -0
- package/lib/models/digicust/case/aggregated-case-data.model.d-ti.ts +79 -0
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +1 -1
- package/lib/models/digicust/case/case-status.enum.d-ti.ts +30 -0
- package/lib/models/digicust/case/case-submission-transaction.d-ti.ts +39 -0
- package/lib/models/digicust/case/case-type.enum.d-ti.ts +15 -0
- package/lib/models/digicust/case/case.model.d-ti.ts +45 -0
- package/lib/models/digicust/case/case.model.d.ts +1 -1
- package/lib/models/digicust/case/context.model.d-ti.ts +17 -0
- package/lib/models/digicust/case/index.d-ti.ts +11 -0
- package/lib/models/digicust/case/stats-case.model.d-ti.ts +19 -0
- package/lib/models/digicust/case/uploaded-file.model.d-ti.ts +18 -0
- package/lib/models/digicust/case-status.enum.d-ti.ts +30 -0
- package/lib/models/digicust/case-status.enum.d.ts +22 -0
- package/lib/models/digicust/case-status.enum.js +26 -0
- package/lib/models/digicust/case-submission-transaction.d-ti.ts +39 -0
- package/lib/models/digicust/case-submission-transaction.d.ts +29 -0
- package/lib/models/digicust/case-submission-transaction.js +19 -0
- package/lib/models/digicust/case-type.enum.d-ti.ts +15 -0
- package/lib/models/digicust/case-type.enum.d.ts +8 -0
- package/lib/models/digicust/case-type.enum.js +12 -0
- package/lib/models/digicust/case.model.d-ti.ts +45 -0
- package/lib/models/digicust/case.model.d.ts +52 -0
- package/lib/models/digicust/case.model.js +24 -0
- package/lib/models/digicust/company/company.model.d-ti.ts +36 -0
- package/lib/models/digicust/company/index.d-ti.ts +11 -0
- package/lib/models/digicust/company/permit-number.model.d-ti.ts +23 -0
- package/lib/models/digicust/company.model.d-ti.ts +15 -0
- package/lib/models/digicust/company.model.d.ts +4 -0
- package/lib/models/digicust/company.model.js +2 -0
- package/lib/models/digicust/consignment-size.enum.d-ti.ts +15 -0
- package/lib/models/digicust/consignment-size.enum.d.ts +4 -0
- package/lib/models/digicust/consignment-size.enum.js +8 -0
- package/lib/models/digicust/container.model.d-ti.ts +15 -0
- package/lib/models/digicust/container.model.d.ts +7 -0
- package/lib/models/digicust/container.model.js +2 -0
- package/lib/models/digicust/context.model.d-ti.ts +17 -0
- package/lib/models/digicust/context.model.d.ts +9 -0
- package/lib/models/digicust/context.model.js +2 -0
- package/lib/models/digicust/cost-intersection.model.d-ti.ts +29 -0
- package/lib/models/digicust/cost-intersection.model.d.ts +20 -0
- package/lib/models/digicust/cost-intersection.model.js +16 -0
- package/lib/models/digicust/custom-document.model.d-ti.ts +14 -0
- package/lib/models/digicust/custom-document.model.d.ts +8 -0
- package/lib/models/digicust/custom-document.model.js +2 -0
- package/lib/models/digicust/customer/customer.model.d-ti.ts +62 -0
- package/lib/models/digicust/customer/index.d-ti.ts +11 -0
- package/lib/models/digicust/customer/project.model.d-ti.ts +38 -0
- package/lib/models/digicust/customer.model.d-ti.ts +62 -0
- package/lib/models/digicust/customer.model.d.ts +55 -0
- package/lib/models/digicust/customer.model.js +2 -0
- package/lib/models/digicust/customs/addition-deduction.model.d.ts +12 -0
- package/lib/models/digicust/customs/addition-deduction.model.js +2 -0
- package/lib/models/digicust/customs/adjustment.model.d-ti.ts +16 -0
- package/lib/models/digicust/customs/consignment-size.enum.d-ti.ts +15 -0
- package/lib/models/digicust/customs/constellationOfParticipants.model.d-ti.ts +18 -0
- package/lib/models/digicust/customs/customsOffice.model.d-ti.ts +30 -0
- package/lib/models/digicust/customs/deferment-account.model.d-ti.ts +19 -0
- package/lib/models/digicust/customs/eori.model.d-ti.ts +16 -0
- package/lib/models/digicust/customs/index.d-ti.ts +11 -0
- package/lib/models/digicust/customs/index.d.ts +1 -0
- package/lib/models/digicust/customs/index.js +1 -0
- package/lib/models/digicust/customs/operation-type.enum.d-ti.ts +26 -0
- package/lib/models/digicust/customs/preference/index.d-ti.ts +11 -0
- package/lib/models/digicust/customs/preference/preference-state.model.d-ti.ts +30 -0
- package/lib/models/digicust/customs/procedure.model.d-ti.ts +25 -0
- package/lib/models/digicust/customs/special-measure.model.d-ti.ts +15 -0
- package/lib/models/digicust/customs/tariff-number/classification-code.model.d-ti.ts +15 -0
- package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.d-ti.ts +26 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.d-ti.ts +40 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-response.d-ti.ts +40 -0
- package/lib/models/digicust/customs/tariff-number/hs-code-mapping.d-ti.ts +34 -0
- package/lib/models/digicust/customs/tariff-number/hs-code.model.d-ti.ts +21 -0
- package/lib/models/digicust/customs/tariff-number/index.d-ti.ts +11 -0
- package/lib/models/digicust/customs/tax-details.model.d-ti.ts +17 -0
- package/lib/models/digicust/customs/transit-item.model.d-ti.ts +31 -0
- package/lib/models/digicust/customs/transit-item.model.d.ts +1 -1
- package/lib/models/digicust/customs/type-of-business/index.d-ti.ts +11 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.d-ti.ts +34 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.model.d-ti.ts +15 -0
- package/lib/models/digicust/customsOffice.model.d-ti.ts +30 -0
- package/lib/models/digicust/customsOffice.model.d.ts +19 -0
- package/lib/models/digicust/customsOffice.model.js +12 -0
- package/lib/models/digicust/declaration.model.d-ti.ts +17 -0
- package/lib/models/digicust/declaration.model.d.ts +4 -0
- package/lib/models/digicust/declaration.model.js +2 -0
- package/lib/models/digicust/deferment-account.model.d-ti.ts +19 -0
- package/lib/models/digicust/deferment-account.model.d.ts +15 -0
- package/lib/models/digicust/deferment-account.model.js +2 -0
- package/lib/models/digicust/digicust-document-type.enum.d-ti.ts +23 -0
- package/lib/models/digicust/digicust-document-type.enum.d.ts +15 -0
- package/lib/models/digicust/digicust-document-type.enum.js +19 -0
- package/lib/models/digicust/digicust-document.model.d-ti.ts +44 -0
- package/lib/models/digicust/digicust-document.model.d.ts +45 -0
- package/lib/models/digicust/digicust-document.model.js +38 -0
- package/lib/models/digicust/document-code.model.d-ti.ts +17 -0
- package/lib/models/digicust/document-code.model.d.ts +12 -0
- package/lib/models/digicust/document-code.model.js +2 -0
- package/lib/models/digicust/document-status.enum.d-ti.ts +52 -0
- package/lib/models/digicust/document-status.enum.d.ts +38 -0
- package/lib/models/digicust/document-status.enum.js +45 -0
- package/lib/models/digicust/documents/atlas-document-number.model.d-ti.ts +19 -0
- package/lib/models/digicust/documents/custom-document.model.d-ti.ts +14 -0
- package/lib/models/digicust/documents/digicust-document-type.enum.d-ti.ts +25 -0
- package/lib/models/digicust/documents/digicust-document.model.d-ti.ts +46 -0
- package/lib/models/digicust/documents/digicust-document.model.d.ts +1 -1
- package/lib/models/digicust/documents/document-code.model.d-ti.ts +23 -0
- package/lib/models/digicust/documents/document-status.enum.d-ti.ts +52 -0
- package/lib/models/digicust/documents/document-types/digicust-document.model.d.ts +1 -1
- package/lib/models/digicust/documents/email-document.model.d-ti.ts +19 -0
- package/lib/models/digicust/documents/email-document.model.d.ts +2 -6
- package/lib/models/digicust/documents/export-declaration.model.d-ti.ts +33 -0
- package/lib/models/digicust/documents/index.d-ti.ts +11 -0
- package/lib/models/digicust/documents/invoice-language.enum.d-ti.ts +21 -0
- package/lib/models/digicust/documents/invoice-language.enum.d.ts +13 -0
- package/lib/models/digicust/documents/invoice-language.enum.js +17 -0
- package/lib/models/digicust/documents/invoice-type.model.d-ti.ts +23 -0
- package/lib/models/digicust/documents/invoice.model.d-ti.ts +67 -0
- package/lib/models/digicust/documents/invoice.model.d.ts +23 -17
- package/lib/models/digicust/documents/line-item-containing-document.d-ti.ts +16 -0
- package/lib/models/digicust/documents/packing-list.model.d-ti.ts +41 -0
- package/lib/models/digicust/documents/packing-list.model.d.ts +10 -23
- package/lib/models/digicust/documents/preliminary-documents/atb.model.d-ti.ts +17 -0
- package/lib/models/digicust/documents/preliminary-documents/index.d-ti.ts +11 -0
- package/lib/models/digicust/documents/preliminary-documents/preliminary-document.model.d-ti.ts +13 -0
- package/lib/models/digicust/documents/waybill-type.model.d-ti.ts +31 -0
- package/lib/models/digicust/documents/waybill.model.d-ti.ts +33 -0
- package/lib/models/digicust/environment.enum.d-ti.ts +15 -0
- package/lib/models/digicust/eori.model.d-ti.ts +16 -0
- package/lib/models/digicust/eori.model.d.ts +8 -0
- package/lib/models/digicust/eori.model.js +2 -0
- package/lib/models/digicust/errors.model.d-ti.ts +19 -0
- package/lib/models/digicust/event/event.model.d-ti.ts +72 -0
- package/lib/models/digicust/event/index.d-ti.ts +11 -0
- package/lib/models/digicust/event.model.d-ti.ts +72 -0
- package/lib/models/digicust/event.model.d.ts +64 -0
- package/lib/models/digicust/event.model.js +10 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d-ti.ts +102 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +1 -1
- package/lib/models/digicust/execution-strategy/index.d-ti.ts +11 -0
- package/lib/models/digicust/execution-strategy.model.d-ti.ts +101 -0
- package/lib/models/digicust/execution-strategy.model.d.ts +107 -0
- package/lib/models/digicust/execution-strategy.model.js +15 -0
- package/lib/models/digicust/extractions/extraction-grid.model.d-ti.ts +34 -0
- package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -0
- package/lib/models/digicust/extractions/extraction-grid.model.js +2 -0
- package/lib/models/digicust/extractions/extraction.model.d-ti.ts +78 -0
- package/lib/models/digicust/extractions/extraction.model.d.ts +65 -0
- package/lib/models/digicust/extractions/extraction.model.js +2 -0
- package/lib/models/digicust/extractions/index.d-ti.ts +11 -0
- package/lib/models/digicust/extractions/index.d.ts +2 -0
- package/lib/models/digicust/extractions/index.js +18 -0
- package/lib/models/digicust/frontend/dialog-window.model.d-ti.ts +16 -0
- package/lib/models/digicust/frontend/extra-styles.model.d-ti.ts +15 -0
- package/lib/models/digicust/frontend/field-type.enum.d-ti.ts +21 -0
- package/lib/models/digicust/frontend/filter.enum.d-ti.ts +19 -0
- package/lib/models/digicust/frontend/frontend-big-section.model.d-ti.ts +22 -0
- package/lib/models/digicust/frontend/frontend-fields.model.d-ti.ts +20 -0
- package/lib/models/digicust/frontend/frontend-group.model.d-ti.ts +16 -0
- package/lib/models/digicust/frontend/frontend-mapping.model.d-ti.ts +14 -0
- package/lib/models/digicust/frontend/frontend-small-section.mode.d-ti.ts +19 -0
- package/lib/models/digicust/frontend/index.d-ti.ts +11 -0
- package/lib/models/digicust/frontend/prefix.enum.d-ti.ts +16 -0
- package/lib/models/digicust/frontend/section-type.enum.d-ti.ts +23 -0
- package/lib/models/digicust/frontend/sort.enum.d-ti.ts +15 -0
- package/lib/models/digicust/frontend-big-section.model.d-ti.ts +22 -0
- package/lib/models/digicust/frontend-big-section.model.d.ts +13 -0
- package/lib/models/digicust/frontend-big-section.model.js +2 -0
- package/lib/models/digicust/frontend-group.model.d-ti.ts +16 -0
- package/lib/models/digicust/frontend-group.model.d.ts +6 -0
- package/lib/models/digicust/frontend-group.model.js +2 -0
- package/lib/models/digicust/frontend-mapping.model.d-ti.ts +14 -0
- package/lib/models/digicust/frontend-mapping.model.d.ts +4 -0
- package/lib/models/digicust/frontend-mapping.model.js +2 -0
- package/lib/models/digicust/frontend-small-section.mode.d-ti.ts +19 -0
- package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -0
- package/lib/models/digicust/frontend-small-section.mode.js +2 -0
- package/lib/models/digicust/hs-code-mapping.d-ti.ts +34 -0
- package/lib/models/digicust/hs-code-mapping.d.ts +26 -0
- package/lib/models/digicust/hs-code-mapping.js +2 -0
- package/lib/models/digicust/incoterm.enum.d-ti.ts +25 -0
- package/lib/models/digicust/incoterm.enum.d.ts +17 -0
- package/lib/models/digicust/incoterm.enum.js +21 -0
- package/lib/models/digicust/incoterm.model.d-ti.ts +30 -0
- package/lib/models/digicust/incoterm.model.d.ts +25 -0
- package/lib/models/digicust/incoterm.model.js +21 -0
- package/lib/models/digicust/index.d-ti.ts +11 -0
- package/lib/models/digicust/invoice-type.model.d-ti.ts +18 -0
- package/lib/models/digicust/invoice-type.model.d.ts +9 -0
- package/lib/models/digicust/invoice-type.model.js +2 -0
- package/lib/models/digicust/invoice.model.d-ti.ts +68 -0
- package/lib/models/digicust/{documents/delivery-note.model.d.ts → invoice.model.d.ts} +31 -20
- package/lib/models/digicust/invoice.model.js +2 -0
- package/lib/models/digicust/line-item/index.d-ti.ts +11 -0
- package/lib/models/digicust/line-item/line-item.model.d-ti.ts +83 -0
- package/lib/models/digicust/line-item/line-item.model.d.ts +3 -7
- package/lib/models/digicust/line-item.model.d-ti.ts +82 -0
- package/lib/models/digicust/line-item.model.d.ts +82 -0
- package/lib/models/digicust/line-item.model.js +17 -0
- package/lib/models/digicust/load-type.enum.d-ti.ts +19 -0
- package/lib/models/digicust/load-type.enum.d.ts +14 -0
- package/lib/models/digicust/load-type.enum.js +19 -0
- package/lib/models/digicust/masterdata/index.d-ti.ts +11 -0
- package/lib/models/digicust/masterdata/matching-metadata.model.d-ti.ts +18 -0
- package/lib/models/digicust/masterdata/material-match-input.d-ti.ts +19 -0
- package/lib/models/digicust/masterdata/material-match-result.d-ti.ts +22 -0
- package/lib/models/digicust/masterdata/material.model.d-ti.ts +100 -0
- package/lib/models/digicust/masterdata/pseudo-stakeholder.d-ti.ts +16 -0
- package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d-ti.ts +16 -0
- package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +5 -0
- package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +9 -0
- package/lib/models/digicust/masterdata/stakeholder-match-input.d-ti.ts +18 -0
- package/lib/models/digicust/masterdata/stakeholder-match-result.d-ti.ts +25 -0
- package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d-ti.ts +18 -0
- package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +7 -0
- package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +11 -0
- package/lib/models/digicust/masterdata/stakeholder-role.enum.d-ti.ts +22 -0
- package/lib/models/digicust/masterdata/stakeholder-type.enum.d-ti.ts +23 -0
- package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +12 -0
- package/lib/models/digicust/masterdata/stakeholder-type.enum.js +16 -0
- package/lib/models/digicust/masterdata/stakeholder.model.d-ti.ts +43 -0
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.d-ti.ts +17 -0
- package/lib/models/digicust/masterdata/string-scoring-details.d-ti.ts +13 -0
- package/lib/models/digicust/masterdata/user-edited-properties.type.d-ti.ts +13 -0
- package/lib/models/digicust/mean-of-transportation.model.d-ti.ts +42 -0
- package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -0
- package/lib/models/digicust/mean-of-transportation.model.js +21 -0
- package/lib/models/digicust/measures/address.model.d-ti.ts +29 -0
- package/lib/models/digicust/measures/date.model.d-ti.ts +15 -0
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.d-ti.ts +18 -0
- package/lib/models/digicust/measures/dimensions/dimensions.model.d-ti.ts +17 -0
- package/lib/models/digicust/measures/dimensions/index.d-ti.ts +11 -0
- package/lib/models/digicust/measures/index.d-ti.ts +11 -0
- package/lib/models/digicust/measures/language.model.d-ti.ts +14 -0
- package/lib/models/digicust/measures/money/currency.enum.d-ti.ts +192 -0
- package/lib/models/digicust/measures/money/index.d-ti.ts +11 -0
- package/lib/models/digicust/measures/money/money.model.d-ti.ts +16 -0
- package/lib/models/digicust/measures/person.model.d-ti.ts +19 -0
- package/lib/models/digicust/measures/quantity.model.d-ti.ts +16 -0
- package/lib/models/digicust/measures/unit-of-measurement/index.d-ti.ts +11 -0
- package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.d-ti.ts +20 -0
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.d-ti.ts +50 -0
- package/lib/models/digicust/measures/weight/index.d-ti.ts +11 -0
- package/lib/models/digicust/measures/weight/weight-unit.enum.d-ti.ts +21 -0
- package/lib/models/digicust/measures/weight/weight.model.d-ti.ts +15 -0
- package/lib/models/digicust/membership.model.d-ti.ts +18 -0
- package/lib/models/digicust/membership.model.d.ts +7 -0
- package/lib/models/digicust/membership.model.js +2 -0
- package/lib/models/digicust/meta/bbox.model.d-ti.ts +18 -0
- package/lib/models/digicust/meta/fuzzy-input.d-ti.ts +15 -0
- package/lib/models/digicust/meta/index.d-ti.ts +11 -0
- package/lib/models/digicust/meta/meta.d-ti.ts +22 -0
- package/lib/models/digicust/meta/meta.d.ts +1 -1
- package/lib/models/digicust/meta/workflow.d-ti.ts +18 -0
- package/lib/models/digicust/module/index.d-ti.ts +11 -0
- package/lib/models/digicust/module/module.model.d-ti.ts +62 -0
- package/lib/models/digicust/module.model.d-ti.ts +62 -0
- package/lib/models/digicust/module.model.d.ts +49 -0
- package/lib/models/digicust/module.model.js +27 -0
- package/lib/models/digicust/multerfile.model.d-ti.ts +19 -0
- package/lib/models/digicust/notification/index.d-ti.ts +11 -0
- package/lib/models/digicust/notification/notifications.model.d-ti.ts +21 -0
- package/lib/models/digicust/notification.model.d-ti.ts +21 -0
- package/lib/models/digicust/notification.model.d.ts +13 -0
- package/lib/models/digicust/notification.model.js +2 -0
- package/lib/models/digicust/notifications.model.d-ti.ts +21 -0
- package/lib/models/digicust/notifications.model.d.ts +13 -0
- package/lib/models/digicust/notifications.model.js +2 -0
- package/lib/models/digicust/operationType.enum.d-ti.ts +26 -0
- package/lib/models/digicust/operationType.enum.d.ts +15 -0
- package/lib/models/digicust/operationType.enum.js +20 -0
- package/lib/models/digicust/package.model.d-ti.ts +27 -0
- package/lib/models/digicust/package.model.d.ts +17 -0
- package/lib/models/digicust/package.model.js +2 -0
- package/lib/models/digicust/packingList.model.d-ti.ts +41 -0
- package/lib/models/digicust/packingList.model.d.ts +33 -0
- package/lib/models/digicust/packingList.model.js +2 -0
- package/lib/models/digicust/preference-state.model.d-ti.ts +30 -0
- package/lib/models/digicust/preference-state.model.d.ts +23 -0
- package/lib/models/digicust/preference-state.model.js +2 -0
- package/lib/models/digicust/procedure.model.d-ti.ts +25 -0
- package/lib/models/digicust/procedure.model.d.ts +17 -0
- package/lib/models/digicust/procedure.model.js +10 -0
- package/lib/models/digicust/project.model.d-ti.ts +38 -0
- package/lib/models/digicust/project.model.d.ts +30 -0
- package/lib/models/digicust/project.model.js +8 -0
- package/lib/models/digicust/queue/extractions/extraction-grid.model.d-ti.ts +34 -0
- package/lib/models/digicust/queue/extractions/extraction.model.d-ti.ts +78 -0
- package/lib/models/digicust/queue/extractions/index.d-ti.ts +11 -0
- package/lib/models/digicust/queue/index.d-ti.ts +11 -0
- package/lib/models/digicust/queue/queue-fields.model.d-ti.ts +24 -0
- package/lib/models/digicust/queue/queue.model.d-ti.ts +30 -0
- package/lib/models/digicust/queue-fields.model.d-ti.ts +24 -0
- package/lib/models/digicust/queue-fields.model.d.ts +15 -0
- package/lib/models/digicust/queue-fields.model.js +2 -0
- package/lib/models/digicust/queue.model.d-ti.ts +30 -0
- package/lib/models/digicust/queue.model.d.ts +18 -0
- package/lib/models/digicust/queue.model.js +2 -0
- package/lib/models/digicust/read-lock.model.d-ti.ts +18 -0
- package/lib/models/digicust/report.model.d-ti.ts +16 -0
- package/lib/models/digicust/report.model.d.ts +5 -0
- package/lib/models/digicust/report.model.js +2 -0
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.d-ti.ts +16 -0
- package/lib/models/digicust/settings/index.d-ti.ts +11 -0
- package/lib/models/digicust/shipping-type.model.d-ti.ts +37 -0
- package/lib/models/digicust/shipping-type.model.d.ts +25 -0
- package/lib/models/digicust/shipping-type.model.js +21 -0
- package/lib/models/digicust/special-measure.model.d-ti.ts +15 -0
- package/lib/models/digicust/special-measure.model.d.ts +7 -0
- package/lib/models/digicust/special-measure.model.js +2 -0
- package/lib/models/digicust/stats-case.model.d-ti.ts +19 -0
- package/lib/models/digicust/stats-case.model.d.ts +12 -0
- package/lib/models/digicust/stats-case.model.js +2 -0
- package/lib/models/digicust/submission-case-model.d-ti.ts +15 -0
- package/lib/models/digicust/submission-case-model.d.ts +8 -0
- package/lib/models/digicust/submission-case-model.js +2 -0
- package/lib/models/digicust/subscription-info.model.d-ti.ts +22 -0
- package/lib/models/digicust/subscription-info.model.d.ts +13 -0
- package/lib/models/digicust/subscription-info.model.js +2 -0
- package/lib/models/digicust/subscription.model.d-ti.ts +18 -0
- package/lib/models/digicust/subscription.model.d.ts +11 -0
- package/lib/models/digicust/subscription.model.js +2 -0
- package/lib/models/digicust/tax-details.model.d-ti.ts +17 -0
- package/lib/models/digicust/tax-details.model.d.ts +10 -0
- package/lib/models/digicust/tax-details.model.js +2 -0
- package/lib/models/digicust/transit-item.model.d-ti.ts +31 -0
- package/lib/models/digicust/transit-item.model.d.ts +28 -0
- package/lib/models/digicust/transit-item.model.js +67 -0
- package/lib/models/digicust/transportation/container.model.d-ti.ts +15 -0
- package/lib/models/digicust/transportation/cost-intersection.model.d-ti.ts +29 -0
- package/lib/models/digicust/transportation/incoterm.model.d-ti.ts +30 -0
- package/lib/models/digicust/transportation/index.d-ti.ts +11 -0
- package/lib/models/digicust/transportation/load-type.enum.d-ti.ts +19 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.d-ti.ts +44 -0
- package/lib/models/digicust/transportation/package-type.model.d-ti.ts +17 -0
- package/lib/models/digicust/transportation/package.model.d-ti.ts +27 -0
- package/lib/models/digicust/type-of-business.enum.d-ti.ts +34 -0
- package/lib/models/digicust/type-of-business.enum.d.ts +44 -0
- package/lib/models/digicust/type-of-business.enum.js +48 -0
- package/lib/models/digicust/type-of-business.model.d-ti.ts +15 -0
- package/lib/models/digicust/type-of-business.model.d.ts +11 -0
- package/lib/models/digicust/type-of-business.model.js +2 -0
- package/lib/models/digicust/uploaded-file.model.d-ti.ts +18 -0
- package/lib/models/digicust/uploaded-file.model.d.ts +10 -0
- package/lib/models/digicust/uploaded-file.model.js +2 -0
- package/lib/models/digicust/user/index.d-ti.ts +11 -0
- package/lib/models/digicust/user/membership.model.d-ti.ts +18 -0
- package/lib/models/digicust/user/user.model.d-ti.ts +26 -0
- package/lib/models/digicust/user.model.d-ti.ts +26 -0
- package/lib/models/digicust/user.model.d.ts +18 -0
- package/lib/models/digicust/user.model.js +2 -0
- package/lib/models/digicust/waybill-type.model.d-ti.ts +26 -0
- package/lib/models/digicust/waybill-type.model.d.ts +15 -0
- package/lib/models/digicust/waybill-type.model.js +11 -0
- package/lib/models/digicust/waybill.model.d-ti.ts +35 -0
- package/lib/models/digicust/waybill.model.d.ts +33 -0
- package/lib/models/digicust/waybill.model.js +2 -0
- package/lib/models/index.d-ti.ts +11 -0
- package/lib/models/ml/dexter/index.d-ti.ts +11 -0
- package/lib/models/ml/dexter/text-detection.model.d-ti.ts +13 -0
- package/lib/models/ml/index.d-ti.ts +11 -0
- package/lib/models/ml/machine-learning-model.model.d-ti.ts +19 -0
- package/lib/models/rossum/index.d-ti.ts +11 -0
- package/lib/models/rossum/rossum-annotation-changed-event.dto.d-ti.ts +17 -0
- package/lib/models/rossum/rossum-annotation-data.model.d-ti.ts +31 -0
- package/lib/models/rossum/rossum-document-data.model.d-ti.ts +23 -0
- package/lib/models/rossum/rossum-embedded-response.model.d-ti.ts +14 -0
- package/lib/models/rossum/rossum-import-status.enum.d-ti.ts +25 -0
- package/lib/models/rossum/rossum-login-response.model.d-ti.ts +14 -0
- package/lib/models/rossum/rossum-paginated-annotations.model.d-ti.ts +15 -0
- package/lib/models/rossum/rossum-paginated-documents.model.d-ti.ts +15 -0
- package/lib/models/rossum/rossum-pagination.model.d-ti.ts +17 -0
- package/lib/models/rossum/rossum-result-content.dto.d-ti.ts +16 -0
- package/lib/models/rossum/rossum-result-node.dto.d-ti.ts +24 -0
- package/lib/models/rossum/rossum-start-analyze.dto.d-ti.ts +16 -0
- package/lib/start-dakosy-submission.dto.d-ti.ts +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
export const Event = t.iface([], {
|
|
8
|
+
"checkpoint": t.opt("string"),
|
|
9
|
+
"suppressMultipleExecutions": t.opt("boolean"),
|
|
10
|
+
"type": t.opt("EventType"),
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export const EventType = t.enumtype({
|
|
14
|
+
"webhook": "webhook",
|
|
15
|
+
"mail": "email",
|
|
16
|
+
"sftp": "sftp",
|
|
17
|
+
"mountedSFTP": "mountedSFTP",
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export const WebhookEvent = t.iface(["Event"], {
|
|
21
|
+
"type": t.enumlit("EventType", "webhook"),
|
|
22
|
+
"url": t.opt("string"),
|
|
23
|
+
"method": t.opt(t.union(t.lit("get"), t.lit("post"), t.lit("patch"), t.lit("delete"), t.lit("put"))),
|
|
24
|
+
"body": t.opt("any"),
|
|
25
|
+
"bodyMapping": t.opt("string"),
|
|
26
|
+
"contentType": t.opt("string"),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export const SFTPEvent = t.iface(["Event"], {
|
|
30
|
+
"type": t.enumlit("EventType", "sftp"),
|
|
31
|
+
"caseFileMapping": "CaseFileMapping",
|
|
32
|
+
"sftp-password": "string",
|
|
33
|
+
"sftp-login-name": "string",
|
|
34
|
+
"sftp-port": "string",
|
|
35
|
+
"sftp-dns-name": "string",
|
|
36
|
+
"sftp-path": "string",
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export const EmailEvent = t.iface(["Event"], {
|
|
40
|
+
"type": t.enumlit("EventType", "mail"),
|
|
41
|
+
"emailAddress": t.opt("string"),
|
|
42
|
+
"title": t.opt("string"),
|
|
43
|
+
"titleMapping": t.opt("string"),
|
|
44
|
+
"body": t.opt("any"),
|
|
45
|
+
"bodyMapping": t.opt("string"),
|
|
46
|
+
"attachDocuments": t.opt(t.iface([], {
|
|
47
|
+
"active": t.opt("boolean"),
|
|
48
|
+
"fileNameMapping": t.opt("string"),
|
|
49
|
+
})),
|
|
50
|
+
"attachCase": t.opt(t.intersection(t.iface([], {
|
|
51
|
+
"active": t.opt("boolean"),
|
|
52
|
+
}), "CaseFileMapping")),
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export const CaseFileMapping = t.iface([], {
|
|
56
|
+
"format": t.opt(t.union(t.lit("JSON"), t.lit("CSV"), t.lit("XML"), t.lit("TXT"))),
|
|
57
|
+
"fileNameMapping": t.opt("string"),
|
|
58
|
+
"mapping": t.opt("string"),
|
|
59
|
+
"csvSeparator": t.opt("string"),
|
|
60
|
+
"includeHeaders": t.opt("boolean"),
|
|
61
|
+
"removeAccents": t.opt("boolean"),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
65
|
+
Event,
|
|
66
|
+
EventType,
|
|
67
|
+
WebhookEvent,
|
|
68
|
+
SFTPEvent,
|
|
69
|
+
EmailEvent,
|
|
70
|
+
CaseFileMapping,
|
|
71
|
+
};
|
|
72
|
+
export default exportedTypeSuite;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base model of an event (e.g. webhook or email)
|
|
3
|
+
*/
|
|
4
|
+
export interface Event {
|
|
5
|
+
checkpoint?: string;
|
|
6
|
+
suppressMultipleExecutions?: boolean;
|
|
7
|
+
type?: EventType;
|
|
8
|
+
}
|
|
9
|
+
export declare enum EventType {
|
|
10
|
+
webhook = "webhook",
|
|
11
|
+
mail = "email",
|
|
12
|
+
sftp = "sftp",
|
|
13
|
+
mountedSFTP = "mountedSFTP"
|
|
14
|
+
}
|
|
15
|
+
export interface WebhookEvent extends Event {
|
|
16
|
+
type: EventType.webhook;
|
|
17
|
+
url?: string;
|
|
18
|
+
method?: "get" | "post" | "patch" | "delete" | "put";
|
|
19
|
+
body?: any;
|
|
20
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
21
|
+
bodyMapping?: string;
|
|
22
|
+
contentType?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface SFTPEvent extends Event {
|
|
25
|
+
type: EventType.sftp;
|
|
26
|
+
/** How to map the data */
|
|
27
|
+
caseFileMapping: CaseFileMapping;
|
|
28
|
+
"sftp-password": string;
|
|
29
|
+
"sftp-login-name": string;
|
|
30
|
+
"sftp-port": string;
|
|
31
|
+
"sftp-dns-name": string;
|
|
32
|
+
"sftp-path": string;
|
|
33
|
+
}
|
|
34
|
+
export interface EmailEvent extends Event {
|
|
35
|
+
type: EventType.mail;
|
|
36
|
+
emailAddress?: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
39
|
+
titleMapping?: string;
|
|
40
|
+
body?: any;
|
|
41
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
42
|
+
bodyMapping?: string;
|
|
43
|
+
attachDocuments?: {
|
|
44
|
+
active?: boolean;
|
|
45
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
46
|
+
fileNameMapping?: string;
|
|
47
|
+
};
|
|
48
|
+
attachCase?: {
|
|
49
|
+
active?: boolean;
|
|
50
|
+
} & CaseFileMapping;
|
|
51
|
+
}
|
|
52
|
+
export interface CaseFileMapping {
|
|
53
|
+
format?: "JSON" | "CSV" | "XML" | "TXT";
|
|
54
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
55
|
+
fileNameMapping?: string;
|
|
56
|
+
/** mapping in JSONATA format (https://www.npmjs.com/package/jsonata) */
|
|
57
|
+
mapping?: string;
|
|
58
|
+
/** Delimiter for CSV mapping */
|
|
59
|
+
csvSeparator?: string;
|
|
60
|
+
/** Include headers in CSV */
|
|
61
|
+
includeHeaders?: boolean;
|
|
62
|
+
/** Remove non-latin symbols */
|
|
63
|
+
removeAccents?: boolean;
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventType = void 0;
|
|
4
|
+
var EventType;
|
|
5
|
+
(function (EventType) {
|
|
6
|
+
EventType["webhook"] = "webhook";
|
|
7
|
+
EventType["mail"] = "email";
|
|
8
|
+
EventType["sftp"] = "sftp";
|
|
9
|
+
EventType["mountedSFTP"] = "mountedSFTP";
|
|
10
|
+
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
export const ExecutionStrategy = t.iface([], {
|
|
8
|
+
"id": t.opt("string"),
|
|
9
|
+
"alias": t.opt("string"),
|
|
10
|
+
"moduleId": t.opt("string"),
|
|
11
|
+
"customerId": t.opt("string"),
|
|
12
|
+
"projectId": t.opt("string"),
|
|
13
|
+
"isCondensed": t.opt("boolean"),
|
|
14
|
+
"subscriptionId": t.opt("string"),
|
|
15
|
+
"procedureCode": t.opt("string"),
|
|
16
|
+
"importViaSFTP": t.opt(t.iface([], {
|
|
17
|
+
"active": t.opt("boolean"),
|
|
18
|
+
"sftp-password": t.opt("string"),
|
|
19
|
+
"sftp-login-name": t.opt("string"),
|
|
20
|
+
"sftp-port": t.opt("string"),
|
|
21
|
+
"sftp-dns-name": t.opt("string"),
|
|
22
|
+
"sftp-inbound": t.opt("string"),
|
|
23
|
+
"sftp-outbound": t.opt("string"),
|
|
24
|
+
})),
|
|
25
|
+
"whitelistedImportEmails": t.opt(t.array("string")),
|
|
26
|
+
"defaultClassification": t.opt("DigicustDocumentType"),
|
|
27
|
+
"defaultProcedureMode": t.opt("ProcedureMode"),
|
|
28
|
+
"dataExtraction": t.opt(t.iface([], {
|
|
29
|
+
"active": t.opt("boolean"),
|
|
30
|
+
"exportOnConfirmedStrategy": t.opt("boolean"),
|
|
31
|
+
"queueMapping": t.opt(t.array(t.iface([], {
|
|
32
|
+
"documentType": "DigicustDocumentType",
|
|
33
|
+
"queueId": "string",
|
|
34
|
+
}))),
|
|
35
|
+
"classification": t.opt(t.iface([], {
|
|
36
|
+
"automateOnMinConfidence": t.opt("boolean"),
|
|
37
|
+
"automateMinConfidence": t.opt("number"),
|
|
38
|
+
})),
|
|
39
|
+
"rossumExportOnConfirmed": t.opt("boolean"),
|
|
40
|
+
"overrideQueues": t.opt(t.array(t.iface([], {
|
|
41
|
+
"documentType": "string",
|
|
42
|
+
"queue": "number",
|
|
43
|
+
}))),
|
|
44
|
+
})),
|
|
45
|
+
"dataNormalization": t.opt(t.iface([], {
|
|
46
|
+
"active": t.opt("boolean"),
|
|
47
|
+
"additionalCostsStrategy": t.opt(t.union(t.lit("addToFirstItem"), t.lit("splitToAllItems"))),
|
|
48
|
+
"allowDateInOrderNumber": t.opt("boolean"),
|
|
49
|
+
"normalizeEmailDocuments": t.opt("boolean"),
|
|
50
|
+
"customsTariffNumberNormalizationSettings": t.opt("CustomsTariffNumberNormalizationSettings"),
|
|
51
|
+
})),
|
|
52
|
+
"dataValidation": t.opt(t.iface([], {
|
|
53
|
+
"active": t.opt("boolean"),
|
|
54
|
+
})),
|
|
55
|
+
"hsClassification": t.opt(t.iface([], {
|
|
56
|
+
"active": t.opt("boolean"),
|
|
57
|
+
"research": t.opt("boolean"),
|
|
58
|
+
})),
|
|
59
|
+
"dakosySubmission": t.opt(t.iface([], {
|
|
60
|
+
"active": t.opt("boolean"),
|
|
61
|
+
})),
|
|
62
|
+
"dataIntegration": t.opt(t.iface([], {
|
|
63
|
+
"active": t.opt("boolean"),
|
|
64
|
+
})),
|
|
65
|
+
"pseudonymization": t.opt(t.iface([], {
|
|
66
|
+
"active": t.opt("boolean"),
|
|
67
|
+
"interval": t.opt("number"),
|
|
68
|
+
"time": t.opt("number"),
|
|
69
|
+
})),
|
|
70
|
+
"isProcessWithDextor": "boolean",
|
|
71
|
+
"submission": t.opt(t.union(t.iface([], {
|
|
72
|
+
"active": t.opt("boolean"),
|
|
73
|
+
"vendor": t.opt(t.lit("dakosy")),
|
|
74
|
+
"config": t.opt(t.iface([], {
|
|
75
|
+
"sftp-password": t.opt("string"),
|
|
76
|
+
"sftp-login-name": t.opt("string"),
|
|
77
|
+
"sftp-port": t.opt("string"),
|
|
78
|
+
"sftp-dns-name": t.opt("string"),
|
|
79
|
+
"sftp-inbound": t.opt("string"),
|
|
80
|
+
"sftp-outbound": t.opt("string"),
|
|
81
|
+
"partner-id": t.opt("string"),
|
|
82
|
+
})),
|
|
83
|
+
}), t.iface([], {
|
|
84
|
+
"active": t.opt("boolean"),
|
|
85
|
+
"vendor": t.opt(t.lit("aeb")),
|
|
86
|
+
"config": t.opt(t.iface([], {
|
|
87
|
+
"client-name": t.opt("string"),
|
|
88
|
+
"user-name": t.opt("string"),
|
|
89
|
+
"password": t.opt("string"),
|
|
90
|
+
"endpoint": t.opt("string"),
|
|
91
|
+
"client-system-id": t.opt("string"),
|
|
92
|
+
"client-ident-code": t.opt("string"),
|
|
93
|
+
})),
|
|
94
|
+
}))),
|
|
95
|
+
"events": t.array("Event"),
|
|
96
|
+
"automated": t.opt("boolean"),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
100
|
+
ExecutionStrategy,
|
|
101
|
+
};
|
|
102
|
+
export default exportedTypeSuite;
|
|
@@ -104,4 +104,4 @@ export interface ExecutionStrategy {
|
|
|
104
104
|
events: Event[];
|
|
105
105
|
automated?: boolean;
|
|
106
106
|
}
|
|
107
|
-
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy) => ExecutionStrategy | null;
|
|
107
|
+
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
10
|
+
};
|
|
11
|
+
export default exportedTypeSuite;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
export const ExecutionStrategy = t.iface([], {
|
|
8
|
+
"id": t.opt("string"),
|
|
9
|
+
"alias": t.opt("string"),
|
|
10
|
+
"moduleId": t.opt("string"),
|
|
11
|
+
"customerId": t.opt("string"),
|
|
12
|
+
"projectId": t.opt("string"),
|
|
13
|
+
"isCondensed": t.opt("boolean"),
|
|
14
|
+
"subscriptionId": t.opt("string"),
|
|
15
|
+
"procedureCode": t.opt("string"),
|
|
16
|
+
"importViaSFTP": t.opt(t.iface([], {
|
|
17
|
+
"active": t.opt("boolean"),
|
|
18
|
+
"sftp-password": t.opt("string"),
|
|
19
|
+
"sftp-login-name": t.opt("string"),
|
|
20
|
+
"sftp-port": t.opt("string"),
|
|
21
|
+
"sftp-dns-name": t.opt("string"),
|
|
22
|
+
"sftp-inbound": t.opt("string"),
|
|
23
|
+
"sftp-outbound": t.opt("string"),
|
|
24
|
+
})),
|
|
25
|
+
"whitelistedImportEmails": t.opt(t.array("string")),
|
|
26
|
+
"defaultClassification": t.opt("DigicustDocumentType"),
|
|
27
|
+
"defaultProcedureMode": t.opt("ProcedureMode"),
|
|
28
|
+
"dataExtraction": t.opt(t.iface([], {
|
|
29
|
+
"active": t.opt("boolean"),
|
|
30
|
+
"exportOnConfirmedStrategy": t.opt("boolean"),
|
|
31
|
+
"queueMapping": t.opt(t.array(t.iface([], {
|
|
32
|
+
"documentType": "DigicustDocumentType",
|
|
33
|
+
"queueId": "string",
|
|
34
|
+
}))),
|
|
35
|
+
"classification": t.opt(t.iface([], {
|
|
36
|
+
"automateOnMinConfidence": t.opt("boolean"),
|
|
37
|
+
"automateMinConfidence": t.opt("number"),
|
|
38
|
+
})),
|
|
39
|
+
"rossumExportOnConfirmed": t.opt("boolean"),
|
|
40
|
+
"overrideQueues": t.opt(t.array(t.iface([], {
|
|
41
|
+
"documentType": "string",
|
|
42
|
+
"queue": "number",
|
|
43
|
+
}))),
|
|
44
|
+
})),
|
|
45
|
+
"dataNormalization": t.opt(t.iface([], {
|
|
46
|
+
"active": t.opt("boolean"),
|
|
47
|
+
"additionalCostsStrategy": t.opt(t.union(t.lit("addToFirstItem"), t.lit("splitToAllItems"))),
|
|
48
|
+
"allowDateInOrderNumber": t.opt("boolean"),
|
|
49
|
+
"customsTariffNumberNormalizationSettings": t.opt("CustomsTariffNumberNormalizationSettings"),
|
|
50
|
+
})),
|
|
51
|
+
"dataValidation": t.opt(t.iface([], {
|
|
52
|
+
"active": t.opt("boolean"),
|
|
53
|
+
})),
|
|
54
|
+
"hsClassification": t.opt(t.iface([], {
|
|
55
|
+
"active": t.opt("boolean"),
|
|
56
|
+
"research": t.opt("boolean"),
|
|
57
|
+
})),
|
|
58
|
+
"dakosySubmission": t.opt(t.iface([], {
|
|
59
|
+
"active": t.opt("boolean"),
|
|
60
|
+
})),
|
|
61
|
+
"dataIntegration": t.opt(t.iface([], {
|
|
62
|
+
"active": t.opt("boolean"),
|
|
63
|
+
})),
|
|
64
|
+
"pseudonymization": t.opt(t.iface([], {
|
|
65
|
+
"active": t.opt("boolean"),
|
|
66
|
+
"interval": t.opt("number"),
|
|
67
|
+
"time": t.opt("number"),
|
|
68
|
+
})),
|
|
69
|
+
"isProcessWithDextor": "boolean",
|
|
70
|
+
"submission": t.opt(t.union(t.iface([], {
|
|
71
|
+
"active": t.opt("boolean"),
|
|
72
|
+
"vendor": t.opt(t.lit("dakosy")),
|
|
73
|
+
"config": t.opt(t.iface([], {
|
|
74
|
+
"sftp-password": t.opt("string"),
|
|
75
|
+
"sftp-login-name": t.opt("string"),
|
|
76
|
+
"sftp-port": t.opt("string"),
|
|
77
|
+
"sftp-dns-name": t.opt("string"),
|
|
78
|
+
"sftp-inbound": t.opt("string"),
|
|
79
|
+
"sftp-outbound": t.opt("string"),
|
|
80
|
+
"partner-id": t.opt("string"),
|
|
81
|
+
})),
|
|
82
|
+
}), t.iface([], {
|
|
83
|
+
"active": t.opt("boolean"),
|
|
84
|
+
"vendor": t.opt(t.lit("aeb")),
|
|
85
|
+
"config": t.opt(t.iface([], {
|
|
86
|
+
"client-name": t.opt("string"),
|
|
87
|
+
"user-name": t.opt("string"),
|
|
88
|
+
"password": t.opt("string"),
|
|
89
|
+
"endpoint": t.opt("string"),
|
|
90
|
+
"client-system-id": t.opt("string"),
|
|
91
|
+
"client-ident-code": t.opt("string"),
|
|
92
|
+
})),
|
|
93
|
+
}))),
|
|
94
|
+
"events": t.array("Event"),
|
|
95
|
+
"automated": t.opt("boolean"),
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
99
|
+
ExecutionStrategy,
|
|
100
|
+
};
|
|
101
|
+
export default exportedTypeSuite;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { DigicustDocumentType } from ".";
|
|
2
|
+
import { Event } from "./event.model";
|
|
3
|
+
import { ProcedureMode } from "./procedure.model";
|
|
4
|
+
import { CustomsTariffNumberNormalizationSettings } from "./settings";
|
|
5
|
+
/**
|
|
6
|
+
* Execution strategies are customer-configurable plans on how to process a specific case.
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionStrategy {
|
|
9
|
+
id?: string;
|
|
10
|
+
alias?: string;
|
|
11
|
+
moduleId?: string;
|
|
12
|
+
customerId?: string;
|
|
13
|
+
projectId?: string;
|
|
14
|
+
isCondensed?: boolean;
|
|
15
|
+
subscriptionId?: string;
|
|
16
|
+
procedureCode?: string;
|
|
17
|
+
importViaSFTP?: {
|
|
18
|
+
active?: boolean;
|
|
19
|
+
"sftp-password"?: string;
|
|
20
|
+
"sftp-login-name"?: string;
|
|
21
|
+
"sftp-port"?: string;
|
|
22
|
+
"sftp-dns-name"?: string;
|
|
23
|
+
"sftp-inbound"?: string;
|
|
24
|
+
"sftp-outbound"?: string;
|
|
25
|
+
};
|
|
26
|
+
whitelistedImportEmails?: string[];
|
|
27
|
+
defaultClassification?: DigicustDocumentType;
|
|
28
|
+
defaultProcedureMode?: ProcedureMode;
|
|
29
|
+
dataExtraction?: {
|
|
30
|
+
active?: boolean;
|
|
31
|
+
exportOnConfirmedStrategy?: boolean;
|
|
32
|
+
queueMapping?: {
|
|
33
|
+
documentType: DigicustDocumentType;
|
|
34
|
+
queueId: string;
|
|
35
|
+
}[];
|
|
36
|
+
classification?: {
|
|
37
|
+
/** Defines whether a classification shall be assumed correct
|
|
38
|
+
* if a specific confidence level is reached */
|
|
39
|
+
automateOnMinConfidence?: boolean;
|
|
40
|
+
/** Value between 1 (very confident) to 0 (no confidence) */
|
|
41
|
+
automateMinConfidence?: number;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated
|
|
45
|
+
*/
|
|
46
|
+
rossumExportOnConfirmed?: boolean;
|
|
47
|
+
/** for rossum */
|
|
48
|
+
overrideQueues?: {
|
|
49
|
+
documentType: string;
|
|
50
|
+
queue: number;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
dataNormalization?: {
|
|
54
|
+
active?: boolean;
|
|
55
|
+
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
|
56
|
+
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
|
57
|
+
allowDateInOrderNumber?: boolean;
|
|
58
|
+
customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
|
|
59
|
+
};
|
|
60
|
+
dataValidation?: {
|
|
61
|
+
active?: boolean;
|
|
62
|
+
};
|
|
63
|
+
hsClassification?: {
|
|
64
|
+
active?: boolean;
|
|
65
|
+
research?: boolean;
|
|
66
|
+
};
|
|
67
|
+
/** @deprecated */
|
|
68
|
+
dakosySubmission?: {
|
|
69
|
+
active?: boolean;
|
|
70
|
+
};
|
|
71
|
+
dataIntegration?: {
|
|
72
|
+
active?: boolean;
|
|
73
|
+
};
|
|
74
|
+
pseudonymization?: {
|
|
75
|
+
active?: boolean;
|
|
76
|
+
interval?: number;
|
|
77
|
+
time?: number;
|
|
78
|
+
};
|
|
79
|
+
isProcessWithDextor: boolean;
|
|
80
|
+
submission?: {
|
|
81
|
+
active?: boolean;
|
|
82
|
+
vendor?: "dakosy";
|
|
83
|
+
config?: {
|
|
84
|
+
"sftp-password"?: string;
|
|
85
|
+
"sftp-login-name"?: string;
|
|
86
|
+
"sftp-port"?: string;
|
|
87
|
+
"sftp-dns-name"?: string;
|
|
88
|
+
"sftp-inbound"?: string;
|
|
89
|
+
"sftp-outbound"?: string;
|
|
90
|
+
"partner-id"?: string;
|
|
91
|
+
};
|
|
92
|
+
} | {
|
|
93
|
+
active?: boolean;
|
|
94
|
+
vendor?: "aeb";
|
|
95
|
+
config?: {
|
|
96
|
+
"client-name"?: string;
|
|
97
|
+
"user-name"?: string;
|
|
98
|
+
password?: string;
|
|
99
|
+
endpoint?: string;
|
|
100
|
+
"client-system-id"?: string;
|
|
101
|
+
"client-ident-code"?: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
events: Event[];
|
|
105
|
+
automated?: boolean;
|
|
106
|
+
}
|
|
107
|
+
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy | undefined) => ExecutionStrategy | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseExecutionStrategy = void 0;
|
|
4
|
+
var condenseExecutionStrategy = function (strategy) {
|
|
5
|
+
return strategy
|
|
6
|
+
? {
|
|
7
|
+
id: strategy.id,
|
|
8
|
+
alias: strategy.alias,
|
|
9
|
+
customerId: strategy.customerId,
|
|
10
|
+
subscriptionId: strategy.subscriptionId,
|
|
11
|
+
isCondensed: true,
|
|
12
|
+
}
|
|
13
|
+
: null;
|
|
14
|
+
};
|
|
15
|
+
exports.condenseExecutionStrategy = condenseExecutionStrategy;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
export const ExtractionGrid = t.iface([], {
|
|
8
|
+
"id": t.opt("string"),
|
|
9
|
+
"label": t.opt("string"),
|
|
10
|
+
"bbox": t.opt("Bbox"),
|
|
11
|
+
"pageId": t.opt("string"),
|
|
12
|
+
"columns": t.opt(t.array("ExtractionGridColumn")),
|
|
13
|
+
"items": t.opt(t.array("ExtractionGridItem")),
|
|
14
|
+
"gridGroupId": t.opt("string"),
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export const ExtractionGridItem = t.iface([], {
|
|
18
|
+
"id": t.opt("string"),
|
|
19
|
+
"fields": t.opt(t.array("ExtractionField")),
|
|
20
|
+
"bbox": t.opt("Bbox"),
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const ExtractionGridColumn = t.iface([], {
|
|
24
|
+
"id": t.opt("string"),
|
|
25
|
+
"label": t.opt("string"),
|
|
26
|
+
"bbox": t.opt("Bbox"),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
30
|
+
ExtractionGrid,
|
|
31
|
+
ExtractionGridItem,
|
|
32
|
+
ExtractionGridColumn,
|
|
33
|
+
};
|
|
34
|
+
export default exportedTypeSuite;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Bbox } from "../../common/bbox.model";
|
|
2
|
+
import { ExtractionField } from ".";
|
|
3
|
+
export interface ExtractionGrid {
|
|
4
|
+
id?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
bbox?: Bbox;
|
|
7
|
+
pageId?: string;
|
|
8
|
+
columns?: ExtractionGridColumn[];
|
|
9
|
+
items?: ExtractionGridItem[];
|
|
10
|
+
/** Groups multiple grids that belong together */
|
|
11
|
+
gridGroupId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ExtractionGridItem {
|
|
14
|
+
id?: string;
|
|
15
|
+
fields?: ExtractionField[];
|
|
16
|
+
bbox?: Bbox;
|
|
17
|
+
}
|
|
18
|
+
export interface ExtractionGridColumn {
|
|
19
|
+
id?: string;
|
|
20
|
+
label?: string;
|
|
21
|
+
bbox?: Bbox;
|
|
22
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module was automatically generated by `ts-interface-builder`
|
|
3
|
+
*/
|
|
4
|
+
import * as t from "ts-interface-checker";
|
|
5
|
+
// tslint:disable:object-literal-key-quotes
|
|
6
|
+
|
|
7
|
+
export const Extraction = t.iface([], {
|
|
8
|
+
"id": t.opt("string"),
|
|
9
|
+
"customerId": t.opt("string"),
|
|
10
|
+
"projectId": t.opt("string"),
|
|
11
|
+
"caseId": t.opt("string"),
|
|
12
|
+
"documentId": t.opt("string"),
|
|
13
|
+
"pages": t.opt(t.array("ExtractionPage")),
|
|
14
|
+
"groups": t.opt(t.array("ExtractionGroup")),
|
|
15
|
+
"grids": t.opt(t.array("ExtractionGrid")),
|
|
16
|
+
"errors": t.opt(t.array("Error")),
|
|
17
|
+
"originalFileName": t.opt("string"),
|
|
18
|
+
"fileName": t.opt("string"),
|
|
19
|
+
"documentType": t.opt("string"),
|
|
20
|
+
"documentStatus": t.opt("string"),
|
|
21
|
+
"userDocumentStatus": t.opt("string"),
|
|
22
|
+
"subDocumentStatus": t.opt("string"),
|
|
23
|
+
"receivedAt": t.opt("string"),
|
|
24
|
+
"code": t.opt("string"),
|
|
25
|
+
"reference": t.opt("string"),
|
|
26
|
+
"issueDate": t.opt("string"),
|
|
27
|
+
"isCondensed": t.opt("boolean"),
|
|
28
|
+
"processing": t.opt("ProcessingModel"),
|
|
29
|
+
"analyzerMetadata": t.opt(t.iface([], {
|
|
30
|
+
"importStatus": t.opt("string"),
|
|
31
|
+
"annotationId": t.opt("string"),
|
|
32
|
+
"queueId": t.opt("string"),
|
|
33
|
+
"exportOnConfirmed": t.opt("boolean"),
|
|
34
|
+
})),
|
|
35
|
+
"queueId": t.opt("string"),
|
|
36
|
+
"isLoading": t.opt("boolean"),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export const ProcessingModel = t.iface([], {
|
|
40
|
+
"status": t.opt(t.union(t.lit("done"), t.lit("inprocess"), t.lit("error"))),
|
|
41
|
+
"percentage": t.opt("number"),
|
|
42
|
+
"date": t.opt("Date"),
|
|
43
|
+
"errorMessage": t.opt("string"),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const ExtractionGroup = t.iface([], {
|
|
47
|
+
"id": t.opt("string"),
|
|
48
|
+
"label": t.opt("string"),
|
|
49
|
+
"fields": t.opt(t.array("ExtractionField")),
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export const ExtractionField = t.iface([], {
|
|
53
|
+
"id": t.opt("string"),
|
|
54
|
+
"label": t.opt("string"),
|
|
55
|
+
"confidence": t.opt("number"),
|
|
56
|
+
"value": t.opt("string"),
|
|
57
|
+
"bbox": t.opt("Bbox"),
|
|
58
|
+
"pageId": t.opt("string"),
|
|
59
|
+
"name": t.opt("string"),
|
|
60
|
+
"active": t.opt("boolean"),
|
|
61
|
+
"dataType": t.opt("string"),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export const ExtractionPage = t.iface([], {
|
|
65
|
+
"id": t.opt("string"),
|
|
66
|
+
"width": t.opt("number"),
|
|
67
|
+
"height": t.opt("number"),
|
|
68
|
+
"label": t.opt("string"),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
const exportedTypeSuite: t.ITypeSuite = {
|
|
72
|
+
Extraction,
|
|
73
|
+
ProcessingModel,
|
|
74
|
+
ExtractionGroup,
|
|
75
|
+
ExtractionField,
|
|
76
|
+
ExtractionPage,
|
|
77
|
+
};
|
|
78
|
+
export default exportedTypeSuite;
|