@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/loader.js CHANGED
@@ -1,115 +1,115 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntityType = exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
4
- class ColumnDefinition {
5
- fromProperty;
6
- toProperty;
7
- conditions;
8
- default;
9
- }
10
- exports.ColumnDefinition = ColumnDefinition;
11
- class ConditionalValues {
12
- conditional;
13
- value;
14
- }
15
- exports.ConditionalValues = ConditionalValues;
16
- class AssortmentSplit {
17
- partialAssortmentUpdate;
18
- dropField;
19
- fieldToSplitOn;
20
- values;
21
- }
22
- exports.AssortmentSplit = AssortmentSplit;
23
- class ValueToAssortment {
24
- value;
25
- assortmentId;
26
- assortmentIdentifier;
27
- }
28
- exports.ValueToAssortment = ValueToAssortment;
29
- var LoadStatus;
30
- (function (LoadStatus) {
31
- LoadStatus["ACTIVE"] = "ACTIVE";
32
- LoadStatus["PENDING"] = "PENDING";
33
- LoadStatus["FAILED"] = "FAILED";
34
- LoadStatus["COMPLETE"] = "COMPLETE";
35
- LoadStatus["CANCELED"] = "CANCELED";
36
- })(LoadStatus = exports.LoadStatus || (exports.LoadStatus = {}));
37
- var LoadType;
38
- (function (LoadType) {
39
- LoadType["ITEM"] = "ITEM";
40
- LoadType["PROJECT_ITEM"] = "PROJECT_ITEM";
41
- LoadType["ASSORTMENT"] = "ASSORTMENT";
42
- LoadType["COLOR"] = "COLOR";
43
- LoadType["CUSTOM_ENTITY"] = "CUSTOM_ENTITY";
44
- LoadType["SIZE_RANGE_TEMPLATE"] = "SIZE_RANGE_TEMPLATE";
45
- LoadType["PROJECT"] = "PROJECT";
46
- })(LoadType = exports.LoadType || (exports.LoadType = {}));
47
- class LoaderProcess {
48
- id;
49
- createdOn;
50
- updatedOn;
51
- createdById;
52
- updatedById;
53
- createdBy;
54
- updatedBy;
55
- orgId;
56
- loaderConfigurationId;
57
- name;
58
- endedOn;
59
- status;
60
- logLevel;
61
- processLogs;
62
- processLogS3File;
63
- processLogS3FileDownloadLink;
64
- logsFileId;
65
- logFileDownloadLink;
66
- loadProcessResult;
67
- loadProcessResultFileId;
68
- loadProcessResultDownloadLink;
69
- preprocessingStepResults;
70
- processDurationSeconds;
71
- loadFileId;
72
- loadType;
73
- federatedMappings;
74
- conditionalColumns;
75
- assortmentSplit;
76
- partialAssortmentUpdate;
77
- assortmentItemDropField;
78
- workspaceIdentifier;
79
- propertiesToRemove;
80
- badRowsCount;
81
- uploadErrorCount;
82
- hasErrors;
83
- parallelWorkerCount;
84
- messageGroupId;
85
- isPartialFailure;
86
- }
87
- exports.LoaderProcess = LoaderProcess;
88
- var IssueType;
89
- (function (IssueType) {
90
- IssueType["CONFIG"] = "CONFIG";
91
- IssueType["INVALID_DATA"] = "INVALID_DATA";
92
- IssueType["MISSING_DATA"] = "MISSING_DATA";
93
- IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID";
94
- IssueType["SYSTEM_ERROR"] = "SYSTEM_ERROR";
95
- IssueType["HEADER_MISMATCH"] = "HEADER_MISMATCH";
96
- IssueType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
97
- IssueType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
98
- IssueType["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
99
- })(IssueType = exports.IssueType || (exports.IssueType = {}));
100
- var LoaderFailureArea;
101
- (function (LoaderFailureArea) {
102
- LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
103
- LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
104
- LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
105
- LoaderFailureArea["VALIDATING_DATA"] = "VALIDATING_DATA";
106
- LoaderFailureArea["NONE"] = "NONE";
107
- })(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
108
- var EntityType;
109
- (function (EntityType) {
110
- EntityType["COLOR"] = "color";
111
- EntityType["CUSTOM_ENTITY"] = "custom-entity";
112
- EntityType["ITEM"] = "item";
113
- EntityType["PROJECT_ITEM"] = "project-item";
114
- EntityType["ASSORTMENT"] = "assortment-item";
115
- })(EntityType = exports.EntityType || (exports.EntityType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EntityType = exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
4
+ class ColumnDefinition {
5
+ fromProperty;
6
+ toProperty;
7
+ conditions;
8
+ default;
9
+ }
10
+ exports.ColumnDefinition = ColumnDefinition;
11
+ class ConditionalValues {
12
+ conditional;
13
+ value;
14
+ }
15
+ exports.ConditionalValues = ConditionalValues;
16
+ class AssortmentSplit {
17
+ partialAssortmentUpdate;
18
+ dropField;
19
+ fieldToSplitOn;
20
+ values;
21
+ }
22
+ exports.AssortmentSplit = AssortmentSplit;
23
+ class ValueToAssortment {
24
+ value;
25
+ assortmentId;
26
+ assortmentIdentifier;
27
+ }
28
+ exports.ValueToAssortment = ValueToAssortment;
29
+ var LoadStatus;
30
+ (function (LoadStatus) {
31
+ LoadStatus["ACTIVE"] = "ACTIVE";
32
+ LoadStatus["PENDING"] = "PENDING";
33
+ LoadStatus["FAILED"] = "FAILED";
34
+ LoadStatus["COMPLETE"] = "COMPLETE";
35
+ LoadStatus["CANCELED"] = "CANCELED";
36
+ })(LoadStatus = exports.LoadStatus || (exports.LoadStatus = {}));
37
+ var LoadType;
38
+ (function (LoadType) {
39
+ LoadType["ITEM"] = "ITEM";
40
+ LoadType["PROJECT_ITEM"] = "PROJECT_ITEM";
41
+ LoadType["ASSORTMENT"] = "ASSORTMENT";
42
+ LoadType["COLOR"] = "COLOR";
43
+ LoadType["CUSTOM_ENTITY"] = "CUSTOM_ENTITY";
44
+ LoadType["SIZE_RANGE_TEMPLATE"] = "SIZE_RANGE_TEMPLATE";
45
+ LoadType["PROJECT"] = "PROJECT";
46
+ })(LoadType = exports.LoadType || (exports.LoadType = {}));
47
+ class LoaderProcess {
48
+ id;
49
+ createdOn;
50
+ updatedOn;
51
+ createdById;
52
+ updatedById;
53
+ createdBy;
54
+ updatedBy;
55
+ orgId;
56
+ loaderConfigurationId;
57
+ name;
58
+ endedOn;
59
+ status;
60
+ logLevel;
61
+ processLogs;
62
+ processLogS3File;
63
+ processLogS3FileDownloadLink;
64
+ logsFileId;
65
+ logFileDownloadLink;
66
+ loadProcessResult;
67
+ loadProcessResultFileId;
68
+ loadProcessResultDownloadLink;
69
+ preprocessingStepResults;
70
+ processDurationSeconds;
71
+ loadFileId;
72
+ loadType;
73
+ federatedMappings;
74
+ conditionalColumns;
75
+ assortmentSplit;
76
+ partialAssortmentUpdate;
77
+ assortmentItemDropField;
78
+ workspaceIdentifier;
79
+ propertiesToRemove;
80
+ badRowsCount;
81
+ uploadErrorCount;
82
+ hasErrors;
83
+ parallelWorkerCount;
84
+ messageGroupId;
85
+ isPartialFailure;
86
+ }
87
+ exports.LoaderProcess = LoaderProcess;
88
+ var IssueType;
89
+ (function (IssueType) {
90
+ IssueType["CONFIG"] = "CONFIG";
91
+ IssueType["INVALID_DATA"] = "INVALID_DATA";
92
+ IssueType["MISSING_DATA"] = "MISSING_DATA";
93
+ IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID";
94
+ IssueType["SYSTEM_ERROR"] = "SYSTEM_ERROR";
95
+ IssueType["HEADER_MISMATCH"] = "HEADER_MISMATCH";
96
+ IssueType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
97
+ IssueType["PERMISSION_DENIED"] = "PERMISSION_DENIED";
98
+ IssueType["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
99
+ })(IssueType = exports.IssueType || (exports.IssueType = {}));
100
+ var LoaderFailureArea;
101
+ (function (LoaderFailureArea) {
102
+ LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
103
+ LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
104
+ LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
105
+ LoaderFailureArea["VALIDATING_DATA"] = "VALIDATING_DATA";
106
+ LoaderFailureArea["NONE"] = "NONE";
107
+ })(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
108
+ var EntityType;
109
+ (function (EntityType) {
110
+ EntityType["COLOR"] = "color";
111
+ EntityType["CUSTOM_ENTITY"] = "custom-entity";
112
+ EntityType["ITEM"] = "item";
113
+ EntityType["PROJECT_ITEM"] = "project-item";
114
+ EntityType["ASSORTMENT"] = "assortment-item";
115
+ })(EntityType = exports.EntityType || (exports.EntityType = {}));
@@ -1,8 +1,8 @@
1
- export declare enum LogLevel {
2
- FATAL = 0,
3
- ERROR = 1,
4
- WARN = 2,
5
- INFO = 3,
6
- LOG = 4,
7
- DEBUG = 5
8
- }
1
+ export declare enum LogLevel {
2
+ FATAL = 0,
3
+ ERROR = 1,
4
+ WARN = 2,
5
+ INFO = 3,
6
+ LOG = 4,
7
+ DEBUG = 5
8
+ }
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 = {}));