@wildix/xbees-users-client 4.4.0-stage.1 → 4.4.0-wms29809.2

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 (41) hide show
  1. package/dist-cjs/Users.js +6 -10
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +18 -31
  3. package/dist-cjs/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +6 -6
  4. package/dist-cjs/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +6 -6
  5. package/dist-cjs/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +6 -6
  6. package/dist-cjs/commands/index.js +3 -5
  7. package/dist-cjs/models/enums.js +3 -25
  8. package/dist-cjs/models/errors.js +24 -106
  9. package/dist-cjs/schemas/schemas_0.js +69 -180
  10. package/dist-es/Users.js +6 -10
  11. package/dist-es/auth/httpAuthSchemeProvider.js +18 -31
  12. package/dist-es/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +5 -5
  13. package/dist-es/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +5 -5
  14. package/dist-es/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +5 -5
  15. package/dist-es/commands/index.js +3 -5
  16. package/dist-es/models/enums.js +2 -24
  17. package/dist-es/models/errors.js +20 -96
  18. package/dist-es/schemas/schemas_0.js +65 -176
  19. package/dist-types/Users.d.ts +21 -35
  20. package/dist-types/UsersClient.d.ts +5 -7
  21. package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +9 -8
  22. package/dist-types/commands/LinkIdentityCommand.d.ts +89 -0
  23. package/dist-types/commands/ListIdentitiesCommand.d.ts +2 -4
  24. package/dist-types/commands/UnlinkIdentityCommand.d.ts +85 -0
  25. package/dist-types/commands/UpdateAccountCommand.d.ts +1 -2
  26. package/dist-types/commands/VerifyIdentityCommand.d.ts +90 -0
  27. package/dist-types/commands/index.d.ts +3 -5
  28. package/dist-types/models/enums.d.ts +9 -103
  29. package/dist-types/models/errors.d.ts +17 -102
  30. package/dist-types/models/models_0.d.ts +80 -299
  31. package/dist-types/schemas/schemas_0.d.ts +9 -24
  32. package/package.json +1 -1
  33. package/dist-cjs/commands/ConfirmIdentityChallengeCommand.js +0 -20
  34. package/dist-cjs/commands/ResendIdentityChallengeCodeCommand.js +0 -20
  35. package/dist-es/commands/ConfirmIdentityChallengeCommand.js +0 -16
  36. package/dist-es/commands/ResendIdentityChallengeCodeCommand.js +0 -16
  37. package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +0 -93
  38. package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +0 -138
  39. package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +0 -96
  40. package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +0 -89
  41. package/dist-types/commands/StartIdentityChallengeCommand.d.ts +0 -139
package/dist-cjs/Users.js CHANGED
@@ -3,13 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  const ApplyAccountWorkspaceChangesCommand_1 = require("./commands/ApplyAccountWorkspaceChangesCommand");
6
- const ApplyIdentityRemovalCommand_1 = require("./commands/ApplyIdentityRemovalCommand");
7
6
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
8
7
  const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
9
8
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
10
9
  const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
11
10
  const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
12
- const ConfirmIdentityChallengeCommand_1 = require("./commands/ConfirmIdentityChallengeCommand");
13
11
  const CreateAnonymousSessionCommand_1 = require("./commands/CreateAnonymousSessionCommand");
14
12
  const CreateBotApiKeyCommand_1 = require("./commands/CreateBotApiKeyCommand");
15
13
  const CreateBotCommand_1 = require("./commands/CreateBotCommand");
@@ -27,6 +25,7 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
27
25
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
28
26
  const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
29
27
  const InviteCommand_1 = require("./commands/InviteCommand");
28
+ const LinkIdentityCommand_1 = require("./commands/LinkIdentityCommand");
30
29
  const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
31
30
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
32
31
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
@@ -36,11 +35,9 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
36
35
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
37
36
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
38
37
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
39
- const ResendIdentityChallengeCodeCommand_1 = require("./commands/ResendIdentityChallengeCodeCommand");
40
- const ResetUserChatHistoryCommand_1 = require("./commands/ResetUserChatHistoryCommand");
41
- const StartIdentityChallengeCommand_1 = require("./commands/StartIdentityChallengeCommand");
42
38
  const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
43
39
  const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
