@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
package/lib/client.js CHANGED
@@ -1,114 +1,114 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntitiesClient = exports.EntitiesClientBatchDeleteOptions = exports.EntitiesClientDeleteOptions = exports.EntitiesClientBatchUpdateOptions = exports.EntitiesClientUpdateOptions = exports.EntitiesClientBatchCreateOptions = exports.EntitiesClientCreateOptions = exports.EntitiesClientGetOptions = exports.DEFAULT_API_VERSION = exports.API_VERSION = exports.SortOrderOptions = exports.EntityReference = exports.ApiError = exports.TimeoutError = exports.InvalidPolicyError = void 0;
4
- class InvalidPolicyError extends Error {
5
- }
6
- exports.InvalidPolicyError = InvalidPolicyError;
7
- class TimeoutError extends Error {
8
- }
9
- exports.TimeoutError = TimeoutError;
10
- class ApiError extends Error {
11
- details;
12
- constructor(message, details) {
13
- super(message);
14
- this.details = details;
15
- this.details = details;
16
- }
17
- }
18
- exports.ApiError = ApiError;
19
- class EntityReference {
20
- id;
21
- entityType;
22
- reference;
23
- }
24
- exports.EntityReference = EntityReference;
25
- var SortOrderOptions;
26
- (function (SortOrderOptions) {
27
- SortOrderOptions["ASC"] = "asc";
28
- SortOrderOptions["DESC"] = "desc";
29
- })(SortOrderOptions = exports.SortOrderOptions || (exports.SortOrderOptions = {}));
30
- var API_VERSION;
31
- (function (API_VERSION) {
32
- API_VERSION["EMPTY"] = "";
33
- API_VERSION["V1"] = "1";
34
- API_VERSION["V2"] = "2";
35
- })(API_VERSION = exports.API_VERSION || (exports.API_VERSION = {}));
36
- exports.DEFAULT_API_VERSION = API_VERSION.EMPTY;
37
- class EntitiesClientGetOptions {
38
- entityName;
39
- id;
40
- reference;
41
- federatedId;
42
- federatedIds;
43
- relation;
44
- relations;
45
- criteria;
46
- cacheMode;
47
- search;
48
- useSearch;
49
- order;
50
- skip;
51
- take;
52
- paginate;
53
- nextPageKey;
54
- apiVersion;
55
- suffix;
56
- skipHydrateRelationships;
57
- }
58
- exports.EntitiesClientGetOptions = EntitiesClientGetOptions;
59
- class EntitiesClientCreateOptions {
60
- entityName;
61
- object;
62
- id;
63
- relation;
64
- apiVersion;
65
- suffix;
66
- skipHydrateRelationships;
67
- }
68
- exports.EntitiesClientCreateOptions = EntitiesClientCreateOptions;
69
- class EntitiesClientBatchCreateOptions {
70
- entityName;
71
- objects;
72
- apiVersion;
73
- suffix;
74
- }
75
- exports.EntitiesClientBatchCreateOptions = EntitiesClientBatchCreateOptions;
76
- class EntitiesClientUpdateOptions {
77
- entityName;
78
- object;
79
- id;
80
- reference;
81
- relation;
82
- relationId;
83
- apiVersion;
84
- suffix;
85
- skipHydrateRelationships;
86
- }
87
- exports.EntitiesClientUpdateOptions = EntitiesClientUpdateOptions;
88
- class EntitiesClientBatchUpdateOptions {
89
- entityName;
90
- objects;
91
- apiVersion;
92
- suffix;
93
- }
94
- exports.EntitiesClientBatchUpdateOptions = EntitiesClientBatchUpdateOptions;
95
- class EntitiesClientDeleteOptions {
96
- entityName;
97
- id;
98
- reference;
99
- relation;
100
- relationId;
101
- apiVersion;
102
- suffix;
103
- }
104
- exports.EntitiesClientDeleteOptions = EntitiesClientDeleteOptions;
105
- class EntitiesClientBatchDeleteOptions {
106
- entityName;
107
- ids;
108
- apiVersion;
109
- suffix;
110
- }
111
- exports.EntitiesClientBatchDeleteOptions = EntitiesClientBatchDeleteOptions;
112
- class EntitiesClient {
113
- }
114
- exports.EntitiesClient = EntitiesClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EntitiesClient = exports.EntitiesClientBatchDeleteOptions = exports.EntitiesClientDeleteOptions = exports.EntitiesClientBatchUpdateOptions = exports.EntitiesClientUpdateOptions = exports.EntitiesClientBatchCreateOptions = exports.EntitiesClientCreateOptions = exports.EntitiesClientGetOptions = exports.DEFAULT_API_VERSION = exports.API_VERSION = exports.SortOrderOptions = exports.EntityReference = exports.ApiError = exports.TimeoutError = exports.InvalidPolicyError = void 0;
4
+ class InvalidPolicyError extends Error {
5
+ }
6
+ exports.InvalidPolicyError = InvalidPolicyError;
7
+ class TimeoutError extends Error {
8
+ }
9
+ exports.TimeoutError = TimeoutError;
10
+ class ApiError extends Error {
11
+ details;
12
+ constructor(message, details) {
13
+ super(message);
14
+ this.details = details;
15
+ this.details = details;
16
+ }
17
+ }
18
+ exports.ApiError = ApiError;
19
+ class EntityReference {
20
+ id;
21
+ entityType;
22
+ reference;
23
+ }
24
+ exports.EntityReference = EntityReference;
25
+ var SortOrderOptions;
26
+ (function (SortOrderOptions) {
27
+ SortOrderOptions["ASC"] = "asc";
28
+ SortOrderOptions["DESC"] = "desc";
29
+ })(SortOrderOptions = exports.SortOrderOptions || (exports.SortOrderOptions = {}));
30
+ var API_VERSION;
31
+ (function (API_VERSION) {
32
+ API_VERSION["EMPTY"] = "";
33
+ API_VERSION["V1"] = "1";
34
+ API_VERSION["V2"] = "2";
35
+ })(API_VERSION = exports.API_VERSION || (exports.API_VERSION = {}));
36
+ exports.DEFAULT_API_VERSION = API_VERSION.EMPTY;
37
+ class EntitiesClientGetOptions {
38
+ entityName;
39
+ id;
40
+ reference;
41
+ federatedId;
42
+ federatedIds;
43
+ relation;
44
+ relations;
45
+ criteria;
46
+ cacheMode;
47
+ search;
48
+ useSearch;
49
+ order;
50
+ skip;
51
+ take;
52
+ paginate;
53
+ nextPageKey;
54
+ apiVersion;
55
+ suffix;
56
+ skipHydrateRelationships;
57
+ }
58
+ exports.EntitiesClientGetOptions = EntitiesClientGetOptions;
59
+ class EntitiesClientCreateOptions {
60
+ entityName;
61
+ object;
62
+ id;
63
+ relation;
64
+ apiVersion;
65
+ suffix;
66
+ skipHydrateRelationships;
67
+ }
68
+ exports.EntitiesClientCreateOptions = EntitiesClientCreateOptions;
69
+ class EntitiesClientBatchCreateOptions {
70
+ entityName;
71
+ objects;
72
+ apiVersion;
73
+ suffix;
74
+ }
75
+ exports.EntitiesClientBatchCreateOptions = EntitiesClientBatchCreateOptions;
76
+ class EntitiesClientUpdateOptions {
77
+ entityName;
78
+ object;
79
+ id;
80
+ reference;
81
+ relation;
82
+ relationId;
83
+ apiVersion;
84
+ suffix;
85
+ skipHydrateRelationships;
86
+ }
87
+ exports.EntitiesClientUpdateOptions = EntitiesClientUpdateOptions;
88
+ class EntitiesClientBatchUpdateOptions {
89
+ entityName;
90
+ objects;
91
+ apiVersion;
92
+ suffix;
93
+ }
94
+ exports.EntitiesClientBatchUpdateOptions = EntitiesClientBatchUpdateOptions;
95
+ class EntitiesClientDeleteOptions {
96
+ entityName;
97
+ id;
98
+ reference;
99
+ relation;
100
+ relationId;
101
+ apiVersion;
102
+ suffix;
103
+ }
104
+ exports.EntitiesClientDeleteOptions = EntitiesClientDeleteOptions;
105
+ class EntitiesClientBatchDeleteOptions {
106
+ entityName;
107
+ ids;
108
+ apiVersion;
109
+ suffix;
110
+ }
111
+ exports.EntitiesClientBatchDeleteOptions = EntitiesClientBatchDeleteOptions;
112
+ class EntitiesClient {
113
+ }
114
+ exports.EntitiesClient = EntitiesClient;
package/lib/color.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { BaseManagedEntity } from './base-managed-entity';
2
- export interface Color extends BaseManagedEntity {
3
- name?: string;
4
- federatedId?: string;
5
- primaryViewableId?: string;
6
- hex?: string;
7
- hexCode?: string;
8
- red?: number;
9
- green?: number;
10
- blue?: number;
11
- rgb?: `rgb(${number}, ${number}, ${number})`;
12
- rgba?: `rgba(${number}, ${number}, ${number}, ${number})`;
13
- isArchived?: boolean;
14
- }
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ export interface Color extends BaseManagedEntity {
3
+ name?: string;
4
+ federatedId?: string;
5
+ primaryViewableId?: string;
6
+ hex?: string;
7
+ hexCode?: string;
8
+ red?: number;
9
+ green?: number;
10
+ blue?: number;
11
+ rgb?: `rgb(${number}, ${number}, ${number})`;
12
+ rgba?: `rgba(${number}, ${number}, ${number}, ${number})`;
13
+ isArchived?: boolean;
14
+ }
package/lib/color.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,15 +1,15 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- export interface CompositePlansSummary extends OrgManagedEntity {
3
- id: string;
4
- createdOn?: Date;
5
- updatedOn?: Date;
6
- createdById?: string;
7
- updatedById?: string;
8
- createdBy?: any;
9
- updatedBy?: any;
10
- orgId?: string;
11
- assortmentId?: string;
12
- count?: number;
13
- aggregates?: any;
14
- optionAggregates?: any;
15
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ export interface CompositePlansSummary extends OrgManagedEntity {
3
+ id: string;
4
+ createdOn?: Date;
5
+ updatedOn?: Date;
6
+ createdById?: string;
7
+ updatedById?: string;
8
+ createdBy?: any;
9
+ updatedBy?: any;
10
+ orgId?: string;
11
+ assortmentId?: string;
12
+ count?: number;
13
+ aggregates?: any;
14
+ optionAggregates?: any;
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,14 +1,14 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- export interface ContentCustomSize extends OrgManagedEntity {
3
- id?: string;
4
- createdOn?: Date;
5
- updatedOn?: Date;
6
- createdById?: string;
7
- updatedById?: string;
8
- createdBy?: any;
9
- updatedBy?: any;
10
- orgId?: string;
11
- slug: string;
12
- size: number;
13
- density?: number;
14
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ export interface ContentCustomSize extends OrgManagedEntity {
3
+ id?: string;
4
+ createdOn?: Date;
5
+ updatedOn?: Date;
6
+ createdById?: string;
7
+ updatedById?: string;
8
+ createdBy?: any;
9
+ updatedBy?: any;
10
+ orgId?: string;
11
+ slug: string;
12
+ size: number;
13
+ density?: number;
14
+ }
@@ -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/content.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- import { BaseManagedEntity } from './base-managed-entity';
2
- import { ContentHolderContent } from './contentholder-content';
3
- export interface Content extends BaseManagedEntity {
4
- assetId?: string;
5
- fileName?: string;
6
- contentType?: string;
7
- fileSize?: string;
8
- primaryFileId?: string;
9
- primaryFileUrl?: string;
10
- largeViewableId?: string;
11
- largeViewableUrl?: string;
12
- mediumLargeViewableId?: string;
13
- mediumLargeViewableUrl?: string;
14
- mediumViewableId?: string;
15
- mediumViewableUrl?: string;
16
- smallViewableId?: string;
17
- smallViewableUrl?: string;
18
- tinyViewableId?: string;
19
- tinyViewableUrl?: string;
20
- federatedId?: string;
21
- primaryViewable?: boolean;
22
- primaryFile?: any;
23
- copyFileId?: string[];
24
- contentHolderContent?: ContentHolderContent;
25
- }
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ import { ContentHolderContent } from './contentholder-content';
3
+ export interface Content extends BaseManagedEntity {
4
+ assetId?: string;
5
+ fileName?: string;
6
+ contentType?: string;
7
+ fileSize?: string;
8
+ primaryFileId?: string;
9
+ primaryFileUrl?: string;
10
+ largeViewableId?: string;
11
+ largeViewableUrl?: string;
12
+ mediumLargeViewableId?: string;
13
+ mediumLargeViewableUrl?: string;
14
+ mediumViewableId?: string;
15
+ mediumViewableUrl?: string;
16
+ smallViewableId?: string;
17
+ smallViewableUrl?: string;
18
+ tinyViewableId?: string;
19
+ tinyViewableUrl?: string;
20
+ federatedId?: string;
21
+ primaryViewable?: boolean;
22
+ primaryFile?: any;
23
+ copyFileId?: string[];
24
+ contentHolderContent?: ContentHolderContent;
25
+ }
package/lib/content.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,5 +1,5 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- export interface ContentHolderContent extends OrgManagedEntity {
3
- contentHolderReference?: string;
4
- contentId?: string;
5
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ export interface ContentHolderContent extends OrgManagedEntity {
3
+ contentHolderReference?: string;
4
+ contentId?: 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 });
@@ -0,0 +1,20 @@
1
+ import { BaseManagedEntity } from "./base-managed-entity";
2
+ import { ConfigProperty } from "./app-version";
3
+ export interface EventWorkflowActionDefinition 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
+ name: string;
13
+ identifier: string;
14
+ internal?: boolean;
15
+ privateOrgId?: string;
16
+ executeFunctionString?: string;
17
+ ownerKey: string;
18
+ configProperties?: ConfigProperty[];
19
+ async?: boolean;
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
+ export declare enum EventWorkflowStatus {
3
+ ACTIVE = "ACTIVE",
4
+ PENDING = "PENDING",
5
+ AWAITING = "AWAITING",
6
+ FAILED = "FAILED",
7
+ COMPLETE = "COMPLETE"
8
+ }
9
+ export interface EventWorkflowProcess extends OrgManagedEntity {
10
+ id: string;
11
+ createdOn?: Date;
12
+ updatedOn?: Date;
13
+ createdById?: string;
14
+ updatedById?: string;
15
+ createdBy?: any;
16
+ updatedBy?: any;
17
+ orgId?: string;
18
+ eventWorkflowTemplateId: string;
19
+ endedOn?: Date;
20
+ status: EventWorkflowStatus;
21
+ subtext?: string;
22
+ triggerEvent: any;
23
+ eventWorkflowTaskIds?: string[];
24
+ taskOutputs: any;
25
+ messageGroupId?: string;
26
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventWorkflowStatus = void 0;
4
+ var EventWorkflowStatus;
5
+ (function (EventWorkflowStatus) {
6
+ EventWorkflowStatus["ACTIVE"] = "ACTIVE";
7
+ EventWorkflowStatus["PENDING"] = "PENDING";
8
+ EventWorkflowStatus["AWAITING"] = "AWAITING";
9
+ EventWorkflowStatus["FAILED"] = "FAILED";
10
+ EventWorkflowStatus["COMPLETE"] = "COMPLETE";
11
+ })(EventWorkflowStatus = exports.EventWorkflowStatus || (exports.EventWorkflowStatus = {}));
@@ -0,0 +1,29 @@
1
+ import { ActionDefinitionConfig } from "./action-definition-config";
2
+ import { EventWorkflowActionDefinition } from "./event-workflow-action-definition";
3
+ import { EventWorkflowProcess, EventWorkflowStatus } from "./event-workflow-process";
4
+ import { OrgManagedEntity } from "./org-managed-entity";
5
+ export interface EventWorkflowTask extends 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
+ isAsyncTask?: boolean;
15
+ startedAwaitingOn?: Date;
16
+ subtext?: string;
17
+ eventWorkflowActionDefinitionId?: string;
18
+ eventWorkflowActionDefinition?: EventWorkflowActionDefinition;
19
+ eventWorkflowActionDefinitionConfig?: ActionDefinitionConfig;
20
+ eventWorkflowProcessId?: string;
21
+ eventWorkflowProcess?: EventWorkflowProcess;
22
+ status?: EventWorkflowStatus;
23
+ event?: string;
24
+ taskLogs?: string;
25
+ taskLogsDownloadLink?: string;
26
+ taskActionDurationSeconds?: number;
27
+ supportingAppId?: string;
28
+ output?: any;
29
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/file.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { OrgManagedEntity } from './org-managed-entity';
2
- export interface File extends OrgManagedEntity {
3
- ownedByReference?: string;
4
- fileKey: string;
5
- fileSize: string;
6
- fileName: string;
7
- contentType: string;
8
- fileUrl: string;
9
- uploaded: boolean;
10
- downloadUrl: string;
11
- uploadPost: any;
12
- ttl?: number;
13
- }
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ export interface File extends OrgManagedEntity {
3
+ ownedByReference?: string;
4
+ fileKey: string;
5
+ fileSize: string;
6
+ fileName: string;
7
+ contentType: string;
8
+ fileUrl: string;
9
+ uploaded: boolean;
10
+ downloadUrl: string;
11
+ uploadPost: any;
12
+ ttl?: number;
13
+ }
package/lib/file.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/index.d.ts CHANGED
@@ -1,35 +1,35 @@
1
- export * from './app';
2
- export * from './app-access-grant';
3
- export * from './app-api-key';
4
- export * from './app-code-package';
5
- export * from './app-extension';
6
- export * from './app-extension-definition';
7
- export * from './app-org';
8
- export * from './app-version';
9
- export * from './asset';
10
- export * from './assortment';
11
- export * from './assortment-item';
12
- export * from './assortment-summary';
13
- export * from './base-managed-entity';
14
- export * from './batch-fetch-response';
15
- export * from './client';
16
- export * from './color';
17
- export * from './composite-plans-summary';
18
- export * from './content';
19
- export * from './contentholder-content';
20
- export * from './file';
21
- export * from './item';
22
- export * from './loader';
23
- export * from './log-level';
24
- export * from './org';
25
- export * from './org-managed-entity';
26
- export * from './project';
27
- export * from './project-item';
28
- export * from './property-type';
29
- export * from './shared-links';
30
- export * from './subscription';
31
- export * from './type-managed-entity';
32
- export * from './user';
33
- export * from './workspace';
34
- export * from './workspace-managed-entity';
35
- export * from './workspace-principal';
1
+ export * from './app';
2
+ export * from './app-access-grant';
3
+ export * from './app-api-key';
4
+ export * from './app-code-package';
5
+ export * from './app-extension';
6
+ export * from './app-extension-definition';
7
+ export * from './app-org';
8
+ export * from './app-version';
9
+ export * from './asset';
10
+ export * from './assortment';
11
+ export * from './assortment-item';
12
+ export * from './assortment-summary';
13
+ export * from './base-managed-entity';
14
+ export * from './batch-fetch-response';
15
+ export * from './client';
16
+ export * from './color';
17
+ export * from './composite-plans-summary';
18
+ export * from './content';
19
+ export * from './contentholder-content';
20
+ export * from './file';
21
+ export * from './item';
22
+ export * from './loader';
23
+ export * from './log-level';
24
+ export * from './org';
25
+ export * from './org-managed-entity';
26
+ export * from './project';
27
+ export * from './project-item';
28
+ export * from './property-type';
29
+ export * from './shared-links';
30
+ export * from './subscription';
31
+ export * from './type-managed-entity';
32
+ export * from './user';
33
+ export * from './workspace';
34
+ export * from './workspace-managed-entity';
35
+ export * from './workspace-principal';