digicust_types 1.7.538 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/lib/models/digicust/billing/periods.enum.js +1 -1
  2. package/lib/models/digicust/case/case-status.enum.js +1 -1
  3. package/lib/models/digicust/case/case-submission-transaction.js +2 -2
  4. package/lib/models/digicust/case/case-type.enum.js +1 -1
  5. package/lib/models/digicust/case/case.model.d.ts +1 -1
  6. package/lib/models/digicust/company/permit-number.model.js +1 -1
  7. package/lib/models/digicust/customer/project.model.js +1 -1
  8. package/lib/models/digicust/customs/buyerSellerRelationship.model.js +1 -1
  9. package/lib/models/digicust/customs/consignment-size.enum.js +1 -1
  10. package/lib/models/digicust/customs/customsOffice.model.js +1 -1
  11. package/lib/models/digicust/customs/declaration-type.enum.js +1 -1
  12. package/lib/models/digicust/customs/operation-type.enum.js +1 -1
  13. package/lib/models/digicust/customs/port-type.enum.js +1 -1
  14. package/lib/models/digicust/customs/procedure.model.js +1 -1
  15. package/lib/models/digicust/customs/representative-constellation.enum.js +1 -1
  16. package/lib/models/digicust/customs/type-of-business/type-of-business.enum.js +1 -1
  17. package/lib/models/digicust/documents/digicust-document-type.enum.js +1 -1
  18. package/lib/models/digicust/documents/document-language.enum.js +1 -1
  19. package/lib/models/digicust/documents/document-status.enum.js +4 -4
  20. package/lib/models/digicust/documents/document-types/document-types-helper.d.ts +3 -3
  21. package/lib/models/digicust/documents/document-types/structured-data.d.ts +7 -0
  22. package/lib/models/digicust/documents/document-types/structured-data.js +2 -0
  23. package/lib/models/digicust/documents/document-types/user-input.model.d.ts +2 -0
  24. package/lib/models/digicust/documents/preliminary-documents/preliminary-document.model.js +1 -1
  25. package/lib/models/digicust/documents/waybill-type.model.js +1 -1
  26. package/lib/models/digicust/environment.enum.js +1 -1
  27. package/lib/models/digicust/event/event.model.js +1 -1
  28. package/lib/models/digicust/execution-strategy/index.d.ts +1 -0
  29. package/lib/models/digicust/execution-strategy/index.js +1 -0
  30. package/lib/models/digicust/frontend/field-type.enum.js +1 -1
  31. package/lib/models/digicust/frontend/filter.enum.js +1 -1
  32. package/lib/models/digicust/frontend/prefix.enum.js +1 -1
  33. package/lib/models/digicust/frontend/section-type.enum.js +1 -1
  34. package/lib/models/digicust/frontend/sort.enum.js +1 -1
  35. package/lib/models/digicust/masterdata/material.model.d.ts +11 -0
  36. package/lib/models/digicust/masterdata/material.model.js +8 -2
  37. package/lib/models/digicust/masterdata/stakeholder-role.enum.js +1 -1
  38. package/lib/models/digicust/masterdata/string-scoring-algorithm-type.enum.js +1 -1
  39. package/lib/models/digicust/measures/dimensions/dimensions-unit.enum.js +1 -1
  40. package/lib/models/digicust/measures/money/currency.enum.js +1 -1
  41. package/lib/models/digicust/measures/unit-of-measurement/uom.enum.js +1 -1
  42. package/lib/models/digicust/measures/weight/weight-unit.enum.js +1 -1
  43. package/lib/models/digicust/module/module.model.js +2 -2
  44. package/lib/models/digicust/transportation/cost-intersection.model.js +1 -1
  45. package/lib/models/digicust/transportation/incoterm.model.js +1 -1
  46. package/lib/models/digicust/transportation/load-type.enum.js +1 -1
  47. package/lib/models/digicust/transportation/mean-of-transportation.model.js +2 -2
  48. package/lib/models/rossum/rossum-import-status.enum.js +1 -1
  49. package/package.json +15 -17
@@ -6,4 +6,4 @@ var BillingPeriods;
6
6
  BillingPeriods["monthly"] = "monthly";
7
7
  BillingPeriods["half_yearly"] = "half_yearly";
