@agility/management-sdk 0.1.26 → 0.1.31

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 (170) hide show
  1. package/.cursor/manifest.md +98 -0
  2. package/.env +92 -0
  3. package/README.md +238 -471
  4. package/dist/apiClient.js.map +1 -0
  5. package/dist/apiMethods/assetMethods.js +38 -38
  6. package/dist/apiMethods/assetMethods.js.map +1 -0
  7. package/dist/apiMethods/batchMethods.d.ts +32 -1
  8. package/dist/apiMethods/batchMethods.js +239 -9
  9. package/dist/apiMethods/batchMethods.js.map +1 -0
  10. package/dist/apiMethods/clientInstance.d.ts +1 -1
  11. package/dist/apiMethods/clientInstance.js +12 -11
  12. package/dist/apiMethods/clientInstance.js.map +1 -0
  13. package/dist/apiMethods/containerMethods.d.ts +8 -1
  14. package/dist/apiMethods/containerMethods.js +27 -20
  15. package/dist/apiMethods/containerMethods.js.map +1 -0
  16. package/dist/apiMethods/contentMethods.d.ts +8 -8
  17. package/dist/apiMethods/contentMethods.js +100 -68
  18. package/dist/apiMethods/contentMethods.js.map +1 -0
  19. package/dist/apiMethods/instanceMethods.js +3 -3
  20. package/dist/apiMethods/instanceMethods.js.map +1 -0
  21. package/dist/apiMethods/instanceUserMethods.js +10 -10
  22. package/dist/apiMethods/instanceUserMethods.js.map +1 -0
  23. package/dist/apiMethods/modelMethods.js +13 -13
  24. package/dist/apiMethods/modelMethods.js.map +1 -0
  25. package/dist/apiMethods/pageMethods.d.ts +7 -7
  26. package/dist/apiMethods/pageMethods.js +98 -67
  27. package/dist/apiMethods/pageMethods.js.map +1 -0
  28. package/dist/apiMethods/serverUserMethods.js +4 -4
  29. package/dist/apiMethods/serverUserMethods.js.map +1 -0
  30. package/dist/apiMethods/webhookMethods.js +11 -11
  31. package/dist/apiMethods/webhookMethods.js.map +1 -0
  32. package/dist/enums/assetGroupingType.js +1 -1
  33. package/dist/enums/assetGroupingType.js.map +1 -0
  34. package/dist/enums/batchItemType.d.ts +7 -0
  35. package/dist/enums/batchItemType.js +11 -0
  36. package/dist/enums/batchOperationType.js +1 -1
  37. package/dist/enums/batchOperationType.js.map +1 -0
  38. package/dist/enums/batchState..js +1 -1
  39. package/dist/enums/batchState.d.ts +7 -0
  40. package/dist/enums/batchState.js +12 -0
  41. package/dist/enums/batchState.js.map +1 -0
  42. package/dist/enums/pageItemTemplateType.js +1 -1
  43. package/dist/enums/pageItemTemplateType.js.map +1 -0
  44. package/dist/enums/workflowOperationType.d.ts +26 -0
  45. package/dist/enums/workflowOperationType.js +30 -0
  46. package/dist/errors/exception.d.ts +4 -0
  47. package/dist/errors/exception.js +11 -0
  48. package/dist/errors/exception.js.map +1 -0
  49. package/dist/index.d.ts +6 -0
  50. package/dist/index.js +11 -1
  51. package/dist/index.js.map +1 -0
  52. package/dist/models/batchItem.d.ts +1 -0
  53. package/dist/models/batchRequests.d.ts +67 -0
  54. package/dist/models/batchRequests.js +2 -0
  55. package/dist/models/batchTypes.d.ts +34 -0
  56. package/dist/models/batchTypes.js +2 -0
  57. package/dist/models/container.d.ts +2 -1
  58. package/dist/models/contentDefinitionTypeID.d.ts +17 -0
  59. package/dist/models/contentDefinitionTypeID.js +21 -0
  60. package/dist/models/exception.js +2 -0
  61. package/dist/models/locales.js +2 -0
  62. package/dist/tests/authHelper.d.ts +2 -0
  63. package/dist/tests/authHelper.js +14 -0
  64. package/dist/tests/authHelper.js.map +1 -0
  65. package/dist/tests/config/apiClient.config.d.ts +16 -0
  66. package/dist/tests/config/apiClient.config.js +84 -0
  67. package/dist/tests/config/apiClient.config.js.map +1 -0
  68. package/dist/tests/config/test.config.d.ts +24 -0
  69. package/dist/tests/config/test.config.js +47 -0
  70. package/dist/tests/config/test.config.js.map +1 -0
  71. package/dist/types/apiResponse.d.ts +13 -0
  72. package/dist/types/apiResponse.js +3 -0
  73. package/dist/types/apiResponse.js.map +1 -0
  74. package/dist/types/assetContainer.d.ts +7 -0
  75. package/dist/types/assetContainer.js +3 -0
  76. package/dist/types/assetContainer.js.map +1 -0
  77. package/dist/types/assetGalleries.d.ts +5 -0
  78. package/dist/types/assetGalleries.js +3 -0
  79. package/dist/types/assetGalleries.js.map +1 -0
  80. package/dist/types/assetMediaGrouping.d.ts +17 -0
  81. package/dist/types/assetMediaGrouping.js +3 -0
  82. package/dist/types/assetMediaGrouping.js.map +1 -0
  83. package/dist/types/assetMediaGroupingMetaData.d.ts +4 -0
  84. package/dist/types/assetMediaGroupingMetaData.js +3 -0
  85. package/dist/types/assetMediaGroupingMetaData.js.map +1 -0
  86. package/dist/types/batch.d.ts +29 -0
  87. package/dist/types/batch.js +3 -0
  88. package/dist/types/batch.js.map +1 -0
  89. package/dist/types/batchItem.d.ts +13 -0
  90. package/dist/types/batchItem.js +3 -0
  91. package/dist/types/batchItem.js.map +1 -0
  92. package/dist/types/container.d.ts +47 -0
  93. package/dist/types/container.js +3 -0
  94. package/dist/types/container.js.map +1 -0
  95. package/dist/types/contentItem.d.ts +37 -0
  96. package/dist/types/contentItem.js +3 -0
  97. package/dist/types/contentItem.js.map +1 -0
  98. package/dist/types/contentItemHistory.d.ts +20 -0
  99. package/dist/types/contentItemHistory.js +3 -0
  100. package/dist/types/contentItemHistory.js.map +1 -0
  101. package/dist/types/contentListFilterModel.d.ts +26 -0
  102. package/dist/types/contentListFilterModel.js +3 -0
  103. package/dist/types/contentListFilterModel.js.map +1 -0
  104. package/dist/types/contentSectionDefaultModule.d.ts +7 -0
  105. package/dist/types/contentSectionDefaultModule.js +3 -0
  106. package/dist/types/contentSectionDefaultModule.js.map +1 -0
  107. package/dist/types/contentSectionDefinition.d.ts +35 -0
  108. package/dist/types/contentSectionDefinition.js +3 -0
  109. package/dist/types/contentSectionDefinition.js.map +1 -0
  110. package/dist/types/contentViewColumn.d.ts +8 -0
  111. package/dist/types/contentViewColumn.js +3 -0
  112. package/dist/types/contentViewColumn.js.map +1 -0
  113. package/dist/types/instanceRole.d.ts +7 -0
  114. package/dist/types/instanceRole.js +3 -0
  115. package/dist/types/instanceRole.js.map +1 -0
  116. package/dist/types/instanceUser.d.ts +14 -0
  117. package/dist/types/instanceUser.js +3 -0
  118. package/dist/types/instanceUser.js.map +1 -0
  119. package/dist/types/itemComments.d.ts +14 -0
  120. package/dist/types/itemComments.js +3 -0
  121. package/dist/types/itemComments.js.map +1 -0
  122. package/dist/types/listParams.d.ts +9 -0
  123. package/dist/types/listParams.js +3 -0
  124. package/dist/types/listParams.js.map +1 -0
  125. package/dist/types/locales.d.ts +1 -0
  126. package/dist/types/locales.js +3 -0
  127. package/dist/types/locales.js.map +1 -0
  128. package/dist/types/media.d.ts +30 -0
  129. package/dist/types/media.js +3 -0
  130. package/dist/types/media.js.map +1 -0
  131. package/dist/types/model.d.ts +30 -0
  132. package/dist/types/model.js +3 -0
  133. package/dist/types/model.js.map +1 -0
  134. package/dist/types/notification.d.ts +13 -0
  135. package/dist/types/notification.js +3 -0
  136. package/dist/types/notification.js.map +1 -0
  137. package/dist/types/options.d.ts +7 -0
  138. package/dist/types/options.js +3 -0
  139. package/dist/types/options.js.map +1 -0
  140. package/dist/types/pageHistory.d.ts +21 -0
  141. package/dist/types/pageHistory.js +3 -0
  142. package/dist/types/pageHistory.js.map +1 -0
  143. package/dist/types/pageItem.d.ts +56 -0
  144. package/dist/types/pageItem.js +3 -0
  145. package/dist/types/pageItem.js.map +1 -0
  146. package/dist/types/pageModel.d.ts +14 -0
  147. package/dist/types/pageModel.js +3 -0
  148. package/dist/types/pageModel.js.map +1 -0
  149. package/dist/types/serverUser.d.ts +21 -0
  150. package/dist/types/serverUser.js +3 -0
  151. package/dist/types/serverUser.js.map +1 -0
  152. package/dist/types/sharedModule.d.ts +7 -0
  153. package/dist/types/sharedModule.js +3 -0
  154. package/dist/types/sharedModule.js.map +1 -0
  155. package/dist/types/sitemap.d.ts +20 -0
  156. package/dist/types/sitemap.js +3 -0
  157. package/dist/types/sitemap.js.map +1 -0
  158. package/dist/types/tokenResponseData.d.ts +10 -0
  159. package/dist/types/tokenResponseData.js +3 -0
  160. package/dist/types/tokenResponseData.js.map +1 -0
  161. package/dist/types/webhook.d.ts +9 -0
  162. package/dist/types/webhook.js +3 -0
  163. package/dist/types/webhook.js.map +1 -0
  164. package/dist/types/websiteListing.d.ts +16 -0
  165. package/dist/types/websiteListing.js +3 -0
  166. package/dist/types/websiteListing.js.map +1 -0
  167. package/dist/types/websiteUser.d.ts +22 -0
  168. package/dist/types/websiteUser.js +3 -0
  169. package/dist/types/websiteUser.js.map +1 -0
  170. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=assetContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetContainer.js","sourceRoot":"","sources":["../../src/types/assetContainer.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { assetMediaGrouping } from "./assetMediaGrouping";
