@contrail/entity-types 1.4.2 → 1.5.0-alpha-1

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 +39 -35
  52. package/lib/index.js +55 -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
@@ -0,0 +1,6 @@
1
+ export interface ActionDefinitionConfig {
2
+ id: string;
3
+ config: any;
4
+ identifier: string;
5
+ name?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +1,15 @@
1
- import { App } from './app';
2
- import { BaseManagedEntity } from './base-managed-entity';
3
- import { Org } from './org';
4
- export interface AppAccessGrant extends BaseManagedEntity {
5
- issuerReference: string;
6
- issuer?: Org;
7
- recipientReference: string;
8
- recipient?: Org;
9
- appId: string;
10
- app?: App;
11
- scope: AppAccessGrantScope;
12
- }
13
- export declare enum AppAccessGrantScope {
14
- INSTALL = "INSTALL"
15
- }
1
+ import { App } from './app';
2
+ import { BaseManagedEntity } from './base-managed-entity';
3
+ import { Org } from './org';
4
+ export interface AppAccessGrant extends BaseManagedEntity {
5
+ issuerReference: string;
6
+ issuer?: Org;
7
+ recipientReference: string;
8
+ recipient?: Org;
9
+ appId: string;
10
+ app?: App;
11
+ scope: AppAccessGrantScope;
12
+ }
13
+ export declare enum AppAccessGrantScope {
14
+ INSTALL = "INSTALL"
15
+ }
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppAccessGrantScope = void 0;
4
- var AppAccessGrantScope;
5
- (function (AppAccessGrantScope) {
6
- AppAccessGrantScope["INSTALL"] = "INSTALL";
7
- })(AppAccessGrantScope = exports.AppAccessGrantScope || (exports.AppAccessGrantScope = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppAccessGrantScope = void 0;
4
+ var AppAccessGrantScope;
5
+ (function (AppAccessGrantScope) {
6
+ AppAccessGrantScope["INSTALL"] = "INSTALL";
7
+ })(AppAccessGrantScope = exports.AppAccessGrantScope || (exports.AppAccessGrantScope = {}));
@@ -1,15 +1,15 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- import { AppOrg } from './app-org';
3
- export interface AppApiKey extends OrgManagedEntity {
4
- id: string;
5
- createdOn?: Date;
6
- updatedOn?: Date;
7
- createdById?: string;
8
- updatedById?: string;
9
- createdBy?: any;
10
- updatedBy?: any;
11
- orgId?: string;
12
- appOrgId?: string;
13
- appOrg?: AppOrg;
14
- apiKey?: string;
15
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { AppOrg } from './app-org';
3
+ export interface AppApiKey extends OrgManagedEntity {
4
+ id: string;
5
+ createdOn?: Date;
6
+ updatedOn?: Date;
7
+ createdById?: string;
8
+ updatedById?: string;
9
+ createdBy?: any;
10
+ updatedBy?: any;
11
+ orgId?: string;
12
+ appOrgId?: string;
13
+ appOrg?: AppOrg;
14
+ apiKey?: string;
15
+ }
@@ -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,17 +1,17 @@
1
- import { App } from './app';
2
- import { BaseManagedEntity } from './base-managed-entity';
3
- export interface AppCodePackage extends BaseManagedEntity {
4
- id: string;
5
- createdOn?: Date;
6
- updatedOn?: Date;
7
- createdById?: string;
8
- updatedById?: string;
9
- createdBy?: any;
10
- updatedBy?: any;
11
- orgId?: string;
12
- appId?: string;
13
- app?: App;
14
- s3Location?: string;
15
- uploadURL?: string;
16
- downloadURL?: string;
17
- }
1
+ import { App } from './app';
2
+ import { BaseManagedEntity } from './base-managed-entity';
3
+ export interface AppCodePackage extends BaseManagedEntity {
4
+ id: string;
5
+ createdOn?: Date;
6
+ updatedOn?: Date;
7
+ createdById?: string;
8
+ updatedById?: string;
9
+ createdBy?: any;
10
+ updatedBy?: any;
11
+ orgId?: string;
12
+ appId?: string;
13
+ app?: App;
14
+ s3Location?: string;
15
+ uploadURL?: string;
16
+ downloadURL?: string;
17
+ }
@@ -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,34 +1,34 @@
1
- import { App } from './app';
2
- import { AppVersion } from './app-version';
3
- import { BaseManagedEntity } from './base-managed-entity';
4
- export declare enum AppExtensionType {
5
- DOCUMENT_AUTOMATION = "DOCUMENT_AUTOMATION",
6
- CONTEXTUAL_ACTION = "CONTEXTUAL_ACTION",
7
- CONTEXTUAL_INFORMATION_WIDGET = "CONTEXTUAL_INFORMATION_WIDGET",
8
- ADMIN_UTILITY = "ADMIN_UTILITY"
9
- }
10
- export declare enum AppExtensionUserApps {
11
- BOARDS = "BOARDS",
12
- SHOWCASE = "SHOWCASE",
13
- PLAN = "PLAN",
14
- ADMIN_CONSOLE = "ADMIN_CONSOLE",
15
- ALL = "ALL"
16
- }
17
- export interface AppExtensionDefinition extends BaseManagedEntity {
18
- id?: string;
19
- createdOn?: Date;
20
- updatedOn?: Date;
21
- createdById?: string;
22
- updatedById?: string;
23
- name: string;
24
- identifier: string;
25
- appId: string;
26
- app?: App;
27
- appVersionId: string;
28
- appVersion?: AppVersion;
29
- extensionType?: AppExtensionType;
30
- userApps?: AppExtensionUserApps[];
31
- modalDimensions?: any;
32
- iframeUrl?: string;
33
- widgetHeight?: any;
34
- }
1
+ import { App } from './app';
2
+ import { AppVersion } from './app-version';
3
+ import { BaseManagedEntity } from './base-managed-entity';
4
+ export declare enum AppExtensionType {
5
+ DOCUMENT_AUTOMATION = "DOCUMENT_AUTOMATION",
6
+ CONTEXTUAL_ACTION = "CONTEXTUAL_ACTION",
7
+ CONTEXTUAL_INFORMATION_WIDGET = "CONTEXTUAL_INFORMATION_WIDGET",
8
+ ADMIN_UTILITY = "ADMIN_UTILITY"
9
+ }
10
+ export declare enum AppExtensionUserApps {
11
+ BOARDS = "BOARDS",
12
+ SHOWCASE = "SHOWCASE",
13
+ PLAN = "PLAN",
14
+ ADMIN_CONSOLE = "ADMIN_CONSOLE",
15
+ ALL = "ALL"
16
+ }
17
+ export interface AppExtensionDefinition extends BaseManagedEntity {
18
+ id?: string;
19
+ createdOn?: Date;
20
+ updatedOn?: Date;
21
+ createdById?: string;
22
+ updatedById?: string;
23
+ name: string;
24
+ identifier: string;
25
+ appId: string;
26
+ app?: App;
27
+ appVersionId: string;
28
+ appVersion?: AppVersion;
29
+ extensionType?: AppExtensionType;
30
+ userApps?: AppExtensionUserApps[];
31
+ modalDimensions?: any;
32
+ iframeUrl?: string;
33
+ widgetHeight?: any;
34
+ }
@@ -1,18 +1,18 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppExtensionUserApps = exports.AppExtensionType = void 0;
4
- var AppExtensionType;
5
- (function (AppExtensionType) {
6
- AppExtensionType["DOCUMENT_AUTOMATION"] = "DOCUMENT_AUTOMATION";
7
- AppExtensionType["CONTEXTUAL_ACTION"] = "CONTEXTUAL_ACTION";
8
- AppExtensionType["CONTEXTUAL_INFORMATION_WIDGET"] = "CONTEXTUAL_INFORMATION_WIDGET";
9
- AppExtensionType["ADMIN_UTILITY"] = "ADMIN_UTILITY";
10
- })(AppExtensionType = exports.AppExtensionType || (exports.AppExtensionType = {}));
11
- var AppExtensionUserApps;
12
- (function (AppExtensionUserApps) {
13
- AppExtensionUserApps["BOARDS"] = "BOARDS";
14
- AppExtensionUserApps["SHOWCASE"] = "SHOWCASE";
15
- AppExtensionUserApps["PLAN"] = "PLAN";
16
- AppExtensionUserApps["ADMIN_CONSOLE"] = "ADMIN_CONSOLE";
17
- AppExtensionUserApps["ALL"] = "ALL";
18
- })(AppExtensionUserApps = exports.AppExtensionUserApps || (exports.AppExtensionUserApps = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppExtensionUserApps = exports.AppExtensionType = void 0;
4
+ var AppExtensionType;
5
+ (function (AppExtensionType) {
6
+ AppExtensionType["DOCUMENT_AUTOMATION"] = "DOCUMENT_AUTOMATION";
7
+ AppExtensionType["CONTEXTUAL_ACTION"] = "CONTEXTUAL_ACTION";
8
+ AppExtensionType["CONTEXTUAL_INFORMATION_WIDGET"] = "CONTEXTUAL_INFORMATION_WIDGET";
9
+ AppExtensionType["ADMIN_UTILITY"] = "ADMIN_UTILITY";
10
+ })(AppExtensionType = exports.AppExtensionType || (exports.AppExtensionType = {}));
11
+ var AppExtensionUserApps;
12
+ (function (AppExtensionUserApps) {
13
+ AppExtensionUserApps["BOARDS"] = "BOARDS";
14
+ AppExtensionUserApps["SHOWCASE"] = "SHOWCASE";
15
+ AppExtensionUserApps["PLAN"] = "PLAN";
16
+ AppExtensionUserApps["ADMIN_CONSOLE"] = "ADMIN_CONSOLE";
17
+ AppExtensionUserApps["ALL"] = "ALL";
18
+ })(AppExtensionUserApps = exports.AppExtensionUserApps || (exports.AppExtensionUserApps = {}));
@@ -1,23 +1,23 @@
1
- import { App } from './app';
2
- import { AppExtensionType, AppExtensionUserApps } from './app-extension-definition';
3
- import { AppVersion } from './app-version';
4
- import { OrgManagedEntity } from './org-managed-entity';
5
- export interface AppExtension extends OrgManagedEntity {
6
- id?: string;
7
- createdOn?: Date;
8
- updatedOn?: Date;
9
- createdById?: string;
10
- updatedById?: string;
11
- orgId?: string;
12
- orgSlug?: string;
13
- name: string;
14
- identifier: string;
15
- appId: string;
16
- app?: App;
17
- appVersionId: string;
18
- appVersion?: AppVersion;
19
- extensionType?: AppExtensionType;
20
- userApps?: AppExtensionUserApps[];
21
- modalDimensions?: any;
22
- iframeUrl?: string;
23
- }
1
+ import { App } from './app';
2
+ import { AppExtensionType, AppExtensionUserApps } from './app-extension-definition';
3
+ import { AppVersion } from './app-version';
4
+ import { OrgManagedEntity } from './org-managed-entity';
5
+ export interface AppExtension extends OrgManagedEntity {
6
+ id?: string;
7
+ createdOn?: Date;
8
+ updatedOn?: Date;
9
+ createdById?: string;
10
+ updatedById?: string;
11
+ orgId?: string;
12
+ orgSlug?: string;
13
+ name: string;
14
+ identifier: string;
15
+ appId: string;
16
+ app?: App;
17
+ appVersionId: string;
18
+ appVersion?: AppVersion;
19
+ extensionType?: AppExtensionType;
20
+ userApps?: AppExtensionUserApps[];
21
+ modalDimensions?: any;
22
+ iframeUrl?: string;
23
+ }
@@ -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/app-org.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- import { App } from './app';
3
- import { AppVersion } from './app-version';
4
- import { AppApiKey } from './app-api-key';
5
- export declare enum AppOrgStatus {
6
- INSTALLING = "INSTALLING",
7
- FAILED_INSTALLING = "FAILED_INSTALLING",
8
- READY = "READY",
9
- DELETING = "DELETING",
10
- FAILED_DELETING = "FAILED_DELETING"
11
- }
12
- export interface AppOrg extends OrgManagedEntity {
13
- status: AppOrgStatus;
14
- appId?: string;
15
- app?: App;
16
- appVersionId?: string;
17
- appVersion?: AppVersion;
18
- apiKey?: AppApiKey;
19
- appConfig?: any;
20
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { App } from './app';
3
+ import { AppVersion } from './app-version';
4
+ import { AppApiKey } from './app-api-key';
5
+ export declare enum AppOrgStatus {
6
+ INSTALLING = "INSTALLING",
7
+ FAILED_INSTALLING = "FAILED_INSTALLING",
8
+ READY = "READY",
9
+ DELETING = "DELETING",
10
+ FAILED_DELETING = "FAILED_DELETING"
11
+ }
12
+ export interface AppOrg extends OrgManagedEntity {
13
+ status: AppOrgStatus;
14
+ appId?: string;
15
+ app?: App;
16
+ appVersionId?: string;
17
+ appVersion?: AppVersion;
18
+ apiKey?: AppApiKey;
19
+ appConfig?: any;
20
+ }
package/lib/app-org.js CHANGED
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppOrgStatus = void 0;
4
- var AppOrgStatus;
5
- (function (AppOrgStatus) {
6
- AppOrgStatus["INSTALLING"] = "INSTALLING";
7
- AppOrgStatus["FAILED_INSTALLING"] = "FAILED_INSTALLING";
8
- AppOrgStatus["READY"] = "READY";
9
- AppOrgStatus["DELETING"] = "DELETING";
10
- AppOrgStatus["FAILED_DELETING"] = "FAILED_DELETING";
11
- })(AppOrgStatus = exports.AppOrgStatus || (exports.AppOrgStatus = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppOrgStatus = void 0;
4
+ var AppOrgStatus;
5
+ (function (AppOrgStatus) {
6
+ AppOrgStatus["INSTALLING"] = "INSTALLING";
7
+ AppOrgStatus["FAILED_INSTALLING"] = "FAILED_INSTALLING";
8
+ AppOrgStatus["READY"] = "READY";
9
+ AppOrgStatus["DELETING"] = "DELETING";
10
+ AppOrgStatus["FAILED_DELETING"] = "FAILED_DELETING";
11
+ })(AppOrgStatus = exports.AppOrgStatus || (exports.AppOrgStatus = {}));
@@ -1,57 +1,57 @@
1
- import { BaseManagedEntity } from './base-managed-entity';
2
- import { App } from './app';
3
- import { AppCodePackage } from './app-code-package';
4
- import { PropertyType } from './property-type';
5
- import { AppOrg } from './app-org';
6
- export declare enum AppVersionStatus {
7
- PUBLISHING = "PUBLISHING",
8
- FAILED_PUBLISHING = "FAILED_PUBLISHING",
9
- PUBLISHED = "PUBLISHED",
10
- ARCHIVING = "ARCHIVING",
11
- FAILED_ARCHIVING = "FAILED_ARCHIVING",
12
- ARCHIVED = "ARCHIVED"
13
- }
14
- export declare enum NodeRuntime {
15
- NODEJS_18_X = "nodejs18.x",
16
- NODEJS_22_X = "nodejs22.x"
17
- }
18
- export declare function isValidNodeRuntime(runtime: string): runtime is NodeRuntime;
19
- export interface AppVersion extends BaseManagedEntity {
20
- orgId?: string;
21
- appId?: string;
22
- app?: App;
23
- appOrgs?: AppOrg[];
24
- versionNumber: number;
25
- semver: string;
26
- status: AppVersionStatus;
27
- eventWorkflowTriggerKeyMapping: string;
28
- configProperties?: ConfigProperty[];
29
- triggerKeyDefinitions?: TriggerKeyDefinition[];
30
- appCodePackageId?: string;
31
- appCodePackage?: AppCodePackage;
32
- frameworkVersion?: number;
33
- nodeRuntime?: NodeRuntime;
34
- }
35
- export interface ConfigProperty {
36
- slug: string;
37
- propertyType: PropertyType;
38
- options?: any[];
39
- label: string;
40
- }
41
- export interface TriggerKeyDefinition {
42
- name: string;
43
- description?: string;
44
- triggerKey: string;
45
- external?: boolean;
46
- }
47
- export interface ExternalLink {
48
- name: string;
49
- label: string;
50
- link: string;
51
- img?: string;
52
- extraAttributes: ExternalLinkExtraAttribute[];
53
- }
54
- export interface ExternalLinkExtraAttribute {
55
- name: string;
56
- value: any;
57
- }
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ import { App } from './app';
3
+ import { AppCodePackage } from './app-code-package';
4
+ import { PropertyType } from './property-type';
5
+ import { AppOrg } from './app-org';
6
+ export declare enum AppVersionStatus {
7
+ PUBLISHING = "PUBLISHING",
8
+ FAILED_PUBLISHING = "FAILED_PUBLISHING",
9
+ PUBLISHED = "PUBLISHED",
10
+ ARCHIVING = "ARCHIVING",
11
+ FAILED_ARCHIVING = "FAILED_ARCHIVING",
12
+ ARCHIVED = "ARCHIVED"
13
+ }
14
+ export declare enum NodeRuntime {
15
+ NODEJS_18_X = "nodejs18.x",
16
+ NODEJS_22_X = "nodejs22.x"
17
+ }
18
+ export declare function isValidNodeRuntime(runtime: string): runtime is NodeRuntime;
19
+ export interface AppVersion extends BaseManagedEntity {
20
+ orgId?: string;
21
+ appId?: string;
22
+ app?: App;
23
+ appOrgs?: AppOrg[];
24
+ versionNumber: number;
25
+ semver: string;
26
+ status: AppVersionStatus;
27
+ eventWorkflowTriggerKeyMapping: string;
28
+ configProperties?: ConfigProperty[];
29
+ triggerKeyDefinitions?: TriggerKeyDefinition[];
30
+ appCodePackageId?: string;
31
+ appCodePackage?: AppCodePackage;
32
+ frameworkVersion?: number;
33
+ nodeRuntime?: NodeRuntime;
34
+ }
35
+ export interface ConfigProperty {
36
+ slug: string;
37
+ propertyType: PropertyType;
38
+ options?: any[];
39
+ label: string;
40
+ }
41
+ export interface TriggerKeyDefinition {
42
+ name: string;
43
+ description?: string;
44
+ triggerKey: string;
45
+ external?: boolean;
46
+ }
47
+ export interface ExternalLink {
48
+ name: string;
49
+ label: string;
50
+ link: string;
51
+ img?: string;
52
+ extraAttributes: ExternalLinkExtraAttribute[];
53
+ }
54
+ export interface ExternalLinkExtraAttribute {
55
+ name: string;
56
+ value: any;
57
+ }
@@ -1,21 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isValidNodeRuntime = exports.NodeRuntime = exports.AppVersionStatus = void 0;
4
- var AppVersionStatus;
5
- (function (AppVersionStatus) {
6
- AppVersionStatus["PUBLISHING"] = "PUBLISHING";
7
- AppVersionStatus["FAILED_PUBLISHING"] = "FAILED_PUBLISHING";
8
- AppVersionStatus["PUBLISHED"] = "PUBLISHED";
9
- AppVersionStatus["ARCHIVING"] = "ARCHIVING";
10
- AppVersionStatus["FAILED_ARCHIVING"] = "FAILED_ARCHIVING";
11
- AppVersionStatus["ARCHIVED"] = "ARCHIVED";
12
- })(AppVersionStatus = exports.AppVersionStatus || (exports.AppVersionStatus = {}));
13
- var NodeRuntime;
14
- (function (NodeRuntime) {
15
- NodeRuntime["NODEJS_18_X"] = "nodejs18.x";
16
- NodeRuntime["NODEJS_22_X"] = "nodejs22.x";
17
- })(NodeRuntime = exports.NodeRuntime || (exports.NodeRuntime = {}));
18
- function isValidNodeRuntime(runtime) {
19
- return Object.values(NodeRuntime).includes(runtime);
20
- }
21
- exports.isValidNodeRuntime = isValidNodeRuntime;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isValidNodeRuntime = exports.NodeRuntime = exports.AppVersionStatus = void 0;
4
+ var AppVersionStatus;
5
+ (function (AppVersionStatus) {
6
+ AppVersionStatus["PUBLISHING"] = "PUBLISHING";
7
+ AppVersionStatus["FAILED_PUBLISHING"] = "FAILED_PUBLISHING";
8
+ AppVersionStatus["PUBLISHED"] = "PUBLISHED";
9
+ AppVersionStatus["ARCHIVING"] = "ARCHIVING";
10
+ AppVersionStatus["FAILED_ARCHIVING"] = "FAILED_ARCHIVING";
11
+ AppVersionStatus["ARCHIVED"] = "ARCHIVED";
12
+ })(AppVersionStatus = exports.AppVersionStatus || (exports.AppVersionStatus = {}));
13
+ var NodeRuntime;
14
+ (function (NodeRuntime) {
15
+ NodeRuntime["NODEJS_18_X"] = "nodejs18.x";
16
+ NodeRuntime["NODEJS_22_X"] = "nodejs22.x";
17
+ })(NodeRuntime = exports.NodeRuntime || (exports.NodeRuntime = {}));
18
+ function isValidNodeRuntime(runtime) {
19
+ return Object.values(NodeRuntime).includes(runtime);
20
+ }
21
+ exports.isValidNodeRuntime = isValidNodeRuntime;
package/lib/app.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- import { AppAccessGrant } from './app-access-grant';
2
- import { AppCodePackage } from './app-code-package';
3
- import { AppOrg } from './app-org';
4
- import { AppVersion, ConfigProperty, TriggerKeyDefinition } from './app-version';
5
- import { BaseManagedEntity } from './base-managed-entity';
6
- export interface App extends BaseManagedEntity {
7
- name: string;
8
- identifier: string;
9
- installable?: boolean;
10
- latestAppVersionId?: string;
11
- latestAppVersion?: AppVersion;
12
- version: string;
13
- thumbnail?: string;
14
- description?: string;
15
- publisher: string;
16
- public: boolean;
17
- eventWorkflowTriggerKeyMapping: string;
18
- configProperties?: ConfigProperty[];
19
- appOrgs?: AppOrg[];
20
- triggerKeyDefinitions?: TriggerKeyDefinition[];
21
- appCodePackageId?: string;
22
- appCodePackage?: AppCodePackage;
23
- frameworkVersion?: number;
24
- appAccessGrants?: AppAccessGrant[];
25
- }
1
+ import { AppAccessGrant } from './app-access-grant';
2
+ import { AppCodePackage } from './app-code-package';
3
+ import { AppOrg } from './app-org';
4
+ import { AppVersion, ConfigProperty, TriggerKeyDefinition } from './app-version';
5
+ import { BaseManagedEntity } from './base-managed-entity';
6
+ export interface App extends BaseManagedEntity {
7
+ name: string;
8
+ identifier: string;
9
+ installable?: boolean;
10
+ latestAppVersionId?: string;
11
+ latestAppVersion?: AppVersion;
12
+ version: string;
13
+ thumbnail?: string;
14
+ description?: string;
15
+ publisher: string;
16
+ public: boolean;
17
+ eventWorkflowTriggerKeyMapping: string;
18
+ configProperties?: ConfigProperty[];
19
+ appOrgs?: AppOrg[];
20
+ triggerKeyDefinitions?: TriggerKeyDefinition[];
21
+ appCodePackageId?: string;
22
+ appCodePackage?: AppCodePackage;
23
+ frameworkVersion?: number;
24
+ appAccessGrants?: AppAccessGrant[];
25
+ }
package/lib/app.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 });
package/lib/asset.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { TypeManagedEntity } from './type-managed-entity';
2
- import { Content } from './content';
3
- export interface Asset extends TypeManagedEntity {
4
- workspaceId?: string;
5
- name?: string;
6
- contentId: string;
7
- content?: Content;
8
- copyFileId?: string;
9
- fileName?: string;
10
- contentType?: string;
11
- fileSize?: string;
12
- largeViewableDownloadUrl?: string;
13
- mediumViewableDownloadUrl?: string;
14
- smallViewableDownloadUrl?: string;
15
- tinyViewableDownloadUrl?: string;
16
- }
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
+ import { Content } from './content';
3
+ export interface Asset extends TypeManagedEntity {
4
+ workspaceId?: string;
5
+ name?: string;
6
+ contentId: string;
7
+ content?: Content;
8
+ copyFileId?: string;
9
+ fileName?: string;
10
+ contentType?: string;
11
+ fileSize?: string;
12
+ largeViewableDownloadUrl?: string;
13
+ mediumViewableDownloadUrl?: string;
14
+ smallViewableDownloadUrl?: string;
15
+ tinyViewableDownloadUrl?: string;
16
+ }
package/lib/asset.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 });