@wildix/xbees-users-client 1.0.28 → 1.0.30

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 (34) hide show
  1. package/dist-cjs/Users.js +12 -4
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/{GetUserSettingsCommand.js → GetUserEmailNotificationsSettingsCommand.js} +7 -7
  4. package/dist-cjs/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
  5. package/dist-cjs/commands/ManageUnreadEmailNotificationsSubscriptionCommand.js +21 -0
  6. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
  7. package/dist-cjs/commands/{PartialUpdateUserSettingsCommand.js → UpdateUserEmailNotificationsSettingsCommand.js} +7 -7
  8. package/dist-cjs/commands/index.js +6 -2
  9. package/dist-cjs/protocols/Aws_restJson1.js +154 -43
  10. package/dist-es/Users.js +12 -4
  11. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
  12. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
  13. package/dist-es/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
  14. package/dist-es/commands/ManageUnreadEmailNotificationsSubscriptionCommand.js +17 -0
  15. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
  16. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
  17. package/dist-es/commands/index.js +6 -2
  18. package/dist-es/protocols/Aws_restJson1.js +136 -33
  19. package/dist-types/Users.d.ts +40 -13
  20. package/dist-types/UsersClient.d.ts +8 -4
  21. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
  22. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
  23. package/dist-types/commands/ManageTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
  24. package/dist-types/commands/ManageUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
  25. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  26. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  27. package/dist-types/commands/index.d.ts +6 -2
  28. package/dist-types/models/models_0.d.ts +103 -54
  29. package/dist-types/protocols/Aws_restJson1.d.ts +50 -14
  30. package/package.json +5 -5
  31. package/dist-es/commands/GetUserSettingsCommand.js +0 -17
  32. package/dist-es/commands/PartialUpdateUserSettingsCommand.js +0 -17
  33. package/dist-types/commands/GetUserSettingsCommand.d.ts +0 -69
  34. package/dist-types/commands/PartialUpdateUserSettingsCommand.d.ts +0 -76
package/dist-cjs/Users.js CHANGED
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const UsersClient_1 = require("./UsersClient");
5
5
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
6
+ const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
6
7
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
7
8
  const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
8
9
  const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
@@ -14,18 +15,21 @@ const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
14
15
  const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
15
16
  const GetBotCommand_1 = require("./commands/GetBotCommand");
16
17
  const GetUserCommand_1 = require("./commands/GetUserCommand");
18
+ const GetUserEmailNotificationsSettingsCommand_1 = require("./commands/GetUserEmailNotificationsSettingsCommand");
17
19
  const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataCommand");
18
20
  const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
19
21
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
20
- const GetUserSettingsCommand_1 = require("./commands/GetUserSettingsCommand");
21
22
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
22
23
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
23
- const PartialUpdateUserSettingsCommand_1 = require("./commands/PartialUpdateUserSettingsCommand");
24
+ const ManageTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand");
25
+ const ManageUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ManageUnreadEmailNotificationsSubscriptionCommand");
26
+ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
24
27
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
25
28
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
26
29
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
27
30
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
28
31
  const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
32
+ const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
29
33
  const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
30
34
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
31
35
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
@@ -33,6 +37,7 @@ const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Co
33
37
  const smithy_client_1 = require("@smithy/smithy-client");
