digicust_types 1.7.207 → 1.7.210
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-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/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 +30 -28
- package/lib/models/common/company.model.js +2 -2
- 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/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 +8 -8
- package/lib/models/common/filter.enum.js +12 -12
- 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 +29 -29
- package/lib/models/common/index.js +45 -45
- 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 +16 -16
- 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/unit-of-measurement.d.ts +7 -7
- package/lib/models/common/unit-of-measurement.js +2 -2
- 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 +23 -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/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 +76 -76
- 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 +8 -8
- package/lib/models/digicust/case-type.enum.js +12 -12
- package/lib/models/digicust/case.model.d.ts +50 -50
- package/lib/models/digicust/case.model.js +24 -24
- 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/customer.model.d.ts +55 -55
- package/lib/models/digicust/customer.model.js +2 -2
- package/lib/models/digicust/customsOffice.model.d.ts +19 -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/deferment-account.model.d.ts +15 -15
- package/lib/models/digicust/deferment-account.model.js +2 -2
- 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 +47 -47
- package/lib/models/digicust/documents/digicust-document.model.js +38 -38
- package/lib/models/digicust/documents/document-code.model.d.ts +13 -13
- 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 +29 -29
- package/lib/models/digicust/documents/export-declaration.model.js +2 -2
- package/lib/models/digicust/documents/index.d.ts +12 -12
- package/lib/models/digicust/documents/index.js +28 -28
- package/lib/models/digicust/documents/invoice-language.enum.d.ts +12 -12
- package/lib/models/digicust/documents/invoice-language.enum.js +16 -16
- 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 +63 -63
- package/lib/models/digicust/documents/invoice.model.js +2 -2
- package/lib/models/digicust/documents/line-item-containing-document.d.ts +6 -6
- package/lib/models/digicust/documents/line-item-containing-document.js +2 -2
- 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 +32 -32
- package/lib/models/digicust/documents/waybill.model.js +2 -2
- package/lib/models/digicust/eori.model.d.ts +8 -8
- package/lib/models/digicust/eori.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 +64 -64
- package/lib/models/digicust/event.model.js +10 -10
- package/lib/models/digicust/execution-strategy.model.d.ts +99 -99
- 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.model.d.ts +25 -25
- package/lib/models/digicust/incoterm.model.js +21 -21
- package/lib/models/digicust/index.d.ts +43 -43
- package/lib/models/digicust/index.js +64 -64
- package/lib/models/digicust/line-item.model.d.ts +82 -82
- 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 +102 -102
- package/lib/models/digicust/masterdata/material.model.js +9 -9
- package/lib/models/digicust/masterdata/stakeholder-match-input.d.ts +8 -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-role.enum.d.ts +11 -12
- package/lib/models/digicust/masterdata/stakeholder-role.enum.js +15 -16
- package/lib/models/digicust/masterdata/stakeholder.model.d.ts +34 -34
- 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/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 +15 -15
- package/lib/models/digicust/package.model.js +2 -2
- package/lib/models/digicust/preference-state.model.d.ts +23 -23
- 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 +30 -30
- package/lib/models/digicust/project.model.js +8 -8
- 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/special-measure.model.d.ts +7 -7
- 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/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/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
- package/lib/contracts/start-hs-classification.dto.d.ts +0 -3
- package/lib/contracts/start-hs-classification.dto.js +0 -2
- package/lib/models/common/checkpoint.model.d.ts +0 -21
- package/lib/models/common/checkpoint.model.js +0 -8
- package/lib/models/common/country.model.d.ts +0 -4
- package/lib/models/common/country.model.js +0 -2
- package/lib/models/common/event.model.d.ts +0 -21
- package/lib/models/common/event.model.js +0 -8
- package/lib/models/common/super.d.ts +0 -7
- package/lib/models/common/super.js +0 -2
- package/lib/models/digicust/QueueWorkspaceModel.model.d.ts +0 -12
- package/lib/models/digicust/QueueWorkspaceModel.model.js +0 -2
- package/lib/models/digicust/activity.mode.d.ts +0 -18
- package/lib/models/digicust/activity.mode.js +0 -2
- package/lib/models/digicust/company.model.d.ts +0 -4
- package/lib/models/digicust/company.model.js +0 -2
- package/lib/models/digicust/custom-document.model.d.ts +0 -8
- package/lib/models/digicust/custom-document.model.js +0 -2
- package/lib/models/digicust/digicust-document-type.enum.d.ts +0 -15
- package/lib/models/digicust/digicust-document-type.enum.js +0 -19
- package/lib/models/digicust/digicust-document.model.d.ts +0 -45
- package/lib/models/digicust/digicust-document.model.js +0 -38
- package/lib/models/digicust/document-code.model.d.ts +0 -12
- package/lib/models/digicust/document-code.model.js +0 -2
- package/lib/models/digicust/document-status.enum.d.ts +0 -38
- package/lib/models/digicust/document-status.enum.js +0 -45
- package/lib/models/digicust/incoterm.enum.d.ts +0 -17
- package/lib/models/digicust/incoterm.enum.js +0 -21
- package/lib/models/digicust/invoice-type.model.d.ts +0 -9
- package/lib/models/digicust/invoice-type.model.js +0 -2
- package/lib/models/digicust/invoice.model.d.ts +0 -62
- package/lib/models/digicust/invoice.model.js +0 -2
- package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +0 -5
- package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +0 -9
- package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +0 -7
- package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +0 -11
- package/lib/models/digicust/masterdata/stakeholder-type.enum.d.ts +0 -12
- package/lib/models/digicust/masterdata/stakeholder-type.enum.js +0 -16
- package/lib/models/digicust/notification.model.d.ts +0 -13
- package/lib/models/digicust/notification.model.js +0 -2
- package/lib/models/digicust/packingList.model.d.ts +0 -33
- package/lib/models/digicust/packingList.model.js +0 -2
- package/lib/models/digicust/shipping-type.model.d.ts +0 -25
- package/lib/models/digicust/shipping-type.model.js +0 -21
- package/lib/models/digicust/submission-case-model.d.ts +0 -8
- package/lib/models/digicust/submission-case-model.js +0 -2
- package/lib/models/digicust/waybill-type.model.d.ts +0 -15
- package/lib/models/digicust/waybill-type.model.js +0 -11
- package/lib/models/digicust/waybill.model.d.ts +0 -33
- package/lib/models/digicust/waybill.model.js +0 -2
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.condenseDocument = void 0;
|
|
4
|
-
var __1 = require("..");
|
|
5
|
-
var condenseDocument = function (document) {
|
|
6
|
-
var doc = document
|
|
7
|
-
? {
|
|
8
|
-
id: document.id,
|
|
9
|
-
caseId: document.caseId,
|
|
10
|
-
queueId: document.queueId,
|
|
11
|
-
fileName: document.fileName,
|
|
12
|
-
documentType: document.documentType,
|
|
13
|
-
documentStatus: document.documentStatus,
|
|
14
|
-
userDocumentStatus: document.UserDocumentStatus,
|
|
15
|
-
subDocumentStatus: document.SubDocumentStatus,
|
|
16
|
-
classificationStatus: document.classificationStatus,
|
|
17
|
-
code: document.code,
|
|
18
|
-
reference: document.reference,
|
|
19
|
-
issueDate: document.issueDate,
|
|
20
|
-
analyzerMetadata: document.analyzerMetadata,
|
|
21
|
-
isCondensed: true,
|
|
22
|
-
}
|
|
23
|
-
: null;
|
|
24
|
-
if ((doc === null || doc === void 0 ? void 0 : doc.documentType) === __1.DigicustDocumentType.Invoice) {
|
|
25
|
-
var invoice = doc;
|
|
26
|
-
if (invoice.items) {
|
|
27
|
-
invoice.items = invoice.items.map(function (item) {
|
|
28
|
-
var lineItem = (0, __1.condenseLineItem)(item);
|
|
29
|
-
if (!lineItem) {
|
|
30
|
-
return {};
|
|
31
|
-
}
|
|
32
|
-
return lineItem;
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return doc;
|
|
37
|
-
};
|
|
38
|
-
exports.condenseDocument = condenseDocument;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.condenseDocument = void 0;
|
|
4
|
+
var __1 = require("..");
|
|
5
|
+
var condenseDocument = function (document) {
|
|
6
|
+
var doc = document
|
|
7
|
+
? {
|
|
8
|
+
id: document.id,
|
|
9
|
+
caseId: document.caseId,
|
|
10
|
+
queueId: document.queueId,
|
|
11
|
+
fileName: document.fileName,
|
|
12
|
+
documentType: document.documentType,
|
|
13
|
+
documentStatus: document.documentStatus,
|
|
14
|
+
userDocumentStatus: document.UserDocumentStatus,
|
|
15
|
+
subDocumentStatus: document.SubDocumentStatus,
|
|
16
|
+
classificationStatus: document.classificationStatus,
|
|
17
|
+
code: document.code,
|
|
18
|
+
reference: document.reference,
|
|
19
|
+
issueDate: document.issueDate,
|
|
20
|
+
analyzerMetadata: document.analyzerMetadata,
|
|
21
|
+
isCondensed: true,
|
|
22
|
+
}
|
|
23
|
+
: null;
|
|
24
|
+
if ((doc === null || doc === void 0 ? void 0 : doc.documentType) === __1.DigicustDocumentType.Invoice) {
|
|
25
|
+
var invoice = doc;
|
|
26
|
+
if (invoice.items) {
|
|
27
|
+
invoice.items = invoice.items.map(function (item) {
|
|
28
|
+
var lineItem = (0, __1.condenseLineItem)(item);
|
|
29
|
+
if (!lineItem) {
|
|
30
|
+
return {};
|
|
31
|
+
}
|
|
32
|
+
return lineItem;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return doc;
|
|
37
|
+
};
|
|
38
|
+
exports.condenseDocument = condenseDocument;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Meta } from "../../common";
|
|
2
|
-
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
3
|
-
/**
|
|
4
|
-
* Coding of documents
|
|
5
|
-
*/
|
|
6
|
-
export interface DocumentCode extends Meta<DigicustDocumentType> {
|
|
7
|
-
NC_24000?: string;
|
|
8
|
-
Dokumentenarten?: string;
|
|
9
|
-
DE_I0200?: string;
|
|
10
|
-
/** Bescheinigungsbereich */
|
|
11
|
-
DE_I0200_Bereich?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
}
|
|
1
|
+
import { Meta } from "../../common";
|
|
2
|
+
import { DigicustDocumentType } from "./digicust-document-type.enum";
|
|
3
|
+
/**
|
|
4
|
+
* Coding of documents
|
|
5
|
+
*/
|
|
6
|
+
export interface DocumentCode extends Meta<DigicustDocumentType> {
|
|
7
|
+
NC_24000?: string;
|
|
8
|
+
Dokumentenarten?: string;
|
|
9
|
+
DE_I0200?: string;
|
|
10
|
+
/** Bescheinigungsbereich */
|
|
11
|
+
DE_I0200_Bereich?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Document Status for case document divided based on the usage
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DocumentStatus {
|
|
5
|
-
Initial = "initial",
|
|
6
|
-
Processing = "processing",
|
|
7
|
-
UserClassifying = "user-classifying",
|
|
8
|
-
Extracting = "extracting",
|
|
9
|
-
UserExtracting = "user-extracting",
|
|
10
|
-
Error = "error",
|
|
11
|
-
Finished = "finished",
|
|
12
|
-
Review = "review"
|
|
13
|
-
}
|
|
14
|
-
export declare enum UserDocumentStatus {
|
|
15
|
-
Aborted = "aborted",
|
|
16
|
-
Postponed = "postponed",
|
|
17
|
-
Confirmed = "confirmed",
|
|
18
|
-
Deleted = "deleted",
|
|
19
|
-
Rejected = "rejected",
|
|
20
|
-
Exported = "exported",
|
|
21
|
-
Testing = "testing",
|
|
22
|
-
Validate = "validate"
|
|
23
|
-
}
|
|
24
|
-
export declare enum SubDocumentStatus {
|
|
25
|
-
manual = "manual",
|
|
26
|
-
inProgress = "In Progress",
|
|
27
|
-
completed = "completed",
|
|
28
|
-
failed = "failed"
|
|
29
|
-
}
|
|
30
|
-
export declare enum ClassificationStatus {
|
|
31
|
-
Edit = "edit",
|
|
32
|
-
OnHold = "onhold",
|
|
33
|
-
Edited = "edited",
|
|
34
|
-
Refused = "refused",
|
|
35
|
-
Finished = "finished",
|
|
36
|
-
Erased = "erased",
|
|
37
|
-
OtherDocs = "otherdocs"
|
|
38
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Document Status for case document divided based on the usage
|
|
3
|
+
*/
|
|
4
|
+
export declare enum DocumentStatus {
|
|
5
|
+
Initial = "initial",
|
|
6
|
+
Processing = "processing",
|
|
7
|
+
UserClassifying = "user-classifying",
|
|
8
|
+
Extracting = "extracting",
|
|
9
|
+
UserExtracting = "user-extracting",
|
|
10
|
+
Error = "error",
|
|
11
|
+
Finished = "finished",
|
|
12
|
+
Review = "review"
|
|
13
|
+
}
|
|
14
|
+
export declare enum UserDocumentStatus {
|
|
15
|
+
Aborted = "aborted",
|
|
16
|
+
Postponed = "postponed",
|
|
17
|
+
Confirmed = "confirmed",
|
|
18
|
+
Deleted = "deleted",
|
|
19
|
+
Rejected = "rejected",
|
|
20
|
+
Exported = "exported",
|
|
21
|
+
Testing = "testing",
|
|
22
|
+
Validate = "validate"
|
|
23
|
+
}
|
|
24
|
+
export declare enum SubDocumentStatus {
|
|
25
|
+
manual = "manual",
|
|
26
|
+
inProgress = "In Progress",
|
|
27
|
+
completed = "completed",
|
|
28
|
+
failed = "failed"
|
|
29
|
+
}
|
|
30
|
+
export declare enum ClassificationStatus {
|
|
31
|
+
Edit = "edit",
|
|
32
|
+
OnHold = "onhold",
|
|
33
|
+
Edited = "edited",
|
|
34
|
+
Refused = "refused",
|
|
35
|
+
Finished = "finished",
|
|
36
|
+
Erased = "erased",
|
|
37
|
+
OtherDocs = "otherdocs"
|
|
38
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClassificationStatus = exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Document Status for case document divided based on the usage
|
|
6
|
-
*/
|
|
7
|
-
var DocumentStatus;
|
|
8
|
-
(function (DocumentStatus) {
|
|
9
|
-
DocumentStatus["Initial"] = "initial";
|
|
10
|
-
DocumentStatus["Processing"] = "processing";
|
|
11
|
-
DocumentStatus["UserClassifying"] = "user-classifying";
|
|
12
|
-
DocumentStatus["Extracting"] = "extracting";
|
|
13
|
-
DocumentStatus["UserExtracting"] = "user-extracting";
|
|
14
|
-
DocumentStatus["Error"] = "error";
|
|
15
|
-
DocumentStatus["Finished"] = "finished";
|
|
16
|
-
DocumentStatus["Review"] = "review";
|
|
17
|
-
})(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
|
|
18
|
-
var UserDocumentStatus;
|
|
19
|
-
(function (UserDocumentStatus) {
|
|
20
|
-
UserDocumentStatus["Aborted"] = "aborted";
|
|
21
|
-
UserDocumentStatus["Postponed"] = "postponed";
|
|
22
|
-
UserDocumentStatus["Confirmed"] = "confirmed";
|
|
23
|
-
UserDocumentStatus["Deleted"] = "deleted";
|
|
24
|
-
UserDocumentStatus["Rejected"] = "rejected";
|
|
25
|
-
UserDocumentStatus["Exported"] = "exported";
|
|
26
|
-
UserDocumentStatus["Testing"] = "testing";
|
|
27
|
-
UserDocumentStatus["Validate"] = "validate";
|
|
28
|
-
})(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
|
|
29
|
-
var SubDocumentStatus;
|
|
30
|
-
(function (SubDocumentStatus) {
|
|
31
|
-
SubDocumentStatus["manual"] = "manual";
|
|
32
|
-
SubDocumentStatus["inProgress"] = "In Progress";
|
|
33
|
-
SubDocumentStatus["completed"] = "completed";
|
|
34
|
-
SubDocumentStatus["failed"] = "failed";
|
|
35
|
-
})(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
|
|
36
|
-
var ClassificationStatus;
|
|
37
|
-
(function (ClassificationStatus) {
|
|
38
|
-
ClassificationStatus["Edit"] = "edit";
|
|
39
|
-
ClassificationStatus["OnHold"] = "onhold";
|
|
40
|
-
ClassificationStatus["Edited"] = "edited";
|
|
41
|
-
ClassificationStatus["Refused"] = "refused";
|
|
42
|
-
ClassificationStatus["Finished"] = "finished";
|
|
43
|
-
ClassificationStatus["Erased"] = "erased";
|
|
44
|
-
ClassificationStatus["OtherDocs"] = "otherdocs";
|
|
45
|
-
})(ClassificationStatus = exports.ClassificationStatus || (exports.ClassificationStatus = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClassificationStatus = exports.SubDocumentStatus = exports.UserDocumentStatus = exports.DocumentStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Document Status for case document divided based on the usage
|
|
6
|
+
*/
|
|
7
|
+
var DocumentStatus;
|
|
8
|
+
(function (DocumentStatus) {
|
|
9
|
+
DocumentStatus["Initial"] = "initial";
|
|
10
|
+
DocumentStatus["Processing"] = "processing";
|
|
11
|
+
DocumentStatus["UserClassifying"] = "user-classifying";
|
|
12
|
+
DocumentStatus["Extracting"] = "extracting";
|
|
13
|
+
DocumentStatus["UserExtracting"] = "user-extracting";
|
|
14
|
+
DocumentStatus["Error"] = "error";
|
|
15
|
+
DocumentStatus["Finished"] = "finished";
|
|
16
|
+
DocumentStatus["Review"] = "review";
|
|
17
|
+
})(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
|
|
18
|
+
var UserDocumentStatus;
|
|
19
|
+
(function (UserDocumentStatus) {
|
|
20
|
+
UserDocumentStatus["Aborted"] = "aborted";
|
|
21
|
+
UserDocumentStatus["Postponed"] = "postponed";
|
|
22
|
+
UserDocumentStatus["Confirmed"] = "confirmed";
|
|
23
|
+
UserDocumentStatus["Deleted"] = "deleted";
|
|
24
|
+
UserDocumentStatus["Rejected"] = "rejected";
|
|
25
|
+
UserDocumentStatus["Exported"] = "exported";
|
|
26
|
+
UserDocumentStatus["Testing"] = "testing";
|
|
27
|
+
UserDocumentStatus["Validate"] = "validate";
|
|
28
|
+
})(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
|
|
29
|
+
var SubDocumentStatus;
|
|
30
|
+
(function (SubDocumentStatus) {
|
|
31
|
+
SubDocumentStatus["manual"] = "manual";
|
|
32
|
+
SubDocumentStatus["inProgress"] = "In Progress";
|
|
33
|
+
SubDocumentStatus["completed"] = "completed";
|
|
34
|
+
SubDocumentStatus["failed"] = "failed";
|
|
35
|
+
})(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
|
|
36
|
+
var ClassificationStatus;
|
|
37
|
+
(function (ClassificationStatus) {
|
|
38
|
+
ClassificationStatus["Edit"] = "edit";
|
|
39
|
+
ClassificationStatus["OnHold"] = "onhold";
|
|
40
|
+
ClassificationStatus["Edited"] = "edited";
|
|
41
|
+
ClassificationStatus["Refused"] = "refused";
|
|
42
|
+
ClassificationStatus["Finished"] = "finished";
|
|
43
|
+
ClassificationStatus["Erased"] = "erased";
|
|
44
|
+
ClassificationStatus["OtherDocs"] = "otherdocs";
|
|
45
|
+
})(ClassificationStatus = exports.ClassificationStatus || (exports.ClassificationStatus = {}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { DigicustDocumentModel, LineItemContainingDocument } from ".";
|
|
2
|
-
import { CustomsOffice, MeanOfTransportation, Package } from "..";
|
|
3
|
-
import { CompanyModel, AddressModel, Meta, Weight, WeightUnit } from "../..";
|
|
4
|
-
/**
|
|
5
|
-
* Identifies an Export Declaration
|
|
6
|
-
*/
|
|
7
|
-
export interface ExportDeclaration extends DigicustDocumentModel, LineItemContainingDocument {
|
|
8
|
-
shipper?: CompanyModel;
|
|
9
|
-
recipient?: CompanyModel;
|
|
10
|
-
applicant?: CompanyModel;
|
|
11
|
-
exportCustomsOffice?: CustomsOffice;
|
|
12
|
-
exitCustomsOffice?: CustomsOffice;
|
|
13
|
-
exportingCountry?: AddressModel;
|
|
14
|
-
destinationCountry?: AddressModel;
|
|
15
|
-
/** will be normalized into transitCountries - do not further use! */
|
|
16
|
-
transitCountry?: AddressModel;
|
|
17
|
-
transitCountries?: AddressModel[];
|
|
18
|
-
mrnNumber?: Meta<string>;
|
|
19
|
-
declarationType?: Meta<string>;
|
|
20
|
-
referenceNumber?: Meta<string>;
|
|
21
|
-
weightUnit?: Meta<WeightUnit>;
|
|
22
|
-
totalGrossWeight?: Weight;
|
|
23
|
-
totalNetWeight?: Weight;
|
|
24
|
-
meansOfTransportation?: MeanOfTransportation[];
|
|
25
|
-
customsSealNumber?: Meta<string>;
|
|
26
|
-
goodsLocation?: AddressModel;
|
|
27
|
-
packages?: Package[];
|
|
28
|
-
numPackages?: Meta<number>;
|
|
29
|
-
}
|
|
1
|
+
import { DigicustDocumentModel, LineItemContainingDocument } from ".";
|
|
2
|
+
import { CustomsOffice, MeanOfTransportation, Package } from "..";
|
|
3
|
+
import { CompanyModel, AddressModel, Meta, Weight, WeightUnit } from "../..";
|
|
4
|
+
/**
|
|
5
|
+
* Identifies an Export Declaration
|
|
6
|
+
*/
|
|
7
|
+
export interface ExportDeclaration extends DigicustDocumentModel, LineItemContainingDocument {
|
|
8
|
+
shipper?: CompanyModel;
|
|
9
|
+
recipient?: CompanyModel;
|
|
10
|
+
applicant?: CompanyModel;
|
|
11
|
+
exportCustomsOffice?: CustomsOffice;
|
|
12
|
+
exitCustomsOffice?: CustomsOffice;
|
|
13
|
+
exportingCountry?: AddressModel;
|
|
14
|
+
destinationCountry?: AddressModel;
|
|
15
|
+
/** will be normalized into transitCountries - do not further use! */
|
|
16
|
+
transitCountry?: AddressModel;
|
|
17
|
+
transitCountries?: AddressModel[];
|
|
18
|
+
mrnNumber?: Meta<string>;
|
|
19
|
+
declarationType?: Meta<string>;
|
|
20
|
+
referenceNumber?: Meta<string>;
|
|
21
|
+
weightUnit?: Meta<WeightUnit>;
|
|
22
|
+
totalGrossWeight?: Weight;
|
|
23
|
+
totalNetWeight?: Weight;
|
|
24
|
+
meansOfTransportation?: MeanOfTransportation[];
|
|
25
|
+
customsSealNumber?: Meta<string>;
|
|
26
|
+
goodsLocation?: AddressModel;
|
|
27
|
+
packages?: Package[];
|
|
28
|
+
numPackages?: Meta<number>;
|
|
29
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from "./invoice-type.model";
|
|
2
|
-
export * from "./invoice.model";
|
|
3
|
-
export * from "./packing-list.model";
|
|
4
|
-
export * from "./waybill-type.model";
|
|
5
|
-
export * from "./waybill.model";
|
|
6
|
-
export * from "./export-declaration.model";
|
|
7
|
-
export * from "./custom-document.model";
|
|
8
|
-
export * from "./digicust-document.model";
|
|
9
|
-
export * from "./digicust-document-type.enum";
|
|
10
|
-
export * from "./document-status.enum";
|
|
11
|
-
export * from "./document-code.model";
|
|
12
|
-
export * from "./line-item-containing-document";
|
|
1
|
+
export * from "./invoice-type.model";
|
|
2
|
+
export * from "./invoice.model";
|
|
3
|
+
export * from "./packing-list.model";
|
|
4
|
+
export * from "./waybill-type.model";
|
|
5
|
+
export * from "./waybill.model";
|
|
6
|
+
export * from "./export-declaration.model";
|
|
7
|
+
export * from "./custom-document.model";
|
|
8
|
+
export * from "./digicust-document.model";
|
|
9
|
+
export * from "./digicust-document-type.enum";
|
|
10
|
+
export * from "./document-status.enum";
|
|
11
|
+
export * from "./document-code.model";
|
|
12
|
+
export * from "./line-item-containing-document";
|
|
@@ -1,28 +1,28 @@
|
|
|
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
|
-
// Invoice
|
|
14
|
-
__exportStar(require("./invoice-type.model"), exports);
|
|
15
|
-
__exportStar(require("./invoice.model"), exports);
|
|
16
|
-
// Packing List
|
|
17
|
-
__exportStar(require("./packing-list.model"), exports);
|
|
18
|
-
// Waybill
|
|
19
|
-
__exportStar(require("./waybill-type.model"), exports);
|
|
20
|
-
__exportStar(require("./waybill.model"), exports);
|
|
21
|
-
// customs declarations
|
|
22
|
-
__exportStar(require("./export-declaration.model"), exports);
|
|
23
|
-
__exportStar(require("./custom-document.model"), exports);
|
|
24
|
-
__exportStar(require("./digicust-document.model"), exports);
|
|
25
|
-
__exportStar(require("./digicust-document-type.enum"), exports);
|
|
26
|
-
__exportStar(require("./document-status.enum"), exports);
|
|
27
|
-
__exportStar(require("./document-code.model"), exports);
|
|
28
|
-
__exportStar(require("./line-item-containing-document"), 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
|
+
// Invoice
|
|
14
|
+
__exportStar(require("./invoice-type.model"), exports);
|
|
15
|
+
__exportStar(require("./invoice.model"), exports);
|
|
16
|
+
// Packing List
|
|
17
|
+
__exportStar(require("./packing-list.model"), exports);
|
|
18
|
+
// Waybill
|
|
19
|
+
__exportStar(require("./waybill-type.model"), exports);
|
|
20
|
+
__exportStar(require("./waybill.model"), exports);
|
|
21
|
+
// customs declarations
|
|
22
|
+
__exportStar(require("./export-declaration.model"), exports);
|
|
23
|
+
__exportStar(require("./custom-document.model"), exports);
|
|
24
|
+
__exportStar(require("./digicust-document.model"), exports);
|
|
25
|
+
__exportStar(require("./digicust-document-type.enum"), exports);
|
|
26
|
+
__exportStar(require("./document-status.enum"), exports);
|
|
27
|
+
__exportStar(require("./document-code.model"), exports);
|
|
28
|
+
__exportStar(require("./line-item-containing-document"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invoice Languages Enum
|
|
3
|
-
*/
|
|
4
|
-
export declare enum InvoiceLanguage {
|
|
5
|
-
EN = "eng",
|
|
6
|
-
DE = "deu",
|
|
7
|
-
TR = "t\u00FCrk",
|
|
8
|
-
FR = "french",
|
|
9
|
-
SP = "spanish",
|
|
10
|
-
SK = "slowakian",
|
|
11
|
-
HU = "hungarian"
|
|
12
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Invoice Languages Enum
|
|
3
|
+
*/
|
|
4
|
+
export declare enum InvoiceLanguage {
|
|
5
|
+
EN = "eng",
|
|
6
|
+
DE = "deu",
|
|
7
|
+
TR = "t\u00FCrk",
|
|
8
|
+
FR = "french",
|
|
9
|
+
SP = "spanish",
|
|
10
|
+
SK = "slowakian",
|
|
11
|
+
HU = "hungarian"
|
|
12
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoiceLanguage = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Invoice Languages Enum
|
|
6
|
-
*/
|
|
7
|
-
var InvoiceLanguage;
|
|
8
|
-
(function (InvoiceLanguage) {
|
|
9
|
-
InvoiceLanguage["EN"] = "eng";
|
|
10
|
-
InvoiceLanguage["DE"] = "deu";
|
|
11
|
-
InvoiceLanguage["TR"] = "t\u00FCrk";
|
|
12
|
-
InvoiceLanguage["FR"] = "french";
|
|
13
|
-
InvoiceLanguage["SP"] = "spanish";
|
|
14
|
-
InvoiceLanguage["SK"] = "slowakian";
|
|
15
|
-
InvoiceLanguage["HU"] = "hungarian";
|
|
16
|
-
})(InvoiceLanguage = exports.InvoiceLanguage || (exports.InvoiceLanguage = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvoiceLanguage = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Invoice Languages Enum
|
|
6
|
+
*/
|
|
7
|
+
var InvoiceLanguage;
|
|
8
|
+
(function (InvoiceLanguage) {
|
|
9
|
+
InvoiceLanguage["EN"] = "eng";
|
|
10
|
+
InvoiceLanguage["DE"] = "deu";
|
|
11
|
+
InvoiceLanguage["TR"] = "t\u00FCrk";
|
|
12
|
+
InvoiceLanguage["FR"] = "french";
|
|
13
|
+
InvoiceLanguage["SP"] = "spanish";
|
|
14
|
+
InvoiceLanguage["SK"] = "slowakian";
|
|
15
|
+
InvoiceLanguage["HU"] = "hungarian";
|
|
16
|
+
})(InvoiceLanguage = exports.InvoiceLanguage || (exports.InvoiceLanguage = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Meta } from "../..";
|
|
2
|
-
export interface InvoiceType extends Meta<string> {
|
|
3
|
-
value?: "tax_invoice" | "proforma";
|
|
4
|
-
NC_24000?: string;
|
|
5
|
-
Dokumentenarten?: string;
|
|
6
|
-
DE_I0200?: string;
|
|
7
|
-
/** Bescheinigungsbereich */
|
|
8
|
-
DE_I0200_Bereich?: string;
|
|
9
|
-
}
|
|
1
|
+
import { Meta } from "../..";
|
|
2
|
+
export interface InvoiceType extends Meta<string> {
|
|
3
|
+
value?: "tax_invoice" | "proforma";
|
|
4
|
+
NC_24000?: string;
|
|
5
|
+
Dokumentenarten?: string;
|
|
6
|
+
DE_I0200?: string;
|
|
7
|
+
/** Bescheinigungsbereich */
|
|
8
|
+
DE_I0200_Bereich?: string;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness } from "../";
|
|
2
|
-
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "../../";
|
|
3
|
-
import { InvoiceLanguage } from "./invoice-language.enum";
|
|
4
|
-
import { LineItemContainingDocument } from './line-item-containing-document';
|
|
5
|
-
/**
|
|
6
|
-
* Identifies an invoice
|
|
7
|
-
*/
|
|
8
|
-
export interface InvoiceModel extends DigicustDocumentModel, LineItemContainingDocument {
|
|
9
|
-
createdAt?: Date;
|
|
10
|
-
invoiceNumber?: Meta<string>;
|
|
11
|
-
waybillNumber?: Meta<string>;
|
|
12
|
-
invoiceType?: InvoiceType;
|
|
13
|
-
language?: LanguageModel & Meta<InvoiceLanguage>;
|
|
14
|
-
invoiceDate?: DateTimeModel;
|
|
15
|
-
sellerOrderNumber?: Meta<string>;
|
|
16
|
-
buyerOrderNumber?: Meta<string>;
|
|
17
|
-
referenceNumber?: Meta<string>;
|
|
18
|
-
deliveryNote?: Meta<string>;
|
|
19
|
-
packingList?: Meta<string>;
|
|
20
|
-
meansOfTransportation?: MeanOfTransportation[];
|
|
21
|
-
typeOfBusiness?: TypeOfBusiness;
|
|
22
|
-
incoterm?: IncotermModel;
|
|
23
|
-
placeIncoterm?: AddressModel;
|
|
24
|
-
countryOfOrigin?: AddressModel;
|
|
25
|
-
generalHsCode?: Meta<string>;
|
|
26
|
-
generalGoodsDescription?: Meta<string>;
|
|
27
|
-
CAS?: Meta<string>;
|
|
28
|
-
dualUseApprovalNumber?: Meta<string>;
|
|
29
|
-
substanceCharacteristics?: Meta<string>;
|
|
30
|
-
intendedApplication?: Meta<string>;
|
|
31
|
-
tradePreference?: TradePreference;
|
|
32
|
-
preferenceInformation?: Meta<string>;
|
|
33
|
-
intrastatInformation?: Meta<string>;
|
|
34
|
-
typeOfPackage?: PackageType;
|
|
35
|
-
weight?: Weight;
|
|
36
|
-
netWeight?: Weight;
|
|
37
|
-
weightUnit?: Meta<WeightUnit>;
|
|
38
|
-
packageDimensions?: Dimensions;
|
|
39
|
-
numberOfShipments?: Meta<number>;
|
|
40
|
-
packages?: Package[];
|
|
41
|
-
totalValueExcludingCharges?: Money;
|
|
42
|
-
totalValueWithoutTax?: Money;
|
|
43
|
-
totalTax?: Money;
|
|
44
|
-
licenseFee?: Money;
|
|
45
|
-
otherPayments?: Money;
|
|
46
|
-
shippingCost?: Money;
|
|
47
|
-
packagingCosts?: Money;
|
|
48
|
-
totalValue?: Money;
|
|
49
|
-
customsValue?: Money;
|
|
50
|
-
discount?: Money;
|
|
51
|
-
insuranceCosts?: Money;
|
|
52
|
-
currency?: Meta<Currency>;
|
|
53
|
-
taxDetails?: Array<TaxDetailsModel>;
|
|
54
|
-
paymentAccountNumber?: Meta<string>;
|
|
55
|
-
paymentBankCode?: Meta<string>;
|
|
56
|
-
paymentIBAN?: Meta<string>;
|
|
57
|
-
paymentBIC?: Meta<string>;
|
|
58
|
-
dueDate?: DateTimeModel;
|
|
59
|
-
shipper?: CompanyModel;
|
|
60
|
-
recipient?: CompanyModel;
|
|
61
|
-
consignee?: CompanyModel;
|
|
62
|
-
beneficiary?: CompanyModel;
|
|
63
|
-
}
|
|
1
|
+
import { DigicustDocumentModel, IncotermModel, InvoiceType, MeanOfTransportation, Package, TaxDetailsModel, TradePreference, TypeOfBusiness } from "../";
|
|
2
|
+
import { AddressModel, CompanyModel, Currency, DateTimeModel, Dimensions, LanguageModel, Meta, Money, PackageType, Weight, WeightUnit } from "../../";
|
|
3
|
+
import { InvoiceLanguage } from "./invoice-language.enum";
|
|
4
|
+
import { LineItemContainingDocument } from './line-item-containing-document';
|
|
5
|
+
/**
|
|
6
|
+
* Identifies an invoice
|
|
7
|
+
*/
|
|
8
|
+
export interface InvoiceModel extends DigicustDocumentModel, LineItemContainingDocument {
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
invoiceNumber?: Meta<string>;
|
|
11
|
+
waybillNumber?: Meta<string>;
|
|
12
|
+
invoiceType?: InvoiceType;
|
|
13
|
+
language?: LanguageModel & Meta<InvoiceLanguage>;
|
|
14
|
+
invoiceDate?: DateTimeModel;
|
|
15
|
+
sellerOrderNumber?: Meta<string>;
|
|
16
|
+
buyerOrderNumber?: Meta<string>;
|
|
17
|
+
referenceNumber?: Meta<string>;
|
|
18
|
+
deliveryNote?: Meta<string>;
|
|
19
|
+
packingList?: Meta<string>;
|
|
20
|
+
meansOfTransportation?: MeanOfTransportation[];
|
|
21
|
+
typeOfBusiness?: TypeOfBusiness;
|
|
22
|
+
incoterm?: IncotermModel;
|
|
23
|
+
placeIncoterm?: AddressModel;
|
|
24
|
+
countryOfOrigin?: AddressModel;
|
|
25
|
+
generalHsCode?: Meta<string>;
|
|
26
|
+
generalGoodsDescription?: Meta<string>;
|
|
27
|
+
CAS?: Meta<string>;
|
|
28
|
+
dualUseApprovalNumber?: Meta<string>;
|
|
29
|
+
substanceCharacteristics?: Meta<string>;
|
|
30
|
+
intendedApplication?: Meta<string>;
|
|
31
|
+
tradePreference?: TradePreference;
|
|
32
|
+
preferenceInformation?: Meta<string>;
|
|
33
|
+
intrastatInformation?: Meta<string>;
|
|
34
|
+
typeOfPackage?: PackageType;
|
|
35
|
+
weight?: Weight;
|
|
36
|
+
netWeight?: Weight;
|
|
37
|
+
weightUnit?: Meta<WeightUnit>;
|
|
38
|
+
packageDimensions?: Dimensions;
|
|
39
|
+
numberOfShipments?: Meta<number>;
|
|
40
|
+
packages?: Package[];
|
|
41
|
+
totalValueExcludingCharges?: Money;
|
|
42
|
+
totalValueWithoutTax?: Money;
|
|
43
|
+
totalTax?: Money;
|
|
44
|
+
licenseFee?: Money;
|
|
45
|
+
otherPayments?: Money;
|
|
46
|
+
shippingCost?: Money;
|
|
47
|
+
packagingCosts?: Money;
|
|
48
|
+
totalValue?: Money;
|
|
49
|
+
customsValue?: Money;
|
|
50
|
+
discount?: Money;
|
|
51
|
+
insuranceCosts?: Money;
|
|
52
|
+
currency?: Meta<Currency>;
|
|
53
|
+
taxDetails?: Array<TaxDetailsModel>;
|
|
54
|
+
paymentAccountNumber?: Meta<string>;
|
|
55
|
+
paymentBankCode?: Meta<string>;
|
|
56
|
+
paymentIBAN?: Meta<string>;
|
|
57
|
+
paymentBIC?: Meta<string>;
|
|
58
|
+
dueDate?: DateTimeModel;
|
|
59
|
+
shipper?: CompanyModel;
|
|
60
|
+
recipient?: CompanyModel;
|
|
61
|
+
consignee?: CompanyModel;
|
|
62
|
+
beneficiary?: CompanyModel;
|
|
63
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|