@contrail/entity-types 1.1.22 → 1.1.24

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.
@@ -28,4 +28,5 @@ export declare class AppExtensionDefinition implements BaseManagedEntity {
28
28
  userApps?: AppExtensionUserApps[];
29
29
  modalDimensions?: any;
30
30
  iframeUrl?: string;
31
+ widgetHeight?: any;
31
32
  }
@@ -30,5 +30,6 @@ class AppExtensionDefinition {
30
30
  userApps;
31
31
  modalDimensions;
32
32
  iframeUrl;
33
+ widgetHeight;
33
34
  }
34
35
  exports.AppExtensionDefinition = AppExtensionDefinition;
@@ -0,0 +1,22 @@
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
+ export declare enum RequestMethod {
3
+ POST = "POST"
4
+ }
5
+ export declare class ScheduledEvent implements OrgManagedEntity {
6
+ id: string;
7
+ createdOn?: Date;
8
+ updatedOn?: Date;
9
+ createdById?: string;
10
+ updatedById?: string;
11
+ createdBy?: any;
12
+ updatedBy?: any;
13
+ orgId?: string;
14
+ name: string;
15
+ cron: string;
16
+ requestMethod: RequestMethod;
17
+ entityName: string;
18
+ isActive: boolean;
19
+ payload?: any;
20
+ nextRun?: Date;
21
+ lastRan?: Date;
22
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScheduledEvent = exports.RequestMethod = void 0;
4
+ var RequestMethod;
5
+ (function (RequestMethod) {
6
+ RequestMethod["POST"] = "POST";
7
+ })(RequestMethod = exports.RequestMethod || (exports.RequestMethod = {}));
8
+ class ScheduledEvent {
9
+ id;
10
+ createdOn;
11
+ updatedOn;
12
+ createdById;
13
+ updatedById;
14
+ createdBy;
15
+ updatedBy;
16
+ orgId;
17
+ name;
18
+ cron;
19
+ requestMethod;
20
+ entityName;
21
+ isActive;
22
+ payload;
23
+ nextRun;
24
+ lastRan;
25
+ }
26
+ exports.ScheduledEvent = ScheduledEvent;
package/lib/user.d.ts CHANGED
@@ -47,3 +47,29 @@ export declare class User implements BaseManagedEntity {
47
47
  platformRoles?: Array<PlatformRole>;
48
48
  orgs?: Array<UserOrg>;
49
49
  }
50
+ export declare class Group implements OrgManagedEntity {
51
+ id: string;
52
+ createdOn?: Date;
53
+ updatedOn?: Date;
54
+ createdById?: string;
55
+ updatedById?: string;
56
+ createdBy?: any;
57
+ updatedBy?: any;
58
+ orgId?: string;
59
+ name: string;
60
+ groupPrincipals?: GroupPrincipal[];
61
+ }
62
+ export declare class GroupPrincipal implements OrgManagedEntity {
63
+ id: string;
64
+ createdOn?: Date;
65
+ updatedOn?: Date;
66
+ createdById?: string;
67
+ updatedById?: string;
68
+ createdBy?: any;
69
+ updatedBy?: any;
70
+ orgId?: string;
71
+ groupId?: string;
72
+ group?: Group;
73
+ principalReference?: string;
74
+ principal?: any;
75
+ }
package/lib/user.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.User = exports.PlatformUser = exports.PlatformRole = exports.UserOrg = exports.UserOrgRole = void 0;
3
+ exports.GroupPrincipal = exports.Group = exports.User = exports.PlatformUser = exports.PlatformRole = exports.UserOrg = exports.UserOrgRole = void 0;
4
4
  var UserOrgRole;
5
5
  (function (UserOrgRole) {
6
6
  UserOrgRole["admin"] = "ADMIN";
@@ -52,3 +52,31 @@ class User {
52
52
  orgs;
53
53
  }
54
54
  exports.User = User;
55
+ class Group {
56
+ id;
57
+ createdOn;
58
+ updatedOn;
59
+ createdById;
60
+ updatedById;
61
+ createdBy;
62
+ updatedBy;
63
+ orgId;
64
+ name;
65
+ groupPrincipals;
66
+ }
67
+ exports.Group = Group;
68
+ class GroupPrincipal {
69
+ id;
70
+ createdOn;
71
+ updatedOn;
72
+ createdById;
73
+ updatedById;
74
+ createdBy;
75
+ updatedBy;
76
+ orgId;
77
+ groupId;
78
+ group;
79
+ principalReference;
80
+ principal;
81
+ }
82
+ exports.GroupPrincipal = GroupPrincipal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",