@wildix/xbees-users-client 1.0.30 → 1.0.31

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 (20) hide show
  1. package/dist-cjs/Users.js +4 -4
  2. package/dist-cjs/commands/{ManageTranscriptionEmailNotificationsSubscriptionCommand.js → ToggleTranscriptionEmailNotificationsSubscriptionCommand.js} +7 -7
  3. package/dist-cjs/commands/{ManageUnreadEmailNotificationsSubscriptionCommand.js → ToggleUnreadEmailNotificationsSubscriptionCommand.js} +7 -7
  4. package/dist-cjs/commands/index.js +2 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +58 -58
  6. package/dist-es/Users.js +4 -4
  7. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
  8. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
  9. package/dist-es/commands/index.js +2 -2
  10. package/dist-es/protocols/Aws_restJson1.js +50 -50
  11. package/dist-types/Users.d.ts +14 -14
  12. package/dist-types/UsersClient.d.ts +4 -4
  13. package/dist-types/commands/{ManageTranscriptionEmailNotificationsSubscriptionCommand.d.ts → ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts} +18 -18
  14. package/dist-types/commands/{ManageUnreadEmailNotificationsSubscriptionCommand.d.ts → ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts} +18 -18
  15. package/dist-types/commands/index.d.ts +2 -2
  16. package/dist-types/models/models_0.d.ts +32 -32
  17. package/dist-types/protocols/Aws_restJson1.d.ts +18 -18
  18. package/package.json +1 -1
  19. package/dist-es/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.js +0 -17
  20. package/dist-es/commands/ManageUnreadEmailNotificationsSubscriptionCommand.js +0 -17
package/dist-cjs/Users.js CHANGED
@@ -21,12 +21,12 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
21
21
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
22
22
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
23
23
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
24
- const ManageTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand");
25
- const ManageUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ManageUnreadEmailNotificationsSubscriptionCommand");
26
24
  const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
27
25
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
28
26
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
29
27
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
28
+ const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
29
+ const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
30
30
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
31
31
  const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
32
32
  const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
@@ -55,12 +55,12 @@ const commands = {
55
55
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
56
56
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
57
57
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
58
- ManageTranscriptionEmailNotificationsSubscriptionCommand: ManageTranscriptionEmailNotificationsSubscriptionCommand_1.ManageTranscriptionEmailNotificationsSubscriptionCommand,
59
- ManageUnreadEmailNotificationsSubscriptionCommand: ManageUnreadEmailNotificationsSubscriptionCommand_1.ManageUnreadEmailNotificationsSubscriptionCommand,
60
58
  PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
61
59
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
62
60
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
63
61
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
62
+ ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
63
+ ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
64
64
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
65
65
  UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
66
66
  UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManageTranscriptionEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
3
+ exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class ManageTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
8
+ class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("Users", "ManageTranscriptionEmailNotificationsSubscription", {})
15
- .n("UsersClient", "ManageTranscriptionEmailNotificationsSubscriptionCommand")
14
+ .s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ManageTranscriptionEmailNotificationsSubscriptionCommand)
18
- .de(Aws_restJson1_1.de_ManageTranscriptionEmailNotificationsSubscriptionCommand)
17
+ .ser(Aws_restJson1_1.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
19
19
  .build() {
20
20
  }
21
- exports.ManageTranscriptionEmailNotificationsSubscriptionCommand = ManageTranscriptionEmailNotificationsSubscriptionCommand;
21
+ exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = ToggleTranscriptionEmailNotificationsSubscriptionCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ManageUnreadEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
3
+ exports.ToggleUnreadEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class ManageUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
8
+ class ToggleUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("Users", "ManageUnreadEmailNotificationsSubscription", {})
15
- .n("UsersClient", "ManageUnreadEmailNotificationsSubscriptionCommand")
14
+ .s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ManageUnreadEmailNotificationsSubscriptionCommand)
18
- .de(Aws_restJson1_1.de_ManageUnreadEmailNotificationsSubscriptionCommand)
17
+ .ser(Aws_restJson1_1.se_ToggleUnreadEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ToggleUnreadEmailNotificationsSubscriptionCommand)
19
19
  .build() {
20
20
  }
