digicust_types 1.7.162 → 1.7.166
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.ts +10 -10
- package/lib/contracts/import-ocr-document-into-graph.dto.js +2 -2
- package/lib/contracts/index.d.ts +14 -14
- package/lib/contracts/index.js +26 -26
- package/lib/contracts/start-dakosy-submission.dto.d.ts +7 -7
- package/lib/contracts/start-dakosy-submission.dto.js +2 -2
- package/lib/contracts/start-data-extraction.dto.d.ts +16 -16
- package/lib/contracts/start-data-extraction.dto.js +2 -2
- package/lib/contracts/start-data-integration.dto.d.ts +7 -7
- package/lib/contracts/start-data-integration.dto.js +2 -2
- package/lib/contracts/start-data-normalization.dto.d.ts +7 -7
- package/lib/contracts/start-data-normalization.dto.js +2 -2
- package/lib/contracts/start-data-validation.dto.d.ts +7 -7
- package/lib/contracts/start-data-validation.dto.js +2 -2
- package/lib/contracts/start-document-classifier.dto.d.ts +7 -7
- package/lib/contracts/start-document-classifier.dto.js +2 -2
- package/lib/contracts/start-document-merger.dto.d.ts +12 -12
- package/lib/contracts/start-document-merger.dto.js +2 -2
- package/lib/contracts/start-document-splitting.dto.d.ts +9 -9
- package/lib/contracts/start-document-splitting.dto.js +2 -2
- package/lib/contracts/start-hs-classification-research.dto.d.ts +5 -5
- package/lib/contracts/start-hs-classification-research.dto.js +2 -2
- package/lib/contracts/start-hs-classification.dto.d.ts +3 -0
- package/lib/contracts/start-hs-classification.dto.js +2 -0
- package/lib/contracts/start-hs-classifier.dto.d.ts +8 -8
- package/lib/contracts/start-hs-classifier.dto.js +2 -2
- package/lib/contracts/start-ocr.dto.d.ts +9 -9
- package/lib/contracts/start-ocr.dto.js +2 -2
- package/lib/contracts/start-post-processing.dto.d.ts +7 -7
- package/lib/contracts/start-post-processing.dto.js +2 -2
- package/lib/contracts/trigger-event.dto.d.ts +7 -7
- package/lib/contracts/trigger-event.dto.js +2 -2
- package/lib/helpers/cleanObject.d.ts +6 -6
- package/lib/helpers/cleanObject.js +28 -28
- package/lib/index.d.ts +2 -2
- package/lib/index.js +14 -14
- package/lib/models/common/address.model.d.ts +22 -22
- package/lib/models/common/address.model.js +13 -13
- package/lib/models/common/bbox.model.d.ts +22 -22
- package/lib/models/common/bbox.model.js +2 -2
- 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.ts +5 -5
- package/lib/models/common/classification-code.model.js +2 -2
- package/lib/models/common/company.model.d.ts +22 -22
- package/lib/models/common/company.model.js +2 -2
- 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.ts +181 -181
- package/lib/models/common/currency.enum.js +185 -185
- package/lib/models/common/customs-tariff-number.model.d.ts +25 -25
- package/lib/models/common/customs-tariff-number.model.js +21 -21
- package/lib/models/common/date.model.d.ts +5 -5
- package/lib/models/common/date.model.js +2 -2
- package/lib/models/common/dialog-window.model.d.ts +6 -6
- package/lib/models/common/dialog-window.model.js +2 -2
- package/lib/models/common/dimensions-unit.enum.d.ts +7 -7
- package/lib/models/common/dimensions-unit.enum.js +11 -11
- package/lib/models/common/dimensions.model.d.ts +8 -8
- package/lib/models/common/dimensions.model.js +2 -2
- 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.ts +4 -4
- package/lib/models/common/extra-styles.model.js +2 -2
- package/lib/models/common/field-type.enum.d.ts +10 -10
- package/lib/models/common/field-type.enum.js +14 -14
- package/lib/models/common/filter.enum.d.ts +5 -5
- package/lib/models/common/filter.enum.js +9 -9
- package/lib/models/common/frontend-fields.model.d.ts +11 -11
- package/lib/models/common/frontend-fields.model.js +2 -2
- package/lib/models/common/fuzzy-input.d.ts +4 -4
- package/lib/models/common/fuzzy-input.js +2 -2
- package/lib/models/common/hs-classification-interaction.d.ts +30 -30
- package/lib/models/common/hs-classification-interaction.js +2 -2
- package/lib/models/common/hs-classification-response.d.ts +31 -31
- package/lib/models/common/hs-classification-response.js +2 -2
- package/lib/models/common/hs-code.model.d.ts +11 -11
- package/lib/models/common/hs-code.model.js +2 -2
- package/lib/models/common/index.d.ts +28 -28
- package/lib/models/common/index.js +44 -44
- package/lib/models/common/language.model.d.ts +4 -4
- package/lib/models/common/language.model.js +2 -2
- package/lib/models/common/meta.d.ts +35 -35
- package/lib/models/common/meta.js +15 -15
- package/lib/models/common/money.model.d.ts +11 -11
- package/lib/models/common/money.model.js +16 -16
- package/lib/models/common/multerfile.model.d.ts +12 -12
- package/lib/models/common/multerfile.model.js +2 -2
- package/lib/models/common/package-type.model.d.ts +10 -10
- package/lib/models/common/package-type.model.js +2 -2
- package/lib/models/common/periods.enum.d.ts +5 -5
- package/lib/models/common/periods.enum.js +9 -9
- package/lib/models/common/person.model.d.ts +12 -12
- package/lib/models/common/person.model.js +2 -2
- package/lib/models/common/prefix.enum.d.ts +5 -5
- package/lib/models/common/prefix.enum.js +10 -10
- package/lib/models/common/quantity.model.d.ts +15 -15
- package/lib/models/common/quantity.model.js +10 -10
- package/lib/models/common/section-type.enum.d.ts +12 -12
- package/lib/models/common/section-type.enum.js +16 -16
- package/lib/models/common/sort.enum.d.ts +4 -4
- package/lib/models/common/sort.enum.js +8 -8
- package/lib/models/common/subscription-price.model.d.ts +9 -9
- package/lib/models/common/subscription-price.model.js +2 -2
- package/lib/models/common/super.d.ts +7 -0
- package/lib/models/common/super.js +2 -0
- package/lib/models/common/uom.enum.d.ts +39 -39
- package/lib/models/common/uom.enum.js +44 -44
- package/lib/models/common/weight-unit.enum.d.ts +10 -10
- package/lib/models/common/weight-unit.enum.js +14 -14
- package/lib/models/common/weight.model.d.ts +7 -7
- package/lib/models/common/weight.model.js +15 -15
- package/lib/models/common/workflow.d.ts +27 -23
- package/lib/models/common/workflow.js +2 -2
- package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +13 -13
- package/lib/models/digicust/AnalyzerMetadataModel.model.js +2 -2
- package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +12 -0
- package/lib/models/digicust/QueueWorkspaceModel.model.js +2 -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.ts +16 -16
- package/lib/models/digicust/activity.model.js +2 -2
- package/lib/models/digicust/adjustment.model.d.ts +7 -7
- package/lib/models/digicust/adjustment.model.js +2 -2
- package/lib/models/digicust/aggregated-case-data.model.d.ts +87 -87
- package/lib/models/digicust/aggregated-case-data.model.js +25 -25
- package/lib/models/digicust/case-status.enum.d.ts +22 -22
- package/lib/models/digicust/case-status.enum.js +26 -26
- package/lib/models/digicust/case-submission-transaction.d.ts +29 -29
- package/lib/models/digicust/case-submission-transaction.js +19 -19
- package/lib/models/digicust/case-type.enum.d.ts +7 -7
- package/lib/models/digicust/case-type.enum.js +11 -11
- package/lib/models/digicust/case.model.d.ts +47 -47
- package/lib/models/digicust/case.model.js +24 -24
- 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.ts +4 -4
- package/lib/models/digicust/consignment-size.enum.js +8 -8
- package/lib/models/digicust/container.model.d.ts +7 -7
- package/lib/models/digicust/container.model.js +2 -2
- package/lib/models/digicust/context.model.d.ts +9 -9
- package/lib/models/digicust/context.model.js +2 -2
- package/lib/models/digicust/cost-intersection.model.d.ts +20 -20
- package/lib/models/digicust/cost-intersection.model.js +16 -16
- 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.model.d.ts +55 -55
- package/lib/models/digicust/customer.model.js +2 -2
- package/lib/models/digicust/customsOffice.model.d.ts +15 -15
- package/lib/models/digicust/customsOffice.model.js +12 -12
- package/lib/models/digicust/declaration.model.d.ts +4 -4
- package/lib/models/digicust/declaration.model.js +2 -2
- 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.ts +45 -0
- package/lib/models/digicust/digicust-document.model.js +38 -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.ts +38 -0
- package/lib/models/digicust/document-status.enum.js +45 -0
- package/lib/models/digicust/documents/custom-document.model.d.ts +8 -8
- package/lib/models/digicust/documents/custom-document.model.js +2 -2
- package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +16 -16
- package/lib/models/digicust/documents/digicust-document-type.enum.js +20 -20
- package/lib/models/digicust/documents/digicust-document.model.d.ts +45 -45
- package/lib/models/digicust/documents/digicust-document.model.js +38 -38
- package/lib/models/digicust/documents/document-code.model.d.ts +12 -12
- package/lib/models/digicust/documents/document-code.model.js +2 -2
- package/lib/models/digicust/documents/document-status.enum.d.ts +38 -38
- package/lib/models/digicust/documents/document-status.enum.js +45 -45
- package/lib/models/digicust/documents/export-declaration.model.d.ts +32 -31
- package/lib/models/digicust/documents/export-declaration.model.js +2 -2
- package/lib/models/digicust/documents/index.d.ts +12 -11
- package/lib/models/digicust/documents/index.js +28 -27
- package/lib/models/digicust/documents/invoice-type.model.d.ts +9 -9
- package/lib/models/digicust/documents/invoice-type.model.js +2 -2
- package/lib/models/digicust/documents/invoice.model.d.ts +61 -62
- package/lib/models/digicust/documents/invoice.model.js +2 -2
- 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/packing-list.model.d.ts +33 -33
- package/lib/models/digicust/documents/packing-list.model.js +2 -2
- package/lib/models/digicust/documents/waybill-type.model.d.ts +15 -15
- package/lib/models/digicust/documents/waybill-type.model.js +11 -11
- package/lib/models/digicust/documents/waybill.model.d.ts +33 -33
- package/lib/models/digicust/documents/waybill.model.js +2 -2
- package/lib/models/digicust/errors.model.d.ts +8 -8
- package/lib/models/digicust/errors.model.js +2 -2
- package/lib/models/digicust/event.model.d.ts +59 -59
- package/lib/models/digicust/event.model.js +10 -10
- package/lib/models/digicust/execution-strategy.model.d.ts +96 -96
- package/lib/models/digicust/execution-strategy.model.js +15 -15
- package/lib/models/digicust/extractions/extraction-grid.model.d.ts +22 -22
- package/lib/models/digicust/extractions/extraction-grid.model.js +2 -2
- package/lib/models/digicust/extractions/extraction.model.d.ts +65 -65
- package/lib/models/digicust/extractions/extraction.model.js +2 -2
- package/lib/models/digicust/extractions/index.d.ts +2 -2
- package/lib/models/digicust/extractions/index.js +14 -14
- package/lib/models/digicust/frontend-big-section.model.d.ts +13 -13
- package/lib/models/digicust/frontend-big-section.model.js +2 -2
- package/lib/models/digicust/frontend-group.model.d.ts +6 -6
- package/lib/models/digicust/frontend-group.model.js +2 -2
- package/lib/models/digicust/frontend-mapping.model.d.ts +4 -4
- package/lib/models/digicust/frontend-mapping.model.js +2 -2
- package/lib/models/digicust/frontend-small-section.mode.d.ts +13 -13
- package/lib/models/digicust/frontend-small-section.mode.js +2 -2
- package/lib/models/digicust/hs-code-mapping.d.ts +26 -26
- package/lib/models/digicust/hs-code-mapping.js +2 -2
- 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.ts +25 -25
- package/lib/models/digicust/incoterm.model.js +21 -21
- package/lib/models/digicust/index.d.ts +41 -41
- package/lib/models/digicust/index.js +61 -61
- 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.ts +62 -0
- package/lib/models/digicust/invoice.model.js +2 -0
- package/lib/models/digicust/line-item.model.d.ts +79 -79
- package/lib/models/digicust/line-item.model.js +17 -17
- package/lib/models/digicust/load-type.enum.d.ts +14 -14
- package/lib/models/digicust/load-type.enum.js +19 -19
- package/lib/models/digicust/masterdata/index.d.ts +11 -11
- package/lib/models/digicust/masterdata/index.js +23 -23
- package/lib/models/digicust/masterdata/matching-metadata.model.d.ts +8 -8
- package/lib/models/digicust/masterdata/matching-metadata.model.js +2 -2
- package/lib/models/digicust/masterdata/material-match-input.d.ts +8 -8
- package/lib/models/digicust/masterdata/material-match-input.js +2 -2
- package/lib/models/digicust/masterdata/material-match-result.d.ts +11 -11
- package/lib/models/digicust/masterdata/material-match-result.js +2 -2
- package/lib/models/digicust/masterdata/material.model.d.ts +97 -97
- package/lib/models/digicust/masterdata/material.model.js +9 -9
- 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.ts +6 -6
- package/lib/models/digicust/masterdata/stakeholder-match-input.js +2 -2
- package/lib/models/digicust/masterdata/stakeholder-match-result.d.ts +6 -6
- package/lib/models/digicust/masterdata/stakeholder-match-result.js +2 -2
- 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.ts +12 -12
- package/lib/models/digicust/masterdata/stakeholder-role.enum.js +16 -16
- 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.ts +26 -26
- package/lib/models/digicust/masterdata/stakeholder.model.js +2 -2
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.d.ts +6 -6
- package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.js +10 -10
- package/lib/models/digicust/masterdata/string-scoring-details.d.ts +8 -8
- package/lib/models/digicust/masterdata/string-scoring-details.js +2 -2
- package/lib/models/digicust/masterdata/user-edited-properties.type.d.ts +3 -3
- package/lib/models/digicust/masterdata/user-edited-properties.type.js +2 -2
- package/lib/models/digicust/mean-of-transportation.model.d.ts +30 -30
- package/lib/models/digicust/mean-of-transportation.model.js +21 -21
- package/lib/models/digicust/membership.model.d.ts +7 -7
- package/lib/models/digicust/membership.model.js +2 -2
- package/lib/models/digicust/module.model.d.ts +49 -49
- package/lib/models/digicust/module.model.js +27 -27
- 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.ts +13 -13
- package/lib/models/digicust/notifications.model.js +2 -2
- package/lib/models/digicust/operationType.enum.d.ts +15 -15
- package/lib/models/digicust/operationType.enum.js +19 -19
- package/lib/models/digicust/package.model.d.ts +21 -21
- package/lib/models/digicust/package.model.js +2 -2
- 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.ts +21 -21
- package/lib/models/digicust/preference-state.model.js +2 -2
- package/lib/models/digicust/procedure.model.d.ts +16 -16
- package/lib/models/digicust/procedure.model.js +9 -9
- package/lib/models/digicust/project.model.d.ts +25 -25
- package/lib/models/digicust/project.model.js +2 -2
- package/lib/models/digicust/queue-fields.model.d.ts +15 -15
- package/lib/models/digicust/queue-fields.model.js +2 -2
- package/lib/models/digicust/queue.model.d.ts +18 -18
- package/lib/models/digicust/queue.model.js +2 -2
- package/lib/models/digicust/report.model.d.ts +5 -5
- package/lib/models/digicust/report.model.js +2 -2
- 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.ts +4 -4
- package/lib/models/digicust/special-measure.model.js +2 -2
- package/lib/models/digicust/stats-case.model.d.ts +12 -12
- package/lib/models/digicust/stats-case.model.js +2 -2
- 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.ts +13 -13
- package/lib/models/digicust/subscription-info.model.js +2 -2
- package/lib/models/digicust/subscription.model.d.ts +11 -11
- package/lib/models/digicust/subscription.model.js +2 -2
- package/lib/models/digicust/tax-details.model.d.ts +10 -10
- package/lib/models/digicust/tax-details.model.js +2 -2
- package/lib/models/digicust/transit-item.model.d.ts +30 -30
- package/lib/models/digicust/transit-item.model.js +67 -67
- package/lib/models/digicust/type-of-business.enum.d.ts +44 -44
- package/lib/models/digicust/type-of-business.enum.js +48 -48
- package/lib/models/digicust/type-of-business.model.d.ts +11 -11
- package/lib/models/digicust/type-of-business.model.js +2 -2
- package/lib/models/digicust/uploaded-file.model.d.ts +10 -10
- package/lib/models/digicust/uploaded-file.model.js +2 -2
- package/lib/models/digicust/user.model.d.ts +18 -18
- package/lib/models/digicust/user.model.js +2 -2
- 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.ts +33 -0
- package/lib/models/digicust/waybill.model.js +2 -0
- package/lib/models/index.d.ts +4 -4
- package/lib/models/index.js +16 -16
- package/lib/models/ml/dexter/index.d.ts +1 -1
- package/lib/models/ml/dexter/index.js +13 -13
- package/lib/models/ml/dexter/text-detection.model.d.ts +3 -3
- package/lib/models/ml/dexter/text-detection.model.js +2 -2
- package/lib/models/ml/index.d.ts +2 -2
- package/lib/models/ml/index.js +14 -14
- package/lib/models/ml/machine-learning-model.model.d.ts +8 -8
- package/lib/models/ml/machine-learning-model.model.js +2 -2
- package/lib/models/rossum/index.d.ts +12 -12
- package/lib/models/rossum/index.js +24 -24
- package/lib/models/rossum/rossum-annotation-changed-event.dto.d.ts +8 -8
- package/lib/models/rossum/rossum-annotation-changed-event.dto.js +2 -2
- package/lib/models/rossum/rossum-annotation-data.model.d.ts +21 -21
- package/lib/models/rossum/rossum-annotation-data.model.js +2 -2
- package/lib/models/rossum/rossum-document-data.model.d.ts +12 -12
- package/lib/models/rossum/rossum-document-data.model.js +2 -2
- package/lib/models/rossum/rossum-embedded-response.model.d.ts +3 -3
- package/lib/models/rossum/rossum-embedded-response.model.js +2 -2
- package/lib/models/rossum/rossum-import-status.enum.d.ts +14 -14
- package/lib/models/rossum/rossum-import-status.enum.js +18 -18
- package/lib/models/rossum/rossum-login-response.model.d.ts +3 -3
- package/lib/models/rossum/rossum-login-response.model.js +2 -2
- package/lib/models/rossum/rossum-paginated-annotations.model.d.ts +6 -6
- package/lib/models/rossum/rossum-paginated-annotations.model.js +2 -2
- package/lib/models/rossum/rossum-paginated-documents.model.d.ts +5 -5
- package/lib/models/rossum/rossum-paginated-documents.model.js +2 -2
- package/lib/models/rossum/rossum-pagination.model.d.ts +6 -6
- package/lib/models/rossum/rossum-pagination.model.js +2 -2
- package/lib/models/rossum/rossum-result-content.dto.d.ts +6 -6
- package/lib/models/rossum/rossum-result-content.dto.js +2 -2
- package/lib/models/rossum/rossum-result-node.dto.d.ts +13 -13
- package/lib/models/rossum/rossum-result-node.dto.js +2 -2
- package/lib/models/rossum/rossum-start-analyze.dto.d.ts +5 -5
- package/lib/models/rossum/rossum-start-analyze.dto.js +2 -2
- package/package.json +37 -37
- package/readme.md +48 -48
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Meta } from "../common";
|
|
2
|
-
/**
|
|
3
|
-
* Incoterms give information on transport conditions in international trade
|
|
4
|
-
*/
|
|
5
|
-
export interface IncotermModel extends Meta<Incoterm> {
|
|
6
|
-
/** Incoterm written out */
|
|
7
|
-
text?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Incoterms give information on transport conditions in international trade
|
|
11
|
-
*/
|
|
12
|
-
export declare enum Incoterm {
|
|
13
|
-
EXW = "EXW",
|
|
14
|
-
FAS = "FAS",
|
|
15
|
-
FCA = "FCA",
|
|
16
|
-
FOB = "FOB",
|
|
17
|
-
CFR = "CFR",
|
|
18
|
-
CIF = "CIF",
|
|
19
|
-
CIP = "CIP",
|
|
20
|
-
CPT = "CPT",
|
|
21
|
-
DAP = "DAP",
|
|
22
|
-
DPU = "DPU",
|
|
23
|
-
DAT = "DAT",
|
|
24
|
-
DDP = "DDP"
|
|
25
|
-
}
|
|
1
|
+
import { Meta } from "../common";
|
|
2
|
+
/**
|
|
3
|
+
* Incoterms give information on transport conditions in international trade
|
|
4
|
+
*/
|
|
5
|
+
export interface IncotermModel extends Meta<Incoterm> {
|
|
6
|
+
/** Incoterm written out */
|
|
7
|
+
text?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Incoterms give information on transport conditions in international trade
|
|
11
|
+
*/
|
|
12
|
+
export declare enum Incoterm {
|
|
13
|
+
EXW = "EXW",
|
|
14
|
+
FAS = "FAS",
|
|
15
|
+
FCA = "FCA",
|
|
16
|
+
FOB = "FOB",
|
|
17
|
+
CFR = "CFR",
|
|
18
|
+
CIF = "CIF",
|
|
19
|
+
CIP = "CIP",
|
|
20
|
+
CPT = "CPT",
|
|
21
|
+
DAP = "DAP",
|
|
22
|
+
DPU = "DPU",
|
|
23
|
+
DAT = "DAT",
|
|
24
|
+
DDP = "DDP"
|
|
25
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Incoterm = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Incoterms give information on transport conditions in international trade
|
|
6
|
-
*/
|
|
7
|
-
var Incoterm;
|
|
8
|
-
(function (Incoterm) {
|
|
9
|
-
Incoterm["EXW"] = "EXW";
|
|
10
|
-
Incoterm["FAS"] = "FAS";
|
|
11
|
-
Incoterm["FCA"] = "FCA";
|
|
12
|
-
Incoterm["FOB"] = "FOB";
|
|
13
|
-
Incoterm["CFR"] = "CFR";
|
|
14
|
-
Incoterm["CIF"] = "CIF";
|
|
15
|
-
Incoterm["CIP"] = "CIP";
|
|
16
|
-
Incoterm["CPT"] = "CPT";
|
|
17
|
-
Incoterm["DAP"] = "DAP";
|
|
18
|
-
Incoterm["DPU"] = "DPU";
|
|
19
|
-
Incoterm["DAT"] = "DAT";
|
|
20
|
-
Incoterm["DDP"] = "DDP";
|
|
21
|
-
})(Incoterm = exports.Incoterm || (exports.Incoterm = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Incoterm = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Incoterms give information on transport conditions in international trade
|
|
6
|
+
*/
|
|
7
|
+
var Incoterm;
|
|
8
|
+
(function (Incoterm) {
|
|
9
|
+
Incoterm["EXW"] = "EXW";
|
|
10
|
+
Incoterm["FAS"] = "FAS";
|
|
11
|
+
Incoterm["FCA"] = "FCA";
|
|
12
|
+
Incoterm["FOB"] = "FOB";
|
|
13
|
+
Incoterm["CFR"] = "CFR";
|
|
14
|
+
Incoterm["CIF"] = "CIF";
|
|
15
|
+
Incoterm["CIP"] = "CIP";
|
|
16
|
+
Incoterm["CPT"] = "CPT";
|
|
17
|
+
Incoterm["DAP"] = "DAP";
|
|
18
|
+
Incoterm["DPU"] = "DPU";
|
|
19
|
+
Incoterm["DAT"] = "DAT";
|
|
20
|
+
Incoterm["DDP"] = "DDP";
|
|
21
|
+
})(Incoterm = exports.Incoterm || (exports.Incoterm = {}));
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
export * from "./case.model";
|
|
2
|
-
export * from "./case-status.enum";
|
|
3
|
-
export * from "./case-type.enum";
|
|
4
|
-
export * from "./aggregated-case-data.model";
|
|
5
|
-
export * from "./stats-case.model";
|
|
6
|
-
export * from "./procedure.model";
|
|
7
|
-
export * from "./project.model";
|
|
8
|
-
export * from "./case-submission-transaction";
|
|
9
|
-
export * from "./operationType.enum";
|
|
10
|
-
export * from "./line-item.model";
|
|
11
|
-
export * from "./tax-details.model";
|
|
12
|
-
export * from "./uploaded-file.model";
|
|
13
|
-
export * from "./consignment-size.enum";
|
|
14
|
-
export * from "./special-measure.model";
|
|
15
|
-
export * from "./incoterm.model";
|
|
16
|
-
export * from "./load-type.enum";
|
|
17
|
-
export * from "./adjustment.model";
|
|
18
|
-
export * from "./container.model";
|
|
19
|
-
export * from "./package.model";
|
|
20
|
-
export * from "./mean-of-transportation.model";
|
|
21
|
-
export * from "./customsOffice.model";
|
|
22
|
-
export * from "./type-of-business.enum";
|
|
23
|
-
export * from "./type-of-business.model";
|
|
24
|
-
export * from "./cost-intersection.model";
|
|
25
|
-
export * from "./preference-state.model";
|
|
26
|
-
export * from "./customer.model";
|
|
27
|
-
export * from "./user.model";
|
|
28
|
-
export * from "./activity.model";
|
|
29
|
-
export * from "./context.model";
|
|
30
|
-
export * from "./event.model";
|
|
31
|
-
export * from "./execution-strategy.model";
|
|
32
|
-
export * from "./module.model";
|
|
33
|
-
export * from "./errors.model";
|
|
34
|
-
export * from "./report.model";
|
|
35
|
-
export * from "./hs-code-mapping";
|
|
36
|
-
export * from "./frontend-mapping.model";
|
|
37
|
-
export * from "./queue.model";
|
|
38
|
-
export * from "./masterdata";
|
|
39
|
-
export * from "./extractions";
|
|
40
|
-
export * from "./membership.model";
|
|
41
|
-
export * from "./documents";
|
|
1
|
+
export * from "./case.model";
|
|
2
|
+
export * from "./case-status.enum";
|
|
3
|
+
export * from "./case-type.enum";
|
|
4
|
+
export * from "./aggregated-case-data.model";
|
|
5
|
+
export * from "./stats-case.model";
|
|
6
|
+
export * from "./procedure.model";
|
|
7
|
+
export * from "./project.model";
|
|
8
|
+
export * from "./case-submission-transaction";
|
|
9
|
+
export * from "./operationType.enum";
|
|
10
|
+
export * from "./line-item.model";
|
|
11
|
+
export * from "./tax-details.model";
|
|
12
|
+
export * from "./uploaded-file.model";
|
|
13
|
+
export * from "./consignment-size.enum";
|
|
14
|
+
export * from "./special-measure.model";
|
|
15
|
+
export * from "./incoterm.model";
|
|
16
|
+
export * from "./load-type.enum";
|
|
17
|
+
export * from "./adjustment.model";
|
|
18
|
+
export * from "./container.model";
|
|
19
|
+
export * from "./package.model";
|
|
20
|
+
export * from "./mean-of-transportation.model";
|
|
21
|
+
export * from "./customsOffice.model";
|
|
22
|
+
export * from "./type-of-business.enum";
|
|
23
|
+
export * from "./type-of-business.model";
|
|
24
|
+
export * from "./cost-intersection.model";
|
|
25
|
+
export * from "./preference-state.model";
|
|
26
|
+
export * from "./customer.model";
|
|
27
|
+
export * from "./user.model";
|
|
28
|
+
export * from "./activity.model";
|
|
29
|
+
export * from "./context.model";
|
|
30
|
+
export * from "./event.model";
|
|
31
|
+
export * from "./execution-strategy.model";
|
|
32
|
+
export * from "./module.model";
|
|
33
|
+
export * from "./errors.model";
|
|
34
|
+
export * from "./report.model";
|
|
35
|
+
export * from "./hs-code-mapping";
|
|
36
|
+
export * from "./frontend-mapping.model";
|
|
37
|
+
export * from "./queue.model";
|
|
38
|
+
export * from "./masterdata";
|
|
39
|
+
export * from "./extractions";
|
|
40
|
+
export * from "./membership.model";
|
|
41
|
+
export * from "./documents";
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
// Customs Case Specific Interfaces
|
|
14
|
-
__exportStar(require("./case.model"), exports); // basic model for customs cases
|
|
15
|
-
__exportStar(require("./case-status.enum"), exports); // provides information about the case status
|
|
16
|
-
__exportStar(require("./case-type.enum"), exports); // provides information about the type of customs case
|
|
17
|
-
__exportStar(require("./aggregated-case-data.model"), exports); // provides aggregated information about the customs case
|
|
18
|
-
__exportStar(require("./stats-case.model"), exports); // statistics about the case
|
|
19
|
-
__exportStar(require("./procedure.model"), exports); // customs procedure
|
|
20
|
-
__exportStar(require("./project.model"), exports);
|
|
21
|
-
// Case Submission
|
|
22
|
-
__exportStar(require("./case-submission-transaction"), exports); // statistics about the case
|
|
23
|
-
__exportStar(require("./operationType.enum"), exports); // statistics about the case
|
|
24
|
-
__exportStar(require("./line-item.model"), exports); // line items of customs documents
|
|
25
|
-
__exportStar(require("./tax-details.model"), exports); // Information about VAT on a document
|
|
26
|
-
__exportStar(require("./uploaded-file.model"), exports); // Uploaded files of customs documents
|
|
27
|
-
__exportStar(require("./consignment-size.enum"), exports); // Consignment size
|
|
28
|
-
__exportStar(require("./special-measure.model"), exports); // special measures
|
|
29
|
-
__exportStar(require("./incoterm.model"), exports); // shipping conditions
|
|
30
|
-
__exportStar(require("./load-type.enum"), exports); // load type information
|
|
31
|
-
__exportStar(require("./adjustment.model"), exports); // classification
|
|
32
|
-
__exportStar(require("./container.model"), exports); // container
|
|
33
|
-
__exportStar(require("./package.model"), exports); // Package
|
|
34
|
-
__exportStar(require("./mean-of-transportation.model"), exports); // mean of transportation
|
|
35
|
-
__exportStar(require("./customsOffice.model"), exports); // customs office model
|
|
36
|
-
__exportStar(require("./type-of-business.enum"), exports);
|
|
37
|
-
__exportStar(require("./type-of-business.model"), exports);
|
|
38
|
-
__exportStar(require("./cost-intersection.model"), exports); // cost intersection
|
|
39
|
-
__exportStar(require("./preference-state.model"), exports); // preferential origin
|
|
40
|
-
// Digicust Customers and Users
|
|
41
|
-
__exportStar(require("./customer.model"), exports); // Customer information
|
|
42
|
-
__exportStar(require("./user.model"), exports); // User information
|
|
43
|
-
// Workflow Specific Interfaces
|
|
44
|
-
__exportStar(require("./activity.model"), exports); // tracks activities, used for billing and eventually process mining
|
|
45
|
-
__exportStar(require("./context.model"), exports); // context of a case (not actively used)
|
|
46
|
-
__exportStar(require("./event.model"), exports); // Base model of an event (e.g. webhook or email)
|
|
47
|
-
__exportStar(require("./execution-strategy.model"), exports); // Execution strategies are customer-configurable plans on how to process a specific case.
|
|
48
|
-
__exportStar(require("./module.model"), exports); // Identifies a module. Modules are different "programs" in the frontend
|
|
49
|
-
__exportStar(require("./errors.model"), exports); // For conceptualizing eg. validation errors
|
|
50
|
-
__exportStar(require("./report.model"), exports); // not actively used
|
|
51
|
-
// HS Codes
|
|
52
|
-
__exportStar(require("./hs-code-mapping"), exports); // mappings from goods descriptions etc. to hs codes
|
|
53
|
-
// Frontend
|
|
54
|
-
__exportStar(require("./frontend-mapping.model"), exports);
|
|
55
|
-
__exportStar(require("./queue.model"), exports);
|
|
56
|
-
__exportStar(require("./masterdata"), exports);
|
|
57
|
-
__exportStar(require("./extractions"), exports);
|
|
58
|
-
// membership
|
|
59
|
-
__exportStar(require("./membership.model"), exports);
|
|
60
|
-
// documents
|
|
61
|
-
__exportStar(require("./documents"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
// Customs Case Specific Interfaces
|
|
14
|
+
__exportStar(require("./case.model"), exports); // basic model for customs cases
|
|
15
|
+
__exportStar(require("./case-status.enum"), exports); // provides information about the case status
|
|
16
|
+
__exportStar(require("./case-type.enum"), exports); // provides information about the type of customs case
|
|
17
|
+
__exportStar(require("./aggregated-case-data.model"), exports); // provides aggregated information about the customs case
|
|
18
|
+
__exportStar(require("./stats-case.model"), exports); // statistics about the case
|
|
19
|
+
__exportStar(require("./procedure.model"), exports); // customs procedure
|
|
20
|
+
__exportStar(require("./project.model"), exports);
|
|
21
|
+
// Case Submission
|
|
22
|
+
__exportStar(require("./case-submission-transaction"), exports); // statistics about the case
|
|
23
|
+
__exportStar(require("./operationType.enum"), exports); // statistics about the case
|
|
24
|
+
__exportStar(require("./line-item.model"), exports); // line items of customs documents
|
|
25
|
+
__exportStar(require("./tax-details.model"), exports); // Information about VAT on a document
|
|
26
|
+
__exportStar(require("./uploaded-file.model"), exports); // Uploaded files of customs documents
|
|
27
|
+
__exportStar(require("./consignment-size.enum"), exports); // Consignment size
|
|
28
|
+
__exportStar(require("./special-measure.model"), exports); // special measures
|
|
29
|
+
__exportStar(require("./incoterm.model"), exports); // shipping conditions
|
|
30
|
+
__exportStar(require("./load-type.enum"), exports); // load type information
|
|
31
|
+
__exportStar(require("./adjustment.model"), exports); // classification
|
|
32
|
+
__exportStar(require("./container.model"), exports); // container
|
|
33
|
+
__exportStar(require("./package.model"), exports); // Package
|
|
34
|
+
__exportStar(require("./mean-of-transportation.model"), exports); // mean of transportation
|
|
35
|
+
__exportStar(require("./customsOffice.model"), exports); // customs office model
|
|
36
|
+
__exportStar(require("./type-of-business.enum"), exports);
|
|
37
|
+
__exportStar(require("./type-of-business.model"), exports);
|
|
38
|
+
__exportStar(require("./cost-intersection.model"), exports); // cost intersection
|
|
39
|
+
__exportStar(require("./preference-state.model"), exports); // preferential origin
|
|
40
|
+
// Digicust Customers and Users
|
|
41
|
+
__exportStar(require("./customer.model"), exports); // Customer information
|
|
42
|
+
__exportStar(require("./user.model"), exports); // User information
|
|
43
|
+
// Workflow Specific Interfaces
|
|
44
|
+
__exportStar(require("./activity.model"), exports); // tracks activities, used for billing and eventually process mining
|
|
45
|
+
__exportStar(require("./context.model"), exports); // context of a case (not actively used)
|
|
46
|
+
__exportStar(require("./event.model"), exports); // Base model of an event (e.g. webhook or email)
|
|
47
|
+
__exportStar(require("./execution-strategy.model"), exports); // Execution strategies are customer-configurable plans on how to process a specific case.
|
|
48
|
+
__exportStar(require("./module.model"), exports); // Identifies a module. Modules are different "programs" in the frontend
|
|
49
|
+
__exportStar(require("./errors.model"), exports); // For conceptualizing eg. validation errors
|
|
50
|
+
__exportStar(require("./report.model"), exports); // not actively used
|
|
51
|
+
// HS Codes
|
|
52
|
+
__exportStar(require("./hs-code-mapping"), exports); // mappings from goods descriptions etc. to hs codes
|
|
53
|
+
// Frontend
|
|
54
|
+
__exportStar(require("./frontend-mapping.model"), exports);
|
|
55
|
+
__exportStar(require("./queue.model"), exports);
|
|
56
|
+
__exportStar(require("./masterdata"), exports);
|
|
57
|
+
__exportStar(require("./extractions"), exports);
|
|
58
|
+
// membership
|
|
59
|
+
__exportStar(require("./membership.model"), exports);
|
|
60
|
+
// documents
|
|
61
|
+
__exportStar(require("./documents"), exports);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { DigicustDocumentModel, IncotermModel, InvoiceType, LineItemModel, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness } from ".";
|
|
2
|
+
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "..";
|
|
3
|
+
/**
|
|
4
|
+
* Identifies an invoice
|
|
5
|
+
*/
|
|
6
|
+
export interface InvoiceModel extends DigicustDocumentModel {
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
invoiceNumber?: Meta<string>;
|
|
9
|
+
waybillNumber?: Meta<string>;
|
|
10
|
+
invoiceType?: InvoiceType;
|
|
11
|
+
language?: LanguageModel;
|
|
12
|
+
invoiceDate?: DateTimeModel;
|
|
13
|
+
sellerOrderNumber?: Meta<string>;
|
|
14
|
+
buyerOrderNumber?: Meta<string>;
|
|
15
|
+
referenceNumber?: Meta<string>;
|
|
16
|
+
deliveryNote?: Meta<string>;
|
|
17
|
+
packingList?: Meta<string>;
|
|
18
|
+
meansOfTransportation?: MeanOfTransportation[];
|
|
19
|
+
typeOfBusiness?: TypeOfBusiness;
|
|
20
|
+
incoterm?: IncotermModel;
|
|
21
|
+
placeIncoterm?: AddressModel;
|
|
22
|
+
countryOfOrigin?: AddressModel;
|
|
23
|
+
generalHsCode?: Meta<string>;
|
|
24
|
+
generalGoodsDescription?: Meta<string>;
|
|
25
|
+
CAS?: Meta<string>;
|
|
26
|
+
dualUseApprovalNumber?: Meta<string>;
|
|
27
|
+
substanceCharacteristics?: Meta<string>;
|
|
28
|
+
intendedApplication?: Meta<string>;
|
|
29
|
+
tradePreference?: TradePreference;
|
|
30
|
+
preferenceInformation?: Meta<string>;
|
|
31
|
+
typeOfPackage?: PackageType;
|
|
32
|
+
weight?: Weight;
|
|
33
|
+
netWeight?: Weight;
|
|
34
|
+
weightUnit?: Meta<WeightUnit>;
|
|
35
|
+
packageDimensions?: Dimensions;
|
|
36
|
+
numberOfShipments?: Meta<number>;
|
|
37
|
+
packages?: Package[];
|
|
38
|
+
totalValueExcludingCharges?: Money;
|
|
39
|
+
totalValueWithoutTax?: Money;
|
|
40
|
+
totalTax?: Money;
|
|
41
|
+
licenseFee?: Money;
|
|
42
|
+
otherPayments?: Money;
|
|
43
|
+
shippingCost?: Money;
|
|
44
|
+
packagingCosts?: Money;
|
|
45
|
+
totalValue?: Money;
|
|
46
|
+
customsValue?: Money;
|
|
47
|
+
discount?: Money;
|
|
48
|
+
insuranceCosts?: Money;
|
|
49
|
+
currency?: Meta<Currency>;
|
|
50
|
+
taxDetails?: Array<TaxDetailsModel>;
|
|
51
|
+
paymentAccountNumber?: Meta<string>;
|
|
52
|
+
paymentBankCode?: Meta<string>;
|
|
53
|
+
paymentIBAN?: Meta<string>;
|
|
54
|
+
paymentBIC?: Meta<string>;
|
|
55
|
+
dueDate?: DateTimeModel;
|
|
56
|
+
items?: LineItemModel[];
|
|
57
|
+
itemIds?: string[];
|
|
58
|
+
shipper?: CompanyModel;
|
|
59
|
+
recipient?: CompanyModel;
|
|
60
|
+
consignee?: CompanyModel;
|
|
61
|
+
beneficiary?: CompanyModel;
|
|
62
|
+
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure } from ".";
|
|
2
|
-
import { AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, UOM, Weight, WeightUnit } from "..";
|
|
3
|
-
import { Bbox } from "../common/bbox.model";
|
|
4
|
-
/**
|
|
5
|
-
* Identifies line items (specific products) listed on a document
|
|
6
|
-
*/
|
|
7
|
-
export interface LineItemModel {
|
|
8
|
-
id?: string;
|
|
9
|
-
documentId?: string;
|
|
10
|
-
caseId?: string;
|
|
11
|
-
isCondensed?: boolean;
|
|
12
|
-
invoiceNumber?: Meta<string>;
|
|
13
|
-
waybillNumber?: Meta<string>;
|
|
14
|
-
transitNumber?: Meta<string>;
|
|
15
|
-
box40?: Meta<string>;
|
|
16
|
-
guaranteeNumber?: Meta<string>;
|
|
17
|
-
billOfLading?: Meta<string>;
|
|
18
|
-
customsTariffNumber?: CustomsTariffNumber;
|
|
19
|
-
discountText?: string;
|
|
20
|
-
position?: Meta<string>;
|
|
21
|
-
code?: Meta<string>;
|
|
22
|
-
hsCode?: Meta<string>;
|
|
23
|
-
batchNumber?: Meta<string>;
|
|
24
|
-
lotNumber?: Meta<string>;
|
|
25
|
-
serialNumber?: Meta<string>;
|
|
26
|
-
orderNumber?: Meta<string>;
|
|
27
|
-
description?: Meta<string>;
|
|
28
|
-
documentDescription?: Meta<string>;
|
|
29
|
-
quantity?: Quantity;
|
|
30
|
-
orderedQuantity?: Quantity;
|
|
31
|
-
unitOfMeasurement?: Meta<UOM>;
|
|
32
|
-
countryOfOrigin?: AddressModel;
|
|
33
|
-
itemValue?: Money;
|
|
34
|
-
totalValue?: Money;
|
|
35
|
-
totalValueExcludingCharges?: Money;
|
|
36
|
-
customsValue?: Money;
|
|
37
|
-
amountUnit?: Meta<number>;
|
|
38
|
-
discount?: Money;
|
|
39
|
-
discountUnit?: Meta<Currency>;
|
|
40
|
-
currency?: Meta<Currency>;
|
|
41
|
-
netWeight?: Weight;
|
|
42
|
-
totalNetWeight?: Weight;
|
|
43
|
-
grossWeight?: Weight;
|
|
44
|
-
totalGrossWeight?: Weight;
|
|
45
|
-
weightUnit?: Meta<WeightUnit>;
|
|
46
|
-
itemSize?: Meta<string>;
|
|
47
|
-
itemSpecialUnitMeasure?: Meta<number>;
|
|
48
|
-
itemSpecialUnit?: Meta<string>;
|
|
49
|
-
buyerArticleNumber?: Meta<string>;
|
|
50
|
-
buyerOrderNumber?: Meta<string>;
|
|
51
|
-
/** Textual Material Description */
|
|
52
|
-
material?: Meta<string>;
|
|
53
|
-
materialNumber?: Meta<string>;
|
|
54
|
-
CAS?: Meta<string>;
|
|
55
|
-
deliveryNote?: Meta<string>;
|
|
56
|
-
reference?: Meta<string>;
|
|
57
|
-
packingList?: Meta<string>;
|
|
58
|
-
units?: {
|
|
59
|
-
number?: number;
|
|
60
|
-
type?: string;
|
|
61
|
-
}[];
|
|
62
|
-
preferenceState?: PreferenceState;
|
|
63
|
-
documents?: DigicustDocumentModel[];
|
|
64
|
-
adjustments?: Adjustment[];
|
|
65
|
-
containers?: Container[];
|
|
66
|
-
/** export declaration **/
|
|
67
|
-
shipper: CompanyModel;
|
|
68
|
-
exportingCountry: AddressModel;
|
|
69
|
-
destinationCountry: AddressModel;
|
|
70
|
-
customsProcedure: Procedure;
|
|
71
|
-
documentTypes: DocumentTypeCode[];
|
|
72
|
-
preliminaryDocument: Meta<string>;
|
|
73
|
-
specialRemarks: Meta<string>[];
|
|
74
|
-
packages?: Package[];
|
|
75
|
-
materialId?: string;
|
|
76
|
-
bbox?: Bbox;
|
|
77
|
-
matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
|
|
78
|
-
}
|
|
79
|
-
export declare const condenseLineItem: (lineItem?: LineItemModel | undefined) => LineItemModel | null;
|
|
1
|
+
import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure } from ".";
|
|
2
|
+
import { AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, UOM, Weight, WeightUnit } from "..";
|
|
3
|
+
import { Bbox } from "../common/bbox.model";
|
|
4
|
+
/**
|
|
5
|
+
* Identifies line items (specific products) listed on a document
|
|
6
|
+
*/
|
|
7
|
+
export interface LineItemModel {
|
|
8
|
+
id?: string;
|
|
9
|
+
documentId?: string;
|
|
10
|
+
caseId?: string;
|
|
11
|
+
isCondensed?: boolean;
|
|
12
|
+
invoiceNumber?: Meta<string>;
|
|
13
|
+
waybillNumber?: Meta<string>;
|
|
14
|
+
transitNumber?: Meta<string>;
|
|
15
|
+
box40?: Meta<string>;
|
|
16
|
+
guaranteeNumber?: Meta<string>;
|
|
17
|
+
billOfLading?: Meta<string>;
|
|
18
|
+
customsTariffNumber?: CustomsTariffNumber;
|
|
19
|
+
discountText?: string;
|
|
20
|
+
position?: Meta<string>;
|
|
21
|
+
code?: Meta<string>;
|
|
22
|
+
hsCode?: Meta<string>;
|
|
23
|
+
batchNumber?: Meta<string>;
|
|
24
|
+
lotNumber?: Meta<string>;
|
|
25
|
+
serialNumber?: Meta<string>;
|
|
26
|
+
orderNumber?: Meta<string>;
|
|
27
|
+
description?: Meta<string>;
|
|
28
|
+
documentDescription?: Meta<string>;
|
|
29
|
+
quantity?: Quantity;
|
|
30
|
+
orderedQuantity?: Quantity;
|
|
31
|
+
unitOfMeasurement?: Meta<UOM>;
|
|
32
|
+
countryOfOrigin?: AddressModel;
|
|
33
|
+
itemValue?: Money;
|
|
34
|
+
totalValue?: Money;
|
|
35
|
+
totalValueExcludingCharges?: Money;
|
|
36
|
+
customsValue?: Money;
|
|
37
|
+
amountUnit?: Meta<number>;
|
|
38
|
+
discount?: Money;
|
|
39
|
+
discountUnit?: Meta<Currency>;
|
|
40
|
+
currency?: Meta<Currency>;
|
|
41
|
+
netWeight?: Weight;
|
|
42
|
+
totalNetWeight?: Weight;
|
|
43
|
+
grossWeight?: Weight;
|
|
44
|
+
totalGrossWeight?: Weight;
|
|
45
|
+
weightUnit?: Meta<WeightUnit>;
|
|
46
|
+
itemSize?: Meta<string>;
|
|
47
|
+
itemSpecialUnitMeasure?: Meta<number>;
|
|
48
|
+
itemSpecialUnit?: Meta<string>;
|
|
49
|
+
buyerArticleNumber?: Meta<string>;
|
|
50
|
+
buyerOrderNumber?: Meta<string>;
|
|
51
|
+
/** Textual Material Description */
|
|
52
|
+
material?: Meta<string>;
|
|
53
|
+
materialNumber?: Meta<string>;
|
|
54
|
+
CAS?: Meta<string>;
|
|
55
|
+
deliveryNote?: Meta<string>;
|
|
56
|
+
reference?: Meta<string>;
|
|
57
|
+
packingList?: Meta<string>;
|
|
58
|
+
units?: {
|
|
59
|
+
number?: number;
|
|
60
|
+
type?: string;
|
|
61
|
+
}[];
|
|
62
|
+
preferenceState?: PreferenceState;
|
|
63
|
+
documents?: DigicustDocumentModel[];
|
|
64
|
+
adjustments?: Adjustment[];
|
|
65
|
+
containers?: Container[];
|
|
66
|
+
/** export declaration **/
|
|
67
|
+
shipper: CompanyModel;
|
|
68
|
+
exportingCountry: AddressModel;
|
|
69
|
+
destinationCountry: AddressModel;
|
|
70
|
+
customsProcedure: Procedure;
|
|
71
|
+
documentTypes: DocumentTypeCode[];
|
|
72
|
+
preliminaryDocument: Meta<string>;
|
|
73
|
+
specialRemarks: Meta<string>[];
|
|
74
|
+
packages?: Package[];
|
|
75
|
+
materialId?: string;
|
|
76
|
+
bbox?: Bbox;
|
|
77
|
+
matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
|
|
78
|
+
}
|
|
79
|
+
export declare const condenseLineItem: (lineItem?: LineItemModel | undefined) => LineItemModel | null;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.condenseLineItem = void 0;
|
|
4
|
-
var cleanObject_1 = require("../../helpers/cleanObject");
|
|
5
|
-
var condenseLineItem = function (lineItem) {
|
|
6
|
-
if (lineItem) {
|
|
7
|
-
var condensedLineItem = {
|
|
8
|
-
id: lineItem.id,
|
|
9
|
-
documentId: lineItem.documentId,
|
|
10
|
-
caseId: lineItem.caseId,
|
|
11
|
-
};
|
|
12
|
-
(0, cleanObject_1.cleanObject)(condensedLineItem);
|
|
13
|
-
return condensedLineItem;
|
|
14
|
-
}
|
|
15
|
-
return null;
|
|
16
|
-
};
|
|
17
|
-
exports.condenseLineItem = condenseLineItem;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseLineItem = void 0;
|
|
4
|
+
var cleanObject_1 = require("../../helpers/cleanObject");
|
|
5
|
+
var condenseLineItem = function (lineItem) {
|
|
6
|
+
if (lineItem) {
|
|
7
|
+
var condensedLineItem = {
|
|
8
|
+
id: lineItem.id,
|
|
9
|
+
documentId: lineItem.documentId,
|
|
10
|
+
caseId: lineItem.caseId,
|
|
11
|
+
};
|
|
12
|
+
(0, cleanObject_1.cleanObject)(condensedLineItem);
|
|
13
|
+
return condensedLineItem;
|
|
14
|
+
}
|
|
15
|
+
return null;
|
|
16
|
+
};
|
|
17
|
+
exports.condenseLineItem = condenseLineItem;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare enum LoadType {
|
|
2
|
-
/** Courier Express and Parcel */
|
|
3
|
-
CEP = "CEP",
|
|
4
|
-
/** Full Container Load */
|
|
5
|
-
FCL = "FCL",
|
|
6
|
-
/** Less-Than-Container Load */
|
|
7
|
-
LCL = "LCL",
|
|
8
|
-
/** Full Truck Load */
|
|
9
|
-
FTL = "FTL",
|
|
10
|
-
/** Less-Than-Truck Load */
|
|
11
|
-
LTL = "LTL",
|
|
12
|
-
/** Bulk Cargo */
|
|
13
|
-
Bulk = "Bulk"
|
|
14
|
-
}
|
|
1
|
+
export declare enum LoadType {
|
|
2
|
+
/** Courier Express and Parcel */
|
|
3
|
+
CEP = "CEP",
|
|
4
|
+
/** Full Container Load */
|
|
5
|
+
FCL = "FCL",
|
|
6
|
+
/** Less-Than-Container Load */
|
|
7
|
+
LCL = "LCL",
|
|
8
|
+
/** Full Truck Load */
|
|
9
|
+
FTL = "FTL",
|
|
10
|
+
/** Less-Than-Truck Load */
|
|
11
|
+
LTL = "LTL",
|
|
12
|
+
/** Bulk Cargo */
|
|
13
|
+
Bulk = "Bulk"
|
|
14
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LoadType = void 0;
|
|
4
|
-
// Load type - e.g. full container load
|
|
5
|
-
var LoadType;
|
|
6
|
-
(function (LoadType) {
|
|
7
|
-
/** Courier Express and Parcel */
|
|
8
|
-
LoadType["CEP"] = "CEP";
|
|
9
|
-
/** Full Container Load */
|
|
10
|
-
LoadType["FCL"] = "FCL";
|
|
11
|
-
/** Less-Than-Container Load */
|
|
12
|
-
LoadType["LCL"] = "LCL";
|
|
13
|
-
/** Full Truck Load */
|
|
14
|
-
LoadType["FTL"] = "FTL";
|
|
15
|
-
/** Less-Than-Truck Load */
|
|
16
|
-
LoadType["LTL"] = "LTL";
|
|
17
|
-
/** Bulk Cargo */
|
|
18
|
-
LoadType["Bulk"] = "Bulk";
|
|
19
|
-
})(LoadType = exports.LoadType || (exports.LoadType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoadType = void 0;
|
|
4
|
+
// Load type - e.g. full container load
|
|
5
|
+
var LoadType;
|
|
6
|
+
(function (LoadType) {
|
|
7
|
+
/** Courier Express and Parcel */
|
|
8
|
+
LoadType["CEP"] = "CEP";
|
|
9
|
+
/** Full Container Load */
|
|
10
|
+
LoadType["FCL"] = "FCL";
|
|
11
|
+
/** Less-Than-Container Load */
|
|
12
|
+
LoadType["LCL"] = "LCL";
|
|
13
|
+
/** Full Truck Load */
|
|
14
|
+
LoadType["FTL"] = "FTL";
|
|
15
|
+
/** Less-Than-Truck Load */
|
|
16
|
+
LoadType["LTL"] = "LTL";
|
|
17
|
+
/** Bulk Cargo */
|
|
18
|
+
LoadType["Bulk"] = "Bulk";
|
|
19
|
+
})(LoadType = exports.LoadType || (exports.LoadType = {}));
|