@contrail/entity-types 1.5.1 → 1.5.3
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/assortment-publish-change.d.ts +48 -0
- package/lib/assortment-publish-change.js +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/loader.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface AssortmentPublishChangeDetail extends OrgManagedEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
createdOn?: Date;
|
|
5
|
+
updatedOn?: Date;
|
|
6
|
+
createdById?: string;
|
|
7
|
+
updatedById?: string;
|
|
8
|
+
createdBy?: any;
|
|
9
|
+
updatedBy?: any;
|
|
10
|
+
orgId?: string;
|
|
11
|
+
assortmentId?: string;
|
|
12
|
+
adds?: any[];
|
|
13
|
+
updates?: any[];
|
|
14
|
+
deletes?: any[];
|
|
15
|
+
familyItemsRemoved?: any[];
|
|
16
|
+
addsDownloadURL?: string;
|
|
17
|
+
updatesDownloadURL?: string;
|
|
18
|
+
deletesDownloadURL?: string;
|
|
19
|
+
familyItemsRemovedDownloadURL?: string;
|
|
20
|
+
unchanged?: any[];
|
|
21
|
+
errors?: any[];
|
|
22
|
+
versionComments?: string;
|
|
23
|
+
versionName?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface AssortmentPublishChange extends OrgManagedEntity {
|
|
26
|
+
id: string;
|
|
27
|
+
createdOn?: Date;
|
|
28
|
+
updatedOn?: Date;
|
|
29
|
+
createdById?: string;
|
|
30
|
+
updatedById?: string;
|
|
31
|
+
createdBy?: any;
|
|
32
|
+
updatedBy?: any;
|
|
33
|
+
orgId?: string;
|
|
34
|
+
assortmentId?: string;
|
|
35
|
+
adds?: number;
|
|
36
|
+
updates?: number;
|
|
37
|
+
deletes?: number;
|
|
38
|
+
unchanged?: number;
|
|
39
|
+
errors?: number;
|
|
40
|
+
detailDownloadLink?: string;
|
|
41
|
+
detail?: AssortmentPublishChangeDetail;
|
|
42
|
+
assortmentBaselineDownloadLink?: string;
|
|
43
|
+
deleteDataDownloadLink?: string;
|
|
44
|
+
hydratedDetailDownloadLink?: string;
|
|
45
|
+
versionComments?: string;
|
|
46
|
+
versionName?: string;
|
|
47
|
+
summary?: any;
|
|
48
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './app-version';
|
|
|
10
10
|
export * from './asset';
|
|
11
11
|
export * from './assortment';
|
|
12
12
|
export * from './assortment-item';
|
|
13
|
+
export * from './assortment-publish-change';
|
|
13
14
|
export * from './assortment-summary';
|
|
14
15
|
export * from './base-managed-entity';
|
|
15
16
|
export * from './batch-fetch-response';
|
package/lib/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./app-version"), exports);
|
|
|
26
26
|
__exportStar(require("./asset"), exports);
|
|
27
27
|
__exportStar(require("./assortment"), exports);
|
|
28
28
|
__exportStar(require("./assortment-item"), exports);
|
|
29
|
+
__exportStar(require("./assortment-publish-change"), exports);
|
|
29
30
|
__exportStar(require("./assortment-summary"), exports);
|
|
30
31
|
__exportStar(require("./base-managed-entity"), exports);
|
|
31
32
|
__exportStar(require("./batch-fetch-response"), exports);
|
package/lib/loader.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export interface LoaderConfiguration extends OrgManagedEntity {
|
|
|
28
28
|
assortmentSplit?: AssortmentSplit;
|
|
29
29
|
workspaceIdentifier?: string;
|
|
30
30
|
propertiesToRemove?: string[];
|
|
31
|
+
skipStaleUpdatesUsing?: string;
|
|
31
32
|
}
|
|
32
33
|
export declare enum LoadStatus {
|
|
33
34
|
ACTIVE = "ACTIVE",
|
|
@@ -62,6 +63,11 @@ export interface RowLoadError {
|
|
|
62
63
|
data: any;
|
|
63
64
|
error: any;
|
|
64
65
|
}
|
|
66
|
+
export interface SkippedStaleRow {
|
|
67
|
+
federatedId: string;
|
|
68
|
+
incomingTimestamp: string;
|
|
69
|
+
existingTimestamp: string;
|
|
70
|
+
}
|
|
65
71
|
export interface LoaderNumbersSummary {
|
|
66
72
|
numberFamiliesLoaded: number;
|
|
67
73
|
numberOptionsLoaded: number;
|
|
@@ -99,6 +105,7 @@ export interface EntityLoadResult {
|
|
|
99
105
|
failedUpdate: RowLoadError[];
|
|
100
106
|
failedDelete: RowLoadError[];
|
|
101
107
|
failed: boolean;
|
|
108
|
+
skippedStale?: SkippedStaleRow[];
|
|
102
109
|
}
|
|
103
110
|
export interface PreprocessingStepStoredResultSummary {
|
|
104
111
|
preprocessingStepName: string;
|