21
- exports.ManageUnreadEmailNotificationsSubscriptionCommand = ManageUnreadEmailNotificationsSubscriptionCommand;
21
+ exports.ToggleUnreadEmailNotificationsSubscriptionCommand = ToggleUnreadEmailNotificationsSubscriptionCommand;
@@ -20,12 +20,12 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
20
20
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
21
21
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
22
22
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
23
- tslib_1.__exportStar(require("./ManageTranscriptionEmailNotificationsSubscriptionCommand"), exports);
24
- tslib_1.__exportStar(require("./ManageUnreadEmailNotificationsSubscriptionCommand"), exports);
25
23
  tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
26
24
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
27
25
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
28
26
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
27
+ tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
28
+ tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
29
29
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
30
30
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
31
31
  tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_ListBotApiKeysCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = 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_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ManageUnreadEmailNotificationsSubscriptionCommand = exports.se_ManageTranscriptionEmailNotificationsSubscriptionCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = 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_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
4
- exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ManageUnreadEmailNotificationsSubscriptionCommand = exports.de_ManageTranscriptionEmailNotificationsSubscriptionCommand = exports.de_ListBotsCommand = void 0;
3
+ exports.de_ListBotApiKeysCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = 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_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = 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_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
4
+ exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ListBotsCommand = 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");
@@ -314,40 +314,6 @@ const se_ListBotsCommand = async (input, context) => {
314
314
  return b.build();
315
315
  };
316
316
  exports.se_ListBotsCommand = se_ListBotsCommand;
317
- const se_ManageTranscriptionEmailNotificationsSubscriptionCommand = 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/manage-transcription-email-notifications-subscription");
323
- let body;
324
- body = JSON.stringify((0, smithy_client_1.take)(input, {
325
- 'subscribe': [],
326
- 'unsubscribeToken': [],
327
- }));
328
- b.m("POST")
329
- .h(headers)
330
- .b(body);
331
- return b.build();
332
- };
333
- exports.se_ManageTranscriptionEmailNotificationsSubscriptionCommand = se_ManageTranscriptionEmailNotificationsSubscriptionCommand;
334
- const se_ManageUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
335
- const b = (0, core_1.requestBuilder)(input, context);
336
- const headers = {
337
- 'content-type': 'application/json',
338
- };
339
- b.bp("/v2/users/manage-unread-email-notifications-subscription");
340
- let body;
341
- body = JSON.stringify((0, smithy_client_1.take)(input, {
342
- 'subscribe': [],
343
- 'unsubscribeToken': [],
344
- }));
345
- b.m("POST")
346
- .h(headers)
347
- .b(body);
348
- return b.build();
349
- };
350
- exports.se_ManageUnreadEmailNotificationsSubscriptionCommand = se_ManageUnreadEmailNotificationsSubscriptionCommand;
351
317
  const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
352
318
  const b = (0, core_1.requestBuilder)(input, context);
