@agility/management-sdk 0.1.16 → 0.1.17

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 (162) hide show
  1. package/README.md +167 -9
  2. package/dist/apiClient.d.ts +23 -19
  3. package/dist/apiClient.js +28 -24
  4. package/dist/apiMethods/apiClient.d.ts +19 -0
  5. package/dist/apiMethods/apiClient.js +24 -0
  6. package/dist/apiMethods/assetMethods.d.ts +34 -34
  7. package/dist/apiMethods/assetMethods.js +325 -325
  8. package/dist/apiMethods/batchMethods.d.ts +11 -11
  9. package/dist/apiMethods/batchMethods.js +117 -117
  10. package/dist/apiMethods/clientInstance.d.ts +20 -18
  11. package/dist/apiMethods/clientInstance.js +206 -170
  12. package/dist/apiMethods/containerMethods.d.ts +17 -17
  13. package/dist/apiMethods/containerMethods.js +209 -209
  14. package/dist/apiMethods/contentMethods.d.ts +27 -20
  15. package/dist/apiMethods/contentMethods.js +418 -359
  16. package/dist/apiMethods/instanceUserMethods.d.ts +13 -13
  17. package/dist/apiMethods/instanceUserMethods.js +111 -111
  18. package/dist/apiMethods/modelMethods.d.ts +14 -14
  19. package/dist/apiMethods/modelMethods.js +170 -170
  20. package/dist/apiMethods/pageMethods.d.ts +32 -28
  21. package/dist/apiMethods/pageMethods.js +490 -446
  22. package/dist/apiMethods/serverUserMethods.d.ts +10 -0
  23. package/dist/apiMethods/serverUserMethods.js +89 -0
  24. package/dist/apiMethods/webhookMethods.d.ts +12 -0
  25. package/dist/apiMethods/webhookMethods.js +131 -0
  26. package/dist/enums/assetGroupingType.d.ts +3 -3
  27. package/dist/enums/assetGroupingType.js +7 -7
  28. package/dist/enums/batchOperationType.d.ts +19 -19
  29. package/dist/enums/batchOperationType.js +23 -23
  30. package/dist/enums/batchState..d.ts +7 -7
  31. package/dist/enums/batchState..js +11 -11
  32. package/dist/enums/pageItemTemplateType.d.ts +4 -4
  33. package/dist/enums/pageItemTemplateType.js +8 -8
  34. package/dist/index.d.ts +23 -23
  35. package/dist/index.js +39 -39
  36. package/dist/models/assetContainer.d.ts +7 -7
  37. package/dist/models/assetContainer.js +9 -9
  38. package/dist/models/assetGalleries.d.ts +5 -5
  39. package/dist/models/assetGalleries.js +9 -9
  40. package/dist/models/assetMediaGrouping.d.ts +17 -17
  41. package/dist/models/assetMediaGrouping.js +9 -9
  42. package/dist/models/assetMediaGroupingMetaData.d.ts +4 -4
  43. package/dist/models/assetMediaGroupingMetaData.js +9 -9
  44. package/dist/models/batch.d.ts +29 -29
  45. package/dist/models/batch.js +9 -9
  46. package/dist/models/batchItem.d.ts +13 -13
  47. package/dist/models/batchItem.js +9 -9
  48. package/dist/models/container.d.ts +47 -47
  49. package/dist/models/container.js +9 -9
  50. package/dist/models/contentItem.d.ts +37 -37
  51. package/dist/models/contentItem.js +33 -33
  52. package/dist/models/contentItemHistory.d.ts +20 -0
  53. package/dist/models/contentItemHistory.js +15 -0
  54. package/dist/models/contentListFilterModel.d.ts +26 -0
  55. package/dist/models/contentListFilterModel.js +33 -0
  56. package/dist/models/contentSectionDefaultModule.d.ts +7 -7
  57. package/dist/models/contentSectionDefaultModule.js +9 -9
  58. package/dist/models/contentSectionDefinition.d.ts +35 -35
  59. package/dist/models/contentSectionDefinition.js +9 -9
  60. package/dist/models/contentViewColumn.d.ts +8 -8
  61. package/dist/models/contentViewColumn.js +9 -9
  62. package/dist/models/exception.d.ts +4 -4
  63. package/dist/models/exception.js +28 -28
  64. package/dist/models/instanceRole.d.ts +7 -7
  65. package/dist/models/instanceRole.js +9 -9
  66. package/dist/models/instanceUser.d.ts +14 -14
  67. package/dist/models/instanceUser.js +9 -9
  68. package/dist/models/itemComments.d.ts +14 -0
  69. package/dist/models/itemComments.js +15 -0
  70. package/dist/models/listParams.d.ts +9 -0
  71. package/dist/models/listParams.js +16 -0
  72. package/dist/models/media.d.ts +30 -30
  73. package/dist/models/media.js +15 -15
  74. package/dist/models/model.d.ts +30 -30
  75. package/dist/models/model.js +15 -15
  76. package/dist/models/notification.d.ts +13 -13
  77. package/dist/models/notification.js +9 -9
  78. package/dist/models/options.d.ts +7 -7
  79. package/dist/models/options.js +9 -9
  80. package/dist/models/pageHistory.d.ts +21 -0
  81. package/dist/models/pageHistory.js +15 -0
  82. package/dist/models/pageItem.d.ts +56 -56
  83. package/dist/models/pageItem.js +39 -39
  84. package/dist/models/pageModel.d.ts +14 -14
  85. package/dist/models/pageModel.js +9 -9
  86. package/dist/models/serverUser.d.ts +21 -0
  87. package/dist/models/serverUser.js +9 -0
  88. package/dist/models/sharedModule.d.ts +7 -7
  89. package/dist/models/sharedModule.js +9 -9
  90. package/dist/models/sitemap.d.ts +20 -20
  91. package/dist/models/sitemap.js +15 -15
  92. package/dist/models/webhook.d.ts +9 -0
  93. package/dist/models/webhook.js +9 -0
  94. package/dist/models/websiteListing.d.ts +16 -0
  95. package/dist/models/websiteListing.js +9 -0
  96. package/dist/models/websiteUser.d.ts +22 -22
  97. package/dist/models/websiteUser.js +15 -15
  98. package/dist/src/apiMethods/assetMethods.d.ts +14 -0
  99. package/dist/src/apiMethods/assetMethods.js +172 -0
  100. package/dist/src/apiMethods/batchMethods.d.ts +11 -0
  101. package/dist/src/apiMethods/batchMethods.js +117 -0
  102. package/dist/src/apiMethods/clientInstance.d.ts +8 -0
  103. package/dist/src/apiMethods/clientInstance.js +156 -0
  104. package/dist/src/apiMethods/containerMethods.d.ts +16 -0
  105. package/dist/src/apiMethods/containerMethods.js +189 -0
  106. package/dist/src/apiMethods/contentMethods.d.ts +20 -0
  107. package/dist/src/apiMethods/contentMethods.js +359 -0
  108. package/dist/src/apiMethods/instanceUserMethods.d.ts +13 -0
  109. package/dist/src/apiMethods/instanceUserMethods.js +111 -0
  110. package/dist/src/apiMethods/modelMethods.d.ts +13 -0
  111. package/dist/src/apiMethods/modelMethods.js +150 -0
  112. package/dist/src/apiMethods/pageMethods.d.ts +20 -0
  113. package/dist/src/apiMethods/pageMethods.js +323 -0
  114. package/dist/src/enums/batchOperationType.d.ts +19 -0
  115. package/dist/src/enums/batchOperationType.js +23 -0
  116. package/dist/src/enums/batchState..d.ts +7 -0
  117. package/dist/src/enums/batchState..js +11 -0
  118. package/dist/src/index.d.ts +14 -0
  119. package/dist/src/index.js +30 -0
  120. package/dist/src/models/batch.d.ts +29 -0
  121. package/dist/src/models/batch.js +9 -0
  122. package/dist/src/models/batchItem.d.ts +13 -0
  123. package/dist/src/models/batchItem.js +9 -0
  124. package/dist/src/models/container.d.ts +47 -0
  125. package/dist/src/models/container.js +9 -0
  126. package/dist/src/models/contentItem.d.ts +37 -0
  127. package/dist/src/models/contentItem.js +33 -0
  128. package/dist/src/models/contentViewColumn.d.ts +8 -0
  129. package/dist/src/models/contentViewColumn.js +9 -0
  130. package/dist/src/models/exception.d.ts +4 -0
  131. package/dist/src/models/exception.js +28 -0
  132. package/dist/src/models/instanceRole.d.ts +7 -0
  133. package/dist/src/models/instanceRole.js +9 -0
  134. package/dist/src/models/instanceUser.d.ts +14 -0
  135. package/dist/src/models/instanceUser.js +9 -0
  136. package/dist/src/models/media.d.ts +30 -0
  137. package/dist/src/models/media.js +15 -0
  138. package/dist/src/models/model.d.ts +30 -0
  139. package/dist/src/models/model.js +15 -0
  140. package/dist/src/models/notification.d.ts +13 -0
  141. package/dist/src/models/notification.js +9 -0
  142. package/dist/src/models/options.d.ts +7 -0
  143. package/dist/src/models/options.js +9 -0
  144. package/dist/src/models/pageItem.d.ts +56 -0
  145. package/dist/src/models/pageItem.js +39 -0
  146. package/dist/src/models/sitemap.d.ts +20 -0
  147. package/dist/src/models/sitemap.js +15 -0
  148. package/dist/src/models/websiteUser.d.ts +22 -0
  149. package/dist/src/models/websiteUser.js +15 -0
  150. package/package.json +1 -1
  151. package/.yarn/cache/@types-node-npm-18.11.9-d21dd6ec05-cc0aae109e.zip +0 -0
  152. package/.yarn/cache/asynckit-npm-0.4.0-c718858525-7b78c451df.zip +0 -0
  153. package/.yarn/cache/axios-npm-0.27.2-dbe3a48aea-38cb754046.zip +0 -0
  154. package/.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-49fa4aeb49.zip +0 -0
  155. package/.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-46fe6e83e2.zip +0 -0
  156. package/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-faa66059b6.zip +0 -0
  157. package/.yarn/cache/form-data-npm-4.0.0-916facec2d-01135bf867.zip +0 -0
  158. package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
  159. package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
  160. package/.yarn/cache/typescript-npm-4.9.5-6427b65ee6-ee000bc268.zip +0 -0
  161. package/.yarn/cache/typescript-patch-f8edcd7439-1f8f3b6aae.zip +0 -0
  162. package/.yarn/install-state.gz +0 -0
