@agility/management-sdk 0.1.2 → 0.1.4-beta.1
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/.cursor/api-documentation-manifest.md +275 -0
- package/.cursor/api-functions-analysis.md +111 -0
- package/.cursor/docs-final-check.md +269 -0
- package/.cursor/manifest.md +153 -0
- package/.env +92 -0
- package/README.md +219 -352
- package/dist/apiClient.d.ts +86 -0
- package/dist/apiClient.js +229 -0
- package/dist/apiClient.js.map +1 -0
- package/dist/apiMethods/assetMethods.d.ts +28 -6
- package/dist/apiMethods/assetMethods.js +346 -74
- package/dist/apiMethods/assetMethods.js.map +1 -0
- package/dist/apiMethods/authMethods.d.ts +239 -0
- package/dist/apiMethods/authMethods.js +604 -0
- package/dist/apiMethods/batchMethods.d.ts +32 -1
- package/dist/apiMethods/batchMethods.js +324 -42
- package/dist/apiMethods/batchMethods.js.map +1 -0
- package/dist/apiMethods/clientInstance.d.ts +58 -4
- package/dist/apiMethods/clientInstance.js +383 -56
- package/dist/apiMethods/clientInstance.js.map +1 -0
- package/dist/apiMethods/containerMethods.d.ts +15 -7
- package/dist/apiMethods/containerMethods.js +199 -83
- package/dist/apiMethods/containerMethods.js.map +1 -0
- package/dist/apiMethods/contentMethods.d.ts +17 -10
- package/dist/apiMethods/contentMethods.js +432 -149
- package/dist/apiMethods/contentMethods.js.map +1 -0
- package/dist/apiMethods/instanceMethods.d.ts +9 -0
- package/dist/apiMethods/instanceMethods.js +69 -0
- package/dist/apiMethods/instanceMethods.js.map +1 -0
- package/dist/apiMethods/instanceUserMethods.d.ts +3 -3
- package/dist/apiMethods/instanceUserMethods.js +93 -39
- package/dist/apiMethods/instanceUserMethods.js.map +1 -0
- package/dist/apiMethods/modelMethods.d.ts +6 -5
- package/dist/apiMethods/modelMethods.js +150 -61
- package/dist/apiMethods/modelMethods.js.map +1 -0
- package/dist/apiMethods/pageMethods.d.ts +21 -9
- package/dist/apiMethods/pageMethods.js +500 -134
- package/dist/apiMethods/pageMethods.js.map +1 -0
- package/dist/apiMethods/serverUserMethods.d.ts +10 -0
- package/dist/apiMethods/serverUserMethods.js +89 -0
- package/dist/apiMethods/serverUserMethods.js.map +1 -0
- package/dist/apiMethods/webhookMethods.d.ts +12 -0
- package/dist/apiMethods/webhookMethods.js +131 -0
- package/dist/apiMethods/webhookMethods.js.map +1 -0
- package/dist/enums/assetGroupingType.d.ts +3 -0
- package/dist/enums/assetGroupingType.js +7 -0
- package/dist/enums/assetGroupingType.js.map +1 -0
- package/dist/enums/batchItemType.d.ts +7 -0
- package/dist/enums/batchItemType.js +11 -0
- package/dist/enums/batchOperationType.js +1 -1
- package/dist/enums/batchOperationType.js.map +1 -0
- package/dist/enums/batchState..js +1 -1
- package/dist/enums/batchState.d.ts +7 -0
- package/dist/enums/batchState.js +12 -0
- package/dist/enums/batchState.js.map +1 -0
- package/dist/enums/pageItemTemplateType.d.ts +4 -0
- package/dist/enums/pageItemTemplateType.js +8 -0
- package/dist/enums/pageItemTemplateType.js.map +1 -0
- package/dist/enums/workflowOperationType.d.ts +26 -0
- package/dist/enums/workflowOperationType.js +30 -0
- package/dist/errors/exception.d.ts +4 -0
- package/dist/errors/exception.js +11 -0
- package/dist/errors/exception.js.map +1 -0
- package/dist/index.d.ts +41 -9
- package/dist/index.js +48 -10
- package/dist/index.js.map +1 -0
- package/dist/models/assetContainer.d.ts +7 -0
- package/dist/models/assetContainer.js +9 -0
- package/dist/models/assetGalleries.d.ts +5 -0
- package/dist/models/assetGalleries.js +9 -0
- package/dist/models/assetMediaGrouping.d.ts +17 -0
- package/dist/models/assetMediaGrouping.js +9 -0
- package/dist/models/assetMediaGroupingMetaData.d.ts +4 -0
- package/dist/models/assetMediaGroupingMetaData.js +9 -0
- package/dist/models/authTokens.d.ts +73 -0
- package/dist/models/authTokens.js +2 -0
- package/dist/models/batch.js +5 -2
- package/dist/models/batchItem.d.ts +1 -0
- package/dist/models/batchItem.js +5 -2
- package/dist/models/batchRequests.d.ts +67 -0
- package/dist/models/batchRequests.js +2 -0
- package/dist/models/batchTypes.d.ts +34 -0
- package/dist/models/batchTypes.js +2 -0
- package/dist/models/container.d.ts +2 -1
- package/dist/models/container.js +5 -2
- package/dist/models/contentDefinitionTypeID.d.ts +17 -0
- package/dist/models/contentDefinitionTypeID.js +21 -0
- package/dist/models/contentItem.js +25 -10
- package/dist/models/contentItemHistory.d.ts +20 -0
- package/dist/models/contentItemHistory.js +15 -0
- package/dist/models/contentListFilterModel.d.ts +26 -0
- package/dist/models/contentListFilterModel.js +33 -0
- package/dist/models/contentSectionDefaultModule.d.ts +7 -0
- package/dist/models/contentSectionDefaultModule.js +9 -0
- package/dist/models/contentSectionDefinition.d.ts +35 -0
- package/dist/models/contentSectionDefinition.js +9 -0
- package/dist/models/contentViewColumn.js +5 -2
- package/dist/models/exception.js +23 -5
- package/dist/models/instanceRole.js +5 -2
- package/dist/models/instanceUser.js +5 -2
- package/dist/models/itemComments.d.ts +14 -0
- package/dist/models/itemComments.js +15 -0
- package/dist/models/listParams.d.ts +9 -0
- package/dist/models/listParams.js +16 -0
- package/dist/models/locales.d.ts +3 -0
- package/dist/models/locales.js +30 -0
- package/dist/models/media.js +10 -4
- package/dist/models/model.js +10 -4
- package/dist/models/notification.js +5 -2
- package/dist/models/options.d.ts +2 -5
- package/dist/models/options.js +4 -20
- package/dist/models/pageHistory.d.ts +21 -0
- package/dist/models/pageHistory.js +15 -0
- package/dist/models/pageItem.js +30 -12
- package/dist/models/pageModel.d.ts +14 -0
- package/dist/models/pageModel.js +9 -0
- package/dist/models/serverUser.d.ts +21 -0
- package/dist/models/serverUser.js +9 -0
- package/dist/models/sharedModule.d.ts +7 -0
- package/dist/models/sharedModule.js +9 -0
- package/dist/models/sitemap.js +10 -4
- package/dist/models/webhook.d.ts +9 -0
- package/dist/models/webhook.js +9 -0
- package/dist/models/websiteListing.d.ts +16 -0
- package/dist/models/websiteListing.js +9 -0
- package/dist/models/websiteUser.js +10 -4
- package/dist/tests/authHelper.d.ts +2 -0
- package/dist/tests/authHelper.js +14 -0
- package/dist/tests/authHelper.js.map +1 -0
- package/dist/tests/config/apiClient.config.d.ts +16 -0
- package/dist/tests/config/apiClient.config.js +84 -0
- package/dist/tests/config/apiClient.config.js.map +1 -0
- package/dist/tests/config/test.config.d.ts +24 -0
- package/dist/tests/config/test.config.js +47 -0
- package/dist/tests/config/test.config.js.map +1 -0
- package/dist/tokenStorage.d.ts +72 -0
- package/dist/tokenStorage.js +366 -0
- package/dist/types/apiResponse.d.ts +13 -0
- package/dist/types/apiResponse.js +3 -0
- package/dist/types/apiResponse.js.map +1 -0
- package/dist/types/assetContainer.d.ts +7 -0
- package/dist/types/assetContainer.js +3 -0
- package/dist/types/assetContainer.js.map +1 -0
- package/dist/types/assetGalleries.d.ts +5 -0
- package/dist/types/assetGalleries.js +3 -0
- package/dist/types/assetGalleries.js.map +1 -0
- package/dist/types/assetMediaGrouping.d.ts +17 -0
- package/dist/types/assetMediaGrouping.js +3 -0
- package/dist/types/assetMediaGrouping.js.map +1 -0
- package/dist/types/assetMediaGroupingMetaData.d.ts +4 -0
- package/dist/types/assetMediaGroupingMetaData.js +3 -0
- package/dist/types/assetMediaGroupingMetaData.js.map +1 -0
- package/dist/types/batch.d.ts +29 -0
- package/dist/types/batch.js +3 -0
- package/dist/types/batch.js.map +1 -0
- package/dist/types/batchItem.d.ts +13 -0
- package/dist/types/batchItem.js +3 -0
- package/dist/types/batchItem.js.map +1 -0
- package/dist/types/container.d.ts +47 -0
- package/dist/types/container.js +3 -0
- package/dist/types/container.js.map +1 -0
- package/dist/types/contentItem.d.ts +37 -0
- package/dist/types/contentItem.js +3 -0
- package/dist/types/contentItem.js.map +1 -0
- package/dist/types/contentItemHistory.d.ts +20 -0
- package/dist/types/contentItemHistory.js +3 -0
- package/dist/types/contentItemHistory.js.map +1 -0
- package/dist/types/contentListFilterModel.d.ts +26 -0
- package/dist/types/contentListFilterModel.js +3 -0
- package/dist/types/contentListFilterModel.js.map +1 -0
- package/dist/types/contentSectionDefaultModule.d.ts +7 -0
- package/dist/types/contentSectionDefaultModule.js +3 -0
- package/dist/types/contentSectionDefaultModule.js.map +1 -0
- package/dist/types/contentSectionDefinition.d.ts +35 -0
- package/dist/types/contentSectionDefinition.js +3 -0
- package/dist/types/contentSectionDefinition.js.map +1 -0
- package/dist/types/contentViewColumn.d.ts +8 -0
- package/dist/types/contentViewColumn.js +3 -0
- package/dist/types/contentViewColumn.js.map +1 -0
- package/dist/types/instanceRole.d.ts +7 -0
- package/dist/types/instanceRole.js +3 -0
- package/dist/types/instanceRole.js.map +1 -0
- package/dist/types/instanceUser.d.ts +14 -0
- package/dist/types/instanceUser.js +3 -0
- package/dist/types/instanceUser.js.map +1 -0
- package/dist/types/itemComments.d.ts +14 -0
- package/dist/types/itemComments.js +3 -0
- package/dist/types/itemComments.js.map +1 -0
- package/dist/types/listParams.d.ts +9 -0
- package/dist/types/listParams.js +3 -0
- package/dist/types/listParams.js.map +1 -0
- package/dist/types/locales.d.ts +1 -0
- package/dist/types/locales.js +3 -0
- package/dist/types/locales.js.map +1 -0
- package/dist/types/media.d.ts +30 -0
- package/dist/types/media.js +3 -0
- package/dist/types/media.js.map +1 -0
- package/dist/types/model.d.ts +30 -0
- package/dist/types/model.js +3 -0
- package/dist/types/model.js.map +1 -0
- package/dist/types/notification.d.ts +13 -0
- package/dist/types/notification.js +3 -0
- package/dist/types/notification.js.map +1 -0
- package/dist/types/options.d.ts +7 -0
- package/dist/types/options.js +3 -0
- package/dist/types/options.js.map +1 -0
- package/dist/types/pageHistory.d.ts +21 -0
- package/dist/types/pageHistory.js +3 -0
- package/dist/types/pageHistory.js.map +1 -0
- package/dist/types/pageItem.d.ts +56 -0
- package/dist/types/pageItem.js +3 -0
- package/dist/types/pageItem.js.map +1 -0
- package/dist/types/pageModel.d.ts +14 -0
- package/dist/types/pageModel.js +3 -0
- package/dist/types/pageModel.js.map +1 -0
- package/dist/types/serverUser.d.ts +21 -0
- package/dist/types/serverUser.js +3 -0
- package/dist/types/serverUser.js.map +1 -0
- package/dist/types/sharedModule.d.ts +7 -0
- package/dist/types/sharedModule.js +3 -0
- package/dist/types/sharedModule.js.map +1 -0
- package/dist/types/sitemap.d.ts +20 -0
- package/dist/types/sitemap.js +3 -0
- package/dist/types/sitemap.js.map +1 -0
- package/dist/types/tokenResponseData.d.ts +10 -0
- package/dist/types/tokenResponseData.js +3 -0
- package/dist/types/tokenResponseData.js.map +1 -0
- package/dist/types/webhook.d.ts +9 -0
- package/dist/types/webhook.js +3 -0
- package/dist/types/webhook.js.map +1 -0
- package/dist/types/websiteListing.d.ts +16 -0
- package/dist/types/websiteListing.js +3 -0
- package/dist/types/websiteListing.js.map +1 -0
- package/dist/types/websiteUser.d.ts +22 -0
- package/dist/types/websiteUser.js +3 -0
- package/dist/types/websiteUser.js.map +1 -0
- package/docs/asset-methods.md +382 -0
- package/docs/auth.md +594 -0
- package/docs/batch-methods.md +244 -0
- package/docs/cicd.md +607 -0
- package/docs/container-methods.md +268 -0
- package/docs/content-methods.md +423 -0
- package/docs/instance-methods.md +105 -0
- package/docs/instance-user-methods.md +231 -0
- package/docs/model-methods.md +434 -0
- package/docs/multi-instance-operations.md +192 -0
- package/docs/page-methods.md +671 -0
- package/docs/server-user-methods.md +280 -0
- package/docs/webhook-methods.md +452 -0
- package/package.json +14 -10
- package/tsconfig.json +2 -2
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"contentListFilterModel.js","sourceRoot":"","sources":["../../src/types/contentListFilterModel.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"contentSectionDefinition.js","sourceRoot":"","sources":["../../src/types/contentSectionDefinition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentViewColumn.js","sourceRoot":"","sources":["../../src/types/contentViewColumn.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"itemComments.js","sourceRoot":"","sources":["../../src/types/itemComments.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/types/notification.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"pageHistory.js","sourceRoot":"","sources":["../../src/types/pageHistory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { SeoProperties } from "./contentItem";
|
|
2
|
+
export interface 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 interface PageVisible {
|
|
28
|
+
menu: boolean | null;
|
|
29
|
+
sitemap: boolean | null;
|
|
30
|
+
}
|
|
31
|
+
export interface PageScripts {
|
|
32
|
+
excludedFromGlobal: boolean;
|
|
33
|
+
top: string | null;
|
|
34
|
+
bottom: string | null;
|
|
35
|
+
}
|
|
36
|
+
export interface 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 interface PageItemProperties {
|
|
46
|
+
state: number | null;
|
|
47
|
+
modified: string | null;
|
|
48
|
+
versionID: number | null;
|
|
49
|
+
}
|
|
50
|
+
export interface PageModule {
|
|
51
|
+
module: string | null;
|
|
52
|
+
item: any | null;
|
|
53
|
+
}
|
|
54
|
+
export interface Dictionary<T> {
|
|
55
|
+
[Key: string]: T;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageItem.js","sourceRoot":"","sources":["../../src/types/pageItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContentSectionDefinition } from "./contentSectionDefinition";
|
|
2
|
+
export interface PageModel {
|
|
3
|
+
doesPageTemplateHavePages: boolean;
|
|
4
|
+
pageTemplateID: number | null;
|
|
5
|
+
digitalChannelTypeID: number | null;
|
|
6
|
+
digitalChannelTypeName: string | null;
|
|
7
|
+
agilityCode: boolean;
|
|
8
|
+
pageTemplateName: string | null;
|
|
9
|
+
relativeURL: string | null;
|
|
10
|
+
pageNames: string | null;
|
|
11
|
+
isDeleted: boolean;
|
|
12
|
+
previewUrl: string | null;
|
|
13
|
+
contentSectionDefinitions: (ContentSectionDefinition | null)[] | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pageModel.js","sourceRoot":"","sources":["../../src/types/pageModel.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { WebsiteListing } from "./websiteListing";
|
|
2
|
+
export interface ServerUser {
|
|
3
|
+
userID: number;
|
|
4
|
+
userName: string | null;
|
|
5
|
+
emailAddress: string | null;
|
|
6
|
+
firstName: string | null;
|
|
7
|
+
lastName: string | null;
|
|
8
|
+
isInternalUser: boolean;
|
|
9
|
+
isSuspended: boolean;
|
|
10
|
+
isProfileComplete: boolean;
|
|
11
|
+
adminAccess: boolean;
|
|
12
|
+
currentWebsite: string | null;
|
|
13
|
+
userTypeID: number;
|
|
14
|
+
timeZoneRegion: string | null;
|
|
15
|
+
password: string | null;
|
|
16
|
+
passwordQuestion: string | null;
|
|
17
|
+
passwordAnswer: string | null;
|
|
18
|
+
websiteAccess: WebsiteListing[];
|
|
19
|
+
jobRole: string | null;
|
|
20
|
+
createdDate: string | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverUser.js","sourceRoot":"","sources":["../../src/types/serverUser.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedModule.js","sourceRoot":"","sources":["../../src/types/sharedModule.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface Sitemap {
|
|
2
|
+
digitalChannelID: number | null;
|
|
3
|
+
name: string | null;
|
|
4
|
+
digitalChannelTypeName: string | null;
|
|
5
|
+
isDefaultChannel: boolean;
|
|
6
|
+
pages: (SitemapItem | null)[];
|
|
7
|
+
}
|
|
8
|
+
export interface 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 @@
|
|
|
1
|
+
{"version":3,"file":"sitemap.js","sourceRoot":"","sources":["../../src/types/sitemap.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokenResponseData.js","sourceRoot":"","sources":["../../src/types/tokenResponseData.ts"],"names":[],"mappings":""}
|