@agility/management-sdk 0.1.2 → 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.
- package/README.md +459 -395
- package/dist/apiClient.d.ts +19 -0
- package/dist/apiClient.js +24 -0
- package/dist/apiMethods/apiClient.d.ts +19 -0
- package/dist/apiMethods/apiClient.js +24 -0
- package/dist/apiMethods/assetMethods.d.ts +14 -14
- package/dist/apiMethods/assetMethods.js +172 -95
- package/dist/apiMethods/batchMethods.d.ts +11 -11
- package/dist/apiMethods/batchMethods.js +117 -65
- package/dist/apiMethods/clientInstance.d.ts +8 -8
- package/dist/apiMethods/clientInstance.js +156 -77
- package/dist/apiMethods/containerMethods.d.ts +16 -16
- package/dist/apiMethods/containerMethods.js +189 -105
- package/dist/apiMethods/contentMethods.d.ts +20 -20
- package/dist/apiMethods/contentMethods.js +359 -175
- package/dist/apiMethods/instanceUserMethods.d.ts +13 -13
- package/dist/apiMethods/instanceUserMethods.js +111 -57
- package/dist/apiMethods/modelMethods.d.ts +13 -13
- package/dist/apiMethods/modelMethods.js +150 -81
- package/dist/apiMethods/pageMethods.d.ts +20 -20
- package/dist/apiMethods/pageMethods.js +323 -159
- package/dist/enums/batchOperationType.d.ts +19 -19
- package/dist/enums/batchOperationType.js +23 -23
- package/dist/enums/batchState..d.ts +7 -7
- package/dist/enums/batchState..js +11 -11
- package/dist/index.d.ts +14 -21
- package/dist/index.js +30 -33
- package/dist/models/batch.d.ts +29 -29
- package/dist/models/batch.js +9 -6
- package/dist/models/batchItem.d.ts +13 -13
- package/dist/models/batchItem.js +9 -6
- package/dist/models/container.d.ts +47 -47
- package/dist/models/container.js +9 -6
- package/dist/models/contentItem.d.ts +37 -37
- package/dist/models/contentItem.js +33 -18
- package/dist/models/contentViewColumn.d.ts +8 -8
- package/dist/models/contentViewColumn.js +9 -6
- package/dist/models/exception.d.ts +4 -4
- package/dist/models/exception.js +28 -10
- package/dist/models/instanceRole.d.ts +7 -7
- package/dist/models/instanceRole.js +9 -6
- package/dist/models/instanceUser.d.ts +14 -14
- package/dist/models/instanceUser.js +9 -6
- package/dist/models/media.d.ts +30 -30
- package/dist/models/media.js +15 -9
- package/dist/models/model.d.ts +30 -30
- package/dist/models/model.js +15 -9
- package/dist/models/notification.d.ts +13 -13
- package/dist/models/notification.js +9 -6
- package/dist/models/options.d.ts +7 -10
- package/dist/models/options.js +9 -25
- package/dist/models/pageItem.d.ts +56 -56
- package/dist/models/pageItem.js +39 -21
- package/dist/models/sitemap.d.ts +20 -20
- package/dist/models/sitemap.js +15 -9
- package/dist/models/websiteUser.d.ts +22 -22
- package/dist/models/websiteUser.js +15 -9
- package/dist/src/apiMethods/assetMethods.d.ts +14 -0
- package/dist/src/apiMethods/assetMethods.js +172 -0
- package/dist/src/apiMethods/batchMethods.d.ts +11 -0
- package/dist/src/apiMethods/batchMethods.js +117 -0
- package/dist/src/apiMethods/clientInstance.d.ts +8 -0
- package/dist/src/apiMethods/clientInstance.js +156 -0
- package/dist/src/apiMethods/containerMethods.d.ts +16 -0
- package/dist/src/apiMethods/containerMethods.js +189 -0
- package/dist/src/apiMethods/contentMethods.d.ts +20 -0
- package/dist/src/apiMethods/contentMethods.js +359 -0
- package/dist/src/apiMethods/instanceUserMethods.d.ts +13 -0
- package/dist/src/apiMethods/instanceUserMethods.js +111 -0
- package/dist/src/apiMethods/modelMethods.d.ts +13 -0
- package/dist/src/apiMethods/modelMethods.js +150 -0
- package/dist/src/apiMethods/pageMethods.d.ts +20 -0
- package/dist/src/apiMethods/pageMethods.js +323 -0
- package/dist/src/enums/batchOperationType.d.ts +19 -0
- package/dist/src/enums/batchOperationType.js +23 -0
- package/dist/src/enums/batchState..d.ts +7 -0
- package/dist/src/enums/batchState..js +11 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.js +30 -0
- package/dist/src/models/batch.d.ts +29 -0
- package/dist/src/models/batch.js +9 -0
- package/dist/src/models/batchItem.d.ts +13 -0
- package/dist/src/models/batchItem.js +9 -0
- package/dist/src/models/container.d.ts +47 -0
- package/dist/src/models/container.js +9 -0
- package/dist/src/models/contentItem.d.ts +37 -0
- package/dist/src/models/contentItem.js +33 -0
- package/dist/src/models/contentViewColumn.d.ts +8 -0
- package/dist/src/models/contentViewColumn.js +9 -0
- package/dist/src/models/exception.d.ts +4 -0
- package/dist/src/models/exception.js +28 -0
- package/dist/src/models/instanceRole.d.ts +7 -0
- package/dist/src/models/instanceRole.js +9 -0
- package/dist/src/models/instanceUser.d.ts +14 -0
- package/dist/src/models/instanceUser.js +9 -0
- package/dist/src/models/media.d.ts +30 -0
- package/dist/src/models/media.js +15 -0
- package/dist/src/models/model.d.ts +30 -0
- package/dist/src/models/model.js +15 -0
- package/dist/src/models/notification.d.ts +13 -0
- package/dist/src/models/notification.js +9 -0
- package/dist/src/models/options.d.ts +7 -0
- package/dist/src/models/options.js +9 -0
- package/dist/src/models/pageItem.d.ts +56 -0
- package/dist/src/models/pageItem.js +39 -0
- package/dist/src/models/sitemap.d.ts +20 -0
- package/dist/src/models/sitemap.js +15 -0
- package/dist/src/models/websiteUser.d.ts +22 -0
- package/dist/src/models/websiteUser.js +15 -0
- package/license.txt +20 -20
- package/package.json +39 -39
- package/tsconfig.json +14 -14
package/dist/models/media.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/dist/models/media.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssetMediaList = exports.Media = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
exports.
|
|
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;
|
package/dist/models/model.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/dist/models/model.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ModelField = exports.Model = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
exports.
|
|
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,6 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Notification = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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;
|
package/dist/models/options.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
export declare class Options {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
retryCount: number | 500;
|
|
9
|
-
determineBaseUrl(guid: string): string;
|
|
10
|
-
}
|
|
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
|
+
}
|
package/dist/models/options.js
CHANGED
|
@@ -1,25 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Options = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
else if (seperator[1] === 'u') {
|
|
11
|
-
return "https://mgmt.aglty.io";
|
|
12
|
-
}
|
|
13
|
-
else if (seperator[1] === 'ca') {
|
|
14
|
-
return "https://mgmt-ca.aglty.io";
|
|
15
|
-
}
|
|
16
|
-
else if (seperator[1] === 'eu') {
|
|
17
|
-
return "https://mgmt-aus.aglty.io";
|
|
18
|
-
}
|
|
19
|
-
else if (seperator[1] === 'aus') {
|
|
20
|
-
return "https://mgmt-aus.aglty.io";
|
|
21
|
-
}
|
|
22
|
-
return "https://mgmt.aglty.io";
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
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;
|
|
@@ -1,56 +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
|
-
}
|
|
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
|
+
}
|
package/dist/models/pageItem.js
CHANGED
|
@@ -1,21 +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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
exports.
|
|
10
|
-
class
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
exports.
|
|
16
|
-
class
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
exports.
|
|
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;
|
package/dist/models/sitemap.d.ts
CHANGED
|
@@ -1,20 +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
|
-
}
|
|
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
|
+
}
|
package/dist/models/sitemap.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SitemapItem = exports.Sitemap = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
exports.
|
|
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;
|
|
@@ -1,22 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstancePermission = exports.WebsiteUser = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
exports.
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InstancePermission = exports.WebsiteUser = void 0;
|
|
4
|
+
var WebsiteUser = /** @class */ (function () {
|
|
5
|
+
function WebsiteUser() {
|
|
6
|
+
}
|
|
7
|
+
return WebsiteUser;
|
|
8
|
+
}());
|
|
9
|
+
exports.WebsiteUser = WebsiteUser;
|
|
10
|
+
var InstancePermission = /** @class */ (function () {
|
|
11
|
+
function InstancePermission() {
|
|
12
|
+
}
|
|
13
|
+
return InstancePermission;
|
|
14
|
+
}());
|
|
15
|
+
exports.InstancePermission = InstancePermission;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Options } from "../models/options";
|
|
2
|
+
import { ClientInstance } from "./clientInstance";
|
|
3
|
+
import { AssetMediaList, Media } from "../models/media";
|
|
4
|
+
export declare class AssetMethods {
|
|
5
|
+
_options: Options;
|
|
6
|
+
_clientInstance: ClientInstance;
|
|
7
|
+
constructor(options: Options);
|
|
8
|
+
deleteFile(mediaID: number, guid: string): Promise<string>;
|
|
9
|
+
moveFile(mediaID: number, newFolder: string, guid: string): Promise<Media>;
|
|
10
|
+
getMediaList(pageSize: number, recordOffset: number, guid: string): Promise<AssetMediaList>;
|
|
11
|
+
getAssetByID(mediaID: number, guid: string): Promise<Media>;
|
|
12
|
+
getAssetByUrl(url: string, guid: string): Promise<Media>;
|
|
13
|
+
upload(formData: FormData, agilityFolderPath: string, guid: string, groupingID?: number): Promise<Media[]>;
|
|
14
|
+
}
|