@wildix/xbees-users-client 4.3.3-wms28830.1 → 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 (41) hide show
  1. package/dist-cjs/Users.js +9 -3
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +11 -5
  3. package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +20 -0
  4. package/dist-cjs/commands/{ResetUserChatHistoryCommand.js → ListAccountEmailChangesCommand.js} +6 -6
  5. package/dist-cjs/commands/index.js +2 -1
  6. package/dist-cjs/index.js +1 -0
  7. package/dist-cjs/models/enums.js +73 -6
  8. package/dist-cjs/models/errors.js +39 -1
  9. package/dist-cjs/pagination/Interfaces.js +2 -0
  10. package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +7 -0
  11. package/dist-cjs/pagination/index.js +5 -0
  12. package/dist-cjs/schemas/schemas_0.js +293 -124
  13. package/dist-es/Users.js +9 -3
  14. package/dist-es/auth/httpAuthSchemeProvider.js +11 -5
  15. package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +16 -0
  16. package/dist-es/commands/{ResetUserChatHistoryCommand.js → ListAccountEmailChangesCommand.js} +5 -5
  17. package/dist-es/commands/index.js +2 -1
  18. package/dist-es/index.js +1 -0
  19. package/dist-es/models/enums.js +72 -5
  20. package/dist-es/models/errors.js +36 -0
  21. package/dist-es/pagination/Interfaces.js +1 -0
  22. package/dist-es/pagination/ListAccountEmailChangesPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +2 -0
  24. package/dist-es/schemas/schemas_0.js +289 -120
  25. package/dist-types/Users.d.ts +22 -8
  26. package/dist-types/UsersClient.d.ts +4 -3
  27. package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
  28. package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
  29. package/dist-types/commands/QueryUserCommand.d.ts +1 -1
  30. package/dist-types/commands/QueryUsersCommand.d.ts +1 -1
  31. package/dist-types/commands/index.d.ts +2 -1
  32. package/dist-types/index.d.ts +1 -0
  33. package/dist-types/models/enums.d.ts +288 -22
  34. package/dist-types/models/errors.d.ts +56 -0
  35. package/dist-types/models/models_0.d.ts +422 -51
  36. package/dist-types/pagination/Interfaces.d.ts +8 -0
  37. package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +2 -0
  39. package/dist-types/schemas/schemas_0.d.ts +19 -3
  40. package/package.json +5 -5
  41. package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +0 -89
package/dist-cjs/Users.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Users = void 0;
4
4
  const client_1 = require("@smithy/core/client");
5
+ const ApplyAccountWorkspaceChangesCommand_1 = require("./commands/ApplyAccountWorkspaceChangesCommand");
5
6
  const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
6
7
  const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
7
8
  const BatchGetUsersPbxLinkDataCommand_1 = require("./commands/BatchGetUsersPbxLinkDataCommand");
@@ -25,6 +26,7 @@ const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSu
25
26
  const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
26
27
  const InviteCommand_1 = require("./commands/InviteCommand");
27
28
  const LinkIdentityCommand_1 = require("./commands/LinkIdentityCommand");
29
+ const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
28
30
  const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
29
31
  const ListBotsCommand_1 = require("./commands/ListBotsCommand");
30
32
  const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
@@ -33,7 +35,6 @@ const PartialUpdateUserEmailNotificationsSettingsCommand_1 = require("./commands
33
35
  const QueryColleaguesCommand_1 = require("./commands/QueryColleaguesCommand");
34
36
  const QueryUserCommand_1 = require("./commands/QueryUserCommand");
35
37
  const QueryUsersCommand_1 = require("./commands/QueryUsersCommand");
36
- const ResetUserChatHistoryCommand_1 = require("./commands/ResetUserChatHistoryCommand");
37
38
  const ToggleTranscriptionEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand");
38
39
  const ToggleUnreadEmailNotificationsSubscriptionCommand_1 = require("./commands/ToggleUnreadEmailNotificationsSubscriptionCommand");
39
40
  const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
@@ -48,8 +49,10 @@ const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
48
49
  const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
49
50
  const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
50
51
  const VerifyIdentityCommand_1 = require("./commands/VerifyIdentityCommand");
52
+ const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
51
53
  const UsersClient_1 = require("./UsersClient");
52
54
  const commands = {
55
+ ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
53
56
  BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
54
57
  BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
55
58
  BatchGetUsersPbxLinkDataCommand: BatchGetUsersPbxLinkDataCommand_1.BatchGetUsersPbxLinkDataCommand,
@@ -73,6 +76,7 @@ const commands = {
73
76
  IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
74
77
  InviteCommand: InviteCommand_1.InviteCommand,
75
78
  LinkIdentityCommand: LinkIdentityCommand_1.LinkIdentityCommand,
79
+ ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
76
80
  ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
77
81
  ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
78
82
  ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
@@ -81,7 +85,6 @@ const commands = {
81
85
  QueryColleaguesCommand: QueryColleaguesCommand_1.QueryColleaguesCommand,
82
86
  QueryUserCommand: QueryUserCommand_1.QueryUserCommand,
83
87
  QueryUsersCommand: QueryUsersCommand_1.QueryUsersCommand,
84
- ResetUserChatHistoryCommand: ResetUserChatHistoryCommand_1.ResetUserChatHistoryCommand,
85
88
  ToggleTranscriptionEmailNotificationsSubscriptionCommand: ToggleTranscriptionEmailNotificationsSubscriptionCommand_1.ToggleTranscriptionEmailNotificationsSubscriptionCommand,
86
89
  ToggleUnreadEmailNotificationsSubscriptionCommand: ToggleUnreadEmailNotificationsSubscriptionCommand_1.ToggleUnreadEmailNotificationsSubscriptionCommand,
87
90
  UnlinkIdentityCommand: UnlinkIdentityCommand_1.UnlinkIdentityCommand,
@@ -97,7 +100,10 @@ const commands = {
97
100
  VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
98
101
  VerifyIdentityCommand: VerifyIdentityCommand_1.VerifyIdentityCommand,
99
102
  };
103
+ const paginators = {
104
+ paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
105
+ };
100
106
  class Users extends UsersClient_1.UsersClient {
101
107
  }
102
108
  exports.Users = Users;
103
- (0, client_1.createAggregatedClient)(commands, Users);
109
+ (0, client_1.createAggregatedClient)(commands, Users, { paginators });
@@ -47,6 +47,12 @@ function createWildixAuthXbsHttpAuthOption(authParameters) {
47
47
  const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
48
48
  const options = [];
49
49
  switch (authParameters.operation) {
50
+ case "ApplyAccountWorkspaceChanges":
51
+ {
52
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
53
+ break;
54
+ }
55
+ ;
50
56
  case "CreateAnonymousSession":
51
57
  {
52
58
  options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
@@ -67,23 +73,23 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
67
73
  break;
68
74
  }
69
75
  ;
70
- case "ListIdentities":
76
+ case "ListAccountEmailChanges":
71
77
  {
72
78
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
73
- options.push(createWildixAuthXbsHttpAuthOption(authParameters));
74
79
  break;
75
80
  }
76
81
  ;
77
- case "ListWorkspaces":
82
+ case "ListIdentities":
78
83
  {
79
84
  options.push(createWildixAuthS2sHttpAuthOption(authParameters));
80
85
  options.push(createWildixAuthXbsHttpAuthOption(authParameters));
81
86
  break;
82
87
  }
83
88
  ;
84
- case "ResetUserChatHistory":
89
+ case "ListWorkspaces":
85
90
  {
86
- options.push(createWildixAuthPbxHttpAuthOption(authParameters));
91
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
92
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
87
93
  break;
88
94
  }
89
95
  ;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplyAccountWorkspaceChangesCommand = 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 ApplyAccountWorkspaceChangesCommand 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", "ApplyAccountWorkspaceChanges", {})
16
+ .n("UsersClient", "ApplyAccountWorkspaceChangesCommand")
17
+ .sc(schemas_0_1.ApplyAccountWorkspaceChanges$)
18
+ .build() {
19
+ }
20
+ exports.ApplyAccountWorkspaceChangesCommand = ApplyAccountWorkspaceChangesCommand;
@@ -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.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 ResetUserChatHistoryCommand 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", "ResetUserChatHistory", {})
16
- .n("UsersClient", "ResetUserChatHistoryCommand")
17
- .sc(schemas_0_1.ResetUserChatHistory$)
15
+ .s("Users", "ListAccountEmailChanges", {})
16
+ .n("UsersClient", "ListAccountEmailChangesCommand")
17
+ .sc(schemas_0_1.ListAccountEmailChanges$)
18
18
  .build() {
19
19
  }
20
- exports.ResetUserChatHistoryCommand = ResetUserChatHistoryCommand;
20
+ exports.ListAccountEmailChangesCommand = ListAccountEmailChangesCommand;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./ApplyAccountWorkspaceChangesCommand"), 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);
@@ -24,6 +25,7 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
24
25
  tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
25
26
  tslib_1.__exportStar(require("./InviteCommand"), exports);
26
27
  tslib_1.__exportStar(require("./LinkIdentityCommand"), exports);
28
+ tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
27
29
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
28
30
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
29
31
  tslib_1.__exportStar(require("./ListIdentitiesCommand"), exports);
@@ -32,7 +34,6 @@ tslib_1.__exportStar(require("./PartialUpdateUserEmailNotificationsSettingsComma
32
34
  tslib_1.__exportStar(require("./QueryColleaguesCommand"), exports);
33
35
  tslib_1.__exportStar(require("./QueryUserCommand"), exports);
34
36
  tslib_1.__exportStar(require("./QueryUsersCommand"), exports);
35
- tslib_1.__exportStar(require("./ResetUserChatHistoryCommand"), exports);
36
37
  tslib_1.__exportStar(require("./ToggleTranscriptionEmailNotificationsSubscriptionCommand"), exports);
37
38
  tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionCommand"), exports);
38
39
  tslib_1.__exportStar(require("./UnlinkIdentityCommand"), 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.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,8 +168,3 @@ exports.BotLlmFunctionIntegrationMethod = {
96
168
  exports.BotLlmToolType = {
97
169
  FUNCTION: "function",
98
170
  };
99
- exports.WorkspaceType = {
100
- PERSONAL: "personal",
101
- SUPPORT: "support",
102
- WORK: "work",
103
- };
@@ -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.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";
@@ -88,6 +88,44 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
88
88
  }
89
89
  }
90
90
  exports.AccountNotFoundException = AccountNotFoundException;
91
+ class AccountWorkspaceChangeRefusedException extends UsersServiceException_1.UsersServiceException {
92
+ name = "AccountWorkspaceChangeRefusedException";
93
+ $fault = "client";
94
+ code;
95
+ row;
96
+ accountId;
97
+ workspaceId;
98
+ constructor(opts) {
99
+ super({
100
+ name: "AccountWorkspaceChangeRefusedException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, AccountWorkspaceChangeRefusedException.prototype);
105
+ this.code = opts.code;
106
+ this.row = opts.row;
107
+ this.accountId = opts.accountId;
108
+ this.workspaceId = opts.workspaceId;
109
+ }
110
+ }
111
+ exports.AccountWorkspaceChangeRefusedException = AccountWorkspaceChangeRefusedException;
112
+ class AccountWorkspaceConflictException extends UsersServiceException_1.UsersServiceException {
113
+ name = "AccountWorkspaceConflictException";
114
+ $fault = "client";
115
+ row;
116
+ field;
117
+ constructor(opts) {
118
+ super({
119
+ name: "AccountWorkspaceConflictException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
124
+ this.row = opts.row;
125
+ this.field = opts.field;
126
+ }
127
+ }
128
+ exports.AccountWorkspaceConflictException = AccountWorkspaceConflictException;
91
129
  class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
92
130
  name = "BotAlreadyExistsException";
93
131
  $fault = "client";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListAccountEmailChanges = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListAccountEmailChangesCommand_1 = require("../commands/ListAccountEmailChangesCommand");
6
+ const UsersClient_1 = require("../UsersClient");
7
+ exports.paginateListAccountEmailChanges = (0, core_1.createPaginator)(UsersClient_1.UsersClient, ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand, "nextToken", "nextToken", "limit");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAccountEmailChangesPaginator"), exports);