@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.
- package/dist-cjs/Users.js +15 -11
- package/dist-cjs/auth/httpAuthSchemeProvider.js +19 -20
- package/dist-cjs/commands/{ResendIdentityChallengeCodeCommand.js → ApplyAccountWorkspaceChangesCommand.js} +6 -6
- package/dist-cjs/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +6 -6
- package/dist-cjs/commands/{ConfirmIdentityChallengeCommand.js → ListAccountEmailChangesCommand.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 +5 -5
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/models/enums.js +73 -22
- package/dist-cjs/models/errors.js +46 -90
- 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 +329 -254
- package/dist-es/Users.js +15 -11
- package/dist-es/auth/httpAuthSchemeProvider.js +19 -20
- package/dist-es/commands/{ResendIdentityChallengeCodeCommand.js → ApplyAccountWorkspaceChangesCommand.js} +5 -5
- package/dist-es/commands/{ApplyIdentityRemovalCommand.js → LinkIdentityCommand.js} +5 -5
- package/dist-es/commands/{ConfirmIdentityChallengeCommand.js → ListAccountEmailChangesCommand.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 +5 -5
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +72 -21
- package/dist-es/models/errors.js +40 -80
- 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 +325 -250
- package/dist-types/Users.d.ts +41 -34
- package/dist-types/UsersClient.d.ts +7 -7
- package/dist-types/commands/ApplyAccountWorkspaceChangesCommand.d.ts +193 -0
- package/dist-types/commands/LinkIdentityCommand.d.ts +89 -0
- package/dist-types/commands/ListAccountEmailChangesCommand.d.ts +101 -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 +5 -5
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +270 -74
- package/dist-types/models/errors.d.ts +55 -84
- package/dist-types/models/models_0.d.ts +481 -284
- 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 +28 -24
- package/package.json +5 -5
- 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
|
@@ -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.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";
|
|
@@ -36,19 +36,6 @@ 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;
|
|
52
39
|
class ValidationException extends UsersServiceException_1.UsersServiceException {
|
|
53
40
|
name = "ValidationException";
|
|
54
41
|
$fault = "client";
|
|
@@ -101,45 +88,44 @@ class AccountNotFoundException extends UsersServiceException_1.UsersServiceExcep
|
|
|
101
88
|
}
|
|
102
89
|
}
|
|
103
90
|
exports.AccountNotFoundException = AccountNotFoundException;
|
|
104
|
-
class
|
|
105
|
-
name = "
|
|
106
|
-
$fault = "client";
|
|
107
|
-
constructor(opts) {
|
|
108
|
-
super({
|
|
109
|
-
name: "CannotRemovePrimaryIdentityException",
|
|
110
|
-
$fault: "client",
|
|
111
|
-
...opts,
|
|
112
|
-
});
|
|
113
|
-
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
|
|
117
|
-
class ChallengeNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
118
|
-
name = "ChallengeNotFoundException";
|
|
91
|
+
class AccountWorkspaceChangeRefusedException extends UsersServiceException_1.UsersServiceException {
|
|
92
|
+
name = "AccountWorkspaceChangeRefusedException";
|
|
119
93
|
$fault = "client";
|
|
94
|
+
code;
|
|
95
|
+
row;
|
|
96
|
+
accountId;
|
|
97
|
+
workspaceId;
|
|
120
98
|
constructor(opts) {
|
|
121
99
|
super({
|
|
122
|
-
name: "
|
|
100
|
+
name: "AccountWorkspaceChangeRefusedException",
|
|
123
101
|
$fault: "client",
|
|
124
102
|
...opts,
|
|
125
103
|
});
|
|
126
|
-
Object.setPrototypeOf(this,
|
|
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;
|
|
127
109
|
}
|
|
128
110
|
}
|
|
129
|
-
exports.
|
|
130
|
-
class
|
|
131
|
-
name = "
|
|
111
|
+
exports.AccountWorkspaceChangeRefusedException = AccountWorkspaceChangeRefusedException;
|
|
112
|
+
class AccountWorkspaceConflictException extends UsersServiceException_1.UsersServiceException {
|
|
113
|
+
name = "AccountWorkspaceConflictException";
|
|
132
114
|
$fault = "client";
|
|
115
|
+
row;
|
|
116
|
+
field;
|
|
133
117
|
constructor(opts) {
|
|
134
118
|
super({
|
|
135
|
-
name: "
|
|
119
|
+
name: "AccountWorkspaceConflictException",
|
|
136
120
|
$fault: "client",
|
|
137
121
|
...opts,
|
|
138
122
|
});
|
|
139
|
-
Object.setPrototypeOf(this,
|
|
123
|
+
Object.setPrototypeOf(this, AccountWorkspaceConflictException.prototype);
|
|
124
|
+
this.row = opts.row;
|
|
125
|
+
this.field = opts.field;
|
|
140
126
|
}
|
|
141
127
|
}
|
|
142
|
-
exports.
|
|
128
|
+
exports.AccountWorkspaceConflictException = AccountWorkspaceConflictException;
|
|
143
129
|
class BotAlreadyExistsException extends UsersServiceException_1.UsersServiceException {
|
|
144
130
|
name = "BotAlreadyExistsException";
|
|
145
131
|
$fault = "client";
|
|
@@ -192,6 +178,19 @@ class BotSecretKeyNotValidException extends UsersServiceException_1.UsersService
|
|
|
192
178
|
}
|
|
193
179
|
}
|
|
194
180
|
exports.BotSecretKeyNotValidException = BotSecretKeyNotValidException;
|
|
181
|
+
class CannotRemovePrimaryIdentityException extends UsersServiceException_1.UsersServiceException {
|
|
182
|
+
name = "CannotRemovePrimaryIdentityException";
|
|
183
|
+
$fault = "client";
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "CannotRemovePrimaryIdentityException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.CannotRemovePrimaryIdentityException = CannotRemovePrimaryIdentityException;
|
|
195
194
|
class CannotUnbindDefaultWorkspaceException extends UsersServiceException_1.UsersServiceException {
|
|
196
195
|
name = "CannotUnbindDefaultWorkspaceException";
|
|
197
196
|
$fault = "client";
|
|
@@ -231,19 +230,19 @@ class UserNotFoundException extends UsersServiceException_1.UsersServiceExceptio
|
|
|
231
230
|
}
|
|
232
231
|
}
|
|
233
232
|
exports.UserNotFoundException = UserNotFoundException;
|
|
234
|
-
class
|
|
235
|
-
name = "
|
|
233
|
+
class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
|
|
234
|
+
name = "PublicAccessIsRestrictedException";
|
|
236
235
|
$fault = "client";
|
|
237
236
|
constructor(opts) {
|
|
238
237
|
super({
|
|
239
|
-
name: "
|
|
238
|
+
name: "PublicAccessIsRestrictedException",
|
|
240
239
|
$fault: "client",
|
|
241
240
|
...opts,
|
|
242
241
|
});
|
|
243
|
-
Object.setPrototypeOf(this,
|
|
242
|
+
Object.setPrototypeOf(this, PublicAccessIsRestrictedException.prototype);
|
|
244
243
|
}
|
|
245
244
|
}
|
|
246
|
-
exports.
|
|
245
|
+
exports.PublicAccessIsRestrictedException = PublicAccessIsRestrictedException;
|
|
247
246
|
class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServiceException {
|
|
248
247
|
name = "IdentityAlreadyLinkedException";
|
|
249
248
|
$fault = "client";
|
|
@@ -257,62 +256,19 @@ class IdentityAlreadyLinkedException extends UsersServiceException_1.UsersServic
|
|
|
257
256
|
}
|
|
258
257
|
}
|
|
259
258
|
exports.IdentityAlreadyLinkedException = IdentityAlreadyLinkedException;
|
|
260
|
-
class
|
|
261
|
-
name = "
|
|
262
|
-
$fault = "client";
|
|
263
|
-
constructor(opts) {
|
|
264
|
-
super({
|
|
265
|
-
name: "IncorrectCodeException",
|
|
266
|
-
$fault: "client",
|
|
267
|
-
...opts,
|
|
268
|
-
});
|
|
269
|
-
Object.setPrototypeOf(this, IncorrectCodeException.prototype);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
exports.IncorrectCodeException = IncorrectCodeException;
|
|
273
|
-
class RateLimitedException extends UsersServiceException_1.UsersServiceException {
|
|
274
|
-
name = "RateLimitedException";
|
|
275
|
-
$fault = "client";
|
|
276
|
-
retryAfter;
|
|
277
|
-
constructor(opts) {
|
|
278
|
-
super({
|
|
279
|
-
name: "RateLimitedException",
|
|
280
|
-
$fault: "client",
|
|
281
|
-
...opts,
|
|
282
|
-
});
|
|
283
|
-
Object.setPrototypeOf(this, RateLimitedException.prototype);
|
|
284
|
-
this.retryAfter = opts.retryAfter;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
exports.RateLimitedException = RateLimitedException;
|
|
288
|
-
class TooManyAttemptsException extends UsersServiceException_1.UsersServiceException {
|
|
289
|
-
name = "TooManyAttemptsException";
|
|
290
|
-
$fault = "client";
|
|
291
|
-
retryAfter;
|
|
292
|
-
constructor(opts) {
|
|
293
|
-
super({
|
|
294
|
-
name: "TooManyAttemptsException",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts,
|
|
297
|
-
});
|
|
298
|
-
Object.setPrototypeOf(this, TooManyAttemptsException.prototype);
|
|
299
|
-
this.retryAfter = opts.retryAfter;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
exports.TooManyAttemptsException = TooManyAttemptsException;
|
|
303
|
-
class PublicAccessIsRestrictedException extends UsersServiceException_1.UsersServiceException {
|
|
304
|
-
name = "PublicAccessIsRestrictedException";
|
|
259
|
+
class IdentityNotFoundException extends UsersServiceException_1.UsersServiceException {
|
|
260
|
+
name = "IdentityNotFoundException";
|
|
305
261
|
$fault = "client";
|
|
306
262
|
constructor(opts) {
|
|
307
263
|
super({
|
|
308
|
-
name: "
|
|
264
|
+
name: "IdentityNotFoundException",
|
|
309
265
|
$fault: "client",
|
|
310
266
|
...opts,
|
|
311
267
|
});
|
|
312
|
-
Object.setPrototypeOf(this,
|
|
268
|
+
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
313
269
|
}
|
|
314
270
|
}
|
|
315
|
-
exports.
|
|
271
|
+
exports.IdentityNotFoundException = IdentityNotFoundException;
|
|
316
272
|
class UserQueryPredicateNotMetException extends UsersServiceException_1.UsersServiceException {
|
|
317
273
|
name = "UserQueryPredicateNotMetException";
|
|
318
274
|
$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");
|