@@ -1,35 +1,35 @@
1
- import { PageItemTemplateType } from "../enums/pageItemTemplateType";
2
- import { ContentSectionDefaultModule } from "./contentSectionDefaultModule";
3
- import { SharedModule } from "./sharedModule";
4
- export declare class 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
- }
1
+ import { PageItemTemplateType } from "../enums/pageItemTemplateType";
2
+ import { ContentSectionDefaultModule } from "./contentSectionDefaultModule";
3
+ import { SharedModule } from "./sharedModule";
4
+ export declare class 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
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContentSectionDefinition = void 0;
4
- var ContentSectionDefinition = /** @class */ (function () {
5
- function ContentSectionDefinition() {
6
- }
7
- return ContentSectionDefinition;
8
- }());
9
- exports.ContentSectionDefinition = ContentSectionDefinition;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentSectionDefinition = void 0;
4
+ var ContentSectionDefinition = /** @class */ (function () {
5
+ function ContentSectionDefinition() {
6
+ }
7
+ return ContentSectionDefinition;
8
+ }());
9
+ exports.ContentSectionDefinition = ContentSectionDefinition;
@@ -1,8 +1,8 @@
1
- export declare class 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
- }
1
+ export declare class 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
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContentViewColumn = void 0;
4
- var ContentViewColumn = /** @class */ (function () {
5
- function ContentViewColumn() {
6
- }
7
- return ContentViewColumn;
8
- }());
9
- exports.ContentViewColumn = ContentViewColumn;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentViewColumn = void 0;
4
+ var ContentViewColumn = /** @class */ (function () {
5
+ function ContentViewColumn() {
6
+ }
7
+ return ContentViewColumn;
8
+ }());
9
+ exports.ContentViewColumn = ContentViewColumn;
@@ -1,4 +1,4 @@
1
- export declare class Exception extends Error {
2
- constructor(message: string, inner?: Error);
3
- innerError?: Error;
4
- }
1
+ export declare class Exception extends Error {
2
+ constructor(message: string, inner?: Error);
3
+ innerError?: Error;
4
+ }
@@ -1,28 +1,28 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.Exception = void 0;
19
- var Exception = /** @class */ (function (_super) {
20
- __extends(Exception, _super);
21
- function Exception(message, inner) {
22
- var _this = _super.call(this, message) || this;
23
- _this.innerError = inner;
24
- return _this;
25
- }
26
- return Exception;
27
- }(Error));
28
- exports.Exception = Exception;
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Exception = void 0;
19
+ var Exception = /** @class */ (function (_super) {
20
+ __extends(Exception, _super);
21
+ function Exception(message, inner) {
22
+ var _this = _super.call(this, message) || this;
23
+ _this.innerError = inner;
24
+ return _this;
25
+ }
26
+ return Exception;
27
+ }(Error));
28
+ exports.Exception = Exception;
@@ -1,7 +1,7 @@
1
- export declare class InstanceRole {
2
- roleID: number;
3
- isGlobalRole: boolean;
4
- sort: number;
5
- role: string | null;
6
- name: string | null;
7
- }
1
+ export declare class InstanceRole {
2
+ roleID: number;
3
+ isGlobalRole: boolean;
4
+ sort: number;
5
+ role: string | null;
6
+ name: string | null;
7
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceRole = void 0;
4
- var InstanceRole = /** @class */ (function () {
5
- function InstanceRole() {
6
- }
7
- return InstanceRole;
8
- }());
9
- exports.InstanceRole = InstanceRole;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InstanceRole = void 0;
4
+ var InstanceRole = /** @class */ (function () {
5
+ function InstanceRole() {
6
+ }
7
+ return InstanceRole;
8
+ }());
9
+ exports.InstanceRole = InstanceRole;
@@ -1,14 +1,14 @@
1
- import { InstanceRole } from "./instanceRole";
2
- import { InstancePermission } from "./websiteUser";
3
- export declare class 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
- }
1
+ import { InstanceRole } from "./instanceRole";
2
+ import { InstancePermission } from "./websiteUser";
3
+ export declare class 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
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceUser = void 0;
4
- var InstanceUser = /** @class */ (function () {
5
- function InstanceUser() {
6
- }
7
- return InstanceUser;
8
- }());
9
- exports.InstanceUser = InstanceUser;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InstanceUser = void 0;
4
+ var InstanceUser = /** @class */ (function () {
5
+ function InstanceUser() {
6
+ }
7
+ return InstanceUser;
8
+ }());
9
+ exports.InstanceUser = InstanceUser;
@@ -0,0 +1,14 @@
1
+ export declare class 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 declare class ItemComments {
12
+ items: ItemComment[];
13
+ totalCount: number;
14
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ItemComments = exports.ItemComment = void 0;
4
+ var ItemComment = /** @class */ (function () {
5
+ function ItemComment() {
6
+ }
7
+ return ItemComment;
8
+ }());
9
+ exports.ItemComment = ItemComment;
10
+ var ItemComments = /** @class */ (function () {
11
+ function ItemComments() {
12
+ }
13
+ return ItemComments;
14
+ }());
15
+ exports.ItemComments = ItemComments;
@@ -0,0 +1,9 @@
1
+ export declare class 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,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListParams = void 0;
4
+ var ListParams = /** @class */ (function () {
5
+ function ListParams() {
6
+ this.filter = '';
7
+ this.fields = '';
8
+ this.sortDirection = '';
9
+ this.sortField = '';
10
+ this.showDeleted = false;
11
+ this.take = 50;
12
+ this.skip = 0;
13
+ }
14
+ return ListParams;
15
+ }());
16
+ exports.ListParams = ListParams;
@@ -1,30 +1,30 @@
1
- export declare class 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 declare class AssetMediaList {
28
- assetMedias: (Media | null)[];
29
- totalCount: number | null;
30
- }
1
+ export declare class 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 declare class AssetMediaList {
28
+ assetMedias: (Media | null)[];
29
+ totalCount: number | null;
30
+ }
@@ -1,15 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AssetMediaList = exports.Media = void 0;
4
- var Media = /** @class */ (function () {
5
- function Media() {
6
- }
7
- return Media;
8
- }());
9
- exports.Media = Media;
10
- var AssetMediaList = /** @class */ (function () {
11
- function AssetMediaList() {
12
- }
13
- return AssetMediaList;
14
- }());
15
- exports.AssetMediaList = AssetMediaList;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetMediaList = exports.Media = void 0;
4
+ var Media = /** @class */ (function () {
5
+ function Media() {
6
+ }
7
+ return Media;
8
+ }());
9
+ exports.Media = Media;
10
+ var AssetMediaList = /** @class */ (function () {
11
+ function AssetMediaList() {
12
+ }
13
+ return AssetMediaList;
14
+ }());
15
+ exports.AssetMediaList = AssetMediaList;
@@ -1,30 +1,30 @@
1
- export declare class 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 declare class 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
- }
1
+ export declare class 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 declare class 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
+ }
@@ -1,15 +1,15 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModelField = exports.Model = void 0;
4
- var Model = /** @class */ (function () {
5
- function Model() {
6
- }
7
- return Model;
8
- }());
9
- exports.Model = Model;
10
- var ModelField = /** @class */ (function () {
11
- function ModelField() {
12
- }
13
- return ModelField;
14
- }());
15
- exports.ModelField = ModelField;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModelField = exports.Model = void 0;
4
+ var Model = /** @class */ (function () {
5
+ function Model() {
6
+ }
7
+ return Model;
8
+ }());
9
+ exports.Model = Model;
10
+ var ModelField = /** @class */ (function () {
11
+ function ModelField() {
12
+ }
13
+ return ModelField;
14
+ }());
15
+ exports.ModelField = ModelField;
@@ -1,13 +1,13 @@
1
- export declare class 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
- }
1
+ export declare class 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
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Notification = void 0;
4
- var Notification = /** @class */ (function () {
5
- function Notification() {
6
- }
7
- return Notification;
8
- }());
9
- exports.Notification = Notification;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Notification = void 0;
4
+ var Notification = /** @class */ (function () {
5
+ function Notification() {
6
+ }
7
+ return Notification;
8
+ }());
9
+ exports.Notification = Notification;
@@ -1,7 +1,7 @@
1
- export declare class Options {
2
- token: string;
3
- baseUrl: string | null;
4
- refresh_token: string;
5
- duration: number | 3000;
6
- retryCount: number | 500;
7
- }
1
+ export declare class Options {
2
+ token: string;
3
+ baseUrl: string | null;
4
+ refresh_token: string;
5
+ duration: number | 3000;
6
+ retryCount: number | 500;
7
+ }
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Options = void 0;
4
- var Options = /** @class */ (function () {
5
- function Options() {
6
- }
7
- return Options;
8
- }());
9
- exports.Options = Options;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Options = void 0;
4
+ var Options = /** @class */ (function () {
5
+ function Options() {
6
+ }
7
+ return Options;
8
+ }());
9
+ exports.Options = Options;
@@ -0,0 +1,21 @@
1
+ export declare class 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 declare class PageHistoryResponse {
19
+ items: PageHistory[];
20
+ totalCount: number;
21
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageHistoryResponse = exports.PageHistory = void 0;
4
+ var PageHistory = /** @class */ (function () {
5
+ function PageHistory() {
6
+ }
7
+ return PageHistory;
8
+ }());
9
+ exports.PageHistory = PageHistory;
10
+ var PageHistoryResponse = /** @class */ (function () {
11
+ function PageHistoryResponse() {
12
+ }
13
+ return PageHistoryResponse;
14
+ }());
15
+ exports.PageHistoryResponse = PageHistoryResponse;