@contrail/entity-types 1.1.55-8 → 1.1.55
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/.github/pull_request_template.md +7 -6
- package/.github/workflows/empty.yml +1 -2
- package/.github/workflows/generate-entity-types-docs.yml +1 -1
- package/.prettierrc.yaml +2 -0
- package/README.md +2 -1
- package/lib/app-api-key.d.ts +2 -2
- package/lib/app-extension-definition.d.ts +3 -3
- package/lib/app-extension.d.ts +4 -4
- package/lib/app-org.d.ts +3 -3
- package/lib/app-version.d.ts +5 -5
- package/lib/asset.d.ts +1 -1
- package/lib/client.d.ts +1 -0
- package/lib/client.js +1 -0
- package/lib/content-custom-size.d.ts +1 -1
- package/lib/contentholder-content.d.ts +1 -1
- package/lib/index.d.ts +27 -27
- package/lib/loader.d.ts +4 -41
- package/lib/loader.js +1 -17
- package/lib/org-managed-entity.d.ts +1 -1
- package/lib/org.d.ts +1 -1
- package/lib/project-configuration.d.ts +1 -1
- package/lib/project.d.ts +1 -1
- package/lib/shared-links.d.ts +2 -2
- package/lib/subscription.d.ts +2 -2
- package/lib/type-managed-entity.d.ts +1 -1
- package/lib/user.d.ts +3 -3
- package/lib/workspace-managed-entity.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
## What
|
|
2
|
+
|
|
2
3
|
- [ ] Bugfix
|
|
3
4
|
- [ ] Feature
|
|
4
5
|
- [ ] Enhancement
|
|
5
6
|
|
|
6
|
-
Description:
|
|
7
|
+
Description:
|
|
8
|
+
|
|
7
9
|
<!--
|
|
8
10
|
Describe the functional changes of the PR.
|
|
9
11
|
|
|
@@ -15,16 +17,15 @@ is sufficient.
|
|
|
15
17
|
-->
|
|
16
18
|
|
|
17
19
|
## Why
|
|
18
|
-
|
|
20
|
+
|
|
21
|
+
<!--
|
|
19
22
|
why is this change needed? Same rules as with #What
|
|
20
23
|
-->
|
|
21
24
|
|
|
22
|
-
|
|
23
25
|
## Testing added
|
|
24
|
-
|
|
26
|
+
|
|
27
|
+
<!--
|
|
25
28
|
Describe the testing you added to this PR
|
|
26
29
|
-->
|
|
27
30
|
|
|
28
|
-
|
|
29
31
|
## Link to Jira ticket(s)
|
|
30
|
-
|
package/.prettierrc.yaml
ADDED
package/README.md
CHANGED
package/lib/app-api-key.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrgManagedEntity } from
|
|
2
|
-
import { AppOrg } from
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { AppOrg } from './app-org';
|
|
3
3
|
export interface AppApiKey extends OrgManagedEntity {
|
|
4
4
|
id: string;
|
|
5
5
|
createdOn?: Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { App } from
|
|
2
|
-
import { AppVersion } from
|
|
3
|
-
import { BaseManagedEntity } from
|
|
1
|
+
import { App } from './app';
|
|
2
|
+
import { AppVersion } from './app-version';
|
|
3
|
+
import { BaseManagedEntity } from './base-managed-entity';
|
|
4
4
|
export declare enum AppExtensionType {
|
|
5
5
|
DOCUMENT_AUTOMATION = "DOCUMENT_AUTOMATION",
|
|
6
6
|
CONTEXTUAL_ACTION = "CONTEXTUAL_ACTION",
|
package/lib/app-extension.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { App } from
|
|
2
|
-
import { AppExtensionType, AppExtensionUserApps } from
|
|
3
|
-
import { AppVersion } from
|
|
4
|
-
import { OrgManagedEntity } from
|
|
1
|
+
import { App } from './app';
|
|
2
|
+
import { AppExtensionType, AppExtensionUserApps } from './app-extension-definition';
|
|
3
|
+
import { AppVersion } from './app-version';
|
|
4
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
5
5
|
export interface AppExtension extends OrgManagedEntity {
|
|
6
6
|
id?: string;
|
|
7
7
|
createdOn?: Date;
|
package/lib/app-org.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OrgManagedEntity } from
|
|
2
|
-
import { App } from
|
|
3
|
-
import { AppVersion } from
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { App } from './app';
|
|
3
|
+
import { AppVersion } from './app-version';
|
|
4
4
|
import { AppApiKey } from './app-api-key';
|
|
5
5
|
export declare enum AppOrgStatus {
|
|
6
6
|
INSTALLING = "INSTALLING",
|
package/lib/app-version.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseManagedEntity } from
|
|
2
|
-
import { App } from
|
|
3
|
-
import { AppCodePackage } from
|
|
4
|
-
import { PropertyType } from
|
|
5
|
-
import { AppOrg } from
|
|
1
|
+
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
+
import { App } from './app';
|
|
3
|
+
import { AppCodePackage } from './app-code-package';
|
|
4
|
+
import { PropertyType } from './property-type';
|
|
5
|
+
import { AppOrg } from './app-org';
|
|
6
6
|
export declare enum AppVersionStatus {
|
|
7
7
|
PUBLISHING = "PUBLISHING",
|
|
8
8
|
FAILED_PUBLISHING = "FAILED_PUBLISHING",
|
package/lib/asset.d.ts
CHANGED
package/lib/client.d.ts
CHANGED
package/lib/client.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
1
|
+
export * from './app-access-grant';
|
|
2
|
+
export * from './app-api-key';
|
|
3
|
+
export * from './app-code-package';
|
|
4
|
+
export * from './app-org';
|
|
5
|
+
export * from './app-version';
|
|
6
|
+
export * from './app-extension-definition';
|
|
7
|
+
export * from './app-extension';
|
|
8
|
+
export * from './app';
|
|
9
|
+
export * from './asset';
|
|
10
|
+
export * from './base-managed-entity';
|
|
11
|
+
export * from './client';
|
|
12
|
+
export * from './content';
|
|
13
|
+
export * from './contentholder-content';
|
|
14
|
+
export * from './file';
|
|
15
|
+
export * from './item';
|
|
16
|
+
export * from './loader';
|
|
17
|
+
export * from './log-level';
|
|
18
|
+
export * from './org';
|
|
19
|
+
export * from './project-item';
|
|
20
|
+
export * from './project';
|
|
21
|
+
export * from './property-type';
|
|
22
|
+
export * from './org-managed-entity';
|
|
23
|
+
export * from './subscription';
|
|
24
|
+
export * from './shared-links';
|
|
25
|
+
export * from './type-managed-entity';
|
|
26
|
+
export * from './user';
|
|
27
|
+
export * from './workspace-managed-entity';
|
package/lib/loader.d.ts
CHANGED
|
@@ -50,9 +50,6 @@ export interface LoadResult {
|
|
|
50
50
|
projectItemsLoadResult?: ProjectItemsLoadResult;
|
|
51
51
|
assortmentItemsLoadResult?: AssortmentItemsLoadResult;
|
|
52
52
|
transformErrors: any[];
|
|
53
|
-
transformWarnings?: any[];
|
|
54
|
-
globalIssues?: GeneralIssueDetails[];
|
|
55
|
-
failureArea?: LoaderFailureArea;
|
|
56
53
|
}
|
|
57
54
|
export interface RowLoadError {
|
|
58
55
|
data: any;
|
|
@@ -72,27 +69,7 @@ export interface LoaderNumbersSummary {
|
|
|
72
69
|
numberColorsFailed: number;
|
|
73
70
|
numberImagesFailed: number;
|
|
74
71
|
}
|
|
75
|
-
export interface
|
|
76
|
-
rowNumber: number;
|
|
77
|
-
columnIssues: ColumnIssueDetails[];
|
|
78
|
-
}
|
|
79
|
-
export interface ColumnIssueDetails {
|
|
80
|
-
columnName: string;
|
|
81
|
-
message: string;
|
|
82
|
-
issueType: IssueType;
|
|
83
|
-
data: string;
|
|
84
|
-
}
|
|
85
|
-
export interface GeneralIssueDetails {
|
|
86
|
-
message: string;
|
|
87
|
-
issueType: IssueType;
|
|
88
|
-
issueKey?: string;
|
|
89
|
-
}
|
|
90
|
-
export interface GeneralLoadResult {
|
|
91
|
-
errors?: ProcessingIssues[];
|
|
92
|
-
warnings?: ProcessingIssues[];
|
|
93
|
-
globalIssues?: GeneralIssueDetails[];
|
|
94
|
-
}
|
|
95
|
-
export interface ColorLoadResult extends GeneralLoadResult {
|
|
72
|
+
export interface ColorLoadResult {
|
|
96
73
|
colorsCreated: any[];
|
|
97
74
|
colorsUpdated: any[];
|
|
98
75
|
colorsUnchanged: any[];
|
|
@@ -100,7 +77,7 @@ export interface ColorLoadResult extends GeneralLoadResult {
|
|
|
100
77
|
colorsFailedUpdate: RowLoadError[];
|
|
101
78
|
failed: boolean;
|
|
102
79
|
}
|
|
103
|
-
export interface ItemsLoadResult
|
|
80
|
+
export interface ItemsLoadResult {
|
|
104
81
|
itemsCreated: any[];
|
|
105
82
|
itemsUpdated: any[];
|
|
106
83
|
itemsUnchanged: any[];
|
|
@@ -108,7 +85,7 @@ export interface ItemsLoadResult extends GeneralLoadResult {
|
|
|
108
85
|
itemsFailedUpdate: RowLoadError[];
|
|
109
86
|
failed: boolean;
|
|
110
87
|
}
|
|
111
|
-
export interface ProjectItemsLoadResult
|
|
88
|
+
export interface ProjectItemsLoadResult {
|
|
112
89
|
projectItemsCreated: any[];
|
|
113
90
|
projectItemsUpdated: any[];
|
|
114
91
|
projectItemsUnchanged: any[];
|
|
@@ -116,7 +93,7 @@ export interface ProjectItemsLoadResult extends GeneralLoadResult {
|
|
|
116
93
|
projectItemsFailedUpdate: RowLoadError[];
|
|
117
94
|
failed: boolean;
|
|
118
95
|
}
|
|
119
|
-
export interface AssortmentItemsLoadResult
|
|
96
|
+
export interface AssortmentItemsLoadResult {
|
|
120
97
|
assortmentItemsCreated: any[];
|
|
121
98
|
assortmentItemsUpdated: any[];
|
|
122
99
|
assortmentItemsUnchanged: any[];
|
|
@@ -171,17 +148,3 @@ export declare class LoaderProcess implements OrgManagedEntity {
|
|
|
171
148
|
parallelWorkerCount?: number;
|
|
172
149
|
messageGroupId?: string;
|
|
173
150
|
}
|
|
174
|
-
export declare enum IssueType {
|
|
175
|
-
INVALID_DATA = "INVALID_DATA",
|
|
176
|
-
MISSING_DATA = "MISSING_DATA",
|
|
177
|
-
DUPLICATE_FEDERATED_ID = "DUPLICATE_FEDERATED_ID",
|
|
178
|
-
SYSTEM_ERROR = "SYSTEM_ERROR",
|
|
179
|
-
HEADER_MISMATCH = "HEADER_MISMATCH",
|
|
180
|
-
VALIDATION_ERROR = "VALIDATION_ERROR"
|
|
181
|
-
}
|
|
182
|
-
export declare enum LoaderFailureArea {
|
|
183
|
-
PARSING_CSV = "PARSING_CSV",
|
|
184
|
-
TRANSFORMING_DATA = "TRANSFORMING_DATA",
|
|
185
|
-
UPLOADING_DATA = "UPLOADING_DATA",
|
|
186
|
-
NONE = "NONE"
|
|
187
|
-
}
|
package/lib/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
|
|
4
4
|
class ColumnDefinition {
|
|
5
5
|
fromProperty;
|
|
6
6
|
toProperty;
|
|
@@ -83,19 +83,3 @@ class LoaderProcess {
|
|
|
83
83
|
messageGroupId;
|
|
84
84
|
}
|
|
85
85
|
exports.LoaderProcess = LoaderProcess;
|
|
86
|
-
var IssueType;
|
|
87
|
-
(function (IssueType) {
|
|
88
|
-
IssueType["INVALID_DATA"] = "INVALID_DATA";
|
|
89
|
-
IssueType["MISSING_DATA"] = "MISSING_DATA";
|
|
90
|
-
IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID";
|
|
91
|
-
IssueType["SYSTEM_ERROR"] = "SYSTEM_ERROR";
|
|
92
|
-
IssueType["HEADER_MISMATCH"] = "HEADER_MISMATCH";
|
|
93
|
-
IssueType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
94
|
-
})(IssueType = exports.IssueType || (exports.IssueType = {}));
|
|
95
|
-
var LoaderFailureArea;
|
|
96
|
-
(function (LoaderFailureArea) {
|
|
97
|
-
LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
|
|
98
|
-
LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
|
|
99
|
-
LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
|
|
100
|
-
LoaderFailureArea["NONE"] = "NONE";
|
|
101
|
-
})(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
|
package/lib/org.d.ts
CHANGED
package/lib/project.d.ts
CHANGED
package/lib/shared-links.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrgManagedEntity } from
|
|
2
|
-
import { Group, User } from
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { Group, User } from './user';
|
|
3
3
|
export declare enum SharedLinkAccessLevel {
|
|
4
4
|
RESTRICTED = "RESTRICTED",
|
|
5
5
|
VIEW = "VIEW",
|
package/lib/subscription.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OrgManagedEntity } from
|
|
2
|
-
import { Group, User } from
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { Group, User } from './user';
|
|
3
3
|
export declare enum SubscriptionType {
|
|
4
4
|
COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
|
|
5
5
|
COMMENT = "COMMENT",
|
package/lib/user.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseManagedEntity } from
|
|
2
|
-
import { Org } from
|
|
3
|
-
import { OrgManagedEntity } from
|
|
1
|
+
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
+
import { Org } from './org';
|
|
3
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
4
4
|
export declare enum UserOrgRole {
|
|
5
5
|
admin = "ADMIN",
|
|
6
6
|
member = "MEMBER",
|