353
319
  const headers = {
@@ -420,6 +386,40 @@ const se_QueryUsersCommand = async (input, context) => {
420
386
  return b.build();
421
387
  };
422
388
  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
423
  const se_UpdateBotCommand = async (input, context) => {
424
424
  const b = (0, core_1.requestBuilder)(input, context);
425
425
  const headers = {
@@ -824,28 +824,6 @@ const de_ListBotsCommand = async (output, context) => {
824
824
  return contents;
825
825
  };
826
826
  exports.de_ListBotsCommand = de_ListBotsCommand;
827
- const de_ManageTranscriptionEmailNotificationsSubscriptionCommand = 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
- await (0, smithy_client_1.collectBody)(output.body, context);
835
- return contents;
836
- };
837
- exports.de_ManageTranscriptionEmailNotificationsSubscriptionCommand = de_ManageTranscriptionEmailNotificationsSubscriptionCommand;
838
- const de_ManageUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
839
- if (output.statusCode !== 200 && output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const contents = (0, smithy_client_1.map)({
843
- $metadata: deserializeMetadata(output),
844
- });
845
- await (0, smithy_client_1.collectBody)(output.body, context);
846
- return contents;
847
- };
848
- exports.de_ManageUnreadEmailNotificationsSubscriptionCommand = de_ManageUnreadEmailNotificationsSubscriptionCommand;
849
827
  const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
850
828
  if (output.statusCode !== 200 && output.statusCode >= 300) {
851
829
  return de_CommandError(output, context);
@@ -906,6 +884,28 @@ const de_QueryUsersCommand = async (output, context) => {
906
884
  return contents;
907
885
  };
908
886
  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
909
  const de_UpdateBotCommand = async (output, context) => {
910
910
  if (output.statusCode !== 200 && output.statusCode >= 300) {
911
911
  return de_CommandError(output, context);
package/dist-es/Users.js CHANGED
@@ -18,12 +18,12 @@ import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSugge
18
18
  import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
19
19
  import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
20
20
  import { ListBotsCommand, } from "./commands/ListBotsCommand";
21
- import { ManageTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
22
- import { ManageUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ManageUnreadEmailNotificationsSubscriptionCommand";
23
21
  import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
24
22
  import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
25
23
  import { QueryUserCommand, } from "./commands/QueryUserCommand";
26
24
  import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
25
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
26
+ import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
27
27
  import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
28
28
  import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
29
29
  import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
@@ -52,12 +52,12 @@ const commands = {
52
52
  GetUserPbxLinkSuggestionV1Command,
53
53
  ListBotApiKeysCommand,
54
54
  ListBotsCommand,
55
- ManageTranscriptionEmailNotificationsSubscriptionCommand,
56
- ManageUnreadEmailNotificationsSubscriptionCommand,
57
55
  PartialUpdateUserEmailNotificationsSettingsCommand,
58
56
  QueryColleaguesCommand,
59
57
  QueryUserCommand,
60
58
  QueryUsersCommand,
59
+ ToggleTranscriptionEmailNotificationsSubscriptionCommand,
60
+ ToggleUnreadEmailNotificationsSubscriptionCommand,
61
61
  UpdateBotCommand,
62
62
  UpdateBotCallbackCommand,
63
63
  UpdateUserEmailNotificationsSettingsCommand,
@@ -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
+ }
@@ -17,12 +17,12 @@ export * from "./GetUserPbxLinkSuggestionCommand";
17
17
  export * from "./GetUserPbxLinkSuggestionV1Command";
18
18
  export * from "./ListBotApiKeysCommand";
19
19
  export * from "./ListBotsCommand";
20
- export * from "./ManageTranscriptionEmailNotificationsSubscriptionCommand";
21
- export * from "./ManageUnreadEmailNotificationsSubscriptionCommand";
22
20
  export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
23
21
  export * from "./QueryColleaguesCommand";
24
22
  export * from "./QueryUserCommand";
25
23
  export * from "./QueryUsersCommand";
24
+ export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
26
26
  export * from "./UpdateBotCommand";
27
27
  export * from "./UpdateBotCallbackCommand";
28
28
  export * from "./UpdateUserEmailNotificationsSettingsCommand";
@@ -291,100 +291,100 @@ export const se_ListBotsCommand = async (input, context) => {
291
291
  .b(body);
292
292
  return b.build();
293
293
  };
294
- export const se_ManageTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
294
+ export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
295
295
  const b = rb(input, context);
296
296
  const headers = {
297
297
  'content-type': 'application/json',
298
298
  };
299
- b.bp("/v2/users/manage-transcription-email-notifications-subscription");
299
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
300
+ b.p('userId', () => input.userId, '{userId}', false);
300
301
  let body;
301
302
  body = JSON.stringify(take(input, {
302
- 'subscribe': [],
303
- 'unsubscribeToken': [],
303
+ 'transcription': [],
304
+ 'unread': [],
304
305
  }));
305
- b.m("POST")
306
+ b.m("PATCH")
306
307
  .h(headers)
307
308
  .b(body);
308
309
  return b.build();
309
310
  };
310
- export const se_ManageUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
311
+ export const se_QueryColleaguesCommand = async (input, context) => {
311
312
  const b = rb(input, context);
312
313
  const headers = {
313
314
  'content-type': 'application/json',
314
315
  };
315
- b.bp("/v2/users/manage-unread-email-notifications-subscription");
316
+ b.bp("/v2/users/query-colleagues");
317
+ const query = map({
318
+ [_c]: [, input[_c]],
319
+ });
316
320
  let body;
317
321
  body = JSON.stringify(take(input, {
318
- 'subscribe': [],
319
- 'unsubscribeToken': [],
322
+ 'query': _ => _json(_),
320
323
  }));
321
324
  b.m("POST")
322
325
  .h(headers)
326
+ .q(query)
323
327
  .b(body);
324
328
  return b.build();
325
329
  };
326
- export const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
330
+ export const se_QueryUserCommand = async (input, context) => {
327
331
  const b = rb(input, context);
328
332
  const headers = {
329
333
  'content-type': 'application/json',
330
334
  };
331
- b.bp("/v2/users/cloud/{userId}/notifications/email");
332
- b.p('userId', () => input.userId, '{userId}', false);
335
+ b.bp("/v2/users/query-user");
333
336
  let body;
334
337
  body = JSON.stringify(take(input, {
335
- 'transcription': [],
336
- 'unread': [],
338
+ 'predicate': _ => _json(_),
339
+ 'query': _ => _json(_),
337
340
  }));
338
- b.m("PATCH")
341
+ b.m("POST")
339
342
  .h(headers)
340
343
  .b(body);
341
344
  return b.build();
342
345
  };
343
- export const se_QueryColleaguesCommand = async (input, context) => {
346
+ export const se_QueryUsersCommand = async (input, context) => {
344
347
  const b = rb(input, context);
345
348
  const headers = {
346
349
  'content-type': 'application/json',
347
350
  };
348
- b.bp("/v2/users/query-colleagues");
349
- const query = map({
350
- [_c]: [, input[_c]],
351
- });
351
+ b.bp("/v2/users/query-users");
352
352
  let body;
353
353
  body = JSON.stringify(take(input, {
354
- 'query': _ => _json(_),
354
+ 'predicate': _ => _json(_),
355
+ 'queries': _ => _json(_),
355
356
  }));
356
357
  b.m("POST")
357
358
  .h(headers)
358
- .q(query)
359
359
  .b(body);
360
360
  return b.build();
361
361
  };
362
- export const se_QueryUserCommand = async (input, context) => {
362
+ export const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
363
363
  const b = rb(input, context);
364
364
  const headers = {
365
365
  'content-type': 'application/json',
366
366
  };
367
- b.bp("/v2/users/query-user");
367
+ b.bp("/v2/users/Toggle-transcription-email-notifications-subscription");
368
368
  let body;
369
369
  body = JSON.stringify(take(input, {
370
- 'predicate': _ => _json(_),
371
- 'query': _ => _json(_),
370
+ 'subscribe': [],
371
+ 'unsubscribeToken': [],
372
372
  }));
373
373
  b.m("POST")
374
374
  .h(headers)
375
375
  .b(body);
376
376
  return b.build();
377
377
  };
378
- export const se_QueryUsersCommand = async (input, context) => {
378
+ export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, context) => {
379
379
  const b = rb(input, context);
380
380
  const headers = {
381
381
  'content-type': 'application/json',
382
382
  };
383
- b.bp("/v2/users/query-users");
383
+ b.bp("/v2/users/Toggle-unread-email-notifications-subscription");
384
384
  let body;
385
385
  body = JSON.stringify(take(input, {
386
- 'predicate': _ => _json(_),
387
- 'queries': _ => _json(_),
386
+ 'subscribe': [],
387
+ 'unsubscribeToken': [],
388
388
  }));
389
389
  b.m("POST")
390
390
  .h(headers)
@@ -769,26 +769,6 @@ export const de_ListBotsCommand = async (output, context) => {
769
769
  Object.assign(contents, doc);
770
770
  return contents;
771
771
  };
772
- export const de_ManageTranscriptionEmailNotificationsSubscriptionCommand = 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
- await collectBody(output.body, context);
780
- return contents;
781
- };
782
- export const de_ManageUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
783
- if (output.statusCode !== 200 && output.statusCode >= 300) {
784
- return de_CommandError(output, context);
785
- }
786
- const contents = map({
787
- $metadata: deserializeMetadata(output),
788
- });
789
- await collectBody(output.body, context);
790
- return contents;
791
- };
792
772
  export const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
793
773
  if (output.statusCode !== 200 && output.statusCode >= 300) {
794
774
  return de_CommandError(output, context);
@@ -845,6 +825,26 @@ export const de_QueryUsersCommand = async (output, context) => {
845
825
  Object.assign(contents, doc);
846
826
  return contents;
847
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
+ };
848
848
  export const de_UpdateBotCommand = async (output, context) => {
849
849
  if (output.statusCode !== 200 && output.statusCode >= 300) {
850
850
  return de_CommandError(output, context);
@@ -18,12 +18,12 @@ import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOu
18
18
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
19
19
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
20
20
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
21
- import { ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
22
- import { ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageUnreadEmailNotificationsSubscriptionCommand";
23
21
  import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
24
22
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
25
23
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
26
24
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
25
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
26
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
27
27
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
28
28
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
29
29
  import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
@@ -150,18 +150,6 @@ export interface Users {
150
150
  listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
151
151
  listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
152
152
  listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
153
- /**
154
- * @see {@link ManageTranscriptionEmailNotificationsSubscriptionCommand}
155
- */
156
- manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ManageTranscriptionEmailNotificationsSubscriptionCommandOutput>;
157
- manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ManageTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
158
- manageTranscriptionEmailNotificationsSubscription(args: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ManageTranscriptionEmailNotificationsSubscriptionCommandOutput) => void): void;
159
- /**
160
- * @see {@link ManageUnreadEmailNotificationsSubscriptionCommand}
161
- */
162
- manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ManageUnreadEmailNotificationsSubscriptionCommandOutput>;
163
- manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ManageUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
164
- manageUnreadEmailNotificationsSubscription(args: ManageUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ManageUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
165
153
  /**
166
154
  * @see {@link PartialUpdateUserEmailNotificationsSettingsCommand}
167
155
  */
@@ -187,6 +175,18 @@ export interface Users {
187
175
  queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
188
176
  queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
189
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;
190
190
  /**
191
191
  * @see {@link UpdateBotCommand}
192
192
  */
@@ -17,12 +17,12 @@ import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOu
17
17
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
18
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
19
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
20
- import { ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
21
- import { ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ManageUnreadEmailNotificationsSubscriptionCommand";
22
20
  import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
23
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
24
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
25
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
24
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
26
26
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
27
27
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
28
28
  import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
@@ -41,11 +41,11 @@ export { __Client };
41
41
  /**
42
42
  * @public
43
43
  */
44
- export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ManageTranscriptionEmailNotificationsSubscriptionCommandInput | ManageUnreadEmailNotificationsSubscriptionCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | 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;
45
45
  /**
46
46
  * @public
47
47
  */
48
- export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ManageTranscriptionEmailNotificationsSubscriptionCommandOutput | ManageUnreadEmailNotificationsSubscriptionCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | 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;
49
49
  /**
50
50
  * @public
51
51
  */
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ManageTranscriptionEmailNotificationsSubscriptionInput, ManageTranscriptionEmailNotificationsSubscriptionOutput } from "../models/models_0";
2
+ import { ToggleTranscriptionEmailNotificationsSubscriptionInput, ToggleTranscriptionEmailNotificationsSubscriptionOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,44 +10,44 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link ManageTranscriptionEmailNotificationsSubscriptionCommand}.
13
+ * The input for {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
14
14
  */
15
- export interface ManageTranscriptionEmailNotificationsSubscriptionCommandInput extends ManageTranscriptionEmailNotificationsSubscriptionInput {
15
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandInput extends ToggleTranscriptionEmailNotificationsSubscriptionInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link ManageTranscriptionEmailNotificationsSubscriptionCommand}.
20
+ * The output of {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}.
21
21
  */
22
- export interface ManageTranscriptionEmailNotificationsSubscriptionCommandOutput extends ManageTranscriptionEmailNotificationsSubscriptionOutput, __MetadataBearer {
22
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput extends ToggleTranscriptionEmailNotificationsSubscriptionOutput, __MetadataBearer {
23
23
  }
24
- declare const ManageTranscriptionEmailNotificationsSubscriptionCommand_base: {
25
- new (input: ManageTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ManageTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const ToggleTranscriptionEmailNotificationsSubscriptionCommand_base: {
25
+ new (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Using unsubscribeToken from email you can manage transcription email notifications subscription
30
+ * Using unsubscribeToken from email you can Toggle transcription email notifications subscription
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { UsersClient, ManageTranscriptionEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ManageTranscriptionEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
34
+ * import { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, ToggleTranscriptionEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
36
  * const client = new UsersClient(config);
37
- * const input = { // ManageTranscriptionEmailNotificationsSubscriptionInput
37
+ * const input = { // ToggleTranscriptionEmailNotificationsSubscriptionInput
38
38
  * unsubscribeToken: "STRING_VALUE", // required
39
39
  * subscribe: true || false, // required
40
40
  * };
41
- * const command = new ManageTranscriptionEmailNotificationsSubscriptionCommand(input);
41
+ * const command = new ToggleTranscriptionEmailNotificationsSubscriptionCommand(input);
42
42
  * const response = await client.send(command);
43
43
  * // {};
44
44
  *
45
45
  * ```
46
46
  *
47
- * @param ManageTranscriptionEmailNotificationsSubscriptionCommandInput - {@link ManageTranscriptionEmailNotificationsSubscriptionCommandInput}
48
- * @returns {@link ManageTranscriptionEmailNotificationsSubscriptionCommandOutput}
49
- * @see {@link ManageTranscriptionEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
- * @see {@link ManageTranscriptionEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
47
+ * @param ToggleTranscriptionEmailNotificationsSubscriptionCommandInput - {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput}
48
+ * @returns {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput}
49
+ * @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
+ * @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
51
51
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
52
  *
53
53
  * @throws {@link ForbiddenException} (client fault)
@@ -59,5 +59,5 @@ declare const ManageTranscriptionEmailNotificationsSubscriptionCommand_base: {
59
59
  *
60
60
  * @public
61
61
  */
62
- export declare class ManageTranscriptionEmailNotificationsSubscriptionCommand extends ManageTranscriptionEmailNotificationsSubscriptionCommand_base {
62
+ export declare class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends ToggleTranscriptionEmailNotificationsSubscriptionCommand_base {
63
63
  }
@@ -1,5 +1,5 @@
1
1
  import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ManageUnreadEmailNotificationsSubscriptionInput, ManageUnreadEmailNotificationsSubscriptionOutput } from "../models/models_0";
2
+ import { ToggleUnreadEmailNotificationsSubscriptionInput, ToggleUnreadEmailNotificationsSubscriptionOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,44 +10,44 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link ManageUnreadEmailNotificationsSubscriptionCommand}.
13
+ * The input for {@link ToggleUnreadEmailNotificationsSubscriptionCommand}.
14
14
  */
15
- export interface ManageUnreadEmailNotificationsSubscriptionCommandInput extends ManageUnreadEmailNotificationsSubscriptionInput {
15
+ export interface ToggleUnreadEmailNotificationsSubscriptionCommandInput extends ToggleUnreadEmailNotificationsSubscriptionInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link ManageUnreadEmailNotificationsSubscriptionCommand}.
20
+ * The output of {@link ToggleUnreadEmailNotificationsSubscriptionCommand}.
21
21
  */
22
- export interface ManageUnreadEmailNotificationsSubscriptionCommandOutput extends ManageUnreadEmailNotificationsSubscriptionOutput, __MetadataBearer {
22
+ export interface ToggleUnreadEmailNotificationsSubscriptionCommandOutput extends ToggleUnreadEmailNotificationsSubscriptionOutput, __MetadataBearer {
23
23
  }
24
- declare const ManageUnreadEmailNotificationsSubscriptionCommand_base: {
25
- new (input: ManageUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ManageUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const ToggleUnreadEmailNotificationsSubscriptionCommand_base: {
25
+ new (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ToggleUnreadEmailNotificationsSubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * Using unsubscribeToken from email you can manage unread messages email notifications subscription
30
+ * Using unsubscribeToken from email you can Toggle unread messages email notifications subscription
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
34
- * import { UsersClient, ManageUnreadEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ManageUnreadEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
34
+ * import { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
+ * // const { UsersClient, ToggleUnreadEmailNotificationsSubscriptionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
36
  * const client = new UsersClient(config);
37
- * const input = { // ManageUnreadEmailNotificationsSubscriptionInput
37
+ * const input = { // ToggleUnreadEmailNotificationsSubscriptionInput
38
38
  * unsubscribeToken: "STRING_VALUE", // required
39
39
  * subscribe: true || false, // required
40
40
  * };
41
- * const command = new ManageUnreadEmailNotificationsSubscriptionCommand(input);
41
+ * const command = new ToggleUnreadEmailNotificationsSubscriptionCommand(input);
42
42
  * const response = await client.send(command);
43
43
  * // {};
44
44
  *
45
45
  * ```
46
46
  *
47
- * @param ManageUnreadEmailNotificationsSubscriptionCommandInput - {@link ManageUnreadEmailNotificationsSubscriptionCommandInput}
48
- * @returns {@link ManageUnreadEmailNotificationsSubscriptionCommandOutput}
49
- * @see {@link ManageUnreadEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
- * @see {@link ManageUnreadEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
47
+ * @param ToggleUnreadEmailNotificationsSubscriptionCommandInput - {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput}
48
+ * @returns {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput}
49
+ * @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandInput} for command's `input` shape.
50
+ * @see {@link ToggleUnreadEmailNotificationsSubscriptionCommandOutput} for command's `response` shape.
51
51
  * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
52
52
  *
53
53
  * @throws {@link ForbiddenException} (client fault)
@@ -59,5 +59,5 @@ declare const ManageUnreadEmailNotificationsSubscriptionCommand_base: {
59
59
  *
60
60
  * @public
61
61
  */
62
- export declare class ManageUnreadEmailNotificationsSubscriptionCommand extends ManageUnreadEmailNotificationsSubscriptionCommand_base {
62
+ export declare class ToggleUnreadEmailNotificationsSubscriptionCommand extends ToggleUnreadEmailNotificationsSubscriptionCommand_base {
63
63
  }
@@ -17,12 +17,12 @@ export * from "./GetUserPbxLinkSuggestionCommand";
17
17
  export * from "./GetUserPbxLinkSuggestionV1Command";
18
18
  export * from "./ListBotApiKeysCommand";
19
19
  export * from "./ListBotsCommand";
20
- export * from "./ManageTranscriptionEmailNotificationsSubscriptionCommand";
21
- export * from "./ManageUnreadEmailNotificationsSubscriptionCommand";
22
20
  export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
23
21
  export * from "./QueryColleaguesCommand";
24
22
  export * from "./QueryUserCommand";
25
23
  export * from "./QueryUsersCommand";
24
+ export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
26
26
  export * from "./UpdateBotCommand";
27
27
  export * from "./UpdateBotCallbackCommand";
28
28
  export * from "./UpdateUserEmailNotificationsSettingsCommand";
@@ -936,38 +936,6 @@ export interface ListBotsInput {
936
936
  export interface ListBotsOutput {
937
937
  bots: (Bot)[];
938
938
  }
939
- /**
940
- * @public
941
- */
942
- export interface ManageTranscriptionEmailNotificationsSubscriptionInput {
943
- unsubscribeToken: string;
944
- /**
945
- * A flag that indicates whether the system should send email notifications about AI transcription.
946
- * @public
947
- */
948
- subscribe: boolean;
949
- }
950
- /**
951
- * @public
952
- */
953
- export interface ManageTranscriptionEmailNotificationsSubscriptionOutput {
954
- }
955
- /**
956
- * @public
957
- */
958
- export interface ManageUnreadEmailNotificationsSubscriptionInput {
959
- unsubscribeToken: string;
960
- /**
961
- * A flag that indicates whether the system should send email notifications about unread messages.
962
- * @public
963
- */
964
- subscribe: boolean;
965
- }
966
- /**
967
- * @public
968
- */
969
- export interface ManageUnreadEmailNotificationsSubscriptionOutput {
970
- }
971
939
  /**
972
940
  * @public
973
941
  */
@@ -1159,6 +1127,38 @@ export interface QueryUsersOutput {
1159
1127
  */
1160
1128
  users: (User)[];
1161
1129
  }
1130
+ /**
1131
+ * @public
1132
+ */
1133
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
1134
+ unsubscribeToken: string;
1135
+ /**
1136
+ * A flag that indicates whether the system should send email notifications about AI transcription.
1137
+ * @public
1138
+ */
1139
+ subscribe: boolean;
1140
+ }
1141
+ /**
1142
+ * @public
1143
+ */
1144
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
1145
+ }
1146
+ /**
1147
+ * @public
1148
+ */
1149
+ export interface ToggleUnreadEmailNotificationsSubscriptionInput {
1150
+ unsubscribeToken: string;
1151
+ /**
1152
+ * A flag that indicates whether the system should send email notifications about unread messages.
1153
+ * @public
1154
+ */
1155
+ subscribe: boolean;
1156
+ }
1157
+ /**
1158
+ * @public
1159
+ */
1160
+ export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
1161
+ }
1162
1162
  /**
1163
1163
  * @public
1164
1164
  */
@@ -17,12 +17,12 @@ import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOu
17
17
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
18
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
19
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
20
- import { ManageTranscriptionEmailNotificationsSubscriptionCommandInput, ManageTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
21
- import { ManageUnreadEmailNotificationsSubscriptionCommandInput, ManageUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ManageUnreadEmailNotificationsSubscriptionCommand";
22
20
  import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
23
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
24
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
25
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
24
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
26
26
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
27
27
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
28
28
  import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
@@ -108,14 +108,6 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
108
108
  * serializeAws_restJson1ListBotsCommand
109
109
  */
110
110
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
- /**
112
- * serializeAws_restJson1ManageTranscriptionEmailNotificationsSubscriptionCommand
113
- */
114
- export declare const se_ManageTranscriptionEmailNotificationsSubscriptionCommand: (input: ManageTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
115
- /**
116
- * serializeAws_restJson1ManageUnreadEmailNotificationsSubscriptionCommand
117
- */
118
- export declare const se_ManageUnreadEmailNotificationsSubscriptionCommand: (input: ManageUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
119
111
  /**
120
112
  * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
121
113
  */
@@ -132,6 +124,14 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
132
124
  * serializeAws_restJson1QueryUsersCommand
133
125
  */
134
126
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
+ /**
128
+ * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
129
+ */
130
+ export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
133
+ */
134
+ export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
135
  /**
136
136
  * serializeAws_restJson1UpdateBotCommand
137
137
  */
@@ -236,14 +236,6 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
236
236
  * deserializeAws_restJson1ListBotsCommand
237
237
  */
238
238
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
239
- /**
240
- * deserializeAws_restJson1ManageTranscriptionEmailNotificationsSubscriptionCommand
241
- */
242
- export declare const de_ManageTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ManageTranscriptionEmailNotificationsSubscriptionCommandOutput>;
243
- /**
244
- * deserializeAws_restJson1ManageUnreadEmailNotificationsSubscriptionCommand
245
- */
246
- export declare const de_ManageUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ManageUnreadEmailNotificationsSubscriptionCommandOutput>;
247
239
  /**
248
240
  * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
249
241
  */
@@ -260,6 +252,14 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
260
252
  * deserializeAws_restJson1QueryUsersCommand
261
253
  */
262
254
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
255
+ /**
256
+ * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
257
+ */
258
+ export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
259
+ /**
260
+ * deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
261
+ */
262
+ export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
263
263
  /**
264
264
  * deserializeAws_restJson1UpdateBotCommand
265
265
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.30",
4
+ "version": "1.0.31",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -1,17 +0,0 @@
1
- import { de_ManageTranscriptionEmailNotificationsSubscriptionCommand, se_ManageTranscriptionEmailNotificationsSubscriptionCommand, } 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 ManageTranscriptionEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "ManageTranscriptionEmailNotificationsSubscription", {})
12
- .n("UsersClient", "ManageTranscriptionEmailNotificationsSubscriptionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ManageTranscriptionEmailNotificationsSubscriptionCommand)
15
- .de(de_ManageTranscriptionEmailNotificationsSubscriptionCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_ManageUnreadEmailNotificationsSubscriptionCommand, se_ManageUnreadEmailNotificationsSubscriptionCommand, } 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 ManageUnreadEmailNotificationsSubscriptionCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "ManageUnreadEmailNotificationsSubscription", {})
12
- .n("UsersClient", "ManageUnreadEmailNotificationsSubscriptionCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ManageUnreadEmailNotificationsSubscriptionCommand)
15
- .de(de_ManageUnreadEmailNotificationsSubscriptionCommand)
16
- .build() {
17
- }