8
8
  BillingPeriods["anually"] = "anually";
9
- })(BillingPeriods = exports.BillingPeriods || (exports.BillingPeriods = {}));
9
+ })(BillingPeriods || (exports.BillingPeriods = BillingPeriods = {}));
@@ -23,4 +23,4 @@ var CaseStatus;
23
23
  CaseStatus["questionCustoms"] = "questionCustoms";
24
24
  CaseStatus["firstClearance"] = "firstClearance";
25
25
  CaseStatus["secondClearance"] = "secondClearance";
26
- })(CaseStatus = exports.CaseStatus || (exports.CaseStatus = {}));
26
+ })(CaseStatus || (exports.CaseStatus = CaseStatus = {}));
@@ -9,7 +9,7 @@ var CaseSubmissionProcedure;
9
9
  // Freier Verkehr
10
10
  CaseSubmissionProcedure["FreierVerkehrAbfertigung"] = "FreierVerkehrAbfertigung";
11
11
  CaseSubmissionProcedure["ErgaenzendeAnmeldungFVAVUV"] = "ErgaenzendeAnmeldungFVAVUV";
12
- })(CaseSubmissionProcedure = exports.CaseSubmissionProcedure || (exports.CaseSubmissionProcedure = {}));
12
+ })(CaseSubmissionProcedure || (exports.CaseSubmissionProcedure = CaseSubmissionProcedure = {}));
13
13
  var CaseSubmissionTransactionType;
14
14
  (function (CaseSubmissionTransactionType) {
15
15
  // Freier Verkehr
@@ -17,4 +17,4 @@ var CaseSubmissionTransactionType;
17
17
  CaseSubmissionTransactionType["FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung"] = "FreierVerkehrAbfertigungFreierVerkehrAktVeredelUmwandlung";
18
18
  CaseSubmissionTransactionType["VersandanmeldungNCTSDE"] = "VersandanmeldungNCTSDE";
19
19
  CaseSubmissionTransactionType["QuittungEingangsverarbeitung"] = "QuittungEingangsverarbeitung";
20
- })(CaseSubmissionTransactionType = exports.CaseSubmissionTransactionType || (exports.CaseSubmissionTransactionType = {}));
20
+ })(CaseSubmissionTransactionType || (exports.CaseSubmissionTransactionType = CaseSubmissionTransactionType = {}));
@@ -9,4 +9,4 @@ var CaseType;
9
9
  (function (CaseType) {
10
10
  CaseType["import"] = "import";
11
11
  CaseType["export"] = "export";
12
- })(CaseType = exports.CaseType || (exports.CaseType = {}));
12
+ })(CaseType || (exports.CaseType = CaseType = {}));
@@ -1,4 +1,4 @@
1
- import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ExecutionStrategy, ModuleCategory, ModuleType, StatsCaseModel, UploadedFileModel, ProcedureMode, Meta, ErrorModel } from "..";
1
+ import { AggregatedCaseDataModel, CaseStatus, DigicustDocumentModel, Environment, ErrorModel, ExecutionStrategy, Meta, ModuleCategory, ModuleType, ProcedureMode, StatsCaseModel, UploadedFileModel } from "..";
2
2
  import { ProcessingModel } from "../queue";
3
3
  /**
4
4
  * Model used for any kind of customs case.
@@ -7,4 +7,4 @@ var PermitNumberType;
7
7
  PermitNumberType["letterProcedure"] = "letterProcedure";
8
8
  PermitNumberType["passiveProcessing"] = "passiveProcessing";
9
9
  PermitNumberType["trustedExporter"] = "trustedExporter";
10
- })(PermitNumberType = exports.PermitNumberType || (exports.PermitNumberType = {}));
10
+ })(PermitNumberType || (exports.PermitNumberType = PermitNumberType = {}));
@@ -5,4 +5,4 @@ var CustomsSystem;
5
5
  (function (CustomsSystem) {
6
6
  CustomsSystem["atlas"] = "atlas";
7
7
  CustomsSystem["eZoll"] = "eZoll";
8
- })(CustomsSystem = exports.CustomsSystem || (exports.CustomsSystem = {}));
8
+ })(CustomsSystem || (exports.CustomsSystem = CustomsSystem = {}));
@@ -9,4 +9,4 @@ var BuyerSellerRelationshipMode;
9
9
  BuyerSellerRelationshipMode["ConnectedNoInfluence"] = "connectedNoInfluence";
10
10
  /* Seller and buyer are connected, the connection has influenced the price */
