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

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 (54) hide show
  1. package/dist-cjs/Users.js +15 -11
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +19 -20
  3. package/dist-cjs/commands/{ResendIdentityChallengeCodeCommand.js → ApplyAccountWorkspaceChangesCommand.js} +6 -6
  4. package/dist-cjs/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +6 -6
  5. package/dist-cjs/commands/{ConfirmIdentityChallengeCommand.js → ListAccountEmailChangesCommand.js} +6 -6
  6. package/dist-cjs/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +6 -6
  7. package/dist-cjs/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +6 -6
  8. package/dist-cjs/commands/index.js +5 -5
  9. package/dist-cjs/index.js +1 -0
  10. package/dist-cjs/models/enums.js +73 -22
  11. package/dist-cjs/models/errors.js +46 -90
  12. package/dist-cjs/pagination/Interfaces.js +2 -0
  13. package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +7 -0
  14. package/dist-cjs/pagination/index.js +5 -0
  15. package/dist-cjs/schemas/schemas_0.js +329 -254
  16. package/dist-es/Users.js +15 -11
  17. package/dist-es/auth/httpAuthSchemeProvider.js +19 -20
  18. package/dist-es/commands/{ResendIdentityChallengeCodeCommand.js → ApplyAccountWorkspaceChangesCommand.js} +5 -5
  19. package/dist-es/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +5 -5
  20. package/dist-es/commands/{ConfirmIdentityChallengeCommand.js → ListAccountEmailChangesCommand.js} +5 -5
  21. package/dist-es/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +5 -5
  22. package/dist-es/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +5 -5
  23. package/dist-es/commands/index.js +5 -5
  24. package/dist-es/index.js +1 -0
  25. package/dist-es/models/enums.js +72 -21
  26. package/dist-es/models/errors.js +40 -80
  27. package/dist-es/pagination/Interfaces.js +1 -0
  28. package/dist-es/pagination/ListAccountEmailChangesPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +2 -0
  30. package/dist-es/schemas/schemas_0.js +325 -250
  31. package/dist-types/Users.d.ts +41 -34
  32. package/dist-types/UsersClient.d.ts +7 -7
  33. package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
  34. package/dist-types/commands/LinkIdentityCommand.d.ts +89 -0
  35. package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
  36. package/dist-types/commands/ListIdentitiesCommand.d.ts +2 -4
  37. package/dist-types/commands/UnlinkIdentityCommand.d.ts +85 -0
  38. package/dist-types/commands/UpdateAccountCommand.d.ts +1 -2
  39. package/dist-types/commands/VerifyIdentityCommand.d.ts +90 -0
  40. package/dist-types/commands/index.d.ts +5 -5
  41. package/dist-types/index.d.ts +1 -0
  42. package/dist-types/models/enums.d.ts +270 -74
  43. package/dist-types/models/errors.d.ts +55 -84
  44. package/dist-types/models/models_0.d.ts +481 -284
  45. package/dist-types/pagination/Interfaces.d.ts +8 -0
  46. package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +2 -0
  48. package/dist-types/schemas/schemas_0.d.ts +28 -24
  49. package/package.json +5 -5
  50. package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +0 -93
  51. package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +0 -138
  52. package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +0 -96
  53. package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +0 -89
  54. package/dist-types/commands/StartIdentityChallengeCommand.d.ts +0 -139
package/dist-cjs/Users.js CHANGED
@@ -2,13 +2,12 @@
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
+ const ApplyAccountWorkspaceChangesCommand_1 = require("./commands/ApplyAccountWorkspaceChangesCommand");
6
6
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
7
7
  const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
8
8
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
9
9
  const BatchGetUsersPbxLinkDataV1Command_1 = require("./commands/BatchGetUsersPbxLinkDataV1Command");
10
10
  const ChangeUserEmailCommand_1 = require("./commands/ChangeUserEmailCommand");
11
- const ConfirmIdentityChallengeCommand_1 = require("./commands/ConfirmIdentityChallengeCommand");
12
11
  const CreateAnonymousSessionCommand_1 = require("./commands/CreateAnonymousSessionCommand");
13
12
  const CreateBotApiKeyCommand_1 = require("./commands/CreateBotApiKeyCommand");
14
13
  const CreateBotCommand_1 = require("./commands/CreateBotCommand");
@@ -26,6 +25,8 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
26
25
  const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
