digicust_types 1.8.350 → 1.8.352

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.
@@ -0,0 +1,6 @@
1
+ export interface CosmosMetadata {
2
+ _rid?: string;
3
+ _self?: string;
4
+ _etag?: string;
5
+ _attachments?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export * from "./cosmos-metadata";
2
+ export * from "./searchable-string-field";
3
+ export * from "./material-number-search-document";
4
+ export * from "./searchable-string-field";
5
+ export * from "./tariff-number-field";
6
+ export * from "./tariff-number-search-document";
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./cosmos-metadata"), exports);
18
+ __exportStar(require("./searchable-string-field"), exports);
19
+ __exportStar(require("./material-number-search-document"), exports);
20
+ __exportStar(require("./searchable-string-field"), exports);
21
+ __exportStar(require("./tariff-number-field"), exports);
22
+ __exportStar(require("./tariff-number-search-document"), exports);
@@ -0,0 +1,21 @@
1
+ import { CosmosMetadata } from "./cosmos-metadata";
2
+ import { SearchableStringField } from "./searchable-string-field";
3
+ export interface MaterialNumberSearchDocument extends CosmosMetadata {
4
+ id: string;
5
+ customerId?: string;
6
+ projectId?: string;
7
+ shipperId?: string;
8
+ description?: {
9
+ value: string | null;
10
+ };
11
+ buyerOrderNumber: {
12
+ userEditedSearchValue: string | null;
13
+ userEditedValue: string | null;
14
+ userEdited: boolean;
15
+ };
16
+ buyerArticleNumber: SearchableStringField;
17
+ code: SearchableStringField;
18
+ materialNumber: SearchableStringField;
19
+ matchingType: "materialNumber";
20
+ hasAnyUserEditedProperties?: boolean;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export interface SearchableStringField {
2
+ value: string | null;
3
+ searchValue: string | null;
4
+ userEditedSearchValue: string | null;
5
+ userEdited: boolean;
6
+ userEditedValue: string | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface TariffNumberField {
2
+ userEditedNormalizedValue: string | null;
3
+ userEditedValue: string | null;
4
+ value: boolean | null;
5
+ userEdited: boolean | null;
6
+ generatedValue: string | null;
7
+ normalizedValue: string | null;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ import { CosmosMetadata } from "./cosmos-metadata";
2
+ import { TariffNumberField } from "./tariff-number-field";
3
+ export interface TariffNumberSearchDocument extends CosmosMetadata {
4
+ id: string;
5
+ customerId?: string;
6
+ projectId?: string;
7
+ shipperId?: string;
8
+ consigneeId?: string;
9
+ recipientId?: string;
10
+ beneficiaryId?: string;
11
+ applicantId?: string;
12
+ declarantId?: string;
13
+ importerId?: string;
14
+ exporterId?: string;
15
+ buyerId?: string;
16
+ agentId?: string;
17
+ brokerId?: string;
18
+ carrierId?: string;
19
+ warehouseId?: string;
20
+ obligaterId?: string;
21
+ recipients?: {
22
+ id: string;
23
+ name: string;
24
+ }[];
25
+ description?: {
26
+ value: string | null;
27
+ };
28
+ customsTariffNumber: TariffNumberField;
29
+ matchingType: "tariffNumber";
30
+ shipperCountry: string;
31
+ destinationCountry: string;
32
+ hasAnyUserEditedProperties?: boolean;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,4 +9,5 @@ export interface MaterialMatchResult {
9
9
  matchesShipper?: boolean;
10
10
  hasAnyUserEditedProperties?: boolean;
11
11
  fallbackSearchUsed?: "none" | "paddedNumber" | "emptyShipperCountry" | "emptyDestinationCountry";
12
+ cacheKey?: string;
12
13
  }
@@ -1,4 +1,5 @@
1
1
  export * from "./digicust";
2
+ export * from "./cognitive-search";
2
3
  export * from "./rossum";
3
4
  export * from "./ml";
4
5
  export * from "./taric";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./digicust"), exports);
18
+ __exportStar(require("./cognitive-search"), exports);
18
19
  __exportStar(require("./rossum"), exports);
19
20
  __exportStar(require("./ml"), exports);
20
21
  __exportStar(require("./taric"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.350",
3
+ "version": "1.8.352",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",