@wildix/xbees-users-client 4.3.3-wms28830.1 → 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 +17 -7
- package/dist-cjs/auth/httpAuthSchemeProvider.js +35 -16
- package/dist-cjs/commands/ApplyAccountWorkspaceChangesCommand.js +20 -0
- package/dist-cjs/commands/{LinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +6 -6
- package/dist-cjs/commands/ConfirmIdentityChallengeCommand.js +20 -0
- package/dist-cjs/commands/{VerifyIdentityCommand.js → ListAccountEmailChangesCommand.js} +6 -6
- package/dist-cjs/commands/ResendIdentityChallengeCodeCommand.js +20 -0
- package/dist-cjs/commands/{UnlinkIdentityCommand.js → StartIdentityChallengeCommand.js} +6 -6
- package/dist-cjs/commands/index.js +6 -3
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +88 -5
- package/dist-cjs/models/errors.js +144 -24
- 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 +431 -151
- package/dist-es/Users.js +17 -7
- package/dist-es/auth/httpAuthSchemeProvider.js +35 -16
- package/dist-es/commands/ApplyAccountWorkspaceChangesCommand.js +16 -0
- package/dist-es/commands/{UnlinkIdentityCommand.js → ApplyIdentityRemovalCommand.js} +5 -5
- package/dist-es/commands/ConfirmIdentityChallengeCommand.js +16 -0
- package/dist-es/commands/{LinkIdentityCommand.js → ListAccountEmailChangesCommand.js} +5 -5
- package/dist-es/commands/ResendIdentityChallengeCodeCommand.js +16 -0
- package/dist-es/commands/{VerifyIdentityCommand.js → StartIdentityChallengeCommand.js} +5 -5
- package/dist-es/commands/index.js +6 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +87 -4
- package/dist-es/models/errors.js +132 -20
- 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 +427 -147
- package/dist-types/Users.d.ts +46 -18
- package/dist-types/UsersClient.d.ts +8 -5
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
- package/dist-types/commands/ApplyIdentityRemovalCommand.d.ts +93 -0
- package/dist-types/commands/ConfirmIdentityChallengeCommand.d.ts +138 -0
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -0
- package/dist-types/commands/ListIdentitiesCommand.d.ts +4 -2
- package/dist-types/commands/QueryUserCommand.d.ts +1 -1
- package/dist-types/commands/QueryUsersCommand.d.ts +1 -1
- package/dist-types/commands/ResendIdentityChallengeCodeCommand.d.ts +96 -0
- package/dist-types/commands/StartIdentityChallengeCommand.d.ts +139 -0
- package/dist-types/commands/UpdateAccountCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +6 -3
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +344 -8
- package/dist-types/models/errors.d.ts +158 -17
- package/dist-types/models/models_0.d.ts +659 -69
- 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 +40 -9
- package/package.json +5 -5
- package/dist-types/commands/LinkIdentityCommand.d.ts +0 -89
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +0 -85
- package/dist-types/commands/VerifyIdentityCommand.d.ts +0 -90
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WorkspaceNotFoundException = exports.UserQueryPredicateNotMetException = exports.
|
|
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";
|
|
@@ -36,6 +36,19 @@ class RateLimitExceededException extends UsersServiceException_1.UsersServiceExc
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.RateLimitExceededException = RateLimitExceededException;
|
|
39
|
+
class ServiceUnavailableException extends UsersServiceException_1.UsersServiceException {
|
|
40
|
+
name = "ServiceUnavailableException";
|
|
41
|
+
$fault = "server";
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "ServiceUnavailableException",
|
|
45
|
+
$fault: "server",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
39
52
|
class ValidationException extends UsersServiceException_1.UsersServiceException {
|
|
40
53
|
name = "ValidationException";
|
|
41
54
|
$fault = "client";
|
|
@@ -88,6 +101,83 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
|
|
|
88
101
|
}
|
|
89
102
|
}
|
|
90
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;
|
|
142
|
+
class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
|
|
143
|
+
name = "CannotRemovePrimaryIdentityException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "CannotRemovePrimaryIdentityException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
|
|
155
|
+
class ChallengeNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
156
|
+
name = "ChallengeNotFoundException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
constructor(opts) {
|
|
159
|
+
super({
|
|
160
|
+
name: "ChallengeNotFoundException",
|
|
161
|
+
$fault: "client",
|
|
162
|
+
...opts,
|
|
163
|
+
});
|
|
164
|
+
Object.setPrototypeOf(this, ChallengeNotFoundException.prototype);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.ChallengeNotFoundException = ChallengeNotFoundException;
|
|
168
|
+
class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
169
|
+
name = "IdentityNotFoundException";
|
|
170
|
+
$fault = "client";
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "IdentityNotFoundException",
|
|
174
|
+
$fault: "client",
|
|
175
|
+
...opts,
|
|
176
|
+
});
|
|
177
|
+
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.IdentityNotFoundException = IdentityNotFoundException;
|
|
91
181
|
class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
|
|
92
182
|
name = "BotAlreadyExistsException";
|
|
93
183
|
$fault = "client";
|
|
@@ -140,19 +230,6 @@ class BotSecretKeyNotValidException extends UsersServiceException_1.UsersService
|
|
|
140
230
|
}
|
|
141
231
|
}
|
|
142
232
|
exports.BotSecretKeyNotValidException = BotSecretKeyNotValidException;
|
|
143
|
-
class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
|
|
144
|
-
name = "CannotRemovePrimaryIdentityException";
|
|
145
|
-
$fault = "client";
|
|
146
|
-
constructor(opts) {
|
|
147
|
-
super({
|
|
148
|
-
name: "CannotRemovePrimaryIdentityException",
|
|
149
|
-
$fault: "client",
|
|
150
|
-
...opts,
|
|
151
|
-
});
|
|
152
|
-
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
|
|
156
233
|
class CannotUnbindDefaultWorkspaceException extends UsersServiceException_1.UsersServiceException {
|
|
157
234
|
name = "CannotUnbindDefaultWorkspaceException";
|
|
158
235
|
$fault = "client";
|
|
@@ -192,19 +269,19 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
|
|
|
192
269
|
}
|
|
193
270
|
}
|
|
194
271
|
exports.UserNotFoundException = UserNotFoundException;
|
|
195
|
-
class
|
|
196
|
-
name = "
|
|
272
|
+
class CodeExpiredException extends UsersServiceException_1.UsersServiceException {
|
|
273
|
+
name = "CodeExpiredException";
|
|
197
274
|
$fault = "client";
|
|
198
275
|
constructor(opts) {
|
|
199
276
|
super({
|
|
200
|
-
name: "
|
|
277
|
+
name: "CodeExpiredException",
|
|
201
278
|
$fault: "client",
|
|
202
279
|
...opts,
|
|
203
280
|
});
|
|
204
|
-
Object.setPrototypeOf(this,
|
|
281
|
+
Object.setPrototypeOf(this, CodeExpiredException.prototype);
|
|
205
282
|
}
|
|
206
283
|
}
|
|
207
|
-
exports.
|
|
284
|
+
exports.CodeExpiredException = CodeExpiredException;
|
|
208
285
|
class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServiceException {
|
|
209
286
|
name = "IdentityAlreadyLinkedException";
|
|
210
287
|
$fault = "client";
|
|
@@ -218,19 +295,62 @@ class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServic
|
|
|
218
295
|
}
|
|
219
296
|
}
|
|
220
297
|
exports.IdentityAlreadyLinkedException = IdentityAlreadyLinkedException;
|
|
221
|
-
class
|
|
222
|
-
name = "
|
|
298
|
+
class IncorrectCodeException extends UsersServiceException_1.UsersServiceException {
|
|
299
|
+
name = "IncorrectCodeException";
|
|
223
300
|
$fault = "client";
|
|
224
301
|
constructor(opts) {
|
|
225
302
|
super({
|
|
226
|
-
name: "
|
|
303
|
+
name: "IncorrectCodeException",
|
|
227
304
|
$fault: "client",
|
|
228
305
|
...opts,
|
|
229
306
|
});
|
|
230
|
-
Object.setPrototypeOf(this,
|
|
307
|
+
Object.setPrototypeOf(this, IncorrectCodeException.prototype);
|
|
231
308
|
}
|
|
232
309
|
}
|
|
233
|
-
exports.
|
|
310
|
+
exports.IncorrectCodeException = IncorrectCodeException;
|
|
311
|
+
class RateLimitedException extends UsersServiceException_1.UsersServiceException {
|
|
312
|
+
name = "RateLimitedException";
|
|
313
|
+
$fault = "client";
|
|
314
|
+
retryAfter;
|
|
315
|
+
constructor(opts) {
|
|
316
|
+
super({
|
|
317
|
+
name: "RateLimitedException",
|
|
318
|
+
$fault: "client",
|
|
319
|
+
...opts,
|
|
320
|
+
});
|
|
321
|
+
Object.setPrototypeOf(this, RateLimitedException.prototype);
|
|
322
|
+
this.retryAfter = opts.retryAfter;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
exports.RateLimitedException = RateLimitedException;
|
|
326
|
+
class TooManyAttemptsException extends UsersServiceException_1.UsersServiceException {
|
|
327
|
+
name = "TooManyAttemptsException";
|
|
328
|
+
$fault = "client";
|
|
329
|
+
retryAfter;
|
|
330
|
+
constructor(opts) {
|
|
331
|
+
super({
|
|
332
|
+
name: "TooManyAttemptsException",
|
|
333
|
+
$fault: "client",
|
|
334
|
+
...opts,
|
|
335
|
+
});
|
|
336
|
+
Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
|
|
337
|
+
this.retryAfter = opts.retryAfter;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
exports.TooManyAttemptsException = TooManyAttemptsException;
|
|
341
|
+
class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
|
|
342
|
+
name = "PublicAccessIsRestrictedException";
|
|
343
|
+
$fault = "client";
|
|
344
|
+
constructor(opts) {
|
|
345
|
+
super({
|
|
346
|
+
name: "PublicAccessIsRestrictedException",
|
|
347
|
+
$fault: "client",
|
|
348
|
+
...opts,
|
|
349
|
+
});
|
|
350
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
|
|
234
354
|
class UserQueryPredicateNotMetException extends UsersServiceException_1.UsersServiceException {
|
|
235
355
|
name = "UserQueryPredicateNotMetException";
|
|
236
356
|
$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");
|