@wildix/xbees-users-client 4.3.2 → 4.3.3-wms26787.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 (42) hide show
  1. package/dist-cjs/Users.js +10 -6
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +30 -17
  3. package/dist-cjs/commands/{LinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +6 -6
  4. package/dist-cjs/commands/ConfirmIdentityChallengeCommand.js +20 -0
  5. package/dist-cjs/commands/ResendIdentityChallengeCodeCommand.js +20 -0
  6. package/dist-cjs/commands/{UnlinkIdentityCommand.js → ResetUserChatHistoryCommand.js} +6 -6
  7. package/dist-cjs/commands/{VerifyIdentityCommand.js → StartIdentityChallengeCommand.js} +6 -6
  8. package/dist-cjs/commands/index.js +5 -3
  9. package/dist-cjs/models/enums.js +17 -1
  10. package/dist-cjs/models/errors.js +106 -24
  11. package/dist-cjs/schemas/schemas_0.js +199 -85
  12. package/dist-es/Users.js +10 -6
  13. package/dist-es/auth/httpAuthSchemeProvider.js +30 -17
  14. package/dist-es/commands/{UnlinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +5 -5
  15. package/dist-es/commands/ConfirmIdentityChallengeCommand.js +16 -0
  16. package/dist-es/commands/ResendIdentityChallengeCodeCommand.js +16 -0
  17. package/dist-es/commands/{VerifyIdentityCommand.js → ResetUserChatHistoryCommand.js} +5 -5
  18. package/dist-es/commands/{LinkIdentityCommand.js → StartIdentityChallengeCommand.js} +5 -5
  19. package/dist-es/commands/index.js +5 -3
  20. package/dist-es/models/enums.js +16 -0
  21. package/dist-es/models/errors.js +96 -20
  22. package/dist-es/schemas/schemas_0.js +195 -81
  23. package/dist-types/Users.d.ts +35 -21
  24. package/dist-types/UsersClient.d.ts +7 -5
  25. package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +93 -0
  26. package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +138 -0
  27. package/dist-types/commands/ListIdentitiesCommand.d.ts +4 -2
  28. package/dist-types/commands/QueryUserCommand.d.ts +1 -1
  29. package/dist-types/commands/QueryUsersCommand.d.ts +1 -1
  30. package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +96 -0
  31. package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +89 -0
  32. package/dist-types/commands/StartIdentityChallengeCommand.d.ts +139 -0
  33. package/dist-types/commands/UpdateAccountCommand.d.ts +2 -1
  34. package/dist-types/commands/index.d.ts +5 -3
  35. package/dist-types/models/enums.d.ts +70 -0
  36. package/dist-types/models/errors.d.ts +102 -17
  37. package/dist-types/models/models_0.d.ts +302 -83
  38. package/dist-types/schemas/schemas_0.d.ts +24 -9
  39. package/package.json +5 -5
  40. package/dist-types/commands/LinkIdentityCommand.d.ts +0 -89
  41. package/dist-types/commands/UnlinkIdentityCommand.d.ts +0 -85
  42. package/dist-types/commands/VerifyIdentityCommand.d.ts +0 -90
package/dist-cjs/Users.js CHANGED
@@ -2,11 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
+ const ApplyIdentityRemovalCommand_1 = require("./commands/ApplyIdentityRemovalCommand");
5
6
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
6
7
  const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
7
8
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
8
9
  const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
9
10
  const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
11
+ const ConfirmIdentityChallengeCommand_1 = require("./commands/ConfirmIdentityChallengeCommand");
10
12
  const CreateAnonymousSessionCommand_1 = require("./commands/CreateAnonymousSessionCommand");
11
13
  const CreateBotApiKeyCommand_1 = require("./commands/CreateBotApiKeyCommand");
12
14
  const CreateBotCommand_1 = require("./commands/CreateBotCommand");
@@ -24,7 +26,6 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
24
26
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
25
27
  const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
26
28
  const InviteCommand_1 = require("./commands/InviteCommand");
27
- const LinkIdentityCommand_1 = require("./commands/LinkIdentityCommand");
28
29
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
29
30
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
30
31
  const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
@@ -33,9 +34,11 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
33
34
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
34
35
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
35
36
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
37
+ const ResendIdentityChallengeCodeCommand_1 = require("./commands/ResendIdentityChallengeCodeCommand");
38
+ const ResetUserChatHistoryCommand_1 = require("./commands/ResetUserChatHistoryCommand");
39
+ const StartIdentityChallengeCommand_1 = require("./commands/StartIdentityChallengeCommand");
36
40
  const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
37
41
  const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
38
- const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
39
42
  const UnlinkWorkspaceCommand_1 = require("./commands/UnlinkWorkspaceCommand");
40
43
  const UpdateAccountCommand_1 = require("./commands/UpdateAccountCommand");
41
44
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
@@ -46,14 +49,15 @@ const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
46
49
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
47
50
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
48
51
  const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
49
- const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
50
52
  const UsersClient_1 = require("./UsersClient");
51
53
  const commands = {
54
+ ApplyIdentityRemovalCommand: ApplyIdentityRemovalCommand_1.ApplyIdentityRemovalCommand,
52
55
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
53
56
  BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
54
57
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
55
58
  BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
56
59
  ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
60
+ ConfirmIdentityChallengeCommand: ConfirmIdentityChallengeCommand_1.ConfirmIdentityChallengeCommand,
57
61
  CreateAnonymousSessionCommand: CreateAnonymousSessionCommand_1.CreateAnonymousSessionCommand,
58
62
  CreateBotCommand: CreateBotCommand_1.CreateBotCommand,
59
63
  CreateBotApiKeyCommand: CreateBotApiKeyCommand_1.CreateBotApiKeyCommand,
@@ -71,7 +75,6 @@ const commands = {
71
75
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
72
76
  IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
73
77
  InviteCommand: InviteCommand_1.InviteCommand,
74
- LinkIdentityCommand: LinkIdentityCommand_1.LinkIdentityCommand,
75
78
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
76
79
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
77
80
  ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
@@ -80,9 +83,11 @@ const commands = {
80
83
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
81
84
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
82
85
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
86
+ ResendIdentityChallengeCodeCommand: ResendIdentityChallengeCodeCommand_1.ResendIdentityChallengeCodeCommand,
87
+ ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
88
+ StartIdentityChallengeCommand: StartIdentityChallengeCommand_1.StartIdentityChallengeCommand,
83
89
  ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
84
90
  ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
85
- UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
86
91
  UnlinkWorkspaceCommand: UnlinkWorkspaceCommand_1.UnlinkWorkspaceCommand,
87
92
  UpdateAccountCommand: UpdateAccountCommand_1.UpdateAccountCommand,
88
93
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
@@ -93,7 +98,6 @@ const commands = {
93
98
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
94
99
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
95
100
  VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
96
- VerifyIdentityCommand: VerifyIdentityCommand_1.VerifyIdentityCommand,
97
101
  };
98
102
  class Users extends UsersClient_1.UsersClient {
99
103
  }
@@ -47,6 +47,20 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
47
47
  const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
48
48
  const options = [];
49
49
  switch (authParameters.operation) {
50
+ case "ApplyIdentityRemoval":
51
+ {
52
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
53
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
54
+ break;
55
+ }
56
+ ;
57
+ case "ConfirmIdentityChallenge":
58
+ {
59
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
60
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
61
+ break;
62
+ }
63
+ ;
50
64
  case "CreateAnonymousSession":
51
65
  {
52
66
  options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
@@ -60,21 +74,34 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
60
74
  break;
61
75
  }
62
76
  ;
63
- case "LinkIdentity":
77
+ case "ListIdentities":
64
78
  {
65
79
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
66
80
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
67
81
  break;
68
82
  }
69
83
  ;
70
- case "ListIdentities":
84
+ case "ListWorkspaces":
71
85
  {
72
86
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
73
87
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
74
88
  break;
75
89
  }
76
90
  ;
77
- case "ListWorkspaces":
91
+ case "ResendIdentityChallengeCode":
92
+ {
93
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
94
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
95
+ break;
96
+ }
97
+ ;
98
+ case "ResetUserChatHistory":
99
+ {
100
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
101
+ break;
102
+ }
103
+ ;
104
+ case "StartIdentityChallenge":
78
105
  {
79
106
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
80
107
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
@@ -105,13 +132,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
105
132
  break;
106
133
  }
107
134
  ;
108
- case "UnlinkIdentity":
109
- {
110
- options.push(createWildixAuthS2sHttpAuthOption(authParameters));
111
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
112
- break;
113
- }
114
- ;
115
135
  case "UnlinkWorkspace":
116
136
  {
117
137
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -132,13 +152,6 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
132
152
  break;
133
153
  }
134
154
  ;
135
- case "VerifyIdentity":
136
- {
137
- options.push(createWildixAuthS2sHttpAuthOption(authParameters));
138
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
139
- break;
140
- }
141
- ;
142
155
  default: {
143
156
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
144
157
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LinkIdentityCommand = exports.$Command = void 0;
3
+ exports.ApplyIdentityRemovalCommand = 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 LinkIdentityCommand extends client_1.Command
9
+ class ApplyIdentityRemovalCommand 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", "LinkIdentity", {})
16
- .n("UsersClient", "LinkIdentityCommand")
17
- .sc(schemas_0_1.LinkIdentity$)
15
+ .s("Users", "ApplyIdentityRemoval", {})
16
+ .n("UsersClient", "ApplyIdentityRemovalCommand")
17
+ .sc(schemas_0_1.ApplyIdentityRemoval$)
18
18
  .build() {
19
19
  }
20
- exports.LinkIdentityCommand = LinkIdentityCommand;
20
+ exports.ApplyIdentityRemovalCommand = ApplyIdentityRemovalCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConfirmIdentityChallengeCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ConfirmIdentityChallengeCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("Users", "ConfirmIdentityChallenge", {})
16
+ .n("UsersClient", "ConfirmIdentityChallengeCommand")
17
+ .sc(schemas_0_1.ConfirmIdentityChallenge$)
18
+ .build() {
19
+ }
20
+ exports.ConfirmIdentityChallengeCommand = ConfirmIdentityChallengeCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResendIdentityChallengeCodeCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class ResendIdentityChallengeCodeCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("Users", "ResendIdentityChallengeCode", {})
16
+ .n("UsersClient", "ResendIdentityChallengeCodeCommand")
17
+ .sc(schemas_0_1.ResendIdentityChallengeCode$)
18
+ .build() {
19
+ }
20
+ exports.ResendIdentityChallengeCodeCommand = ResendIdentityChallengeCodeCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnlinkIdentityCommand = exports.$Command = void 0;
3
+ exports.ResetUserChatHistoryCommand = 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 UnlinkIdentityCommand extends client_1.Command
9
+ class ResetUserChatHistoryCommand 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", "UnlinkIdentity", {})
16
- .n("UsersClient", "UnlinkIdentityCommand")
17
- .sc(schemas_0_1.UnlinkIdentity$)
15
+ .s("Users", "ResetUserChatHistory", {})
16
+ .n("UsersClient", "ResetUserChatHistoryCommand")
17
+ .sc(schemas_0_1.ResetUserChatHistory$)
18
18
  .build() {
19
19
  }
20
- exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
20
+ exports.ResetUserChatHistoryCommand = ResetUserChatHistoryCommand;
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerifyIdentityCommand = exports.$Command = void 0;
3
+ exports.StartIdentityChallengeCommand = 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 VerifyIdentityCommand extends client_1.Command
9
+ class StartIdentityChallengeCommand 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", "VerifyIdentity", {})
16
- .n("UsersClient", "VerifyIdentityCommand")
17
- .sc(schemas_0_1.VerifyIdentity$)
15
+ .s("Users", "StartIdentityChallenge", {})
16
+ .n("UsersClient", "StartIdentityChallengeCommand")
17
+ .sc(schemas_0_1.StartIdentityChallenge$)
18
18
  .build() {
19
19
  }
20
- exports.VerifyIdentityCommand = VerifyIdentityCommand;
20
+ exports.StartIdentityChallengeCommand = StartIdentityChallengeCommand;
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ApplyIdentityRemovalCommand"), 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);
7
8
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
8
9
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
10
+ tslib_1.__exportStar(require("./ConfirmIdentityChallengeCommand"), exports);
9
11
  tslib_1.__exportStar(require("./CreateAnonymousSessionCommand"), exports);
10
12
  tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
11
13
  tslib_1.__exportStar(require("./CreateBotCommand"), exports);
@@ -23,7 +25,6 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
23
25
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
24
26
  tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
25
27
  tslib_1.__exportStar(require("./InviteCommand"), exports);
26
- tslib_1.__exportStar(require("./LinkIdentityCommand"), exports);
27
28
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
28
29
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
29
30
  tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
@@ -32,9 +33,11 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
32
33
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
33
34
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
34
35
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
36
+ tslib_1.__exportStar(require("./ResendIdentityChallengeCodeCommand"), exports);
37
+ tslib_1.__exportStar(require("./ResetUserChatHistoryCommand"), exports);
38
+ tslib_1.__exportStar(require("./StartIdentityChallengeCommand"), exports);
35
39
  tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
36
40
  tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
37
- tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
38
41
  tslib_1.__exportStar(require("./UnlinkWorkspaceCommand"), exports);
39
42
  tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
40
43
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
@@ -45,4 +48,3 @@ tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
45
48
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
46
49
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
47
50
  tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
48
- tslib_1.__exportStar(require("./VerifyIdentityCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WorkspaceType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.SearchThresholdValue = exports.SearchStrategy = exports.BotSessionTimeoutMinutes = exports.PbxLicenseType = void 0;
3
+ exports.WorkspaceType = exports.IdentityChallengeOperation = exports.IdentityChallengeStep = exports.IdentityType = exports.BotLlmToolType = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmEmbeddedToolType = exports.BotCapabilityToolPipelineType = exports.BotIntegrationType = exports.BotAccess = 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",
@@ -96,6 +96,22 @@ exports.BotLlmFunctionIntegrationMethod = {
96
96
  exports.BotLlmToolType = {
97
97
  FUNCTION: "function",
98
98
  };
99
+ exports.IdentityType = {
100
+ EMAIL: "email",
101
+ PHONE: "phone",
102
+ };
103
+ exports.IdentityChallengeStep = {
104
+ DONE: "done",
105
+ PRIMARY_CODE: "primaryCode",
106
+ READY_TO_APPLY: "readyToApply",
107
+ TARGET_CODE: "targetCode",
108
+ };
109
+ exports.IdentityChallengeOperation = {
110
+ ADD: "add",
111
+ MAKE_PRIMARY: "makePrimary",
112
+ REMOVE: "remove",
113
+ VERIFY: "verify",
114
+ };
99
115
  exports.WorkspaceType = {
100
116
  PERSONAL: "personal",
101
117
  SUPPORT: "support",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
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.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.ServiceUnavailableException = 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,6 +36,19 @@ 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;
39
52
  class ValidationException extends UsersServiceException_1.UsersServiceException {
40
53
  name = "ValidationException";
41
54
  $fault = "client";
@@ -88,6 +101,45 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
88
101
  }
89
102
  }
90
103
  exports.AccountNotFoundException = AccountNotFoundException;
104
+ class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
105
+ name = "CannotRemovePrimaryIdentityException";
106
+ $fault = "client";
107
+ constructor(opts) {
108
+ super({
109
+ name: "CannotRemovePrimaryIdentityException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
114
+ }
115
+ }
116
+ exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
117
+ class ChallengeNotFoundException extends UsersServiceException_1.UsersServiceException {
118
+ name = "ChallengeNotFoundException";
119
+ $fault = "client";
120
+ constructor(opts) {
121
+ super({
122
+ name: "ChallengeNotFoundException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ Object.setPrototypeOf(this, ChallengeNotFoundException.prototype);
127
+ }
128
+ }
129
+ exports.ChallengeNotFoundException = ChallengeNotFoundException;
130
+ class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
131
+ name = "IdentityNotFoundException";
132
+ $fault = "client";
133
+ constructor(opts) {
134
+ super({
135
+ name: "IdentityNotFoundException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
140
+ }
141
+ }
142
+ exports.IdentityNotFoundException = IdentityNotFoundException;
91
143
  class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
92
144
  name = "BotAlreadyExistsException";
93
145
  $fault = "client";
@@ -140,19 +192,6 @@ class BotSecretKeyNotValidException extends UsersServiceException_1.UsersService
140
192
  }
141
193
  }
142
194
  exports.BotSecretKeyNotValidException = BotSecretKeyNotValidException;
143
- class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
144
- name = "CannotRemovePrimaryIdentityException";
145
- $fault = "client";
146
- constructor(opts) {
147
- super({
148
- name: "CannotRemovePrimaryIdentityException",
149
- $fault: "client",
150
- ...opts,
151
- });
152
- Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
153
- }
154
- }
155
- exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
156
195
  class CannotUnbindDefaultWorkspaceException extends UsersServiceException_1.UsersServiceException {
157
196
  name = "CannotUnbindDefaultWorkspaceException";
158
197
  $fault = "client";
@@ -192,19 +231,19 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
192
231
  }
193
232
  }
194
233
  exports.UserNotFoundException = UserNotFoundException;
195
- class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
196
- name = "PublicAccessIsRestrictedException";
234
+ class CodeExpiredException extends UsersServiceException_1.UsersServiceException {
235
+ name = "CodeExpiredException";
197
236
  $fault = "client";
198
237
  constructor(opts) {
199
238
  super({
200
- name: "PublicAccessIsRestrictedException",
239
+ name: "CodeExpiredException",
201
240
  $fault: "client",
202
241
  ...opts,
203
242
  });
204
- Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
243
+ Object.setPrototypeOf(this, CodeExpiredException.prototype);
205
244
  }
206
245
  }
207
- exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
246
+ exports.CodeExpiredException = CodeExpiredException;
208
247
  class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServiceException {
209
248
  name = "IdentityAlreadyLinkedException";
210
249
  $fault = "client";
@@ -218,19 +257,62 @@ class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServic
218
257
  }
219
258
  }
220
259
  exports.IdentityAlreadyLinkedException = IdentityAlreadyLinkedException;
221
- class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
222
- name = "IdentityNotFoundException";
260
+ class IncorrectCodeException extends UsersServiceException_1.UsersServiceException {
261
+ name = "IncorrectCodeException";
223
262
  $fault = "client";
224
263
  constructor(opts) {
225
264
  super({
226
- name: "IdentityNotFoundException",
265
+ name: "IncorrectCodeException",
227
266
  $fault: "client",
228
267
  ...opts,
229
268
  });
230
- Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
269
+ Object.setPrototypeOf(this, IncorrectCodeException.prototype);
231
270
  }
232
271
  }
233
- exports.IdentityNotFoundException = IdentityNotFoundException;
272
+ exports.IncorrectCodeException = IncorrectCodeException;
273
+ class RateLimitedException extends UsersServiceException_1.UsersServiceException {
274
+ name = "RateLimitedException";
275
+ $fault = "client";
276
+ retryAfter;
277
+ constructor(opts) {
278
+ super({
279
+ name: "RateLimitedException",
280
+ $fault: "client",
281
+ ...opts,
282
+ });
283
+ Object.setPrototypeOf(this, RateLimitedException.prototype);
284
+ this.retryAfter = opts.retryAfter;
285
+ }
286
+ }
287
+ exports.RateLimitedException = RateLimitedException;
288
+ class TooManyAttemptsException extends UsersServiceException_1.UsersServiceException {
289
+ name = "TooManyAttemptsException";
290
+ $fault = "client";
291
+ retryAfter;
292
+ constructor(opts) {
293
+ super({
294
+ name: "TooManyAttemptsException",
295
+ $fault: "client",
296
+ ...opts,
297
+ });
298
+ Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
299
+ this.retryAfter = opts.retryAfter;
300
+ }
301
+ }
302
+ exports.TooManyAttemptsException = TooManyAttemptsException;
303
+ class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
304
+ name = "PublicAccessIsRestrictedException";
305
+ $fault = "client";
306
+ constructor(opts) {
307
+ super({
308
+ name: "PublicAccessIsRestrictedException",
309
+ $fault: "client",
310
+ ...opts,
311
+ });
312
+ Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
313
+ }
314
+ }
315
+ exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
234
316
  class UserQueryPredicateNotMetException extends UsersServiceException_1.UsersServiceException {
235
317
  name = "UserQueryPredicateNotMetException";
236
318
  $fault = "client";