digicust_types 1.7.281 → 1.7.282

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.
Files changed (208) hide show
  1. package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +2 -1
  2. package/lib/models/digicust/documents/digicust-document-type.enum.js +1 -0
  3. package/lib/models/digicust/documents/index.d.ts +1 -0
  4. package/lib/models/digicust/documents/index.js +1 -0
  5. package/lib/models/digicust/documents/tariff-classification-input.d.ts +16 -0
  6. package/lib/models/{common/bbox.model.js → digicust/documents/tariff-classification-input.js} +0 -0
  7. package/package.json +1 -1
  8. package/lib/models/common/address.model.d.ts +0 -22
  9. package/lib/models/common/address.model.js +0 -13
  10. package/lib/models/common/bbox.model.d.ts +0 -22
  11. package/lib/models/common/classification-code.model.d.ts +0 -5
  12. package/lib/models/common/classification-code.model.js +0 -2
  13. package/lib/models/common/company.model.d.ts +0 -30
  14. package/lib/models/common/company.model.js +0 -2
  15. package/lib/models/common/currency.enum.d.ts +0 -181
  16. package/lib/models/common/currency.enum.js +0 -185
  17. package/lib/models/common/customs-tariff-number.model.d.ts +0 -25
  18. package/lib/models/common/customs-tariff-number.model.js +0 -21
  19. package/lib/models/common/date.model.d.ts +0 -5
  20. package/lib/models/common/date.model.js +0 -2
  21. package/lib/models/common/dialog-window.model.d.ts +0 -6
  22. package/lib/models/common/dialog-window.model.js +0 -2
  23. package/lib/models/common/dimensions-unit.enum.d.ts +0 -7
  24. package/lib/models/common/dimensions-unit.enum.js +0 -11
  25. package/lib/models/common/dimensions.model.d.ts +0 -8
  26. package/lib/models/common/dimensions.model.js +0 -2
  27. package/lib/models/common/extra-styles.model.d.ts +0 -4
  28. package/lib/models/common/extra-styles.model.js +0 -2
  29. package/lib/models/common/field-type.enum.d.ts +0 -10
  30. package/lib/models/common/field-type.enum.js +0 -14
  31. package/lib/models/common/filter.enum.d.ts +0 -8
  32. package/lib/models/common/filter.enum.js +0 -12
  33. package/lib/models/common/frontend-fields.model.d.ts +0 -11
  34. package/lib/models/common/frontend-fields.model.js +0 -2
  35. package/lib/models/common/fuzzy-input.d.ts +0 -4
  36. package/lib/models/common/fuzzy-input.js +0 -2
  37. package/lib/models/common/hs-classification-interaction.d.ts +0 -30
  38. package/lib/models/common/hs-classification-interaction.js +0 -2
  39. package/lib/models/common/hs-classification-response.d.ts +0 -31
  40. package/lib/models/common/hs-classification-response.js +0 -2
  41. package/lib/models/common/hs-code.model.d.ts +0 -11
  42. package/lib/models/common/hs-code.model.js +0 -2
  43. package/lib/models/common/index.d.ts +0 -29
  44. package/lib/models/common/index.js +0 -49
  45. package/lib/models/common/language.model.d.ts +0 -4
  46. package/lib/models/common/language.model.js +0 -2
  47. package/lib/models/common/meta.d.ts +0 -35
  48. package/lib/models/common/meta.js +0 -13
  49. package/lib/models/common/money.model.d.ts +0 -11
  50. package/lib/models/common/money.model.js +0 -16
  51. package/lib/models/common/multerfile.model.d.ts +0 -12
  52. package/lib/models/common/multerfile.model.js +0 -2
  53. package/lib/models/common/package-type.model.d.ts +0 -10
  54. package/lib/models/common/package-type.model.js +0 -2
  55. package/lib/models/common/periods.enum.d.ts +0 -5
  56. package/lib/models/common/periods.enum.js +0 -9
  57. package/lib/models/common/person.model.d.ts +0 -12
  58. package/lib/models/common/person.model.js +0 -2
  59. package/lib/models/common/prefix.enum.d.ts +0 -5
  60. package/lib/models/common/prefix.enum.js +0 -10
  61. package/lib/models/common/quantity.model.d.ts +0 -16
  62. package/lib/models/common/quantity.model.js +0 -10
  63. package/lib/models/common/section-type.enum.d.ts +0 -12
  64. package/lib/models/common/section-type.enum.js +0 -16
  65. package/lib/models/common/sort.enum.d.ts +0 -4
  66. package/lib/models/common/sort.enum.js +0 -8
  67. package/lib/models/common/subscription-price.model.d.ts +0 -9
  68. package/lib/models/common/subscription-price.model.js +0 -2
  69. package/lib/models/common/unit-of-measurement.d.ts +0 -10
  70. package/lib/models/common/unit-of-measurement.js +0 -2
  71. package/lib/models/common/uom.enum.d.ts +0 -39
  72. package/lib/models/common/uom.enum.js +0 -44
  73. package/lib/models/common/weight-unit.enum.d.ts +0 -10
  74. package/lib/models/common/weight-unit.enum.js +0 -14
  75. package/lib/models/common/weight.model.d.ts +0 -7
  76. package/lib/models/common/weight.model.js +0 -15
  77. package/lib/models/common/workflow.d.ts +0 -23
  78. package/lib/models/common/workflow.js +0 -2
  79. package/lib/models/digicust/AnalyzerMetadataModel.model.d.ts +0 -13
  80. package/lib/models/digicust/AnalyzerMetadataModel.model.js +0 -2
  81. package/lib/models/digicust/activity.model.d.ts +0 -16
  82. package/lib/models/digicust/activity.model.js +0 -2
  83. package/lib/models/digicust/adjustment.model.d.ts +0 -7
  84. package/lib/models/digicust/adjustment.model.js +0 -2
  85. package/lib/models/digicust/aggregated-case-data.model.d.ts +0 -76
  86. package/lib/models/digicust/aggregated-case-data.model.js +0 -25
  87. package/lib/models/digicust/case-status.enum.d.ts +0 -22
  88. package/lib/models/digicust/case-status.enum.js +0 -26
  89. package/lib/models/digicust/case-submission-transaction.d.ts +0 -29
  90. package/lib/models/digicust/case-submission-transaction.js +0 -19
  91. package/lib/models/digicust/case-type.enum.d.ts +0 -8
  92. package/lib/models/digicust/case-type.enum.js +0 -12
  93. package/lib/models/digicust/case.model.d.ts +0 -52
  94. package/lib/models/digicust/case.model.js +0 -24
  95. package/lib/models/digicust/consignment-size.enum.d.ts +0 -4
  96. package/lib/models/digicust/consignment-size.enum.js +0 -8
  97. package/lib/models/digicust/container.model.d.ts +0 -7
  98. package/lib/models/digicust/container.model.js +0 -2
  99. package/lib/models/digicust/context.model.d.ts +0 -9
  100. package/lib/models/digicust/context.model.js +0 -2
  101. package/lib/models/digicust/cost-intersection.model.d.ts +0 -20
  102. package/lib/models/digicust/cost-intersection.model.js +0 -16
  103. package/lib/models/digicust/custom-document.model.d.ts +0 -8
  104. package/lib/models/digicust/custom-document.model.js +0 -2
  105. package/lib/models/digicust/customer.model.d.ts +0 -55
  106. package/lib/models/digicust/customer.model.js +0 -2
  107. package/lib/models/digicust/customsOffice.model.d.ts +0 -19
  108. package/lib/models/digicust/customsOffice.model.js +0 -12
  109. package/lib/models/digicust/declaration.model.d.ts +0 -4
  110. package/lib/models/digicust/declaration.model.js +0 -2
  111. package/lib/models/digicust/deferment-account.model.d.ts +0 -15
  112. package/lib/models/digicust/deferment-account.model.js +0 -2
  113. package/lib/models/digicust/digicust-document-type.enum.d.ts +0 -15
  114. package/lib/models/digicust/digicust-document-type.enum.js +0 -19
  115. package/lib/models/digicust/digicust-document.model.d.ts +0 -45
  116. package/lib/models/digicust/digicust-document.model.js +0 -38
  117. package/lib/models/digicust/document-code.model.d.ts +0 -12
  118. package/lib/models/digicust/document-code.model.js +0 -2
  119. package/lib/models/digicust/document-status.enum.d.ts +0 -38
  120. package/lib/models/digicust/document-status.enum.js +0 -45
  121. package/lib/models/digicust/documents/invoice-language.enum.d.ts +0 -13
  122. package/lib/models/digicust/documents/invoice-language.enum.js +0 -17
  123. package/lib/models/digicust/eori.model.d.ts +0 -8
  124. package/lib/models/digicust/eori.model.js +0 -2
  125. package/lib/models/digicust/event.model.d.ts +0 -64
  126. package/lib/models/digicust/event.model.js +0 -10
  127. package/lib/models/digicust/execution-strategy.model.d.ts +0 -105
  128. package/lib/models/digicust/execution-strategy.model.js +0 -13
  129. package/lib/models/digicust/extractions/extraction-grid.model.d.ts +0 -22
  130. package/lib/models/digicust/extractions/extraction-grid.model.js +0 -2
  131. package/lib/models/digicust/extractions/extraction.model.d.ts +0 -65
  132. package/lib/models/digicust/extractions/extraction.model.js +0 -2
  133. package/lib/models/digicust/extractions/index.d.ts +0 -2
  134. package/lib/models/digicust/extractions/index.js +0 -18
  135. package/lib/models/digicust/frontend-big-section.model.d.ts +0 -13
  136. package/lib/models/digicust/frontend-big-section.model.js +0 -2
  137. package/lib/models/digicust/frontend-group.model.d.ts +0 -6
  138. package/lib/models/digicust/frontend-group.model.js +0 -2
  139. package/lib/models/digicust/frontend-mapping.model.d.ts +0 -4
  140. package/lib/models/digicust/frontend-mapping.model.js +0 -2
  141. package/lib/models/digicust/frontend-small-section.mode.d.ts +0 -13
  142. package/lib/models/digicust/frontend-small-section.mode.js +0 -2
  143. package/lib/models/digicust/hs-code-mapping.d.ts +0 -26
  144. package/lib/models/digicust/hs-code-mapping.js +0 -2
  145. package/lib/models/digicust/incoterm.model.d.ts +0 -25
  146. package/lib/models/digicust/incoterm.model.js +0 -21
  147. package/lib/models/digicust/invoice-type.model.d.ts +0 -9
  148. package/lib/models/digicust/invoice-type.model.js +0 -2
  149. package/lib/models/digicust/invoice.model.d.ts +0 -62
  150. package/lib/models/digicust/invoice.model.js +0 -2
  151. package/lib/models/digicust/line-item.model.d.ts +0 -82
  152. package/lib/models/digicust/line-item.model.js +0 -17
  153. package/lib/models/digicust/load-type.enum.d.ts +0 -14
  154. package/lib/models/digicust/load-type.enum.js +0 -19
  155. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.d.ts +0 -5
  156. package/lib/models/digicust/masterdata/scoring-algorithm-type.enum.js +0 -9
  157. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.d.ts +0 -7
  158. package/lib/models/digicust/masterdata/stakeholder-matching-method.enum.js +0 -11
  159. package/lib/models/digicust/mean-of-transportation.model.d.ts +0 -30
  160. package/lib/models/digicust/mean-of-transportation.model.js +0 -21
  161. package/lib/models/digicust/membership.model.d.ts +0 -7
  162. package/lib/models/digicust/membership.model.js +0 -2
  163. package/lib/models/digicust/module.model.d.ts +0 -49
  164. package/lib/models/digicust/module.model.js +0 -27
  165. package/lib/models/digicust/notifications.model.d.ts +0 -13
  166. package/lib/models/digicust/notifications.model.js +0 -2
  167. package/lib/models/digicust/operationType.enum.d.ts +0 -15
  168. package/lib/models/digicust/operationType.enum.js +0 -20
  169. package/lib/models/digicust/package.model.d.ts +0 -17
  170. package/lib/models/digicust/package.model.js +0 -2
  171. package/lib/models/digicust/packingList.model.d.ts +0 -33
  172. package/lib/models/digicust/packingList.model.js +0 -2
  173. package/lib/models/digicust/preference-state.model.d.ts +0 -23
  174. package/lib/models/digicust/preference-state.model.js +0 -2
  175. package/lib/models/digicust/procedure.model.d.ts +0 -17
  176. package/lib/models/digicust/procedure.model.js +0 -10
  177. package/lib/models/digicust/project.model.d.ts +0 -30
  178. package/lib/models/digicust/project.model.js +0 -8
  179. package/lib/models/digicust/queue-fields.model.d.ts +0 -15
  180. package/lib/models/digicust/queue-fields.model.js +0 -2
  181. package/lib/models/digicust/queue.model.d.ts +0 -18
  182. package/lib/models/digicust/queue.model.js +0 -2
  183. package/lib/models/digicust/report.model.d.ts +0 -5
  184. package/lib/models/digicust/report.model.js +0 -2
  185. package/lib/models/digicust/special-measure.model.d.ts +0 -7
  186. package/lib/models/digicust/special-measure.model.js +0 -2
  187. package/lib/models/digicust/stats-case.model.d.ts +0 -12
  188. package/lib/models/digicust/stats-case.model.js +0 -2
  189. package/lib/models/digicust/subscription-info.model.d.ts +0 -13
  190. package/lib/models/digicust/subscription-info.model.js +0 -2
  191. package/lib/models/digicust/subscription.model.d.ts +0 -11
  192. package/lib/models/digicust/subscription.model.js +0 -2
  193. package/lib/models/digicust/tax-details.model.d.ts +0 -10
  194. package/lib/models/digicust/tax-details.model.js +0 -2
  195. package/lib/models/digicust/transit-item.model.d.ts +0 -28
  196. package/lib/models/digicust/transit-item.model.js +0 -67
  197. package/lib/models/digicust/type-of-business.enum.d.ts +0 -44
  198. package/lib/models/digicust/type-of-business.enum.js +0 -48
  199. package/lib/models/digicust/type-of-business.model.d.ts +0 -11
  200. package/lib/models/digicust/type-of-business.model.js +0 -2
  201. package/lib/models/digicust/uploaded-file.model.d.ts +0 -10
  202. package/lib/models/digicust/uploaded-file.model.js +0 -2
  203. package/lib/models/digicust/user.model.d.ts +0 -18
  204. package/lib/models/digicust/user.model.js +0 -2
  205. package/lib/models/digicust/waybill-type.model.d.ts +0 -15
  206. package/lib/models/digicust/waybill-type.model.js +0 -11
  207. package/lib/models/digicust/waybill.model.d.ts +0 -33
  208. package/lib/models/digicust/waybill.model.js +0 -2
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldType = void 0;
4
- var FieldType;
5
- (function (FieldType) {
6
- FieldType["text"] = "text";
7
- FieldType["date"] = "date";
8
- FieldType["currency"] = "currency";
9
- FieldType["weight"] = "weight";
10
- FieldType["dimensions"] = "dimensions";
11
- FieldType["phoneNumber"] = "phoneNumber";
12
- FieldType["email"] = "email";
13
- FieldType["address"] = "address";
14
- })(FieldType = exports.FieldType || (exports.FieldType = {}));
@@ -1,8 +0,0 @@
1
- export declare enum FilterCondition {
2
- greaterThan = "greaterThan",
3
- smallerThan = "smallerThan",
4
- equals = "equals",
5
- startsWith = "startsWith",
6
- endsWith = "endsWith",
7
- contains = "contains"
8
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilterCondition = void 0;
4
- var FilterCondition;
5
- (function (FilterCondition) {
6
- FilterCondition["greaterThan"] = "greaterThan";
7
- FilterCondition["smallerThan"] = "smallerThan";
8
- FilterCondition["equals"] = "equals";
9
- FilterCondition["startsWith"] = "startsWith";
10
- FilterCondition["endsWith"] = "endsWith";
11
- FilterCondition["contains"] = "contains";
12
- })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
@@ -1,11 +0,0 @@
1
- import { FieldType } from "./field-type.enum";
2
- import { FieldPrefix } from "./prefix.enum";
3
- export interface FrontendFields {
4
- path?: String;
5
- value?: String;
6
- label?: String;
7
- reviewNeeded?: Array<Boolean>;
8
- type: FieldType;
9
- format?: String;
10
- prefix?: FieldPrefix;
11
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface FuzzyInput<T> {
2
- input?: string;
3
- value?: T;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,30 +0,0 @@
1
- import { Meta } from "./meta";
2
- export interface HsClassificationInteraction extends Meta<string> {
3
- id: string;
4
- name: string;
5
- label: string;
6
- category: string;
7
- type: string;
8
- heading: string;
9
- headings: string;
10
- inputType: string;
11
- selectedString: string;
12
- selectedDefinition: string;
13
- ruleMismatch: boolean;
14
- isAnsweredWithRule: boolean;
15
- hasOther: boolean;
16
- language: string;
17
- semanticAmbiguity: boolean;
18
- unselectedString: string;
19
- attrs: {
20
- id: string;
21
- name: string;
22
- path: string;
23
- value: string;
24
- number: string | number;
25
- kindOf: string;
26
- def: string;
27
- isPart: boolean;
28
- frequency: number;
29
- }[];
30
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,31 +0,0 @@
1
- import { Meta } from "./meta";
2
- import { HsClassificationInteraction } from "./hs-classification-interaction";
3
- export interface HsClassificationResponse extends Meta<string> {
4
- id: null;
5
- txId: string;
6
- languageCode: string;
7
- productDescription: string;
8
- profileId: string;
9
- currentItemPaths: string[];
10
- currentItemName: string;
11
- currentSIP: string;
12
- currentItemDef: string;
13
- hsCode: string;
14
- assumedInteractions: HsClassificationInteraction[];
15
- currentItemInteraction: string;
16
- currentQuestionInteraction: HsClassificationInteraction;
17
- potentialHeadings: string[];
18
- rational: string | null;
19
- duration: number;
20
- systemError: string | null;
21
- mixedContentError: null;
22
- multiItemError: string | null;
23
- itemOutOfScopeError: string | null;
24
- errorDetail: string | null;
25
- dataVersion: string;
26
- dataBuildDate: string;
27
- schedule: string;
28
- hsYear: string;
29
- tariffScheduleSource: string;
30
- tariffScheduleEffectiveDate: string;
31
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- import { HsClassificationInteraction } from "./hs-classification-interaction";
2
- export interface HsCodeModel {
3
- value?: string;
4
- txId?: string;
5
- languageCode?: string;
6
- potentialHeadings?: string[];
7
- currentQuestionInteraction?: HsClassificationInteraction;
8
- source?: string;
9
- lastChangedBy?: string;
10
- modifiedAt?: Date;
11
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,29 +0,0 @@
1
- export * from "./workflow";
2
- export * from "./meta";
3
- export * from "./fuzzy-input";
4
- export * from "./language.model";
5
- export * from "./currency.enum";
6
- export * from "./money.model";
7
- export * from "./quantity.model";
8
- export * from "./uom.enum";
9
- export * from "./package-type.model";
10
- export * from "./date.model";
11
- export * from "./weight.model";
12
- export * from "./weight-unit.enum";
13
- export * from "./dimensions.model";
14
- export * from "./dimensions-unit.enum";
15
- export * from "./address.model";
16
- export * from "./company.model";
17
- export * from "./multerfile.model";
18
- export * from "./filter.enum";
19
- export * from "./sort.enum";
20
- export * from "./hs-code.model";
21
- export * from "./hs-classification-response";
22
- export * from "./hs-classification-interaction";
23
- export * from "./classification-code.model";
24
- export * from "./customs-tariff-number.model";
25
- export * from "./field-type.enum";
26
- export * from "./prefix.enum";
27
- export * from "./dialog-window.model";
28
- export * from "./section-type.enum";
29
- export * from "./person.model";
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- // Data Types
18
- __exportStar(require("./workflow"), exports); // the most basic meta information which is also used for
19
- __exportStar(require("./meta"), exports); // provides meta information on a field (eg. extraction confidence, is inherited by most other data types)
20
- __exportStar(require("./fuzzy-input"), exports); // former alternative to META (deprecated)
21
- __exportStar(require("./language.model"), exports); // Language information
22
- __exportStar(require("./currency.enum"), exports); // Currency information
23
- __exportStar(require("./money.model"), exports); // Information about amount of money
24
- __exportStar(require("./quantity.model"), exports); // Information about quantity
25
- __exportStar(require("./uom.enum"), exports); // Unit of measurement
26
- __exportStar(require("./package-type.model"), exports); // Information about package type
27
- __exportStar(require("./date.model"), exports); // Model for date information
28
- __exportStar(require("./weight.model"), exports); // Information about weight
29
- __exportStar(require("./weight-unit.enum"), exports); // Weight unit
30
- __exportStar(require("./dimensions.model"), exports); // Information about dimension
31
- __exportStar(require("./dimensions-unit.enum"), exports); // Dimension unit
32
- __exportStar(require("./address.model"), exports); // Model for geographic addresses
33
- __exportStar(require("./company.model"), exports); // Model for companies
34
- __exportStar(require("./multerfile.model"), exports); // Files as they arrive on our node servers
35
- // Sort and filter
36
- __exportStar(require("./filter.enum"), exports);
37
- __exportStar(require("./sort.enum"), exports);
38
- // HS Classification
39
- __exportStar(require("./hs-code.model"), exports);
40
- __exportStar(require("./hs-classification-response"), exports);
41
- __exportStar(require("./hs-classification-interaction"), exports);
42
- __exportStar(require("./classification-code.model"), exports);
43
- __exportStar(require("./customs-tariff-number.model"), exports);
44
- // Mapping
45
- __exportStar(require("./field-type.enum"), exports);
46
- __exportStar(require("./prefix.enum"), exports);
47
- __exportStar(require("./dialog-window.model"), exports);
48
- __exportStar(require("./section-type.enum"), exports);
49
- __exportStar(require("./person.model"), exports);
@@ -1,4 +0,0 @@
1
- import { Meta } from "./meta";
2
- export interface LanguageModel extends Meta<string> {
3
- isoCode?: string;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,35 +0,0 @@
1
- import { Bbox } from "./bbox.model";
2
- import { Workflow } from "./workflow";
3
- /**
4
- * Encapsulates typed und untyped workflow metadata for case properties
5
- */
6
- export interface Meta<T> extends Workflow<T> {
7
- /**
8
- * The input value which was initially supplied for the property
9
- */
10
- input?: string;
11
- /**
12
- * Confidence supplied by data extraction or 1.0 if entered by human
13
- */
14
- confidence?: number;
15
- /**
16
- * Bounding box of extracted value
17
- */
18
- bbox?: Bbox;
19
- options?: T[];
20
- source?: String;
21
- reviewNeeded?: boolean;
22
- display?: boolean;
23
- required?: boolean;
24
- /** could be validation errors */
25
- errors?: Error[];
26
- }
27
- export declare const condenseMeta: <T>(meta: Meta<T>, valueOnly?: boolean | undefined) => {
28
- value: T | undefined;
29
- confidence: number | undefined;
30
- reviewNeeded: boolean | undefined;
31
- } | {
32
- value: T | undefined;
33
- confidence?: undefined;
34
- reviewNeeded?: undefined;
35
- };
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseMeta = void 0;
4
- var condenseMeta = function (meta, valueOnly) { return (!valueOnly
5
- ? {
6
- value: meta.value,
7
- confidence: meta.confidence,
8
- reviewNeeded: meta.reviewNeeded,
9
- }
10
- : {
11
- value: meta.value,
12
- }); };
13
- exports.condenseMeta = condenseMeta;
@@ -1,11 +0,0 @@
1
- import { Currency } from "./currency.enum";
2
- import { Meta } from "./meta";
3
- /**
4
- * Identifies an amount of money
5
- */
6
- export interface Money extends Meta<number> {
7
- unit?: Currency;
8
- EUREquivalent?: number;
9
- USDEquivalent?: number;
10
- }
11
- export declare const condenseMoney: (money: Money) => Money;
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseMoney = void 0;
4
- var condenseMoney = function (money) {
5
- var condensed = {
6
- value: money.value,
7
- unit: money.unit,
8
- EUREquivalent: money.EUREquivalent,
9
- USDEquivalent: money.USDEquivalent,
10
- confidence: money.confidence,
11
- reviewNeeded: money.reviewNeeded
12
- };
13
- condensed = JSON.parse(JSON.stringify(condensed)); // remove undefined properties
14
- return condensed;
15
- };
16
- exports.condenseMoney = condenseMoney;
@@ -1,12 +0,0 @@
1
- /// <reference types="node" />
2
- /**
3
- * Information about an uploaded file. Used by multer package.
4
- */
5
- export interface MulterFile {
6
- key?: string;
7
- path?: string;
8
- mimetype?: string;
9
- originalname: string;
10
- size?: number;
11
- buffer: Buffer;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import { Meta } from "./meta";
2
- /**
3
- * Identifies a package type
4
- */
5
- export interface PackageType extends Meta<any> {
6
- type?: string;
7
- germanType?: string;
8
- code?: string;
9
- NC_40000?: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare enum BillingPeriods {
2
- monthly = "monthly",
3
- half_yearly = "half_yearly",
4
- anually = "anually"
5
- }
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BillingPeriods = void 0;
4
- var BillingPeriods;
5
- (function (BillingPeriods) {
6
- BillingPeriods["monthly"] = "monthly";
7
- BillingPeriods["half_yearly"] = "half_yearly";
8
- BillingPeriods["anually"] = "anually";
9
- })(BillingPeriods = exports.BillingPeriods || (exports.BillingPeriods = {}));
@@ -1,12 +0,0 @@
1
- import { Meta } from "./meta";
2
- /**
3
- * Identifies a person
4
- */
5
- export interface PersonModel extends Meta<any> {
6
- title?: string;
7
- firstName?: string;
8
- middleName?: string;
9
- lastName?: string;
10
- suffix?: string;
11
- phone?: string;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export declare enum FieldPrefix {
2
- kg = "kg",
3
- eur = "\u20AC",
4
- cm = "cm"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FieldPrefix = void 0;
4
- var FieldPrefix;
5
- (function (FieldPrefix) {
6
- FieldPrefix["kg"] = "kg";
7
- FieldPrefix["eur"] = "\u20AC";
8
- FieldPrefix["cm"] = "cm";
9
- // empty = "",
10
- })(FieldPrefix = exports.FieldPrefix || (exports.FieldPrefix = {}));
@@ -1,16 +0,0 @@
1
- import { Meta } from "./meta";
2
- import { UnitOfMeasurement } from "./unit-of-measurement";
3
- /**
4
- * Identifies a quantity of something (e.g. 5 kg)
5
- */
6
- export interface Quantity extends Meta<any> {
7
- amount?: number;
8
- /** Unit of measurement */
9
- uom?: UnitOfMeasurement;
10
- }
11
- export declare const condenseQuantity: (meta: Quantity) => {
12
- amount: number | undefined;
13
- uom: UnitOfMeasurement | undefined;
14
- confidence: number | undefined;
15
- reviewNeeded: boolean | undefined;
16
- };
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.condenseQuantity = void 0;
4
- var condenseQuantity = function (meta) { return ({
5
- amount: meta.amount,
6
- uom: meta.uom,
7
- confidence: meta.confidence,
8
- reviewNeeded: meta.reviewNeeded,
9
- }); };
10
- exports.condenseQuantity = condenseQuantity;
@@ -1,12 +0,0 @@
1
- export declare enum SectionType {
2
- type1 = "type1",
3
- type2 = "type2",
4
- type3 = "type3",
5
- type4 = "type4",
6
- type5 = "type5",
7
- type6 = "type6",
8
- type7 = "type7",
9
- type8 = "type8",
10
- type9 = "type9",
11
- type10 = "type10"
12
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SectionType = void 0;
4
- var SectionType;
5
- (function (SectionType) {
6
- SectionType["type1"] = "type1";
7
- SectionType["type2"] = "type2";
8
- SectionType["type3"] = "type3";
9
- SectionType["type4"] = "type4";
10
- SectionType["type5"] = "type5";
11
- SectionType["type6"] = "type6";
12
- SectionType["type7"] = "type7";
13
- SectionType["type8"] = "type8";
14
- SectionType["type9"] = "type9";
15
- SectionType["type10"] = "type10";
16
- })(SectionType = exports.SectionType || (exports.SectionType = {}));
@@ -1,4 +0,0 @@
1
- export declare enum SortOrder {
2
- ASC = "ASC",
3
- DESC = "DESC"
4
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SortOrder = void 0;
4
- var SortOrder;
5
- (function (SortOrder) {
6
- SortOrder["ASC"] = "ASC";
7
- SortOrder["DESC"] = "DESC";
8
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
@@ -1,9 +0,0 @@
1
- export interface SubscriptionPrice {
2
- hsClassification: number;
3
- dataExtraction: number;
4
- dataNormalization: number;
5
- dakosy: number;
6
- upload: number;
7
- ocr: number;
8
- documentSplitting: number;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import { Meta } from "./meta";
2
- export interface UnitOfMeasurement extends Meta<string> {
3
- DE_I0700?: string;
4
- DE_I0700_Qualifier?: string;
5
- NC_66000?: string;
6
- NC_66000_Multiplicator?: number;
7
- description?: string;
8
- customsTariffNumberDependency?: string;
9
- requiredSpecialUnitMeasure?: boolean;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,39 +0,0 @@
1
- export declare enum UOM {
2
- BG = "BG",
3
- BA = "BA",
4
- BT = "BT",
5
- BOX = "BOX",
6
- BH = "BH",
7
- BE = "BE",
8
- BU = "BU",
9
- CI = "CI",
10
- CT = "CT",
11
- CS = "CS",
12
- CM = "CM",
13
- CON = "CON",
14
- CR = "CR",
15
- CY = "CY",
16
- EA = "EA",
17
- NMB = "NMB",
18
- EN = "EN",
19
- FT = "FT",
20
- KG = "KG",
21
- KGS = "KGS",
22
- L = "L",
23
- M = "M",
24
- PK = "PK",
25
- PA = "PA",
26
- PAR = "PAR",
27
- PRS = "PRS",
28
- PAL = "PAL",
29
- PC = "PC",
30
- PCS = "PCS",
31
- LB = "LB",
32
- PF = "PF",
33
- ROL = "ROL",
34
- SET = "SET",
35
- SME = "SME",
36
- SYD = "SYD",
37
- TU = "TU",
38
- YD = "YD"
39
- }
@@ -1,44 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UOM = void 0;
4
- // UOM = Unit of Measurement Enum type
5
- var UOM;
6
- (function (UOM) {
7
- UOM["BG"] = "BG";
8
- UOM["BA"] = "BA";
9
- UOM["BT"] = "BT";
10
- UOM["BOX"] = "BOX";
11
- UOM["BH"] = "BH";
12
- UOM["BE"] = "BE";
13
- UOM["BU"] = "BU";
14
- UOM["CI"] = "CI";
15
- UOM["CT"] = "CT";
16
- UOM["CS"] = "CS";
17
- UOM["CM"] = "CM";
18
- UOM["CON"] = "CON";
19
- UOM["CR"] = "CR";
20
- UOM["CY"] = "CY";
21
- UOM["EA"] = "EA";
22
- UOM["NMB"] = "NMB";
23
- UOM["EN"] = "EN";
24
- UOM["FT"] = "FT";
25
- UOM["KG"] = "KG";
26
- UOM["KGS"] = "KGS";
27
- UOM["L"] = "L";
28
- UOM["M"] = "M";
29
- UOM["PK"] = "PK";
30
- UOM["PA"] = "PA";
31
- UOM["PAR"] = "PAR";
32
- UOM["PRS"] = "PRS";
33
- UOM["PAL"] = "PAL";
34
- UOM["PC"] = "PC";
35
- UOM["PCS"] = "PCS";
36
- UOM["LB"] = "LB";
37
- UOM["PF"] = "PF";
38
- UOM["ROL"] = "ROL";
39
- UOM["SET"] = "SET";
40
- UOM["SME"] = "SME";
41
- UOM["SYD"] = "SYD";
42
- UOM["TU"] = "TU";
43
- UOM["YD"] = "YD";
44
- })(UOM = exports.UOM || (exports.UOM = {}));
@@ -1,10 +0,0 @@
1
- export declare enum WeightUnit {
2
- kilogram = "kg",
3
- pound = "lb",
4
- ounce = "ounce",
5
- milligram = "mg",
6
- gram = "g",
7
- decagram = "dag",
8
- ton = "t",
9
- microgram = "\u00B5g"
10
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WeightUnit = void 0;
4
- var WeightUnit;
5
- (function (WeightUnit) {
6
- WeightUnit["kilogram"] = "kg";
7
- WeightUnit["pound"] = "lb";
8
- WeightUnit["ounce"] = "ounce";
9
- WeightUnit["milligram"] = "mg";
10
- WeightUnit["gram"] = "g";
11
- WeightUnit["decagram"] = "dag";
12
- WeightUnit["ton"] = "t";
13
- WeightUnit["microgram"] = "\u00B5g";
14
- })(WeightUnit = exports.WeightUnit || (exports.WeightUnit = {}));
@@ -1,7 +0,0 @@
1
- import { WeightUnit } from "./weight-unit.enum";
2
- import { Meta } from "./meta";
3
- export interface Weight extends Meta<number> {
4
- unit?: WeightUnit;
5
- kgEquivalent?: number;
6
- }
7
- export declare const condenseWeight: (weight: Weight) => Weight;