@wildix/xbees-users-client 1.0.33 → 1.0.34
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 +0 -2
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +37 -1
- package/dist-cjs/protocols/Aws_restJson1.js +120 -36
- package/dist-es/Users.js +0 -2
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_restJson1.js +120 -34
- package/dist-types/Users.d.ts +0 -7
- package/dist-types/UsersClient.d.ts +2 -3
- package/dist-types/commands/CreateBotCommand.d.ts +49 -0
- package/dist-types/commands/GetBotCallbackCommand.d.ts +49 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +217 -32
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
- package/package.json +5 -5
- package/dist-cjs/commands/IntelligenceSearchCommand.js +0 -21
- package/dist-es/commands/IntelligenceSearchCommand.js +0 -17
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -73
package/dist-cjs/Users.js
CHANGED
|
@@ -17,7 +17,6 @@ const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
|
17
17
|
const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
|
|
18
18
|
const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
|
|
19
19
|
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
20
|
-
const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
|
|
21
20
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
22
21
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
23
22
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
@@ -46,7 +45,6 @@ const commands = {
|
|
|
46
45
|
GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
|
|
47
46
|
GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
|
|
48
47
|
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
49
|
-
IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
|
|
50
48
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
51
49
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
52
50
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
@@ -16,7 +16,6 @@ tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
|
16
16
|
tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
|
|
20
19
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
21
20
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
22
21
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotApiKeyNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
3
|
+
exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotToolType = exports.BotFunctionIntegration = exports.BotFunctionIntegrationMethod = exports.BotFunctionIntegrationWebhookAuthorization = exports.BotEmbeddedToolType = exports.BotApiKeyNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = 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) {
|
|
@@ -82,9 +82,45 @@ class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceExc
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
exports.BotApiKeyNotFoundException = BotApiKeyNotFoundException;
|
|
85
|
+
exports.BotEmbeddedToolType = {
|
|
86
|
+
DELEGATE: "DELEGATE",
|
|
87
|
+
TRANSFER: "HANDOVER",
|
|
88
|
+
};
|
|
89
|
+
var BotFunctionIntegrationWebhookAuthorization;
|
|
90
|
+
(function (BotFunctionIntegrationWebhookAuthorization) {
|
|
91
|
+
BotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
92
|
+
if (value.bearer !== undefined)
|
|
93
|
+
return visitor.bearer(value.bearer);
|
|
94
|
+
if (value.basic !== undefined)
|
|
95
|
+
return visitor.basic(value.basic);
|
|
96
|
+
if (value.oauth !== undefined)
|
|
97
|
+
return visitor.oauth(value.oauth);
|
|
98
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
99
|
+
};
|
|
100
|
+
})(BotFunctionIntegrationWebhookAuthorization = exports.BotFunctionIntegrationWebhookAuthorization || (exports.BotFunctionIntegrationWebhookAuthorization = {}));
|
|
101
|
+
exports.BotFunctionIntegrationMethod = {
|
|
102
|
+
DELETE: "delete",
|
|
103
|
+
GET: "get",
|
|
104
|
+
PATCH: "patch",
|
|
105
|
+
POST: "post",
|
|
106
|
+
PUT: "put",
|
|
107
|
+
};
|
|
108
|
+
var BotFunctionIntegration;
|
|
109
|
+
(function (BotFunctionIntegration) {
|
|
110
|
+
BotFunctionIntegration.visit = (value, visitor) => {
|
|
111
|
+
if (value.webhook !== undefined)
|
|
112
|
+
return visitor.webhook(value.webhook);
|
|
113
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
114
|
+
};
|
|
115
|
+
})(BotFunctionIntegration = exports.BotFunctionIntegration || (exports.BotFunctionIntegration = {}));
|
|
116
|
+
exports.BotToolType = {
|
|
117
|
+
FUNCTION: "function",
|
|
118
|
+
};
|
|
85
119
|
var BotEndpoint;
|
|
86
120
|
(function (BotEndpoint) {
|
|
87
121
|
BotEndpoint.visit = (value, visitor) => {
|
|
122
|
+
if (value.llm !== undefined)
|
|
123
|
+
return visitor.llm(value.llm);
|
|
88
124
|
if (value.dialogflowCx !== undefined)
|
|
89
125
|
return visitor.dialogflowCx(value.dialogflowCx);
|
|
90
126
|
if (value.openAiAssistant !== undefined)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.
|
|
4
|
-
exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand =
|
|
3
|
+
exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersCommand = void 0;
|
|
4
|
+
exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = void 0;
|
|
5
5
|
const UsersServiceException_1 = require("../models/UsersServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@smithy/core");
|
|
@@ -255,23 +255,6 @@ const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
|
255
255
|
return b.build();
|
|
256
256
|
};
|
|
257
257
|
exports.se_GetUserPbxLinkSuggestionV1Command = se_GetUserPbxLinkSuggestionV1Command;
|
|
258
|
-
const se_IntelligenceSearchCommand = async (input, context) => {
|
|
259
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
260
|
-
const headers = {};
|
|
261
|
-
b.bp("/v2/users/intelligence-search");
|
|
262
|
-
const query = (0, smithy_client_1.map)({
|
|
263
|
-
[_c]: [, input[_c]],
|
|
264
|
-
[_s]: [, (0, smithy_client_1.expectNonNull)(input[_s], `search`)],
|
|
265
|
-
[_eE]: [, input[_eE]],
|
|
266
|
-
});
|
|
267
|
-
let body;
|
|
268
|
-
b.m("GET")
|
|
269
|
-
.h(headers)
|
|
270
|
-
.q(query)
|
|
271
|
-
.b(body);
|
|
272
|
-
return b.build();
|
|
273
|
-
};
|
|
274
|
-
exports.se_IntelligenceSearchCommand = se_IntelligenceSearchCommand;
|
|
275
258
|
const se_ListBotApiKeysCommand = async (input, context) => {
|
|
276
259
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
277
260
|
const headers = {};
|
|
@@ -683,21 +666,6 @@ const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
|
683
666
|
return contents;
|
|
684
667
|
};
|
|
685
668
|
exports.de_GetUserPbxLinkSuggestionV1Command = de_GetUserPbxLinkSuggestionV1Command;
|
|
686
|
-
const de_IntelligenceSearchCommand = async (output, context) => {
|
|
687
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
688
|
-
return de_CommandError(output, context);
|
|
689
|
-
}
|
|
690
|
-
const contents = (0, smithy_client_1.map)({
|
|
691
|
-
$metadata: deserializeMetadata(output),
|
|
692
|
-
});
|
|
693
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
694
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
695
|
-
'items': smithy_client_1._json,
|
|
696
|
-
});
|
|
697
|
-
Object.assign(contents, doc);
|
|
698
|
-
return contents;
|
|
699
|
-
};
|
|
700
|
-
exports.de_IntelligenceSearchCommand = de_IntelligenceSearchCommand;
|
|
701
669
|
const de_ListBotApiKeysCommand = async (output, context) => {
|
|
702
670
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
671
|
return de_CommandError(output, context);
|
|
@@ -1028,15 +996,70 @@ const se_BotDialogflowCxEndpoint = (input, context) => {
|
|
|
1028
996
|
'location': [],
|
|
1029
997
|
});
|
|
1030
998
|
};
|
|
999
|
+
const se_BotEmbeddedTool = (input, context) => {
|
|
1000
|
+
return (0, smithy_client_1.take)(input, {
|
|
1001
|
+
'name': [],
|
|
1002
|
+
'parameters': _ => se_Document(_, context),
|
|
1003
|
+
'type': [],
|
|
1004
|
+
});
|
|
1005
|
+
};
|
|
1006
|
+
const se_BotEmbeddedToolsList = (input, context) => {
|
|
1007
|
+
return input.filter((e) => e != null).map(entry => {
|
|
1008
|
+
return se_BotEmbeddedTool(entry, context);
|
|
1009
|
+
});
|
|
1010
|
+
};
|
|
1031
1011
|
const se_BotEndpoint = (input, context) => {
|
|
1032
1012
|
return models_0_1.BotEndpoint.visit(input, {
|
|
1033
1013
|
dialogflowCx: value => ({ "dialogflowCx": se_BotDialogflowCxEndpoint(value, context) }),
|
|
1014
|
+
llm: value => ({ "llm": se_BotLlmEndpoint(value, context) }),
|
|
1034
1015
|
openAiAssistant: value => ({ "openAiAssistant": (0, smithy_client_1._json)(value) }),
|
|
1035
1016
|
sqs: value => ({ "sqs": (0, smithy_client_1._json)(value) }),
|
|
1036
1017
|
webhook: value => ({ "webhook": (0, smithy_client_1._json)(value) }),
|
|
1037
1018
|
_: (name, value) => ({ name: value })
|
|
1038
1019
|
});
|
|
1039
1020
|
};
|
|
1021
|
+
const se_BotFunctionDefinition = (input, context) => {
|
|
1022
|
+
return (0, smithy_client_1.take)(input, {
|
|
1023
|
+
'description': [],
|
|
1024
|
+
'integration': _ => se_BotFunctionIntegration(_, context),
|
|
1025
|
+
'name': [],
|
|
1026
|
+
'parameters': _ => se_Document(_, context),
|
|
1027
|
+
});
|
|
1028
|
+
};
|
|
1029
|
+
const se_BotFunctionIntegration = (input, context) => {
|
|
1030
|
+
return models_0_1.BotFunctionIntegration.visit(input, {
|
|
1031
|
+
webhook: value => ({ "webhook": se_BotFunctionIntegrationWebhook(value, context) }),
|
|
1032
|
+
_: (name, value) => ({ name: value })
|
|
1033
|
+
});
|
|
1034
|
+
};
|
|
1035
|
+
const se_BotFunctionIntegrationWebhook = (input, context) => {
|
|
1036
|
+
return (0, smithy_client_1.take)(input, {
|
|
1037
|
+
'async': [],
|
|
1038
|
+
'authorization': smithy_client_1._json,
|
|
1039
|
+
'headers': smithy_client_1._json,
|
|
1040
|
+
'method': [],
|
|
1041
|
+
'parameters': _ => se_Document(_, context),
|
|
1042
|
+
'url': [],
|
|
1043
|
+
});
|
|
1044
|
+
};
|
|
1045
|
+
const se_BotLlmEndpoint = (input, context) => {
|
|
1046
|
+
return (0, smithy_client_1.take)(input, {
|
|
1047
|
+
'embeddedTools': _ => se_BotEmbeddedToolsList(_, context),
|
|
1048
|
+
'prompt': [],
|
|
1049
|
+
'tools': _ => se_BotToolsList(_, context),
|
|
1050
|
+
});
|
|
1051
|
+
};
|
|
1052
|
+
const se_BotTool = (input, context) => {
|
|
1053
|
+
return (0, smithy_client_1.take)(input, {
|
|
1054
|
+
'function': _ => se_BotFunctionDefinition(_, context),
|
|
1055
|
+
'type': [],
|
|
1056
|
+
});
|
|
1057
|
+
};
|
|
1058
|
+
const se_BotToolsList = (input, context) => {
|
|
1059
|
+
return input.filter((e) => e != null).map(entry => {
|
|
1060
|
+
return se_BotTool(entry, context);
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1040
1063
|
const de_Document = (output, context) => {
|
|
1041
1064
|
return output;
|
|
1042
1065
|
};
|
|
@@ -1053,12 +1076,30 @@ const de_BotDialogflowCxEndpoint = (output, context) => {
|
|
|
1053
1076
|
'location': smithy_client_1.expectString,
|
|
1054
1077
|
});
|
|
1055
1078
|
};
|
|
1079
|
+
const de_BotEmbeddedTool = (output, context) => {
|
|
1080
|
+
return (0, smithy_client_1.take)(output, {
|
|
1081
|
+
'name': smithy_client_1.expectString,
|
|
1082
|
+
'parameters': (_) => de_Document(_, context),
|
|
1083
|
+
'type': smithy_client_1.expectString,
|
|
1084
|
+
});
|
|
1085
|
+
};
|
|
1086
|
+
const de_BotEmbeddedToolsList = (output, context) => {
|
|
1087
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1088
|
+
return de_BotEmbeddedTool(entry, context);
|
|
1089
|
+
});
|
|
1090
|
+
return retVal;
|
|
1091
|
+
};
|
|
1056
1092
|
const de_BotEndpoint = (output, context) => {
|
|
1057
1093
|
if (output.dialogflowCx != null) {
|
|
1058
1094
|
return {
|
|
1059
1095
|
dialogflowCx: de_BotDialogflowCxEndpoint(output.dialogflowCx, context)
|
|
1060
1096
|
};
|
|
1061
1097
|
}
|
|
1098
|
+
if (output.llm != null) {
|
|
1099
|
+
return {
|
|
1100
|
+
llm: de_BotLlmEndpoint(output.llm, context)
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1062
1103
|
if (output.openAiAssistant != null) {
|
|
1063
1104
|
return {
|
|
1064
1105
|
openAiAssistant: (0, smithy_client_1._json)(output.openAiAssistant)
|
|
@@ -1076,6 +1117,51 @@ const de_BotEndpoint = (output, context) => {
|
|
|
1076
1117
|
}
|
|
1077
1118
|
return { $unknown: Object.entries(output)[0] };
|
|
1078
1119
|
};
|
|
1120
|
+
const de_BotFunctionDefinition = (output, context) => {
|
|
1121
|
+
return (0, smithy_client_1.take)(output, {
|
|
1122
|
+
'description': smithy_client_1.expectString,
|
|
1123
|
+
'integration': (_) => de_BotFunctionIntegration((0, smithy_client_1.expectUnion)(_), context),
|
|
1124
|
+
'name': smithy_client_1.expectString,
|
|
1125
|
+
'parameters': (_) => de_Document(_, context),
|
|
1126
|
+
});
|
|
1127
|
+
};
|
|
1128
|
+
const de_BotFunctionIntegration = (output, context) => {
|
|
1129
|
+
if (output.webhook != null) {
|
|
1130
|
+
return {
|
|
1131
|
+
webhook: de_BotFunctionIntegrationWebhook(output.webhook, context)
|
|
1132
|
+
};
|
|
1133
|
+
}
|
|
1134
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1135
|
+
};
|
|
1136
|
+
const de_BotFunctionIntegrationWebhook = (output, context) => {
|
|
1137
|
+
return (0, smithy_client_1.take)(output, {
|
|
1138
|
+
'async': smithy_client_1.expectBoolean,
|
|
1139
|
+
'authorization': (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
1140
|
+
'headers': smithy_client_1._json,
|
|
1141
|
+
'method': smithy_client_1.expectString,
|
|
1142
|
+
'parameters': (_) => de_Document(_, context),
|
|
1143
|
+
'url': smithy_client_1.expectString,
|
|
1144
|
+
});
|
|
1145
|
+
};
|
|
1146
|
+
const de_BotLlmEndpoint = (output, context) => {
|
|
1147
|
+
return (0, smithy_client_1.take)(output, {
|
|
1148
|
+
'embeddedTools': (_) => de_BotEmbeddedToolsList(_, context),
|
|
1149
|
+
'prompt': smithy_client_1.expectString,
|
|
1150
|
+
'tools': (_) => de_BotToolsList(_, context),
|
|
1151
|
+
});
|
|
1152
|
+
};
|
|
1153
|
+
const de_BotTool = (output, context) => {
|
|
1154
|
+
return (0, smithy_client_1.take)(output, {
|
|
1155
|
+
'function': (_) => de_BotFunctionDefinition(_, context),
|
|
1156
|
+
'type': smithy_client_1.expectString,
|
|
1157
|
+
});
|
|
1158
|
+
};
|
|
1159
|
+
const de_BotToolsList = (output, context) => {
|
|
1160
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1161
|
+
return de_BotTool(entry, context);
|
|
1162
|
+
});
|
|
1163
|
+
return retVal;
|
|
1164
|
+
};
|
|
1079
1165
|
const deserializeMetadata = (output) => ({
|
|
1080
1166
|
httpStatusCode: output.statusCode,
|
|
1081
1167
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1091,8 +1177,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1091
1177
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1092
1178
|
const _c = "company";
|
|
1093
1179
|
const _e = "email";
|
|
1094
|
-
const _eE = "excludeExtension";
|
|
1095
|
-
const _s = "search";
|
|
1096
1180
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
|
|
1097
1181
|
if (encoded.length) {
|
|
1098
1182
|
return JSON.parse(encoded);
|
package/dist-es/Users.js
CHANGED
|
@@ -14,7 +14,6 @@ import { GetUserCommand, } from "./commands/GetUserCommand";
|
|
|
14
14
|
import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
15
|
import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
16
|
import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
|
-
import { IntelligenceSearchCommand, } from "./commands/IntelligenceSearchCommand";
|
|
18
17
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
19
18
|
import { ListBotsCommand, } from "./commands/ListBotsCommand";
|
|
20
19
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
@@ -43,7 +42,6 @@ const commands = {
|
|
|
43
42
|
GetUserPbxLinkDataCommand,
|
|
44
43
|
GetUserPbxLinkSuggestionCommand,
|
|
45
44
|
GetUserPbxLinkSuggestionV1Command,
|
|
46
|
-
IntelligenceSearchCommand,
|
|
47
45
|
ListBotApiKeysCommand,
|
|
48
46
|
ListBotsCommand,
|
|
49
47
|
QueryColleaguesCommand,
|
|
@@ -13,7 +13,6 @@ export * from "./GetUserCommand";
|
|
|
13
13
|
export * from "./GetUserPbxLinkDataCommand";
|
|
14
14
|
export * from "./GetUserPbxLinkSuggestionCommand";
|
|
15
15
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
16
|
-
export * from "./IntelligenceSearchCommand";
|
|
17
16
|
export * from "./ListBotApiKeysCommand";
|
|
18
17
|
export * from "./ListBotsCommand";
|
|
19
18
|
export * from "./QueryColleaguesCommand";
|
|
@@ -76,9 +76,45 @@ export class BotApiKeyNotFoundException extends __BaseException {
|
|
|
76
76
|
Object.setPrototypeOf(this, BotApiKeyNotFoundException.prototype);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
+
export const BotEmbeddedToolType = {
|
|
80
|
+
DELEGATE: "DELEGATE",
|
|
81
|
+
TRANSFER: "HANDOVER",
|
|
82
|
+
};
|
|
83
|
+
export var BotFunctionIntegrationWebhookAuthorization;
|
|
84
|
+
(function (BotFunctionIntegrationWebhookAuthorization) {
|
|
85
|
+
BotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
86
|
+
if (value.bearer !== undefined)
|
|
87
|
+
return visitor.bearer(value.bearer);
|
|
88
|
+
if (value.basic !== undefined)
|
|
89
|
+
return visitor.basic(value.basic);
|
|
90
|
+
if (value.oauth !== undefined)
|
|
91
|
+
return visitor.oauth(value.oauth);
|
|
92
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
93
|
+
};
|
|
94
|
+
})(BotFunctionIntegrationWebhookAuthorization || (BotFunctionIntegrationWebhookAuthorization = {}));
|
|
95
|
+
export const BotFunctionIntegrationMethod = {
|
|
96
|
+
DELETE: "delete",
|
|
97
|
+
GET: "get",
|
|
98
|
+
PATCH: "patch",
|
|
99
|
+
POST: "post",
|
|
100
|
+
PUT: "put",
|
|
101
|
+
};
|
|
102
|
+
export var BotFunctionIntegration;
|
|
103
|
+
(function (BotFunctionIntegration) {
|
|
104
|
+
BotFunctionIntegration.visit = (value, visitor) => {
|
|
105
|
+
if (value.webhook !== undefined)
|
|
106
|
+
return visitor.webhook(value.webhook);
|
|
107
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
108
|
+
};
|
|
109
|
+
})(BotFunctionIntegration || (BotFunctionIntegration = {}));
|
|
110
|
+
export const BotToolType = {
|
|
111
|
+
FUNCTION: "function",
|
|
112
|
+
};
|
|
79
113
|
export var BotEndpoint;
|
|
80
114
|
(function (BotEndpoint) {
|
|
81
115
|
BotEndpoint.visit = (value, visitor) => {
|
|
116
|
+
if (value.llm !== undefined)
|
|
117
|
+
return visitor.llm(value.llm);
|
|
82
118
|
if (value.dialogflowCx !== undefined)
|
|
83
119
|
return visitor.dialogflowCx(value.dialogflowCx);
|
|
84
120
|
if (value.openAiAssistant !== undefined)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UsersServiceException as __BaseException } from "../models/UsersServiceException";
|
|
2
|
-
import { BotApiKeyNotFoundException, BotEndpoint, BotNotFoundException, BotSecretKeyNotValidException, ForbiddenException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, } from "../models/models_0";
|
|
2
|
+
import { BotApiKeyNotFoundException, BotEndpoint, BotFunctionIntegration, BotNotFoundException, BotSecretKeyNotValidException, ForbiddenException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, } from "../models/models_0";
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
export const se_BatchGetUsersCommand = async (input, context) => {
|
|
6
6
|
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
@@ -236,22 +236,6 @@ export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
|
|
|
236
236
|
.b(body);
|
|
237
237
|
return b.build();
|
|
238
238
|
};
|
|
239
|
-
export const se_IntelligenceSearchCommand = async (input, context) => {
|
|
240
|
-
const b = rb(input, context);
|
|
241
|
-
const headers = {};
|
|
242
|
-
b.bp("/v2/users/intelligence-search");
|
|
243
|
-
const query = map({
|
|
244
|
-
[_c]: [, input[_c]],
|
|
245
|
-
[_s]: [, __expectNonNull(input[_s], `search`)],
|
|
246
|
-
[_eE]: [, input[_eE]],
|
|
247
|
-
});
|
|
248
|
-
let body;
|
|
249
|
-
b.m("GET")
|
|
250
|
-
.h(headers)
|
|
251
|
-
.q(query)
|
|
252
|
-
.b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
239
|
export const se_ListBotApiKeysCommand = async (input, context) => {
|
|
256
240
|
const b = rb(input, context);
|
|
257
241
|
const headers = {};
|
|
@@ -637,20 +621,6 @@ export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
|
|
|
637
621
|
Object.assign(contents, doc);
|
|
638
622
|
return contents;
|
|
639
623
|
};
|
|
640
|
-
export const de_IntelligenceSearchCommand = async (output, context) => {
|
|
641
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
642
|
-
return de_CommandError(output, context);
|
|
643
|
-
}
|
|
644
|
-
const contents = map({
|
|
645
|
-
$metadata: deserializeMetadata(output),
|
|
646
|
-
});
|
|
647
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
648
|
-
const doc = take(data, {
|
|
649
|
-
'items': _json,
|
|
650
|
-
});
|
|
651
|
-
Object.assign(contents, doc);
|
|
652
|
-
return contents;
|
|
653
|
-
};
|
|
654
624
|
export const de_ListBotApiKeysCommand = async (output, context) => {
|
|
655
625
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
656
626
|
return de_CommandError(output, context);
|
|
@@ -970,15 +940,70 @@ const se_BotDialogflowCxEndpoint = (input, context) => {
|
|
|
970
940
|
'location': [],
|
|
971
941
|
});
|
|
972
942
|
};
|
|
943
|
+
const se_BotEmbeddedTool = (input, context) => {
|
|
944
|
+
return take(input, {
|
|
945
|
+
'name': [],
|
|
946
|
+
'parameters': _ => se_Document(_, context),
|
|
947
|
+
'type': [],
|
|
948
|
+
});
|
|
949
|
+
};
|
|
950
|
+
const se_BotEmbeddedToolsList = (input, context) => {
|
|
951
|
+
return input.filter((e) => e != null).map(entry => {
|
|
952
|
+
return se_BotEmbeddedTool(entry, context);
|
|
953
|
+
});
|
|
954
|
+
};
|
|
973
955
|
const se_BotEndpoint = (input, context) => {
|
|
974
956
|
return BotEndpoint.visit(input, {
|
|
975
957
|
dialogflowCx: value => ({ "dialogflowCx": se_BotDialogflowCxEndpoint(value, context) }),
|
|
958
|
+
llm: value => ({ "llm": se_BotLlmEndpoint(value, context) }),
|
|
976
959
|
openAiAssistant: value => ({ "openAiAssistant": _json(value) }),
|
|
977
960
|
sqs: value => ({ "sqs": _json(value) }),
|
|
978
961
|
webhook: value => ({ "webhook": _json(value) }),
|
|
979
962
|
_: (name, value) => ({ name: value })
|
|
980
963
|
});
|
|
981
964
|
};
|
|
965
|
+
const se_BotFunctionDefinition = (input, context) => {
|
|
966
|
+
return take(input, {
|
|
967
|
+
'description': [],
|
|
968
|
+
'integration': _ => se_BotFunctionIntegration(_, context),
|
|
969
|
+
'name': [],
|
|
970
|
+
'parameters': _ => se_Document(_, context),
|
|
971
|
+
});
|
|
972
|
+
};
|
|
973
|
+
const se_BotFunctionIntegration = (input, context) => {
|
|
974
|
+
return BotFunctionIntegration.visit(input, {
|
|
975
|
+
webhook: value => ({ "webhook": se_BotFunctionIntegrationWebhook(value, context) }),
|
|
976
|
+
_: (name, value) => ({ name: value })
|
|
977
|
+
});
|
|
978
|
+
};
|
|
979
|
+
const se_BotFunctionIntegrationWebhook = (input, context) => {
|
|
980
|
+
return take(input, {
|
|
981
|
+
'async': [],
|
|
982
|
+
'authorization': _json,
|
|
983
|
+
'headers': _json,
|
|
984
|
+
'method': [],
|
|
985
|
+
'parameters': _ => se_Document(_, context),
|
|
986
|
+
'url': [],
|
|
987
|
+
});
|
|
988
|
+
};
|
|
989
|
+
const se_BotLlmEndpoint = (input, context) => {
|
|
990
|
+
return take(input, {
|
|
991
|
+
'embeddedTools': _ => se_BotEmbeddedToolsList(_, context),
|
|
992
|
+
'prompt': [],
|
|
993
|
+
'tools': _ => se_BotToolsList(_, context),
|
|
994
|
+
});
|
|
995
|
+
};
|
|
996
|
+
const se_BotTool = (input, context) => {
|
|
997
|
+
return take(input, {
|
|
998
|
+
'function': _ => se_BotFunctionDefinition(_, context),
|
|
999
|
+
'type': [],
|
|
1000
|
+
});
|
|
1001
|
+
};
|
|
1002
|
+
const se_BotToolsList = (input, context) => {
|
|
1003
|
+
return input.filter((e) => e != null).map(entry => {
|
|
1004
|
+
return se_BotTool(entry, context);
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
982
1007
|
const de_Document = (output, context) => {
|
|
983
1008
|
return output;
|
|
984
1009
|
};
|
|
@@ -995,12 +1020,30 @@ const de_BotDialogflowCxEndpoint = (output, context) => {
|
|
|
995
1020
|
'location': __expectString,
|
|
996
1021
|
});
|
|
997
1022
|
};
|
|
1023
|
+
const de_BotEmbeddedTool = (output, context) => {
|
|
1024
|
+
return take(output, {
|
|
1025
|
+
'name': __expectString,
|
|
1026
|
+
'parameters': (_) => de_Document(_, context),
|
|
1027
|
+
'type': __expectString,
|
|
1028
|
+
});
|
|
1029
|
+
};
|
|
1030
|
+
const de_BotEmbeddedToolsList = (output, context) => {
|
|
1031
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1032
|
+
return de_BotEmbeddedTool(entry, context);
|
|
1033
|
+
});
|
|
1034
|
+
return retVal;
|
|
1035
|
+
};
|
|
998
1036
|
const de_BotEndpoint = (output, context) => {
|
|
999
1037
|
if (output.dialogflowCx != null) {
|
|
1000
1038
|
return {
|
|
1001
1039
|
dialogflowCx: de_BotDialogflowCxEndpoint(output.dialogflowCx, context)
|
|
1002
1040
|
};
|
|
1003
1041
|
}
|
|
1042
|
+
if (output.llm != null) {
|
|
1043
|
+
return {
|
|
1044
|
+
llm: de_BotLlmEndpoint(output.llm, context)
|
|
1045
|
+
};
|
|
1046
|
+
}
|
|
1004
1047
|
if (output.openAiAssistant != null) {
|
|
1005
1048
|
return {
|
|
1006
1049
|
openAiAssistant: _json(output.openAiAssistant)
|
|
@@ -1018,6 +1061,51 @@ const de_BotEndpoint = (output, context) => {
|
|
|
1018
1061
|
}
|
|
1019
1062
|
return { $unknown: Object.entries(output)[0] };
|
|
1020
1063
|
};
|
|
1064
|
+
const de_BotFunctionDefinition = (output, context) => {
|
|
1065
|
+
return take(output, {
|
|
1066
|
+
'description': __expectString,
|
|
1067
|
+
'integration': (_) => de_BotFunctionIntegration(__expectUnion(_), context),
|
|
1068
|
+
'name': __expectString,
|
|
1069
|
+
'parameters': (_) => de_Document(_, context),
|
|
1070
|
+
});
|
|
1071
|
+
};
|
|
1072
|
+
const de_BotFunctionIntegration = (output, context) => {
|
|
1073
|
+
if (output.webhook != null) {
|
|
1074
|
+
return {
|
|
1075
|
+
webhook: de_BotFunctionIntegrationWebhook(output.webhook, context)
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1079
|
+
};
|
|
1080
|
+
const de_BotFunctionIntegrationWebhook = (output, context) => {
|
|
1081
|
+
return take(output, {
|
|
1082
|
+
'async': __expectBoolean,
|
|
1083
|
+
'authorization': (_) => _json(__expectUnion(_)),
|
|
1084
|
+
'headers': _json,
|
|
1085
|
+
'method': __expectString,
|
|
1086
|
+
'parameters': (_) => de_Document(_, context),
|
|
1087
|
+
'url': __expectString,
|
|
1088
|
+
});
|
|
1089
|
+
};
|
|
1090
|
+
const de_BotLlmEndpoint = (output, context) => {
|
|
1091
|
+
return take(output, {
|
|
1092
|
+
'embeddedTools': (_) => de_BotEmbeddedToolsList(_, context),
|
|
1093
|
+
'prompt': __expectString,
|
|
1094
|
+
'tools': (_) => de_BotToolsList(_, context),
|
|
1095
|
+
});
|
|
1096
|
+
};
|
|
1097
|
+
const de_BotTool = (output, context) => {
|
|
1098
|
+
return take(output, {
|
|
1099
|
+
'function': (_) => de_BotFunctionDefinition(_, context),
|
|
1100
|
+
'type': __expectString,
|
|
1101
|
+
});
|
|
1102
|
+
};
|
|
1103
|
+
const de_BotToolsList = (output, context) => {
|
|
1104
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1105
|
+
return de_BotTool(entry, context);
|
|
1106
|
+
});
|
|
1107
|
+
return retVal;
|
|
1108
|
+
};
|
|
1021
1109
|
const deserializeMetadata = (output) => ({
|
|
1022
1110
|
httpStatusCode: output.statusCode,
|
|
1023
1111
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1033,8 +1121,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1033
1121
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1034
1122
|
const _c = "company";
|
|
1035
1123
|
const _e = "email";
|
|
1036
|
-
const _eE = "excludeExtension";
|
|
1037
|
-
const _s = "search";
|
|
1038
1124
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
|
|
1039
1125
|
if (encoded.length) {
|
|
1040
1126
|
return JSON.parse(encoded);
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
|
|
|
14
14
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
15
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
16
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
|
-
import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
|
|
18
17
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
19
18
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
20
19
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
@@ -120,12 +119,6 @@ export interface Users {
|
|
|
120
119
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options?: __HttpHandlerOptions): Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
|
|
121
120
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
122
121
|
getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
|
|
123
|
-
/**
|
|
124
|
-
* @see {@link IntelligenceSearchCommand}
|
|
125
|
-
*/
|
|
126
|
-
intelligenceSearch(args: IntelligenceSearchCommandInput, options?: __HttpHandlerOptions): Promise<IntelligenceSearchCommandOutput>;
|
|
127
|
-
intelligenceSearch(args: IntelligenceSearchCommandInput, cb: (err: any, data?: IntelligenceSearchCommandOutput) => void): void;
|
|
128
|
-
intelligenceSearch(args: IntelligenceSearchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IntelligenceSearchCommandOutput) => void): void;
|
|
129
122
|
/**
|
|
130
123
|
* @see {@link ListBotApiKeysCommand}
|
|
131
124
|
*/
|
|
@@ -13,7 +13,6 @@ import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCom
|
|
|
13
13
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
14
14
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
15
15
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
16
|
-
import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
|
|
17
16
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
18
17
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
19
18
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
@@ -36,11 +35,11 @@ export { __Client };
|
|
|
36
35
|
/**
|
|
37
36
|
* @public
|
|
38
37
|
*/
|
|
39
|
-
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput |
|
|
38
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
|
|
40
39
|
/**
|
|
41
40
|
* @public
|
|
42
41
|
*/
|
|
43
|
-
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput |
|
|
42
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
|
|
44
43
|
/**
|
|
45
44
|
* @public
|
|
46
45
|
*/
|