@contrail/entity-types 1.5.5-alpha.0 → 1.5.6-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/loader.d.ts CHANGED
@@ -23,12 +23,21 @@ export declare class ValueToAssortment {
23
23
  }
24
24
  export interface LoaderConfiguration extends OrgManagedEntity {
25
25
  name?: string;
26
+ loadType: LoadType[];
27
+ messageGroupId?: string;
26
28
  federatedMappings?: any;
27
29
  conditionalColumns?: ColumnDefinition[];
28
30
  assortmentSplit?: AssortmentSplit;
29
31
  workspaceIdentifier?: string;
30
32
  propertiesToRemove?: string[];
31
33
  skipStaleUpdatesUsing?: string;
34
+ ignoreParameters: IgnoreParameters;
35
+ loaderConfigurationId?: string;
36
+ shouldSkipAssortmentPublish: boolean;
37
+ }
38
+ export interface IgnoreParameters {
39
+ ignoreFamilyNameOnUpdate: boolean;
40
+ ignoreOptionNameOnUpdate: boolean;
32
41
  }
33
42
  export declare enum LoadStatus {
34
43
  ACTIVE = "ACTIVE",
@@ -122,17 +131,10 @@ export interface ProcessedData {
122
131
  systemErrors: GeneralIssueDetails[];
123
132
  failureArea: LoaderFailureArea;
124
133
  }
125
- export declare class LoaderProcess implements OrgManagedEntity {
134
+ export interface LoaderProcess extends LoaderConfiguration {
126
135
  id: string;
127
- createdOn?: Date;
128
- updatedOn?: Date;
129
- createdById?: string;
130
- updatedById?: string;
131
136
  createdBy?: any;
132
137
  updatedBy?: any;
133
- orgId?: string;
134
- loaderConfigurationId?: string;
135
- name?: string;
136
138
  endedOn?: Date;
137
139
  status: LoadStatus;
138
140
  logLevel?: LogLevel;
@@ -147,19 +149,12 @@ export declare class LoaderProcess implements OrgManagedEntity {
147
149
  preprocessingStepResults?: PreprocessingStepStoredResultSummary[];
148
150
  processDurationSeconds?: number;
149
151
  loadFileId: string;
150
- loadType: LoadType[];
151
- federatedMappings?: any;
152
- conditionalColumns?: ColumnDefinition[];
153
- assortmentSplit?: AssortmentSplit;
154
152
  partialAssortmentUpdate?: boolean;
155
153
  assortmentItemDropField?: string;
156
- workspaceIdentifier?: string;
157
- propertiesToRemove?: string[];
158
154
  badRowsCount?: number;
159
155
  uploadErrorCount?: number;
160
156
  hasErrors?: boolean;
161
157
  parallelWorkerCount?: number;
162
- messageGroupId?: string;
163
158
  isPartialFailure?: boolean;
164
159
  }
165
160
  export declare enum IssueType {
@@ -190,7 +185,8 @@ export declare enum EntityType {
190
185
  export declare enum PreValidationCategory {
191
186
  OPTION_SET = "OPTION_SET",
192
187
  FORMAT_BOOLEAN = "FORMAT_BOOLEAN",
193
- FORMAT_MULTI_SELECT = "FORMAT_MULTI_SELECT"
188
+ FORMAT_MULTI_SELECT = "FORMAT_MULTI_SELECT",
189
+ CONFIG = "CONFIG"
194
190
  }
195
191
  export declare enum PreValidationSeverity {
196
192
  ERROR = "error",
package/lib/loader.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PreValidationSeverity = exports.PreValidationCategory = exports.EntityType = exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
3
+ exports.PreValidationSeverity = exports.PreValidationCategory = exports.EntityType = exports.LoaderFailureArea = exports.IssueType = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
4
4
  class ColumnDefinition {
5
5
  fromProperty;
6
6
  toProperty;
@@ -44,47 +44,6 @@ var LoadType;
44
44
  LoadType["SIZE_RANGE_TEMPLATE"] = "SIZE_RANGE_TEMPLATE";
45
45
  LoadType["PROJECT"] = "PROJECT";
46
46
  })(LoadType = exports.LoadType || (exports.LoadType = {}));
47
- class LoaderProcess {
48
- id;
49
- createdOn;
50
- updatedOn;
51
- createdById;
52
- updatedById;
53
- createdBy;
54
- updatedBy;
55
- orgId;
56
- loaderConfigurationId;
57
- name;
58
- endedOn;
59
- status;
60
- logLevel;
61
- processLogs;
62
- processLogS3File;
63
- processLogS3FileDownloadLink;
64
- logsFileId;
65
- logFileDownloadLink;
66
- loadProcessResult;
67
- loadProcessResultFileId;
68
- loadProcessResultDownloadLink;
69
- preprocessingStepResults;
70
- processDurationSeconds;
71
- loadFileId;
72
- loadType;
73
- federatedMappings;
74
- conditionalColumns;
75
- assortmentSplit;
76
- partialAssortmentUpdate;
77
- assortmentItemDropField;
78
- workspaceIdentifier;
79
- propertiesToRemove;
80
- badRowsCount;
81
- uploadErrorCount;
82
- hasErrors;
83
- parallelWorkerCount;
84
- messageGroupId;
85
- isPartialFailure;
86
- }
87
- exports.LoaderProcess = LoaderProcess;
88
47
  var IssueType;
89
48
  (function (IssueType) {
90
49
  IssueType["CONFIG"] = "CONFIG";
@@ -118,6 +77,7 @@ var PreValidationCategory;
118
77
  PreValidationCategory["OPTION_SET"] = "OPTION_SET";
119
78
  PreValidationCategory["FORMAT_BOOLEAN"] = "FORMAT_BOOLEAN";
120
79
  PreValidationCategory["FORMAT_MULTI_SELECT"] = "FORMAT_MULTI_SELECT";
80
+ PreValidationCategory["CONFIG"] = "CONFIG";
121
81
  })(PreValidationCategory = exports.PreValidationCategory || (exports.PreValidationCategory = {}));
122
82
  var PreValidationSeverity;
123
83
  (function (PreValidationSeverity) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.5.5-alpha.0",
3
+ "version": "1.5.6-alpha.1",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",