@agility/management-sdk 0.1.3 → 0.1.7

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 (112) hide show
  1. package/README.md +459 -395
  2. package/dist/apiClient.d.ts +19 -0
  3. package/dist/apiClient.js +24 -0
  4. package/dist/apiMethods/apiClient.d.ts +19 -0
  5. package/dist/apiMethods/apiClient.js +24 -0
  6. package/dist/apiMethods/assetMethods.d.ts +14 -14
  7. package/dist/apiMethods/assetMethods.js +172 -172
  8. package/dist/apiMethods/batchMethods.d.ts +11 -11
  9. package/dist/apiMethods/batchMethods.js +117 -117
  10. package/dist/apiMethods/clientInstance.d.ts +8 -8
  11. package/dist/apiMethods/clientInstance.js +156 -137
  12. package/dist/apiMethods/containerMethods.d.ts +16 -16
  13. package/dist/apiMethods/containerMethods.js +189 -189
  14. package/dist/apiMethods/contentMethods.d.ts +20 -20
  15. package/dist/apiMethods/contentMethods.js +359 -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 +13 -13
  19. package/dist/apiMethods/modelMethods.js +150 -150
  20. package/dist/apiMethods/pageMethods.d.ts +20 -20
  21. package/dist/apiMethods/pageMethods.js +323 -323
  22. package/dist/enums/batchOperationType.d.ts +19 -19
  23. package/dist/enums/batchOperationType.js +23 -23
  24. package/dist/enums/batchState..d.ts +7 -7
  25. package/dist/enums/batchState..js +11 -11
  26. package/dist/index.d.ts +14 -21
  27. package/dist/index.js +30 -33
  28. package/dist/models/batch.d.ts +29 -29
  29. package/dist/models/batch.js +9 -9
  30. package/dist/models/batchItem.d.ts +13 -13
  31. package/dist/models/batchItem.js +9 -9
  32. package/dist/models/container.d.ts +47 -47
  33. package/dist/models/container.js +9 -9
  34. package/dist/models/contentItem.d.ts +37 -37
  35. package/dist/models/contentItem.js +33 -33
  36. package/dist/models/contentViewColumn.d.ts +8 -8
  37. package/dist/models/contentViewColumn.js +9 -9
  38. package/dist/models/exception.d.ts +4 -4
  39. package/dist/models/exception.js +28 -26
  40. package/dist/models/instanceRole.d.ts +7 -7
  41. package/dist/models/instanceRole.js +9 -9
  42. package/dist/models/instanceUser.d.ts +14 -14
  43. package/dist/models/instanceUser.js +9 -9
  44. package/dist/models/media.d.ts +30 -30
  45. package/dist/models/media.js +15 -15
  46. package/dist/models/model.d.ts +30 -30
  47. package/dist/models/model.js +15 -15
  48. package/dist/models/notification.d.ts +13 -13
  49. package/dist/models/notification.js +9 -9
  50. package/dist/models/options.d.ts +7 -10
  51. package/dist/models/options.js +9 -28
  52. package/dist/models/pageItem.d.ts +56 -56
  53. package/dist/models/pageItem.js +39 -39
  54. package/dist/models/sitemap.d.ts +20 -20
  55. package/dist/models/sitemap.js +15 -15
  56. package/dist/models/websiteUser.d.ts +22 -22
  57. package/dist/models/websiteUser.js +15 -15
  58. package/dist/src/apiMethods/assetMethods.d.ts +14 -0
  59. package/dist/src/apiMethods/assetMethods.js +172 -0
  60. package/dist/src/apiMethods/batchMethods.d.ts +11 -0
  61. package/dist/src/apiMethods/batchMethods.js +117 -0
  62. package/dist/src/apiMethods/clientInstance.d.ts +8 -0
  63. package/dist/src/apiMethods/clientInstance.js +156 -0
  64. package/dist/src/apiMethods/containerMethods.d.ts +16 -0
  65. package/dist/src/apiMethods/containerMethods.js +189 -0
  66. package/dist/src/apiMethods/contentMethods.d.ts +20 -0
  67. package/dist/src/apiMethods/contentMethods.js +359 -0
  68. package/dist/src/apiMethods/instanceUserMethods.d.ts +13 -0
  69. package/dist/src/apiMethods/instanceUserMethods.js +111 -0
  70. package/dist/src/apiMethods/modelMethods.d.ts +13 -0
  71. package/dist/src/apiMethods/modelMethods.js +150 -0
  72. package/dist/src/apiMethods/pageMethods.d.ts +20 -0
  73. package/dist/src/apiMethods/pageMethods.js +323 -0
  74. package/dist/src/enums/batchOperationType.d.ts +19 -0
  75. package/dist/src/enums/batchOperationType.js +23 -0
  76. package/dist/src/enums/batchState..d.ts +7 -0
  77. package/dist/src/enums/batchState..js +11 -0
  78. package/dist/src/index.d.ts +14 -0
  79. package/dist/src/index.js +30 -0
  80. package/dist/src/models/batch.d.ts +29 -0
  81. package/dist/src/models/batch.js +9 -0
  82. package/dist/src/models/batchItem.d.ts +13 -0
  83. package/dist/src/models/batchItem.js +9 -0
  84. package/dist/src/models/container.d.ts +47 -0
  85. package/dist/src/models/container.js +9 -0
  86. package/dist/src/models/contentItem.d.ts +37 -0
  87. package/dist/src/models/contentItem.js +33 -0
  88. package/dist/src/models/contentViewColumn.d.ts +8 -0
  89. package/dist/src/models/contentViewColumn.js +9 -0
  90. package/dist/src/models/exception.d.ts +4 -0
  91. package/dist/src/models/exception.js +28 -0
  92. package/dist/src/models/instanceRole.d.ts +7 -0
  93. package/dist/src/models/instanceRole.js +9 -0
  94. package/dist/src/models/instanceUser.d.ts +14 -0
  95. package/dist/src/models/instanceUser.js +9 -0
  96. package/dist/src/models/media.d.ts +30 -0
  97. package/dist/src/models/media.js +15 -0
  98. package/dist/src/models/model.d.ts +30 -0
  99. package/dist/src/models/model.js +15 -0
  100. package/dist/src/models/notification.d.ts +13 -0
  101. package/dist/src/models/notification.js +9 -0
  102. package/dist/src/models/options.d.ts +7 -0
  103. package/dist/src/models/options.js +9 -0
  104. package/dist/src/models/pageItem.d.ts +56 -0
  105. package/dist/src/models/pageItem.js +39 -0
  106. package/dist/src/models/sitemap.d.ts +20 -0
  107. package/dist/src/models/sitemap.js +15 -0
  108. package/dist/src/models/websiteUser.d.ts +22 -0
  109. package/dist/src/models/websiteUser.js +15 -0
  110. package/license.txt +20 -20
  111. package/package.json +39 -39
  112. package/tsconfig.json +14 -14
