@wildix/xbees-users-client 1.0.32 → 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 -12
- package/dist-cjs/commands/index.js +0 -6
- package/dist-cjs/models/models_0.js +37 -1
- package/dist-cjs/protocols/Aws_restJson1.js +120 -182
- package/dist-es/Users.js +0 -12
- package/dist-es/commands/index.js +0 -6
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_restJson1.js +120 -170
- package/dist-types/Users.d.ts +0 -42
- package/dist-types/UsersClient.d.ts +2 -8
- 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 -6
- package/dist-types/models/models_0.d.ts +217 -132
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -54
- package/package.json +5 -5
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -21
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -21
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -21
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +0 -17
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +0 -17
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -71
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -69
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -63
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -63
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -69
package/dist-cjs/Users.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const UsersClient_1 = require("./UsersClient");
|
|
5
5
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
6
|
-
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
7
6
|
const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
|
|
8
7
|
const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
|
|
9
8
|
const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
|
|
@@ -15,21 +14,16 @@ const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
|
|
|
15
14
|
const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
|
|
16
15
|
const GetBotCommand_1 = require("./commands/GetBotCommand");
|
|
17
16
|
const GetUserCommand_1 = require("./commands/GetUserCommand");
|
|
18
|
-
const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
|
|
19
17
|
const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
|
|
20
18
|
const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
|
|
21
19
|
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
22
20
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
23
21
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
24
|
-
const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
|
|
25
22
|
const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
|
|
26
23
|
const QueryUserCommand_1 = require("./commands/QueryUserCommand");
|
|
27
24
|
const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
|
|
28
|
-
const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
|
|
29
|
-
const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
|
|
30
25
|
const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
|
|
31
26
|
const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
|
|
32
|
-
const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
|
|
33
27
|
const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
|
|
34
28
|
const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
35
29
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
@@ -37,7 +31,6 @@ const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Co
|
|
|
37
31
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
38
32
|
const commands = {
|
|
39
33
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
40
|
-
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
41
34
|
BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
|
|
42
35
|
BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
|
|
43
36
|
ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
|
|
@@ -49,21 +42,16 @@ const commands = {
|
|
|
49
42
|
GetBotCommand: GetBotCommand_1.GetBotCommand,
|
|
50
43
|
GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
|
|
51
44
|
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
52
|
-
GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
|
|
53
45
|
GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
|
|
54
46
|
GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
|
|
55
47
|
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
56
48
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
57
49
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
58
|
-
PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
59
50
|
QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
|
|
60
51
|
QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
|
|
61
52
|
QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
|
|
62
|
-
ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
63
|
-
ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
64
53
|
UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
|
|
65
54
|
UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
|
|
66
|
-
UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
|
|
67
55
|
UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
|
|
68
56
|
UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
|
|
69
57
|
VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
|
|
7
6
|
tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
|
|
8
7
|
tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
|
|
@@ -14,21 +13,16 @@ tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
|
|
|
14
13
|
tslib_1.__exportStar(require("./GetBotCommand"), exports);
|
|
15
14
|
tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
|
|
16
15
|
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
|
|
18
16
|
tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
|
|
19
17
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
20
18
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
21
19
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
22
20
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
|
|
24
21
|
tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
|
|
25
22
|
tslib_1.__exportStar(require("./QueryUserCommand"), exports);
|
|
26
23
|
tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
|
|
29
24
|
tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
|
|
30
25
|
tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
|
|
32
26
|
tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
|
|
33
27
|
tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
|
|
34
28
|
tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), 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.
|
|
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");
|
|
@@ -22,22 +22,6 @@ const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
22
22
|
return b.build();
|
|
23
23
|
};
|
|
24
24
|
exports.se_BatchGetUsersCommand = se_BatchGetUsersCommand;
|
|
25
|
-
const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
|
|
26
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
27
|
-
const headers = {
|
|
28
|
-
'content-type': 'application/json',
|
|
29
|
-
};
|
|
30
|
-
b.bp("/v2/users/batch-get-users-email-notifications-settings");
|
|
31
|
-
let body;
|
|
32
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
33
|
-
'usersIds': _ => (0, smithy_client_1._json)(_),
|
|
34
|
-
}));
|
|
35
|
-
b.m("POST")
|
|
36
|
-
.h(headers)
|
|
37
|
-
.b(body);
|
|
38
|
-
return b.build();
|
|
39
|
-
};
|
|
40
|
-
exports.se_BatchGetUsersEmailNotificationsSettingsCommand = se_BatchGetUsersEmailNotificationsSettingsCommand;
|
|
41
25
|
const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
|
|
42
26
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
43
27
|
const headers = {
|
|
@@ -229,18 +213,6 @@ const se_GetUserCommand = async (input, context) => {
|
|
|
229
213
|
return b.build();
|
|
230
214
|
};
|
|
231
215
|
exports.se_GetUserCommand = se_GetUserCommand;
|
|
232
|
-
const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
233
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
234
|
-
const headers = {};
|
|
235
|
-
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
236
|
-
b.p('userId', () => input.userId, '{userId}', false);
|
|
237
|
-
let body;
|
|
238
|
-
b.m("GET")
|
|
239
|
-
.h(headers)
|
|
240
|
-
.b(body);
|
|
241
|
-
return b.build();
|
|
242
|
-
};
|
|
243
|
-
exports.se_GetUserEmailNotificationsSettingsCommand = se_GetUserEmailNotificationsSettingsCommand;
|
|
244
216
|
const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
245
217
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
246
218
|
const headers = {};
|
|
@@ -314,24 +286,6 @@ const se_ListBotsCommand = async (input, context) => {
|
|
|
314
286
|
return b.build();
|
|
315
287
|
};
|
|
316
288
|
exports.se_ListBotsCommand = se_ListBotsCommand;
|
|
317
|
-
const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
318
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
319
|
-
const headers = {
|
|
320
|
-
'content-type': 'application/json',
|
|
321
|
-
};
|
|
322
|
-
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
323
|
-
b.p('userId', () => input.userId, '{userId}', false);
|
|
324
|
-
let body;
|
|
325
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
326
|
-
'transcription': [],
|
|
327
|
-
'unread': [],
|
|
328
|
-
}));
|
|
329
|
-
b.m("PATCH")
|
|
330
|
-
.h(headers)
|
|
331
|
-
.b(body);
|
|
332
|
-
return b.build();
|
|
333
|
-
};
|
|
334
|
-
exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = se_PartialUpdateUserEmailNotificationsSettingsCommand;
|
|
335
289
|
const se_QueryColleaguesCommand = async (input, context) => {
|
|
336
290
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
337
291
|
const headers = {
|
|
@@ -386,40 +340,6 @@ const se_QueryUsersCommand = async (input, context) => {
|
|
|
386
340
|
return b.build();
|
|
387
341
|
};
|
|
388
342
|
exports.se_QueryUsersCommand = se_QueryUsersCommand;
|
|
389
|
-
const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
390
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
391
|
-
const headers = {
|
|
392
|
-
'content-type': 'application/json',
|
|
393
|
-
};
|
|
394
|
-
b.bp("/v2/users/toggle-transcription-email-notifications-subscription");
|
|
395
|
-
let body;
|
|
396
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
397
|
-
'subscribe': [],
|
|
398
|
-
'unsubscribeToken': [],
|
|
399
|
-
}));
|
|
400
|
-
b.m("POST")
|
|
401
|
-
.h(headers)
|
|
402
|
-
.b(body);
|
|
403
|
-
return b.build();
|
|
404
|
-
};
|
|
405
|
-
exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = se_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
406
|
-
const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
407
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
408
|
-
const headers = {
|
|
409
|
-
'content-type': 'application/json',
|
|
410
|
-
};
|
|
411
|
-
b.bp("/v2/users/toggle-unread-email-notifications-subscription");
|
|
412
|
-
let body;
|
|
413
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
414
|
-
'subscribe': [],
|
|
415
|
-
'unsubscribeToken': [],
|
|
416
|
-
}));
|
|
417
|
-
b.m("POST")
|
|
418
|
-
.h(headers)
|
|
419
|
-
.b(body);
|
|
420
|
-
return b.build();
|
|
421
|
-
};
|
|
422
|
-
exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
423
343
|
const se_UpdateBotCommand = async (input, context) => {
|
|
424
344
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
425
345
|
const headers = {
|
|
@@ -464,24 +384,6 @@ const se_UpdateBotCallbackCommand = async (input, context) => {
|
|
|
464
384
|
return b.build();
|
|
465
385
|
};
|
|
466
386
|
exports.se_UpdateBotCallbackCommand = se_UpdateBotCallbackCommand;
|
|
467
|
-
const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
468
|
-
const b = (0, core_1.requestBuilder)(input, context);
|
|
469
|
-
const headers = {
|
|
470
|
-
'content-type': 'application/json',
|
|
471
|
-
};
|
|
472
|
-
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
473
|
-
b.p('userId', () => input.userId, '{userId}', false);
|
|
474
|
-
let body;
|
|
475
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
476
|
-
'transcription': [],
|
|
477
|
-
'unread': [],
|
|
478
|
-
}));
|
|
479
|
-
b.m("POST")
|
|
480
|
-
.h(headers)
|
|
481
|
-
.b(body);
|
|
482
|
-
return b.build();
|
|
483
|
-
};
|
|
484
|
-
exports.se_UpdateUserEmailNotificationsSettingsCommand = se_UpdateUserEmailNotificationsSettingsCommand;
|
|
485
387
|
const se_UploadPictureCommand = async (input, context) => {
|
|
486
388
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
487
389
|
const headers = {
|
|
@@ -561,21 +463,6 @@ const de_BatchGetUsersCommand = async (output, context) => {
|
|
|
561
463
|
return contents;
|
|
562
464
|
};
|
|
563
465
|
exports.de_BatchGetUsersCommand = de_BatchGetUsersCommand;
|
|
564
|
-
const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
|
|
565
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
566
|
-
return de_CommandError(output, context);
|
|
567
|
-
}
|
|
568
|
-
const contents = (0, smithy_client_1.map)({
|
|
569
|
-
$metadata: deserializeMetadata(output),
|
|
570
|
-
});
|
|
571
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
572
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
573
|
-
'notifications': smithy_client_1._json,
|
|
574
|
-
});
|
|
575
|
-
Object.assign(contents, doc);
|
|
576
|
-
return contents;
|
|
577
|
-
};
|
|
578
|
-
exports.de_BatchGetUsersEmailNotificationsSettingsCommand = de_BatchGetUsersEmailNotificationsSettingsCommand;
|
|
579
466
|
const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
|
|
580
467
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
581
468
|
return de_CommandError(output, context);
|
|
@@ -734,21 +621,6 @@ const de_GetUserCommand = async (output, context) => {
|
|
|
734
621
|
return contents;
|
|
735
622
|
};
|
|
736
623
|
exports.de_GetUserCommand = de_GetUserCommand;
|
|
737
|
-
const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const contents = (0, smithy_client_1.map)({
|
|
742
|
-
$metadata: deserializeMetadata(output),
|
|
743
|
-
});
|
|
744
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
745
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
746
|
-
'notifications': smithy_client_1._json,
|
|
747
|
-
});
|
|
748
|
-
Object.assign(contents, doc);
|
|
749
|
-
return contents;
|
|
750
|
-
};
|
|
751
|
-
exports.de_GetUserEmailNotificationsSettingsCommand = de_GetUserEmailNotificationsSettingsCommand;
|
|
752
624
|
const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
753
625
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
754
626
|
return de_CommandError(output, context);
|
|
@@ -824,21 +696,6 @@ const de_ListBotsCommand = async (output, context) => {
|
|
|
824
696
|
return contents;
|
|
825
697
|
};
|
|
826
698
|
exports.de_ListBotsCommand = de_ListBotsCommand;
|
|
827
|
-
const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
828
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
829
|
-
return de_CommandError(output, context);
|
|
830
|
-
}
|
|
831
|
-
const contents = (0, smithy_client_1.map)({
|
|
832
|
-
$metadata: deserializeMetadata(output),
|
|
833
|
-
});
|
|
834
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
835
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
836
|
-
'notifications': smithy_client_1._json,
|
|
837
|
-
});
|
|
838
|
-
Object.assign(contents, doc);
|
|
839
|
-
return contents;
|
|
840
|
-
};
|
|
841
|
-
exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = de_PartialUpdateUserEmailNotificationsSettingsCommand;
|
|
842
699
|
const de_QueryColleaguesCommand = async (output, context) => {
|
|
843
700
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
844
701
|
return de_CommandError(output, context);
|
|
@@ -884,28 +741,6 @@ const de_QueryUsersCommand = async (output, context) => {
|
|
|
884
741
|
return contents;
|
|
885
742
|
};
|
|
886
743
|
exports.de_QueryUsersCommand = de_QueryUsersCommand;
|
|
887
|
-
const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
888
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
889
|
-
return de_CommandError(output, context);
|
|
890
|
-
}
|
|
891
|
-
const contents = (0, smithy_client_1.map)({
|
|
892
|
-
$metadata: deserializeMetadata(output),
|
|
893
|
-
});
|
|
894
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
895
|
-
return contents;
|
|
896
|
-
};
|
|
897
|
-
exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = de_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
898
|
-
const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
899
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
900
|
-
return de_CommandError(output, context);
|
|
901
|
-
}
|
|
902
|
-
const contents = (0, smithy_client_1.map)({
|
|
903
|
-
$metadata: deserializeMetadata(output),
|
|
904
|
-
});
|
|
905
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
906
|
-
return contents;
|
|
907
|
-
};
|
|
908
|
-
exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = de_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
909
744
|
const de_UpdateBotCommand = async (output, context) => {
|
|
910
745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
911
746
|
return de_CommandError(output, context);
|
|
@@ -936,21 +771,6 @@ const de_UpdateBotCallbackCommand = async (output, context) => {
|
|
|
936
771
|
return contents;
|
|
937
772
|
};
|
|
938
773
|
exports.de_UpdateBotCallbackCommand = de_UpdateBotCallbackCommand;
|
|
939
|
-
const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
940
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
941
|
-
return de_CommandError(output, context);
|
|
942
|
-
}
|
|
943
|
-
const contents = (0, smithy_client_1.map)({
|
|
944
|
-
$metadata: deserializeMetadata(output),
|
|
945
|
-
});
|
|
946
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
|
|
947
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
948
|
-
'notifications': smithy_client_1._json,
|
|
949
|
-
});
|
|
950
|
-
Object.assign(contents, doc);
|
|
951
|
-
return contents;
|
|
952
|
-
};
|
|
953
|
-
exports.de_UpdateUserEmailNotificationsSettingsCommand = de_UpdateUserEmailNotificationsSettingsCommand;
|
|
954
774
|
const de_UploadPictureCommand = async (output, context) => {
|
|
955
775
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
956
776
|
return de_CommandError(output, context);
|
|
@@ -1176,15 +996,70 @@ const se_BotDialogflowCxEndpoint = (input, context) => {
|
|
|
1176
996
|
'location': [],
|
|
1177
997
|
});
|
|
1178
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
|
+
};
|
|
1179
1011
|
const se_BotEndpoint = (input, context) => {
|
|
1180
1012
|
return models_0_1.BotEndpoint.visit(input, {
|
|
1181
1013
|
dialogflowCx: value => ({ "dialogflowCx": se_BotDialogflowCxEndpoint(value, context) }),
|
|
1014
|
+
llm: value => ({ "llm": se_BotLlmEndpoint(value, context) }),
|
|
1182
1015
|
openAiAssistant: value => ({ "openAiAssistant": (0, smithy_client_1._json)(value) }),
|
|
1183
1016
|
sqs: value => ({ "sqs": (0, smithy_client_1._json)(value) }),
|
|
1184
1017
|
webhook: value => ({ "webhook": (0, smithy_client_1._json)(value) }),
|
|
1185
1018
|
_: (name, value) => ({ name: value })
|
|
1186
1019
|
});
|
|
1187
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
|
+
};
|
|
1188
1063
|
const de_Document = (output, context) => {
|
|
1189
1064
|
return output;
|
|
1190
1065
|
};
|
|
@@ -1201,12 +1076,30 @@ const de_BotDialogflowCxEndpoint = (output, context) => {
|
|
|
1201
1076
|
'location': smithy_client_1.expectString,
|
|
1202
1077
|
});
|
|
1203
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
|
+
};
|
|
1204
1092
|
const de_BotEndpoint = (output, context) => {
|
|
1205
1093
|
if (output.dialogflowCx != null) {
|
|
1206
1094
|
return {
|
|
1207
1095
|
dialogflowCx: de_BotDialogflowCxEndpoint(output.dialogflowCx, context)
|
|
1208
1096
|
};
|
|
1209
1097
|
}
|
|
1098
|
+
if (output.llm != null) {
|
|
1099
|
+
return {
|
|
1100
|
+
llm: de_BotLlmEndpoint(output.llm, context)
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1210
1103
|
if (output.openAiAssistant != null) {
|
|
1211
1104
|
return {
|
|
1212
1105
|
openAiAssistant: (0, smithy_client_1._json)(output.openAiAssistant)
|
|
@@ -1224,6 +1117,51 @@ const de_BotEndpoint = (output, context) => {
|
|
|
1224
1117
|
}
|
|
1225
1118
|
return { $unknown: Object.entries(output)[0] };
|
|
1226
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
|
+
};
|
|
1227
1165
|
const deserializeMetadata = (output) => ({
|
|
1228
1166
|
httpStatusCode: output.statusCode,
|
|
1229
1167
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-es/Users.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { UsersClient, } from "./UsersClient";
|
|
2
2
|
import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
|
|
3
|
-
import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
4
3
|
import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
5
4
|
import { BatchGetUsersPbxLinkDataV1Command, } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
6
5
|
import { ChangeUserEmailCommand, } from "./commands/ChangeUserEmailCommand";
|
|
@@ -12,21 +11,16 @@ import { DeleteBotCommand, } from "./commands/DeleteBotCommand";
|
|
|
12
11
|
import { GetBotCallbackCommand, } from "./commands/GetBotCallbackCommand";
|
|
13
12
|
import { GetBotCommand, } from "./commands/GetBotCommand";
|
|
14
13
|
import { GetUserCommand, } from "./commands/GetUserCommand";
|
|
15
|
-
import { GetUserEmailNotificationsSettingsCommand, } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
16
14
|
import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
|
|
17
15
|
import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
18
16
|
import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
19
17
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
20
18
|
import { ListBotsCommand, } from "./commands/ListBotsCommand";
|
|
21
|
-
import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
22
19
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
23
20
|
import { QueryUserCommand, } from "./commands/QueryUserCommand";
|
|
24
21
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
25
|
-
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
26
|
-
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
27
22
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
28
23
|
import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
|
|
29
|
-
import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
30
24
|
import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
|
|
31
25
|
import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
32
26
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -34,7 +28,6 @@ import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Com
|
|
|
34
28
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
35
29
|
const commands = {
|
|
36
30
|
BatchGetUsersCommand,
|
|
37
|
-
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
38
31
|
BatchGetUsersPbxLinkDataCommand,
|
|
39
32
|
BatchGetUsersPbxLinkDataV1Command,
|
|
40
33
|
ChangeUserEmailCommand,
|
|
@@ -46,21 +39,16 @@ const commands = {
|
|
|
46
39
|
GetBotCommand,
|
|
47
40
|
GetBotCallbackCommand,
|
|
48
41
|
GetUserCommand,
|
|
49
|
-
GetUserEmailNotificationsSettingsCommand,
|
|
50
42
|
GetUserPbxLinkDataCommand,
|
|
51
43
|
GetUserPbxLinkSuggestionCommand,
|
|
52
44
|
GetUserPbxLinkSuggestionV1Command,
|
|
53
45
|
ListBotApiKeysCommand,
|
|
54
46
|
ListBotsCommand,
|
|
55
|
-
PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
56
47
|
QueryColleaguesCommand,
|
|
57
48
|
QueryUserCommand,
|
|
58
49
|
QueryUsersCommand,
|
|
59
|
-
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
60
|
-
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
61
50
|
UpdateBotCommand,
|
|
62
51
|
UpdateBotCallbackCommand,
|
|
63
|
-
UpdateUserEmailNotificationsSettingsCommand,
|
|
64
52
|
UploadPictureCommand,
|
|
65
53
|
UploadPictureV1Command,
|
|
66
54
|
VerifyBotSecretKeyCommand,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "./BatchGetUsersCommand";
|
|
2
|
-
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
2
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
4
3
|
export * from "./BatchGetUsersPbxLinkDataV1Command";
|
|
5
4
|
export * from "./ChangeUserEmailCommand";
|
|
@@ -11,21 +10,16 @@ export * from "./DeleteBotApiKeyCommand";
|
|
|
11
10
|
export * from "./GetBotCommand";
|
|
12
11
|
export * from "./GetBotCallbackCommand";
|
|
13
12
|
export * from "./GetUserCommand";
|
|
14
|
-
export * from "./GetUserEmailNotificationsSettingsCommand";
|
|
15
13
|
export * from "./GetUserPbxLinkDataCommand";
|
|
16
14
|
export * from "./GetUserPbxLinkSuggestionCommand";
|
|
17
15
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
18
16
|
export * from "./ListBotApiKeysCommand";
|
|
19
17
|
export * from "./ListBotsCommand";
|
|
20
|
-
export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
21
18
|
export * from "./QueryColleaguesCommand";
|
|
22
19
|
export * from "./QueryUserCommand";
|
|
23
20
|
export * from "./QueryUsersCommand";
|
|
24
|
-
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
-
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
26
21
|
export * from "./UpdateBotCommand";
|
|
27
22
|
export * from "./UpdateBotCallbackCommand";
|
|
28
|
-
export * from "./UpdateUserEmailNotificationsSettingsCommand";
|
|
29
23
|
export * from "./UploadPictureCommand";
|
|
30
24
|
export * from "./UploadPictureV1Command";
|
|
31
25
|
export * from "./VerifyBotSecretKeyCommand";
|