@contrail/entity-types 1.4.2 → 1.5.0-alpha

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.
Files changed (190) hide show
  1. package/lib/action-definition-config.d.ts +6 -0
  2. package/lib/action-definition-config.js +2 -0
  3. package/lib/app-access-grant.d.ts +15 -15
  4. package/lib/app-access-grant.js +7 -7
  5. package/lib/app-api-key.d.ts +15 -15
  6. package/lib/app-api-key.js +2 -2
  7. package/lib/app-code-package.d.ts +17 -17
  8. package/lib/app-code-package.js +2 -2
  9. package/lib/app-extension-definition.d.ts +34 -34
  10. package/lib/app-extension-definition.js +18 -18
  11. package/lib/app-extension.d.ts +23 -23
  12. package/lib/app-extension.js +2 -2
  13. package/lib/app-org.d.ts +20 -20
  14. package/lib/app-org.js +11 -11
  15. package/lib/app-version.d.ts +57 -57
  16. package/lib/app-version.js +21 -21
  17. package/lib/app.d.ts +25 -25
  18. package/lib/app.js +2 -2
  19. package/lib/asset.d.ts +16 -16
  20. package/lib/asset.js +2 -2
  21. package/lib/assortment-item.d.ts +27 -27
  22. package/lib/assortment-item.js +2 -2
  23. package/lib/assortment-summary.d.ts +15 -15
  24. package/lib/assortment-summary.js +2 -2
  25. package/lib/assortment.d.ts +39 -39
  26. package/lib/assortment.js +11 -11
  27. package/lib/base-managed-entity.d.ts +8 -8
  28. package/lib/base-managed-entity.js +2 -2
  29. package/lib/batch-fetch-response.d.ts +11 -11
  30. package/lib/batch-fetch-response.js +2 -2
  31. package/lib/client.d.ts +107 -107
  32. package/lib/client.js +114 -114
  33. package/lib/color.d.ts +14 -14
  34. package/lib/color.js +2 -2
  35. package/lib/composite-plans-summary.d.ts +15 -15
  36. package/lib/composite-plans-summary.js +2 -2
  37. package/lib/content-custom-size.d.ts +14 -14
  38. package/lib/content-custom-size.js +2 -2
  39. package/lib/content.d.ts +25 -25
  40. package/lib/content.js +2 -2
  41. package/lib/contentholder-content.d.ts +5 -5
  42. package/lib/contentholder-content.js +2 -2
  43. package/lib/event-workflow-action-definition.d.ts +20 -0
  44. package/lib/event-workflow-action-definition.js +2 -0
  45. package/lib/event-workflow-process.d.ts +26 -0
  46. package/lib/event-workflow-process.js +11 -0
  47. package/lib/event-workflow-task.d.ts +29 -0
  48. package/lib/event-workflow-task.js +2 -0
  49. package/lib/file.d.ts +13 -13
  50. package/lib/file.js +2 -2
  51. package/lib/index.d.ts +35 -35
  52. package/lib/index.js +51 -51
  53. package/lib/item.d.ts +20 -20
  54. package/lib/item.js +2 -2
  55. package/lib/loader.d.ts +182 -182
  56. package/lib/loader.js +115 -115
  57. package/lib/log-level.d.ts +8 -8
  58. package/lib/log-level.js +12 -12
  59. package/lib/org-managed-entity.d.ts +5 -5
  60. package/lib/org-managed-entity.js +2 -2
  61. package/lib/org.d.ts +11 -11
  62. package/lib/org.js +2 -2
  63. package/lib/project-configuration.d.ts +39 -39
  64. package/lib/project-configuration.js +9 -9
  65. package/lib/project-item.d.ts +9 -9
  66. package/lib/project-item.js +2 -2
  67. package/lib/project.d.ts +4 -4
  68. package/lib/project.js +2 -2
  69. package/lib/property-type.d.ts +32 -32
  70. package/lib/property-type.js +31 -31
  71. package/lib/shared-links.d.ts +46 -46
  72. package/lib/shared-links.js +11 -11
  73. package/lib/subscription.d.ts +38 -38
  74. package/lib/subscription.js +22 -22
  75. package/lib/type-managed-entity.d.ts +8 -8
  76. package/lib/type-managed-entity.js +2 -2
  77. package/lib/type-property.d.ts +32 -0
  78. package/lib/type-property.js +31 -0
  79. package/lib/user.d.ts +79 -79
  80. package/lib/user.js +20 -20
  81. package/lib/workspace-managed-entity.d.ts +5 -5
  82. package/lib/workspace-managed-entity.js +2 -2
  83. package/lib/workspace-principal.d.ts +24 -24
  84. package/lib/workspace-principal.js +9 -9
  85. package/lib/workspace.d.ts +32 -32
  86. package/lib/workspace.js +9 -9
  87. package/package.json +1 -1
  88. package/docs/.nojekyll +0 -1
  89. package/docs/assets/highlight.css +0 -64
  90. package/docs/assets/icons.js +0 -15
  91. package/docs/assets/icons.svg +0 -1
  92. package/docs/assets/main.js +0 -59
  93. package/docs/assets/navigation.js +0 -1
  94. package/docs/assets/search.js +0 -1
  95. package/docs/assets/style.css +0 -1414
  96. package/docs/classes/ApiError.html +0 -14
  97. package/docs/classes/AssortmentSplit.html +0 -7
  98. package/docs/classes/ColumnDefinition.html +0 -7
  99. package/docs/classes/ConditionalValues.html +0 -5
  100. package/docs/classes/EntitiesClient.html +0 -26
  101. package/docs/classes/EntitiesClientBatchCreateOptions.html +0 -12
  102. package/docs/classes/EntitiesClientBatchDeleteOptions.html +0 -13
  103. package/docs/classes/EntitiesClientBatchUpdateOptions.html +0 -12
  104. package/docs/classes/EntitiesClientCreateOptions.html +0 -20
  105. package/docs/classes/EntitiesClientDeleteOptions.html +0 -17
  106. package/docs/classes/EntitiesClientGetOptions.html +0 -39
  107. package/docs/classes/EntitiesClientUpdateOptions.html +0 -25
  108. package/docs/classes/EntityReference.html +0 -7
  109. package/docs/classes/InvalidPolicyError.html +0 -13
  110. package/docs/classes/LoaderProcess.html +0 -44
  111. package/docs/classes/TimeoutError.html +0 -13
  112. package/docs/classes/ValueToAssortment.html +0 -6
  113. package/docs/enums/API_VERSION.html +0 -7
  114. package/docs/enums/AppAccessGrantScope.html +0 -3
  115. package/docs/enums/AppExtensionType.html +0 -6
  116. package/docs/enums/AppExtensionUserApps.html +0 -7
  117. package/docs/enums/AppOrgStatus.html +0 -7
  118. package/docs/enums/AppVersionStatus.html +0 -8
  119. package/docs/enums/AssortmentType.html +0 -7
  120. package/docs/enums/EntityType.html +0 -7
  121. package/docs/enums/IssueType.html +0 -11
  122. package/docs/enums/LoadStatus.html +0 -7
  123. package/docs/enums/LoadType.html +0 -9
  124. package/docs/enums/LoaderFailureArea.html +0 -7
  125. package/docs/enums/LogLevel.html +0 -8
  126. package/docs/enums/NodeRuntime.html +0 -4
  127. package/docs/enums/PropertyType.html +0 -27
  128. package/docs/enums/SharedLinkAccessLevel.html +0 -7
  129. package/docs/enums/SortOrderOptions.html +0 -5
  130. package/docs/enums/SubscriptionChannel.html +0 -5
  131. package/docs/enums/SubscriptionType.html +0 -9
  132. package/docs/enums/UserOrgRole.html +0 -5
  133. package/docs/enums/WorkspacePrincipalRole.html +0 -5
  134. package/docs/enums/WorkspaceType.html +0 -5
  135. package/docs/functions/isValidNodeRuntime.html +0 -2
  136. package/docs/home-hero.svg +0 -11
  137. package/docs/index.html +0 -5
  138. package/docs/interfaces/App.html +0 -26
  139. package/docs/interfaces/AppAccessGrant.html +0 -15
  140. package/docs/interfaces/AppApiKey.html +0 -15
  141. package/docs/interfaces/AppCodePackage.html +0 -16
  142. package/docs/interfaces/AppExtension.html +0 -20
  143. package/docs/interfaces/AppExtensionDefinition.html +0 -19
  144. package/docs/interfaces/AppOrg.html +0 -17
  145. package/docs/interfaces/AppVersion.html +0 -22
  146. package/docs/interfaces/Asset.html +0 -25
  147. package/docs/interfaces/Assortment.html +0 -32
  148. package/docs/interfaces/AssortmentItem.html +0 -27
  149. package/docs/interfaces/AssortmentSummary.html +0 -16
  150. package/docs/interfaces/Color.html +0 -19
  151. package/docs/interfaces/ColumnIssueDetails.html +0 -6
  152. package/docs/interfaces/CompositePlansSummary.html +0 -16
  153. package/docs/interfaces/ConfigProperty.html +0 -6
  154. package/docs/interfaces/Content.html +0 -29
  155. package/docs/interfaces/ContentHolderContent.html +0 -12
  156. package/docs/interfaces/EntityLoadResult.html +0 -10
  157. package/docs/interfaces/ExternalLink.html +0 -7
  158. package/docs/interfaces/ExternalLinkExtraAttribute.html +0 -4
  159. package/docs/interfaces/File.html +0 -20
  160. package/docs/interfaces/GeneralIssueDetails.html +0 -4
  161. package/docs/interfaces/Group.html +0 -14
  162. package/docs/interfaces/GroupPrincipal.html +0 -16
  163. package/docs/interfaces/Item.html +0 -25
  164. package/docs/interfaces/LoadResult.html +0 -13
  165. package/docs/interfaces/LoaderConfiguration.html +0 -16
  166. package/docs/interfaces/LoaderNumbersSummary.html +0 -14
  167. package/docs/interfaces/Org.html +0 -13
  168. package/docs/interfaces/PreprocessingStepStoredResultSummary.html +0 -6
  169. package/docs/interfaces/ProcessedData.html +0 -9
  170. package/docs/interfaces/ProcessingIssues.html +0 -4
  171. package/docs/interfaces/Project.html +0 -11
  172. package/docs/interfaces/ProjectItem.html +0 -18
  173. package/docs/interfaces/PropertyTypeMetaData.html +0 -5
  174. package/docs/interfaces/RowLoadError.html +0 -4
  175. package/docs/interfaces/SharedLink.html +0 -22
  176. package/docs/interfaces/SharedLinkPrincipal.html +0 -18
  177. package/docs/interfaces/SortOption.html +0 -4
  178. package/docs/interfaces/Subscription.html +0 -18
  179. package/docs/interfaces/TriggerKeyDefinition.html +0 -6
  180. package/docs/interfaces/User.html +0 -14
  181. package/docs/interfaces/UserOrg.html +0 -19
  182. package/docs/interfaces/Workspace.html +0 -29
  183. package/docs/interfaces/WorkspacePrincipal.html +0 -21
  184. package/docs/modules.html +0 -94
  185. package/docs/types/BatchFetchResponse.html +0 -2
  186. package/docs/types/SubscriptionMatrix.html +0 -2
  187. package/docs/variables/BOARD_APP_SUBSCRIBED_TO_CONST.html +0 -2
  188. package/docs/variables/DEFAULT_API_VERSION.html +0 -2
  189. package/docs/variables/PLAN_APP_SUBSCRIBED_TO_CONST.html +0 -2
  190. package/docs/variables/SHOWCASE_APP_SUBSCRIBED_TO_CONST.html +0 -2