@@ -0,0 +1,7 @@
1
+ export declare enum BatchState {
2
+ None = 0,
3
+ Pending = 1,
4
+ InProcess = 2,
5
+ Processed = 3,
6
+ Deleted = 4
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchState = void 0;
4
+ var BatchState;
5
+ (function (BatchState) {
6
+ BatchState[BatchState["None"] = 0] = "None";
7
+ BatchState[BatchState["Pending"] = 1] = "Pending";
8
+ BatchState[BatchState["InProcess"] = 2] = "InProcess";
9
+ BatchState[BatchState["Processed"] = 3] = "Processed";
10
+ BatchState[BatchState["Deleted"] = 4] = "Deleted";
11
+ })(BatchState = exports.BatchState || (exports.BatchState = {}));
@@ -0,0 +1,14 @@
1
+ export * from "./models/options";
2
+ export * from "./models/batch";
3
+ export * from "./models/batchItem";
4
+ export * from "./models/container";
5
+ export * from "./models/contentItem";
6
+ export * from "./models/contentViewColumn";
7
+ export * from "./models/instanceRole";
8
+ export * from "./models/instanceUser";
9
+ export * from "./models/media";
10
+ export * from "./models/model";
11
+ export * from "./models/notification";
12
+ export * from "./models/pageItem";
13
+ export * from "./models/sitemap";
14
+ export * from "../apiClient";
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./models/options"), exports);
18
+ __exportStar(require("./models/batch"), exports);
19
+ __exportStar(require("./models/batchItem"), exports);
20
+ __exportStar(require("./models/container"), exports);
21
+ __exportStar(require("./models/contentItem"), exports);
22
+ __exportStar(require("./models/contentViewColumn"), exports);
23
+ __exportStar(require("./models/instanceRole"), exports);
24
+ __exportStar(require("./models/instanceUser"), exports);
25
+ __exportStar(require("./models/media"), exports);
26
+ __exportStar(require("./models/model"), exports);
27
+ __exportStar(require("./models/notification"), exports);
28
+ __exportStar(require("./models/pageItem"), exports);
29
+ __exportStar(require("./models/sitemap"), exports);
30
+ __exportStar(require("../apiClient"), exports);
@@ -0,0 +1,29 @@
1
+ import { BatchState } from "../enums/batchState.";
2
+ import { BatchOperationType } from "../enums/batchOperationType";
3
+ import { BatchItem } from "./batchItem";
4
+ export declare class 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,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Batch = void 0;
4
+ var Batch = /** @class */ (function () {
5
+ function Batch() {
6
+ }
7
+ return Batch;
8
+ }());
9
+ exports.Batch = Batch;
@@ -0,0 +1,13 @@
1
+ export declare class 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,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchItem = void 0;
4
+ var BatchItem = /** @class */ (function () {
5
+ function BatchItem() {
6
+ }
7
+ return BatchItem;
8
+ }());
9
+ exports.BatchItem = BatchItem;
@@ -0,0 +1,47 @@
1
+ import { ContentViewColumn } from "./contentViewColumn";
2
+ export declare class 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,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Container = void 0;
4
+ var Container = /** @class */ (function () {
5
+ function Container() {
6
+ }
7
+ return Container;
8
+ }());
9
+ exports.Container = Container;
@@ -0,0 +1,37 @@
1
+ export declare class 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 declare class 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 declare class SeoProperties {
22
+ metaDescription: string | null;
23
+ metaKeywords: string | null;
24
+ metaHTML: string | null;
25
+ menuVisible: boolean | null;
26
+ sitemapVisible: boolean | null;
27
+ }
28
+ export declare class ContentScripts {
29
+ top: string | null;
30
+ bottom: string | null;
31
+ }
32
+ export declare class ContentList {
33
+ recordOffset: number | null;
34
+ totalCount: number | null;
35
+ pageSize: number | null;
36
+ items: any[] | null;
37
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentList = exports.ContentScripts = exports.SeoProperties = exports.ContentItemProperties = exports.ContentItem = void 0;
4
+ var ContentItem = /** @class */ (function () {
5
+ function ContentItem() {
6
+ }
7
+ return ContentItem;
8
+ }());
9
+ exports.ContentItem = ContentItem;
10
+ var ContentItemProperties = /** @class */ (function () {
11
+ function ContentItemProperties() {
12
+ }
13
+ return ContentItemProperties;
14
+ }());
15
+ exports.ContentItemProperties = ContentItemProperties;
16
+ var SeoProperties = /** @class */ (function () {
17
+ function SeoProperties() {
18
+ }
19
+ return SeoProperties;
20
+ }());
21
+ exports.SeoProperties = SeoProperties;
22
+ var ContentScripts = /** @class */ (function () {
23
+ function ContentScripts() {
24
+ }
25
+ return ContentScripts;
26
+ }());
27
+ exports.ContentScripts = ContentScripts;
28
+ var ContentList = /** @class */ (function () {
29
+ function ContentList() {
30
+ }
31
+ return ContentList;
32
+ }());
33
+ exports.ContentList = ContentList;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +1,4 @@
1
+ export declare class Exception extends Error {
2
+ constructor(message: string, inner?: Error);
3
+ innerError?: Error;
4
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +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
+ }
@@ -0,0 +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;
@@ -0,0 +1,56 @@
1
+ import { SeoProperties } from "./contentItem";
2
+ export declare class PageItem {
3
+ pageID: number | null;
4
+ name: string | null;
5
+ path: string | null;
6
+ title: string | null;
7
+ menuText: string | null;
8
+ pageType: string | null;
9
+ templateName: string | null;
10
+ redirectUrl: string | null;
11
+ securePage: boolean | null;
12
+ excludeFromOutputCache: boolean | null;
13
+ visible: PageVisible | null;
14
+ seo: SeoProperties | null;
15
+ scripts: PageScripts | null;
16
+ dynamic: PageDynamic | null;
17
+ properties: PageItemProperties | null;
18
+ zones: {
19
+ [key: string]: PageModule[];
20
+ } | null;
21
+ parentPageID: number | null;
22
+ placeBeforePageItemID: number | null;
23
+ channelID: number | null;
24
+ releaseDate: string | null;
25
+ pullDate: string | null;
26
+ }
27
+ export declare class PageVisible {
28
+ menu: boolean | null;
29
+ sitemap: boolean | null;
30
+ }
31
+ export declare class PageScripts {
32
+ excludedFromGlobal: boolean;
33
+ top: string | null;
34
+ bottom: string | null;
35
+ }
36
+ export declare class PageDynamic {
37
+ referenceName: string | null;
38
+ fieldName: string | null;
39
+ titleFormula: string | null;
40
+ menuTextFormula: string | null;
41
+ pageNameFormula: string | null;
42
+ visibleOnMenu: boolean | null;
43
+ visibleOnSitemap: boolean | null;
44
+ }
45
+ export declare class PageItemProperties {
46
+ state: number | null;
47
+ modified: string | null;
48
+ versionID: number | null;
49
+ }
50
+ export declare class PageModule {
51
+ module: string | null;
52
+ item: any | null;
53
+ }
54
+ export interface Dictionary<T> {
55
+ [Key: string]: T;
56
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageModule = exports.PageItemProperties = exports.PageDynamic = exports.PageScripts = exports.PageVisible = exports.PageItem = void 0;
4
+ var PageItem = /** @class */ (function () {
5
+ function PageItem() {
6
+ }
7
+ return PageItem;
8
+ }());
9
+ exports.PageItem = PageItem;
10
+ var PageVisible = /** @class */ (function () {
11
+ function PageVisible() {
12
+ }
13
+ return PageVisible;
14
+ }());
15
+ exports.PageVisible = PageVisible;
16
+ var PageScripts = /** @class */ (function () {
17
+ function PageScripts() {
18
+ }
19
+ return PageScripts;
20
+ }());
21
+ exports.PageScripts = PageScripts;
22
+ var PageDynamic = /** @class */ (function () {
23
+ function PageDynamic() {
24
+ }
25
+ return PageDynamic;
26
+ }());
27
+ exports.PageDynamic = PageDynamic;
28
+ var PageItemProperties = /** @class */ (function () {
29
+ function PageItemProperties() {
30
+ }
31
+ return PageItemProperties;
32
+ }());
33
+ exports.PageItemProperties = PageItemProperties;
34
+ var PageModule = /** @class */ (function () {
35
+ function PageModule() {
36
+ }
37
+ return PageModule;
38
+ }());
39
+ exports.PageModule = PageModule;
@@ -0,0 +1,20 @@
1
+ export declare class Sitemap {
2
+ digitalChannelID: number | null;
3
+ name: string | null;
4
+ digitalChannelTypeName: string | null;
5
+ isDefaultChannel: boolean;
6
+ pages: (SitemapItem | null)[];
7
+ }
8
+ export declare class SitemapItem {
9
+ pageID: number | null;
10
+ parentPageID: number | null;
11
+ pageName: string | null;
12
+ title: string | null;
13
+ pageType: string | null;
14
+ languageCode: string | null;
15
+ pageMode: number | null;
16
+ dynamicPageContentReferenceName: string | null;
17
+ dynamicPageContentViewFieldName: string | null;
18
+ uRL: string | null;
19
+ childPages: (SitemapItem | null)[];
20
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SitemapItem = exports.Sitemap = void 0;
4
+ var Sitemap = /** @class */ (function () {
5
+ function Sitemap() {
6
+ }
7
+ return Sitemap;
8
+ }());
9
+ exports.Sitemap = Sitemap;
10
+ var SitemapItem = /** @class */ (function () {
11
+ function SitemapItem() {
12
+ }
13
+ return SitemapItem;
14
+ }());
15
+ exports.SitemapItem = SitemapItem;
@@ -0,0 +1,22 @@
1
+ import { InstanceRole } from "./instanceRole";
2
+ export declare class WebsiteUser {
3
+ userID: number | null;
4
+ userName: string | null;
5
+ firstName: string | null;
6
+ lastName: string | null;
7
+ emailAddress: string | null;
8
+ isDeleted: boolean;
9
+ fullName: string | null;
10
+ isTeamUser: boolean;
11
+ isSuspended: boolean;
12
+ teamID: number | null;
13
+ userRoles: InstanceRole[];
14
+ userPermissions: InstancePermission[];
15
+ loginDate: string | null;
16
+ isOrgAdmin: boolean;
17
+ }
18
+ export declare class InstancePermission {
19
+ permissionType: string | null;
20
+ permissionID: number;
21
+ name: string | null;
22
+ }