@contrail/entity-types 1.1.39 → 1.1.41

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.
@@ -4,12 +4,14 @@ import { BaseManagedEntity } from "./base-managed-entity";
4
4
  export declare enum AppExtensionType {
5
5
  DOCUMENT_AUTOMATION = "DOCUMENT_AUTOMATION",
6
6
  CONTEXTUAL_ACTION = "CONTEXTUAL_ACTION",
7
- CONTEXTUAL_INFORMATION_WIDGET = "CONTEXTUAL_INFORMATION_WIDGET"
7
+ CONTEXTUAL_INFORMATION_WIDGET = "CONTEXTUAL_INFORMATION_WIDGET",
8
+ ADMIN_UTILITY = "ADMIN_UTILITY"
8
9
  }
9
10
  export declare enum AppExtensionUserApps {
10
11
  BOARDS = "BOARDS",
11
12
  SHOWCASE = "SHOWCASE",
12
13
  PLAN = "PLAN",
14
+ ADMIN_CONSOLE = "ADMIN_CONSOLE",
13
15
  ALL = "ALL"
14
16
  }
15
17
  export interface AppExtensionDefinition extends BaseManagedEntity {
@@ -6,11 +6,13 @@ var AppExtensionType;
6
6
  AppExtensionType["DOCUMENT_AUTOMATION"] = "DOCUMENT_AUTOMATION";
7
7
  AppExtensionType["CONTEXTUAL_ACTION"] = "CONTEXTUAL_ACTION";
8
8
  AppExtensionType["CONTEXTUAL_INFORMATION_WIDGET"] = "CONTEXTUAL_INFORMATION_WIDGET";
9
+ AppExtensionType["ADMIN_UTILITY"] = "ADMIN_UTILITY";
9
10
  })(AppExtensionType = exports.AppExtensionType || (exports.AppExtensionType = {}));
10
11
  var AppExtensionUserApps;
11
12
  (function (AppExtensionUserApps) {
12
13
  AppExtensionUserApps["BOARDS"] = "BOARDS";
13
14
  AppExtensionUserApps["SHOWCASE"] = "SHOWCASE";
14
15
  AppExtensionUserApps["PLAN"] = "PLAN";
16
+ AppExtensionUserApps["ADMIN_CONSOLE"] = "ADMIN_CONSOLE";
15
17
  AppExtensionUserApps["ALL"] = "ALL";
16
18
  })(AppExtensionUserApps = exports.AppExtensionUserApps || (exports.AppExtensionUserApps = {}));
package/lib/app.d.ts CHANGED
@@ -4,7 +4,6 @@ import { AppOrg } from './app-org';
4
4
  import { AppVersion, ConfigProperty, TriggerKeyDefinition } from './app-version';
5
5
  import { BaseManagedEntity } from './base-managed-entity';
6
6
  export interface App extends BaseManagedEntity {
7
- ownerReference: string;
8
7
  name: string;
9
8
  identifier: string;
10
9
  installable?: boolean;
@@ -0,0 +1,39 @@
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
+ export interface ProjectConfiguration extends OrgManagedEntity {
3
+ projectName: string;
4
+ identifier: string;
5
+ commonConfig: CommonConfiguration;
6
+ principals: string[];
7
+ assortments: AssortmentConfiguration[];
8
+ subFolders: Folder[];
9
+ }
10
+ interface CommonConfiguration {
11
+ [key: string]: any;
12
+ }
13
+ declare enum AssortmentType {
14
+ ASSORTMENT = "ASSORTMENT",
15
+ BOARD = "BOARD",
16
+ PLAN = "PLAN",
17
+ SHOWCASE = "SHOWCASE"
18
+ }
19
+ interface AssortmentConfiguration {
20
+ identifier: string;
21
+ name: string;
22
+ type: AssortmentType;
23
+ sourceAssortmentIdentifier?: string;
24
+ composedFromAssortmentIdentifiers?: string[];
25
+ ownerAtts?: {
26
+ [key: string]: any;
27
+ };
28
+ assortmentAtts?: {
29
+ [key: string]: any;
30
+ };
31
+ }
32
+ interface Folder {
33
+ identifier: string;
34
+ name: string;
35
+ principals: string[];
36
+ assortments: AssortmentConfiguration[];
37
+ subFolders: Folder[];
38
+ }
39
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var AssortmentType;
4
+ (function (AssortmentType) {
5
+ AssortmentType["ASSORTMENT"] = "ASSORTMENT";
6
+ AssortmentType["BOARD"] = "BOARD";
7
+ AssortmentType["PLAN"] = "PLAN";
8
+ AssortmentType["SHOWCASE"] = "SHOWCASE";
9
+ })(AssortmentType || (AssortmentType = {}));
package/lib/user.d.ts CHANGED
@@ -3,7 +3,11 @@ import { Org } from "./org";
3
3
  import { OrgManagedEntity } from "./org-managed-entity";
4
4
  export declare enum UserOrgRole {
5
5
  admin = "ADMIN",
6
- member = "MEMBER"
6
+ member = "MEMBER",
7
+ guest = "GUEST"
8
+ }
9
+ export declare enum SystemRole {
10
+ SYSTEM = "SYSTEM"
7
11
  }
8
12
  export interface UserOrg extends OrgManagedEntity {
9
13
  id?: string;
package/lib/user.js CHANGED
@@ -1,11 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlatformRole = exports.UserOrgRole = void 0;
3
+ exports.PlatformRole = exports.SystemRole = exports.UserOrgRole = void 0;
4
4
  var UserOrgRole;
5
5
  (function (UserOrgRole) {
6
6
  UserOrgRole["admin"] = "ADMIN";
7
7
  UserOrgRole["member"] = "MEMBER";
8
+ UserOrgRole["guest"] = "GUEST";
8
9
  })(UserOrgRole = exports.UserOrgRole || (exports.UserOrgRole = {}));
10
+ var SystemRole;
11
+ (function (SystemRole) {
12
+ SystemRole["SYSTEM"] = "SYSTEM";
13
+ })(SystemRole = exports.SystemRole || (exports.SystemRole = {}));
9
14
  var PlatformRole;
10
15
  (function (PlatformRole) {
11
16
  PlatformRole["PLATFORM_MANAGER"] = "PLATFORM_MANAGER";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",