@wildix/xbees-users-client 1.1.0 → 1.2.3

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 (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
package/dist-cjs/Users.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const UsersClient_1 = require("./UsersClient");
5
+ const AddIdentityCommand_1 = require("./commands/AddIdentityCommand");
5
6
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
6
7
  const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
7
8
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
@@ -12,6 +13,7 @@ const CreateBotCommand_1 = require("./commands/CreateBotCommand");
12
13
  const CreateSystemBotCommand_1 = require("./commands/CreateSystemBotCommand");
13
14
  const DeleteBotApiKeyCommand_1 = require("./commands/DeleteBotApiKeyCommand");
14
15
  const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
16
+ const GetAccountCommand_1 = require("./commands/GetAccountCommand");
15
17
  const GetAppVersionCommand_1 = require("./commands/GetAppVersionCommand");
16
18
  const GetBotCallbackCommand_1 = require("./commands/GetBotCallbackCommand");
17
19
  const GetBotCommand_1 = require("./commands/GetBotCommand");
@@ -21,23 +23,32 @@ const GetUserPbxLinkDataCommand_1 = require("./commands/GetUserPbxLinkDataComman
21
23
  const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSuggestionCommand");
22
24
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
23
25
  const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
26
+ const InviteCommand_1 = require("./commands/InviteCommand");
27
+ const ListAccountIdentitiesCommand_1 = require("./commands/ListAccountIdentitiesCommand");
24
28
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
25
29
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
30
+ const ListWorkspacesCommand_1 = require("./commands/ListWorkspacesCommand");
26
31
  const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/PartialUpdateUserEmailNotificationsSettingsCommand");
27
32
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
28
33
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
29
34
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
35
+ const RemoveIdentityCommand_1 = require("./commands/RemoveIdentityCommand");
30
36
  const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
31
37
  const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
38
+ const UnbindWorkspaceCommand_1 = require("./commands/UnbindWorkspaceCommand");
39
+ const UpdateAccountCommand_1 = require("./commands/UpdateAccountCommand");
32
40
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
33
41
  const UpdateBotCommand_1 = require("./commands/UpdateBotCommand");
34
42
  const UpdateUserEmailNotificationsSettingsCommand_1 = require("./commands/UpdateUserEmailNotificationsSettingsCommand");
43
+ const UpdateWorkspaceCommand_1 = require("./commands/UpdateWorkspaceCommand");
35
44
  const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
36
45
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
46
+ const VerifyAddIdentityCommand_1 = require("./commands/VerifyAddIdentityCommand");
37
47
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
38
48
  const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
39
49
  const smithy_client_1 = require("@smithy/smithy-client");
40
50
  const commands = {
51
+ AddIdentityCommand: AddIdentityCommand_1.AddIdentityCommand,
41
52
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
42
53
  BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
43
54
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
@@ -48,6 +59,7 @@ const commands = {
48
59
  CreateSystemBotCommand: CreateSystemBotCommand_1.CreateSystemBotCommand,
49
60
  DeleteBotCommand: DeleteBotCommand_1.DeleteBotCommand,
50
61
  DeleteBotApiKeyCommand: DeleteBotApiKeyCommand_1.DeleteBotApiKeyCommand,
62
+ GetAccountCommand: GetAccountCommand_1.GetAccountCommand,
51
63
  GetAppVersionCommand: GetAppVersionCommand_1.GetAppVersionCommand,
52
64
  GetBotCommand: GetBotCommand_1.GetBotCommand,
53
65
  GetBotCallbackCommand: GetBotCallbackCommand_1.GetBotCallbackCommand,
@@ -57,19 +69,27 @@ const commands = {
57
69
  GetUserPbxLinkSuggestionCommand: GetUserPbxLinkSuggestionCommand_1.GetUserPbxLinkSuggestionCommand,
58
70
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
59
71
  IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
72
+ InviteCommand: InviteCommand_1.InviteCommand,
73
+ ListAccountIdentitiesCommand: ListAccountIdentitiesCommand_1.ListAccountIdentitiesCommand,
60
74
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
61
75
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
76
+ ListWorkspacesCommand: ListWorkspacesCommand_1.ListWorkspacesCommand,
62
77
  PartialUpdateUserEmailNotificationsSettingsCommand: PartialUpdateUserEmailNotificationsSettingsCommand_1.PartialUpdateUserEmailNotificationsSettingsCommand,
63
78
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
64
79
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
65
80
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
81
+ RemoveIdentityCommand: RemoveIdentityCommand_1.RemoveIdentityCommand,
66
82
  ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
67
83
  ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
84
+ UnbindWorkspaceCommand: UnbindWorkspaceCommand_1.UnbindWorkspaceCommand,
85
+ UpdateAccountCommand: UpdateAccountCommand_1.UpdateAccountCommand,
68
86
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
69
87
  UpdateBotCallbackCommand: UpdateBotCallbackCommand_1.UpdateBotCallbackCommand,
70
88
  UpdateUserEmailNotificationsSettingsCommand: UpdateUserEmailNotificationsSettingsCommand_1.UpdateUserEmailNotificationsSettingsCommand,
89
+ UpdateWorkspaceCommand: UpdateWorkspaceCommand_1.UpdateWorkspaceCommand,
71
90
  UploadPictureCommand: UploadPictureCommand_1.UploadPictureCommand,
72
91
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
92
+ VerifyAddIdentityCommand: VerifyAddIdentityCommand_1.VerifyAddIdentityCommand,
73
93
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
74
94
  VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
75
95
  };
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddIdentityCommand = 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 AddIdentityCommand 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", "AddIdentity", {})
15
+ .n("UsersClient", "AddIdentityCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_AddIdentityCommand)
18
+ .de(Aws_restJson1_1.de_AddIdentityCommand)
19
+ .build() {
20
+ }
21
+ exports.AddIdentityCommand = AddIdentityCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAccountCommand = 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 GetAccountCommand 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", "GetAccount", {})
15
+ .n("UsersClient", "GetAccountCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_GetAccountCommand)
18
+ .de(Aws_restJson1_1.de_GetAccountCommand)
19
+ .build() {
20
+ }
21
+ exports.GetAccountCommand = GetAccountCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InviteCommand = 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 InviteCommand 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", "Invite", {})
15
+ .n("UsersClient", "InviteCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_InviteCommand)
18
+ .de(Aws_restJson1_1.de_InviteCommand)
19
+ .build() {
20
+ }
21
+ exports.InviteCommand = InviteCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAccountIdentitiesCommand = 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 ListAccountIdentitiesCommand 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", "ListAccountIdentities", {})
15
+ .n("UsersClient", "ListAccountIdentitiesCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ListAccountIdentitiesCommand)
18
+ .de(Aws_restJson1_1.de_ListAccountIdentitiesCommand)
19
+ .build() {
20
+ }
21
+ exports.ListAccountIdentitiesCommand = ListAccountIdentitiesCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkspacesCommand = 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 ListWorkspacesCommand 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", "ListWorkspaces", {})
15
+ .n("UsersClient", "ListWorkspacesCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_ListWorkspacesCommand)
18
+ .de(Aws_restJson1_1.de_ListWorkspacesCommand)
19
+ .build() {
20
+ }
21
+ exports.ListWorkspacesCommand = ListWorkspacesCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoveIdentityCommand = 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 RemoveIdentityCommand 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", "RemoveIdentity", {})
15
+ .n("UsersClient", "RemoveIdentityCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_RemoveIdentityCommand)
18
+ .de(Aws_restJson1_1.de_RemoveIdentityCommand)
19
+ .build() {
20
+ }
21
+ exports.RemoveIdentityCommand = RemoveIdentityCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnbindWorkspaceCommand = 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 UnbindWorkspaceCommand 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", "UnbindWorkspace", {})
15
+ .n("UsersClient", "UnbindWorkspaceCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UnbindWorkspaceCommand)
18
+ .de(Aws_restJson1_1.de_UnbindWorkspaceCommand)
19
+ .build() {
20
+ }
21
+ exports.UnbindWorkspaceCommand = UnbindWorkspaceCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAccountCommand = 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 UpdateAccountCommand 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", "UpdateAccount", {})
15
+ .n("UsersClient", "UpdateAccountCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateAccountCommand)
18
+ .de(Aws_restJson1_1.de_UpdateAccountCommand)
19
+ .build() {
20
+ }
21
+ exports.UpdateAccountCommand = UpdateAccountCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateWorkspaceCommand = 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 UpdateWorkspaceCommand 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", "UpdateWorkspace", {})
15
+ .n("UsersClient", "UpdateWorkspaceCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_UpdateWorkspaceCommand)
18
+ .de(Aws_restJson1_1.de_UpdateWorkspaceCommand)
19
+ .build() {
20
+ }
21
+ exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifyAddIdentityCommand = 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 VerifyAddIdentityCommand 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", "VerifyAddIdentity", {})
15
+ .n("UsersClient", "VerifyAddIdentityCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_VerifyAddIdentityCommand)
18
+ .de(Aws_restJson1_1.de_VerifyAddIdentityCommand)
19
+ .build() {
20
+ }
21
+ exports.VerifyAddIdentityCommand = VerifyAddIdentityCommand;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AddIdentityCommand"), exports);
4
5
  tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
5
6
  tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
6
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
@@ -11,6 +12,7 @@ tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
11
12
  tslib_1.__exportStar(require("./CreateSystemBotCommand"), exports);
12
13
  tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
13
14
  tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetAccountCommand"), exports);
14
16
  tslib_1.__exportStar(require("./GetAppVersionCommand"), exports);
15
17
  tslib_1.__exportStar(require("./GetBotCommand"), exports);
16
18
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
@@ -20,18 +22,26 @@ tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
20
22
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
21
23
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
22
24
  tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
25
+ tslib_1.__exportStar(require("./InviteCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListAccountIdentitiesCommand"), exports);
23
27
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
24
28
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListWorkspacesCommand"), exports);
25
30
  tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsCommand"), exports);
26
31
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
27
32
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
28
33
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
34
+ tslib_1.__exportStar(require("./RemoveIdentityCommand"), exports);
29
35
  tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
30
36
  tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
37
+ tslib_1.__exportStar(require("./UnbindWorkspaceCommand"), exports);
38
+ tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
31
39
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
32
40
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
33
41
  tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
42
+ tslib_1.__exportStar(require("./UpdateWorkspaceCommand"), exports);
34
43
  tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
35
44
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
45
+ tslib_1.__exportStar(require("./VerifyAddIdentityCommand"), exports);
36
46
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
37
47
  tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.WorkspaceType = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.WorkspaceNotFoundException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.AccountNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ForbiddenException extends UsersServiceException_1.UsersServiceException {
6
6
  name = "ForbiddenException";
@@ -69,6 +69,84 @@ exports.PbxColleaguesSearchStrategy = {
69
69
  CONTAIN: "contain",
70
70
  STARTS_WITH: "startsWith",
71
71
  };
72
+ class AccountNotFoundException extends UsersServiceException_1.UsersServiceException {
73
+ name = "AccountNotFoundException";
74
+ $fault = "client";
75
+ constructor(opts) {
76
+ super({
77
+ name: "AccountNotFoundException",
78
+ $fault: "client",
79
+ ...opts
80
+ });
81
+ Object.setPrototypeOf(this, AccountNotFoundException.prototype);
82
+ }
83
+ }
84
+ exports.AccountNotFoundException = AccountNotFoundException;
85
+ class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
86
+ name = "CannotRemovePrimaryIdentityException";
87
+ $fault = "client";
88
+ constructor(opts) {
89
+ super({
90
+ name: "CannotRemovePrimaryIdentityException",
91
+ $fault: "client",
92
+ ...opts
93
+ });
94
+ Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
95
+ }
96
+ }
97
+ exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
98
+ class CannotUnbindDefaultWorkspaceException extends UsersServiceException_1.UsersServiceException {
99
+ name = "CannotUnbindDefaultWorkspaceException";
100
+ $fault = "client";
101
+ constructor(opts) {
102
+ super({
103
+ name: "CannotUnbindDefaultWorkspaceException",
104
+ $fault: "client",
105
+ ...opts
106
+ });
107
+ Object.setPrototypeOf(this, CannotUnbindDefaultWorkspaceException.prototype);
108
+ }
109
+ }
110
+ exports.CannotUnbindDefaultWorkspaceException = CannotUnbindDefaultWorkspaceException;
111
+ class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServiceException {
112
+ name = "IdentityAlreadyLinkedException";
113
+ $fault = "client";
114
+ constructor(opts) {
115
+ super({
116
+ name: "IdentityAlreadyLinkedException",
117
+ $fault: "client",
118
+ ...opts
119
+ });
120
+ Object.setPrototypeOf(this, IdentityAlreadyLinkedException.prototype);
121
+ }
122
+ }
123
+ exports.IdentityAlreadyLinkedException = IdentityAlreadyLinkedException;
124
+ class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
125
+ name = "IdentityNotFoundException";
126
+ $fault = "client";
127
+ constructor(opts) {
128
+ super({
129
+ name: "IdentityNotFoundException",
130
+ $fault: "client",
131
+ ...opts
132
+ });
133
+ Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
134
+ }
135
+ }
136
+ exports.IdentityNotFoundException = IdentityNotFoundException;
137
+ class WorkspaceNotFoundException extends UsersServiceException_1.UsersServiceException {
138
+ name = "WorkspaceNotFoundException";
139
+ $fault = "client";
140
+ constructor(opts) {
141
+ super({
142
+ name: "WorkspaceNotFoundException",
143
+ $fault: "client",
144
+ ...opts
145
+ });
146
+ Object.setPrototypeOf(this, WorkspaceNotFoundException.prototype);
147
+ }
148
+ }
149
+ exports.WorkspaceNotFoundException = WorkspaceNotFoundException;
72
150
  exports.AppType = {
73
151
  COLLABORATION: "collaboration",
74
152
  X_BEES: "x-bees",
@@ -229,6 +307,11 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
229
307
  }
230
308
  }
231
309
  exports.UserNotFoundException = UserNotFoundException;
310
+ exports.WorkspaceType = {
311
+ PERSONAL: "personal",
312
+ SUPPORT: "support",
313
+ WORK: "work",
314
+ };
232
315
  var UserQuery;
233
316
  (function (UserQuery) {
234
317
  UserQuery.visit = (value, visitor) => {