@agility/management-sdk 0.1.1 → 0.1.3

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 (56) hide show
  1. package/README.md +395 -395
  2. package/dist/apiMethods/assetMethods.d.ts +14 -14
  3. package/dist/apiMethods/assetMethods.js +172 -95
  4. package/dist/apiMethods/batchMethods.d.ts +11 -11
  5. package/dist/apiMethods/batchMethods.js +117 -65
  6. package/dist/apiMethods/clientInstance.d.ts +8 -8
  7. package/dist/apiMethods/clientInstance.js +137 -77
  8. package/dist/apiMethods/containerMethods.d.ts +16 -16
  9. package/dist/apiMethods/containerMethods.js +189 -105
  10. package/dist/apiMethods/contentMethods.d.ts +20 -20
  11. package/dist/apiMethods/contentMethods.js +359 -175
  12. package/dist/apiMethods/instanceUserMethods.d.ts +13 -13
  13. package/dist/apiMethods/instanceUserMethods.js +111 -57
  14. package/dist/apiMethods/modelMethods.d.ts +13 -13
  15. package/dist/apiMethods/modelMethods.js +150 -81
  16. package/dist/apiMethods/pageMethods.d.ts +20 -20
  17. package/dist/apiMethods/pageMethods.js +323 -159
  18. package/dist/enums/batchOperationType.d.ts +19 -19
  19. package/dist/enums/batchOperationType.js +23 -23
  20. package/dist/enums/batchState..d.ts +7 -7
  21. package/dist/enums/batchState..js +11 -11
  22. package/dist/index.d.ts +21 -21
  23. package/dist/index.js +33 -37
  24. package/dist/models/batch.d.ts +29 -29
  25. package/dist/models/batch.js +9 -6
  26. package/dist/models/batchItem.d.ts +13 -13
  27. package/dist/models/batchItem.js +9 -6
  28. package/dist/models/container.d.ts +47 -47
  29. package/dist/models/container.js +9 -6
  30. package/dist/models/contentItem.d.ts +37 -37
  31. package/dist/models/contentItem.js +33 -18
  32. package/dist/models/contentViewColumn.d.ts +8 -8
  33. package/dist/models/contentViewColumn.js +9 -6
  34. package/dist/models/exception.d.ts +4 -4
  35. package/dist/models/exception.js +26 -10
  36. package/dist/models/instanceRole.d.ts +7 -7
  37. package/dist/models/instanceRole.js +9 -6
  38. package/dist/models/instanceUser.d.ts +14 -14
  39. package/dist/models/instanceUser.js +9 -6
  40. package/dist/models/media.d.ts +30 -30
  41. package/dist/models/media.js +15 -9
  42. package/dist/models/model.d.ts +30 -30
  43. package/dist/models/model.js +15 -9
  44. package/dist/models/notification.d.ts +13 -13
  45. package/dist/models/notification.js +9 -6
  46. package/dist/models/options.d.ts +10 -10
  47. package/dist/models/options.js +28 -25
  48. package/dist/models/pageItem.d.ts +56 -56
  49. package/dist/models/pageItem.js +39 -21
  50. package/dist/models/sitemap.d.ts +20 -20
  51. package/dist/models/sitemap.js +15 -9
  52. package/dist/models/websiteUser.d.ts +22 -22
  53. package/dist/models/websiteUser.js +15 -9
  54. package/license.txt +20 -20
  55. package/package.json +39 -39
  56. package/tsconfig.json +14 -14
