@wildix/xbees-users-client 1.0.7 → 1.0.9
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 +6 -0
- package/dist-cjs/UsersClient.js +7 -3
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
- package/dist-cjs/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
- package/dist-cjs/commands/CreateBotApiKeyCommand.js +12 -32
- package/dist-cjs/commands/CreateBotCommand.js +12 -32
- package/dist-cjs/commands/DeleteBotApiKeyCommand.js +12 -32
- package/dist-cjs/commands/DeleteBotCommand.js +12 -32
- package/dist-cjs/commands/GetBotCallbackCommand.js +21 -0
- package/dist-cjs/commands/GetBotCommand.js +21 -0
- package/dist-cjs/commands/ListBotApiKeysCommand.js +12 -32
- package/dist-cjs/commands/ListBotsCommand.js +12 -32
- package/dist-cjs/commands/UpdateBotCallbackCommand.js +21 -0
- package/dist-cjs/commands/UpdateBotCommand.js +12 -32
- package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +12 -32
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +25 -21
- package/dist-cjs/protocols/Aws_restJson1.js +200 -352
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/Users.js +6 -0
- package/dist-es/UsersClient.js +7 -3
- package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
- package/dist-es/commands/CreateBotApiKeyCommand.js +12 -32
- package/dist-es/commands/CreateBotCommand.js +12 -32
- package/dist-es/commands/DeleteBotApiKeyCommand.js +12 -32
- package/dist-es/commands/DeleteBotCommand.js +12 -32
- package/dist-es/commands/GetBotCallbackCommand.js +17 -0
- package/dist-es/commands/GetBotCommand.js +17 -0
- package/dist-es/commands/ListBotApiKeysCommand.js +12 -32
- package/dist-es/commands/ListBotsCommand.js +12 -32
- package/dist-es/commands/UpdateBotCallbackCommand.js +17 -0
- package/dist-es/commands/UpdateBotCommand.js +12 -32
- package/dist-es/commands/VerifyBotSecretKeyCommand.js +12 -32
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +22 -18
- package/dist-es/protocols/Aws_restJson1.js +192 -350
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/Users.d.ts +22 -0
- package/dist-types/UsersClient.d.ts +18 -9
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +7 -19
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +7 -19
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -45
- package/dist-types/commands/CreateBotCommand.d.ts +32 -66
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +7 -19
- package/dist-types/commands/DeleteBotCommand.d.ts +7 -19
- package/dist-types/commands/GetBotCallbackCommand.d.ts +91 -0
- package/dist-types/commands/GetBotCommand.d.ts +73 -0
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +7 -19
- package/dist-types/commands/ListBotsCommand.d.ts +9 -45
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +115 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +12 -71
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +7 -19
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +155 -62
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -4
- package/dist-types/runtimeConfig.d.ts +3 -4
- package/dist-types/runtimeConfig.native.d.ts +3 -4
- package/package.json +32 -31
|
@@ -1,37 +1,17 @@
|
|
|
1
1
|
import { de_VerifyBotSecretKeyCommand, se_VerifyBotSecretKeyCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
4
|
export { $Command };
|
|
6
|
-
export class VerifyBotSecretKeyCommand extends $Command
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
this.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
logger,
|
|
19
|
-
clientName,
|
|
20
|
-
commandName,
|
|
21
|
-
inputFilterSensitiveLog: (_) => _,
|
|
22
|
-
outputFilterSensitiveLog: (_) => _,
|
|
23
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
24
|
-
service: "Users",
|
|
25
|
-
operation: "VerifyBotSecretKey",
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
const { requestHandler } = configuration;
|
|
29
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
-
}
|
|
31
|
-
serialize(input, context) {
|
|
32
|
-
return se_VerifyBotSecretKeyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
deserialize(output, context) {
|
|
35
|
-
return de_VerifyBotSecretKeyCommand(output, context);
|
|
36
|
-
}
|
|
5
|
+
export class VerifyBotSecretKeyCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "VerifyBotSecretKey", {})
|
|
12
|
+
.n("UsersClient", "VerifyBotSecretKeyCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_VerifyBotSecretKeyCommand)
|
|
15
|
+
.de(de_VerifyBotSecretKeyCommand)
|
|
16
|
+
.build() {
|
|
37
17
|
}
|
|
@@ -4,7 +4,10 @@ export * from "./CreateBotCommand";
|
|
|
4
4
|
export * from "./CreateBotApiKeyCommand";
|
|
5
5
|
export * from "./DeleteBotCommand";
|
|
6
6
|
export * from "./DeleteBotApiKeyCommand";
|
|
7
|
+
export * from "./GetBotCommand";
|
|
8
|
+
export * from "./GetBotCallbackCommand";
|
|
7
9
|
export * from "./ListBotApiKeysCommand";
|
|
8
10
|
export * from "./ListBotsCommand";
|
|
9
11
|
export * from "./UpdateBotCommand";
|
|
12
|
+
export * from "./UpdateBotCallbackCommand";
|
|
10
13
|
export * from "./VerifyBotSecretKeyCommand";
|
|
@@ -1,38 +1,28 @@
|
|
|
1
1
|
import { UsersServiceException as __BaseException } from "./UsersServiceException";
|
|
2
|
-
export class
|
|
2
|
+
export class ValidationException extends __BaseException {
|
|
3
3
|
constructor(opts) {
|
|
4
4
|
super({
|
|
5
|
-
name: "
|
|
5
|
+
name: "ValidationException",
|
|
6
6
|
$fault: "client",
|
|
7
7
|
...opts
|
|
8
8
|
});
|
|
9
|
-
this.name = "
|
|
9
|
+
this.name = "ValidationException";
|
|
10
10
|
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
14
|
+
export class ForbiddenException extends __BaseException {
|
|
15
15
|
constructor(opts) {
|
|
16
16
|
super({
|
|
17
|
-
name: "
|
|
17
|
+
name: "ForbiddenException",
|
|
18
18
|
$fault: "client",
|
|
19
19
|
...opts
|
|
20
20
|
});
|
|
21
|
-
this.name = "
|
|
21
|
+
this.name = "ForbiddenException";
|
|
22
22
|
this.$fault = "client";
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
23
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
export var BotCallbackSettings;
|
|
27
|
-
(function (BotCallbackSettings) {
|
|
28
|
-
BotCallbackSettings.visit = (value, visitor) => {
|
|
29
|
-
if (value.webhook !== undefined)
|
|
30
|
-
return visitor.webhook(value.webhook);
|
|
31
|
-
if (value.sqs !== undefined)
|
|
32
|
-
return visitor.sqs(value.sqs);
|
|
33
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
34
|
-
};
|
|
35
|
-
})(BotCallbackSettings || (BotCallbackSettings = {}));
|
|
36
26
|
export class BotApiKeyNotFoundException extends __BaseException {
|
|
37
27
|
constructor(opts) {
|
|
38
28
|
super({
|
|
@@ -45,6 +35,20 @@ export class BotApiKeyNotFoundException extends __BaseException {
|
|
|
45
35
|
Object.setPrototypeOf(this, BotApiKeyNotFoundException.prototype);
|
|
46
36
|
}
|
|
47
37
|
}
|
|
38
|
+
export var BotEndpoint;
|
|
39
|
+
(function (BotEndpoint) {
|
|
40
|
+
BotEndpoint.visit = (value, visitor) => {
|
|
41
|
+
if (value.dialogflowCx !== undefined)
|
|
42
|
+
return visitor.dialogflowCx(value.dialogflowCx);
|
|
43
|
+
if (value.openAiAssistant !== undefined)
|
|
44
|
+
return visitor.openAiAssistant(value.openAiAssistant);
|
|
45
|
+
if (value.webhook !== undefined)
|
|
46
|
+
return visitor.webhook(value.webhook);
|
|
47
|
+
if (value.sqs !== undefined)
|
|
48
|
+
return visitor.sqs(value.sqs);
|
|
49
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
50
|
+
};
|
|
51
|
+
})(BotEndpoint || (BotEndpoint = {}));
|
|
48
52
|
export class BotNotFoundException extends __BaseException {
|
|
49
53
|
constructor(opts) {
|
|
50
54
|
super({
|