@wildix/xbees-users-client 1.0.34 → 1.0.36
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 +12 -0
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/protocols/Aws_restJson1.js +239 -59
- package/dist-es/Users.js +12 -0
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_restJson1.js +226 -58
- package/dist-types/Users.d.ts +42 -0
- package/dist-types/UsersClient.d.ts +8 -2
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
- package/dist-types/commands/CreateBotCommand.d.ts +13 -13
- package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -13
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +26 -26
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +171 -40
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/package.json +2 -2
|
@@ -76,13 +76,13 @@ export class BotApiKeyNotFoundException extends __BaseException {
|
|
|
76
76
|
Object.setPrototypeOf(this, BotApiKeyNotFoundException.prototype);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
export const
|
|
79
|
+
export const BotLlmEmbeddedToolType = {
|
|
80
80
|
DELEGATE: "DELEGATE",
|
|
81
|
-
|
|
81
|
+
HANDOVER: "HANDOVER",
|
|
82
82
|
};
|
|
83
|
-
export var
|
|
84
|
-
(function (
|
|
85
|
-
|
|
83
|
+
export var BotLlmFunctionIntegrationWebhookAuthorization;
|
|
84
|
+
(function (BotLlmFunctionIntegrationWebhookAuthorization) {
|
|
85
|
+
BotLlmFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
86
86
|
if (value.bearer !== undefined)
|
|
87
87
|
return visitor.bearer(value.bearer);
|
|
88
88
|
if (value.basic !== undefined)
|
|
@@ -91,23 +91,23 @@ export var BotFunctionIntegrationWebhookAuthorization;
|
|
|
91
91
|
return visitor.oauth(value.oauth);
|
|
92
92
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
93
93
|
};
|
|
94
|
-
})(
|
|
95
|
-
export const
|
|
94
|
+
})(BotLlmFunctionIntegrationWebhookAuthorization || (BotLlmFunctionIntegrationWebhookAuthorization = {}));
|
|
95
|
+
export const BotLlmFunctionIntegrationMethod = {
|
|
96
96
|
DELETE: "delete",
|
|
97
97
|
GET: "get",
|
|
98
98
|
PATCH: "patch",
|
|
99
99
|
POST: "post",
|
|
100
100
|
PUT: "put",
|
|
101
101
|
};
|
|
102
|
-
export var
|
|
103
|
-
(function (
|
|
104
|
-
|
|
102
|
+
export var BotLlmFunctionIntegration;
|
|
103
|
+
(function (BotLlmFunctionIntegration) {
|
|
104
|
+
BotLlmFunctionIntegration.visit = (value, visitor) => {
|
|
105
105
|
if (value.webhook !== undefined)
|
|
106
106
|
return visitor.webhook(value.webhook);
|
|
107
107
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
108
108
|
};
|
|
109
|
-
})(
|
|
110
|
-
export const
|
|
109
|
+
})(BotLlmFunctionIntegration || (BotLlmFunctionIntegration = {}));
|
|
110
|
+
export const BotLlmToolType = {
|
|
111
111
|
FUNCTION: "function",
|
|
112
112
|
};
|
|
113
113
|
export var BotEndpoint;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UsersServiceException as __BaseException } from "../models/UsersServiceException";
|
|
2
|
-
import { BotApiKeyNotFoundException, BotEndpoint,
|
|
2
|
+
import { BotApiKeyNotFoundException, BotEndpoint, BotLlmFunctionIntegration, BotNotFoundException, BotSecretKeyNotValidException, ForbiddenException, UserCompanyNotValidException, UserNotFoundException, UserQueryPredicateNotMetException, ValidationException, } from "../models/models_0";
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
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) => {
|
|
@@ -17,6 +17,21 @@ export const se_BatchGetUsersCommand = async (input, context) => {
|
|
|
17
17
|
.b(body);
|
|
18
18
|
return b.build();
|
|
19
19
|
};
|
|
20
|
+
export const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
|
|
21
|
+
const b = rb(input, context);
|
|
22
|
+
const headers = {
|
|
23
|
+
'content-type': 'application/json',
|
|
24
|
+
};
|
|
25
|
+
b.bp("/v2/users/batch-get-users-email-notifications-settings");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(take(input, {
|
|
28
|
+
'usersIds': _ => _json(_),
|
|
29
|
+
}));
|
|
30
|
+
b.m("POST")
|
|
31
|
+
.h(headers)
|
|
32
|
+
.b(body);
|
|
33
|
+
return b.build();
|
|
34
|
+
};
|
|
20
35
|
export const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
|
|
21
36
|
const b = rb(input, context);
|
|
22
37
|
const headers = {
|
|
@@ -197,6 +212,17 @@ export const se_GetUserCommand = async (input, context) => {
|
|
|
197
212
|
.b(body);
|
|
198
213
|
return b.build();
|
|
199
214
|
};
|
|
215
|
+
export const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
216
|
+
const b = rb(input, context);
|
|
217
|
+
const headers = {};
|
|
218
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
219
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
220
|
+
let body;
|
|
221
|
+
b.m("GET")
|
|
222
|
+
.h(headers)
|
|
223
|
+
.b(body);
|
|
224
|
+
return b.build();
|
|
225
|
+
};
|
|
200
226
|
export const se_GetUserPbxLinkDataCommand = async (input, context) => {
|
|
201
227
|
const b = rb(input, context);
|
|
202
228
|
const headers = {};
|
|
@@ -265,6 +291,23 @@ export const se_ListBotsCommand = async (input, context) => {
|
|
|
265
291
|
.b(body);
|
|
266
292
|
return b.build();
|
|
267
293
|
};
|
|
294
|
+
export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
295
|
+
const b = rb(input, context);
|
|
296
|
+
const headers = {
|
|
297
|
+
'content-type': 'application/json',
|
|
298
|
+
};
|
|
299
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
300
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
301
|
+
let body;
|
|
302
|
+
body = JSON.stringify(take(input, {
|
|
303
|
+
'transcription': [],
|
|
304
|
+
'unread': [],
|
|
305
|
+
}));
|
|
306
|
+
b.m("PATCH")
|
|
307
|
+
.h(headers)
|
|
308
|
+
.b(body);
|
|
309
|
+
return b.build();
|
|
310
|
+
};
|
|
268
311
|
export const se_QueryColleaguesCommand = async (input, context) => {
|
|
269
312
|
const b = rb(input, context);
|
|
270
313
|
const headers = {
|
|
@@ -316,6 +359,38 @@ export const se_QueryUsersCommand = async (input, context) => {
|
|
|
316
359
|
.b(body);
|
|
317
360
|
return b.build();
|
|
318
361
|
};
|
|
362
|
+
export const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
363
|
+
const b = rb(input, context);
|
|
364
|
+
const headers = {
|
|
365
|
+
'content-type': 'application/json',
|
|
366
|
+
};
|
|
367
|
+
b.bp("/v2/users/toggle-transcription-email-notifications-subscription");
|
|
368
|
+
let body;
|
|
369
|
+
body = JSON.stringify(take(input, {
|
|
370
|
+
'subscribe': [],
|
|
371
|
+
'unsubscribeToken': [],
|
|
372
|
+
}));
|
|
373
|
+
b.m("POST")
|
|
374
|
+
.h(headers)
|
|
375
|
+
.b(body);
|
|
376
|
+
return b.build();
|
|
377
|
+
};
|
|
378
|
+
export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
379
|
+
const b = rb(input, context);
|
|
380
|
+
const headers = {
|
|
381
|
+
'content-type': 'application/json',
|
|
382
|
+
};
|
|
383
|
+
b.bp("/v2/users/toggle-unread-email-notifications-subscription");
|
|
384
|
+
let body;
|
|
385
|
+
body = JSON.stringify(take(input, {
|
|
386
|
+
'subscribe': [],
|
|
387
|
+
'unsubscribeToken': [],
|
|
388
|
+
}));
|
|
389
|
+
b.m("POST")
|
|
390
|
+
.h(headers)
|
|
391
|
+
.b(body);
|
|
392
|
+
return b.build();
|
|
393
|
+
};
|
|
319
394
|
export const se_UpdateBotCommand = async (input, context) => {
|
|
320
395
|
const b = rb(input, context);
|
|
321
396
|
const headers = {
|
|
@@ -358,6 +433,23 @@ export const se_UpdateBotCallbackCommand = async (input, context) => {
|
|
|
358
433
|
.b(body);
|
|
359
434
|
return b.build();
|
|
360
435
|
};
|
|
436
|
+
export const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
|
|
437
|
+
const b = rb(input, context);
|
|
438
|
+
const headers = {
|
|
439
|
+
'content-type': 'application/json',
|
|
440
|
+
};
|
|
441
|
+
b.bp("/v2/users/cloud/{userId}/notifications/email");
|
|
442
|
+
b.p('userId', () => input.userId, '{userId}', false);
|
|
443
|
+
let body;
|
|
444
|
+
body = JSON.stringify(take(input, {
|
|
445
|
+
'transcription': [],
|
|
446
|
+
'unread': [],
|
|
447
|
+
}));
|
|
448
|
+
b.m("POST")
|
|
449
|
+
.h(headers)
|
|
450
|
+
.b(body);
|
|
451
|
+
return b.build();
|
|
452
|
+
};
|
|
361
453
|
export const se_UploadPictureCommand = async (input, context) => {
|
|
362
454
|
const b = rb(input, context);
|
|
363
455
|
const headers = {
|
|
@@ -432,6 +524,20 @@ export const de_BatchGetUsersCommand = async (output, context) => {
|
|
|
432
524
|
Object.assign(contents, doc);
|
|
433
525
|
return contents;
|
|
434
526
|
};
|
|
527
|
+
export const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
|
|
528
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
529
|
+
return de_CommandError(output, context);
|
|
530
|
+
}
|
|
531
|
+
const contents = map({
|
|
532
|
+
$metadata: deserializeMetadata(output),
|
|
533
|
+
});
|
|
534
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
535
|
+
const doc = take(data, {
|
|
536
|
+
'notifications': _json,
|
|
537
|
+
});
|
|
538
|
+
Object.assign(contents, doc);
|
|
539
|
+
return contents;
|
|
540
|
+
};
|
|
435
541
|
export const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
|
|
436
542
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
437
543
|
return de_CommandError(output, context);
|
|
@@ -579,6 +685,20 @@ export const de_GetUserCommand = async (output, context) => {
|
|
|
579
685
|
Object.assign(contents, doc);
|
|
580
686
|
return contents;
|
|
581
687
|
};
|
|
688
|
+
export const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
689
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
690
|
+
return de_CommandError(output, context);
|
|
691
|
+
}
|
|
692
|
+
const contents = map({
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
});
|
|
695
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
696
|
+
const doc = take(data, {
|
|
697
|
+
'notifications': _json,
|
|
698
|
+
});
|
|
699
|
+
Object.assign(contents, doc);
|
|
700
|
+
return contents;
|
|
701
|
+
};
|
|
582
702
|
export const de_GetUserPbxLinkDataCommand = async (output, context) => {
|
|
583
703
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
584
704
|
return de_CommandError(output, context);
|
|
@@ -649,6 +769,20 @@ export const de_ListBotsCommand = async (output, context) => {
|
|
|
649
769
|
Object.assign(contents, doc);
|
|
650
770
|
return contents;
|
|
651
771
|
};
|
|
772
|
+
export const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
773
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
774
|
+
return de_CommandError(output, context);
|
|
775
|
+
}
|
|
776
|
+
const contents = map({
|
|
777
|
+
$metadata: deserializeMetadata(output),
|
|
778
|
+
});
|
|
779
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
780
|
+
const doc = take(data, {
|
|
781
|
+
'notifications': _json,
|
|
782
|
+
});
|
|
783
|
+
Object.assign(contents, doc);
|
|
784
|
+
return contents;
|
|
785
|
+
};
|
|
652
786
|
export const de_QueryColleaguesCommand = async (output, context) => {
|
|
653
787
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
654
788
|
return de_CommandError(output, context);
|
|
@@ -691,6 +825,26 @@ export const de_QueryUsersCommand = async (output, context) => {
|
|
|
691
825
|
Object.assign(contents, doc);
|
|
692
826
|
return contents;
|
|
693
827
|
};
|
|
828
|
+
export const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
829
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
830
|
+
return de_CommandError(output, context);
|
|
831
|
+
}
|
|
832
|
+
const contents = map({
|
|
833
|
+
$metadata: deserializeMetadata(output),
|
|
834
|
+
});
|
|
835
|
+
await collectBody(output.body, context);
|
|
836
|
+
return contents;
|
|
837
|
+
};
|
|
838
|
+
export const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
839
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
840
|
+
return de_CommandError(output, context);
|
|
841
|
+
}
|
|
842
|
+
const contents = map({
|
|
843
|
+
$metadata: deserializeMetadata(output),
|
|
844
|
+
});
|
|
845
|
+
await collectBody(output.body, context);
|
|
846
|
+
return contents;
|
|
847
|
+
};
|
|
694
848
|
export const de_UpdateBotCommand = async (output, context) => {
|
|
695
849
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
696
850
|
return de_CommandError(output, context);
|
|
@@ -719,6 +873,20 @@ export const de_UpdateBotCallbackCommand = async (output, context) => {
|
|
|
719
873
|
Object.assign(contents, doc);
|
|
720
874
|
return contents;
|
|
721
875
|
};
|
|
876
|
+
export const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
|
|
877
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
878
|
+
return de_CommandError(output, context);
|
|
879
|
+
}
|
|
880
|
+
const contents = map({
|
|
881
|
+
$metadata: deserializeMetadata(output),
|
|
882
|
+
});
|
|
883
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
884
|
+
const doc = take(data, {
|
|
885
|
+
'notifications': _json,
|
|
886
|
+
});
|
|
887
|
+
Object.assign(contents, doc);
|
|
888
|
+
return contents;
|
|
889
|
+
};
|
|
722
890
|
export const de_UploadPictureCommand = async (output, context) => {
|
|
723
891
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
724
892
|
return de_CommandError(output, context);
|
|
@@ -940,43 +1108,50 @@ const se_BotDialogflowCxEndpoint = (input, context) => {
|
|
|
940
1108
|
'location': [],
|
|
941
1109
|
});
|
|
942
1110
|
};
|
|
943
|
-
const
|
|
1111
|
+
const se_BotEndpoint = (input, context) => {
|
|
1112
|
+
return BotEndpoint.visit(input, {
|
|
1113
|
+
dialogflowCx: value => ({ "dialogflowCx": se_BotDialogflowCxEndpoint(value, context) }),
|
|
1114
|
+
llm: value => ({ "llm": se_BotLlmEndpoint(value, context) }),
|
|
1115
|
+
openAiAssistant: value => ({ "openAiAssistant": _json(value) }),
|
|
1116
|
+
sqs: value => ({ "sqs": _json(value) }),
|
|
1117
|
+
webhook: value => ({ "webhook": _json(value) }),
|
|
1118
|
+
_: (name, value) => ({ name: value })
|
|
1119
|
+
});
|
|
1120
|
+
};
|
|
1121
|
+
const se_BotLlmEmbeddedTool = (input, context) => {
|
|
944
1122
|
return take(input, {
|
|
945
1123
|
'name': [],
|
|
946
1124
|
'parameters': _ => se_Document(_, context),
|
|
947
1125
|
'type': [],
|
|
948
1126
|
});
|
|
949
1127
|
};
|
|
950
|
-
const
|
|
1128
|
+
const se_BotLlmEmbeddedToolsList = (input, context) => {
|
|
951
1129
|
return input.filter((e) => e != null).map(entry => {
|
|
952
|
-
return
|
|
1130
|
+
return se_BotLlmEmbeddedTool(entry, context);
|
|
953
1131
|
});
|
|
954
1132
|
};
|
|
955
|
-
const
|
|
956
|
-
return
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
sqs: value => ({ "sqs": _json(value) }),
|
|
961
|
-
webhook: value => ({ "webhook": _json(value) }),
|
|
962
|
-
_: (name, value) => ({ name: value })
|
|
1133
|
+
const se_BotLlmEndpoint = (input, context) => {
|
|
1134
|
+
return take(input, {
|
|
1135
|
+
'embeddedTools': _ => se_BotLlmEmbeddedToolsList(_, context),
|
|
1136
|
+
'prompt': [],
|
|
1137
|
+
'tools': _ => se_BotLlmToolsList(_, context),
|
|
963
1138
|
});
|
|
964
1139
|
};
|
|
965
|
-
const
|
|
1140
|
+
const se_BotLlmFunctionDefinition = (input, context) => {
|
|
966
1141
|
return take(input, {
|
|
967
1142
|
'description': [],
|
|
968
|
-
'integration': _ =>
|
|
1143
|
+
'integration': _ => se_BotLlmFunctionIntegration(_, context),
|
|
969
1144
|
'name': [],
|
|
970
1145
|
'parameters': _ => se_Document(_, context),
|
|
971
1146
|
});
|
|
972
1147
|
};
|
|
973
|
-
const
|
|
974
|
-
return
|
|
975
|
-
webhook: value => ({ "webhook":
|
|
1148
|
+
const se_BotLlmFunctionIntegration = (input, context) => {
|
|
1149
|
+
return BotLlmFunctionIntegration.visit(input, {
|
|
1150
|
+
webhook: value => ({ "webhook": se_BotLlmFunctionIntegrationWebhook(value, context) }),
|
|
976
1151
|
_: (name, value) => ({ name: value })
|
|
977
1152
|
});
|
|
978
1153
|
};
|
|
979
|
-
const
|
|
1154
|
+
const se_BotLlmFunctionIntegrationWebhook = (input, context) => {
|
|
980
1155
|
return take(input, {
|
|
981
1156
|
'async': [],
|
|
982
1157
|
'authorization': _json,
|
|
@@ -986,22 +1161,15 @@ const se_BotFunctionIntegrationWebhook = (input, context) => {
|
|
|
986
1161
|
'url': [],
|
|
987
1162
|
});
|
|
988
1163
|
};
|
|
989
|
-
const
|
|
990
|
-
return take(input, {
|
|
991
|
-
'embeddedTools': _ => se_BotEmbeddedToolsList(_, context),
|
|
992
|
-
'prompt': [],
|
|
993
|
-
'tools': _ => se_BotToolsList(_, context),
|
|
994
|
-
});
|
|
995
|
-
};
|
|
996
|
-
const se_BotTool = (input, context) => {
|
|
1164
|
+
const se_BotLlmTool = (input, context) => {
|
|
997
1165
|
return take(input, {
|
|
998
|
-
'function': _ =>
|
|
1166
|
+
'function': _ => se_BotLlmFunctionDefinition(_, context),
|
|
999
1167
|
'type': [],
|
|
1000
1168
|
});
|
|
1001
1169
|
};
|
|
1002
|
-
const
|
|
1170
|
+
const se_BotLlmToolsList = (input, context) => {
|
|
1003
1171
|
return input.filter((e) => e != null).map(entry => {
|
|
1004
|
-
return
|
|
1172
|
+
return se_BotLlmTool(entry, context);
|
|
1005
1173
|
});
|
|
1006
1174
|
};
|
|
1007
1175
|
const de_Document = (output, context) => {
|
|
@@ -1020,19 +1188,6 @@ const de_BotDialogflowCxEndpoint = (output, context) => {
|
|
|
1020
1188
|
'location': __expectString,
|
|
1021
1189
|
});
|
|
1022
1190
|
};
|
|
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
|
-
};
|
|
1036
1191
|
const de_BotEndpoint = (output, context) => {
|
|
1037
1192
|
if (output.dialogflowCx != null) {
|
|
1038
1193
|
return {
|
|
@@ -1061,23 +1216,43 @@ const de_BotEndpoint = (output, context) => {
|
|
|
1061
1216
|
}
|
|
1062
1217
|
return { $unknown: Object.entries(output)[0] };
|
|
1063
1218
|
};
|
|
1064
|
-
const
|
|
1219
|
+
const de_BotLlmEmbeddedTool = (output, context) => {
|
|
1220
|
+
return take(output, {
|
|
1221
|
+
'name': __expectString,
|
|
1222
|
+
'parameters': (_) => de_Document(_, context),
|
|
1223
|
+
'type': __expectString,
|
|
1224
|
+
});
|
|
1225
|
+
};
|
|
1226
|
+
const de_BotLlmEmbeddedToolsList = (output, context) => {
|
|
1227
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1228
|
+
return de_BotLlmEmbeddedTool(entry, context);
|
|
1229
|
+
});
|
|
1230
|
+
return retVal;
|
|
1231
|
+
};
|
|
1232
|
+
const de_BotLlmEndpoint = (output, context) => {
|
|
1233
|
+
return take(output, {
|
|
1234
|
+
'embeddedTools': (_) => de_BotLlmEmbeddedToolsList(_, context),
|
|
1235
|
+
'prompt': __expectString,
|
|
1236
|
+
'tools': (_) => de_BotLlmToolsList(_, context),
|
|
1237
|
+
});
|
|
1238
|
+
};
|
|
1239
|
+
const de_BotLlmFunctionDefinition = (output, context) => {
|
|
1065
1240
|
return take(output, {
|
|
1066
1241
|
'description': __expectString,
|
|
1067
|
-
'integration': (_) =>
|
|
1242
|
+
'integration': (_) => de_BotLlmFunctionIntegration(__expectUnion(_), context),
|
|
1068
1243
|
'name': __expectString,
|
|
1069
1244
|
'parameters': (_) => de_Document(_, context),
|
|
1070
1245
|
});
|
|
1071
1246
|
};
|
|
1072
|
-
const
|
|
1247
|
+
const de_BotLlmFunctionIntegration = (output, context) => {
|
|
1073
1248
|
if (output.webhook != null) {
|
|
1074
1249
|
return {
|
|
1075
|
-
webhook:
|
|
1250
|
+
webhook: de_BotLlmFunctionIntegrationWebhook(output.webhook, context)
|
|
1076
1251
|
};
|
|
1077
1252
|
}
|
|
1078
1253
|
return { $unknown: Object.entries(output)[0] };
|
|
1079
1254
|
};
|
|
1080
|
-
const
|
|
1255
|
+
const de_BotLlmFunctionIntegrationWebhook = (output, context) => {
|
|
1081
1256
|
return take(output, {
|
|
1082
1257
|
'async': __expectBoolean,
|
|
1083
1258
|
'authorization': (_) => _json(__expectUnion(_)),
|
|
@@ -1087,22 +1262,15 @@ const de_BotFunctionIntegrationWebhook = (output, context) => {
|
|
|
1087
1262
|
'url': __expectString,
|
|
1088
1263
|
});
|
|
1089
1264
|
};
|
|
1090
|
-
const
|
|
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) => {
|
|
1265
|
+
const de_BotLlmTool = (output, context) => {
|
|
1098
1266
|
return take(output, {
|
|
1099
|
-
'function': (_) =>
|
|
1267
|
+
'function': (_) => de_BotLlmFunctionDefinition(_, context),
|
|
1100
1268
|
'type': __expectString,
|
|
1101
1269
|
});
|
|
1102
1270
|
};
|
|
1103
|
-
const
|
|
1271
|
+
const de_BotLlmToolsList = (output, context) => {
|
|
1104
1272
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1105
|
-
return
|
|
1273
|
+
return de_BotLlmTool(entry, context);
|
|
1106
1274
|
});
|
|
1107
1275
|
return retVal;
|
|
1108
1276
|
};
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UsersClient } from "./UsersClient";
|
|
2
2
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
3
|
+
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
4
5
|
import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
5
6
|
import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "./commands/ChangeUserEmailCommand";
|
|
@@ -11,16 +12,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/Delete
|
|
|
11
12
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
|
|
12
13
|
import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
|
|
13
14
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
15
|
+
import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
14
16
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
16
18
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
17
19
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
18
20
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
21
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
19
22
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
20
23
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
21
24
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
25
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
26
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
22
27
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
23
28
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
29
|
+
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
24
30
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
25
31
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
26
32
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -33,6 +39,12 @@ export interface Users {
|
|
|
33
39
|
batchGetUsers(args: BatchGetUsersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersCommandOutput>;
|
|
34
40
|
batchGetUsers(args: BatchGetUsersCommandInput, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
35
41
|
batchGetUsers(args: BatchGetUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link BatchGetUsersEmailNotificationsSettingsCommand}
|
|
44
|
+
*/
|
|
45
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
|
|
46
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
47
|
+
batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
|
|
36
48
|
/**
|
|
37
49
|
* @see {@link BatchGetUsersPbxLinkDataCommand}
|
|
38
50
|
*/
|
|
@@ -99,6 +111,12 @@ export interface Users {
|
|
|
99
111
|
getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
|
|
100
112
|
getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
101
113
|
getUser(args: GetUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link GetUserEmailNotificationsSettingsCommand}
|
|
116
|
+
*/
|
|
117
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserEmailNotificationsSettingsCommandOutput>;
|
|
118
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
119
|
+
getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
102
120
|
/**
|
|
103
121
|
* @see {@link GetUserPbxLinkDataCommand}
|
|
104
122
|
*/
|
|
@@ -132,6 +150,12 @@ export interface Users {
|
|
|
132
150
|
listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
|
|
133
151
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
134
152
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link PartialUpdateUserEmailNotificationsSettingsCommand}
|
|
155
|
+
*/
|
|
156
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
157
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
158
|
+
partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
135
159
|
/**
|
|
136
160
|
* @see {@link QueryColleaguesCommand}
|
|
137
161
|
*/
|
|
@@ -151,6 +175,18 @@ export interface Users {
|
|
|
151
175
|
queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
|
|
152
176
|
queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
153
177
|
queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}
|
|
180
|
+
*/
|
|
181
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
|
|
182
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
183
|
+
toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link ToggleUnreadEmailNotificationsSubscriptionCommand}
|
|
186
|
+
*/
|
|
187
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
|
|
188
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
189
|
+
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
154
190
|
/**
|
|
155
191
|
* @see {@link UpdateBotCommand}
|
|
156
192
|
*/
|
|
@@ -163,6 +199,12 @@ export interface Users {
|
|
|
163
199
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotCallbackCommandOutput>;
|
|
164
200
|
updateBotCallback(args: UpdateBotCallbackCommandInput, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
165
201
|
updateBotCallback(args: UpdateBotCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
|
|
202
|
+
/**
|
|
203
|
+
* @see {@link UpdateUserEmailNotificationsSettingsCommand}
|
|
204
|
+
*/
|
|
205
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
|
|
206
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
207
|
+
updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
|
|
166
208
|
/**
|
|
167
209
|
* @see {@link UploadPictureCommand}
|
|
168
210
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
2
|
+
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
2
3
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
3
4
|
import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "./commands/BatchGetUsersPbxLinkDataV1Command";
|
|
4
5
|
import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "./commands/ChangeUserEmailCommand";
|
|
@@ -10,16 +11,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/Delete
|
|
|
10
11
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "./commands/GetBotCallbackCommand";
|
|
11
12
|
import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
|
|
12
13
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
14
|
+
import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "./commands/GetUserEmailNotificationsSettingsCommand";
|
|
13
15
|
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "./commands/GetUserPbxLinkDataCommand";
|
|
14
16
|
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "./commands/GetUserPbxLinkSuggestionCommand";
|
|
15
17
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
16
18
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
17
19
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
20
|
+
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
18
21
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
19
22
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
20
23
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
24
|
+
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
25
|
+
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
21
26
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
22
27
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
28
|
+
import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
|
|
23
29
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
24
30
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
25
31
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
@@ -35,11 +41,11 @@ export { __Client };
|
|
|
35
41
|
/**
|
|
36
42
|
* @public
|
|
37
43
|
*/
|
|
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;
|
|
44
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
|
|
39
45
|
/**
|
|
40
46
|
* @public
|
|
41
47
|
*/
|
|
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;
|
|
48
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
|
|
43
49
|
/**
|
|
44
50
|
* @public
|
|
45
51
|
*/
|