11
11
  BuyerSellerRelationshipMode["ConnectedInfluence"] = "connectedInfluence";
12
- })(BuyerSellerRelationshipMode = exports.BuyerSellerRelationshipMode || (exports.BuyerSellerRelationshipMode = {}));
12
+ })(BuyerSellerRelationshipMode || (exports.BuyerSellerRelationshipMode = BuyerSellerRelationshipMode = {}));
@@ -5,4 +5,4 @@ var ConsignmentSize;
5
5
  (function (ConsignmentSize) {
6
6
  ConsignmentSize["smallConsignment"] = "small";
7
7
  ConsignmentSize["bulkConsignment"] = "bulk";
8
- })(ConsignmentSize = exports.ConsignmentSize || (exports.ConsignmentSize = {}));
8
+ })(ConsignmentSize || (exports.ConsignmentSize = ConsignmentSize = {}));
@@ -9,4 +9,4 @@ var CustomsOfficeType;
9
9
  CustomsOfficeType["transit"] = "Transit";
10
10
  CustomsOfficeType["import"] = "Import";
11
11
  CustomsOfficeType["declaration"] = "Declaration";
12
- })(CustomsOfficeType = exports.CustomsOfficeType || (exports.CustomsOfficeType = {}));
12
+ })(CustomsOfficeType || (exports.CustomsOfficeType = CustomsOfficeType = {}));
@@ -5,4 +5,4 @@ var DeclarationType;
5
5
  (function (DeclarationType) {
6
6
  DeclarationType["declaration"] = "declaration";
7
7
  DeclarationType["preDeclaration"] = "preDeclaration";
8
- })(DeclarationType = exports.DeclarationType || (exports.DeclarationType = {}));
8
+ })(DeclarationType || (exports.DeclarationType = DeclarationType = {}));
@@ -16,4 +16,4 @@ var OperationType;
16
16
  OperationType["outwardProcessing"] = "OutwardProcessing";
17
17
  OperationType["throughTransit"] = "ThroughTransit";
18
18
  OperationType["outwardTransit"] = "OutwardTransit";
19
- })(OperationType = exports.OperationType || (exports.OperationType = {}));
19
+ })(OperationType || (exports.OperationType = OperationType = {}));
@@ -5,4 +5,4 @@ var PortType;
5
5
  (function (PortType) {
6
6
  PortType["Port"] = "port";
7
7
  PortType["Airport"] = "airport";
8
- })(PortType = exports.PortType || (exports.PortType = {}));
8
+ })(PortType || (exports.PortType = PortType = {}));
@@ -7,4 +7,4 @@ var ProcedureMode;
7
7
  ProcedureMode["import"] = "import";
8
8
  ProcedureMode["intrastat"] = "intrastat";
9
9
  ProcedureMode["transit"] = "transit";
10
- })(ProcedureMode = exports.ProcedureMode || (exports.ProcedureMode = {}));
10
+ })(ProcedureMode || (exports.ProcedureMode = ProcedureMode = {}));
@@ -6,4 +6,4 @@ var RepresentativeConstellation;
6
6
  RepresentativeConstellation["None"] = "none";
7
7
  RepresentativeConstellation["Direct"] = "direct";
8
8
  RepresentativeConstellation["Indirect"] = "indirect";
9
- })(RepresentativeConstellation = exports.RepresentativeConstellation || (exports.RepresentativeConstellation = {}));
9
+ })(RepresentativeConstellation || (exports.RepresentativeConstellation = RepresentativeConstellation = {}));
@@ -45,4 +45,4 @@ var TypeOfBusinessType;
45
45
  TypeOfBusinessType["OtherRentalBusiness"] = "otherRentalBusiness";
46
46
  /** Sonstige Geschäfte */
47
47
  TypeOfBusinessType["OtherBusiness"] = "otherBusiness";
