digicust_types 1.8.35 → 1.8.37
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/contracts/import-ocr-document-into-graph.dto.d.ts +10 -0
- package/lib/contracts/import-ocr-document-into-graph.dto.js +2 -0
- package/lib/contracts/index.d.ts +14 -0
- package/lib/contracts/index.js +30 -0
- package/lib/contracts/start-dakosy-submission.dto.d.ts +7 -0
- package/lib/contracts/start-dakosy-submission.dto.js +2 -0
- package/lib/contracts/start-data-extraction.dto.d.ts +17 -0
- package/lib/contracts/start-data-extraction.dto.js +2 -0
- package/lib/contracts/start-data-integration.dto.d.ts +7 -0
- package/lib/contracts/start-data-integration.dto.js +2 -0
- package/lib/contracts/start-data-normalization.dto.d.ts +7 -0
- package/lib/contracts/start-data-normalization.dto.js +2 -0
- package/lib/contracts/start-data-validation.dto.d.ts +7 -0
- package/lib/contracts/start-data-validation.dto.js +2 -0
- package/lib/contracts/start-document-classifier.dto.d.ts +7 -0
- package/lib/contracts/start-document-classifier.dto.js +2 -0
- package/lib/contracts/start-document-merger.dto.d.ts +12 -0
- package/lib/contracts/start-document-merger.dto.js +2 -0
- package/lib/contracts/start-document-splitting.dto.d.ts +9 -0
- package/lib/contracts/start-document-splitting.dto.js +2 -0
- package/lib/contracts/start-hs-classification-research.dto.d.ts +5 -0
- package/lib/contracts/start-hs-classification-research.dto.js +2 -0
- package/lib/contracts/start-hs-classifier.dto.d.ts +8 -0
- package/lib/contracts/start-hs-classifier.dto.js +2 -0
- package/lib/contracts/start-ocr.dto.d.ts +9 -0
- package/lib/contracts/start-ocr.dto.js +2 -0
- package/lib/contracts/start-post-processing.dto.d.ts +7 -0
- package/lib/contracts/start-post-processing.dto.js +2 -0
- package/lib/contracts/trigger-event.dto.d.ts +7 -0
- package/lib/contracts/trigger-event.dto.js +2 -0
- package/lib/helpers/cleanObject.d.ts +6 -0
- package/lib/helpers/cleanObject.js +29 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +18 -0
- package/lib/models/digicust/activity/activity.model.d.ts +16 -0
- package/lib/models/digicust/activity/activity.model.js +2 -0
- package/lib/models/digicust/activity/index.d.ts +1 -0
- package/lib/models/digicust/activity/index.js +17 -0
- package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.d.ts +13 -0
- package/lib/models/digicust/analyzer/AnalyzerMetadataModel.model.js +2 -0
- package/lib/models/digicust/analyzer/index.d.ts +1 -0
- package/lib/models/digicust/analyzer/index.js +17 -0
- package/lib/models/digicust/billing/index.d.ts +4 -0
- package/lib/models/digicust/billing/index.js +20 -0
- package/lib/models/digicust/billing/periods.enum.d.ts +5 -0
- package/lib/models/digicust/billing/periods.enum.js +9 -0
- package/lib/models/digicust/billing/subscription-info.model.d.ts +12 -0
- package/lib/models/digicust/billing/subscription-info.model.js +2 -0
- package/lib/models/digicust/billing/subscription-price.model.d.ts +9 -0
- package/lib/models/digicust/billing/subscription-price.model.js +2 -0
- package/lib/models/digicust/billing/subscription.model.d.ts +11 -0
- package/lib/models/digicust/billing/subscription.model.js +2 -0
- package/lib/models/digicust/cache/cache.model.d.ts +10 -0
- package/lib/models/digicust/cache/cache.model.js +2 -0
- package/lib/models/digicust/cache/index.d.ts +1 -0
- package/lib/models/digicust/cache/index.js +17 -0
- package/lib/models/digicust/case/aggregated-case-data.model.d.ts +100 -0
- package/lib/models/digicust/case/aggregated-case-data.model.js +12 -0
- package/lib/models/digicust/case/case-status.enum.d.ts +22 -0
- package/lib/models/digicust/case/case-status.enum.js +26 -0
- package/lib/models/digicust/case/case-submission-transaction.d.ts +31 -0
- package/lib/models/digicust/case/case-submission-transaction.js +20 -0
- package/lib/models/digicust/case/case-type.enum.d.ts +8 -0
- package/lib/models/digicust/case/case-type.enum.js +12 -0
- package/lib/models/digicust/case/case.model.d.ts +59 -0
- package/lib/models/digicust/case/case.model.js +13 -0
- package/lib/models/digicust/case/context.model.d.ts +9 -0
- package/lib/models/digicust/case/context.model.js +2 -0
- package/lib/models/digicust/case/index.d.ts +8 -0
- package/lib/models/digicust/case/index.js +24 -0
- package/lib/models/digicust/case/stats-case.model.d.ts +12 -0
- package/lib/models/digicust/case/stats-case.model.js +2 -0
- package/lib/models/digicust/case/uploaded-file.model.d.ts +10 -0
- package/lib/models/digicust/case/uploaded-file.model.js +2 -0
- package/lib/models/digicust/codes/code.model.d.ts +7 -0
- package/lib/models/digicust/codes/code.model.js +2 -0
- package/lib/models/digicust/codes/customs-office.code.d.ts +19 -0
- package/lib/models/digicust/codes/customs-office.code.js +2 -0
- package/lib/models/digicust/codes/index.d.ts +3 -0
- package/lib/models/digicust/codes/index.js +19 -0
- package/lib/models/digicust/codes/settlement.code.d.ts +6 -0
- package/lib/models/digicust/codes/settlement.code.js +2 -0
- package/lib/models/digicust/company/company.model.d.ts +37 -0
- package/lib/models/digicust/company/company.model.js +2 -0
- package/lib/models/digicust/company/index.d.ts +2 -0
- package/lib/models/digicust/company/index.js +18 -0
- package/lib/models/digicust/company/permit-number.model.d.ts +13 -0
- package/lib/models/digicust/company/permit-number.model.js +10 -0
- package/lib/models/digicust/customer/customer.model.d.ts +56 -0
- package/lib/models/digicust/customer/customer.model.js +2 -0
- package/lib/models/digicust/customer/index.d.ts +2 -0
- package/lib/models/digicust/customer/index.js +18 -0
- package/lib/models/digicust/customer/project.model.d.ts +30 -0
- package/lib/models/digicust/customer/project.model.js +8 -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.ts +7 -0
- package/lib/models/digicust/customs/adjustment.model.js +2 -0
- package/lib/models/digicust/customs/airport.model.d.ts +12 -0
- package/lib/models/digicust/customs/airport.model.js +2 -0
- package/lib/models/digicust/customs/buyerSellerRelationship.model.d.ts +9 -0
- package/lib/models/digicust/customs/buyerSellerRelationship.model.js +12 -0
- package/lib/models/digicust/customs/consignment-size.enum.d.ts +4 -0
- package/lib/models/digicust/customs/consignment-size.enum.js +8 -0
- package/lib/models/digicust/customs/constellationOfParticipants.model.d.ts +6 -0
- package/lib/models/digicust/customs/constellationOfParticipants.model.js +2 -0
- package/lib/models/digicust/customs/customs-duty.model.d.ts +13 -0
- package/lib/models/digicust/customs/customs-duty.model.js +2 -0
- package/lib/models/digicust/customs/customsOffice.model.d.ts +23 -0
- package/lib/models/digicust/customs/customsOffice.model.js +14 -0
- package/lib/models/digicust/customs/declaration-type.enum.d.ts +4 -0
- package/lib/models/digicust/customs/declaration-type.enum.js +8 -0
- package/lib/models/digicust/customs/deferment-account.model.d.ts +15 -0
- package/lib/models/digicust/customs/deferment-account.model.js +2 -0
- package/lib/models/digicust/customs/domesticFreightCosts.model.d.ts +13 -0
- package/lib/models/digicust/customs/domesticFreightCosts.model.js +2 -0
- package/lib/models/digicust/customs/eori.model.d.ts +19 -0
- package/lib/models/digicust/customs/eori.model.js +2 -0
- package/lib/models/digicust/customs/import-sales-tax.model.d.ts +10 -0
- package/lib/models/digicust/customs/import-sales-tax.model.js +2 -0
- package/lib/models/digicust/customs/index.d.ts +25 -0
- package/lib/models/digicust/customs/index.js +41 -0
- package/lib/models/digicust/customs/operation-type.enum.d.ts +15 -0
- package/lib/models/digicust/customs/operation-type.enum.js +19 -0
- package/lib/models/digicust/customs/port-type.enum.d.ts +4 -0
- package/lib/models/digicust/customs/port-type.enum.js +8 -0
- package/lib/models/digicust/customs/port.model.d.ts +17 -0
- package/lib/models/digicust/customs/port.model.js +2 -0
- package/lib/models/digicust/customs/preference/index.d.ts +1 -0
- package/lib/models/digicust/customs/preference/index.js +17 -0
- package/lib/models/digicust/customs/preference/preference-state.model.d.ts +23 -0
- package/lib/models/digicust/customs/preference/preference-state.model.js +2 -0
- package/lib/models/digicust/customs/procedure.model.d.ts +17 -0
- package/lib/models/digicust/customs/procedure.model.js +10 -0
- package/lib/models/digicust/customs/representative-constellation.enum.d.ts +5 -0
- package/lib/models/digicust/customs/representative-constellation.enum.js +9 -0
- package/lib/models/digicust/customs/special-measure.model.d.ts +7 -0
- package/lib/models/digicust/customs/special-measure.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/classification-code.model.d.ts +5 -0
- package/lib/models/digicust/customs/tariff-number/classification-code.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.d.ts +33 -0
- package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.js +10 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.d.ts +30 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-interaction.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-response.d.ts +31 -0
- package/lib/models/digicust/customs/tariff-number/hs-classification-response.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-code-mapping.d.ts +26 -0
- package/lib/models/digicust/customs/tariff-number/hs-code-mapping.js +2 -0
- package/lib/models/digicust/customs/tariff-number/hs-code.model.d.ts +11 -0
- package/lib/models/digicust/customs/tariff-number/hs-code.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/index.d.ts +9 -0
- package/lib/models/digicust/customs/tariff-number/index.js +25 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-flat.d.ts +8 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-flat.js +2 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-suggestion.model.d.ts +5 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-suggestion.model.js +2 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-tree-node.d.ts +19 -0
- package/lib/models/digicust/customs/tariff-number/tariff-number-tree-node.js +2 -0
- package/lib/models/digicust/customs/tax-details.model.d.ts +10 -0
- package/lib/models/digicust/customs/tax-details.model.js +2 -0
- package/lib/models/digicust/customs/transit-item.model.d.ts +25 -0
- package/lib/models/digicust/customs/transit-item.model.js +63 -0
- package/lib/models/digicust/customs/type-of-business/index.d.ts +2 -0
- package/lib/models/digicust/customs/type-of-business/index.js +18 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.d.ts +44 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.enum.js +48 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.model.d.ts +11 -0
- package/lib/models/digicust/customs/type-of-business/type-of-business.model.js +2 -0
- package/lib/models/digicust/customs/vat-number.model.d.ts +14 -0
- package/lib/models/digicust/customs/vat-number.model.js +2 -0
- package/lib/models/digicust/documents/atlas-document-number.model.d.ts +9 -0
- package/lib/models/digicust/documents/atlas-document-number.model.js +2 -0
- package/lib/models/digicust/documents/custom-document.model.d.ts +8 -0
- package/lib/models/digicust/documents/custom-document.model.js +2 -0
- package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +28 -0
- package/lib/models/digicust/documents/digicust-document-type.enum.js +32 -0
- package/lib/models/digicust/documents/distributions.model.d.ts +11 -0
- package/lib/models/digicust/documents/distributions.model.js +2 -0
- package/lib/models/digicust/documents/document-code.model.d.ts +24 -0
- package/lib/models/digicust/documents/document-code.model.js +2 -0
- package/lib/models/digicust/documents/document-language.enum.d.ts +13 -0
- package/lib/models/digicust/documents/document-language.enum.js +17 -0
- package/lib/models/digicust/documents/document-status.enum.d.ts +38 -0
- package/lib/models/digicust/documents/document-status.enum.js +45 -0
- package/lib/models/digicust/documents/document-types/atr.model.d.ts +10 -0
- package/lib/models/digicust/documents/document-types/atr.model.js +2 -0
- package/lib/models/digicust/documents/document-types/delivery-note.model.d.ts +54 -0
- package/lib/models/digicust/documents/document-types/delivery-note.model.js +2 -0
- package/lib/models/digicust/documents/document-types/digicust-document.model.d.ts +48 -0
- package/lib/models/digicust/documents/document-types/digicust-document.model.js +40 -0
- package/lib/models/digicust/documents/document-types/document-types-helper.d.ts +10 -0
- package/lib/models/digicust/documents/document-types/document-types-helper.js +2 -0
- package/lib/models/digicust/documents/document-types/email-document.model.d.ts +33 -0
- package/lib/models/digicust/documents/document-types/email-document.model.js +2 -0
- package/lib/models/digicust/documents/document-types/eur1.model.d.ts +10 -0
- package/lib/models/digicust/documents/document-types/eur1.model.js +2 -0
- package/lib/models/digicust/documents/document-types/export-declaration.model.d.ts +34 -0
- package/lib/models/digicust/documents/document-types/export-declaration.model.js +2 -0
- package/lib/models/digicust/documents/document-types/index.d.ts +14 -0
- package/lib/models/digicust/documents/document-types/index.js +30 -0
- package/lib/models/digicust/documents/document-types/invoice.model.d.ts +67 -0
- package/lib/models/digicust/documents/document-types/invoice.model.js +2 -0
- package/lib/models/digicust/documents/document-types/packing-list.model.d.ts +52 -0
- package/lib/models/digicust/documents/document-types/packing-list.model.js +2 -0
- package/lib/models/digicust/documents/document-types/structured-data.d.ts +7 -0
- package/lib/models/digicust/documents/document-types/structured-data.js +2 -0
- package/lib/models/digicust/documents/document-types/temporary-storage.model.d.ts +8 -0
- package/lib/models/digicust/documents/document-types/temporary-storage.model.js +2 -0
- package/lib/models/digicust/documents/document-types/transit-declaration.model.d.ts +28 -0
- package/lib/models/digicust/documents/document-types/transit-declaration.model.js +2 -0
- package/lib/models/digicust/documents/document-types/turkish-export-declaration.model.d.ts +6 -0
- package/lib/models/digicust/documents/document-types/turkish-export-declaration.model.js +2 -0
- package/lib/models/digicust/documents/document-types/user-input.model.d.ts +15 -0
- package/lib/models/digicust/documents/document-types/user-input.model.js +2 -0
- package/lib/models/digicust/documents/document-types/waybill.model.d.ts +34 -0
- package/lib/models/digicust/documents/document-types/waybill.model.js +2 -0
- package/lib/models/digicust/documents/index.d.ts +13 -0
- package/lib/models/digicust/documents/index.js +29 -0
- package/lib/models/digicust/documents/invoice-type.model.d.ts +15 -0
- package/lib/models/digicust/documents/invoice-type.model.js +2 -0
- package/lib/models/digicust/documents/line-item-containing-document.d.ts +6 -0
- package/lib/models/digicust/documents/line-item-containing-document.js +2 -0
- package/lib/models/digicust/documents/preliminary-documents/atb.model.d.ts +12 -0
- package/lib/models/digicust/documents/preliminary-documents/atb.model.js +2 -0
- package/lib/models/digicust/documents/preliminary-documents/index.d.ts +2 -0
- package/lib/models/digicust/documents/preliminary-documents/index.js +18 -0
- package/lib/models/digicust/documents/preliminary-documents/preliminary-document.model.d.ts +7 -0
- package/lib/models/digicust/documents/preliminary-documents/preliminary-document.model.js +7 -0
- package/lib/models/digicust/documents/tariff-classification-input.d.ts +16 -0
- package/lib/models/digicust/documents/tariff-classification-input.js +2 -0
- package/lib/models/digicust/documents/waybill-type.model.d.ts +24 -0
- package/lib/models/digicust/documents/waybill-type.model.js +14 -0
- package/lib/models/digicust/environment.enum.d.ts +4 -0
- package/lib/models/digicust/environment.enum.js +8 -0
- package/lib/models/digicust/errors.model.d.ts +11 -0
- package/lib/models/digicust/errors.model.js +2 -0
- package/lib/models/digicust/event/event.model.d.ts +66 -0
- package/lib/models/digicust/event/event.model.js +10 -0
- package/lib/models/digicust/event/index.d.ts +1 -0
- package/lib/models/digicust/event/index.js +17 -0
- package/lib/models/digicust/exchange-rate/exchange-rate.model.d.ts +8 -0
- package/lib/models/digicust/exchange-rate/exchange-rate.model.js +2 -0
- package/lib/models/digicust/exchange-rate/index.d.ts +1 -0
- package/lib/models/digicust/exchange-rate/index.js +17 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +129 -0
- package/lib/models/digicust/execution-strategy/execution-strategy.model.js +13 -0
- package/lib/models/digicust/execution-strategy/index.d.ts +3 -0
- package/lib/models/digicust/execution-strategy/index.js +19 -0
- package/lib/models/digicust/execution-strategy/rule.d.ts +13 -0
- package/lib/models/digicust/execution-strategy/rule.js +2 -0
- package/lib/models/digicust/execution-strategy/sftp-config.model.d.ts +61 -0
- package/lib/models/digicust/execution-strategy/sftp-config.model.js +2 -0
- package/lib/models/digicust/fraud/item-fraud-detection.d.ts +6 -0
- package/lib/models/digicust/fraud/item-fraud-detection.js +2 -0
- package/lib/models/digicust/frontend/dialog-window.model.d.ts +6 -0
- package/lib/models/digicust/frontend/dialog-window.model.js +2 -0
- package/lib/models/digicust/frontend/extra-styles.model.d.ts +4 -0
- package/lib/models/digicust/frontend/extra-styles.model.js +2 -0
- package/lib/models/digicust/frontend/field-type.enum.d.ts +10 -0
- package/lib/models/digicust/frontend/field-type.enum.js +14 -0
- package/lib/models/digicust/frontend/filter.enum.d.ts +14 -0
- package/lib/models/digicust/frontend/filter.enum.js +13 -0
- package/lib/models/digicust/frontend/frontend-big-section.model.d.ts +13 -0
- package/lib/models/digicust/frontend/frontend-big-section.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-fields.model.d.ts +11 -0
- package/lib/models/digicust/frontend/frontend-fields.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-group.model.d.ts +6 -0
- package/lib/models/digicust/frontend/frontend-group.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-mapping.model.d.ts +4 -0
- package/lib/models/digicust/frontend/frontend-mapping.model.js +2 -0
- package/lib/models/digicust/frontend/frontend-small-section.mode.d.ts +9 -0
- package/lib/models/digicust/frontend/frontend-small-section.mode.js +2 -0
- package/lib/models/digicust/frontend/index.d.ts +12 -0
- package/lib/models/digicust/frontend/index.js +28 -0
- package/lib/models/digicust/frontend/prefix.enum.d.ts +5 -0
- package/lib/models/digicust/frontend/prefix.enum.js +10 -0
- package/lib/models/digicust/frontend/section-type.enum.d.ts +12 -0
- package/lib/models/digicust/frontend/section-type.enum.js +16 -0
- package/lib/models/digicust/frontend/sort.enum.d.ts +4 -0
- package/lib/models/digicust/frontend/sort.enum.js +8 -0
- package/lib/models/digicust/index.d.ts +28 -0
- package/lib/models/digicust/index.js +44 -0
- package/lib/models/digicust/line-item/index.d.ts +2 -0
- package/lib/models/digicust/line-item/index.js +18 -0
- package/lib/models/digicust/line-item/line-item-match-result.d.ts +28 -0
- package/lib/models/digicust/line-item/line-item-match-result.js +2 -0
- package/lib/models/digicust/line-item/line-item.model.d.ts +95 -0
- package/lib/models/digicust/line-item/line-item.model.js +17 -0
- package/lib/models/digicust/masterdata/index.d.ts +12 -0
- package/lib/models/digicust/masterdata/index.js +28 -0
- package/lib/models/digicust/masterdata/matching-metadata.model.d.ts +8 -0
- package/lib/models/digicust/masterdata/matching-metadata.model.js +2 -0
- package/lib/models/digicust/masterdata/material-match-input.d.ts +8 -0
- package/lib/models/digicust/masterdata/material-match-input.js +2 -0
- package/lib/models/digicust/masterdata/material-match-result.d.ts +11 -0
- package/lib/models/digicust/masterdata/material-match-result.js +2 -0
- package/lib/models/digicust/masterdata/material.model.d.ts +167 -0
- package/lib/models/digicust/masterdata/material.model.js +15 -0
- package/lib/models/digicust/masterdata/pseudo-stakeholder.d.ts +5 -0
- package/lib/models/digicust/masterdata/pseudo-stakeholder.js +2 -0
- package/lib/models/digicust/masterdata/stakeholder-match-input.d.ts +8 -0
- package/lib/models/digicust/masterdata/stakeholder-match-input.js +2 -0
- package/lib/models/digicust/masterdata/stakeholder-match-result.d.ts +19 -0
- package/lib/models/digicust/masterdata/stakeholder-match-result.js +2 -0
- package/lib/models/digicust/masterdata/stakeholder-role.enum.d.ts +11 -0
- package/lib/models/digicust/masterdata/stakeholder-role.enum.js +15 -0
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +43 -0
- package/lib/models/digicust/masterdata/stakeholder.model.js +2 -0
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.d.ts +6 -0
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.js +10 -0
- package/lib/models/digicust/masterdata/string-scoring-details.d.ts +8 -0
- package/lib/models/digicust/masterdata/string-scoring-details.js +2 -0
- package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -0
- package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -0
- package/lib/models/digicust/measures/address.model.d.ts +29 -0
- package/lib/models/digicust/measures/address.model.js +13 -0
- package/lib/models/digicust/measures/date.model.d.ts +5 -0
- package/lib/models/digicust/measures/date.model.js +2 -0
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.d.ts +7 -0
- package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.js +11 -0
- package/lib/models/digicust/measures/dimensions/dimensions.model.d.ts +8 -0
- package/lib/models/digicust/measures/dimensions/dimensions.model.js +2 -0
- package/lib/models/digicust/measures/dimensions/index.d.ts +2 -0
- package/lib/models/digicust/measures/dimensions/index.js +18 -0
- package/lib/models/digicust/measures/index.d.ts +9 -0
- package/lib/models/digicust/measures/index.js +25 -0
- package/lib/models/digicust/measures/language.model.d.ts +4 -0
- package/lib/models/digicust/measures/language.model.js +2 -0
- package/lib/models/digicust/measures/money/currency.enum.d.ts +181 -0
- package/lib/models/digicust/measures/money/currency.enum.js +185 -0
- package/lib/models/digicust/measures/money/index.d.ts +2 -0
- package/lib/models/digicust/measures/money/index.js +18 -0
- package/lib/models/digicust/measures/money/money.model.d.ts +12 -0
- package/lib/models/digicust/measures/money/money.model.js +16 -0
- package/lib/models/digicust/measures/person.model.d.ts +12 -0
- package/lib/models/digicust/measures/person.model.js +2 -0
- package/lib/models/digicust/measures/quantity.model.d.ts +17 -0
- package/lib/models/digicust/measures/quantity.model.js +10 -0
- package/lib/models/digicust/measures/unit-of-measurement/index.d.ts +2 -0
- package/lib/models/digicust/measures/unit-of-measurement/index.js +18 -0
- package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.d.ts +10 -0
- package/lib/models/digicust/measures/unit-of-measurement/unit-of-measurement.js +2 -0
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.d.ts +39 -0
- package/lib/models/digicust/measures/unit-of-measurement/uom.enum.js +44 -0
- package/lib/models/digicust/measures/weight/index.d.ts +2 -0
- package/lib/models/digicust/measures/weight/index.js +18 -0
- package/lib/models/digicust/measures/weight/weight-unit.enum.d.ts +10 -0
- package/lib/models/digicust/measures/weight/weight-unit.enum.js +14 -0
- package/lib/models/digicust/measures/weight/weight.model.d.ts +7 -0
- package/lib/models/digicust/measures/weight/weight.model.js +15 -0
- package/lib/models/digicust/meta/bbox.model.d.ts +22 -0
- package/lib/models/digicust/meta/bbox.model.js +2 -0
- package/lib/models/digicust/meta/fuzzy-input.d.ts +4 -0
- package/lib/models/digicust/meta/fuzzy-input.js +2 -0
- package/lib/models/digicust/meta/index.d.ts +5 -0
- package/lib/models/digicust/meta/index.js +21 -0
- package/lib/models/digicust/meta/meta.d.ts +37 -0
- package/lib/models/digicust/meta/meta.js +13 -0
- package/lib/models/digicust/meta/translatable.model.d.ts +9 -0
- package/lib/models/digicust/meta/translatable.model.js +2 -0
- package/lib/models/digicust/meta/workflow.d.ts +31 -0
- package/lib/models/digicust/meta/workflow.js +2 -0
- package/lib/models/digicust/module/index.d.ts +1 -0
- package/lib/models/digicust/module/index.js +17 -0
- package/lib/models/digicust/module/module.model.d.ts +49 -0
- package/lib/models/digicust/module/module.model.js +27 -0
- package/lib/models/digicust/multerfile.model.d.ts +12 -0
- package/lib/models/digicust/multerfile.model.js +2 -0
- package/lib/models/digicust/notification/index.d.ts +1 -0
- package/lib/models/digicust/notification/index.js +17 -0
- package/lib/models/digicust/notification/notifications.model.d.ts +13 -0
- package/lib/models/digicust/notification/notifications.model.js +2 -0
- package/lib/models/digicust/queue/extractions/extraction-grid.model.d.ts +22 -0
- package/lib/models/digicust/queue/extractions/extraction-grid.model.js +2 -0
- package/lib/models/digicust/queue/extractions/extraction.model.d.ts +67 -0
- package/lib/models/digicust/queue/extractions/extraction.model.js +2 -0
- package/lib/models/digicust/queue/extractions/index.d.ts +2 -0
- package/lib/models/digicust/queue/extractions/index.js +18 -0
- package/lib/models/digicust/queue/index.d.ts +3 -0
- package/lib/models/digicust/queue/index.js +19 -0
- package/lib/models/digicust/queue/queue-fields.model.d.ts +15 -0
- package/lib/models/digicust/queue/queue-fields.model.js +2 -0
- package/lib/models/digicust/queue/queue.model.d.ts +18 -0
- package/lib/models/digicust/queue/queue.model.js +2 -0
- package/lib/models/digicust/read-lock.model.d.ts +7 -0
- package/lib/models/digicust/read-lock.model.js +2 -0
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.d.ts +23 -0
- package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.js +2 -0
- package/lib/models/digicust/settings/index.d.ts +1 -0
- package/lib/models/digicust/settings/index.js +17 -0
- package/lib/models/digicust/transportation/container.model.d.ts +7 -0
- package/lib/models/digicust/transportation/container.model.js +2 -0
- package/lib/models/digicust/transportation/cost-intersection.model.d.ts +20 -0
- package/lib/models/digicust/transportation/cost-intersection.model.js +16 -0
- package/lib/models/digicust/transportation/incoterm.model.d.ts +25 -0
- package/lib/models/digicust/transportation/incoterm.model.js +21 -0
- package/lib/models/digicust/transportation/index.d.ts +7 -0
- package/lib/models/digicust/transportation/index.js +23 -0
- package/lib/models/digicust/transportation/load-type.enum.d.ts +14 -0
- package/lib/models/digicust/transportation/load-type.enum.js +19 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.d.ts +39 -0
- package/lib/models/digicust/transportation/mean-of-transportation.model.js +21 -0
- package/lib/models/digicust/transportation/package-type.model.d.ts +10 -0
- package/lib/models/digicust/transportation/package-type.model.js +2 -0
- package/lib/models/digicust/transportation/package.model.d.ts +13 -0
- package/lib/models/digicust/transportation/package.model.js +2 -0
- package/lib/models/digicust/user/index.d.ts +2 -0
- package/lib/models/digicust/user/index.js +18 -0
- package/lib/models/digicust/user/membership.model.d.ts +7 -0
- package/lib/models/digicust/user/membership.model.js +2 -0
- package/lib/models/digicust/user/user.model.d.ts +19 -0
- package/lib/models/digicust/user/user.model.js +2 -0
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.js +19 -0
- package/lib/models/ml/dexter/index.d.ts +1 -0
- package/lib/models/ml/dexter/index.js +17 -0
- package/lib/models/ml/dexter/text-detection.model.d.ts +3 -0
- package/lib/models/ml/dexter/text-detection.model.js +2 -0
- package/lib/models/ml/index.d.ts +2 -0
- package/lib/models/ml/index.js +18 -0
- package/lib/models/ml/machine-learning-model.model.d.ts +8 -0
- package/lib/models/ml/machine-learning-model.model.js +2 -0
- package/lib/models/rossum/index.d.ts +12 -0
- package/lib/models/rossum/index.js +28 -0
- package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -0
- package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -0
- package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -0
- package/lib/models/rossum/rossum-annotation-data.model.js +2 -0
- package/lib/models/rossum/rossum-document-data.model.d.ts +12 -0
- package/lib/models/rossum/rossum-document-data.model.js +2 -0
- package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -0
- package/lib/models/rossum/rossum-embedded-response.model.js +2 -0
- package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -0
- package/lib/models/rossum/rossum-import-status.enum.js +18 -0
- package/lib/models/rossum/rossum-login-response.model.d.ts +3 -0
- package/lib/models/rossum/rossum-login-response.model.js +2 -0
- package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -0
- package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -0
- package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -0
- package/lib/models/rossum/rossum-paginated-documents.model.js +2 -0
- package/lib/models/rossum/rossum-pagination.model.d.ts +6 -0
- package/lib/models/rossum/rossum-pagination.model.js +2 -0
- package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -0
- package/lib/models/rossum/rossum-result-content.dto.js +2 -0
- package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -0
- package/lib/models/rossum/rossum-result-node.dto.js +2 -0
- package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -0
- package/lib/models/rossum/rossum-start-analyze.dto.js +2 -0
- package/package.json +1 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
import { PreliminaryDocument, PreliminaryDocumentType } from ".";
|
2
|
+
import { AtlasDocumentNumber } from "..";
|
3
|
+
import { DateTimeModel, Meta } from "../..";
|
4
|
+
export interface ATB extends PreliminaryDocument {
|
5
|
+
type: PreliminaryDocumentType.ATB;
|
6
|
+
ATBNumber?: AtlasDocumentNumber;
|
7
|
+
presentationDate?: DateTimeModel;
|
8
|
+
preliminaryDocumentCode?: Meta<string>;
|
9
|
+
lineItem?: Meta<number>;
|
10
|
+
amountOfPackages?: Meta<number>;
|
11
|
+
grossWeight?: Meta<number>;
|
12
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./atb.model"), exports);
|
18
|
+
__exportStar(require("./preliminary-document.model"), exports);
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PreliminaryDocumentType = void 0;
|
4
|
+
var PreliminaryDocumentType;
|
5
|
+
(function (PreliminaryDocumentType) {
|
6
|
+
PreliminaryDocumentType["ATB"] = "ATB";
|
7
|
+
})(PreliminaryDocumentType || (exports.PreliminaryDocumentType = PreliminaryDocumentType = {}));
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { LineItemContainingDocument, DigicustDocumentType } from ".";
|
2
|
+
import { LineItemModel } from "..";
|
3
|
+
import { DigicustDocumentModel } from "./document-types";
|
4
|
+
/**
|
5
|
+
* Identifies a user input on tariff classification
|
6
|
+
*/
|
7
|
+
export interface TariffClassificationInput extends LineItemContainingDocument, DigicustDocumentModel {
|
8
|
+
documentType?: DigicustDocumentType.TariffClassificationInput;
|
9
|
+
items?: TariffClassificationInputItem[];
|
10
|
+
}
|
11
|
+
export interface TariffClassificationInputItem extends LineItemModel {
|
12
|
+
id?: string;
|
13
|
+
matchWith?: {
|
14
|
+
id?: string;
|
15
|
+
};
|
16
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { Meta } from "..";
|
2
|
+
export interface WaybillTypeModel extends Meta<WaybillType> {
|
3
|
+
NC_24000?: string;
|
4
|
+
Dokumentenarten?: string;
|
5
|
+
DE_I0200?: string;
|
6
|
+
/** Bescheinigungsbereich */
|
7
|
+
DE_I0200_Bereich?: string;
|
8
|
+
DE_I0136?: string;
|
9
|
+
DE_I0136_Qualifier?: string;
|
10
|
+
DE_I0136_Reference?: string;
|
11
|
+
DE_I0136_Addition?: string;
|
12
|
+
DE_I0136_Detail?: string;
|
13
|
+
DE_C0013?: string;
|
14
|
+
}
|
15
|
+
export declare enum WaybillType {
|
16
|
+
airWaybill = "airWaybill",
|
17
|
+
seaWaybill = "seaWaybill",
|
18
|
+
railWaybill = "railWaybill",
|
19
|
+
roadWaybill = "roadWaybill",
|
20
|
+
inlandShippingWaybill = "inlandShippingWaybill",
|
21
|
+
cmrWaybill = "cmrWaybill",
|
22
|
+
billOfLading = "billOfLading",
|
23
|
+
konossement = "konossement"
|
24
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.WaybillType = void 0;
|
4
|
+
var WaybillType;
|
5
|
+
(function (WaybillType) {
|
6
|
+
WaybillType["airWaybill"] = "airWaybill";
|
7
|
+
WaybillType["seaWaybill"] = "seaWaybill";
|
8
|
+
WaybillType["railWaybill"] = "railWaybill";
|
9
|
+
WaybillType["roadWaybill"] = "roadWaybill";
|
10
|
+
WaybillType["inlandShippingWaybill"] = "inlandShippingWaybill";
|
11
|
+
WaybillType["cmrWaybill"] = "cmrWaybill";
|
12
|
+
WaybillType["billOfLading"] = "billOfLading";
|
13
|
+
WaybillType["konossement"] = "konossement";
|
14
|
+
})(WaybillType || (exports.WaybillType = WaybillType = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Environment = void 0;
|
4
|
+
var Environment;
|
5
|
+
(function (Environment) {
|
6
|
+
Environment["development"] = "development";
|
7
|
+
Environment["production"] = "production";
|
8
|
+
})(Environment || (exports.Environment = Environment = {}));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface ErrorModel extends Error {
|
2
|
+
type?: string;
|
3
|
+
severity?: "error" | "warning" | "info";
|
4
|
+
reference?: string;
|
5
|
+
}
|
6
|
+
export interface ValidationError extends ErrorModel {
|
7
|
+
type: "ValidationError";
|
8
|
+
field?: string;
|
9
|
+
expected?: any;
|
10
|
+
actual?: any;
|
11
|
+
}
|
@@ -0,0 +1,66 @@
|
|
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
|
+
/** Remove tags that are "", null or undefined from output. Defaults to false */
|
59
|
+
removeEmptyTags?: boolean;
|
60
|
+
/** Delimiter for CSV mapping */
|
61
|
+
csvSeparator?: string;
|
62
|
+
/** Include headers in CSV */
|
63
|
+
includeHeaders?: boolean;
|
64
|
+
/** Remove non-latin symbols */
|
65
|
+
removeAccents?: boolean;
|
66
|
+
}
|
@@ -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 = EventType = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./event.model";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./event.model"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./exchange-rate.model";
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./exchange-rate.model"), exports);
|
@@ -0,0 +1,129 @@
|
|
1
|
+
import { CustomsTariffNumberNormalizationSettings, DigicustDocumentType, Event, PackageType, ProcedureMode, Rule, StakeholderModel } from "..";
|
2
|
+
import { AebSftpConfig, DakosySftpConfig, DbhSftpConfig, LdvSftpConfig } from "./sftp-config.model";
|
3
|
+
/**
|
4
|
+
* Execution strategies are customer-configurable plans on how to process a specific case.
|
5
|
+
*/
|
6
|
+
export interface ExecutionStrategy {
|
7
|
+
id?: string;
|
8
|
+
alias?: string;
|
9
|
+
flags?: {
|
10
|
+
[key: string]: string;
|
11
|
+
};
|
12
|
+
moduleId?: string;
|
13
|
+
customerId?: string;
|
14
|
+
projectId?: string;
|
15
|
+
isCondensed?: boolean;
|
16
|
+
subscriptionId?: string;
|
17
|
+
procedureCode?: string;
|
18
|
+
importViaSFTP?: {
|
19
|
+
active?: boolean;
|
20
|
+
"sftp-password"?: string;
|
21
|
+
"sftp-login-name"?: string;
|
22
|
+
"sftp-port"?: string;
|
23
|
+
"sftp-dns-name"?: string;
|
24
|
+
"sftp-inbound"?: string;
|
25
|
+
"sftp-outbound"?: string;
|
26
|
+
};
|
27
|
+
whitelistedImportEmails?: string[];
|
28
|
+
mergeMultipleUploads?: boolean;
|
29
|
+
defaultClassification?: DigicustDocumentType;
|
30
|
+
defaultProcedureMode?: ProcedureMode;
|
31
|
+
dataExtraction?: {
|
32
|
+
active?: boolean;
|
33
|
+
engine?: "default" | "dexter_experimental";
|
34
|
+
engineSpecification?: string;
|
35
|
+
promptRemarks?: string;
|
36
|
+
requireManualClassification?: boolean;
|
37
|
+
requireHumanAnnotation?: boolean;
|
38
|
+
exportOnConfirmedStrategy?: boolean;
|
39
|
+
queueMapping?: {
|
40
|
+
documentType: DigicustDocumentType;
|
41
|
+
queueId: string;
|
42
|
+
}[];
|
43
|
+
classification?: {
|
44
|
+
/** Defines whether a classification shall be assumed correct
|
45
|
+
* if a specific confidence level is reached */
|
46
|
+
automateOnMinConfidence?: boolean;
|
47
|
+
/** Value between 1 (very confident) to 0 (no confidence) */
|
48
|
+
automateMinConfidence?: number;
|
49
|
+
};
|
50
|
+
/**
|
51
|
+
* @deprecated
|
52
|
+
*/
|
53
|
+
rossumExportOnConfirmed?: boolean;
|
54
|
+
/** for rossum */
|
55
|
+
overrideQueues?: {
|
56
|
+
documentType: string;
|
57
|
+
queue: number;
|
58
|
+
}[];
|
59
|
+
};
|
60
|
+
dataNormalization?: {
|
61
|
+
active?: boolean;
|
62
|
+
/** Determines how to deal with additional costs like shipping costs, packing, ... */
|
63
|
+
additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
|
64
|
+
allowDateInOrderNumber?: boolean;
|
65
|
+
eliminateArticleNumberFromDescription?: boolean;
|
66
|
+
/** Determines whether or not data from incoming emails are extracted and normalized.
|
67
|
+
* @default false */
|
68
|
+
normalizeEmailDocuments?: boolean;
|
69
|
+
/** Determines whether trade preference shall be invalidated if wording or spelling is wrong */
|
70
|
+
checkTradePreferenceForWording?: boolean;
|
71
|
+
translateLineItemDescriptions?: {
|
72
|
+
active?: boolean;
|
73
|
+
destinationLanguage?: string;
|
74
|
+
};
|
75
|
+
customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
|
76
|
+
guaranteeValueStrategy?: "headerFromInvoices" | "headerFromInvoiceHeader" | "lineItems";
|
77
|
+
guaranteeValueCalculation?: "includeVAT19%" | "excludeVAT";
|
78
|
+
waybillCodePreference?: "singleCode" | "seperateCodes";
|
79
|
+
calculateLineItemWeight?: "byQuantity" | "byTotalValue";
|
80
|
+
/** Between 0 and 1 */
|
81
|
+
foreignFreightCostRate?: number;
|
82
|
+
useQuantityAsPackageCount?: boolean;
|
83
|
+
enforcePackageType?: PackageType;
|
84
|
+
preferWeightFromHead?: boolean;
|
85
|
+
};
|
86
|
+
dataValidation?: {
|
87
|
+
active?: boolean;
|
88
|
+
fraudDetection?: boolean;
|
89
|
+
};
|
90
|
+
hsClassification?: {
|
91
|
+
active?: boolean;
|
92
|
+
research?: boolean;
|
93
|
+
};
|
94
|
+
/** @deprecated */
|
95
|
+
dakosySubmission?: {
|
96
|
+
active?: boolean;
|
97
|
+
};
|
98
|
+
dataIntegration?: {
|
99
|
+
active?: boolean;
|
100
|
+
requireUserInput?: "false" | "true" | "masterDataOrUserInput";
|
101
|
+
};
|
102
|
+
matchingEngine?: {
|
103
|
+
materialMatching?: {
|
104
|
+
disabled?: boolean;
|
105
|
+
disableTariffNumberMatching?: boolean;
|
106
|
+
disableMaterialNumberMatching?: boolean;
|
107
|
+
tariffNumberMatchingConfiguration?: {
|
108
|
+
stakeholderFilters?: ("shipper" | "consignee" | "recipient" | "beneficiary" | "applicant" | "declarant" | "importer" | "exporter" | "buyer" | "agent" | "broker" | "carrier" | "warehouse" | "obligater")[];
|
109
|
+
};
|
110
|
+
};
|
111
|
+
};
|
112
|
+
pseudonymization?: {
|
113
|
+
active?: boolean;
|
114
|
+
interval?: number;
|
115
|
+
time?: number;
|
116
|
+
};
|
117
|
+
isProcessWithDextor: boolean;
|
118
|
+
submission?: DakosySftpConfig | AebSftpConfig | DbhSftpConfig | LdvSftpConfig;
|
119
|
+
events: Event[];
|
120
|
+
rules: Rule[];
|
121
|
+
automated?: boolean;
|
122
|
+
customs?: {
|
123
|
+
GRN?: string;
|
124
|
+
GRNAccessCode?: string;
|
125
|
+
declarantRepresentative?: StakeholderModel;
|
126
|
+
LRN?: string;
|
127
|
+
};
|
128
|
+
}
|
129
|
+
export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy) => ExecutionStrategy;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.condenseExecutionStrategy = void 0;
|
4
|
+
const condenseExecutionStrategy = (strategy) => strategy
|
5
|
+
? {
|
6
|
+
id: strategy.id,
|
7
|
+
alias: strategy.alias,
|
8
|
+
customerId: strategy.customerId,
|
9
|
+
subscriptionId: strategy.subscriptionId,
|
10
|
+
isCondensed: true,
|
11
|
+
}
|
12
|
+
: null;
|
13
|
+
exports.condenseExecutionStrategy = condenseExecutionStrategy;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./execution-strategy.model"), exports);
|
18
|
+
__exportStar(require("./rule"), exports);
|
19
|
+
__exportStar(require("./sftp-config.model"), exports);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { UserInput } from "../documents";
|
2
|
+
import { FilterCondition } from "../frontend";
|
3
|
+
export interface Rule {
|
4
|
+
name?: string;
|
5
|
+
conditions?: {
|
6
|
+
/** Path or JSONata expression */
|
7
|
+
field?: string;
|
8
|
+
operator?: FilterCondition;
|
9
|
+
value?: string;
|
10
|
+
}[];
|
11
|
+
/** User input with replaced fields (according to its priority) */
|
12
|
+
userInput?: UserInput;
|
13
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
export interface DakosySftpConfig {
|
2
|
+
active?: boolean;
|
3
|
+
vendor?: "dakosy";
|
4
|
+
config?: {
|
5
|
+
"sftp-password"?: string;
|
6
|
+
"sftp-login-name"?: string;
|
7
|
+
"sftp-port"?: string;
|
8
|
+
"sftp-dns-name"?: string;
|
9
|
+
"sftp-inbound"?: string;
|
10
|
+
"sftp-outbound"?: string;
|
11
|
+
"partner-id"?: string;
|
12
|
+
division?: string;
|
13
|
+
noDocumentsOnHead?: boolean;
|
14
|
+
packagesOnFirstLineItemOnly?: boolean;
|
15
|
+
aggregateItems?: boolean;
|
16
|
+
template?: string;
|
17
|
+
ignoreDV1?: boolean;
|
18
|
+
ignoreToAddress?: boolean;
|
19
|
+
/** Anmelder ist Empfanger */
|
20
|
+
enforceImportDeclarantIsRecipient?: boolean;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export interface LdvSftpConfig {
|
24
|
+
active?: boolean;
|
25
|
+
vendor?: "ldv";
|
26
|
+
config?: {
|
27
|
+
"sftp-password"?: string;
|
28
|
+
"sftp-login-name"?: string;
|
29
|
+
"sftp-port"?: string;
|
30
|
+
"sftp-dns-name"?: string;
|
31
|
+
"sftp-inbound"?: string;
|
32
|
+
};
|
33
|
+
}
|
34
|
+
export interface DbhSftpConfig {
|
35
|
+
active?: boolean;
|
36
|
+
vendor?: "dbh";
|
37
|
+
config?: {
|
38
|
+
"client-code"?: string;
|
39
|
+
"user-name"?: string;
|
40
|
+
password?: string;
|
41
|
+
endpoint?: string;
|
42
|
+
template?: string;
|
43
|
+
aggregateItems?: boolean;
|
44
|
+
duplicateBTIsInAdditionalInformationField?: boolean;
|
45
|
+
aggregateFreightAndGoodsInvoices?: boolean;
|
46
|
+
};
|
47
|
+
}
|
48
|
+
export interface AebSftpConfig {
|
49
|
+
active?: boolean;
|
50
|
+
vendor?: "aeb";
|
51
|
+
config?: {
|
52
|
+
"client-name"?: string;
|
53
|
+
"user-name"?: string;
|
54
|
+
password?: string;
|
55
|
+
endpoint?: string;
|
56
|
+
"client-system-id"?: string;
|
57
|
+
"client-ident-code"?: string;
|
58
|
+
profile?: string;
|
59
|
+
organizationalUnit?: string;
|
60
|
+
};
|
61
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FieldType = void 0;
|
4
|
+
var FieldType;
|
5
|
+
(function (FieldType) {
|
6
|
+
FieldType["text"] = "text";
|
7
|
+
FieldType["date"] = "date";
|
8
|
+
FieldType["currency"] = "currency";
|
9
|
+
FieldType["weight"] = "weight";
|
10
|
+
FieldType["dimensions"] = "dimensions";
|
11
|
+
FieldType["phoneNumber"] = "phoneNumber";
|
12
|
+
FieldType["email"] = "email";
|
13
|
+
FieldType["address"] = "address";
|
14
|
+
})(FieldType || (exports.FieldType = FieldType = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare enum FilterCondition {
|
2
|
+
greaterThan = "greaterThan",
|
3
|
+
smallerThan = "smallerThan",
|
4
|
+
equals = "equals",
|
5
|
+
startsWith = "startsWith",
|
6
|
+
endsWith = "endsWith",
|
7
|
+
contains = "contains",
|
8
|
+
isUserEdited = "isUserEdited"
|
9
|
+
}
|
10
|
+
export interface FilterObject {
|
11
|
+
field: string;
|
12
|
+
condition: FilterCondition;
|
13
|
+
value: string | undefined | boolean | Date | number;
|
14
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FilterCondition = void 0;
|
4
|
+
var FilterCondition;
|
5
|
+
(function (FilterCondition) {
|
6
|
+
FilterCondition["greaterThan"] = "greaterThan";
|
7
|
+
FilterCondition["smallerThan"] = "smallerThan";
|
8
|
+
FilterCondition["equals"] = "equals";
|
9
|
+
FilterCondition["startsWith"] = "startsWith";
|
10
|
+
FilterCondition["endsWith"] = "endsWith";
|
11
|
+
FilterCondition["contains"] = "contains";
|
12
|
+
FilterCondition["isUserEdited"] = "isUserEdited";
|
13
|
+
})(FilterCondition || (exports.FilterCondition = FilterCondition = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { DigicustDocumentType } from "..";
|
2
|
+
import { FrontendSmallSection } from "./frontend-small-section.mode";
|
3
|
+
export interface FrontendBigSection {
|
4
|
+
title: string;
|
5
|
+
icon: string;
|
6
|
+
documentType?: DigicustDocumentType;
|
7
|
+
subInfo: Array<{
|
8
|
+
title: string;
|
9
|
+
boxes: Array<string>;
|
10
|
+
}>;
|
11
|
+
sections: Array<FrontendSmallSection>;
|
12
|
+
pagination: boolean;
|
13
|
+
}
|