@arrowsphere/api-client 3.119.0-rc-bdj.9 → 3.119.0-rc-bdj.10
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/build/partner/index.d.ts
CHANGED
package/build/partner/index.js
CHANGED
|
@@ -15,5 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./partnerClient"), exports);
|
|
18
|
+
__exportStar(require("./types/getUserImpersonationsResult"), exports);
|
|
18
19
|
__exportStar(require("./types/updateUserTypes"), exports);
|
|
20
|
+
__exportStar(require("./types/userImpersonation"), exports);
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../abstractEntity';
|
|
2
2
|
import { UserImpersonation, UserImpersonationData } from './userImpersonation';
|
|
3
|
-
export declare enum
|
|
3
|
+
export declare enum GetUserImpersonationsResultFields {
|
|
4
4
|
COLUMN_IMPERSONATIONS = "impersonations"
|
|
5
5
|
}
|
|
6
6
|
export declare type GetUserImpersonationsResultData = {
|
|
7
|
-
[
|
|
7
|
+
[GetUserImpersonationsResultFields.COLUMN_IMPERSONATIONS]: UserImpersonationData[];
|
|
8
8
|
};
|
|
9
9
|
export declare class GetUserImpersonationsResult extends AbstractEntity<GetUserImpersonationsResultData> {
|
|
10
10
|
#private;
|
|
@@ -12,26 +12,26 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
12
12
|
};
|
|
13
13
|
var _GetUserImpersonationsResult_impersonations;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.GetUserImpersonationsResult = exports.
|
|
15
|
+
exports.GetUserImpersonationsResult = exports.GetUserImpersonationsResultFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
17
|
const userImpersonation_1 = require("./userImpersonation");
|
|
18
|
-
var
|
|
19
|
-
(function (
|
|
20
|
-
|
|
21
|
-
})(
|
|
18
|
+
var GetUserImpersonationsResultFields;
|
|
19
|
+
(function (GetUserImpersonationsResultFields) {
|
|
20
|
+
GetUserImpersonationsResultFields["COLUMN_IMPERSONATIONS"] = "impersonations";
|
|
21
|
+
})(GetUserImpersonationsResultFields = exports.GetUserImpersonationsResultFields || (exports.GetUserImpersonationsResultFields = {}));
|
|
22
22
|
class GetUserImpersonationsResult extends abstractEntity_1.AbstractEntity {
|
|
23
23
|
constructor(dataInput) {
|
|
24
24
|
var _a, _b;
|
|
25
25
|
super(dataInput);
|
|
26
26
|
_GetUserImpersonationsResult_impersonations.set(this, void 0);
|
|
27
|
-
__classPrivateFieldSet(this, _GetUserImpersonationsResult_impersonations, (_b = (_a = dataInput[
|
|
27
|
+
__classPrivateFieldSet(this, _GetUserImpersonationsResult_impersonations, (_b = (_a = dataInput[GetUserImpersonationsResultFields.COLUMN_IMPERSONATIONS]) === null || _a === void 0 ? void 0 : _a.map((result) => new userImpersonation_1.UserImpersonation(result))) !== null && _b !== void 0 ? _b : [], "f");
|
|
28
28
|
}
|
|
29
29
|
get impersonations() {
|
|
30
30
|
return __classPrivateFieldGet(this, _GetUserImpersonationsResult_impersonations, "f");
|
|
31
31
|
}
|
|
32
32
|
toJSON() {
|
|
33
33
|
return {
|
|
34
|
-
[
|
|
34
|
+
[GetUserImpersonationsResultFields.COLUMN_IMPERSONATIONS]: this.impersonations.map((result) => result.toJSON()),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/ArrowSphere/nodejs-api-client.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.119.0-rc-bdj.
|
|
7
|
+
"version": "3.119.0-rc-bdj.10",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|