@contrail/entity-types 1.1.62 → 1.1.63-alpha-assortments-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/assortment-item.d.ts +27 -0
- package/lib/assortment-item.js +2 -0
- package/lib/assortment-summary.d.ts +15 -0
- package/lib/assortment-summary.js +2 -0
- package/lib/assortment.d.ts +39 -0
- package/lib/assortment.js +11 -0
- package/lib/composite-plans-summary.d.ts +15 -0
- package/lib/composite-plans-summary.js +2 -0
- package/lib/index.d.ts +12 -6
- package/lib/index.js +12 -6
- package/lib/workspace-principal.d.ts +24 -0
- package/lib/workspace-principal.js +9 -0
- package/lib/workspace.d.ts +32 -0
- package/lib/workspace.js +9 -0
- package/package.json +1 -1
- package/.vscode/settings.json +0 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Assortment } from './assortment';
|
|
2
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
3
|
+
export interface AssortmentItem extends TypeManagedEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
createdOn?: Date;
|
|
6
|
+
updatedOn?: Date;
|
|
7
|
+
createdById?: string;
|
|
8
|
+
updatedById?: string;
|
|
9
|
+
createdBy?: any;
|
|
10
|
+
updatedBy?: any;
|
|
11
|
+
typeId?: string;
|
|
12
|
+
orgId?: string;
|
|
13
|
+
typePath?: string;
|
|
14
|
+
assortmentId?: string;
|
|
15
|
+
assortment?: Assortment;
|
|
16
|
+
itemId?: string;
|
|
17
|
+
item?: any;
|
|
18
|
+
projectItem?: any;
|
|
19
|
+
itemFederatedId?: string;
|
|
20
|
+
assortmentFederatedId?: string;
|
|
21
|
+
compositeAddedFrom?: string;
|
|
22
|
+
compositedOverlappingWith?: string[];
|
|
23
|
+
copyId?: string;
|
|
24
|
+
createdFromId?: string;
|
|
25
|
+
createMethod?: string;
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface AssortmentSummary 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
|
+
count?: number;
|
|
13
|
+
aggregates?: any;
|
|
14
|
+
optionAggregates?: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AssortmentItem } from './assortment-item';
|
|
2
|
+
import { AssortmentSummary } from './assortment-summary';
|
|
3
|
+
import { CompositePlansSummary } from './composite-plans-summary';
|
|
4
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
5
|
+
export declare enum AssortmentType {
|
|
6
|
+
PLAN = "PLAN",
|
|
7
|
+
BACKING = "BACKING",
|
|
8
|
+
SHOWCASE = "SHOWCASE",
|
|
9
|
+
INTEGRATION = "INTEGRATION",
|
|
10
|
+
ASSORTMENT = "ASSORTMENT"
|
|
11
|
+
}
|
|
12
|
+
export interface Assortment extends TypeManagedEntity {
|
|
13
|
+
id: string;
|
|
14
|
+
createdOn?: Date;
|
|
15
|
+
updatedOn?: Date;
|
|
16
|
+
createdById?: string;
|
|
17
|
+
updatedById?: string;
|
|
18
|
+
createdBy?: any;
|
|
19
|
+
updatedBy?: any;
|
|
20
|
+
typeId?: string;
|
|
21
|
+
orgId?: string;
|
|
22
|
+
name: string;
|
|
23
|
+
identifier?: string;
|
|
24
|
+
sourceAssortmentIds?: string[];
|
|
25
|
+
sourceAssortments?: Assortment[];
|
|
26
|
+
composedFromAssortmentIds?: string[];
|
|
27
|
+
thumbnail?: string;
|
|
28
|
+
federatedId?: string;
|
|
29
|
+
primaryViewableId?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
assortmentItems?: AssortmentItem[];
|
|
32
|
+
itemsDownloadURL?: any;
|
|
33
|
+
workspaceId?: string;
|
|
34
|
+
rootWorkspaceId?: string;
|
|
35
|
+
assortmentSummary?: AssortmentSummary;
|
|
36
|
+
compositePlansSummary?: CompositePlansSummary;
|
|
37
|
+
assortmentType?: AssortmentType;
|
|
38
|
+
createdForReference?: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssortmentType = void 0;
|
|
4
|
+
var AssortmentType;
|
|
5
|
+
(function (AssortmentType) {
|
|
6
|
+
AssortmentType["PLAN"] = "PLAN";
|
|
7
|
+
AssortmentType["BACKING"] = "BACKING";
|
|
8
|
+
AssortmentType["SHOWCASE"] = "SHOWCASE";
|
|
9
|
+
AssortmentType["INTEGRATION"] = "INTEGRATION";
|
|
10
|
+
AssortmentType["ASSORTMENT"] = "ASSORTMENT";
|
|
11
|
+
})(AssortmentType = exports.AssortmentType || (exports.AssortmentType = {}));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface CompositePlansSummary 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
|
+
count?: number;
|
|
13
|
+
aggregates?: any;
|
|
14
|
+
optionAggregates?: any;
|
|
15
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
export * from './app';
|
|
1
2
|
export * from './app-access-grant';
|
|
2
3
|
export * from './app-api-key';
|
|
3
4
|
export * from './app-code-package';
|
|
5
|
+
export * from './app-extension';
|
|
6
|
+
export * from './app-extension-definition';
|
|
4
7
|
export * from './app-org';
|
|
5
8
|
export * from './app-version';
|
|
6
|
-
export * from './app-extension-definition';
|
|
7
|
-
export * from './app-extension';
|
|
8
|
-
export * from './app';
|
|
9
9
|
export * from './asset';
|
|
10
|
+
export * from './assortment';
|
|
11
|
+
export * from './assortment-item';
|
|
12
|
+
export * from './assortment-summary';
|
|
10
13
|
export * from './base-managed-entity';
|
|
11
14
|
export * from './client';
|
|
15
|
+
export * from './composite-plans-summary';
|
|
12
16
|
export * from './content';
|
|
13
17
|
export * from './contentholder-content';
|
|
14
18
|
export * from './file';
|
|
@@ -16,12 +20,14 @@ export * from './item';
|
|
|
16
20
|
export * from './loader';
|
|
17
21
|
export * from './log-level';
|
|
18
22
|
export * from './org';
|
|
19
|
-
export * from './
|
|
23
|
+
export * from './org-managed-entity';
|
|
20
24
|
export * from './project';
|
|
25
|
+
export * from './project-item';
|
|
21
26
|
export * from './property-type';
|
|
22
|
-
export * from './org-managed-entity';
|
|
23
|
-
export * from './subscription';
|
|
24
27
|
export * from './shared-links';
|
|
28
|
+
export * from './subscription';
|
|
25
29
|
export * from './type-managed-entity';
|
|
26
30
|
export * from './user';
|
|
31
|
+
export * from './workspace';
|
|
27
32
|
export * from './workspace-managed-entity';
|
|
33
|
+
export * from './workspace-principal';
|
package/lib/index.js
CHANGED
|
@@ -14,17 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./app"), exports);
|
|
17
18
|
__exportStar(require("./app-access-grant"), exports);
|
|
18
19
|
__exportStar(require("./app-api-key"), exports);
|
|
19
20
|
__exportStar(require("./app-code-package"), exports);
|
|
21
|
+
__exportStar(require("./app-extension"), exports);
|
|
22
|
+
__exportStar(require("./app-extension-definition"), exports);
|
|
20
23
|
__exportStar(require("./app-org"), exports);
|
|
21
24
|
__exportStar(require("./app-version"), exports);
|
|
22
|
-
__exportStar(require("./app-extension-definition"), exports);
|
|
23
|
-
__exportStar(require("./app-extension"), exports);
|
|
24
|
-
__exportStar(require("./app"), exports);
|
|
25
25
|
__exportStar(require("./asset"), exports);
|
|
26
|
+
__exportStar(require("./assortment"), exports);
|
|
27
|
+
__exportStar(require("./assortment-item"), exports);
|
|
28
|
+
__exportStar(require("./assortment-summary"), exports);
|
|
26
29
|
__exportStar(require("./base-managed-entity"), exports);
|
|
27
30
|
__exportStar(require("./client"), exports);
|
|
31
|
+
__exportStar(require("./composite-plans-summary"), exports);
|
|
28
32
|
__exportStar(require("./content"), exports);
|
|
29
33
|
__exportStar(require("./contentholder-content"), exports);
|
|
30
34
|
__exportStar(require("./file"), exports);
|
|
@@ -32,12 +36,14 @@ __exportStar(require("./item"), exports);
|
|
|
32
36
|
__exportStar(require("./loader"), exports);
|
|
33
37
|
__exportStar(require("./log-level"), exports);
|
|
34
38
|
__exportStar(require("./org"), exports);
|
|
35
|
-
__exportStar(require("./
|
|
39
|
+
__exportStar(require("./org-managed-entity"), exports);
|
|
36
40
|
__exportStar(require("./project"), exports);
|
|
41
|
+
__exportStar(require("./project-item"), exports);
|
|
37
42
|
__exportStar(require("./property-type"), exports);
|
|
38
|
-
__exportStar(require("./org-managed-entity"), exports);
|
|
39
|
-
__exportStar(require("./subscription"), exports);
|
|
40
43
|
__exportStar(require("./shared-links"), exports);
|
|
44
|
+
__exportStar(require("./subscription"), exports);
|
|
41
45
|
__exportStar(require("./type-managed-entity"), exports);
|
|
42
46
|
__exportStar(require("./user"), exports);
|
|
47
|
+
__exportStar(require("./workspace"), exports);
|
|
43
48
|
__exportStar(require("./workspace-managed-entity"), exports);
|
|
49
|
+
__exportStar(require("./workspace-principal"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
+
import { Workspace, WorkspaceType } from './workspace';
|
|
3
|
+
export declare enum WorkspacePrincipalRole {
|
|
4
|
+
admin = "ADMIN",
|
|
5
|
+
member = "MEMBER",
|
|
6
|
+
viewer = "VIEWER"
|
|
7
|
+
}
|
|
8
|
+
export interface WorkspacePrincipal extends TypeManagedEntity {
|
|
9
|
+
id: string;
|
|
10
|
+
createdOn?: Date;
|
|
11
|
+
updatedOn?: Date;
|
|
12
|
+
createdById?: string;
|
|
13
|
+
updatedById?: string;
|
|
14
|
+
createdBy?: any;
|
|
15
|
+
updatedBy?: any;
|
|
16
|
+
typeId?: string;
|
|
17
|
+
orgId?: string;
|
|
18
|
+
workspaceId?: string;
|
|
19
|
+
workspace?: Workspace;
|
|
20
|
+
workspaceType: WorkspaceType;
|
|
21
|
+
principalReference?: string;
|
|
22
|
+
principal?: any;
|
|
23
|
+
role?: WorkspacePrincipalRole;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspacePrincipalRole = void 0;
|
|
4
|
+
var WorkspacePrincipalRole;
|
|
5
|
+
(function (WorkspacePrincipalRole) {
|
|
6
|
+
WorkspacePrincipalRole["admin"] = "ADMIN";
|
|
7
|
+
WorkspacePrincipalRole["member"] = "MEMBER";
|
|
8
|
+
WorkspacePrincipalRole["viewer"] = "VIEWER";
|
|
9
|
+
})(WorkspacePrincipalRole = exports.WorkspacePrincipalRole || (exports.WorkspacePrincipalRole = {}));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
+
import { WorkspacePrincipal } from './workspace-principal';
|
|
3
|
+
export declare enum WorkspaceType {
|
|
4
|
+
project = "PROJECT",
|
|
5
|
+
folder = "FOLDER",
|
|
6
|
+
library = "LIBRARY"
|
|
7
|
+
}
|
|
8
|
+
export interface Workspace extends TypeManagedEntity {
|
|
9
|
+
id: string;
|
|
10
|
+
createdOn?: Date;
|
|
11
|
+
updatedOn?: Date;
|
|
12
|
+
createdById?: string;
|
|
13
|
+
updatedById?: string;
|
|
14
|
+
createdBy?: any;
|
|
15
|
+
updatedBy?: any;
|
|
16
|
+
typeId?: string;
|
|
17
|
+
orgId?: string;
|
|
18
|
+
name: string;
|
|
19
|
+
workspaceType?: WorkspaceType;
|
|
20
|
+
thumbnail?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
isArchived?: boolean;
|
|
23
|
+
parentId?: string;
|
|
24
|
+
parentWorkspace?: any;
|
|
25
|
+
projectId?: string;
|
|
26
|
+
project?: any;
|
|
27
|
+
rootWorkspaceId?: string;
|
|
28
|
+
rootWorkspace?: any;
|
|
29
|
+
rootWorkspaceType?: WorkspaceType;
|
|
30
|
+
workspacePrincipals?: WorkspacePrincipal[];
|
|
31
|
+
policyOwner: boolean;
|
|
32
|
+
}
|
package/lib/workspace.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceType = void 0;
|
|
4
|
+
var WorkspaceType;
|
|
5
|
+
(function (WorkspaceType) {
|
|
6
|
+
WorkspaceType["project"] = "PROJECT";
|
|
7
|
+
WorkspaceType["folder"] = "FOLDER";
|
|
8
|
+
WorkspaceType["library"] = "LIBRARY";
|
|
9
|
+
})(WorkspaceType = exports.WorkspaceType || (exports.WorkspaceType = {}));
|
package/package.json
CHANGED
package/.vscode/settings.json
DELETED