48
- })(TypeOfBusinessType = exports.TypeOfBusinessType || (exports.TypeOfBusinessType = {}));
48
+ })(TypeOfBusinessType || (exports.TypeOfBusinessType = TypeOfBusinessType = {}));
@@ -29,4 +29,4 @@ var DigicustDocumentType;
29
29
  DigicustDocumentType["ATR"] = "ATR";
30
30
  DigicustDocumentType["EUR1"] = "EUR1";
31
31
  DigicustDocumentType["UserInput"] = "UserInput";
32
- })(DigicustDocumentType = exports.DigicustDocumentType || (exports.DigicustDocumentType = {}));
32
+ })(DigicustDocumentType || (exports.DigicustDocumentType = DigicustDocumentType = {}));
@@ -14,4 +14,4 @@ var DocumentLanguage;
14
14
  DocumentLanguage["SK"] = "slowakian";
15
15
  DocumentLanguage["HU"] = "hungarian";
16
16
  DocumentLanguage["IT"] = "italian";
17
- })(DocumentLanguage = exports.DocumentLanguage || (exports.DocumentLanguage = {}));
17
+ })(DocumentLanguage || (exports.DocumentLanguage = DocumentLanguage = {}));
@@ -14,7 +14,7 @@ var DocumentStatus;
14
14
  DocumentStatus["Error"] = "error";
15
15
  DocumentStatus["Finished"] = "finished";
16
16
  DocumentStatus["Review"] = "review";
17
- })(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
17
+ })(DocumentStatus || (exports.DocumentStatus = DocumentStatus = {}));
18
18
  var UserDocumentStatus;
19
19
  (function (UserDocumentStatus) {
20
20
  UserDocumentStatus["Aborted"] = "aborted";
@@ -25,14 +25,14 @@ var UserDocumentStatus;
25
25
  UserDocumentStatus["Exported"] = "exported";
26
26
  UserDocumentStatus["Testing"] = "testing";
27
27
  UserDocumentStatus["Validate"] = "validate";
28
- })(UserDocumentStatus = exports.UserDocumentStatus || (exports.UserDocumentStatus = {}));
28
+ })(UserDocumentStatus || (exports.UserDocumentStatus = UserDocumentStatus = {}));
29
29
  var SubDocumentStatus;
30
30
  (function (SubDocumentStatus) {
31
31
  SubDocumentStatus["manual"] = "manual";
32
32
  SubDocumentStatus["inProgress"] = "In Progress";
33
33
  SubDocumentStatus["completed"] = "completed";
34
34
  SubDocumentStatus["failed"] = "failed";
35
- })(SubDocumentStatus = exports.SubDocumentStatus || (exports.SubDocumentStatus = {}));
35
+ })(SubDocumentStatus || (exports.SubDocumentStatus = SubDocumentStatus = {}));
36
36
  var ClassificationStatus;
37
37
  (function (ClassificationStatus) {
38
38
  ClassificationStatus["Edit"] = "edit";
@@ -42,4 +42,4 @@ var ClassificationStatus;
42
42
  ClassificationStatus["Finished"] = "finished";
43
43
  ClassificationStatus["Erased"] = "erased";
44
44
  ClassificationStatus["OtherDocs"] = "otherdocs";
45
- })(ClassificationStatus = exports.ClassificationStatus || (exports.ClassificationStatus = {}));
45
+ })(ClassificationStatus || (exports.ClassificationStatus = ClassificationStatus = {}));
@@ -5,6 +5,6 @@ import { PackingListModel } from "./packing-list.model";
5
5
  import { WaybillModel } from "./waybill.model";
6
6
  import { EmailDocument } from "./email-document.model";
7
7
  import { TemporaryStorageModel } from "./temporary-storage.model";
