@wildix/xbees-users-client 1.0.35 → 1.0.37

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.
Files changed (33) hide show
  1. package/dist-cjs/Users.js +14 -0
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/IntelligenceSearchCommand.js +21 -0
  5. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
  6. package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
  7. package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
  8. package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
  9. package/dist-cjs/commands/index.js +7 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +216 -2
  11. package/dist-es/Users.js +14 -0
  12. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
  13. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
  14. package/dist-es/commands/IntelligenceSearchCommand.js +17 -0
  15. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
  16. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
  17. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
  18. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
  19. package/dist-es/commands/index.js +7 -0
  20. package/dist-es/protocols/Aws_restJson1.js +200 -0
  21. package/dist-types/Users.d.ts +49 -0
  22. package/dist-types/UsersClient.d.ts +9 -2
  23. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
  24. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
  25. package/dist-types/commands/IntelligenceSearchCommand.d.ts +73 -0
  26. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  27. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
  28. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
  29. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  30. package/dist-types/commands/index.d.ts +7 -0
  31. package/dist-types/models/models_0.d.ts +162 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/package.json +5 -5
@@ -0,0 +1,17 @@
1
+ import { de_GetUserEmailNotificationsSettingsCommand, se_GetUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class GetUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "GetUserEmailNotificationsSettings", {})
12
+ .n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetUserEmailNotificationsSettingsCommand)
15
+ .de(de_GetUserEmailNotificationsSettingsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_IntelligenceSearchCommand, se_IntelligenceSearchCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class IntelligenceSearchCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "IntelligenceSearch", {})
12
+ .n("UsersClient", "IntelligenceSearchCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_IntelligenceSearchCommand)
15
+ .de(de_IntelligenceSearchCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_PartialUpdateUserEmailNotificationsSettingsCommand, se_PartialUpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class PartialUpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
12
+ .n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_PartialUpdateUserEmailNotificationsSettingsCommand)
15
+ .de(de_PartialUpdateUserEmailNotificationsSettingsCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_ToggleTranscriptionEmailNotificationsSubscriptionCommand, se_ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
12
+ .n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
15
+ .de(de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_ToggleUnreadEmailNotificationsSubscriptionCommand, se_ToggleUnreadEmailNotificationsSubscriptionCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class ToggleUnreadEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
12
+ .n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_ToggleUnreadEmailNotificationsSubscriptionCommand)
15
+ .de(de_ToggleUnreadEmailNotificationsSubscriptionCommand)
16
+ .build() {
17
+ }
@@ -0,0 +1,17 @@
1
+ import { de_UpdateUserEmailNotificationsSettingsCommand, se_UpdateUserEmailNotificationsSettingsCommand, } from "../protocols/Aws_restJson1";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ export { $Command };
5
+ export class UpdateUserEmailNotificationsSettingsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Users", "UpdateUserEmailNotificationsSettings", {})
12
+ .n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_UpdateUserEmailNotificationsSettingsCommand)
15
+ .de(de_UpdateUserEmailNotificationsSettingsCommand)
16
+ .build() {
17
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./BatchGetUsersCommand";
2
+ export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
2
3
  export * from "./BatchGetUsersPbxLinkDataCommand";
3
4
  export * from "./BatchGetUsersPbxLinkDataV1Command";
4
5
  export * from "./ChangeUserEmailCommand";
@@ -10,16 +11,22 @@ export * from "./DeleteBotApiKeyCommand";
10
11
  export * from "./GetBotCommand";
11
12
  export * from "./GetBotCallbackCommand";
12
13
  export * from "./GetUserCommand";
14
+ export * from "./GetUserEmailNotificationsSettingsCommand";
13
15
  export * from "./GetUserPbxLinkDataCommand";
14
16
  export * from "./GetUserPbxLinkSuggestionCommand";
15
17
  export * from "./GetUserPbxLinkSuggestionV1Command";
18
+ export * from "./IntelligenceSearchCommand";
16
19
  export * from "./ListBotApiKeysCommand";
17
20
  export * from "./ListBotsCommand";
21
+ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
18
22
  export * from "./QueryColleaguesCommand";
19
23
  export * from "./QueryUserCommand";
20
24
  export * from "./QueryUsersCommand";
25
+ export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
26
+ export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
21
27
  export * from "./UpdateBotCommand";
22
28
  export * from "./UpdateBotCallbackCommand";
29
+ export * from "./UpdateUserEmailNotificationsSettingsCommand";
23
30
  export * from "./UploadPictureCommand";
24
31
  export * from "./UploadPictureV1Command";
25
32
  export * from "./VerifyBotSecretKeyCommand";
@@ -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 = {};
@@ -236,6 +262,22 @@ export const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
236
262
  .b(body);
237
263
  return b.build();
238
264
  };
265
+ export const se_IntelligenceSearchCommand = async (input, context) => {
266
+ const b = rb(input, context);
267
+ const headers = {};
268
+ b.bp("/v2/users/intelligence-search");
269
+ const query = map({
270
+ [_c]: [, input[_c]],
271
+ [_s]: [, __expectNonNull(input[_s], `search`)],
272
+ [_eE]: [, input[_eE]],
273
+ });
274
+ let body;
275
+ b.m("GET")
276
+ .h(headers)
277
+ .q(query)
278
+ .b(body);
279
+ return b.build();
280
+ };
239
281
  export const se_ListBotApiKeysCommand = async (input, context) => {
240
282
  const b = rb(input, context);
241
283
  const headers = {};
@@ -265,6 +307,23 @@ export const se_ListBotsCommand = async (input, context) => {
265
307
  .b(body);
266
308
  return b.build();
267
309
  };
310
+ export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
311
+ const b = rb(input, context);
312
+ const headers = {
313
+ 'content-type': 'application/json',
314
+ };
315
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
316
+ b.p('userId', () => input.userId, '{userId}', false);
317
+ let body;
318
+ body = JSON.stringify(take(input, {
319
+ 'transcription': [],
320
+ 'unread': [],
321
+ }));
322
+ b.m("PATCH")
323
+ .h(headers)
324
+ .b(body);
325
+ return b.build();
326
+ };
268
327
  export const se_QueryColleaguesCommand = async (input, context) => {
269
328
  const b = rb(input, context);
270
329
  const headers = {
@@ -316,6 +375,38 @@ export const se_QueryUsersCommand = async (input, context) => {
316
375
  .b(body);
317
376
  return b.build();
318
377
  };
378
+ export const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
379
+ const b = rb(input, context);
380
+ const headers = {
381
+ 'content-type': 'application/json',
382
+ };
383
+ b.bp("/v2/users/toggle-transcription-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
+ };
394
+ export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
395
+ const b = rb(input, context);
396
+ const headers = {
397
+ 'content-type': 'application/json',
398
+ };
399
+ b.bp("/v2/users/toggle-unread-email-notifications-subscription");
400
+ let body;
401
+ body = JSON.stringify(take(input, {
402
+ 'subscribe': [],
403
+ 'unsubscribeToken': [],
404
+ }));
405
+ b.m("POST")
406
+ .h(headers)
407
+ .b(body);
408
+ return b.build();
409
+ };
319
410
  export const se_UpdateBotCommand = async (input, context) => {
320
411
  const b = rb(input, context);
321
412
  const headers = {
@@ -358,6 +449,23 @@ export const se_UpdateBotCallbackCommand = async (input, context) => {
358
449
  .b(body);
359
450
  return b.build();
360
451
  };
452
+ export const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
453
+ const b = rb(input, context);
454
+ const headers = {
455
+ 'content-type': 'application/json',
456
+ };
457
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
458
+ b.p('userId', () => input.userId, '{userId}', false);
459
+ let body;
460
+ body = JSON.stringify(take(input, {
461
+ 'transcription': [],
462
+ 'unread': [],
463
+ }));
464
+ b.m("POST")
465
+ .h(headers)
466
+ .b(body);
467
+ return b.build();
468
+ };
361
469
  export const se_UploadPictureCommand = async (input, context) => {
362
470
  const b = rb(input, context);
363
471
  const headers = {
@@ -432,6 +540,20 @@ export const de_BatchGetUsersCommand = async (output, context) => {
432
540
  Object.assign(contents, doc);
433
541
  return contents;
434
542
  };
543
+ export const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
544
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
545
+ return de_CommandError(output, context);
546
+ }
547
+ const contents = map({
548
+ $metadata: deserializeMetadata(output),
549
+ });
550
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
551
+ const doc = take(data, {
552
+ 'notifications': _json,
553
+ });
554
+ Object.assign(contents, doc);
555
+ return contents;
556
+ };
435
557
  export const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
436
558
  if (output.statusCode !== 200 && output.statusCode >= 300) {
437
559
  return de_CommandError(output, context);
@@ -579,6 +701,20 @@ export const de_GetUserCommand = async (output, context) => {
579
701
  Object.assign(contents, doc);
580
702
  return contents;
581
703
  };
704
+ export const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
705
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
706
+ return de_CommandError(output, context);
707
+ }
708
+ const contents = map({
709
+ $metadata: deserializeMetadata(output),
710
+ });
711
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
712
+ const doc = take(data, {
713
+ 'notifications': _json,
714
+ });
715
+ Object.assign(contents, doc);
716
+ return contents;
717
+ };
582
718
  export const de_GetUserPbxLinkDataCommand = async (output, context) => {
583
719
  if (output.statusCode !== 200 && output.statusCode >= 300) {
584
720
  return de_CommandError(output, context);
@@ -621,6 +757,20 @@ export const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
621
757
  Object.assign(contents, doc);
622
758
  return contents;
623
759
  };
760
+ export const de_IntelligenceSearchCommand = async (output, context) => {
761
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
762
+ return de_CommandError(output, context);
763
+ }
764
+ const contents = map({
765
+ $metadata: deserializeMetadata(output),
766
+ });
767
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
768
+ const doc = take(data, {
769
+ 'items': _json,
770
+ });
771
+ Object.assign(contents, doc);
772
+ return contents;
773
+ };
624
774
  export const de_ListBotApiKeysCommand = async (output, context) => {
625
775
  if (output.statusCode !== 200 && output.statusCode >= 300) {
626
776
  return de_CommandError(output, context);
@@ -649,6 +799,20 @@ export const de_ListBotsCommand = async (output, context) => {
649
799
  Object.assign(contents, doc);
650
800
  return contents;
651
801
  };
802
+ export const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
803
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
804
+ return de_CommandError(output, context);
805
+ }
806
+ const contents = map({
807
+ $metadata: deserializeMetadata(output),
808
+ });
809
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
810
+ const doc = take(data, {
811
+ 'notifications': _json,
812
+ });
813
+ Object.assign(contents, doc);
814
+ return contents;
815
+ };
652
816
  export const de_QueryColleaguesCommand = async (output, context) => {
653
817
  if (output.statusCode !== 200 && output.statusCode >= 300) {
654
818
  return de_CommandError(output, context);
@@ -691,6 +855,26 @@ export const de_QueryUsersCommand = async (output, context) => {
691
855
  Object.assign(contents, doc);
692
856
  return contents;
693
857
  };
858
+ export const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
859
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
860
+ return de_CommandError(output, context);
861
+ }
862
+ const contents = map({
863
+ $metadata: deserializeMetadata(output),
864
+ });
865
+ await collectBody(output.body, context);
866
+ return contents;
867
+ };
868
+ export const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
869
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
870
+ return de_CommandError(output, context);
871
+ }
872
+ const contents = map({
873
+ $metadata: deserializeMetadata(output),
874
+ });
875
+ await collectBody(output.body, context);
876
+ return contents;
877
+ };
694
878
  export const de_UpdateBotCommand = async (output, context) => {
695
879
  if (output.statusCode !== 200 && output.statusCode >= 300) {
696
880
  return de_CommandError(output, context);
@@ -719,6 +903,20 @@ export const de_UpdateBotCallbackCommand = async (output, context) => {
719
903
  Object.assign(contents, doc);
720
904
  return contents;
721
905
  };
906
+ export const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
907
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
908
+ return de_CommandError(output, context);
909
+ }
910
+ const contents = map({
911
+ $metadata: deserializeMetadata(output),
912
+ });
913
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
914
+ const doc = take(data, {
915
+ 'notifications': _json,
916
+ });
917
+ Object.assign(contents, doc);
918
+ return contents;
919
+ };
722
920
  export const de_UploadPictureCommand = async (output, context) => {
723
921
  if (output.statusCode !== 200 && output.statusCode >= 300) {
724
922
  return de_CommandError(output, context);
@@ -1121,6 +1319,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1121
1319
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1122
1320
  const _c = "company";
1123
1321
  const _e = "email";
1322
+ const _eE = "excludeExtension";
1323
+ const _s = "search";
1124
1324
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1125
1325
  if (encoded.length) {
1126
1326
  return JSON.parse(encoded);
@@ -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,22 @@ 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";
19
+ import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
17
20
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
18
21
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
22
+ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
19
23
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
20
24
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
21
25
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
26
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
27
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
22
28
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
23
29
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
30
+ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
24
31
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
25
32
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
26
33
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
@@ -33,6 +40,12 @@ export interface Users {
33
40
  batchGetUsers(args: BatchGetUsersCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersCommandOutput>;
34
41
  batchGetUsers(args: BatchGetUsersCommandInput, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
35
42
  batchGetUsers(args: BatchGetUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersCommandOutput) => void): void;
43
+ /**
44
+ * @see {@link BatchGetUsersEmailNotificationsSettingsCommand}
45
+ */
46
+ batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
47
+ batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
48
+ batchGetUsersEmailNotificationsSettings(args: BatchGetUsersEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetUsersEmailNotificationsSettingsCommandOutput) => void): void;
36
49
  /**
37
50
  * @see {@link BatchGetUsersPbxLinkDataCommand}
38
51
  */
@@ -99,6 +112,12 @@ export interface Users {
99
112
  getUser(args: GetUserCommandInput, options?: __HttpHandlerOptions): Promise<GetUserCommandOutput>;
100
113
  getUser(args: GetUserCommandInput, cb: (err: any, data?: GetUserCommandOutput) => void): void;
101
114
  getUser(args: GetUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserCommandOutput) => void): void;
115
+ /**
116
+ * @see {@link GetUserEmailNotificationsSettingsCommand}
117
+ */
118
+ getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserEmailNotificationsSettingsCommandOutput>;
119
+ getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
120
+ getUserEmailNotificationsSettings(args: GetUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserEmailNotificationsSettingsCommandOutput) => void): void;
102
121
  /**
103
122
  * @see {@link GetUserPbxLinkDataCommand}
104
123
  */
@@ -119,6 +138,12 @@ export interface Users {
119
138
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options?: __HttpHandlerOptions): Promise<GetUserPbxLinkSuggestionV1CommandOutput>;
120
139
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
121
140
  getUserPbxLinkSuggestionV1(args: GetUserPbxLinkSuggestionV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserPbxLinkSuggestionV1CommandOutput) => void): void;
141
+ /**
142
+ * @see {@link IntelligenceSearchCommand}
143
+ */
144
+ intelligenceSearch(args: IntelligenceSearchCommandInput, options?: __HttpHandlerOptions): Promise<IntelligenceSearchCommandOutput>;
145
+ intelligenceSearch(args: IntelligenceSearchCommandInput, cb: (err: any, data?: IntelligenceSearchCommandOutput) => void): void;
146
+ intelligenceSearch(args: IntelligenceSearchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: IntelligenceSearchCommandOutput) => void): void;
122
147
  /**
123
148
  * @see {@link ListBotApiKeysCommand}
124
149
  */
@@ -132,6 +157,12 @@ export interface Users {
132
157
  listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
133
158
  listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
134
159
  listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
160
+ /**
161
+ * @see {@link PartialUpdateUserEmailNotificationsSettingsCommand}
162
+ */
163
+ partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
164
+ partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
165
+ partialUpdateUserEmailNotificationsSettings(args: PartialUpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PartialUpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
135
166
  /**
136
167
  * @see {@link QueryColleaguesCommand}
137
168
  */
@@ -151,6 +182,18 @@ export interface Users {
151
182
  queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
152
183
  queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
153
184
  queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
185
+ /**
186
+ * @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}
187
+ */
188
+ toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
189
+ toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
190
+ toggleTranscriptionEmailNotificationsSubscription(args: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
191
+ /**
192
+ * @see {@link ToggleUnreadEmailNotificationsSubscriptionCommand}
193
+ */
194
+ toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
195
+ toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
196
+ toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
154
197
  /**
155
198
  * @see {@link UpdateBotCommand}
156
199
  */
@@ -163,6 +206,12 @@ export interface Users {
163
206
  updateBotCallback(args: UpdateBotCallbackCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotCallbackCommandOutput>;
164
207
  updateBotCallback(args: UpdateBotCallbackCommandInput, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
165
208
  updateBotCallback(args: UpdateBotCallbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotCallbackCommandOutput) => void): void;
209
+ /**
210
+ * @see {@link UpdateUserEmailNotificationsSettingsCommand}
211
+ */
212
+ updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
213
+ updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
214
+ updateUserEmailNotificationsSettings(args: UpdateUserEmailNotificationsSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserEmailNotificationsSettingsCommandOutput) => void): void;
166
215
  /**
167
216
  * @see {@link UploadPictureCommand}
168
217
  */
@@ -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,22 @@ 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";
18
+ import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
16
19
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
17
20
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
21
+ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
18
22
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
19
23
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
20
24
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
25
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
26
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
21
27
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
22
28
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
29
+ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
23
30
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
24
31
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
25
32
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
@@ -35,11 +42,11 @@ export { __Client };
35
42
  /**
36
43
  * @public
37
44
  */
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;
45
+ export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput;
39
46
  /**
40
47
  * @public
41
48
  */
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;
49
+ export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput;
43
50
  /**
44
51
  * @public
45
52
  */