@wildix/xbees-users-client 1.0.7 → 1.0.8
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
|
@@ -7,7 +7,10 @@ tslib_1.__exportStar(require("./CreateBotCommand"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetBotCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
|
|
@@ -1,43 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.
|
|
3
|
+
exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotApiKeyNotFoundException = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ValidationException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
constructor(opts) {
|
|
7
7
|
super({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ValidationException",
|
|
9
9
|
$fault: "client",
|
|
10
10
|
...opts
|
|
11
11
|
});
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "ValidationException";
|
|
13
13
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
18
|
-
class
|
|
17
|
+
exports.ValidationException = ValidationException;
|
|
18
|
+
class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
19
19
|
constructor(opts) {
|
|
20
20
|
super({
|
|
21
|
-
name: "
|
|
21
|
+
name: "ForbiddenException",
|
|
22
22
|
$fault: "client",
|
|
23
23
|
...opts
|
|
24
24
|
});
|
|
25
|
-
this.name = "
|
|
25
|
+
this.name = "ForbiddenException";
|
|
26
26
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
31
|
-
var BotCallbackSettings;
|
|
32
|
-
(function (BotCallbackSettings) {
|
|
33
|
-
BotCallbackSettings.visit = (value, visitor) => {
|
|
34
|
-
if (value.webhook !== undefined)
|
|
35
|
-
return visitor.webhook(value.webhook);
|
|
36
|
-
if (value.sqs !== undefined)
|
|
37
|
-
return visitor.sqs(value.sqs);
|
|
38
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
39
|
-
};
|
|
40
|
-
})(BotCallbackSettings = exports.BotCallbackSettings || (exports.BotCallbackSettings = {}));
|
|
30
|
+
exports.ForbiddenException = ForbiddenException;
|
|
41
31
|
class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
42
32
|
constructor(opts) {
|
|
43
33
|
super({
|
|
@@ -51,6 +41,20 @@ class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceExc
|
|
|
51
41
|
}
|
|
52
42
|
}
|
|
53
43
|
exports.BotApiKeyNotFoundException = BotApiKeyNotFoundException;
|
|
44
|
+
var BotEndpoint;
|
|
45
|
+
(function (BotEndpoint) {
|
|
46
|
+
BotEndpoint.visit = (value, visitor) => {
|
|
47
|
+
if (value.dialogflowCx !== undefined)
|
|
48
|
+
return visitor.dialogflowCx(value.dialogflowCx);
|
|
49
|
+
if (value.openAiAssistant !== undefined)
|
|
50
|
+
return visitor.openAiAssistant(value.openAiAssistant);
|
|
51
|
+
if (value.webhook !== undefined)
|
|
52
|
+
return visitor.webhook(value.webhook);
|
|
53
|
+
if (value.sqs !== undefined)
|
|
54
|
+
return visitor.sqs(value.sqs);
|
|
55
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
56
|
+
};
|
|
57
|
+
})(BotEndpoint = exports.BotEndpoint || (exports.BotEndpoint = {}));
|
|
54
58
|
class BotNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
55
59
|
constructor(opts) {
|
|
56
60
|
super({
|