@wildix/xbees-users-client 4.4.0-stage.1 → 4.4.0-wms29809.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Users.js +6 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +18 -31
- package/dist-cjs/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +6 -6
- package/dist-cjs/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +6 -6
- package/dist-cjs/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +6 -6
- package/dist-cjs/commands/index.js +3 -5
- package/dist-cjs/models/enums.js +3 -25
- package/dist-cjs/models/errors.js +24 -106
- package/dist-cjs/schemas/schemas_0.js +69 -180
- package/dist-es/Users.js +6 -10
- package/dist-es/auth/httpAuthSchemeProvider.js +18 -31
- package/dist-es/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +5 -5
- package/dist-es/commands/{ResetUserChatHistoryCommand.js → UnlinkIdentityCommand.js} +5 -5
- package/dist-es/commands/{StartIdentityChallengeCommand.js → VerifyIdentityCommand.js} +5 -5
- package/dist-es/commands/index.js +3 -5
- package/dist-es/models/enums.js +2 -24
- package/dist-es/models/errors.js +20 -96
- package/dist-es/schemas/schemas_0.js +65 -176
- package/dist-types/Users.d.ts +21 -35
- package/dist-types/UsersClient.d.ts +5 -7
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +9 -8
- package/dist-types/commands/LinkIdentityCommand.d.ts +89 -0
- package/dist-types/commands/ListIdentitiesCommand.d.ts +2 -4
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +85 -0
- package/dist-types/commands/UpdateAccountCommand.d.ts +1 -2
- package/dist-types/commands/VerifyIdentityCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +3 -5
- package/dist-types/models/enums.d.ts +9 -103
- package/dist-types/models/errors.d.ts +17 -102
- package/dist-types/models/models_0.d.ts +80 -299
- package/dist-types/schemas/schemas_0.d.ts +9 -24
- package/package.json +1 -1
- package/dist-cjs/commands/ConfirmIdentityChallengeCommand.js +0 -20
- package/dist-cjs/commands/ResendIdentityChallengeCodeCommand.js +0 -20
- package/dist-es/commands/ConfirmIdentityChallengeCommand.js +0 -16
- package/dist-es/commands/ResendIdentityChallengeCodeCommand.js +0 -16
- package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +0 -93
- package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +0 -138
- package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +0 -96
- package/dist-types/commands/ResetUserChatHistoryCommand.d.ts +0 -89
- package/dist-types/commands/StartIdentityChallengeCommand.d.ts +0 -139
|
@@ -49,20 +49,6 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
51
|
;
|
|
52
|
-
case "ApplyIdentityRemoval":
|
|
53
|
-
{
|
|
54
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
55
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
;
|
|
59
|
-
case "ConfirmIdentityChallenge":
|
|
60
|
-
{
|
|
61
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
62
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
63
|
-
break;
|
|
64
|
-
}
|
|
65
|
-
;
|
|
66
52
|
case "CreateAnonymousSession":
|
|
67
53
|
{
|
|
68
54
|
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
@@ -76,40 +62,27 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
76
62
|
break;
|
|
77
63
|
}
|
|
78
64
|
;
|
|
79
|
-
case "
|
|
80
|
-
{
|
|
81
|
-
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
;
|
|
85
|
-
case "ListIdentities":
|
|
65
|
+
case "LinkIdentity":
|
|
86
66
|
{
|
|
87
67
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
88
68
|
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
89
69
|
break;
|
|
90
70
|
}
|
|
91
71
|
;
|
|
92
|
-
case "
|
|
72
|
+
case "ListAccountEmailChanges":
|
|
93
73
|
{
|
|
94
74
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
95
|
-
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
96
75
|
break;
|
|
97
76
|
}
|
|
98
77
|
;
|
|
99
|
-
case "
|
|
78
|
+
case "ListIdentities":
|
|
100
79
|
{
|
|
101
80
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
102
81
|
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
103
82
|
break;
|
|
104
83
|
}
|
|
105
84
|
;
|
|
106
|
-
case "
|
|
107
|
-
{
|
|
108
|
-
options.push(createWildixAuthPbxHttpAuthOption(authParameters));
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
;
|
|
112
|
-
case "StartIdentityChallenge":
|
|
85
|
+
case "ListWorkspaces":
|
|
113
86
|
{
|
|
114
87
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
115
88
|
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
@@ -140,6 +113,13 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
140
113
|
break;
|
|
141
114
|
}
|
|
142
115
|
;
|
|
116
|
+
case "UnlinkIdentity":
|
|
117
|
+
{
|
|
118
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
119
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
;
|
|
143
123
|
case "UnlinkWorkspace":
|
|
144
124
|
{
|
|
145
125
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -160,6 +140,13 @@ export const defaultUsersHttpAuthSchemeProvider = (authParameters) => {
|
|
|
160
140
|
break;
|
|
161
141
|
}
|
|
162
142
|
;
|
|
143
|
+
case "VerifyIdentity":
|
|
144
|
+
{
|
|
145
|
+
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
146
|
+
options.push(createWildixAuthXbsHttpAuthOption(authParameters));
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
;
|
|
163
150
|
default: {
|
|
164
151
|
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
165
152
|
options.push(createWildixAuthS2sHttpAuthOption(authParameters));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { LinkIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class LinkIdentityCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "LinkIdentity", {})
|
|
13
|
+
.n("UsersClient", "LinkIdentityCommand")
|
|
14
|
+
.sc(LinkIdentity$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { UnlinkIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class UnlinkIdentityCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "UnlinkIdentity", {})
|
|
13
|
+
.n("UsersClient", "UnlinkIdentityCommand")
|
|
14
|
+
.sc(UnlinkIdentity$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import {
|
|
4
|
+
import { VerifyIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
|
-
export class
|
|
6
|
+
export class VerifyIdentityCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
8
8
|
.ep(commonParams)
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
11
|
})
|
|
12
|
-
.s("Users", "
|
|
13
|
-
.n("UsersClient", "
|
|
14
|
-
.sc(
|
|
12
|
+
.s("Users", "VerifyIdentity", {})
|
|
13
|
+
.n("UsersClient", "VerifyIdentityCommand")
|
|
14
|
+
.sc(VerifyIdentity$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export * from "./ApplyAccountWorkspaceChangesCommand";
|
|
2
|
-
export * from "./ApplyIdentityRemovalCommand";
|
|
3
2
|
export * from "./BatchGetUsersCommand";
|
|
4
3
|
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
5
4
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
6
5
|
export * from "./BatchGetUsersPbxLinkDataV1Command";
|
|
7
6
|
export * from "./ChangeUserEmailCommand";
|
|
8
|
-
export * from "./ConfirmIdentityChallengeCommand";
|
|
9
7
|
export * from "./CreateAnonymousSessionCommand";
|
|
10
8
|
export * from "./CreateBotApiKeyCommand";
|
|
11
9
|
export * from "./CreateBotCommand";
|
|
@@ -23,6 +21,7 @@ export * from "./GetUserPbxLinkSuggestionCommand";
|
|
|
23
21
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
24
22
|
export * from "./IntelligenceSearchCommand";
|
|
25
23
|
export * from "./InviteCommand";
|
|
24
|
+
export * from "./LinkIdentityCommand";
|
|
26
25
|
export * from "./ListAccountEmailChangesCommand";
|
|
27
26
|
export * from "./ListBotApiKeysCommand";
|
|
28
27
|
export * from "./ListBotsCommand";
|
|
@@ -32,11 +31,9 @@ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
|
32
31
|
export * from "./QueryColleaguesCommand";
|
|
33
32
|
export * from "./QueryUserCommand";
|
|
34
33
|
export * from "./QueryUsersCommand";
|
|
35
|
-
export * from "./ResendIdentityChallengeCodeCommand";
|
|
36
|
-
export * from "./ResetUserChatHistoryCommand";
|
|
37
|
-
export * from "./StartIdentityChallengeCommand";
|
|
38
34
|
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
39
35
|
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
36
|
+
export * from "./UnlinkIdentityCommand";
|
|
40
37
|
export * from "./UnlinkWorkspaceCommand";
|
|
41
38
|
export * from "./UpdateAccountCommand";
|
|
42
39
|
export * from "./UpdateBotCallbackCommand";
|
|
@@ -47,3 +44,4 @@ export * from "./UploadPictureCommand";
|
|
|
47
44
|
export * from "./UploadPictureV1Command";
|
|
48
45
|
export * from "./VerifyBotSecretKeyCommand";
|
|
49
46
|
export * from "./VerifyBotSecretKeyV1Command";
|
|
47
|
+
export * from "./VerifyIdentityCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -75,11 +75,11 @@ export const AccountWorkspaceChangeOperation = {
|
|
|
75
75
|
MAKE_DEFAULT: "makeDefault",
|
|
76
76
|
};
|
|
77
77
|
export const AccountWorkspaceRefusalCode = {
|
|
78
|
+
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
78
79
|
DELETED_WORKSPACE: "deleted_workspace",
|
|
79
80
|
EXPECTED_INCOMPLETE: "expected_incomplete",
|
|
80
81
|
FOREIGN_STREAM_EMAIL: "foreign_stream_email",
|
|
81
82
|
NO_DEFAULT: "no_default",
|
|
82
|
-
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
83
83
|
TOO_MANY_WRITES: "too_many_writes",
|
|
84
84
|
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
85
85
|
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
@@ -87,6 +87,7 @@ export const AccountWorkspaceRefusalCode = {
|
|
|
87
87
|
WORKSPACE_NOT_IN_SOURCE_ACCOUNT: "workspace_not_in_source_account",
|
|
88
88
|
};
|
|
89
89
|
export const AccountWorkspaceCheckCode = {
|
|
90
|
+
COMPANY_WORKSPACE_TAKEN: "company_workspace_taken",
|
|
90
91
|
CONFLICT: "conflict",
|
|
91
92
|
DELETED_WORKSPACE: "deleted_workspace",
|
|
92
93
|
EMAIL_ROUTING_CHANGES: "email_routing_changes",
|
|
@@ -95,9 +96,6 @@ export const AccountWorkspaceCheckCode = {
|
|
|
95
96
|
NO_DEFAULT: "no_default",
|
|
96
97
|
ORPHAN_DEFAULT_MOVED: "orphan_default_moved",
|
|
97
98
|
ORPHAN_PERSONAL_WORKSPACE_CREATED: "orphan_personal_workspace_created",
|
|
98
|
-
PBX_LINK_MOVES: "pbx_link_moves",
|
|
99
|
-
PBX_LINK_STAYS: "pbx_link_stays",
|
|
100
|
-
PBX_OTHER_COMPANY: "pbx_other_company",
|
|
101
99
|
TOO_MANY_WRITES: "too_many_writes",
|
|
102
100
|
WORKSPACE_ALREADY_IN_ACCOUNT: "workspace_already_in_account",
|
|
103
101
|
WORKSPACE_HAS_ACCOUNT: "workspace_has_account",
|
|
@@ -107,8 +105,6 @@ export const AccountWorkspaceCheckCode = {
|
|
|
107
105
|
export const AccountWorkspaceEffectName = {
|
|
108
106
|
CACHE: "cache",
|
|
109
107
|
COGNITO: "cognito",
|
|
110
|
-
JOB: "job",
|
|
111
|
-
STREAM: "stream",
|
|
112
108
|
};
|
|
113
109
|
export const AccountWorkspaceEffectStatus = {
|
|
114
110
|
FAILED: "failed",
|
|
@@ -119,7 +115,6 @@ export const AccountWorkspaceRowEntity = {
|
|
|
119
115
|
ACCOUNT_SETTINGS: "accountSettings",
|
|
120
116
|
MEMBERSHIP: "membership",
|
|
121
117
|
PBX: "pbx",
|
|
122
|
-
PBX_USER: "pbxUser",
|
|
123
118
|
STREAM: "stream",
|
|
124
119
|
};
|
|
125
120
|
export const WorkspaceType = {
|
|
@@ -128,7 +123,6 @@ export const WorkspaceType = {
|
|
|
128
123
|
WORK: "work",
|
|
129
124
|
};
|
|
130
125
|
export const AccountWorkspaceWriteKind = {
|
|
131
|
-
APPEND: "append",
|
|
132
126
|
DELETE: "delete",
|
|
133
127
|
PUT: "put",
|
|
134
128
|
UPDATE: "update",
|
|
@@ -165,19 +159,3 @@ export const BotLlmFunctionIntegrationMethod = {
|
|
|
165
159
|
export const BotLlmToolType = {
|
|
166
160
|
FUNCTION: "function",
|
|
167
161
|
};
|
|
168
|
-
export const IdentityType = {
|
|
169
|
-
EMAIL: "email",
|
|
170
|
-
PHONE: "phone",
|
|
171
|
-
};
|
|
172
|
-
export const IdentityChallengeStep = {
|
|
173
|
-
DONE: "done",
|
|
174
|
-
PRIMARY_CODE: "primaryCode",
|
|
175
|
-
READY_TO_APPLY: "readyToApply",
|
|
176
|
-
TARGET_CODE: "targetCode",
|
|
177
|
-
};
|
|
178
|
-
export const IdentityChallengeOperation = {
|
|
179
|
-
ADD: "add",
|
|
180
|
-
MAKE_PRIMARY: "makePrimary",
|
|
181
|
-
REMOVE: "remove",
|
|
182
|
-
VERIFY: "verify",
|
|
183
|
-
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -31,18 +31,6 @@ export class RateLimitExceededException extends __BaseException {
|
|
|
31
31
|
this.retryAfter = opts.retryAfter;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
35
|
-
name = "ServiceUnavailableException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
constructor(opts) {
|
|
38
|
-
super({
|
|
39
|
-
name: "ServiceUnavailableException",
|
|
40
|
-
$fault: "server",
|
|
41
|
-
...opts,
|
|
42
|
-
});
|
|
43
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
34
|
export class ValidationException extends __BaseException {
|
|
47
35
|
name = "ValidationException";
|
|
48
36
|
$fault = "client";
|
|
@@ -127,42 +115,6 @@ export class AccountWorkspaceConflictException extends __BaseException {
|
|
|
127
115
|
this.field = opts.field;
|
|
128
116
|
}
|
|
129
117
|
}
|
|
130
|
-
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
131
|
-
name = "CannotRemovePrimaryIdentityException";
|
|
132
|
-
$fault = "client";
|
|
133
|
-
constructor(opts) {
|
|
134
|
-
super({
|
|
135
|
-
name: "CannotRemovePrimaryIdentityException",
|
|
136
|
-
$fault: "client",
|
|
137
|
-
...opts,
|
|
138
|
-
});
|
|
139
|
-
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
export class ChallengeNotFoundException extends __BaseException {
|
|
143
|
-
name = "ChallengeNotFoundException";
|
|
144
|
-
$fault = "client";
|
|
145
|
-
constructor(opts) {
|
|
146
|
-
super({
|
|
147
|
-
name: "ChallengeNotFoundException",
|
|
148
|
-
$fault: "client",
|
|
149
|
-
...opts,
|
|
150
|
-
});
|
|
151
|
-
Object.setPrototypeOf(this, ChallengeNotFoundException.prototype);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
export class IdentityNotFoundException extends __BaseException {
|
|
155
|
-
name = "IdentityNotFoundException";
|
|
156
|
-
$fault = "client";
|
|
157
|
-
constructor(opts) {
|
|
158
|
-
super({
|
|
159
|
-
name: "IdentityNotFoundException",
|
|
160
|
-
$fault: "client",
|
|
161
|
-
...opts,
|
|
162
|
-
});
|
|
163
|
-
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
118
|
export class BotAlreadyExistsException extends __BaseException {
|
|
167
119
|
name = "BotAlreadyExistsException";
|
|
168
120
|
$fault = "client";
|
|
@@ -211,6 +163,18 @@ export class BotSecretKeyNotValidException extends __BaseException {
|
|
|
211
163
|
Object.setPrototypeOf(this, BotSecretKeyNotValidException.prototype);
|
|
212
164
|
}
|
|
213
165
|
}
|
|
166
|
+
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
167
|
+
name = "CannotRemovePrimaryIdentityException";
|
|
168
|
+
$fault = "client";
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "CannotRemovePrimaryIdentityException",
|
|
172
|
+
$fault: "client",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
214
178
|
export class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
215
179
|
name = "CannotUnbindDefaultWorkspaceException";
|
|
216
180
|
$fault = "client";
|
|
@@ -247,16 +211,16 @@ export class UserNotFoundException extends __BaseException {
|
|
|
247
211
|
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
248
212
|
}
|
|
249
213
|
}
|
|
250
|
-
export class
|
|
251
|
-
name = "
|
|
214
|
+
export class PublicAccessIsRestrictedException extends __BaseException {
|
|
215
|
+
name = "PublicAccessIsRestrictedException";
|
|
252
216
|
$fault = "client";
|
|
253
217
|
constructor(opts) {
|
|
254
218
|
super({
|
|
255
|
-
name: "
|
|
219
|
+
name: "PublicAccessIsRestrictedException",
|
|
256
220
|
$fault: "client",
|
|
257
221
|
...opts,
|
|
258
222
|
});
|
|
259
|
-
Object.setPrototypeOf(this,
|
|
223
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
260
224
|
}
|
|
261
225
|
}
|
|
262
226
|
export class IdentityAlreadyLinkedException extends __BaseException {
|
|
@@ -271,56 +235,16 @@ export class IdentityAlreadyLinkedException extends __BaseException {
|
|
|
271
235
|
Object.setPrototypeOf(this, IdentityAlreadyLinkedException.prototype);
|
|
272
236
|
}
|
|
273
237
|
}
|
|
274
|
-
export class
|
|
275
|
-
name = "
|
|
276
|
-
$fault = "client";
|
|
277
|
-
constructor(opts) {
|
|
278
|
-
super({
|
|
279
|
-
name: "IncorrectCodeException",
|
|
280
|
-
$fault: "client",
|
|
281
|
-
...opts,
|
|
282
|
-
});
|
|
283
|
-
Object.setPrototypeOf(this, IncorrectCodeException.prototype);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
export class RateLimitedException extends __BaseException {
|
|
287
|
-
name = "RateLimitedException";
|
|
288
|
-
$fault = "client";
|
|
289
|
-
retryAfter;
|
|
290
|
-
constructor(opts) {
|
|
291
|
-
super({
|
|
292
|
-
name: "RateLimitedException",
|
|
293
|
-
$fault: "client",
|
|
294
|
-
...opts,
|
|
295
|
-
});
|
|
296
|
-
Object.setPrototypeOf(this, RateLimitedException.prototype);
|
|
297
|
-
this.retryAfter = opts.retryAfter;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
export class TooManyAttemptsException extends __BaseException {
|
|
301
|
-
name = "TooManyAttemptsException";
|
|
302
|
-
$fault = "client";
|
|
303
|
-
retryAfter;
|
|
304
|
-
constructor(opts) {
|
|
305
|
-
super({
|
|
306
|
-
name: "TooManyAttemptsException",
|
|
307
|
-
$fault: "client",
|
|
308
|
-
...opts,
|
|
309
|
-
});
|
|
310
|
-
Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
|
|
311
|
-
this.retryAfter = opts.retryAfter;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
export class PublicAccessIsRestrictedException extends __BaseException {
|
|
315
|
-
name = "PublicAccessIsRestrictedException";
|
|
238
|
+
export class IdentityNotFoundException extends __BaseException {
|
|
239
|
+
name = "IdentityNotFoundException";
|
|
316
240
|
$fault = "client";
|
|
317
241
|
constructor(opts) {
|
|
318
242
|
super({
|
|
319
|
-
name: "
|
|
243
|
+
name: "IdentityNotFoundException",
|
|
320
244
|
$fault: "client",
|
|
321
245
|
...opts,
|
|
322
246
|
});
|
|
323
|
-
Object.setPrototypeOf(this,
|
|
247
|
+
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
324
248
|
}
|
|
325
249
|
}
|
|
326
250
|
export class UserQueryPredicateNotMetException extends __BaseException {
|