8
- export declare type ProcessableDocumentTypes = InvoiceModel | PackingListModel | ExportDeclaration | WaybillModel | DeliveryNotesModel | EmailDocument | TemporaryStorageModel;
9
- export declare type ProcessableDocumentTypesArray = InvoiceModel[] | PackingListModel[] | ExportDeclaration[] | WaybillModel[] | DeliveryNotesModel[] | EmailDocument[] | TemporaryStorageModel[];
10
- export declare type ProcessableDocumentTypesValue = "invoice" | "packingList" | "exportDeclaration" | "waybill" | "deliveryNotes" | "email" | "TemporaryStorage";
8
+ export type ProcessableDocumentTypes = InvoiceModel | PackingListModel | ExportDeclaration | WaybillModel | DeliveryNotesModel | EmailDocument | TemporaryStorageModel;
9
+ export type ProcessableDocumentTypesArray = InvoiceModel[] | PackingListModel[] | ExportDeclaration[] | WaybillModel[] | DeliveryNotesModel[] | EmailDocument[] | TemporaryStorageModel[];
10
+ export type ProcessableDocumentTypesValue = "invoice" | "packingList" | "exportDeclaration" | "waybill" | "deliveryNotes" | "email" | "TemporaryStorage";
@@ -0,0 +1,7 @@
1
+ import { LineItemContainingDocument } from "..";
2
+ import { DigicustDocumentModel } from "./digicust-document.model";
3
+ export interface PackingListModel extends DigicustDocumentModel, LineItemContainingDocument {
4
+ source: {
5
+ [key: string]: string;
6
+ };
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,7 @@
1
1
  import { AggregatedCaseDataModel } from "../../case";
2
2
  import { ValidationError } from "../../errors.model";
3
3
  import { ExecutionStrategy } from "../../execution-strategy";
4
+ import { LineItemModel } from "../../line-item";
4
5
  import { DigicustDocumentModel } from "./digicust-document.model";
5
6
  /**
6
7
  * Identifies user input as a document
@@ -10,4 +11,5 @@ export interface UserInput extends DigicustDocumentModel {
10
11
  annotatedAggregated?: AggregatedCaseDataModel;
11
12
  annotatedExecutionStrategy?: ExecutionStrategy;
12
13
  customValidationMessages?: ValidationError[];
14
+ annotatedLineItem?: LineItemModel;
13
15
  }
@@ -4,4 +4,4 @@ exports.PreliminaryDocumentType = void 0;
4
4
  var PreliminaryDocumentType;
5
5
  (function (PreliminaryDocumentType) {
6
6
  PreliminaryDocumentType["ATB"] = "ATB";
7
- })(PreliminaryDocumentType = exports.PreliminaryDocumentType || (exports.PreliminaryDocumentType = {}));
7
+ })(PreliminaryDocumentType || (exports.PreliminaryDocumentType = PreliminaryDocumentType = {}));
@@ -11,4 +11,4 @@ var WaybillType;
11
11
  WaybillType["cmrWaybill"] = "cmrWaybill";
12
12
  WaybillType["billOfLading"] = "billOfLading";
13
13
  WaybillType["konossement"] = "konossement";
14
- })(WaybillType = exports.WaybillType || (exports.WaybillType = {}));
14
+ })(WaybillType || (exports.WaybillType = WaybillType = {}));
@@ -5,4 +5,4 @@ var Environment;
5
5
  (function (Environment) {
6
6
  Environment["development"] = "development";
7
7
  Environment["production"] = "production";
8
- })(Environment = exports.Environment || (exports.Environment = {}));
8
+ })(Environment || (exports.Environment = Environment = {}));
@@ -7,4 +7,4 @@ var EventType;
7
7
  EventType["mail"] = "email";
8
8
  EventType["sftp"] = "sftp";
9
9
  EventType["mountedSFTP"] = "mountedSFTP";
10
- })(EventType = exports.EventType || (exports.EventType = {}));
10
+ })(EventType || (exports.EventType = EventType = {}));
@@ -1,2 +1,3 @@
1
1
  export * from "./execution-strategy.model";
2
2
  export * from "./rule";
3
+ export * from "./sftp-config.model";
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./execution-strategy.model"), exports);
18
18
  __exportStar(require("./rule"), exports);
19
+ __exportStar(require("./sftp-config.model"), exports);
@@ -11,4 +11,4 @@ var FieldType;
11
11
  FieldType["phoneNumber"] = "phoneNumber";
12
12
  FieldType["email"] = "email";
13
13
  FieldType["address"] = "address";
14
- })(FieldType = exports.FieldType || (exports.FieldType = {}));
14
+ })(FieldType || (exports.FieldType = FieldType = {}));
@@ -10,4 +10,4 @@ var FilterCondition;
10
10
  FilterCondition["endsWith"] = "endsWith";
11
11
  FilterCondition["contains"] = "contains";
12
12
  FilterCondition["isUserEdited"] = "isUserEdited";
13
- })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
13
+ })(FilterCondition || (exports.FilterCondition = FilterCondition = {}));
@@ -7,4 +7,4 @@ var FieldPrefix;
7
7
  FieldPrefix["eur"] = "\u20AC";
8
8
  FieldPrefix["cm"] = "cm";
9
9
  // empty = "",
10
- })(FieldPrefix = exports.FieldPrefix || (exports.FieldPrefix = {}));
10
+ })(FieldPrefix || (exports.FieldPrefix = FieldPrefix = {}));
@@ -13,4 +13,4 @@ var SectionType;
13
13
  SectionType["type8"] = "type8";
14
14
  SectionType["type9"] = "type9";
15
15
  SectionType["type10"] = "type10";
16
- })(SectionType = exports.SectionType || (exports.SectionType = {}));
16
+ })(SectionType || (exports.SectionType = SectionType = {}));
@@ -5,4 +5,4 @@ var SortOrder;
5
5
  (function (SortOrder) {
6
6
  SortOrder["ASC"] = "ASC";
7
7
  SortOrder["DESC"] = "DESC";
8
- })(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
8
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
@@ -1,6 +1,11 @@
1
1
  import { TypeOfBusinessType, TradePreference, DigicustDocumentType, ProcedureMode } from "..";
2
2
  import { Money, DateTimeModel, Quantity, Workflow, Meta, UOM, Weight, Dimensions, CustomsTariffNumber } from "../..";
3
3
  import { DocumentCode } from "../documents";
4
+ export declare enum ClassificationTypes {
5
+ noClassifiaction = "noClassifiaction",
6
+ classifyAndSuggest = "classifyAndSuggest",
7
+ classifyAndReplace = "classifyAndReplace"
8
+ }
4
9
  export interface ItemPrice {
5
10
  price?: Money;
6
11
  priceDate?: DateTimeModel;
@@ -149,6 +154,12 @@ export interface MaterialModel {
149
154
  * Redundant meta property needed for search scoring
150
155
  */
151
156
  hasAnyUserEditedProperties?: boolean;
157
+ /**
158
+ * Suggestions added while uploading bulk data
159
+ */
160
+ suggestions?: {
161
+ tariffNumber?: string;
162
+ };
152
163
  meta?: {
153
164
  version?: number;
154
165
  userCreated?: boolean;
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MasterDataCreationType = void 0;
3
+ exports.MasterDataCreationType = exports.ClassificationTypes = void 0;
4
+ var ClassificationTypes;
5
+ (function (ClassificationTypes) {
6
+ ClassificationTypes["noClassifiaction"] = "noClassifiaction";
7
+ ClassificationTypes["classifyAndSuggest"] = "classifyAndSuggest";
8
+ ClassificationTypes["classifyAndReplace"] = "classifyAndReplace";
9
+ })(ClassificationTypes || (exports.ClassificationTypes = ClassificationTypes = {}));
4
10
  var MasterDataCreationType;
5
11
  (function (MasterDataCreationType) {
6
12
  MasterDataCreationType["manual"] = "manual";
7
13
  MasterDataCreationType["processed"] = "processed";
8
14
  MasterDataCreationType["file"] = "file";
9
- })(MasterDataCreationType = exports.MasterDataCreationType || (exports.MasterDataCreationType = {}));
15
+ })(MasterDataCreationType || (exports.MasterDataCreationType = MasterDataCreationType = {}));
@@ -12,4 +12,4 @@ var StakeholderRole;
12
12
  StakeholderRole["Buyer"] = "buyer";