2
+ export interface assetGalleries {
3
+ totalCount: number | null;
4
+ assetMediaGroupings: (assetMediaGrouping | null)[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=assetGalleries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetGalleries.js","sourceRoot":"","sources":["../../src/types/assetGalleries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { AssetGroupingType } from "../enums/assetGroupingType";
2
+ import { assetMediaGroupingMetaData } from "./assetMediaGroupingMetaData";
3
+ export interface assetMediaGrouping {
4
+ mediaGroupingID: number | null;
5
+ groupingType: AssetGroupingType | null;
6
+ groupingTypeID: number | null;
7
+ name: string | null;
8
+ description: string | null;
9
+ modifiedBy: number | null;
10
+ modifiedByName: string | null;
11
+ modifiedOn: string | null;
12
+ isDeleted: boolean;
13
+ isFolder: boolean;
14
+ metaData: {
15
+ [key: string]: assetMediaGroupingMetaData;
16
+ };
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=assetMediaGrouping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetMediaGrouping.js","sourceRoot":"","sources":["../../src/types/assetMediaGrouping.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface assetMediaGroupingMetaData {
2
+ key: string;
3
+ value: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=assetMediaGroupingMetaData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetMediaGroupingMetaData.js","sourceRoot":"","sources":["../../src/types/assetMediaGroupingMetaData.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { BatchState } from "../enums/batchState";
2
+ import { BatchOperationType } from "../enums/batchOperationType";
3
+ import { BatchItem } from "./batchItem";
4
+ export interface Batch {
5
+ batchID: number | null;
6
+ batchItemID: number | null;
7
+ batchName: string;
8
+ batchState: BatchState;
9
+ operationType: BatchOperationType;
10
+ ownerUserID: number | null;
11
+ createdDate: string;
12
+ modifiedDate: string;
13
+ processDate: string | null;
14
+ queueDate: string | null;
15
+ isPrivate: boolean;
16
+ modifiedByUserID: number;
17
+ queuedByUserID: number | null;
18
+ ownerName: string;
19
+ modifiedByName: string;
20
+ queuedByName: string;
21
+ additionalData: string;
22
+ errorData: string;
23
+ percentComplete: number | null;
24
+ numItemsProcessed: number | null;
25
+ abortYN: boolean | null;
26
+ statusMessage: string;
27
+ batchItemCount: number;
28
+ items: BatchItem[];
29
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=batch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batch.js","sourceRoot":"","sources":["../../src/types/batch.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export interface BatchItem {
2
+ batchItemID: number | null;
3
+ batchID: number | null;
4
+ itemTypeName: string;
5
+ itemID: number;
6
+ languageCode: string;
7
+ processedItemVersionID: number | null;
8
+ itemTitle: string;
9
+ itemNull: boolean;
10
+ createdOn: string;
11
+ createdBy: number;
12
+ createdByName: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=batchItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchItem.js","sourceRoot":"","sources":["../../src/types/batchItem.ts"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
1
+ import { ContentViewColumn } from "./contentViewColumn";
2
+ export interface Container {
3
+ columns: ContentViewColumn[];
4
+ contentViewID: number | null;
5
+ contentDefinitionID: number | null;
6
+ contentDefinitionName: string | null;
7
+ referenceName: string | null;
8
+ contentViewName: string | null;
9
+ contentDefinitionType: number;
10
+ requiresApproval: boolean | null;
11
+ lastModifiedDate: string | null;
12
+ lastModifiedOn: string | null;
13
+ lastModifiedBy: string | null;
14
+ isShared: boolean | null;
15
+ isDynamicPageList: boolean | null;
16
+ disablePublishFromList: boolean | null;
17
+ contentViewCategoryID: number | null;
18
+ contentViewCategoryReferenceName: string | null;
19
+ contentViewCategoryName: string | null;
20
+ title: string | null;
21
+ defaultPage: string | null;
22
+ isPublished: boolean | null;
23
+ schemaTitle: string | null;
24
+ allowClientSideSave: boolean | null;
25
+ defaultSortColumn: string | null;
26
+ defaultSortDirection: string | null;
27
+ usageCount: number | null;
28
+ isDeleted: boolean | null;
29
+ enableRSSOutput: boolean | null;
30
+ enableAPIOutput: boolean | null;
31
+ commentsRecordTypeName: string | null;
32
+ numRowsInListing: number | null;
33
+ contentDefinitionTypeID: number | null;
34
+ fullSyncModDate: string | null;
35
+ confirmSharingOnPublish: boolean | null;
36
+ contentTemplateName: string | null;
37
+ currentUserCanDelete: boolean | null;
38
+ currentUserCanEdit: boolean | null;
39
+ currentUserCanDesign: boolean | null;
40
+ currentUserCanManage: boolean | null;
41
+ currentUserCanContribute: boolean | null;
42
+ currentUserCanPublish: boolean | null;
43
+ defaultListingPage: string | null;
44
+ defaultDetailsPage: string | null;
45
+ defaultDetailsPageQueryString: string;
46
+ isListItem: boolean | null;
47
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/types/container.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ export interface ContentItem {
2
+ contentID: number;
3
+ properties: ContentItemProperties;
4
+ fields: {
5
+ [key: string]: any;
6
+ };
7
+ seo: SeoProperties | null;
8
+ scripts: ContentScripts | null;
9
+ }
10
+ export interface ContentItemProperties {
11
+ state: number | null;
12
+ modifiedBy: number | null;
13
+ modified: string | null;
14
+ pullDate: string | null;
15
+ releaseDate: string | null;
16
+ versionID: number | null;
17
+ referenceName: string | null;
18
+ definitionName: string | null;
19
+ itemOrder: number | null;
20
+ }
21
+ export interface SeoProperties {
22
+ metaDescription: string | null;
23
+ metaKeywords: string | null;
24
+ metaHTML: string | null;
25
+ menuVisible: boolean | null;
26
+ sitemapVisible: boolean | null;
27
+ }
28
+ export interface ContentScripts {
29
+ top: string | null;
30
+ bottom: string | null;
31
+ }
32
+ export interface ContentList {
33
+ recordOffset: number | null;
34
+ totalCount: number | null;
35
+ pageSize: number | null;
36
+ items: any[] | null;
37
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentItem.js","sourceRoot":"","sources":["../../src/types/contentItem.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface ContentItemHistoryResponse {
2
+ items: ContentItemHistory[];
3
+ totalCount: number;
4
+ }
5
+ export interface ContentItemHistory {
6
+ contentItemID: number;
7
+ stateID: number;
8
+ state: string | null;
9
+ createdDate: string;
10
+ createdBy: string | null;
11
+ createdByUserID: number;
12
+ createdByServerUserID: number;
13
+ createdByUserEmail: string | null;
14
+ releaseDate: string;
15
+ pullDate: string;
16
+ commentID: number;
17
+ comment: string | null;
18
+ pinned: boolean;
19
+ versionNumber: number;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentItemHistory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentItemHistory.js","sourceRoot":"","sources":["../../src/types/contentItemHistory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ export interface ContentListFilterModel {
2
+ sortIDs: number[];
3
+ modifiedByIds: number[];
4
+ dateRange: DateRangeFilter | null;
5
+ stateIds: number[];
6
+ fieldFilters: FieldFilter[];
7
+ genericSearch: string;
8
+ }
9
+ export interface DateRangeFilter {
10
+ startDate: string | null;
11
+ endDate: string | null;
12
+ }
13
+ export interface NumRangeFilter {
14
+ fromNum: number;
15
+ toNum: number;
16
+ }
17
+ export interface FieldFilterValue {
18
+ stringValue: string | null;
19
+ dateRangeValue: DateRangeFilter | null;
20
+ numRangeValue: NumRangeFilter | null;
21
+ boolValue: boolean | null;
22
+ }
23
+ export interface FieldFilter {
24
+ field: string | null;
25
+ value: FieldFilterValue | null;
26
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentListFilterModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentListFilterModel.js","sourceRoot":"","sources":["../../src/types/contentListFilterModel.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface ContentSectionDefaultModule {
2
+ title: string | null;
3
+ pageItemTemplateDefaultModuleID: number | null;
4
+ contentDefinitionID: number | null;
5
+ pageItemTemplateID: number | null;
6
+ autoCreate: boolean;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentSectionDefaultModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentSectionDefaultModule.js","sourceRoot":"","sources":["../../src/types/contentSectionDefaultModule.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ import { PageItemTemplateType } from "../enums/pageItemTemplateType";
2
+ import { ContentSectionDefaultModule } from "./contentSectionDefaultModule";
3
+ import { SharedModule } from "./sharedModule";
4
+ export interface ContentSectionDefinition {
5
+ defaultModules: ContentSectionDefaultModule[];
6
+ sharedModules: SharedModule[];
7
+ pageItemTemplateID: number | null;
8
+ pageTemplateID: number | null;
9
+ pageItemTemplateName: string | null;
10
+ pageItemTemplateReferenceName: string | null;
11
+ pageItemTemplateType: PageItemTemplateType;
12
+ pageItemTemplateTypeName: string | null;
13
+ itemOrder: number | null;
14
+ moduleOrder: number | null;
15
+ contentViewID: number | null;
16
+ contentReferenceName: string | null;
17
+ contentDefinitionID: number | null;
18
+ contentViewName: string | null;
19
+ itemContainerID: number | null;
20
+ publishContentItemID: number | null;
21
+ releaseDate: string;
22
+ pullDate: string;
23
+ isShared: boolean;
24
+ isSharedTemplate: boolean;
25
+ enablePersonalization: boolean;
26
+ doesPageTemplateHavePages: boolean;
27
+ moduleID: number | null;
28
+ contentDefinitionTitle: string | null;
29
+ userControlPath: string | null;
30
+ templateMarkup: string | null;
31
+ sortExpression: string | null;
32
+ filterExpression: string | null;
33
+ contentTemplateID: number | null;
34
+ contentTemplateName: string | null;
35
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentSectionDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentSectionDefinition.js","sourceRoot":"","sources":["../../src/types/contentSectionDefinition.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface ContentViewColumn {
2
+ sortOrder: number | null;
3
+ fieldName: string | null;
4
+ label: string | null;
5
+ isDefaultSort: boolean | null;
6
+ sortDirection: string | null;
7
+ typeName: string | null;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=contentViewColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentViewColumn.js","sourceRoot":"","sources":["../../src/types/contentViewColumn.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface InstanceRole {
2
+ roleID: number;
3
+ isGlobalRole: boolean;
4
+ sort: number;
5
+ role: string | null;
6
+ name: string | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instanceRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceRole.js","sourceRoot":"","sources":["../../src/types/instanceRole.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { InstanceRole } from "./instanceRole";
2
+ import { InstancePermission } from "./websiteUser";
3
+ export interface InstanceUser {
4
+ userID: number;
5
+ emailAddress: string | null;
6
+ firstName: string | null;
7
+ lastName: string | null;
8
+ isDeleted: boolean;
9
+ isTeamUser: boolean;
10
+ defaultUILanguage: string | null;
11
+ userName: string;
12
+ instanceRoles: InstanceRole[];
13
+ instancePermissions: InstancePermission[];
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instanceUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instanceUser.js","sourceRoot":"","sources":["../../src/types/instanceUser.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export interface ItemComment {
2
+ createdOn: string;
3
+ createdBy: string;
4
+ createdByUserID: number;
5
+ createdByServerUserID: number;
6
+ commentID: number;
7
+ commentText: string;
8
+ pinned: boolean;
9
+ emailAddress: string;
10
+ }
11
+ export interface ItemComments {
12
+ items: ItemComment[];
13
+ totalCount: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=itemComments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"itemComments.js","sourceRoot":"","sources":["../../src/types/itemComments.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export interface ListParams {
2
+ filter?: string;
3
+ fields?: string;
4
+ sortDirection?: string;
5
+ sortField?: string;
6
+ showDeleted?: boolean;
7
+ take?: number;
8
+ skip?: number;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=listParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listParams.js","sourceRoot":"","sources":["../../src/types/listParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type Locales = string[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=locales.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locales.js","sourceRoot":"","sources":["../../src/types/locales.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ export interface Media {
2
+ hasChildren: boolean;
3
+ mediaID: number;
4
+ fileName: string;
5
+ containerID: number;
6
+ containerOriginUrl: string;
7
+ containerEdgeUrl: string;
8
+ originKey: string;
9
+ modifiedBy: number | null;
10
+ modifiedByName: string | null;
11
+ dateModified: string | null;
12
+ size: number;
13
+ isFolder: boolean;
14
+ isDeleted: boolean;
15
+ mediaGroupingID: number;
16
+ mediaGroupingName: string | null;
17
+ mediaGroupingSortOrder: number;
18
+ contentType: string;
19
+ gridThumbnailID: number | null;
20
+ gridThumbnailSuffix: string | null;
21
+ rowNumber: number | null;
22
+ originUrl: string;
23
+ edgeUrl: string;
24
+ isImage: boolean | null;
25
+ isSvg: boolean | null;
26
+ }
27
+ export interface AssetMediaList {
28
+ assetMedias: (Media | null)[];
29
+ totalCount: number | null;
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=media.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media.js","sourceRoot":"","sources":["../../src/types/media.ts"],"names":[],"mappings":""}
@@ -0,0 +1,30 @@
1
+ export interface Model {
2
+ id: number | null;
3
+ lastModifiedDate: string | null;
4
+ displayName: string | null;
5
+ referenceName: string | null;
6
+ lastModifiedBy: string | null;
7
+ fields: ModelField[];
8
+ lastModifiedAuthorID: number | null;
9
+ description: string | null;
10
+ allowTagging: boolean | null;
11
+ contentDefinitionTypeName: string | null;
12
+ isPublished: boolean | null;
13
+ wasUnpublished: boolean | null;
14
+ }
15
+ export interface ModelField {
16
+ name: string | null;
17
+ label: string | null;
18
+ type: string | null;
19
+ settings: {
20
+ [key: string]: string;
21
+ };
22
+ labelHelpDescription: string | null;
23
+ itemOrder: number | null;
24
+ designerOnly: boolean | null;
25
+ isDataField: boolean | null;
26
+ editable: boolean | null;
27
+ hiddenField: boolean | null;
28
+ fieldID: string | null;
29
+ description: string | null;
30
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/types/model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ export interface Notification {
2
+ notificationID: number | null;
3
+ userID: number | null;
4
+ contentViewID: number | null;
5
+ pageItemContainerID: number | null;
6
+ createdAuthorID: number | null;
7
+ createdDate: string | null;
8
+ userName: string | null;
9
+ firstName: string | null;
10
+ lastName: string | null;
11
+ emailAddress: string | null;
12
+ notificationTypeName: string | null;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/types/notification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface Options {
2
+ token: string;
3
+ baseUrl?: string | null;
4
+ refresh_token?: string;
5
+ duration?: number;
6
+ retryCount?: number;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../src/types/options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ export interface PageHistory {
2
+ PageItemID: number;
3
+ ContentItemID: number;
4
+ StateID: number;
5
+ State: string;
6
+ CreatedDate: string;
7
+ CreatedBy: string;
8
+ CreatedByUserID: number;
9
+ CreatedByUserEmail: string;
10
+ CreatedByServerUserID: number;
11
+ ReleaseDate: string;
12
+ PullDate: string;
13
+ CommentID: number;
14
+ Comment: string;
15
+ Pinned: boolean;
16
+ VersionNumber: number;
17
+ }
18
+ export interface PageHistoryResponse {
19
+ items: PageHistory[];
20
+ totalCount: number;
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=pageHistory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageHistory.js","sourceRoot":"","sources":["../../src/types/pageHistory.ts"],"names":[],"mappings":""}