34
38
  const commands = {
35
39
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
40
+ BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
36
41
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
37
42
  BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
38
43
  ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
@@ -44,18 +49,21 @@ const commands = {
44
49
  GetBotCommand: GetBotCommand_1.GetBotCommand,
45
50
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
46
51
  GetUserCommand: GetUserCommand_1.GetUserCommand,
52
+ GetUserEmailNotificationsSettingsCommand: GetUserEmailNotificationsSettingsCommand_1.GetUserEmailNotificationsSettingsCommand,
47
53
  GetUserPbxLinkDataCommand: GetUserPbxLinkDataCommand_1.GetUserPbxLinkDataCommand,
48
54
  GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
49
55
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
50
- GetUserSettingsCommand: GetUserSettingsCommand_1.GetUserSettingsCommand,
51
56
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
52
57
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
53
- PartialUpdateUserSettingsCommand: PartialUpdateUserSettingsCommand_1.PartialUpdateUserSettingsCommand,
58
+ ManageTranscriptionEmailNotificationsSubscriptionCommand: ManageTranscriptionEmailNotificationsSubscriptionCommand_1.ManageTranscriptionEmailNotificationsSubscriptionCommand,
59
+ ManageUnreadEmailNotificationsSubscriptionCommand: ManageUnreadEmailNotificationsSubscriptionCommand_1.ManageUnreadEmailNotificationsSubscriptionCommand,
60
+ PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
54
61
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
55
62
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
56
63
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
57
64
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
58
65
  UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
66
+ UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
59
67
  UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
60
68
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
61
69
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetUsersEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class BatchGetUsersEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "BatchGetUsersEmailNotificationsSettings", {})
15
+ .n("UsersClient", "BatchGetUsersEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_BatchGetUsersEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_BatchGetUsersEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.BatchGetUsersEmailNotificationsSettingsCommand = BatchGetUsersEmailNotificationsSettingsCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetUserSettingsCommand = exports.$Command = void 0;
3
+ exports.GetUserEmailNotificationsSettingsCommand = 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 GetUserSettingsCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetUserEmailNotificationsSettingsCommand 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", "GetUserSettings", {})
15
- .n("UsersClient", "GetUserSettingsCommand")
14
+ .s("Users", "GetUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "GetUserEmailNotificationsSettingsCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetUserSettingsCommand)
18
- .de(Aws_restJson1_1.de_GetUserSettingsCommand)
17
+ .ser(Aws_restJson1_1.se_GetUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_GetUserEmailNotificationsSettingsCommand)
19
19
  .build() {
20
20
  }
21
- exports.GetUserSettingsCommand = GetUserSettingsCommand;
21
+ exports.GetUserEmailNotificationsSettingsCommand = GetUserEmailNotificationsSettingsCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ManageTranscriptionEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ManageTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "ManageTranscriptionEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ManageTranscriptionEmailNotificationsSubscriptionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ManageTranscriptionEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ManageTranscriptionEmailNotificationsSubscriptionCommand)
19
+ .build() {
20
+ }
21
+ exports.ManageTranscriptionEmailNotificationsSubscriptionCommand = ManageTranscriptionEmailNotificationsSubscriptionCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ManageUnreadEmailNotificationsSubscriptionCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class ManageUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "ManageUnreadEmailNotificationsSubscription", {})
15
+ .n("UsersClient", "ManageUnreadEmailNotificationsSubscriptionCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ManageUnreadEmailNotificationsSubscriptionCommand)
18
+ .de(Aws_restJson1_1.de_ManageUnreadEmailNotificationsSubscriptionCommand)
19
+ .build() {
20
+ }
21
+ exports.ManageUnreadEmailNotificationsSubscriptionCommand = ManageUnreadEmailNotificationsSubscriptionCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialUpdateUserEmailNotificationsSettingsCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ class PartialUpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
9
+ .m(function (Command, cs, config, o) {
10
+ return [
11
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
+ ];
13
+ })
14
+ .s("Users", "PartialUpdateUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "PartialUpdateUserEmailNotificationsSettingsCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_PartialUpdateUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_PartialUpdateUserEmailNotificationsSettingsCommand)
19
+ .build() {
20
+ }
21
+ exports.PartialUpdateUserEmailNotificationsSettingsCommand = PartialUpdateUserEmailNotificationsSettingsCommand;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PartialUpdateUserSettingsCommand = exports.$Command = void 0;
3
+ exports.UpdateUserEmailNotificationsSettingsCommand = 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 PartialUpdateUserSettingsCommand extends smithy_client_1.Command.classBuilder()
8
+ class UpdateUserEmailNotificationsSettingsCommand 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", "PartialUpdateUserSettings", {})
15
- .n("UsersClient", "PartialUpdateUserSettingsCommand")
14
+ .s("Users", "UpdateUserEmailNotificationsSettings", {})
15
+ .n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_PartialUpdateUserSettingsCommand)
18
- .de(Aws_restJson1_1.de_PartialUpdateUserSettingsCommand)
17
+ .ser(Aws_restJson1_1.se_UpdateUserEmailNotificationsSettingsCommand)
18
+ .de(Aws_restJson1_1.de_UpdateUserEmailNotificationsSettingsCommand)
19
19
  .build() {
20
20
  }
21
- exports.PartialUpdateUserSettingsCommand = PartialUpdateUserSettingsCommand;
21
+ exports.UpdateUserEmailNotificationsSettingsCommand = UpdateUserEmailNotificationsSettingsCommand;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
5
6
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
6
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
7
8
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
@@ -13,18 +14,21 @@ tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
13
14
  tslib_1.__exportStar(require("./GetBotCommand"), exports);
14
15
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
15
16
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
16
18
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
17
19
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
18
20
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
19
- tslib_1.__exportStar(require("./GetUserSettingsCommand"), exports);
20
21
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
21
22
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
22
- tslib_1.__exportStar(require("./PartialUpdateUserSettingsCommand"), exports);
23
+ tslib_1.__exportStar(require("./ManageTranscriptionEmailNotificationsSubscriptionCommand"), exports);
24
+ tslib_1.__exportStar(require("./ManageUnreadEmailNotificationsSubscriptionCommand"), exports);
25
+ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
23
26
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
24
27
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
25
28
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
26
29
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
27
30
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
31
+ tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
28
32
  tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
29
33
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
30
34
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserSettingsCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_GetUserSettingsCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserSettingsCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_GetUserSettingsCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersCommand = void 0;
4
- exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = 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_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;
5
5
  const UsersServiceException_1 = require("../models/UsersServiceException");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const core_1 = require("@smithy/core");
@@ -22,6 +22,22 @@ const se_BatchGetUsersCommand = async (input, context) => {
22
22
  return b.build();
23
23
  };
24
24
  exports.se_BatchGetUsersCommand = se_BatchGetUsersCommand;
25
+ const se_BatchGetUsersEmailNotificationsSettingsCommand = async (input, context) => {
26
+ const b = (0, core_1.requestBuilder)(input, context);
27
+ const headers = {
28
+ 'content-type': 'application/json',
29
+ };
30
+ b.bp("/v2/users/batch-get-users-email-notifications-settings");
31
+ let body;
32
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
33
+ 'usersIds': _ => (0, smithy_client_1._json)(_),
34
+ }));
35
+ b.m("POST")
36
+ .h(headers)
37
+ .b(body);
38
+ return b.build();
39
+ };
40
+ exports.se_BatchGetUsersEmailNotificationsSettingsCommand = se_BatchGetUsersEmailNotificationsSettingsCommand;
25
41
  const se_BatchGetUsersPbxLinkDataCommand = async (input, context) => {
26
42
  const b = (0, core_1.requestBuilder)(input, context);
27
43
  const headers = {
@@ -213,6 +229,18 @@ const se_GetUserCommand = async (input, context) => {
213
229
  return b.build();
214
230
  };
215
231
  exports.se_GetUserCommand = se_GetUserCommand;
232
+ const se_GetUserEmailNotificationsSettingsCommand = async (input, context) => {
233
+ const b = (0, core_1.requestBuilder)(input, context);
234
+ const headers = {};
235
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
236
+ b.p('userId', () => input.userId, '{userId}', false);
237
+ let body;
238
+ b.m("GET")
239
+ .h(headers)
240
+ .b(body);
241
+ return b.build();
242
+ };
243
+ exports.se_GetUserEmailNotificationsSettingsCommand = se_GetUserEmailNotificationsSettingsCommand;
216
244
  const se_GetUserPbxLinkDataCommand = async (input, context) => {
217
245
  const b = (0, core_1.requestBuilder)(input, context);
218
246
  const headers = {};
@@ -255,21 +283,6 @@ const se_GetUserPbxLinkSuggestionV1Command = async (input, context) => {
255
283
  return b.build();
256
284
  };
257
285
  exports.se_GetUserPbxLinkSuggestionV1Command = se_GetUserPbxLinkSuggestionV1Command;
258
- const se_GetUserSettingsCommand = async (input, context) => {
259
- const b = (0, core_1.requestBuilder)(input, context);
260
- const headers = {};
261
- b.bp("/v2/users/settings");
262
- const query = (0, smithy_client_1.map)({
263
- [_u]: [, input[_uI]],
264
- });
265
- let body;
266
- b.m("GET")
267
- .h(headers)
268
- .q(query)
269
- .b(body);
270
- return b.build();
271
- };
272
- exports.se_GetUserSettingsCommand = se_GetUserSettingsCommand;
273
286
  const se_ListBotApiKeysCommand = async (input, context) => {
274
287
  const b = (0, core_1.requestBuilder)(input, context);
275
288
  const headers = {};
@@ -301,27 +314,58 @@ const se_ListBotsCommand = async (input, context) => {
301
314
  return b.build();
302
315
  };
303
316
  exports.se_ListBotsCommand = se_ListBotsCommand;
304
- const se_PartialUpdateUserSettingsCommand = async (input, context) => {
317
+ const se_ManageTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
305
318
  const b = (0, core_1.requestBuilder)(input, context);
306
319
  const headers = {
307
320
  'content-type': 'application/json',
308
321
  };
309
- b.bp("/v2/users/settings");
310
- const query = (0, smithy_client_1.map)({
311
- [_t]: [, input[_t]],
312
- });
322
+ b.bp("/v2/users/manage-transcription-email-notifications-subscription");
313
323
  let body;
314
324
  body = JSON.stringify((0, smithy_client_1.take)(input, {
315
- 'settings': _ => (0, smithy_client_1._json)(_),
316
- 'userId': [],
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
+ const se_PartialUpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
352
+ const b = (0, core_1.requestBuilder)(input, context);
353
+ const headers = {
354
+ 'content-type': 'application/json',
355
+ };
356
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
357
+ b.p('userId', () => input.userId, '{userId}', false);
358
+ let body;
359
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
360
+ 'transcription': [],
361
+ 'unread': [],
317
362
  }));
318
363
  b.m("PATCH")
319
364
  .h(headers)
320
- .q(query)
321
365
  .b(body);
322
366
  return b.build();
323
367
  };
324
- exports.se_PartialUpdateUserSettingsCommand = se_PartialUpdateUserSettingsCommand;
368
+ exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = se_PartialUpdateUserEmailNotificationsSettingsCommand;
325
369
  const se_QueryColleaguesCommand = async (input, context) => {
326
370
  const b = (0, core_1.requestBuilder)(input, context);
327
371
  const headers = {
@@ -420,6 +464,24 @@ const se_UpdateBotCallbackCommand = async (input, context) => {
420
464
  return b.build();
421
465
  };
422
466
  exports.se_UpdateBotCallbackCommand = se_UpdateBotCallbackCommand;
467
+ const se_UpdateUserEmailNotificationsSettingsCommand = async (input, context) => {
468
+ const b = (0, core_1.requestBuilder)(input, context);
469
+ const headers = {
470
+ 'content-type': 'application/json',
471
+ };
472
+ b.bp("/v2/users/cloud/{userId}/notifications/email");
473
+ b.p('userId', () => input.userId, '{userId}', false);
474
+ let body;
475
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
476
+ 'transcription': [],
477
+ 'unread': [],
478
+ }));
479
+ b.m("POST")
480
+ .h(headers)
481
+ .b(body);
482
+ return b.build();
483
+ };
484
+ exports.se_UpdateUserEmailNotificationsSettingsCommand = se_UpdateUserEmailNotificationsSettingsCommand;
423
485
  const se_UploadPictureCommand = async (input, context) => {
424
486
  const b = (0, core_1.requestBuilder)(input, context);
425
487
  const headers = {
@@ -499,6 +561,21 @@ const de_BatchGetUsersCommand = async (output, context) => {
499
561
  return contents;
500
562
  };
501
563
  exports.de_BatchGetUsersCommand = de_BatchGetUsersCommand;
564
+ const de_BatchGetUsersEmailNotificationsSettingsCommand = async (output, context) => {
565
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
566
+ return de_CommandError(output, context);
567
+ }
568
+ const contents = (0, smithy_client_1.map)({
569
+ $metadata: deserializeMetadata(output),
570
+ });
571
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
572
+ const doc = (0, smithy_client_1.take)(data, {
573
+ 'notifications': smithy_client_1._json,
574
+ });
575
+ Object.assign(contents, doc);
576
+ return contents;
577
+ };
578
+ exports.de_BatchGetUsersEmailNotificationsSettingsCommand = de_BatchGetUsersEmailNotificationsSettingsCommand;
502
579
  const de_BatchGetUsersPbxLinkDataCommand = async (output, context) => {
503
580
  if (output.statusCode !== 200 && output.statusCode >= 300) {
504
581
  return de_CommandError(output, context);
@@ -657,7 +734,7 @@ const de_GetUserCommand = async (output, context) => {
657
734
  return contents;
658
735
  };
659
736
  exports.de_GetUserCommand = de_GetUserCommand;
660
- const de_GetUserPbxLinkDataCommand = async (output, context) => {
737
+ const de_GetUserEmailNotificationsSettingsCommand = async (output, context) => {
661
738
  if (output.statusCode !== 200 && output.statusCode >= 300) {
662
739
  return de_CommandError(output, context);
663
740
  }
@@ -666,13 +743,13 @@ const de_GetUserPbxLinkDataCommand = async (output, context) => {
666
743
  });
667
744
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
668
745
  const doc = (0, smithy_client_1.take)(data, {
669
- 'user': smithy_client_1._json,
746
+ 'notifications': smithy_client_1._json,
670
747
  });
671
748
  Object.assign(contents, doc);
672
749
  return contents;
673
750
  };
674
- exports.de_GetUserPbxLinkDataCommand = de_GetUserPbxLinkDataCommand;
675
- const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
751
+ exports.de_GetUserEmailNotificationsSettingsCommand = de_GetUserEmailNotificationsSettingsCommand;
752
+ const de_GetUserPbxLinkDataCommand = async (output, context) => {
676
753
  if (output.statusCode !== 200 && output.statusCode >= 300) {
677
754
  return de_CommandError(output, context);
678
755
  }
@@ -681,13 +758,13 @@ const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
681
758
  });
682
759
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
683
760
  const doc = (0, smithy_client_1.take)(data, {
684
- 'suggestion': smithy_client_1._json,
761
+ 'user': smithy_client_1._json,
685
762
  });
686
763
  Object.assign(contents, doc);
687
764
  return contents;
688
765
  };
689
- exports.de_GetUserPbxLinkSuggestionCommand = de_GetUserPbxLinkSuggestionCommand;
690
- const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
766
+ exports.de_GetUserPbxLinkDataCommand = de_GetUserPbxLinkDataCommand;
767
+ const de_GetUserPbxLinkSuggestionCommand = async (output, context) => {
691
768
  if (output.statusCode !== 200 && output.statusCode >= 300) {
692
769
  return de_CommandError(output, context);
693
770
  }
@@ -701,8 +778,8 @@ const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
701
778
  Object.assign(contents, doc);
702
779
  return contents;
703
780
  };
704
- exports.de_GetUserPbxLinkSuggestionV1Command = de_GetUserPbxLinkSuggestionV1Command;
705
- const de_GetUserSettingsCommand = async (output, context) => {
781
+ exports.de_GetUserPbxLinkSuggestionCommand = de_GetUserPbxLinkSuggestionCommand;
782
+ const de_GetUserPbxLinkSuggestionV1Command = async (output, context) => {
706
783
  if (output.statusCode !== 200 && output.statusCode >= 300) {
707
784
  return de_CommandError(output, context);
708
785
  }
@@ -711,12 +788,12 @@ const de_GetUserSettingsCommand = async (output, context) => {
711
788
  });
712
789
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
713
790
  const doc = (0, smithy_client_1.take)(data, {
714
- 'emailNotifications': smithy_client_1._json,
791
+ 'suggestion': smithy_client_1._json,
715
792
  });
716
793
  Object.assign(contents, doc);
717
794
  return contents;
718
795
  };
719
- exports.de_GetUserSettingsCommand = de_GetUserSettingsCommand;
796
+ exports.de_GetUserPbxLinkSuggestionV1Command = de_GetUserPbxLinkSuggestionV1Command;
720
797
  const de_ListBotApiKeysCommand = async (output, context) => {
721
798
  if (output.statusCode !== 200 && output.statusCode >= 300) {
722
799
  return de_CommandError(output, context);
@@ -747,7 +824,29 @@ const de_ListBotsCommand = async (output, context) => {
747
824
  return contents;
748
825
  };
749
826
  exports.de_ListBotsCommand = de_ListBotsCommand;
750
- const de_PartialUpdateUserSettingsCommand = async (output, context) => {
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
+ const de_PartialUpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
751
850
  if (output.statusCode !== 200 && output.statusCode >= 300) {
752
851
  return de_CommandError(output, context);
753
852
  }
@@ -756,12 +855,12 @@ const de_PartialUpdateUserSettingsCommand = async (output, context) => {
756
855
  });
757
856
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
758
857
  const doc = (0, smithy_client_1.take)(data, {
759
- 'emailNotifications': smithy_client_1._json,
858
+ 'notifications': smithy_client_1._json,
760
859
  });
761
860
  Object.assign(contents, doc);
762
861
  return contents;
763
862
  };
764
- exports.de_PartialUpdateUserSettingsCommand = de_PartialUpdateUserSettingsCommand;
863
+ exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = de_PartialUpdateUserEmailNotificationsSettingsCommand;
765
864
  const de_QueryColleaguesCommand = async (output, context) => {
766
865
  if (output.statusCode !== 200 && output.statusCode >= 300) {
767
866
  return de_CommandError(output, context);
@@ -837,6 +936,21 @@ const de_UpdateBotCallbackCommand = async (output, context) => {
837
936
  return contents;
838
937
  };
839
938
  exports.de_UpdateBotCallbackCommand = de_UpdateBotCallbackCommand;
939
+ const de_UpdateUserEmailNotificationsSettingsCommand = async (output, context) => {
940
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
941
+ return de_CommandError(output, context);
942
+ }
943
+ const contents = (0, smithy_client_1.map)({
944
+ $metadata: deserializeMetadata(output),
945
+ });
946
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
947
+ const doc = (0, smithy_client_1.take)(data, {
948
+ 'notifications': smithy_client_1._json,
949
+ });
950
+ Object.assign(contents, doc);
951
+ return contents;
952
+ };
953
+ exports.de_UpdateUserEmailNotificationsSettingsCommand = de_UpdateUserEmailNotificationsSettingsCommand;
840
954
  const de_UploadPictureCommand = async (output, context) => {
841
955
  if (output.statusCode !== 200 && output.statusCode >= 300) {
842
956
  return de_CommandError(output, context);
@@ -1125,9 +1239,6 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1125
1239
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1126
1240
  const _c = "company";
1127
1241
  const _e = "email";
1128
- const _t = "token";
1129
- const _u = "user";
1130
- const _uI = "userId";
1131
1242
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then(encoded => {
1132
1243
  if (encoded.length) {
1133
1244
  return JSON.parse(encoded);
package/dist-es/Users.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { UsersClient, } from "./UsersClient";
2
2
  import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
3
+ import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
3
4
  import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
4
5
  import { BatchGetUsersPbxLinkDataV1Command, } from "./commands/BatchGetUsersPbxLinkDataV1Command";
5
6
  import { ChangeUserEmailCommand, } from "./commands/ChangeUserEmailCommand";
@@ -11,18 +12,21 @@ import { DeleteBotCommand, } from "./commands/DeleteBotCommand";
11
12
  import { GetBotCallbackCommand, } from "./commands/GetBotCallbackCommand";
12
13
  import { GetBotCommand, } from "./commands/GetBotCommand";
13
14
  import { GetUserCommand, } from "./commands/GetUserCommand";
15
+ import { GetUserEmailNotificationsSettingsCommand, } from "./commands/GetUserEmailNotificationsSettingsCommand";
14
16
  import { GetUserPbxLinkDataCommand, } from "./commands/GetUserPbxLinkDataCommand";
15
17
  import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSuggestionCommand";
16
18
  import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
17
- import { GetUserSettingsCommand, } from "./commands/GetUserSettingsCommand";
18
19
  import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
19
20
  import { ListBotsCommand, } from "./commands/ListBotsCommand";
20
- import { PartialUpdateUserSettingsCommand, } from "./commands/PartialUpdateUserSettingsCommand";
21
+ import { ManageTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ManageTranscriptionEmailNotificationsSubscriptionCommand";
22
+ import { ManageUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ManageUnreadEmailNotificationsSubscriptionCommand";
23
+ import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
21
24
  import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
22
25
  import { QueryUserCommand, } from "./commands/QueryUserCommand";
23
26
  import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
24
27
  import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
25
28
  import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
29
+ import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateUserEmailNotificationsSettingsCommand";
26
30
  import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
27
31
  import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
28
32
  import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
@@ -30,6 +34,7 @@ import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Com
30
34
  import { createAggregatedClient } from "@smithy/smithy-client";
31
35
  const commands = {
32
36
  BatchGetUsersCommand,
37
+ BatchGetUsersEmailNotificationsSettingsCommand,
33
38
  BatchGetUsersPbxLinkDataCommand,
34
39
  BatchGetUsersPbxLinkDataV1Command,
35
40
  ChangeUserEmailCommand,
@@ -41,18 +46,21 @@ const commands = {
41
46
  GetBotCommand,
42
47
  GetBotCallbackCommand,
43
48
  GetUserCommand,
49
+ GetUserEmailNotificationsSettingsCommand,
44
50
  GetUserPbxLinkDataCommand,
45
51
  GetUserPbxLinkSuggestionCommand,
46
52
  GetUserPbxLinkSuggestionV1Command,
47
- GetUserSettingsCommand,
48
53
  ListBotApiKeysCommand,
49
54
  ListBotsCommand,
50
- PartialUpdateUserSettingsCommand,
55
+ ManageTranscriptionEmailNotificationsSubscriptionCommand,
56
+ ManageUnreadEmailNotificationsSubscriptionCommand,
57
+ PartialUpdateUserEmailNotificationsSettingsCommand,
51
58
  QueryColleaguesCommand,
52
59
  QueryUserCommand,
53
60
  QueryUsersCommand,
54
61
  UpdateBotCommand,
55
62
  UpdateBotCallbackCommand,
63
+ UpdateUserEmailNotificationsSettingsCommand,
56
64
  UploadPictureCommand,
57
65
  UploadPictureV1Command,
58
66
  VerifyBotSecretKeyCommand,