13
13
  StakeholderRole["Carrier"] = "carrier";
14
14
  StakeholderRole["Warehouse"] = "warehouse";
15
- })(StakeholderRole = exports.StakeholderRole || (exports.StakeholderRole = {}));
15
+ })(StakeholderRole || (exports.StakeholderRole = StakeholderRole = {}));
@@ -7,4 +7,4 @@ var StringScoringAlgorithmType;
7
7
  StringScoringAlgorithmType["Normalized"] = "normalized";
8
8
  StringScoringAlgorithmType["JaroWrinkler"] = "jaro-wrinkler";
9
9
  StringScoringAlgorithmType["CosineSimilarity"] = "cosine-similarity";
10
- })(StringScoringAlgorithmType = exports.StringScoringAlgorithmType || (exports.StringScoringAlgorithmType = {}));
10
+ })(StringScoringAlgorithmType || (exports.StringScoringAlgorithmType = StringScoringAlgorithmType = {}));
@@ -8,4 +8,4 @@ var DimensionsUnit;
8
8
  DimensionsUnit["feet"] = "ft";
9
9
  DimensionsUnit["decimeter"] = "dm";
10
10
  DimensionsUnit["milimeter"] = "mm";
11
- })(DimensionsUnit = exports.DimensionsUnit || (exports.DimensionsUnit = {}));
11
+ })(DimensionsUnit || (exports.DimensionsUnit = DimensionsUnit = {}));
@@ -182,4 +182,4 @@ var Currency;
182
182
  Currency["ZAR"] = "ZAR";
