digicust_types 1.7.468 → 1.7.470

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 (38) hide show
  1. package/lib/models/digicust/case/aggregated-case-data.model.d.ts +3 -9
  2. package/lib/models/digicust/case/case-submission-transaction.d.ts +0 -1
  3. package/lib/models/digicust/company/company.model.d.ts +0 -2
  4. package/lib/models/digicust/customer/customer.model.d.ts +0 -1
  5. package/lib/models/digicust/customs/index.d.ts +0 -1
  6. package/lib/models/digicust/customs/index.js +0 -1
  7. package/lib/models/digicust/customs/tariff-number/customs-tariff-number.model.d.ts +1 -8
  8. package/lib/models/digicust/documents/digicust-document-type.enum.d.ts +0 -1
  9. package/lib/models/digicust/documents/digicust-document-type.enum.js +0 -1
  10. package/lib/models/digicust/documents/document-types/digicust-document.model.d.ts +1 -2
  11. package/lib/models/digicust/documents/document-types/email-document.model.d.ts +0 -2
  12. package/lib/models/digicust/documents/document-types/index.d.ts +0 -2
  13. package/lib/models/digicust/documents/document-types/index.js +0 -2
  14. package/lib/models/digicust/documents/document-types/user-input.model.d.ts +1 -5
  15. package/lib/models/digicust/documents/waybill-type.model.d.ts +0 -1
  16. package/lib/models/digicust/execution-strategy/execution-strategy.model.d.ts +3 -35
  17. package/lib/models/digicust/frontend/filter.enum.d.ts +1 -2
  18. package/lib/models/digicust/frontend/filter.enum.js +0 -1
  19. package/lib/models/digicust/index.d.ts +0 -1
  20. package/lib/models/digicust/index.js +0 -1
  21. package/lib/models/digicust/line-item/line-item.model.d.ts +0 -2
  22. package/lib/models/digicust/masterdata/material.model.d.ts +0 -53
  23. package/lib/models/digicust/settings/customsTariffNumberNormalizationSettings.d.ts +0 -6
  24. package/package.json +1 -1
  25. package/lib/models/digicust/cache/cache.model.d.ts +0 -37
  26. package/lib/models/digicust/cache/cache.model.js +0 -2
  27. package/lib/models/digicust/cache/index.d.ts +0 -1
  28. package/lib/models/digicust/cache/index.js +0 -17
  29. package/lib/models/digicust/customs/buyerSellerRelationship.model.d.ts +0 -9
  30. package/lib/models/digicust/customs/buyerSellerRelationship.model.js +0 -12
  31. package/lib/models/digicust/documents/document-types/eur1.model.d.ts +0 -10
  32. package/lib/models/digicust/documents/document-types/eur1.model.js +0 -2
  33. package/lib/models/digicust/documents/document-types/temporary-usage.model.d.ts +0 -7
  34. package/lib/models/digicust/documents/document-types/temporary-usage.model.js +0 -2
  35. package/lib/models/digicust/documents/document-types/transit-declaration.model.d.ts +0 -24
  36. package/lib/models/digicust/documents/document-types/transit-declaration.model.js +0 -2
  37. package/lib/models/digicust/fraud/item-fraud-detection.d.ts +0 -6
  38. package/lib/models/digicust/fraud/item-fraud-detection.js +0 -2
@@ -1,5 +1,4 @@
1
- import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, Port, PreliminaryDocument, DeclarationType, PersonModel } from "..";
2
- import { BuyerSellerRelationship } from "../customs/buyerSellerRelationship.model";
1
+ import { Procedure, LoadType, Adjustment, Container, WaybillTypeModel, IncotermModel, CostIntersection, TradePreference, CustomsOffice, MeanOfTransportation, TypeOfBusiness, CaseType, LineItemModel, Package, Meta, AddressModel, DateTimeModel, CompanyModel, Currency, WeightUnit, Weight, Money, TransitItemModel, ConstellationOfParticipantsModel, Port, PreliminaryDocument, DeclarationType } from "..";
3
2
  import { DomesticFreightCosts } from "../customs/domesticFreightCosts.model";