40
+ const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
44
41
  const UnlinkWorkspaceCommand_1 = require("./commands/UnlinkWorkspaceCommand");
45
42
  const UpdateAccountCommand_1 = require("./commands/UpdateAccountCommand");
46
43
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
@@ -51,17 +48,16 @@ const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
51
48
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
52
49
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
53
50
  const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
51
+ const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
54
52
  const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
55
53
  const UsersClient_1 = require("./UsersClient");
56
54
  const commands = {
57
55
  ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
58
- ApplyIdentityRemovalCommand: ApplyIdentityRemovalCommand_1.ApplyIdentityRemovalCommand,
59
56
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
60
57
  BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
61
58
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
62
59
  BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
63
60
  ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
64
- ConfirmIdentityChallengeCommand: ConfirmIdentityChallengeCommand_1.ConfirmIdentityChallengeCommand,
65
61
  CreateAnonymousSessionCommand: CreateAnonymousSessionCommand_1.CreateAnonymousSessionCommand,
66
62
  CreateBotCommand: CreateBotCommand_1.CreateBotCommand,
67
63
  CreateBotApiKeyCommand: CreateBotApiKeyCommand_1.CreateBotApiKeyCommand,
@@ -79,6 +75,7 @@ const commands = {
79
75
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
80
76
  IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
81
77
  InviteCommand: InviteCommand_1.InviteCommand,
78
+ LinkIdentityCommand: LinkIdentityCommand_1.LinkIdentityCommand,
82
79
  ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
83
80
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
84
81
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
@@ -88,11 +85,9 @@ const commands = {
88
85
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
89
86
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
90
87
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
91
- ResendIdentityChallengeCodeCommand: ResendIdentityChallengeCodeCommand_1.ResendIdentityChallengeCodeCommand,
92
- ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
93
- StartIdentityChallengeCommand: StartIdentityChallengeCommand_1.StartIdentityChallengeCommand,
94
88
  ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
95
89
  ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
90
+ UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
96
91
  UnlinkWorkspaceCommand: UnlinkWorkspaceCommand_1.UnlinkWorkspaceCommand,
97
92
  UpdateAccountCommand: UpdateAccountCommand_1.UpdateAccountCommand,
98
93
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
@@ -103,6 +98,7 @@ const commands = {
103
98
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
104
99
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
105
100
  VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
101
+ VerifyIdentityCommand: VerifyIdentityCommand_1.VerifyIdentityCommand,
106
102
  };
107
103
  const paginators = {
108
104
  paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
@@ -53,20 +53,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
53
53
  break;
54
54
  }
55
55
  ;
56
- case "ApplyIdentityRemoval":
57
- {
58
- options.push(createWildixAuthS2sHttpAuthOption(authParameters));
59
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
60
- break;
61
- }
62
- ;
63
- case "ConfirmIdentityChallenge":
64
- {
65
- options.push(createWildixAuthS2sHttpAuthOption(authParameters));
66
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
67
- break;
68
- }
69
- ;
70
56
  case "CreateAnonymousSession":
71
57
  {
72
58
  options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
@@ -80,40 +66,27 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
80
66
  break;
81
67
  }
82
68
  ;
83
- case "ListAccountEmailChanges":
84
- {
85
- options.push(createWildixAuthS2sHttpAuthOption(authParameters));
86
- break;
87
- }
88
- ;
89
- case "ListIdentities":
69
+ case "LinkIdentity":
90
70
  {
91
71
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
92
72
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
93
73
  break;
94
74
  }
95
75
  ;
96
- case "ListWorkspaces":
76
+ case "ListAccountEmailChanges":
97
77
  {
98
78
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
99
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
100
79
  break;
101
80
  }
102
81
  ;
103
- case "ResendIdentityChallengeCode":
82
+ case "ListIdentities":
104
83
  {
105
84
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
106
85
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
107
86
  break;
108
87
  }
109
88
  ;
110
- case "ResetUserChatHistory":
111
- {
112
- options.push(createWildixAuthPbxHttpAuthOption(authParameters));
113
- break;
114
- }
115
- ;
116
- case "StartIdentityChallenge":
89
+ case "ListWorkspaces":
117
90
  {
118
91
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
119
92
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
@@ -144,6 +117,13 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
144
117
  break;
145
118
  }
146
119
  ;
120
+ case "UnlinkIdentity":
121
+ {
122
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
123
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
124
+ break;
125
+ }
126
+ ;
147
127
  case "UnlinkWorkspace":
148
128
  {
149
129
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -164,6 +144,13 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
164
144
  break;
165
145
  }
166
146
  ;
147
+ case "VerifyIdentity":
148
+ {
149
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
150
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
151
+ break;
152
+ }
153
+ ;
167
154
  default: {
168
155
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
169
156
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApplyIdentityRemovalCommand = exports.$Command = void 0;
3
+ exports.LinkIdentityCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class ApplyIdentityRemovalCommand extends client_1.Command
9
+ class LinkIdentityCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("Users", "ApplyIdentityRemoval", {})
16
- .n("UsersClient", "ApplyIdentityRemovalCommand")
17
- .sc(schemas_0_1.ApplyIdentityRemoval$)
15
+ .s("Users", "LinkIdentity", {})
16
+ .n("UsersClient", "LinkIdentityCommand")
17
+ .sc(schemas_0_1.LinkIdentity$)
18
18
  .build() {
19
19
  }
20
- exports.ApplyIdentityRemovalCommand = ApplyIdentityRemovalCommand;
20
+ exports.LinkIdentityCommand = LinkIdentityCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResetUserChatHistoryCommand = exports.$Command = void 0;
3
+ exports.UnlinkIdentityCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class ResetUserChatHistoryCommand extends client_1.Command
9
+ class UnlinkIdentityCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("Users", "ResetUserChatHistory", {})
16
- .n("UsersClient", "ResetUserChatHistoryCommand")
17
- .sc(schemas_0_1.ResetUserChatHistory$)
15
+ .s("Users", "UnlinkIdentity", {})
16
+ .n("UsersClient", "UnlinkIdentityCommand")
17
+ .sc(schemas_0_1.UnlinkIdentity$)
18
18
  .build() {
19
19
  }
20
- exports.ResetUserChatHistoryCommand = ResetUserChatHistoryCommand;
20
+ exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartIdentityChallengeCommand = exports.$Command = void 0;
3
+ exports.VerifyIdentityCommand = exports.$Command = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
5
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
6
  const endpoints_1 = require("@smithy/core/endpoints");
7
7
  const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
8
  const schemas_0_1 = require("../schemas/schemas_0");
9
- class StartIdentityChallengeCommand extends client_1.Command
9
+ class VerifyIdentityCommand extends client_1.Command
10
10
  .classBuilder()
11
11
  .ep(EndpointParameters_1.commonParams)
12
12
  .m(function (Command, cs, config, o) {
13
13
  return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
14
  })
15
- .s("Users", "StartIdentityChallenge", {})
16
- .n("UsersClient", "StartIdentityChallengeCommand")
17
- .sc(schemas_0_1.StartIdentityChallenge$)
15
+ .s("Users", "VerifyIdentity", {})
16
+ .n("UsersClient", "VerifyIdentityCommand")
17
+ .sc(schemas_0_1.VerifyIdentity$)
18
18
  .build() {
19
19
  }
20
- exports.StartIdentityChallengeCommand = StartIdentityChallengeCommand;
20
+ exports.VerifyIdentityCommand = VerifyIdentityCommand;
@@ -2,13 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./ApplyAccountWorkspaceChangesCommand"), exports);
5
- tslib_1.__exportStar(require("./ApplyIdentityRemovalCommand"), exports);
6
5
  tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
7
6
  tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
8
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
9
8
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
10
9
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
11
- tslib_1.__exportStar(require("./ConfirmIdentityChallengeCommand"), exports);
12
10
  tslib_1.__exportStar(require("./CreateAnonymousSessionCommand"), exports);
13
11
  tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
14
12
  tslib_1.__exportStar(require("./CreateBotCommand"), exports);
@@ -26,6 +24,7 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
26
24
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
27
25
  tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
28
26
  tslib_1.__exportStar(require("./InviteCommand"), exports);
27
+ tslib_1.__exportStar(require("./LinkIdentityCommand"), exports);
29
28
  tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
30
29
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
31
30
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
@@ -35,11 +34,9 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
35
34
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
36
35
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
37
36
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
38
- tslib_1.__exportStar(require("./ResendIdentityChallengeCodeCommand"), exports);
39
- tslib_1.__exportStar(require("./ResetUserChatHistoryCommand"), exports);
40
- tslib_1.__exportStar(require("./StartIdentityChallengeCommand"), exports);
41
37
  tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
42
38
  tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
39
+ tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
43
40
  tslib_1.__exportStar(require("./UnlinkWorkspaceCommand"), exports);
44
41
  tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
45
42
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
@@ -50,3 +47,4 @@ tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
50
47
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
51
48
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
52
49
  tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
50
+ tslib_1.__exportStar(require("./VerifyIdentityCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IdentityChallengeOperation = exports.IdentityChallengeStep = exports.IdentityType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AccountWorkspaceWriteKind = exports.WorkspaceType = exports.AccountWorkspaceRowEntity = exports.AccountWorkspaceEffectStatus = exports.AccountWorkspaceEffectName = exports.AccountWorkspaceCheckCode = exports.AccountWorkspaceRefusalCode = exports.AccountWorkspaceChangeOperation = exports.AccountEmailChangeStatus = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
3
+ exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AccountWorkspaceWriteKind = exports.WorkspaceType = exports.AccountWorkspaceRowEntity = exports.AccountWorkspaceEffectStatus = exports.AccountWorkspaceEffectName = exports.AccountWorkspaceCheckCode = exports.AccountWorkspaceRefusalCode = exports.AccountWorkspaceChangeOperation = exports.AccountEmailChangeStatus = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
4
4
  exports.PbxLicenseType = {
5
5
  BASIC: "basic",
6
6
  BUSINESS: "business",
@@ -78,11 +78,11 @@ exports.AccountWorkspaceChangeOperation = {
78
78
  MAKE_DEFAULT: "makeDefault",
79
79
  };
80
80
  exports.AccountWorkspaceRefusalCode = {
81
+ COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
81
82
  DELETED_WORKSPACE: "deleted_workspace",
82
83
  EXPECTED_INCOMPLETE: "expected_incomplete",
83
84
  FOREIGN_STREAM_EMAIL: "foreign_stream_email",
84
85
  NO_DEFAULT: "no_default",
85
- PBX_OTHER_COMPANY: "pbx_other_company",
86
86
  TOO_MANY_WRITES: "too_many_writes",
87
87
  WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
88
88
  WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
@@ -90,6 +90,7 @@ exports.AccountWorkspaceRefusalCode = {
90
90
  WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
91
91
  };
92
92
  exports.AccountWorkspaceCheckCode = {
93
+ COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
93
94
  CONFLICT: "conflict",
94
95
  DELETED_WORKSPACE: "deleted_workspace",
95
96
  EMAIL_ROUTING_CHANGES: "email_routing_changes",
@@ -98,9 +99,6 @@ exports.AccountWorkspaceCheckCode = {
98
99
  NO_DEFAULT: "no_default",
99
100
  ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
100
101
  ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
101
- PBX_LINK_MOVES: "pbx_link_moves",
102
- PBX_LINK_STAYS: "pbx_link_stays",
103
- PBX_OTHER_COMPANY: "pbx_other_company",
104
102
  TOO_MANY_WRITES: "too_many_writes",
105
103
  WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
106
104
  WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
@@ -110,8 +108,6 @@ exports.AccountWorkspaceCheckCode = {
110
108
  exports.AccountWorkspaceEffectName = {
111
109
  CACHE: "cache",
112
110
  COGNITO: "cognito",
113
- JOB: "job",
114
- STREAM: "stream",
115
111
  };
116
112
  exports.AccountWorkspaceEffectStatus = {
117
113
  FAILED: "failed",
@@ -122,7 +118,6 @@ exports.AccountWorkspaceRowEntity = {
122
118
  ACCOUNT_SETTINGS: "accountSettings",
123
119
  MEMBERSHIP: "membership",
124
120
  PBX: "pbx",
125
- PBX_USER: "pbxUser",
126
121
  STREAM: "stream",
127
122
  };
128
123
  exports.WorkspaceType = {
@@ -131,7 +126,6 @@ exports.WorkspaceType = {
131
126
  WORK: "work",
132
127
  };
133
128
  exports.AccountWorkspaceWriteKind = {
134
- APPEND: "append",
135
129
  DELETE: "delete",
136
130
  PUT: "put",
137
131
  UPDATE: "update",
@@ -168,19 +162,3 @@ exports.BotLlmFunctionIntegrationMethod = {
168
162
  exports.BotLlmToolType = {
169
163
  FUNCTION: "function",
170
164
  };
171
- exports.IdentityType = {
172
- EMAIL: "email",
173
- PHONE: "phone",
174
- };
175
- exports.IdentityChallengeStep = {
176
- DONE: "done",
177
- PRIMARY_CODE: "primaryCode",
178
- READY_TO_APPLY: "readyToApply",
179
- TARGET_CODE: "targetCode",
180
- };
181
- exports.IdentityChallengeOperation = {
182
- ADD: "add",
183
- MAKE_PRIMARY: "makePrimary",
184
- REMOVE: "remove",
185
- VERIFY: "verify",
186
- };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.PublicAccessIsRestrictedException = exports.TooManyAttemptsException = exports.RateLimitedException = exports.IncorrectCodeException = exports.IdentityAlreadyLinkedException = exports.CodeExpiredException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.IdentityNotFoundException = exports.ChallengeNotFoundException = exports.CannotRemovePrimaryIdentityException = exports.AccountWorkspaceConflictException = exports.AccountWorkspaceChangeRefusedException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.ServiceUnavailableException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
3
+ exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.IdentityNotFoundException = exports.IdentityAlreadyLinkedException = exports.PublicAccessIsRestrictedException = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.CannotUnbindDefaultWorkspaceException = exports.CannotRemovePrimaryIdentityException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotAlreadyExistsException = exports.AccountWorkspaceConflictException = exports.AccountWorkspaceChangeRefusedException = exports.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ForbiddenException extends UsersServiceException_1.UsersServiceException {
6
6
  name = "ForbiddenException";
@@ -36,19 +36,6 @@ class RateLimitExceededException extends UsersServiceException_1.UsersServiceExc
36
36
  }
37
37
  }
38
38
  exports.RateLimitExceededException = RateLimitExceededException;
39
- class ServiceUnavailableException extends UsersServiceException_1.UsersServiceException {
40
- name = "ServiceUnavailableException";
41
- $fault = "server";
42
- constructor(opts) {
43
- super({
44
- name: "ServiceUnavailableException",
45
- $fault: "server",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
49
- }
50
- }
51
- exports.ServiceUnavailableException = ServiceUnavailableException;
52
39
  class ValidationException extends UsersServiceException_1.UsersServiceException {
53
40
  name = "ValidationException";
54
41
  $fault = "client";
@@ -139,45 +126,6 @@ class AccountWorkspaceConflictException extends UsersServiceException_1.UsersSer
139
126
  }
140
127
  }
141
128
  exports.AccountWorkspaceConflictException = AccountWorkspaceConflictException;
142
- class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
143
- name = "CannotRemovePrimaryIdentityException";
144
- $fault = "client";
145
- constructor(opts) {
146
- super({
147
- name: "CannotRemovePrimaryIdentityException",
148
- $fault: "client",
149
- ...opts,
150
- });
151
- Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
152
- }
153
- }
154
- exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
155
- class ChallengeNotFoundException extends UsersServiceException_1.UsersServiceException {
156
- name = "ChallengeNotFoundException";
157
- $fault = "client";
158
- constructor(opts) {
159
- super({
160
- name: "ChallengeNotFoundException",
161
- $fault: "client",
162
- ...opts,
163
- });
164
- Object.setPrototypeOf(this, ChallengeNotFoundException.prototype);
165
- }
166
- }
167
- exports.ChallengeNotFoundException = ChallengeNotFoundException;
168
- class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
169
- name = "IdentityNotFoundException";
170
- $fault = "client";
171
- constructor(opts) {
172
- super({
173
- name: "IdentityNotFoundException",
174
- $fault: "client",
175
- ...opts,
176
- });
177
- Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
178
- }
179
- }
180
- exports.IdentityNotFoundException = IdentityNotFoundException;
181
129
  class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
182
130
  name = "BotAlreadyExistsException";
183
131
  $fault = "client";
@@ -230,6 +178,19 @@ class BotSecretKeyNotValidException extends UsersServiceException_1.UsersService
230
178
  }
231
179
  }
232
180
  exports.BotSecretKeyNotValidException = BotSecretKeyNotValidException;
181
+ class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
182
+ name = "CannotRemovePrimaryIdentityException";
183
+ $fault = "client";
184
+ constructor(opts) {
185
+ super({
186
+ name: "CannotRemovePrimaryIdentityException",
187
+ $fault: "client",
188
+ ...opts,
189
+ });
190
+ Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
191
+ }
192
+ }
193
+ exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
233
194
  class CannotUnbindDefaultWorkspaceException extends UsersServiceException_1.UsersServiceException {
234
195
  name = "CannotUnbindDefaultWorkspaceException";
235
196
  $fault = "client";
@@ -269,19 +230,19 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
269
230
  }
270
231
  }
271
232
  exports.UserNotFoundException = UserNotFoundException;
272
- class CodeExpiredException extends UsersServiceException_1.UsersServiceException {
273
- name = "CodeExpiredException";
233
+ class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
234
+ name = "PublicAccessIsRestrictedException";
274
235
  $fault = "client";
275
236
  constructor(opts) {
276
237
  super({
277
- name: "CodeExpiredException",
238
+ name: "PublicAccessIsRestrictedException",
278
239
  $fault: "client",
279
240
  ...opts,
280
241
  });
281
- Object.setPrototypeOf(this, CodeExpiredException.prototype);
242
+ Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
282
243
  }
283
244
  }
284
- exports.CodeExpiredException = CodeExpiredException;
245
+ exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
285
246
  class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServiceException {
286
247
  name = "IdentityAlreadyLinkedException";
287
248
  $fault = "client";
@@ -295,62 +256,19 @@ class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServic
295
256
  }
296
257
  }
297
258
  exports.IdentityAlreadyLinkedException = IdentityAlreadyLinkedException;
298
- class IncorrectCodeException extends UsersServiceException_1.UsersServiceException {
299
- name = "IncorrectCodeException";
300
- $fault = "client";
301
- constructor(opts) {
302
- super({
303
- name: "IncorrectCodeException",
304
- $fault: "client",
305
- ...opts,
306
- });
307
- Object.setPrototypeOf(this, IncorrectCodeException.prototype);
308
- }
309
- }
310
- exports.IncorrectCodeException = IncorrectCodeException;
311
- class RateLimitedException extends UsersServiceException_1.UsersServiceException {
312
- name = "RateLimitedException";
313
- $fault = "client";
314
- retryAfter;
315
- constructor(opts) {
316
- super({
317
- name: "RateLimitedException",
318
- $fault: "client",
319
- ...opts,
320
- });
321
- Object.setPrototypeOf(this, RateLimitedException.prototype);
322
- this.retryAfter = opts.retryAfter;
323
- }
324
- }
325
- exports.RateLimitedException = RateLimitedException;
326
- class TooManyAttemptsException extends UsersServiceException_1.UsersServiceException {
327
- name = "TooManyAttemptsException";
328
- $fault = "client";
329
- retryAfter;
330
- constructor(opts) {
331
- super({
332
- name: "TooManyAttemptsException",
333
- $fault: "client",
334
- ...opts,
335
- });
336
- Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
337
- this.retryAfter = opts.retryAfter;
338
- }
339
- }
340
- exports.TooManyAttemptsException = TooManyAttemptsException;
341
- class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
342
- name = "PublicAccessIsRestrictedException";
259
+ class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
260
+ name = "IdentityNotFoundException";
343
261
  $fault = "client";
344
262
  constructor(opts) {
345
263
  super({
346
- name: "PublicAccessIsRestrictedException",
264
+ name: "IdentityNotFoundException",
347
265
  $fault: "client",
348
266
  ...opts,
349
267
  });
350
- Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
268
+ Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
351
269
  }
352
270
  }
353
- exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
271
+ exports.IdentityNotFoundException = IdentityNotFoundException;
354
272
  class UserQueryPredicateNotMetException extends UsersServiceException_1.UsersServiceException {
355
273
  name = "UserQueryPredicateNotMetException";
356
274
  $fault = "client";