183
183
  Currency["ZMW"] = "ZMW";
184
184
  Currency["ZWL"] = "ZWL";
185
- })(Currency = exports.Currency || (exports.Currency = {}));
185
+ })(Currency || (exports.Currency = Currency = {}));
@@ -41,4 +41,4 @@ var UOM;
41
41
  UOM["SYD"] = "SYD";
42
42
  UOM["TU"] = "TU";
43
43
  UOM["YD"] = "YD";
44
- })(UOM = exports.UOM || (exports.UOM = {}));
44
+ })(UOM || (exports.UOM = UOM = {}));
@@ -11,4 +11,4 @@ var WeightUnit;
11
11
  WeightUnit["decagram"] = "dag";
12
12
  WeightUnit["ton"] = "t";
13
13
  WeightUnit["microgram"] = "\u00B5g";
14
- })(WeightUnit = exports.WeightUnit || (exports.WeightUnit = {}));
14
+ })(WeightUnit || (exports.WeightUnit = WeightUnit = {}));
@@ -12,7 +12,7 @@ var ModuleType;
12
12
  ModuleType["productClassification"] = "Product Classification";
13
13
  ModuleType["statistics"] = "Statistics";
14
14
  ModuleType["masterModule"] = "Master Module";
15
- })(ModuleType = exports.ModuleType || (exports.ModuleType = {}));
15
+ })(ModuleType || (exports.ModuleType = ModuleType = {}));
16
16
  var ModuleCategory;
17
17
  (function (ModuleCategory) {
18
18
  ModuleCategory["default"] = "Default";
@@ -24,4 +24,4 @@ var ModuleCategory;
24
24
  ModuleCategory["t2Transit"] = "T2 Transit";
25
25
  ModuleCategory["masterData"] = "Master Data";
26
26
  ModuleCategory["stakeHolderData"] = "StakeHolder Data";
27
- })(ModuleCategory = exports.ModuleCategory || (exports.ModuleCategory = {}));
27
+ })(ModuleCategory || (exports.ModuleCategory = ModuleCategory = {}));
@@ -13,4 +13,4 @@ var CostIntersectionTypes;
13
13
  CostIntersectionTypes["freeBorderDutyPaidExclusiveVat"] = "freeBorderDutyPaidExclusiveVat";
14
14
  CostIntersectionTypes["insideZoneDutyPaidExclusiveVat"] = "insideZoneDutyPaidExclusiveVat";
15
15
  CostIntersectionTypes["freeBorderDutyPaidValueEstimated"] = "freeBorderDutyPaidValueEstimated";
16
- })(CostIntersectionTypes = exports.CostIntersectionTypes || (exports.CostIntersectionTypes = {}));
16
+ })(CostIntersectionTypes || (exports.CostIntersectionTypes = CostIntersectionTypes = {}));
@@ -18,4 +18,4 @@ var Incoterm;
18
18
  Incoterm["DPU"] = "DPU";
19
19
  Incoterm["DAT"] = "DAT";
20
20
  Incoterm["DDP"] = "DDP";
21
- })(Incoterm = exports.Incoterm || (exports.Incoterm = {}));
21
+ })(Incoterm || (exports.Incoterm = Incoterm = {}));
@@ -16,4 +16,4 @@ var LoadType;
16
16
  LoadType["LTL"] = "LTL";
