@contrail/entity-types 1.4.0 → 1.4.2

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