@wildix/xbees-users-client 1.0.23 → 1.0.25
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/dist-cjs/Users.js +18 -2
- package/dist-cjs/commands/{BatchGetUsersStreamLinkDataCommand.js → BatchGetUsersCommand.js} +7 -7
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +21 -0
- package/dist-cjs/commands/GetUserCommand.js +21 -0
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +21 -0
- package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +21 -0
- package/dist-cjs/commands/QueryUserCommand.js +21 -0
- package/dist-cjs/commands/QueryUsersCommand.js +21 -0
- package/dist-cjs/commands/UploadPictureV1Command.js +21 -0
- package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +21 -0
- package/dist-cjs/commands/index.js +9 -1
- package/dist-cjs/models/models_0.js +33 -1
- package/dist-cjs/protocols/Aws_restJson1.js +269 -10
- package/dist-es/Users.js +18 -2
- package/dist-es/commands/BatchGetUsersCommand.js +17 -0
- package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +17 -0
- package/dist-es/commands/GetUserCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +17 -0
- package/dist-es/commands/QueryUserCommand.js +17 -0
- package/dist-es/commands/QueryUsersCommand.js +17 -0
- package/dist-es/commands/UploadPictureV1Command.js +17 -0
- package/dist-es/commands/VerifyBotSecretKeyV1Command.js +17 -0
- package/dist-es/commands/index.js +9 -1
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/protocols/Aws_restJson1.js +248 -5
- package/dist-types/Users.d.ts +62 -5
- package/dist-types/UsersClient.d.ts +11 -3
- package/dist-types/commands/BatchGetUsersCommand.d.ts +85 -0
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +53 -4
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +122 -0
- package/dist-types/commands/GetUserCommand.d.ts +83 -0
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +120 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +67 -0
- package/dist-types/commands/QueryUserCommand.d.ts +92 -0
- package/dist-types/commands/QueryUsersCommand.d.ts +92 -0
- package/dist-types/commands/UploadPictureV1Command.d.ts +64 -0
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +68 -0
- package/dist-types/commands/index.d.ts +9 -1
- package/dist-types/models/models_0.d.ts +536 -60
- package/dist-types/protocols/Aws_restJson1.d.ts +77 -5
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +0 -83
package/dist-cjs/Users.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const UsersClient_1 = require("./UsersClient");
|
|
5
|
+
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
5
6
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
6
|
-
const
|
|
7
|
+
const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
|
|
7
8
|
const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
|
|
8
9
|
const CreateBotApiKeyCommand_1 = require("./commands/CreateBotApiKeyCommand");
|
|
9
10
|
const CreateBotCommand_1 = require("./commands/CreateBotCommand");
|
|
@@ -11,17 +12,25 @@ const DeleteBotApiKeyCommand_1 = require("./commands/DeleteBotApiKeyCommand");
|
|
|
11
12
|
const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
|
|
12
13
|
const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
|
|
13
14
|
const GetBotCommand_1 = require("./commands/GetBotCommand");
|
|
15
|
+
const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
16
|
+
const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
|
|
14
17
|
const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
|
|
18
|
+
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
15
19
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
16
20
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
21
|
+
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
22
|
+
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
17
23
|
const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
|
|
18
24
|
const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
|
|
19
25
|
const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
|
|
26
|
+
const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
20
27
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
28
|
+
const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
|
|
21
29
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
22
30
|
const commands = {
|
|
31
|
+
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
23
32
|
BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
|
|
24
|
-
|
|
33
|
+
BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
|
|
25
34
|
ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
|
|
26
35
|
CreateBotCommand: CreateBotCommand_1.CreateBotCommand,
|
|
27
36
|
CreateBotApiKeyCommand: CreateBotApiKeyCommand_1.CreateBotApiKeyCommand,
|
|
@@ -29,13 +38,20 @@ const commands = {
|
|
|
29
38
|
DeleteBotApiKeyCommand: DeleteBotApiKeyCommand_1.DeleteBotApiKeyCommand,
|
|
30
39
|
GetBotCommand: GetBotCommand_1.GetBotCommand,
|
|
31
40
|
GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
|
|
41
|
+
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
42
|
+
GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
|
|
32
43
|
GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
|
|
44
|
+
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
33
45
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
34
46
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
47
|
+
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
48
|
+
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
35
49
|
UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
|
|
36
50
|
UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
|
|
37
51
|
UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
|
|
52
|
+
UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
|
|
38
53
|
VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
|
|
54
|
+
VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
|
|
39
55
|
};
|
|
40
56
|
class Users extends UsersClient_1.UsersClient {
|
|
41
57
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BatchGetUsersCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class
|
|
8
|
+
class BatchGetUsersCommand extends smithy_client_1.Command.classBuilder()
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [
|
|
11
11
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
12
|
];
|
|
13
13
|
})
|
|
14
|
-
.s("Users", "
|
|
15
|
-
.n("UsersClient", "
|
|
14
|
+
.s("Users", "BatchGetUsers", {})
|
|
15
|
+
.n("UsersClient", "BatchGetUsersCommand")
|
|
16
16
|
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.
|
|
18
|
-
.de(Aws_restJson1_1.
|
|
17
|
+
.ser(Aws_restJson1_1.se_BatchGetUsersCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_BatchGetUsersCommand)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.BatchGetUsersCommand = BatchGetUsersCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetUsersPbxLinkDataV1Command = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class BatchGetUsersPbxLinkDataV1Command extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "BatchGetUsersPbxLinkDataV1", {})
|
|
15
|
+
.n("UsersClient", "BatchGetUsersPbxLinkDataV1Command")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_BatchGetUsersPbxLinkDataV1Command)
|
|
18
|
+
.de(Aws_restJson1_1.de_BatchGetUsersPbxLinkDataV1Command)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.BatchGetUsersPbxLinkDataV1Command = BatchGetUsersPbxLinkDataV1Command;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetUserCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "GetUser", {})
|
|
15
|
+
.n("UsersClient", "GetUserCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetUserCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetUserCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetUserCommand = GetUserCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserPbxLinkDataCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetUserPbxLinkDataCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "GetUserPbxLinkData", {})
|
|
15
|
+
.n("UsersClient", "GetUserPbxLinkDataCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetUserPbxLinkDataCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetUserPbxLinkDataCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetUserPbxLinkDataCommand = GetUserPbxLinkDataCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetUserPbxLinkSuggestionV1Command = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class GetUserPbxLinkSuggestionV1Command extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "GetUserPbxLinkSuggestionV1", {})
|
|
15
|
+
.n("UsersClient", "GetUserPbxLinkSuggestionV1Command")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_GetUserPbxLinkSuggestionV1Command)
|
|
18
|
+
.de(Aws_restJson1_1.de_GetUserPbxLinkSuggestionV1Command)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.GetUserPbxLinkSuggestionV1Command = GetUserPbxLinkSuggestionV1Command;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryUserCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class QueryUserCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "QueryUser", {})
|
|
15
|
+
.n("UsersClient", "QueryUserCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_QueryUserCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_QueryUserCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.QueryUserCommand = QueryUserCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryUsersCommand = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class QueryUsersCommand extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "QueryUsers", {})
|
|
15
|
+
.n("UsersClient", "QueryUsersCommand")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_QueryUsersCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_QueryUsersCommand)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.QueryUsersCommand = QueryUsersCommand;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadPictureV1Command = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class UploadPictureV1Command extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "UploadPictureV1", {})
|
|
15
|
+
.n("UsersClient", "UploadPictureV1Command")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_UploadPictureV1Command)
|
|
18
|
+
.de(Aws_restJson1_1.de_UploadPictureV1Command)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.UploadPictureV1Command = UploadPictureV1Command;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerifyBotSecretKeyV1Command = exports.$Command = void 0;
|
|
4
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
class VerifyBotSecretKeyV1Command extends smithy_client_1.Command.classBuilder()
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [
|
|
11
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
+
];
|
|
13
|
+
})
|
|
14
|
+
.s("Users", "VerifyBotSecretKeyV1", {})
|
|
15
|
+
.n("UsersClient", "VerifyBotSecretKeyV1Command")
|
|
16
|
+
.f(void 0, void 0)
|
|
17
|
+
.ser(Aws_restJson1_1.se_VerifyBotSecretKeyV1Command)
|
|
18
|
+
.de(Aws_restJson1_1.de_VerifyBotSecretKeyV1Command)
|
|
19
|
+
.build() {
|
|
20
|
+
}
|
|
21
|
+
exports.VerifyBotSecretKeyV1Command = VerifyBotSecretKeyV1Command;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./
|
|
6
|
+
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateBotCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
|
|
@@ -10,10 +11,17 @@ tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
|
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./GetBotCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
14
18
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
15
19
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
16
22
|
tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
|
|
17
23
|
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
18
24
|
tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
|
|
19
26
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotApiKeyNotFoundException = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
3
|
+
exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotApiKeyNotFoundException = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
5
|
class ValidationException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -28,6 +28,13 @@ class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.ForbiddenException = ForbiddenException;
|
|
31
|
+
exports.PbxLicenseType = {
|
|
32
|
+
BASIC: "basic",
|
|
33
|
+
BUSINESS: "business",
|
|
34
|
+
ESSENTIAL: "essential",
|
|
35
|
+
PREMIUM: "premium",
|
|
36
|
+
WIZYCONF: "wizyconf",
|
|
37
|
+
};
|
|
31
38
|
class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
32
39
|
constructor(opts) {
|
|
33
40
|
super({
|
|
@@ -107,3 +114,28 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
|
|
|
107
114
|
}
|
|
108
115
|
}
|
|
109
116
|
exports.UserNotFoundException = UserNotFoundException;
|
|
117
|
+
var UserQuery;
|
|
118
|
+
(function (UserQuery) {
|
|
119
|
+
UserQuery.visit = (value, visitor) => {
|
|
120
|
+
if (value.id !== undefined)
|
|
121
|
+
return visitor.id(value.id);
|
|
122
|
+
if (value.email !== undefined)
|
|
123
|
+
return visitor.email(value.email);
|
|
124
|
+
if (value.phone !== undefined)
|
|
125
|
+
return visitor.phone(value.phone);
|
|
126
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
127
|
+
};
|
|
128
|
+
})(UserQuery = exports.UserQuery || (exports.UserQuery = {}));
|
|
129
|
+
class UserQueryPredicateNotMetException extends UsersServiceException_1.UsersServiceException {
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "UserQueryPredicateNotMetException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts
|
|
135
|
+
});
|
|
136
|
+
this.name = "UserQueryPredicateNotMetException";
|
|
137
|
+
this.$fault = "client";
|
|
138
|
+
Object.setPrototypeOf(this, UserQueryPredicateNotMetException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.UserQueryPredicateNotMetException = UserQueryPredicateNotMetException;
|