27
26
  const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
28
27
  const InviteCommand_1 = require("./commands/InviteCommand");
28
+ const LinkIdentityCommand_1 = require("./commands/LinkIdentityCommand");
29
+ const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
29
30
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
30
31
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
31
32
  const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
@@ -34,11 +35,9 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
34
35
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
35
36
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
36
37
  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");
40
38
  const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
41
39
  const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
40
+ const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
42
41
  const UnlinkWorkspaceCommand_1 = require("./commands/UnlinkWorkspaceCommand");
43
42
  const UpdateAccountCommand_1 = require("./commands/UpdateAccountCommand");
44
43
  const UpdateBotCallbackCommand_1 = require("./commands/UpdateBotCallbackCommand");
@@ -49,15 +48,16 @@ const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
49
48
  const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
50
49
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
51
50
  const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
51
+ const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
52
+ const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
52
53
  const UsersClient_1 = require("./UsersClient");
53
54
  const commands = {
54
- ApplyIdentityRemovalCommand: ApplyIdentityRemovalCommand_1.ApplyIdentityRemovalCommand,
55
+ ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
55
56
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
56
57
  BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
57
58
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
58
59
  BatchGetUsersPbxLinkDataV1Command: BatchGetUsersPbxLinkDataV1Command_1.BatchGetUsersPbxLinkDataV1Command,
59
60
  ChangeUserEmailCommand: ChangeUserEmailCommand_1.ChangeUserEmailCommand,
60
- ConfirmIdentityChallengeCommand: ConfirmIdentityChallengeCommand_1.ConfirmIdentityChallengeCommand,
61
61
  CreateAnonymousSessionCommand: CreateAnonymousSessionCommand_1.CreateAnonymousSessionCommand,
62
62
  CreateBotCommand: CreateBotCommand_1.CreateBotCommand,
63
63
  CreateBotApiKeyCommand: CreateBotApiKeyCommand_1.CreateBotApiKeyCommand,
@@ -75,6 +75,8 @@ const commands = {
75
75
  GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
76
76
  IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
77
77
  InviteCommand: InviteCommand_1.InviteCommand,
78
+ LinkIdentityCommand: LinkIdentityCommand_1.LinkIdentityCommand,
79
+ ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
78
80
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
79
81
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
80
82
  ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
@@ -83,11 +85,9 @@ const commands = {
83
85
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
84
86
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
85
87
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
86
- ResendIdentityChallengeCodeCommand: ResendIdentityChallengeCodeCommand_1.ResendIdentityChallengeCodeCommand,
87
- ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
88
- StartIdentityChallengeCommand: StartIdentityChallengeCommand_1.StartIdentityChallengeCommand,
89
88
  ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
90
89
  ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
90
+ UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
91
91
  UnlinkWorkspaceCommand: UnlinkWorkspaceCommand_1.UnlinkWorkspaceCommand,
92
92
  UpdateAccountCommand: UpdateAccountCommand_1.UpdateAccountCommand,
93
93
  UpdateBotCommand: UpdateBotCommand_1.UpdateBotCommand,
@@ -98,8 +98,12 @@ const commands = {
98
98
  UploadPictureV1Command: UploadPictureV1Command_1.UploadPictureV1Command,
99
99
  VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
100
100
  VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
101
+ VerifyIdentityCommand: VerifyIdentityCommand_1.VerifyIdentityCommand,
102
+ };
103
+ const paginators = {
104
+ paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
101
105
  };
102
106
  class Users extends UsersClient_1.UsersClient {
103
107
  }
104
108
  exports.Users = Users;
105
- (0, client_1.createAggregatedClient)(commands, Users);
109
+ (0, client_1.createAggregatedClient)(commands, Users, { paginators });
@@ -47,17 +47,9 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
47
47
  const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
48
48
  const options = [];
49
49
  switch (authParameters.operation) {
50
- case "ApplyIdentityRemoval":
50
+ case "ApplyAccountWorkspaceChanges":
51
51
  {
52
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
53
  break;
62
54
  }
63
55
  ;
@@ -74,34 +66,27 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
74
66
  break;
75
67
  }
76
68
  ;
77
- case "ListIdentities":
69
+ case "LinkIdentity":
78
70
  {
79
71
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
80
72
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
81
73
  break;
82
74
  }
83
75
  ;
84
- case "ListWorkspaces":
76
+ case "ListAccountEmailChanges":
85
77
  {
86
78
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
87
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
88
79
  break;
89
80
  }
90
81
  ;
91
- case "ResendIdentityChallengeCode":
82
+ case "ListIdentities":
92
83
  {
93
84
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
94
85
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
95
86
  break;
96
87
  }
97
88
  ;
98
- case "ResetUserChatHistory":
99
- {
100
- options.push(createWildixAuthPbxHttpAuthOption(authParameters));
101
- break;
102
- }
103
- ;
104
- case "StartIdentityChallenge":
89
+ case "ListWorkspaces":
105
90
  {
106
91
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
107
92
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
@@ -132,6 +117,13 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
132
117
  break;
133
118
  }
134
119
  ;
120
+ case "UnlinkIdentity":
121
+ {
122
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
123
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
124
+ break;
125
+ }
126
+ ;
135
127
  case "UnlinkWorkspace":
136
128
  {
137
129
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -152,6 +144,13 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
152
144
  break;
153
145
  }
154
146
  ;
147
+ case "VerifyIdentity":
148
+ {
149
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
150
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
151
+ break;
152
+ }
153
+ ;
155
154
  default: {
156
155
  options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
157
156
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
@@ -1,20 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResendIdentityChallengeCodeCommand = exports.$Command = void 0;
3
+ exports.ApplyAccountWorkspaceChangesCommand = 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 ResendIdentityChallengeCodeCommand extends client_1.Command
9
+ class ApplyAccountWorkspaceChangesCommand 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", "ResendIdentityChallengeCode", {})
16
- .n("UsersClient", "ResendIdentityChallengeCodeCommand")
17
- .sc(schemas_0_1.ResendIdentityChallengeCode$)
15
+ .s("Users", "ApplyAccountWorkspaceChanges", {})
16
+ .n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
17
+ .sc(schemas_0_1.ApplyAccountWorkspaceChanges$)
18
18
  .build() {
19
19
  }
20
- exports.ResendIdentityChallengeCodeCommand = ResendIdentityChallengeCodeCommand;
20
+ exports.ApplyAccountWorkspaceChangesCommand = ApplyAccountWorkspaceChangesCommand;
@@ -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.ConfirmIdentityChallengeCommand = exports.$Command = void 0;
3
+ exports.ListAccountEmailChangesCommand = 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 ConfirmIdentityChallengeCommand extends client_1.Command
9
+ class ListAccountEmailChangesCommand 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", "ConfirmIdentityChallenge", {})
16
- .n("UsersClient", "ConfirmIdentityChallengeCommand")
17
- .sc(schemas_0_1.ConfirmIdentityChallenge$)
15
+ .s("Users", "ListAccountEmailChanges", {})
16
+ .n("UsersClient", "ListAccountEmailChangesCommand")
17
+ .sc(schemas_0_1.ListAccountEmailChanges$)
18
18
  .build() {
19
19
  }
20
- exports.ConfirmIdentityChallengeCommand = ConfirmIdentityChallengeCommand;
20
+ exports.ListAccountEmailChangesCommand = ListAccountEmailChangesCommand;
@@ -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;
@@ -1,13 +1,12 @@
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
+ tslib_1.__exportStar(require("./ApplyAccountWorkspaceChangesCommand"), exports);
5
5
  tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
6
6
  tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
7
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
8
8
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
9
9
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
10
- tslib_1.__exportStar(require("./ConfirmIdentityChallengeCommand"), exports);
11
10
  tslib_1.__exportStar(require("./CreateAnonymousSessionCommand"), exports);
12
11
  tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
13
12
  tslib_1.__exportStar(require("./CreateBotCommand"), exports);
@@ -25,6 +24,8 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
25
24
  tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
26
25
  tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
27
26
  tslib_1.__exportStar(require("./InviteCommand"), exports);
27
+ tslib_1.__exportStar(require("./LinkIdentityCommand"), exports);
28
+ tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
28
29
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
29
30
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
30
31
  tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
@@ -33,11 +34,9 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
33
34
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
34
35
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
35
36
  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);
39
37
  tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
40
38
  tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
39
+ tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
41
40
  tslib_1.__exportStar(require("./UnlinkWorkspaceCommand"), exports);
42
41
  tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
43
42
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
@@ -48,3 +47,4 @@ tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
48
47
  tslib_1.__exportStar(require("./UploadPictureV1Command"), exports);
49
48
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
50
49
  tslib_1.__exportStar(require("./VerifyBotSecretKeyV1Command"), exports);
50
+ tslib_1.__exportStar(require("./VerifyIdentityCommand"), exports);
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./UsersClient"), exports);
6
6
  tslib_1.__exportStar(require("./Users"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
9
+ tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./models/enums"), exports);
10
11
  tslib_1.__exportStar(require("./models/errors"), exports);
11
12
  tslib_1.__exportStar(require("./models/models_0"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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",
@@ -64,6 +64,78 @@ exports.AppType = {
64
64
  X_BEES: "x-bees",
65
65
  X_HOPPERS: "x-hoppers",
66
66
  };
67
+ exports.AccountEmailChangeStatus = {
68
+ ABORTED: "ABORTED",
69
+ FAILED: "FAILED",
70
+ PENDING_REDRIVE: "PENDING_REDRIVE",
71
+ RUNNING: "RUNNING",
72
+ SUCCEEDED: "SUCCEEDED",
73
+ TIMED_OUT: "TIMED_OUT",
74
+ };
75
+ exports.AccountWorkspaceChangeOperation = {
76
+ ATTACH: "attach",
77
+ DETACH: "detach",
78
+ MAKE_DEFAULT: "makeDefault",
79
+ };
80
+ exports.AccountWorkspaceRefusalCode = {
81
+ DELETED_WORKSPACE: "deleted_workspace",
82
+ EXPECTED_INCOMPLETE: "expected_incomplete",
83
+ FOREIGN_STREAM_EMAIL: "foreign_stream_email",
84
+ NO_DEFAULT: "no_default",
85
+ PBX_OTHER_COMPANY: "pbx_other_company",
86
+ TOO_MANY_WRITES: "too_many_writes",
87
+ WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
88
+ WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
89
+ WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
90
+ WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
91
+ };
92
+ exports.AccountWorkspaceCheckCode = {
93
+ CONFLICT: "conflict",
94
+ DELETED_WORKSPACE: "deleted_workspace",
95
+ EMAIL_ROUTING_CHANGES: "email_routing_changes",
96
+ EXPECTED_INCOMPLETE: "expected_incomplete",
97
+ FOREIGN_STREAM_EMAIL: "foreign_stream_email",
98
+ NO_DEFAULT: "no_default",
99
+ ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
100
+ 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
+ TOO_MANY_WRITES: "too_many_writes",
105
+ WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
106
+ WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
107
+ WORKSPACE_NOT_IN_ACCOUNT: "workspace_not_in_account",
108
+ WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
109
+ };
110
+ exports.AccountWorkspaceEffectName = {
111
+ CACHE: "cache",
112
+ COGNITO: "cognito",
113
+ JOB: "job",
114
+ STREAM: "stream",
115
+ };
116
+ exports.AccountWorkspaceEffectStatus = {
117
+ FAILED: "failed",
118
+ OK: "ok",
119
+ SKIPPED: "skipped",
120
+ };
121
+ exports.AccountWorkspaceRowEntity = {
122
+ ACCOUNT_SETTINGS: "accountSettings",
123
+ MEMBERSHIP: "membership",
124
+ PBX: "pbx",
125
+ PBX_USER: "pbxUser",
126
+ STREAM: "stream",
127
+ };
128
+ exports.WorkspaceType = {
129
+ PERSONAL: "personal",
130
+ SUPPORT: "support",
131
+ WORK: "work",
132
+ };
133
+ exports.AccountWorkspaceWriteKind = {
134
+ APPEND: "append",
135
+ DELETE: "delete",
136
+ PUT: "put",
137
+ UPDATE: "update",
138
+ };
67
139
  exports.BotAccess = {
68
140
  EVERYBODY: "EVERYBODY",
69
141
  ORGANIZATION: "ORGANIZATION",
@@ -96,24 +168,3 @@ exports.BotLlmFunctionIntegrationMethod = {
96
168
  exports.BotLlmToolType = {
97
169
  FUNCTION: "function",
98
170
  };
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
- };
115
- exports.WorkspaceType = {
116
- PERSONAL: "personal",
117
- SUPPORT: "support",
118
- WORK: "work",
119
- };