@@ -1,46 +1,46 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- import { Group, User } from './user';
3
- export declare enum SharedLinkAccessLevel {
4
- RESTRICTED = "RESTRICTED",
5
- VIEW = "VIEW",
6
- COMMENT = "COMMENT",
7
- EDIT = "EDIT",
8
- MANAGE = "MANAGE"
9
- }
10
- export interface SharedLinkPrincipal extends OrgManagedEntity {
11
- id: string;
12
- createdOn?: Date;
13
- updatedOn?: Date;
14
- createdBy?: string;
15
- updatedBy?: string;
16
- createdById?: string;
17
- updatedById?: string;
18
- orgId?: string;
19
- orgSlug?: string;
20
- userEmail?: string;
21
- principalReference: string;
22
- principal?: User | Group;
23
- sharedLinkId: string;
24
- expiresOn?: string;
25
- accessLevel?: SharedLinkAccessLevel;
26
- }
27
- export interface SharedLink extends OrgManagedEntity {
28
- id: string;
29
- createdOn?: Date;
30
- updatedOn?: Date;
31
- createdBy?: string;
32
- updatedBy?: string;
33
- createdById?: string;
34
- updatedById?: string;
35
- orgId?: string;
36
- orgSlug?: string;
37
- shareType?: string;
38
- contextType: string;
39
- contextId: string;
40
- contextReference?: string;
41
- expiresOn?: Date;
42
- deactivated?: boolean;
43
- accessLevel?: SharedLinkAccessLevel;
44
- sharedLinkPrincipals?: SharedLinkPrincipal[];
45
- currentUserAccessLevel?: SharedLinkAccessLevel;
46
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { Group, User } from './user';
3
+ export declare enum SharedLinkAccessLevel {
4
+ RESTRICTED = "RESTRICTED",
5
+ VIEW = "VIEW",
6
+ COMMENT = "COMMENT",
7
+ EDIT = "EDIT",
8
+ MANAGE = "MANAGE"
9
+ }
10
+ export interface SharedLinkPrincipal extends OrgManagedEntity {
11
+ id: string;
12
+ createdOn?: Date;
13
+ updatedOn?: Date;
14
+ createdBy?: string;
15
+ updatedBy?: string;
16
+ createdById?: string;
17
+ updatedById?: string;
18
+ orgId?: string;
19
+ orgSlug?: string;
20
+ userEmail?: string;
21
+ principalReference: string;
22
+ principal?: User | Group;
23
+ sharedLinkId: string;
24
+ expiresOn?: string;
25
+ accessLevel?: SharedLinkAccessLevel;
26
+ }
27
+ export interface SharedLink extends OrgManagedEntity {
28
+ id: string;
29
+ createdOn?: Date;
30
+ updatedOn?: Date;
31
+ createdBy?: string;
32
+ updatedBy?: string;
33
+ createdById?: string;
34
+ updatedById?: string;
35
+ orgId?: string;
36
+ orgSlug?: string;
37
+ shareType?: string;
38
+ contextType: string;
39
+ contextId: string;
40
+ contextReference?: string;
41
+ expiresOn?: Date;
42
+ deactivated?: boolean;
43
+ accessLevel?: SharedLinkAccessLevel;
44
+ sharedLinkPrincipals?: SharedLinkPrincipal[];
45
+ currentUserAccessLevel?: SharedLinkAccessLevel;
46
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SharedLinkAccessLevel = void 0;
4
- var SharedLinkAccessLevel;
5
- (function (SharedLinkAccessLevel) {
6
- SharedLinkAccessLevel["RESTRICTED"] = "RESTRICTED";
7
- SharedLinkAccessLevel["VIEW"] = "VIEW";
8
- SharedLinkAccessLevel["COMMENT"] = "COMMENT";
9
- SharedLinkAccessLevel["EDIT"] = "EDIT";
10
- SharedLinkAccessLevel["MANAGE"] = "MANAGE";
11
- })(SharedLinkAccessLevel = exports.SharedLinkAccessLevel || (exports.SharedLinkAccessLevel = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SharedLinkAccessLevel = void 0;
4
+ var SharedLinkAccessLevel;
5
+ (function (SharedLinkAccessLevel) {
6
+ SharedLinkAccessLevel["RESTRICTED"] = "RESTRICTED";
7
+ SharedLinkAccessLevel["VIEW"] = "VIEW";
8
+ SharedLinkAccessLevel["COMMENT"] = "COMMENT";
9
+ SharedLinkAccessLevel["EDIT"] = "EDIT";
10
+ SharedLinkAccessLevel["MANAGE"] = "MANAGE";
11
+ })(SharedLinkAccessLevel = exports.SharedLinkAccessLevel || (exports.SharedLinkAccessLevel = {}));
@@ -1,38 +1,38 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- import { Group, User } from './user';
3
- export declare enum SubscriptionType {
4
- COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
5
- COMMENT = "COMMENT",
6
- MENTION = "MENTION",
7
- REPLY = "REPLY",
8
- FAILURE = "FAILURE",
9
- DELETE = "DELETE",
10
- SUCCESS = "SUCCESS"
11
- }
12
- export declare enum SubscriptionChannel {
13
- SLACK = "SLACK",
14
- EMAIL = "EMAIL",
15
- TEAMS = "TEAMS"
16
- }
17
- export declare const SHOWCASE_APP_SUBSCRIBED_TO_CONST = "showcase-app";
18
- export declare const PLAN_APP_SUBSCRIBED_TO_CONST = "plan-app";
19
- export declare const BOARD_APP_SUBSCRIBED_TO_CONST = "board-app";
20
- export type SubscriptionMatrix = {
21
- [key in SubscriptionType]?: SubscriptionChannel[];
22
- };
23
- export interface Subscription extends OrgManagedEntity {
24
- id: string;
25
- name?: string;
26
- createdOn?: Date;
27
- updatedOn?: Date;
28
- createdById?: string;
29
- updatedById?: string;
30
- createdBy?: any;
31
- updatedBy?: any;
32
- orgId?: string;
33
- subscriberRef: string;
34
- subscriber?: Group | User;
35
- subscribedToRef: string;
36
- subscribedTo?: any;
37
- subscriptionMatrix: SubscriptionMatrix;
38
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { Group, User } from './user';
3
+ export declare enum SubscriptionType {
4
+ COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
5
+ COMMENT = "COMMENT",
6
+ MENTION = "MENTION",
7
+ REPLY = "REPLY",
8
+ FAILURE = "FAILURE",
9
+ DELETE = "DELETE",
10
+ SUCCESS = "SUCCESS"
11
+ }
12
+ export declare enum SubscriptionChannel {
13
+ SLACK = "SLACK",
14
+ EMAIL = "EMAIL",
15
+ TEAMS = "TEAMS"
16
+ }
17
+ export declare const SHOWCASE_APP_SUBSCRIBED_TO_CONST = "showcase-app";
18
+ export declare const PLAN_APP_SUBSCRIBED_TO_CONST = "plan-app";
19
+ export declare const BOARD_APP_SUBSCRIBED_TO_CONST = "board-app";
20
+ export type SubscriptionMatrix = {
21
+ [key in SubscriptionType]?: SubscriptionChannel[];
22
+ };
23
+ export interface Subscription extends OrgManagedEntity {
24
+ id: string;
25
+ name?: string;
26
+ createdOn?: Date;
27
+ updatedOn?: Date;
28
+ createdById?: string;
29
+ updatedById?: string;
30
+ createdBy?: any;
31
+ updatedBy?: any;
32
+ orgId?: string;
33
+ subscriberRef: string;
34
+ subscriber?: Group | User;
35
+ subscribedToRef: string;
36
+ subscribedTo?: any;
37
+ subscriptionMatrix: SubscriptionMatrix;
38
+ }
@@ -1,22 +1,22 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BOARD_APP_SUBSCRIBED_TO_CONST = exports.PLAN_APP_SUBSCRIBED_TO_CONST = exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = exports.SubscriptionChannel = exports.SubscriptionType = void 0;
4
- var SubscriptionType;
5
- (function (SubscriptionType) {
6
- SubscriptionType["COMMENT_ON_OWNED"] = "COMMENT_ON_OWNED";
7
- SubscriptionType["COMMENT"] = "COMMENT";
8
- SubscriptionType["MENTION"] = "MENTION";
9
- SubscriptionType["REPLY"] = "REPLY";
10
- SubscriptionType["FAILURE"] = "FAILURE";
11
- SubscriptionType["DELETE"] = "DELETE";
12
- SubscriptionType["SUCCESS"] = "SUCCESS";
13
- })(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
14
- var SubscriptionChannel;
15
- (function (SubscriptionChannel) {
16
- SubscriptionChannel["SLACK"] = "SLACK";
17
- SubscriptionChannel["EMAIL"] = "EMAIL";
18
- SubscriptionChannel["TEAMS"] = "TEAMS";
19
- })(SubscriptionChannel = exports.SubscriptionChannel || (exports.SubscriptionChannel = {}));
20
- exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = 'showcase-app';
21
- exports.PLAN_APP_SUBSCRIBED_TO_CONST = 'plan-app';
22
- exports.BOARD_APP_SUBSCRIBED_TO_CONST = 'board-app';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BOARD_APP_SUBSCRIBED_TO_CONST = exports.PLAN_APP_SUBSCRIBED_TO_CONST = exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = exports.SubscriptionChannel = exports.SubscriptionType = void 0;
4
+ var SubscriptionType;
5
+ (function (SubscriptionType) {
6
+ SubscriptionType["COMMENT_ON_OWNED"] = "COMMENT_ON_OWNED";
7
+ SubscriptionType["COMMENT"] = "COMMENT";
8
+ SubscriptionType["MENTION"] = "MENTION";
9
+ SubscriptionType["REPLY"] = "REPLY";
10
+ SubscriptionType["FAILURE"] = "FAILURE";
11
+ SubscriptionType["DELETE"] = "DELETE";
12
+ SubscriptionType["SUCCESS"] = "SUCCESS";
13
+ })(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
14
+ var SubscriptionChannel;
15
+ (function (SubscriptionChannel) {
16
+ SubscriptionChannel["SLACK"] = "SLACK";
17
+ SubscriptionChannel["EMAIL"] = "EMAIL";
18
+ SubscriptionChannel["TEAMS"] = "TEAMS";
19
+ })(SubscriptionChannel = exports.SubscriptionChannel || (exports.SubscriptionChannel = {}));
20
+ exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = 'showcase-app';
21
+ exports.PLAN_APP_SUBSCRIBED_TO_CONST = 'plan-app';
22
+ exports.BOARD_APP_SUBSCRIBED_TO_CONST = 'board-app';
@@ -1,8 +1,8 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- export interface TypeManagedEntity extends OrgManagedEntity {
3
- typeId?: string;
4
- atts?: {
5
- [key: string]: any;
6
- };
7
- typePath?: string;
8
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ export interface TypeManagedEntity extends OrgManagedEntity {
3
+ typeId?: string;
4
+ atts?: {
5
+ [key: string]: any;
6
+ };
7
+ typePath?: string;
8
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,32 @@
1
+ export declare enum PropertyType {
2
+ Text = "text",
3
+ String = "string",
4
+ Number = "number",
5
+ Date = "date",
6
+ Boolean = "boolean",
7
+ MultiSelect = "multi_select",
8
+ SingleSelect = "choice",
9
+ Url = "url",
10
+ Currency = "currency",
11
+ Percent = "percent",
12
+ Rating = "rating",
13
+ Formula = "formula",
14
+ ObjectReference = "object_reference",
15
+ ObjectReferenceList = "object_ref_list",
16
+ TypeReference = "type_reference",
17
+ DataGrid = "data_grid",
18
+ CascadingSelect = "cascading_select",
19
+ Sequence = "sequence",
20
+ Constant = "constant",
21
+ Composite = "composite",
22
+ UserList = "userList",
23
+ Image = "image",
24
+ Json = "json",
25
+ Password = "password",
26
+ SizeRange = "size_range"
27
+ }
28
+ export interface PropertyTypeMetaData {
29
+ label: string;
30
+ propertyType: PropertyType;
31
+ createable?: boolean;
32
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyType = void 0;
4
+ var PropertyType;
5
+ (function (PropertyType) {
6
+ PropertyType["Text"] = "text";
7
+ PropertyType["String"] = "string";
8
+ PropertyType["Number"] = "number";
9
+ PropertyType["Date"] = "date";
10
+ PropertyType["Boolean"] = "boolean";
11
+ PropertyType["MultiSelect"] = "multi_select";
12
+ PropertyType["SingleSelect"] = "choice";
13
+ PropertyType["Url"] = "url";
14
+ PropertyType["Currency"] = "currency";
15
+ PropertyType["Percent"] = "percent";
16
+ PropertyType["Rating"] = "rating";
17
+ PropertyType["Formula"] = "formula";
18
+ PropertyType["ObjectReference"] = "object_reference";
19
+ PropertyType["ObjectReferenceList"] = "object_ref_list";
20
+ PropertyType["TypeReference"] = "type_reference";
21
+ PropertyType["DataGrid"] = "data_grid";
22
+ PropertyType["CascadingSelect"] = "cascading_select";
23
+ PropertyType["Sequence"] = "sequence";
24
+ PropertyType["Constant"] = "constant";
25
+ PropertyType["Composite"] = "composite";
26
+ PropertyType["UserList"] = "userList";
27
+ PropertyType["Image"] = "image";
28
+ PropertyType["Json"] = "json";
29
+ PropertyType["Password"] = "password";
30
+ PropertyType["SizeRange"] = "size_range";
31
+ })(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
package/lib/user.d.ts CHANGED
@@ -1,79 +1,79 @@
1
- import { BaseManagedEntity } from './base-managed-entity';
2
- import { Org } from './org';
3
- import { OrgManagedEntity } from './org-managed-entity';
4
- export declare enum UserOrgRole {
5
- admin = "ADMIN",
6
- member = "MEMBER",
7
- guest = "GUEST"
8
- }
9
- export declare enum SystemRole {
10
- SYSTEM = "SYSTEM"
11
- }
12
- export interface UserOrg extends OrgManagedEntity {
13
- id?: string;
14
- createdOn?: Date;
15
- updatedOn?: Date;
16
- userId?: string;
17
- orgId?: string;
18
- role: UserOrgRole;
19
- userEmail?: string;
20
- orgSlug?: string;
21
- user?: User;
22
- first?: string;
23
- last?: string;
24
- domain?: string;
25
- full?: string;
26
- org?: Org;
27
- }
28
- export declare enum PlatformRole {
29
- PLATFORM_MANAGER = "PLATFORM_MANAGER",
30
- PLATFORM_OPS = "PLATFORM_OPS",
31
- PLATFORM_USER = "PLATFORM_USER",
32
- PLATFORM_ADMIN = "PLATFORM_ADMIN"
33
- }
34
- export interface PlatformUser extends BaseManagedEntity {
35
- id?: string;
36
- createdOn?: Date;
37
- updatedOn?: Date;
38
- userId: string;
39
- roles: PlatformRole[];
40
- user?: User;
41
- }
42
- export interface User extends BaseManagedEntity {
43
- id?: string;
44
- createdOn?: Date;
45
- updatedOn?: Date;
46
- firstName?: string;
47
- lastName?: string;
48
- email?: string;
49
- isAppUser?: boolean;
50
- isSsoUser?: boolean;
51
- platformRoles?: Array<PlatformRole>;
52
- orgs?: Array<UserOrg>;
53
- }
54
- export interface Group extends OrgManagedEntity {
55
- id: string;
56
- createdOn?: Date;
57
- updatedOn?: Date;
58
- createdById?: string;
59
- updatedById?: string;
60
- createdBy?: any;
61
- updatedBy?: any;
62
- orgId?: string;
63
- name: string;
64
- groupPrincipals?: GroupPrincipal[];
65
- }
66
- export interface GroupPrincipal extends OrgManagedEntity {
67
- id: string;
68
- createdOn?: Date;
69
- updatedOn?: Date;
70
- createdById?: string;
71
- updatedById?: string;
72
- createdBy?: any;
73
- updatedBy?: any;
74
- orgId?: string;
75
- groupId?: string;
76
- group?: Group;
77
- principalReference?: string;
78
- principal?: any;
79
- }
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ import { Org } from './org';
3
+ import { OrgManagedEntity } from './org-managed-entity';
4
+ export declare enum UserOrgRole {
5
+ admin = "ADMIN",
6
+ member = "MEMBER",
7
+ guest = "GUEST"
8
+ }
9
+ export declare enum SystemRole {
10
+ SYSTEM = "SYSTEM"
11
+ }
12
+ export interface UserOrg extends OrgManagedEntity {
13
+ id?: string;
14
+ createdOn?: Date;
15
+ updatedOn?: Date;
16
+ userId?: string;
17
+ orgId?: string;
18
+ role: UserOrgRole;
19
+ userEmail?: string;
20
+ orgSlug?: string;
21
+ user?: User;
22
+ first?: string;
23
+ last?: string;
24
+ domain?: string;
25
+ full?: string;
26
+ org?: Org;
27
+ }
28
+ export declare enum PlatformRole {
29
+ PLATFORM_MANAGER = "PLATFORM_MANAGER",
30
+ PLATFORM_OPS = "PLATFORM_OPS",
31
+ PLATFORM_USER = "PLATFORM_USER",
32
+ PLATFORM_ADMIN = "PLATFORM_ADMIN"
33
+ }
34
+ export interface PlatformUser extends BaseManagedEntity {
35
+ id?: string;
36
+ createdOn?: Date;
37
+ updatedOn?: Date;
38
+ userId: string;
39
+ roles: PlatformRole[];
40
+ user?: User;
41
+ }
42
+ export interface User extends BaseManagedEntity {
43
+ id?: string;
44
+ createdOn?: Date;
45
+ updatedOn?: Date;
46
+ firstName?: string;
47
+ lastName?: string;
48
+ email?: string;
49
+ isAppUser?: boolean;
50
+ isSsoUser?: boolean;
51
+ platformRoles?: Array<PlatformRole>;
52
+ orgs?: Array<UserOrg>;
53
+ }
54
+ export interface Group extends OrgManagedEntity {
55
+ id: string;
56
+ createdOn?: Date;
57
+ updatedOn?: Date;
58
+ createdById?: string;
59
+ updatedById?: string;
60
+ createdBy?: any;
61
+ updatedBy?: any;
62
+ orgId?: string;
63
+ name: string;
64
+ groupPrincipals?: GroupPrincipal[];
65
+ }
66
+ export interface GroupPrincipal extends OrgManagedEntity {
67
+ id: string;
68
+ createdOn?: Date;
69
+ updatedOn?: Date;
70
+ createdById?: string;
71
+ updatedById?: string;
72
+ createdBy?: any;
73
+ updatedBy?: any;
74
+ orgId?: string;
75
+ groupId?: string;
76
+ group?: Group;
77
+ principalReference?: string;
78
+ principal?: any;
79
+ }
package/lib/user.js CHANGED
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlatformRole = exports.SystemRole = exports.UserOrgRole = void 0;
4
- var UserOrgRole;
5
- (function (UserOrgRole) {
6
- UserOrgRole["admin"] = "ADMIN";
7
- UserOrgRole["member"] = "MEMBER";
8
- UserOrgRole["guest"] = "GUEST";
9
- })(UserOrgRole = exports.UserOrgRole || (exports.UserOrgRole = {}));
10
- var SystemRole;
11
- (function (SystemRole) {
12
- SystemRole["SYSTEM"] = "SYSTEM";
13
- })(SystemRole = exports.SystemRole || (exports.SystemRole = {}));
14
- var PlatformRole;
15
- (function (PlatformRole) {
16
- PlatformRole["PLATFORM_MANAGER"] = "PLATFORM_MANAGER";
17
- PlatformRole["PLATFORM_OPS"] = "PLATFORM_OPS";
18
- PlatformRole["PLATFORM_USER"] = "PLATFORM_USER";
19
- PlatformRole["PLATFORM_ADMIN"] = "PLATFORM_ADMIN";
20
- })(PlatformRole = exports.PlatformRole || (exports.PlatformRole = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlatformRole = exports.SystemRole = exports.UserOrgRole = void 0;
4
+ var UserOrgRole;
5
+ (function (UserOrgRole) {
6
+ UserOrgRole["admin"] = "ADMIN";
7
+ UserOrgRole["member"] = "MEMBER";
8
+ UserOrgRole["guest"] = "GUEST";
9
+ })(UserOrgRole = exports.UserOrgRole || (exports.UserOrgRole = {}));
10
+ var SystemRole;
11
+ (function (SystemRole) {
12
+ SystemRole["SYSTEM"] = "SYSTEM";
13
+ })(SystemRole = exports.SystemRole || (exports.SystemRole = {}));
14
+ var PlatformRole;
15
+ (function (PlatformRole) {
16
+ PlatformRole["PLATFORM_MANAGER"] = "PLATFORM_MANAGER";
17
+ PlatformRole["PLATFORM_OPS"] = "PLATFORM_OPS";
18
+ PlatformRole["PLATFORM_USER"] = "PLATFORM_USER";
19
+ PlatformRole["PLATFORM_ADMIN"] = "PLATFORM_ADMIN";
20
+ })(PlatformRole = exports.PlatformRole || (exports.PlatformRole = {}));
@@ -1,5 +1,5 @@
1
- import { TypeManagedEntity } from './type-managed-entity';
2
- export interface WorkspaceManagedEntity extends TypeManagedEntity {
3
- workspaceId?: string;
4
- isTrashed?: boolean;
5
- }
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
+ export interface WorkspaceManagedEntity extends TypeManagedEntity {
3
+ workspaceId?: string;
4
+ isTrashed?: boolean;
5
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +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
- }
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
+ }
@@ -1,9 +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 = {}));
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 = {}));