4
3
  /**
5
4
  * Used to store aggregated information of a case
@@ -7,10 +6,8 @@ import { DomesticFreightCosts } from "../customs/domesticFreightCosts.model";
7
6
  export interface AggregatedCaseDataModel {
8
7
  procedure?: Procedure;
9
8
  declarationType?: Meta<DeclarationType>;
10
- summary?: Meta<string>;
11
9
  /** commercial reference number, usually assigned by the trader */
12
10
  referenceNumber?: Meta<string>;
13
- responsiblePerson?: PersonModel;
14
11
  mrnNumber?: Meta<string>;
15
12
  /** Load Type, e.g. full container load */
16
13
  loadType?: Meta<LoadType>;
@@ -20,7 +17,6 @@ export interface AggregatedCaseDataModel {
20
17
  pointOfEntry?: AddressModel;
21
18
  pointOfExit?: AddressModel;
22
19
  transitCountries?: AddressModel[];
23
- route?: Meta<string[]>;
24
20
  arrivalDate?: DateTimeModel;
25
21
  departureDate?: DateTimeModel;
26
22
  issueDate?: DateTimeModel;
@@ -42,7 +38,6 @@ export interface AggregatedCaseDataModel {
42
38
  warehouse?: CompanyModel;
43
39
  obligater?: CompanyModel;
44
40
  constellationOfParticipants?: ConstellationOfParticipantsModel;
45
- buyerSellerRelation?: BuyerSellerRelationship;
46
41
  /** adjustments to statistical/duty/VAT value */
47
42
  adjustments?: Adjustment[];
48
43
  containers?: Container[];
@@ -58,7 +53,6 @@ export interface AggregatedCaseDataModel {
58
53
  tradePreference?: TradePreference;
59
54
  customsOffices?: CustomsOffice[];
60
55
  meansOfTransportation?: MeanOfTransportation[];
61
- placeOfLoading?: AddressModel;
62
56
  portOfExport?: Port;
63
57
  portOfImport?: Port;
64
58
  typeofBusiness?: TypeOfBusiness;
@@ -73,6 +67,7 @@ export interface AggregatedCaseDataModel {
73
67
  trailerLicensePlate?: Meta<string>;
74
68
  destinationCustomOffice?: Meta<string>;
75
69
  departureCustomOffice?: Meta<string>;
70
+ loadingPlace?: Meta<string>;
76
71
  transitItems?: TransitItemModel[];
77
72
  totalValueExcludingCharges?: Money;
78
73
  totalValueWithoutTax?: Money;
@@ -87,9 +82,8 @@ export interface AggregatedCaseDataModel {
87
82
  guaranteeValue?: Money;
88
83
  /** EUSt */
89
84
  importSalesTax?: Money;
90
- freightCosts?: Money;
91
85
  /** international freight costs */
92
- internationalFreightCosts?: Money;
86
+ freightCosts?: Money;
93
87
  domesticFreightCosts?: DomesticFreightCosts;
94
88
  insuranceCosts?: Money;
95
89
  domesticInsuranceCosts?: DomesticFreightCosts;
@@ -14,7 +14,6 @@ export interface CaseSubmissionTransaction {
14
14
  /** Specifies which type of transaction it is (e.g. 'QuittungEingangsverarbeitung') */
15
15
  transactionType?: string;
16
16
  content?: any;
17
- return?: any;
18
17
  xml?: string;
19
18
  }
20
19
  export declare enum CaseSubmissionProcedure {
@@ -11,7 +11,6 @@ export interface CompanyModel extends Meta<string> {
11
11
  EORI?: EORI;
12
12
  VAT?: VATNumber;
13
13
  intrastatVAT?: VATNumber;
14
- flags?: ("billable" | "using" | "archived")[];
15
14
  TIN?: Meta<string>;
16
15
  securityNumber?: Meta<string>;
17
16
  inputTaxDeduction?: Meta<boolean>;
@@ -31,7 +30,6 @@ export interface CompanyModel extends Meta<string> {
31
30
  /** Gestellungsfrist (in hours) */
32
31
  submissionDeadlineInterval?: number;
33
32
  stakeholderId?: string;
34
- companyBeforeMatching?: CompanyModel;
35
33
  creationType?: MasterDataCreationType;
36
34
  matchingMetadata?: MatchingMetadataModel<StakeholderMatchInput, StakeholderMatchResult>;
37
35
  }
@@ -9,7 +9,6 @@ export interface CustomerModel {
9
9
  projectId?: string;
10
10
  renewedDateTime?: Date;
11
11
  status?: string;
12
- flags?: ("billable" | "using" | "archived")[];
13
12
  companyAddress?: string;
14
13
  country?: string;
15
14
  city?: string;
@@ -22,4 +22,3 @@ export * from "./addition-deduction.model";
22
22
  export * from "./declaration-type.enum";
23
23
  export * from "./representative-constellation.enum";
24
24
  export * from "./vat-number.model";
25
- export * from "./buyerSellerRelationship.model";
@@ -38,4 +38,3 @@ __exportStar(require("./addition-deduction.model"), exports);
38
38
  __exportStar(require("./declaration-type.enum"), exports);
39
39
  __exportStar(require("./representative-constellation.enum"), exports);
40
40
  __exportStar(require("./vat-number.model"), exports);
41
- __exportStar(require("./buyerSellerRelationship.model"), exports);
@@ -3,8 +3,7 @@ export interface CustomsTariffNumber extends Meta<string> {
3
3
  hsCode?: Meta<string>;
4
4
  additionalCodes?: Meta<string>[];
5
5
  hsCodeInvoice?: Meta<string>;
6
- customsDescription?: string;
7
- reason?: string;
6
+ customsDescription?: Meta<string>;
8
7
  tradeZone?: {
9
8
  [key: string]: {
10
9
  code?: ClassificationCode;
@@ -15,12 +14,6 @@ export interface CustomsTariffNumber extends Meta<string> {
15
14
  };
16
15
  };
17
16
  };
18
- /** Checks if the tariff classification is likely to be valid */
19
- complianceCheck?: {
20
- /** Value between 1 (very confident) to 0 (no confidence) */
21
- validityConfidence?: number;
22
- reason?: string;
23
- };
24
17
  classifier?: {
25
18
  default?: HsCodeModel;
26
19
  };
@@ -23,6 +23,5 @@ export declare enum DigicustDocumentType {
23
23
  TariffClassificationInput = "tariffClassificationInput",
24
24
  TemporaryStorage = "TemporaryStorage",
25
25
  ATR = "ATR",
26
- EUR1 = "EUR1",
27
26
  UserInput = "UserInput"
28
27
  }
@@ -27,6 +27,5 @@ var DigicustDocumentType;
27
27
  DigicustDocumentType["TariffClassificationInput"] = "tariffClassificationInput";
28
28
  DigicustDocumentType["TemporaryStorage"] = "TemporaryStorage";
29
29
  DigicustDocumentType["ATR"] = "ATR";
30
- DigicustDocumentType["EUR1"] = "EUR1";
31
30
  DigicustDocumentType["UserInput"] = "UserInput";
32
31
  })(DigicustDocumentType = exports.DigicustDocumentType || (exports.DigicustDocumentType = {}));
@@ -1,5 +1,5 @@
1
1
  import { DigicustDocumentType, DocumentCode, DocumentStatus, UserDocumentStatus, SubDocumentStatus, ClassificationStatus } from "..";
2
- import { ProcessingModel, DateTimeModel, AnalyzerMetadataModel, UploadedFileModel, Meta } from "../..";
2
+ import { ProcessingModel, DateTimeModel, AnalyzerMetadataModel, UploadedFileModel } from "../..";
3
3
  import { RossumImportStatus } from "../../..";
4
4
  /**
5
5
  * Base model for different types of documents (e.g. waybills, invoices, ...)
@@ -14,7 +14,6 @@ export interface DigicustDocumentModel {
14
14
  fileName?: string;
15
15
  documentType?: DigicustDocumentType;
16
16
  documentCode?: DocumentCode;
17
- documentReference?: Meta<string>;
18
17
  documentStatus?: DocumentStatus;
19
18
  userDocumentStatus?: UserDocumentStatus;
20
19
  subDocumentStatus?: SubDocumentStatus;
@@ -20,8 +20,6 @@ export interface EmailDocument extends DigicustDocumentModel {
20
20
  meanOfTransportation?: MeanOfTransportation;
21
21
  incoterm?: Meta<Incoterm>;
22
22
  placeIncoterm?: AddressModel;
23
- route?: Meta<string[]>;
24
- placeOfLoading?: AddressModel;
25
23
  pointOfEntry?: AddressModel;
26
24
  weight?: Weight;
27
25
  weightUnit?: Meta<WeightUnit>;
@@ -10,5 +10,3 @@ export * from "./temporary-storage.model";
10
10
  export * from "./turkish-export-declaration.model";
11
11
  export * from "./atr.model";
12
12
  export * from "./user-input.model";
13
- export * from "./eur1.model";
14
- export * from "./transit-declaration.model";
@@ -26,5 +26,3 @@ __exportStar(require("./temporary-storage.model"), exports);
26
26
  __exportStar(require("./turkish-export-declaration.model"), exports);
27
27
  __exportStar(require("./atr.model"), exports);
28
28
  __exportStar(require("./user-input.model"), exports);
29
- __exportStar(require("./eur1.model"), exports);
30
- __exportStar(require("./transit-declaration.model"), exports);
@@ -1,13 +1,9 @@
1
1
  import { AggregatedCaseDataModel } from "../../case";
2
- import { ValidationError } from "../../errors.model";
3
- import { ExecutionStrategy } from "../../execution-strategy";
4
2
  import { DigicustDocumentModel } from "./digicust-document.model";
5
3
  /**
6
4
  * Identifies user input as a document
7
5
  */
8
6
  export interface UserInput extends DigicustDocumentModel {
9
- priority?: "beforeNormalization" | "fallback" | "afterNormalization" | "replace";
7
+ priority?: "beforeNormalization" | "afterNormalization" | "replace";
10
8
  annotatedAggregated?: AggregatedCaseDataModel;
11
- annotatedExecutionStrategy?: ExecutionStrategy;
12
- customValidationMessages?: ValidationError[];
13
9
  }
@@ -10,7 +10,6 @@ export interface WaybillTypeModel extends Meta<WaybillType> {
10
10
  DE_I0136_Reference?: string;
11
11
  DE_I0136_Addition?: string;
12
12
  DE_I0136_Detail?: string;
13
- DE_C0013?: string;
14
13
  }
15
14
  export declare enum WaybillType {
16
15
  airWaybill = "airWaybill",
@@ -1,13 +1,10 @@
1
- import { DigicustDocumentType, Event, ProcedureMode, CustomsTariffNumberNormalizationSettings, Rule, StakeholderModel, PackageType } from "..";
1
+ import { DigicustDocumentType, Event, ProcedureMode, CustomsTariffNumberNormalizationSettings, Rule } from "..";
2
2
  /**
3
3
  * Execution strategies are customer-configurable plans on how to process a specific case.
4
4
  */
5
5
  export interface ExecutionStrategy {
6
6
  id?: string;
7
7
  alias?: string;
8
- flags?: {
9
- [key: string]: string;
10
- };
11
8
  moduleId?: string;
12
9
  customerId?: string;
13
10
  projectId?: string;
@@ -55,7 +52,6 @@ export interface ExecutionStrategy {
55
52
  /** Determines how to deal with additional costs like shipping costs, packing, ... */
56
53
  additionalCostsStrategy?: "addToFirstItem" | "splitToAllItems";
57
54
  allowDateInOrderNumber?: boolean;
58
- eliminateArticleNumberFromDescription?: boolean;
59
55
  /** Determines whether or not data from incoming emails are extracted and normalized.
60
56
  * @default false */
61
57
  normalizeEmailDocuments?: boolean;
@@ -66,16 +62,10 @@ export interface ExecutionStrategy {
66
62
  destinationLanguage?: string;
67
63
  };
68
64
  customsTariffNumberNormalizationSettings?: CustomsTariffNumberNormalizationSettings;
69
- guaranteeValueStrategy?: "headerFromInvoices" | "headerFromInvoiceHeader" | "lineItems";
70
- guaranteeValueCalculation?: "includeVAT19%" | "excludeVAT";
71
- waybillCodePreference?: "singleCode" | "seperateCodes";
72
- /** Between 0 and 1 */
73
- foreignFreightCostRate?: number;
74
- enforcePackageType?: PackageType;
65
+ guaranteeValueStrategy?: "headerFromInvoices" | "lineItems";
75
66
  };
76
67
  dataValidation?: {
77
68
  active?: boolean;
78
- fraudDetection?: boolean;
79
69
  };
80
70
  hsClassification?: {
81
71
  active?: boolean;
@@ -87,17 +77,7 @@ export interface ExecutionStrategy {
87
77
  };
88
78
  dataIntegration?: {
89
79
  active?: boolean;
90
- requireUserInput?: "false" | "true" | "masterDataOrUserInput";
91
- };
92
- matchingEngine?: {
93
- materialMatching?: {
94
- disabled?: boolean;
95
- disableTariffNumberMatching?: boolean;
96
- disableMaterialNumberMatching?: boolean;
97
- tariffNumberMatchingConfiguration?: {
98
- stakeholderFilters?: ("shipper" | "consignee" | "recipient" | "beneficiary" | "applicant" | "declarant" | "importer" | "exporter" | "buyer" | "agent" | "broker" | "carrier" | "warehouse" | "obligater")[];
99
- };
100
- };
80
+ requireUserInput?: boolean;
101
81
  };
102
82
  pseudonymization?: {
103
83
  active?: boolean;
@@ -119,12 +99,6 @@ export interface ExecutionStrategy {
119
99
  division?: string;
120
100
  noDocumentsOnHead?: boolean;
121
101
  packagesOnFirstLineItemOnly?: boolean;
122
- aggregateItems?: boolean;
123
- template?: string;
124
- ignoreDV1?: boolean;
125
- ignoreToAddress?: boolean;
126
- /** Anmelder ist Empfanger */
127
- enforceImportDeclarantIsRecipient?: boolean;
128
102
  };
129
103
  } | {
130
104
  active?: boolean;
@@ -147,16 +121,10 @@ export interface ExecutionStrategy {
147
121
  "user-name"?: string;
148
122
  password?: string;
149
123
  endpoint?: string;
150
- template?: string;
151
124
  };
152
125
  };
153
126
  events: Event[];
154
127
  rules: Rule[];
155
128
  automated?: boolean;
156
- customs?: {
157
- GRN?: string;
158
- GRNAccessCode?: string;
159
- declarantRepresentative?: StakeholderModel;
160
- };
161
129
  }
162
130
  export declare const condenseExecutionStrategy: (strategy?: ExecutionStrategy) => ExecutionStrategy | null;
@@ -4,6 +4,5 @@ export declare enum FilterCondition {
4
4
  equals = "equals",
5
5
  startsWith = "startsWith",
6
6
  endsWith = "endsWith",
7
- contains = "contains",
8
- isUserEdited = "isUserEdited"
7
+ contains = "contains"
9
8
  }
@@ -9,5 +9,4 @@ var FilterCondition;
9
9
  FilterCondition["startsWith"] = "startsWith";
10
10
  FilterCondition["endsWith"] = "endsWith";
11
11
  FilterCondition["contains"] = "contains";
12
- FilterCondition["isUserEdited"] = "isUserEdited";
13
12
  })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
@@ -25,4 +25,3 @@ export * from "./transportation";
25
25
  export * from "./user";
26
26
  export * from "./codes";
27
27
  export * from "./read-lock.model";
28
- export * from "./cache";
@@ -41,4 +41,3 @@ __exportStar(require("./transportation"), exports);
41
41
  __exportStar(require("./user"), exports);
42
42
  __exportStar(require("./codes"), exports);
43
43
  __exportStar(require("./read-lock.model"), exports);
44
- __exportStar(require("./cache"), exports);
@@ -1,5 +1,4 @@
1
1
  import { Adjustment, Container, DigicustDocumentModel, DocumentTypeCode, MatchingMetadataModel, MaterialMatchInput, MaterialMatchResult, Package, PreferenceState, Procedure, AddressModel, CompanyModel, Currency, CustomsTariffNumber, Meta, Money, Quantity, Weight, WeightUnit, Bbox, UnitOfMeasurement, MasterDataCreationType, CustomsDuty, ImportSalesTax, AdditionDeduction, Translatable } from "..";
2
- import { ItemFraudDetectionDetails } from "../fraud/item-fraud-detection";
3
2
  /**
4
3
  * Identifies line items (specific products) listed on a document
5
4
  */
@@ -85,7 +84,6 @@ export interface LineItemModel {
85
84
  materialId?: string;
86
85
  creationType?: MasterDataCreationType;
87
86
  bbox?: Bbox;
88
- fraudDetection?: ItemFraudDetectionDetails;
89
87
  matchingMetadata?: MatchingMetadataModel<MaterialMatchInput, MaterialMatchResult>;
90
88
  }
91
89
  export declare const condenseLineItem: (lineItem?: LineItemModel) => LineItemModel | null;
@@ -39,7 +39,6 @@ export interface MaterialModel {
39
39
  customerId?: string;
40
40
  projectId?: string;
41
41
  creationType?: MasterDataCreationType;
42
- matchingType?: "materialNumber" | "tariffNumber";
43
42
  description?: Workflow<string>;
44
43
  documentDescription?: Workflow<string>;
45
44
  materialNumber?: Workflow<string>;
@@ -62,58 +61,6 @@ export interface MaterialModel {
62
61
  */
63
62
  shipper?: string;
64
63
  shipperId?: string;
65
- /**
66
- * Owning recipient, if any. Used for matching by tariff number.
67
- */
68
- recipientId?: string;
69
- /**
70
- * Owning consignee, if any. Used for matching by tariff number.
71
- */
72
- consigneeId?: string;
73
- /**
74
- * Owning beneficiary, if any. Used for matching by tariff number.
75
- */
76
- beneficiaryId?: string;
77
- /**
78
- * Owning applicant, if any. Used for matching by tariff number.
79
- */
80
- applicantId?: string;
81
- /**
82
- * Owning declarant, if any. Used for matching by tariff number.
83
- */
84
- declarantId?: string;
85
- /**
86
- * Owning exporter, if any. Used for matching by tariff number.
87
- */
88
- importerId?: string;
89
- /**
90
- * Owning exporter, if any. Used for matching by tariff number.
91
- */
92
- exporterId?: string;
93
- /**
94
- * Owning buyer, if any. Used for matching by tariff number.
95
- */
96
- buyerId?: string;
97
- /**
98
- * Owning agent, if any. Used for matching by tariff number.
99
- */
100
- agentId?: string;
101
- /**
102
- * Owning broker, if any. Used for matching by tariff number.
103
- */
104
- brokerId?: string;
105
- /**
106
- * Owning carrier, if any. Used for matching by tariff number.
107
- */
108
- carrierId?: string;
109
- /**
110
- * Owning warehouse, if any. Used for matching by tariff number.
111
- */
112
- warehouseId?: string;
113
- /**
114
- * Owning obligater, if any. Used for matching by tariff number.
115
- */
116
- obligaterId?: string;
117
64
  /**
118
65
  * Different materialNumbers might be applied for different recipients.
119
66
  * The recipientId refers to a stakeholder.
@@ -8,12 +8,6 @@ export interface CustomsTariffNumberNormalizationSettings {
8
8
  ignoreCustomsTariffNumbersFromInvoice?: boolean;
9
9
  /** Specifies whether to take the the first valid digits and consier fallback sub-chapters */
10
10
  autoFixTariffNumbers?: boolean;
11
- complianceCheck?: {
12
- active?: boolean;
13
- };
14
- tariffClassification?: {
15
- active?: boolean;
16
- };
17
11
  /** Specifies whether to take the tariff number description for item description */
18
12
  useAsItemDescription?: boolean;
19
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.468",
3
+ "version": "1.7.470",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,37 +0,0 @@
1
- import { AddressModel } from "../measures";
2
- import { EORI, VATNumber } from "../customs";
3
- export interface CacheModel {
4
- id?: string;
5
- service?: "google-maps-geolocation" | "openai-gpt" | "amazon-maps" | "ec-eori-validation" | "ec-vat-validation";
6
- /** The query sent to the service to retrieve a certain output. This is the 'cache key'.
7
- * If query is an object, then JSON.stringify it.
8
- */
9
- query?: string;
10
- /** The output of the service */
11
- value?: any;
12
- }
13
- export interface GoogleMapsGeolocationCacheModel extends CacheModel {
14
- service?: "google-maps-geolocation";
15
- query?: string;
16
- value?: AddressModel;
17
- }
18
- export interface OpenAiGpt extends CacheModel {
19
- service?: "openai-gpt";
20
- query?: string;
21
- value?: object;
22
- }
23
- export interface AmazonMaps extends CacheModel {
24
- service?: "amazon-maps";
25
- query?: string;
26
- value?: AddressModel;
27
- }
28
- export interface EcEoriValidation extends CacheModel {
29
- service?: "ec-eori-validation";
30
- query?: string;
31
- value?: EORI;
32
- }
33
- export interface EcVatValidation extends CacheModel {
34
- service?: "ec-vat-validation";
35
- query?: string;
36
- value?: VATNumber;
37
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./cache.model";
@@ -1,17 +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
- __exportStar(require("./cache.model"), exports);
@@ -1,9 +0,0 @@
1
- import { Meta } from "../meta";
2
- export interface BuyerSellerRelationship extends Meta<BuyerSellerRelationshipMode> {
3
- DE_A1760?: string;
4
- }
5
- export declare enum BuyerSellerRelationshipMode {
6
- NotConnected = "notConnected",
7
- ConnectedNoInfluence = "connectedNoInfluence",
8
- ConnectedInfluence = "connectedInfluence"
9
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuyerSellerRelationshipMode = void 0;
4
- var BuyerSellerRelationshipMode;
5
- (function (BuyerSellerRelationshipMode) {
6
- /* Seller and buyer are not connected */
7
- BuyerSellerRelationshipMode["NotConnected"] = "notConnected";
8
- /* Seller and buyer are connected, but the connection has not influenced the price */
9
- BuyerSellerRelationshipMode["ConnectedNoInfluence"] = "connectedNoInfluence";
10
- /* Seller and buyer are connected, the connection has influenced the price */
11
- BuyerSellerRelationshipMode["ConnectedInfluence"] = "connectedInfluence";
12
- })(BuyerSellerRelationshipMode = exports.BuyerSellerRelationshipMode || (exports.BuyerSellerRelationshipMode = {}));
@@ -1,10 +0,0 @@
1
- import { Weight } from "../../measures";
2
- import { Meta } from "../../meta";
3
- import { DigicustDocumentModel } from "./digicust-document.model";
4
- /**
5
- * Identifies an EUR1 document
6
- */
7
- export interface EUR1Document extends DigicustDocumentModel {
8
- EUR1Number?: Meta<string>;
9
- totalGrossWeight?: Weight;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import { Weight, Meta, ATB } from "../..";
2
- import { DigicustDocumentModel } from "./digicust-document.model";
3
- export interface TemporaryUsageModel extends DigicustDocumentModel {
4
- preliminaryDocuments?: ATB[];
5
- weight?: Weight;
6
- numberOfShipments?: Meta<number>;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
1
- import { DigicustDocumentModel } from "./digicust-document.model";
2
- import { DocumentCode, LineItemContainingDocument } from "..";
3
- import { CompanyModel, CustomsOffice, AddressModel, Meta, Weight, MeanOfTransportation, Package, DateTimeModel } from "../..";
4
- /**
5
- * Identifies an Export Declaration
6
- */
7
- export interface TransitDeclaration extends DigicustDocumentModel, LineItemContainingDocument {
8
- shipper?: CompanyModel;
9
- recipient?: CompanyModel;
10
- exitCustomsOffice?: CustomsOffice;
11
- exitDeclarationIssueDate?: DateTimeModel;
12
- mrnNumber?: Meta<string>;
13
- declarationType?: TransitDeclarationType;
14
- packages?: Package[];
15
- numPackages?: Meta<number>;
16
- referenceNumber?: Meta<string>;
17
- exportingCountry?: AddressModel;
18
- destinationCountry?: AddressModel;
19
- meansOfTransportation?: MeanOfTransportation[];
20
- totalGrossWeight?: Weight;
21
- }
22
- export interface TransitDeclarationType extends Meta<"T1" | "T2"> {
23
- documentCode?: DocumentCode;
24
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export interface ItemFraudDetectionDetails {
2
- /** Number between 0 and 1 */
3
- score?: number;
4
- reason?: string;
5
- detector?: string;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });