@wildix/xbees-users-client 4.3.3-wms26787.2 → 4.4.0-stage.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.
- package/dist-cjs/Users.js +9 -1
- package/dist-cjs/auth/httpAuthSchemeProvider.js +12 -0
- package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +20 -0
- package/dist-cjs/commands/ListAccountEmailChangesCommand.js +20 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +73 -6
- package/dist-cjs/models/errors.js +39 -1
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountEmailChangesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/schemas/schemas_0.js +288 -102
- package/dist-es/Users.js +9 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +12 -0
- package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +16 -0
- package/dist-es/commands/ListAccountEmailChangesCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +72 -5
- package/dist-es/models/errors.js +36 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountEmailChangesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +284 -98
- package/dist-types/Users.d.ts +22 -1
- package/dist-types/UsersClient.d.ts +4 -2
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +288 -22
- package/dist-types/models/errors.d.ts +56 -0
- package/dist-types/models/models_0.d.ts +418 -2
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccountEmailChangesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/package.json +5 -5
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 ApplyIdentityRemovalCommand_1 = require("./commands/ApplyIdentityRemovalCommand");
|
|
6
7
|
const BatchGetUsersCommand_1 = require("./commands/BatchGetUsersCommand");
|
|
7
8
|
const BatchGetUsersEmailNotificationsSettingsCommand_1 = require("./commands/BatchGetUsersEmailNotificationsSettingsCommand");
|
|
@@ -26,6 +27,7 @@ const GetUserPbxLinkSuggestionCommand_1 = require("./commands/GetUserPbxLinkSugg
|
|
|
26
27
|
const GetUserPbxLinkSuggestionV1Command_1 = require("./commands/GetUserPbxLinkSuggestionV1Command");
|
|
27
28
|
const IntelligenceSearchCommand_1 = require("./commands/IntelligenceSearchCommand");
|
|
28
29
|
const InviteCommand_1 = require("./commands/InviteCommand");
|
|
30
|
+
const ListAccountEmailChangesCommand_1 = require("./commands/ListAccountEmailChangesCommand");
|
|
29
31
|
const ListBotApiKeysCommand_1 = require("./commands/ListBotApiKeysCommand");
|
|
30
32
|
const ListBotsCommand_1 = require("./commands/ListBotsCommand");
|
|
31
33
|
const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
|
|
@@ -49,8 +51,10 @@ const UploadPictureCommand_1 = require("./commands/UploadPictureCommand");
|
|
|
49
51
|
const UploadPictureV1Command_1 = require("./commands/UploadPictureV1Command");
|
|
50
52
|
const VerifyBotSecretKeyCommand_1 = require("./commands/VerifyBotSecretKeyCommand");
|
|
51
53
|
const VerifyBotSecretKeyV1Command_1 = require("./commands/VerifyBotSecretKeyV1Command");
|
|
54
|
+
const ListAccountEmailChangesPaginator_1 = require("./pagination/ListAccountEmailChangesPaginator");
|
|
52
55
|
const UsersClient_1 = require("./UsersClient");
|
|
53
56
|
const commands = {
|
|
57
|
+
ApplyAccountWorkspaceChangesCommand: ApplyAccountWorkspaceChangesCommand_1.ApplyAccountWorkspaceChangesCommand,
|
|
54
58
|
ApplyIdentityRemovalCommand: ApplyIdentityRemovalCommand_1.ApplyIdentityRemovalCommand,
|
|
55
59
|
BatchGetUsersCommand: BatchGetUsersCommand_1.BatchGetUsersCommand,
|
|
56
60
|
BatchGetUsersEmailNotificationsSettingsCommand: BatchGetUsersEmailNotificationsSettingsCommand_1.BatchGetUsersEmailNotificationsSettingsCommand,
|
|
@@ -75,6 +79,7 @@ const commands = {
|
|
|
75
79
|
GetUserPbxLinkSuggestionV1Command: GetUserPbxLinkSuggestionV1Command_1.GetUserPbxLinkSuggestionV1Command,
|
|
76
80
|
IntelligenceSearchCommand: IntelligenceSearchCommand_1.IntelligenceSearchCommand,
|
|
77
81
|
InviteCommand: InviteCommand_1.InviteCommand,
|
|
82
|
+
ListAccountEmailChangesCommand: ListAccountEmailChangesCommand_1.ListAccountEmailChangesCommand,
|
|
78
83
|
ListBotApiKeysCommand: ListBotApiKeysCommand_1.ListBotApiKeysCommand,
|
|
79
84
|
ListBotsCommand: ListBotsCommand_1.ListBotsCommand,
|
|
80
85
|
ListIdentitiesCommand: ListIdentitiesCommand_1.ListIdentitiesCommand,
|
|
@@ -99,7 +104,10 @@ const commands = {
|
|
|
99
104
|
VerifyBotSecretKeyCommand: VerifyBotSecretKeyCommand_1.VerifyBotSecretKeyCommand,
|
|
100
105
|
VerifyBotSecretKeyV1Command: VerifyBotSecretKeyV1Command_1.VerifyBotSecretKeyV1Command,
|
|
101
106
|
};
|
|
107
|
+
const paginators = {
|
|
108
|
+
paginateListAccountEmailChanges: ListAccountEmailChangesPaginator_1.paginateListAccountEmailChanges,
|
|
109
|
+
};
|
|
102
110
|
class Users extends UsersClient_1.UsersClient {
|
|
103
111
|
}
|
|
104
112
|
exports.Users = Users;
|
|
105
|
-
(0, client_1.createAggregatedClient)(commands, Users);
|
|
113
|
+
(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 "ApplyIdentityRemoval":
|
|
51
57
|
{
|
|
52
58
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -74,6 +80,12 @@ const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
74
80
|
break;
|
|
75
81
|
}
|
|
76
82
|
;
|
|
83
|
+
case "ListAccountEmailChanges":
|
|
84
|
+
{
|
|
85
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
;
|
|
77
89
|
case "ListIdentities":
|
|
78
90
|
{
|
|
79
91
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -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;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAccountEmailChangesCommand = 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 ListAccountEmailChangesCommand 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", "ListAccountEmailChanges", {})
|
|
16
|
+
.n("UsersClient", "ListAccountEmailChangesCommand")
|
|
17
|
+
.sc(schemas_0_1.ListAccountEmailChanges$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
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("./ApplyIdentityRemovalCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./BatchGetUsersCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./BatchGetUsersEmailNotificationsSettingsCommand"), exports);
|
|
@@ -25,6 +26,7 @@ tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionCommand"), exports);
|
|
|
25
26
|
tslib_1.__exportStar(require("./GetUserPbxLinkSuggestionV1Command"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./IntelligenceSearchCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./InviteCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListAccountEmailChangesCommand"), exports);
|
|
28
30
|
tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
|
|
29
31
|
tslib_1.__exportStar(require("./ListBotsCommand"), exports);
|
|
30
32
|
tslib_1.__exportStar(require("./ListIdentitiesCommand"), 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);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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;
|
|
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",
|
|
@@ -112,8 +184,3 @@ exports.IdentityChallengeOperation = {
|
|
|
112
184
|
REMOVE: "remove",
|
|
113
185
|
VERIFY: "verify",
|
|
114
186
|
};
|
|
115
|
-
exports.WorkspaceType = {
|
|
116
|
-
PERSONAL: "personal",
|
|
117
|
-
SUPPORT: "support",
|
|
118
|
-
WORK: "work",
|
|
119
|
-
};
|
|
@@ -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.AccountNotFoundException = exports.WidgetNotFoundException = exports.ChannelNotFoundException = exports.ValidationException = exports.ServiceUnavailableException = 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.AccountWorkspaceConflictException = exports.AccountWorkspaceChangeRefusedException = 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";
|
|
@@ -101,6 +101,44 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
exports.AccountNotFoundException = AccountNotFoundException;
|
|
104
|
+
class AccountWorkspaceChangeRefusedException extends UsersServiceException_1.UsersServiceException {
|
|
105
|
+
name = "AccountWorkspaceChangeRefusedException";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
code;
|
|
108
|
+
row;
|
|
109
|
+
accountId;
|
|
110
|
+
workspaceId;
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "AccountWorkspaceChangeRefusedException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
Object.setPrototypeOf(this, AccountWorkspaceChangeRefusedException.prototype);
|
|
118
|
+
this.code = opts.code;
|
|
119
|
+
this.row = opts.row;
|
|
120
|
+
this.accountId = opts.accountId;
|
|
121
|
+
this.workspaceId = opts.workspaceId;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.AccountWorkspaceChangeRefusedException = AccountWorkspaceChangeRefusedException;
|
|
125
|
+
class AccountWorkspaceConflictException extends UsersServiceException_1.UsersServiceException {
|
|
126
|
+
name = "AccountWorkspaceConflictException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
row;
|
|
129
|
+
field;
|
|
130
|
+
constructor(opts) {
|
|
131
|
+
super({
|
|
132
|
+
name: "AccountWorkspaceConflictException",
|
|
133
|
+
$fault: "client",
|
|
134
|
+
...opts,
|
|
135
|
+
});
|
|
136
|
+
Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
|
|
137
|
+
this.row = opts.row;
|
|
138
|
+
this.field = opts.field;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.AccountWorkspaceConflictException = AccountWorkspaceConflictException;
|
|
104
142
|
class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
|
|
105
143
|
name = "CannotRemovePrimaryIdentityException";
|
|
106
144
|
$fault = "client";
|
|
@@ -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");
|