@contrail/entity-types 1.1.62-0 → 1.1.63-alpha-assortments-0

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.
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/index.d.ts CHANGED
@@ -6,11 +6,15 @@ export * from './app-version';
6
6
  export * from './app-extension-definition';
7
7
  export * from './app-extension';
8
8
  export * from './app';
9
+ export * from './assortment';
10
+ export * from './assortment-item';
11
+ export * from './assortment-summary';
9
12
  export * from './asset';
10
13
  export * from './base-managed-entity';
11
14
  export * from './client';
12
15
  export * from './content';
13
16
  export * from './contentholder-content';
17
+ export * from './composite-plans-summary';
14
18
  export * from './file';
15
19
  export * from './item';
16
20
  export * from './loader';
package/lib/index.js CHANGED
@@ -22,11 +22,15 @@ __exportStar(require("./app-version"), exports);
22
22
  __exportStar(require("./app-extension-definition"), exports);
23
23
  __exportStar(require("./app-extension"), exports);
24
24
  __exportStar(require("./app"), exports);
25
+ __exportStar(require("./assortment"), exports);
26
+ __exportStar(require("./assortment-item"), exports);
27
+ __exportStar(require("./assortment-summary"), exports);
25
28
  __exportStar(require("./asset"), exports);
26
29
  __exportStar(require("./base-managed-entity"), exports);
27
30
  __exportStar(require("./client"), exports);
28
31
  __exportStar(require("./content"), exports);
29
32
  __exportStar(require("./contentholder-content"), exports);
33
+ __exportStar(require("./composite-plans-summary"), exports);
30
34
  __exportStar(require("./file"), exports);
31
35
  __exportStar(require("./item"), exports);
32
36
  __exportStar(require("./loader"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.62-0",
3
+ "version": "1.1.63-alpha-assortments-0",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,3 +0,0 @@
1
- {
2
- "prettier.singleQuote": true
3
- }