package/dist/index.d.ts CHANGED
@@ -1,21 +1,21 @@
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 "./models/sitemap";
15
- export * from "./apiMethods/assetMethods";
16
- export * from "./apiMethods/batchMethods";
17
- export * from "./apiMethods/containerMethods";
18
- export * from "./apiMethods/contentMethods";
19
- export * from "./apiMethods/instanceUserMethods";
20
- export * from "./apiMethods/modelMethods";
21
- export * from "./apiMethods/pageMethods";
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 "./models/sitemap";
15
+ export * from "./apiMethods/assetMethods";
16
+ export * from "./apiMethods/batchMethods";
17
+ export * from "./apiMethods/containerMethods";
18
+ export * from "./apiMethods/contentMethods";
19
+ export * from "./apiMethods/instanceUserMethods";
20
+ export * from "./apiMethods/modelMethods";
21
+ export * from "./apiMethods/pageMethods";
package/dist/index.js CHANGED
@@ -1,37 +1,33 @@
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("./models/sitemap"), exports);
31
- __exportStar(require("./apiMethods/assetMethods"), exports);
32
- __exportStar(require("./apiMethods/batchMethods"), exports);
33
- __exportStar(require("./apiMethods/containerMethods"), exports);
34
- __exportStar(require("./apiMethods/contentMethods"), exports);
35
- __exportStar(require("./apiMethods/instanceUserMethods"), exports);
36
- __exportStar(require("./apiMethods/modelMethods"), exports);
37
- __exportStar(require("./apiMethods/pageMethods"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./models/options"), exports);
14
+ __exportStar(require("./models/batch"), exports);
15
+ __exportStar(require("./models/batchItem"), exports);
16
+ __exportStar(require("./models/container"), exports);
17
+ __exportStar(require("./models/contentItem"), exports);
18
+ __exportStar(require("./models/contentViewColumn"), exports);
19
+ __exportStar(require("./models/instanceRole"), exports);
20
+ __exportStar(require("./models/instanceUser"), exports);
21
+ __exportStar(require("./models/media"), exports);
22
+ __exportStar(require("./models/model"), exports);
23
+ __exportStar(require("./models/notification"), exports);
24
+ __exportStar(require("./models/pageItem"), exports);
25
+ __exportStar(require("./models/sitemap"), exports);
26
+ __exportStar(require("./models/sitemap"), exports);
27
+ __exportStar(require("./apiMethods/assetMethods"), exports);
28
+ __exportStar(require("./apiMethods/batchMethods"), exports);
29
+ __exportStar(require("./apiMethods/containerMethods"), exports);
30
+ __exportStar(require("./apiMethods/contentMethods"), exports);
31
+ __exportStar(require("./apiMethods/instanceUserMethods"), exports);
32
+ __exportStar(require("./apiMethods/modelMethods"), exports);
33
+ __exportStar(require("./apiMethods/pageMethods"), exports);
@@ -1,29 +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
- }
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
+ }
@@ -1,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Batch = void 0;
4
- class Batch {
5
- }
6
- exports.Batch = Batch;
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;
@@ -1,13 +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
- }
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
+ }
@@ -1,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BatchItem = void 0;
4
- class BatchItem {
5
- }
6
- exports.BatchItem = BatchItem;
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;
@@ -1,47 +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
- }
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
+ }
@@ -1,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Container = void 0;
4
- class Container {
5
- }
6
- exports.Container = Container;
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;
@@ -1,37 +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
- }
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
+ }
@@ -1,18 +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
- class ContentItem {
5
- }
6
- exports.ContentItem = ContentItem;
7
- class ContentItemProperties {
8
- }
9
- exports.ContentItemProperties = ContentItemProperties;
10
- class SeoProperties {
11
- }
12
- exports.SeoProperties = SeoProperties;
13
- class ContentScripts {
14
- }
15
- exports.ContentScripts = ContentScripts;
16
- class ContentList {
17
- }
18
- exports.ContentList = ContentList;
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;
@@ -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,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContentViewColumn = void 0;
4
- class ContentViewColumn {
5
- }
6
- 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,10 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Exception = void 0;
4
- class Exception extends Error {
5
- constructor(message, inner) {
6
- super(message);
7
- this.innerError = inner;
8
- }
9
- }
10
- 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
+ extendStatics(d, b);
11
+ function __() { this.constructor = d; }
12
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
+ };
14
+ })();
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.Exception = void 0;
17
+ var Exception = /** @class */ (function (_super) {
18
+ __extends(Exception, _super);
19
+ function Exception(message, inner) {
20
+ var _this = _super.call(this, message) || this;
21
+ _this.innerError = inner;
22
+ return _this;
23
+ }
24
+ return Exception;
25
+ }(Error));
26
+ 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,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceRole = void 0;
4
- class InstanceRole {
5
- }
6
- 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,6 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InstanceUser = void 0;
4
- class InstanceUser {
5
- }
6
- 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;