17
17
  /** Bulk Cargo */
18
18
  LoadType["Bulk"] = "Bulk";
19
- })(LoadType = exports.LoadType || (exports.LoadType = {}));
19
+ })(LoadType || (exports.LoadType = LoadType = {}));
@@ -11,11 +11,11 @@ var MeanOfTransportationMode;
11
11
  MeanOfTransportationMode["fixedInstallations"] = "FixedInstallations";
12
12
  MeanOfTransportationMode["inlandWaterway"] = "InlandWaterway";
13
13
  MeanOfTransportationMode["unknown"] = "Unknown";
14
- })(MeanOfTransportationMode = exports.MeanOfTransportationMode || (exports.MeanOfTransportationMode = {}));
14
+ })(MeanOfTransportationMode || (exports.MeanOfTransportationMode = MeanOfTransportationMode = {}));
15
15
  var MeanOfTransportationType;
16
16
  (function (MeanOfTransportationType) {
17
17
  MeanOfTransportationType["border"] = "Border";
18
18
  MeanOfTransportationType["arrival"] = "Arrival";
19
19
  MeanOfTransportationType["departure"] = "Departure";
20
20
  MeanOfTransportationType["inland"] = "Inland";
21
- })(MeanOfTransportationType = exports.MeanOfTransportationType || (exports.MeanOfTransportationType = {}));
21
+ })(MeanOfTransportationType || (exports.MeanOfTransportationType = MeanOfTransportationType = {}));
@@ -15,4 +15,4 @@ var RossumImportStatus;
15
15
  RossumImportStatus["Purged"] = "purged";
16
16
  RossumImportStatus["Confirmed"] = "confirmed";
17
17
  RossumImportStatus["Split"] = "split";
18
- })(RossumImportStatus = exports.RossumImportStatus || (exports.RossumImportStatus = {}));
18
+ })(RossumImportStatus || (exports.RossumImportStatus = RossumImportStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.7.538",
3
+ "version": "1.8.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -12,8 +12,10 @@
12
12
  "build": "tsc",
13
13
  "build-deploy": "git pull && npm version patch && npm run build && npm publish",
14
14
  "deploy-docs": "npm i && npx typedoc src/index.ts",
15
- "lint-fix": "eslint --fix --ext .ts .",
16
- "prettier.fix": "prettier --write ."
15
+ "lint.fix": "eslint --fix --ext .ts .",
16
+ "prettier.fix": "prettier --write .",
17
+ "prepare": "husky install",
18
+ "lint-staged": "lint-staged"
17
19
  },
18
20
  "repository": {
19
21
  "type": "git",
@@ -27,22 +29,18 @@
27
29
  },
28
30
  "homepage": "https://github.com/Digicust0406/types#readme",
29
31
  "dependencies": {
30
- "openai": "^3.3.0",
31
- "ts-interface-checker": "^1.0.2",
32
- "typedoc": "^0.22.13",
33
- "user": "^0.0.0"
32
+ "typedoc": "^0.25.2"
34
33
  },
35
34
  "devDependencies": {
36
- "@types/node": "^20.2.3",
37
- "@typescript-eslint/eslint-plugin": "^4.33.0",
38
- "eslint": "^7.23.0",
39
- "eslint-config-airbnb-typescript": "^12.3.1",
40
- "eslint-plugin-import": "^2.25.4",
41
- "eslint-plugin-jsx-a11y": "^6.5.1",
42
- "eslint-plugin-react": "^7.29.4",
35
+ "@types/node": "^20.8.9",
36
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
37
+ "@typescript-eslint/parser": "^6.9.0",
38
+ "eslint": "^8.52.0",
39
+ "eslint-config-airbnb-typescript": "^17.1.0",
40
+ "eslint-plugin-import": "^2.29.0",
41
+ "husky": "^8.0.3",
42
+ "lint-staged": "^15.0.2",
43
43
  "prettier": "^3.0.3",
44
- "run-for-every-file": "^1.1.0",
45
- "ts-interface-builder": "^0.3.3",
46
- "typescript": "^4.6.3"
44
+ "typescript": "^5.2.2"
47
45
  }
48
46
  }