@wildix/xbees-users-client 1.2.5 → 1.2.6
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 +10 -10
- package/dist-cjs/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +7 -7
- package/dist-cjs/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +7 -7
- package/dist-cjs/commands/{VerifyAddIdentityCommand.js → UnlinkIdentityCommand.js} +7 -7
- package/dist-cjs/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +7 -7
- package/dist-cjs/commands/VerifyIdentityCommand.js +21 -0
- package/dist-cjs/commands/index.js +5 -5
- package/dist-cjs/models/models_0.js +66 -66
- package/dist-cjs/protocols/Aws_restJson1.js +105 -106
- package/dist-es/Users.js +10 -10
- package/dist-es/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +6 -6
- package/dist-es/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +6 -6
- package/dist-es/commands/UnlinkIdentityCommand.js +17 -0
- package/dist-es/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +6 -6
- package/dist-es/commands/VerifyIdentityCommand.js +17 -0
- package/dist-es/commands/index.js +5 -5
- package/dist-es/models/models_0.js +60 -60
- package/dist-es/protocols/Aws_restJson1.js +87 -88
- package/dist-types/Users.d.ts +31 -31
- package/dist-types/UsersClient.d.ts +7 -7
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -12
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -12
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -12
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -12
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -12
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -12
- package/dist-types/commands/CreateBotCommand.d.ts +0 -12
- package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -12
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -12
- package/dist-types/commands/DeleteBotCommand.d.ts +0 -12
- package/dist-types/commands/GetAccountCommand.d.ts +0 -10
- package/dist-types/commands/GetAppVersionCommand.d.ts +0 -12
- package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -12
- package/dist-types/commands/GetBotCommand.d.ts +0 -12
- package/dist-types/commands/GetUserCommand.d.ts +0 -12
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -12
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -12
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -12
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -12
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -12
- package/dist-types/commands/InviteCommand.d.ts +0 -12
- package/dist-types/commands/LinkIdentityCommand.d.ts +85 -0
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -12
- package/dist-types/commands/ListBotsCommand.d.ts +0 -12
- package/dist-types/commands/ListIdentitiesCommand.d.ts +84 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +0 -10
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
- package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -12
- package/dist-types/commands/QueryUserCommand.d.ts +0 -12
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -12
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -12
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -12
- package/dist-types/commands/{RemoveIdentityCommand.d.ts → UnlinkIdentityCommand.d.ts} +20 -26
- package/dist-types/commands/{UnbindWorkspaceCommand.d.ts → UnlinkWorkspaceCommand.d.ts} +20 -26
- package/dist-types/commands/UpdateAccountCommand.d.ts +0 -6
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -12
- package/dist-types/commands/UpdateBotCommand.d.ts +0 -12
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -8
- package/dist-types/commands/UploadPictureCommand.d.ts +0 -12
- package/dist-types/commands/UploadPictureV1Command.d.ts +0 -12
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -12
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -12
- package/dist-types/commands/VerifyIdentityCommand.d.ts +86 -0
- package/dist-types/commands/index.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +152 -153
- package/dist-types/protocols/Aws_restJson1.d.ts +35 -35
- package/package.json +1 -1
- package/dist-cjs/commands/ListAccountIdentitiesCommand.js +0 -21
- package/dist-es/commands/ListAccountIdentitiesCommand.js +0 -17
- package/dist-es/commands/VerifyAddIdentityCommand.js +0 -17
- package/dist-types/commands/AddIdentityCommand.d.ts +0 -93
- package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +0 -94
- package/dist-types/commands/VerifyAddIdentityCommand.d.ts +0 -95
|
@@ -76,66 +76,6 @@ export class AccountNotFoundException extends __BaseException {
|
|
|
76
76
|
Object.setPrototypeOf(this, AccountNotFoundException.prototype);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
80
|
-
name = "CannotRemovePrimaryIdentityException";
|
|
81
|
-
$fault = "client";
|
|
82
|
-
constructor(opts) {
|
|
83
|
-
super({
|
|
84
|
-
name: "CannotRemovePrimaryIdentityException",
|
|
85
|
-
$fault: "client",
|
|
86
|
-
...opts
|
|
87
|
-
});
|
|
88
|
-
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
92
|
-
name = "CannotUnbindDefaultWorkspaceException";
|
|
93
|
-
$fault = "client";
|
|
94
|
-
constructor(opts) {
|
|
95
|
-
super({
|
|
96
|
-
name: "CannotUnbindDefaultWorkspaceException",
|
|
97
|
-
$fault: "client",
|
|
98
|
-
...opts
|
|
99
|
-
});
|
|
100
|
-
Object.setPrototypeOf(this, CannotUnbindDefaultWorkspaceException.prototype);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
export class IdentityAlreadyLinkedException extends __BaseException {
|
|
104
|
-
name = "IdentityAlreadyLinkedException";
|
|
105
|
-
$fault = "client";
|
|
106
|
-
constructor(opts) {
|
|
107
|
-
super({
|
|
108
|
-
name: "IdentityAlreadyLinkedException",
|
|
109
|
-
$fault: "client",
|
|
110
|
-
...opts
|
|
111
|
-
});
|
|
112
|
-
Object.setPrototypeOf(this, IdentityAlreadyLinkedException.prototype);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export class IdentityNotFoundException extends __BaseException {
|
|
116
|
-
name = "IdentityNotFoundException";
|
|
117
|
-
$fault = "client";
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "IdentityNotFoundException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
export class WorkspaceNotFoundException extends __BaseException {
|
|
128
|
-
name = "WorkspaceNotFoundException";
|
|
129
|
-
$fault = "client";
|
|
130
|
-
constructor(opts) {
|
|
131
|
-
super({
|
|
132
|
-
name: "WorkspaceNotFoundException",
|
|
133
|
-
$fault: "client",
|
|
134
|
-
...opts
|
|
135
|
-
});
|
|
136
|
-
Object.setPrototypeOf(this, WorkspaceNotFoundException.prototype);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
79
|
export const AppType = {
|
|
140
80
|
COLLABORATION: "collaboration",
|
|
141
81
|
X_BEES: "x-bees",
|
|
@@ -267,6 +207,30 @@ export class BotSecretKeyNotValidException extends __BaseException {
|
|
|
267
207
|
Object.setPrototypeOf(this, BotSecretKeyNotValidException.prototype);
|
|
268
208
|
}
|
|
269
209
|
}
|
|
210
|
+
export class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
211
|
+
name = "CannotRemovePrimaryIdentityException";
|
|
212
|
+
$fault = "client";
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "CannotRemovePrimaryIdentityException",
|
|
216
|
+
$fault: "client",
|
|
217
|
+
...opts
|
|
218
|
+
});
|
|
219
|
+
Object.setPrototypeOf(this, CannotRemovePrimaryIdentityException.prototype);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
export class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
223
|
+
name = "CannotUnbindDefaultWorkspaceException";
|
|
224
|
+
$fault = "client";
|
|
225
|
+
constructor(opts) {
|
|
226
|
+
super({
|
|
227
|
+
name: "CannotUnbindDefaultWorkspaceException",
|
|
228
|
+
$fault: "client",
|
|
229
|
+
...opts
|
|
230
|
+
});
|
|
231
|
+
Object.setPrototypeOf(this, CannotUnbindDefaultWorkspaceException.prototype);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
270
234
|
export class UserCompanyNotValidException extends __BaseException {
|
|
271
235
|
name = "UserCompanyNotValidException";
|
|
272
236
|
$fault = "client";
|
|
@@ -296,6 +260,30 @@ export const WorkspaceType = {
|
|
|
296
260
|
SUPPORT: "support",
|
|
297
261
|
WORK: "work",
|
|
298
262
|
};
|
|
263
|
+
export class IdentityAlreadyLinkedException extends __BaseException {
|
|
264
|
+
name = "IdentityAlreadyLinkedException";
|
|
265
|
+
$fault = "client";
|
|
266
|
+
constructor(opts) {
|
|
267
|
+
super({
|
|
268
|
+
name: "IdentityAlreadyLinkedException",
|
|
269
|
+
$fault: "client",
|
|
270
|
+
...opts
|
|
271
|
+
});
|
|
272
|
+
Object.setPrototypeOf(this, IdentityAlreadyLinkedException.prototype);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
export class IdentityNotFoundException extends __BaseException {
|
|
276
|
+
name = "IdentityNotFoundException";
|
|
277
|
+
$fault = "client";
|
|
278
|
+
constructor(opts) {
|
|
279
|
+
super({
|
|
280
|
+
name: "IdentityNotFoundException",
|
|
281
|
+
$fault: "client",
|
|
282
|
+
...opts
|
|
283
|
+
});
|
|
284
|
+
Object.setPrototypeOf(this, IdentityNotFoundException.prototype);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
299
287
|
export var UserQuery;
|
|
300
288
|
(function (UserQuery) {
|
|
301
289
|
UserQuery.visit = (value, visitor) => {
|
|
@@ -320,3 +308,15 @@ export class UserQueryPredicateNotMetException extends __BaseException {
|
|
|
320
308
|
Object.setPrototypeOf(this, UserQueryPredicateNotMetException.prototype);
|
|
321
309
|
}
|
|
322
310
|
}
|
|
311
|
+
export class WorkspaceNotFoundException extends __BaseException {
|
|
312
|
+
name = "WorkspaceNotFoundException";
|
|
313
|
+
$fault = "client";
|
|
314
|
+
constructor(opts) {
|
|
315
|
+
super({
|
|
316
|
+
name: "WorkspaceNotFoundException",
|
|
317
|
+
$fault: "client",
|
|
318
|
+
...opts
|
|
319
|
+
});
|
|
320
|
+
Object.setPrototypeOf(this, WorkspaceNotFoundException.prototype);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
@@ -3,22 +3,6 @@ import { AccountNotFoundException, BotApiKeyNotFoundException, BotEndpoint, BotL
|
|
|
3
3
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
4
4
|
import { requestBuilder as rb } from "@smithy/core";
|
|
5
5
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
6
|
-
export const se_AddIdentityCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
'content-type': 'application/json',
|
|
10
|
-
};
|
|
11
|
-
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
12
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
'identity': [],
|
|
16
|
-
}));
|
|
17
|
-
b.m("POST")
|
|
18
|
-
.h(headers)
|
|
19
|
-
.b(body);
|
|
20
|
-
return b.build();
|
|
21
|
-
};
|
|
22
6
|
export const se_BatchGetUsersCommand = async (input, context) => {
|
|
23
7
|
const b = rb(input, context);
|
|
24
8
|
const headers = {
|
|
@@ -341,13 +325,18 @@ export const se_InviteCommand = async (input, context) => {
|
|
|
341
325
|
.b(body);
|
|
342
326
|
return b.build();
|
|
343
327
|
};
|
|
344
|
-
export const
|
|
328
|
+
export const se_LinkIdentityCommand = async (input, context) => {
|
|
345
329
|
const b = rb(input, context);
|
|
346
|
-
const headers = {
|
|
330
|
+
const headers = {
|
|
331
|
+
'content-type': 'application/json',
|
|
332
|
+
};
|
|
347
333
|
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
348
334
|
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
349
335
|
let body;
|
|
350
|
-
|
|
336
|
+
body = JSON.stringify(take(input, {
|
|
337
|
+
'identity': [],
|
|
338
|
+
}));
|
|
339
|
+
b.m("POST")
|
|
351
340
|
.h(headers)
|
|
352
341
|
.b(body);
|
|
353
342
|
return b.build();
|
|
@@ -381,6 +370,17 @@ export const se_ListBotsCommand = async (input, context) => {
|
|
|
381
370
|
.b(body);
|
|
382
371
|
return b.build();
|
|
383
372
|
};
|
|
373
|
+
export const se_ListIdentitiesCommand = async (input, context) => {
|
|
374
|
+
const b = rb(input, context);
|
|
375
|
+
const headers = {};
|
|
376
|
+
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
377
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
378
|
+
let body;
|
|
379
|
+
b.m("GET")
|
|
380
|
+
.h(headers)
|
|
381
|
+
.b(body);
|
|
382
|
+
return b.build();
|
|
383
|
+
};
|
|
384
384
|
export const se_ListWorkspacesCommand = async (input, context) => {
|
|
385
385
|
const b = rb(input, context);
|
|
386
386
|
const headers = {};
|
|
@@ -461,18 +461,6 @@ export const se_QueryUsersCommand = async (input, context) => {
|
|
|
461
461
|
.b(body);
|
|
462
462
|
return b.build();
|
|
463
463
|
};
|
|
464
|
-
export const se_RemoveIdentityCommand = async (input, context) => {
|
|
465
|
-
const b = rb(input, context);
|
|
466
|
-
const headers = {};
|
|
467
|
-
b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
|
|
468
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
469
|
-
b.p('identity', () => input.identity, '{identity}', false);
|
|
470
|
-
let body;
|
|
471
|
-
b.m("DELETE")
|
|
472
|
-
.h(headers)
|
|
473
|
-
.b(body);
|
|
474
|
-
return b.build();
|
|
475
|
-
};
|
|
476
464
|
export const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
477
465
|
const b = rb(input, context);
|
|
478
466
|
const headers = {
|
|
@@ -505,7 +493,19 @@ export const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input
|
|
|
505
493
|
.b(body);
|
|
506
494
|
return b.build();
|
|
507
495
|
};
|
|
508
|
-
export const
|
|
496
|
+
export const se_UnlinkIdentityCommand = async (input, context) => {
|
|
497
|
+
const b = rb(input, context);
|
|
498
|
+
const headers = {};
|
|
499
|
+
b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
|
|
500
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
501
|
+
b.p('identity', () => input.identity, '{identity}', false);
|
|
502
|
+
let body;
|
|
503
|
+
b.m("DELETE")
|
|
504
|
+
.h(headers)
|
|
505
|
+
.b(body);
|
|
506
|
+
return b.build();
|
|
507
|
+
};
|
|
508
|
+
export const se_UnlinkWorkspaceCommand = async (input, context) => {
|
|
509
509
|
const b = rb(input, context);
|
|
510
510
|
const headers = {};
|
|
511
511
|
b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
|
|
@@ -643,30 +643,27 @@ export const se_UploadPictureV1Command = async (input, context) => {
|
|
|
643
643
|
.b(body);
|
|
644
644
|
return b.build();
|
|
645
645
|
};
|
|
646
|
-
export const
|
|
646
|
+
export const se_VerifyBotSecretKeyCommand = async (input, context) => {
|
|
647
647
|
const b = rb(input, context);
|
|
648
648
|
const headers = {
|
|
649
649
|
'content-type': 'application/json',
|
|
650
650
|
};
|
|
651
|
-
b.bp("/v2/users/
|
|
652
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
651
|
+
b.bp("/v2/users/verify-bot-secret-key");
|
|
653
652
|
let body;
|
|
654
653
|
body = JSON.stringify(take(input, {
|
|
655
|
-
'
|
|
656
|
-
'otp': [],
|
|
657
|
-
'primaryOtp': [],
|
|
654
|
+
'secret': [],
|
|
658
655
|
}));
|
|
659
656
|
b.m("POST")
|
|
660
657
|
.h(headers)
|
|
661
658
|
.b(body);
|
|
662
659
|
return b.build();
|
|
663
660
|
};
|
|
664
|
-
export const
|
|
661
|
+
export const se_VerifyBotSecretKeyV1Command = async (input, context) => {
|
|
665
662
|
const b = rb(input, context);
|
|
666
663
|
const headers = {
|
|
667
664
|
'content-type': 'application/json',
|
|
668
665
|
};
|
|
669
|
-
b.bp("/v2/users/
|
|
666
|
+
b.bp("/v2/users/auth/VerifyBotSecretKey");
|
|
670
667
|
let body;
|
|
671
668
|
body = JSON.stringify(take(input, {
|
|
672
669
|
'secret': [],
|
|
@@ -676,35 +673,23 @@ export const se_VerifyBotSecretKeyCommand = async (input, context) => {
|
|
|
676
673
|
.b(body);
|
|
677
674
|
return b.build();
|
|
678
675
|
};
|
|
679
|
-
export const
|
|
676
|
+
export const se_VerifyIdentityCommand = async (input, context) => {
|
|
680
677
|
const b = rb(input, context);
|
|
681
678
|
const headers = {
|
|
682
679
|
'content-type': 'application/json',
|
|
683
680
|
};
|
|
684
|
-
b.bp("/v2/users/
|
|
681
|
+
b.bp("/v2/users/accounts/{accountId}/identities/verify");
|
|
682
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
685
683
|
let body;
|
|
686
684
|
body = JSON.stringify(take(input, {
|
|
687
|
-
'
|
|
685
|
+
'identity': [],
|
|
686
|
+
'otp': [],
|
|
688
687
|
}));
|
|
689
688
|
b.m("POST")
|
|
690
689
|
.h(headers)
|
|
691
690
|
.b(body);
|
|
692
691
|
return b.build();
|
|
693
692
|
};
|
|
694
|
-
export const de_AddIdentityCommand = async (output, context) => {
|
|
695
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
696
|
-
return de_CommandError(output, context);
|
|
697
|
-
}
|
|
698
|
-
const contents = map({
|
|
699
|
-
$metadata: deserializeMetadata(output),
|
|
700
|
-
});
|
|
701
|
-
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
702
|
-
const doc = take(data, {
|
|
703
|
-
'identity': _json,
|
|
704
|
-
});
|
|
705
|
-
Object.assign(contents, doc);
|
|
706
|
-
return contents;
|
|
707
|
-
};
|
|
708
693
|
export const de_BatchGetUsersCommand = async (output, context) => {
|
|
709
694
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
710
695
|
return de_CommandError(output, context);
|
|
@@ -994,7 +979,7 @@ export const de_InviteCommand = async (output, context) => {
|
|
|
994
979
|
Object.assign(contents, doc);
|
|
995
980
|
return contents;
|
|
996
981
|
};
|
|
997
|
-
export const
|
|
982
|
+
export const de_LinkIdentityCommand = async (output, context) => {
|
|
998
983
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
999
984
|
return de_CommandError(output, context);
|
|
1000
985
|
}
|
|
@@ -1003,7 +988,7 @@ export const de_ListAccountIdentitiesCommand = async (output, context) => {
|
|
|
1003
988
|
});
|
|
1004
989
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1005
990
|
const doc = take(data, {
|
|
1006
|
-
'
|
|
991
|
+
'identity': _json,
|
|
1007
992
|
});
|
|
1008
993
|
Object.assign(contents, doc);
|
|
1009
994
|
return contents;
|
|
@@ -1036,6 +1021,20 @@ export const de_ListBotsCommand = async (output, context) => {
|
|
|
1036
1021
|
Object.assign(contents, doc);
|
|
1037
1022
|
return contents;
|
|
1038
1023
|
};
|
|
1024
|
+
export const de_ListIdentitiesCommand = async (output, context) => {
|
|
1025
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1026
|
+
return de_CommandError(output, context);
|
|
1027
|
+
}
|
|
1028
|
+
const contents = map({
|
|
1029
|
+
$metadata: deserializeMetadata(output),
|
|
1030
|
+
});
|
|
1031
|
+
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1032
|
+
const doc = take(data, {
|
|
1033
|
+
'identities': _json,
|
|
1034
|
+
});
|
|
1035
|
+
Object.assign(contents, doc);
|
|
1036
|
+
return contents;
|
|
1037
|
+
};
|
|
1039
1038
|
export const de_ListWorkspacesCommand = async (output, context) => {
|
|
1040
1039
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1041
1040
|
return de_CommandError(output, context);
|
|
@@ -1106,7 +1105,7 @@ export const de_QueryUsersCommand = async (output, context) => {
|
|
|
1106
1105
|
Object.assign(contents, doc);
|
|
1107
1106
|
return contents;
|
|
1108
1107
|
};
|
|
1109
|
-
export const
|
|
1108
|
+
export const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
1110
1109
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1111
1110
|
return de_CommandError(output, context);
|
|
1112
1111
|
}
|
|
@@ -1116,7 +1115,7 @@ export const de_RemoveIdentityCommand = async (output, context) => {
|
|
|
1116
1115
|
await collectBody(output.body, context);
|
|
1117
1116
|
return contents;
|
|
1118
1117
|
};
|
|
1119
|
-
export const
|
|
1118
|
+
export const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
1120
1119
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1121
1120
|
return de_CommandError(output, context);
|
|
1122
1121
|
}
|
|
@@ -1126,7 +1125,7 @@ export const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async
|
|
|
1126
1125
|
await collectBody(output.body, context);
|
|
1127
1126
|
return contents;
|
|
1128
1127
|
};
|
|
1129
|
-
export const
|
|
1128
|
+
export const de_UnlinkIdentityCommand = async (output, context) => {
|
|
1130
1129
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1131
1130
|
return de_CommandError(output, context);
|
|
1132
1131
|
}
|
|
@@ -1136,7 +1135,7 @@ export const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (outpu
|
|
|
1136
1135
|
await collectBody(output.body, context);
|
|
1137
1136
|
return contents;
|
|
1138
1137
|
};
|
|
1139
|
-
export const
|
|
1138
|
+
export const de_UnlinkWorkspaceCommand = async (output, context) => {
|
|
1140
1139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1141
1140
|
return de_CommandError(output, context);
|
|
1142
1141
|
}
|
|
@@ -1244,7 +1243,7 @@ export const de_UploadPictureV1Command = async (output, context) => {
|
|
|
1244
1243
|
Object.assign(contents, doc);
|
|
1245
1244
|
return contents;
|
|
1246
1245
|
};
|
|
1247
|
-
export const
|
|
1246
|
+
export const de_VerifyBotSecretKeyCommand = async (output, context) => {
|
|
1248
1247
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1249
1248
|
return de_CommandError(output, context);
|
|
1250
1249
|
}
|
|
@@ -1253,12 +1252,14 @@ export const de_VerifyAddIdentityCommand = async (output, context) => {
|
|
|
1253
1252
|
});
|
|
1254
1253
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1255
1254
|
const doc = take(data, {
|
|
1256
|
-
'
|
|
1255
|
+
'company': __expectString,
|
|
1256
|
+
'id': __expectString,
|
|
1257
|
+
'name': __expectString,
|
|
1257
1258
|
});
|
|
1258
1259
|
Object.assign(contents, doc);
|
|
1259
1260
|
return contents;
|
|
1260
1261
|
};
|
|
1261
|
-
export const
|
|
1262
|
+
export const de_VerifyBotSecretKeyV1Command = async (output, context) => {
|
|
1262
1263
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1263
1264
|
return de_CommandError(output, context);
|
|
1264
1265
|
}
|
|
@@ -1274,7 +1275,7 @@ export const de_VerifyBotSecretKeyCommand = async (output, context) => {
|
|
|
1274
1275
|
Object.assign(contents, doc);
|
|
1275
1276
|
return contents;
|
|
1276
1277
|
};
|
|
1277
|
-
export const
|
|
1278
|
+
export const de_VerifyIdentityCommand = async (output, context) => {
|
|
1278
1279
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1279
1280
|
return de_CommandError(output, context);
|
|
1280
1281
|
}
|
|
@@ -1283,9 +1284,7 @@ export const de_VerifyBotSecretKeyV1Command = async (output, context) => {
|
|
|
1283
1284
|
});
|
|
1284
1285
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1285
1286
|
const doc = take(data, {
|
|
1286
|
-
'
|
|
1287
|
-
'id': __expectString,
|
|
1288
|
-
'name': __expectString,
|
|
1287
|
+
'identity': _json,
|
|
1289
1288
|
});
|
|
1290
1289
|
Object.assign(contents, doc);
|
|
1291
1290
|
return contents;
|
|
@@ -1297,30 +1296,12 @@ const de_CommandError = async (output, context) => {
|
|
|
1297
1296
|
};
|
|
1298
1297
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1299
1298
|
switch (errorCode) {
|
|
1300
|
-
case "AccountNotFoundException":
|
|
1301
|
-
case "wildix.xbees.users#AccountNotFoundException":
|
|
1302
|
-
throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
|
|
1303
|
-
case "CannotRemovePrimaryIdentityException":
|
|
1304
|
-
case "wildix.xbees.users#CannotRemovePrimaryIdentityException":
|
|
1305
|
-
throw await de_CannotRemovePrimaryIdentityExceptionRes(parsedOutput, context);
|
|
1306
|
-
case "CannotUnbindDefaultWorkspaceException":
|
|
1307
|
-
case "wildix.xbees.users#CannotUnbindDefaultWorkspaceException":
|
|
1308
|
-
throw await de_CannotUnbindDefaultWorkspaceExceptionRes(parsedOutput, context);
|
|
1309
1299
|
case "ForbiddenException":
|
|
1310
1300
|
case "smithy.framework#ForbiddenException":
|
|
1311
1301
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1312
|
-
case "IdentityAlreadyLinkedException":
|
|
1313
|
-
case "wildix.xbees.users#IdentityAlreadyLinkedException":
|
|
1314
|
-
throw await de_IdentityAlreadyLinkedExceptionRes(parsedOutput, context);
|
|
1315
|
-
case "IdentityNotFoundException":
|
|
1316
|
-
case "wildix.xbees.users#IdentityNotFoundException":
|
|
1317
|
-
throw await de_IdentityNotFoundExceptionRes(parsedOutput, context);
|
|
1318
1302
|
case "ValidationException":
|
|
1319
1303
|
case "smithy.framework#ValidationException":
|
|
1320
1304
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1321
|
-
case "WorkspaceNotFoundException":
|
|
1322
|
-
case "wildix.xbees.users#WorkspaceNotFoundException":
|
|
1323
|
-
throw await de_WorkspaceNotFoundExceptionRes(parsedOutput, context);
|
|
1324
1305
|
case "UserCompanyNotValidException":
|
|
1325
1306
|
case "wildix.xbees.users#UserCompanyNotValidException":
|
|
1326
1307
|
throw await de_UserCompanyNotValidExceptionRes(parsedOutput, context);
|
|
@@ -1333,9 +1314,27 @@ const de_CommandError = async (output, context) => {
|
|
|
1333
1314
|
case "BotApiKeyNotFoundException":
|
|
1334
1315
|
case "wildix.xbees.users#BotApiKeyNotFoundException":
|
|
1335
1316
|
throw await de_BotApiKeyNotFoundExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "AccountNotFoundException":
|
|
1318
|
+
case "wildix.xbees.users#AccountNotFoundException":
|
|
1319
|
+
throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "IdentityAlreadyLinkedException":
|
|
1321
|
+
case "wildix.xbees.users#IdentityAlreadyLinkedException":
|
|
1322
|
+
throw await de_IdentityAlreadyLinkedExceptionRes(parsedOutput, context);
|
|
1336
1323
|
case "UserQueryPredicateNotMetException":
|
|
1337
1324
|
case "wildix.xbees.users#UserQueryPredicateNotMetException":
|
|
1338
1325
|
throw await de_UserQueryPredicateNotMetExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "CannotRemovePrimaryIdentityException":
|
|
1327
|
+
case "wildix.xbees.users#CannotRemovePrimaryIdentityException":
|
|
1328
|
+
throw await de_CannotRemovePrimaryIdentityExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "IdentityNotFoundException":
|
|
1330
|
+
case "wildix.xbees.users#IdentityNotFoundException":
|
|
1331
|
+
throw await de_IdentityNotFoundExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "CannotUnbindDefaultWorkspaceException":
|
|
1333
|
+
case "wildix.xbees.users#CannotUnbindDefaultWorkspaceException":
|
|
1334
|
+
throw await de_CannotUnbindDefaultWorkspaceExceptionRes(parsedOutput, context);
|
|
1335
|
+
case "WorkspaceNotFoundException":
|
|
1336
|
+
case "wildix.xbees.users#WorkspaceNotFoundException":
|
|
1337
|
+
throw await de_WorkspaceNotFoundExceptionRes(parsedOutput, context);
|
|
1339
1338
|
case "BotSecretKeyNotValidException":
|
|
1340
1339
|
case "wildix.xbees.users#BotSecretKeyNotValidException":
|
|
1341
1340
|
throw await de_BotSecretKeyNotValidExceptionRes(parsedOutput, context);
|
package/dist-types/Users.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UsersClient } from "./UsersClient";
|
|
2
|
-
import { AddIdentityCommandInput, AddIdentityCommandOutput } from "./commands/AddIdentityCommand";
|
|
3
2
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
4
3
|
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
5
4
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
@@ -21,18 +20,19 @@ import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOu
|
|
|
21
20
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
22
21
|
import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
|
|
23
22
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
24
|
-
import {
|
|
23
|
+
import { LinkIdentityCommandInput, LinkIdentityCommandOutput } from "./commands/LinkIdentityCommand";
|
|
25
24
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
26
25
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
26
|
+
import { ListIdentitiesCommandInput, ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
|
|
27
27
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
|
|
28
28
|
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
29
29
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
30
30
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
31
31
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
32
|
-
import { RemoveIdentityCommandInput, RemoveIdentityCommandOutput } from "./commands/RemoveIdentityCommand";
|
|
33
32
|
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
34
33
|
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
35
|
-
import {
|
|
34
|
+
import { UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
|
|
35
|
+
import { UnlinkWorkspaceCommandInput, UnlinkWorkspaceCommandOutput } from "./commands/UnlinkWorkspaceCommand";
|
|
36
36
|
import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "./commands/UpdateAccountCommand";
|
|
37
37
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
38
38
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
@@ -40,17 +40,11 @@ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotifi
|
|
|
40
40
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
|
|
41
41
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
42
42
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
43
|
-
import { VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput } from "./commands/VerifyAddIdentityCommand";
|
|
44
43
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
45
44
|
import { VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput } from "./commands/VerifyBotSecretKeyV1Command";
|
|
45
|
+
import { VerifyIdentityCommandInput, VerifyIdentityCommandOutput } from "./commands/VerifyIdentityCommand";
|
|
46
46
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
47
47
|
export interface Users {
|
|
48
|
-
/**
|
|
49
|
-
* @see {@link AddIdentityCommand}
|
|
50
|
-
*/
|
|
51
|
-
addIdentity(args: AddIdentityCommandInput, options?: __HttpHandlerOptions): Promise<AddIdentityCommandOutput>;
|
|
52
|
-
addIdentity(args: AddIdentityCommandInput, cb: (err: any, data?: AddIdentityCommandOutput) => void): void;
|
|
53
|
-
addIdentity(args: AddIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddIdentityCommandOutput) => void): void;
|
|
54
48
|
/**
|
|
55
49
|
* @see {@link BatchGetUsersCommand}
|
|
56
50
|
*/
|
|
@@ -180,11 +174,11 @@ export interface Users {
|
|
|
180
174
|
invite(args: InviteCommandInput, cb: (err: any, data?: InviteCommandOutput) => void): void;
|
|
181
175
|
invite(args: InviteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InviteCommandOutput) => void): void;
|
|
182
176
|
/**
|
|
183
|
-
* @see {@link
|
|
177
|
+
* @see {@link LinkIdentityCommand}
|
|
184
178
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
179
|
+
linkIdentity(args: LinkIdentityCommandInput, options?: __HttpHandlerOptions): Promise<LinkIdentityCommandOutput>;
|
|
180
|
+
linkIdentity(args: LinkIdentityCommandInput, cb: (err: any, data?: LinkIdentityCommandOutput) => void): void;
|
|
181
|
+
linkIdentity(args: LinkIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LinkIdentityCommandOutput) => void): void;
|
|
188
182
|
/**
|
|
189
183
|
* @see {@link ListBotApiKeysCommand}
|
|
190
184
|
*/
|
|
@@ -198,6 +192,12 @@ export interface Users {
|
|
|
198
192
|
listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
|
|
199
193
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
200
194
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link ListIdentitiesCommand}
|
|
197
|
+
*/
|
|
198
|
+
listIdentities(args: ListIdentitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentitiesCommandOutput>;
|
|
199
|
+
listIdentities(args: ListIdentitiesCommandInput, cb: (err: any, data?: ListIdentitiesCommandOutput) => void): void;
|
|
200
|
+
listIdentities(args: ListIdentitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentitiesCommandOutput) => void): void;
|
|
201
201
|
/**
|
|
202
202
|
* @see {@link ListWorkspacesCommand}
|
|
203
203
|
*/
|
|
@@ -229,12 +229,6 @@ export interface Users {
|
|
|
229
229
|
queryUsers(args: QueryUsersCommandInput, options?: __HttpHandlerOptions): Promise<QueryUsersCommandOutput>;
|
|
230
230
|
queryUsers(args: QueryUsersCommandInput, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
231
231
|
queryUsers(args: QueryUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryUsersCommandOutput) => void): void;
|
|
232
|
-
/**
|
|
233
|
-
* @see {@link RemoveIdentityCommand}
|
|
234
|
-
*/
|
|
235
|
-
removeIdentity(args: RemoveIdentityCommandInput, options?: __HttpHandlerOptions): Promise<RemoveIdentityCommandOutput>;
|
|
236
|
-
removeIdentity(args: RemoveIdentityCommandInput, cb: (err: any, data?: RemoveIdentityCommandOutput) => void): void;
|
|
237
|
-
removeIdentity(args: RemoveIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveIdentityCommandOutput) => void): void;
|
|
238
232
|
/**
|
|
239
233
|
* @see {@link ToggleTranscriptionEmailNotificationsSubscriptionCommand}
|
|
240
234
|
*/
|
|
@@ -248,11 +242,17 @@ export interface Users {
|
|
|
248
242
|
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
249
243
|
toggleUnreadEmailNotificationsSubscription(args: ToggleUnreadEmailNotificationsSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ToggleUnreadEmailNotificationsSubscriptionCommandOutput) => void): void;
|
|
250
244
|
/**
|
|
251
|
-
* @see {@link
|
|
245
|
+
* @see {@link UnlinkIdentityCommand}
|
|
252
246
|
*/
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
247
|
+
unlinkIdentity(args: UnlinkIdentityCommandInput, options?: __HttpHandlerOptions): Promise<UnlinkIdentityCommandOutput>;
|
|
248
|
+
unlinkIdentity(args: UnlinkIdentityCommandInput, cb: (err: any, data?: UnlinkIdentityCommandOutput) => void): void;
|
|
249
|
+
unlinkIdentity(args: UnlinkIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlinkIdentityCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link UnlinkWorkspaceCommand}
|
|
252
|
+
*/
|
|
253
|
+
unlinkWorkspace(args: UnlinkWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<UnlinkWorkspaceCommandOutput>;
|
|
254
|
+
unlinkWorkspace(args: UnlinkWorkspaceCommandInput, cb: (err: any, data?: UnlinkWorkspaceCommandOutput) => void): void;
|
|
255
|
+
unlinkWorkspace(args: UnlinkWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlinkWorkspaceCommandOutput) => void): void;
|
|
256
256
|
/**
|
|
257
257
|
* @see {@link UpdateAccountCommand}
|
|
258
258
|
*/
|
|
@@ -295,12 +295,6 @@ export interface Users {
|
|
|
295
295
|
uploadPictureV1(args: UploadPictureV1CommandInput, options?: __HttpHandlerOptions): Promise<UploadPictureV1CommandOutput>;
|
|
296
296
|
uploadPictureV1(args: UploadPictureV1CommandInput, cb: (err: any, data?: UploadPictureV1CommandOutput) => void): void;
|
|
297
297
|
uploadPictureV1(args: UploadPictureV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadPictureV1CommandOutput) => void): void;
|
|
298
|
-
/**
|
|
299
|
-
* @see {@link VerifyAddIdentityCommand}
|
|
300
|
-
*/
|
|
301
|
-
verifyAddIdentity(args: VerifyAddIdentityCommandInput, options?: __HttpHandlerOptions): Promise<VerifyAddIdentityCommandOutput>;
|
|
302
|
-
verifyAddIdentity(args: VerifyAddIdentityCommandInput, cb: (err: any, data?: VerifyAddIdentityCommandOutput) => void): void;
|
|
303
|
-
verifyAddIdentity(args: VerifyAddIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyAddIdentityCommandOutput) => void): void;
|
|
304
298
|
/**
|
|
305
299
|
* @see {@link VerifyBotSecretKeyCommand}
|
|
306
300
|
*/
|
|
@@ -313,6 +307,12 @@ export interface Users {
|
|
|
313
307
|
verifyBotSecretKeyV1(args: VerifyBotSecretKeyV1CommandInput, options?: __HttpHandlerOptions): Promise<VerifyBotSecretKeyV1CommandOutput>;
|
|
314
308
|
verifyBotSecretKeyV1(args: VerifyBotSecretKeyV1CommandInput, cb: (err: any, data?: VerifyBotSecretKeyV1CommandOutput) => void): void;
|
|
315
309
|
verifyBotSecretKeyV1(args: VerifyBotSecretKeyV1CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyBotSecretKeyV1CommandOutput) => void): void;
|
|
310
|
+
/**
|
|
311
|
+
* @see {@link VerifyIdentityCommand}
|
|
312
|
+
*/
|
|
313
|
+
verifyIdentity(args: VerifyIdentityCommandInput, options?: __HttpHandlerOptions): Promise<VerifyIdentityCommandOutput>;
|
|
314
|
+
verifyIdentity(args: VerifyIdentityCommandInput, cb: (err: any, data?: VerifyIdentityCommandOutput) => void): void;
|
|
315
|
+
verifyIdentity(args: VerifyIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyIdentityCommandOutput) => void): void;
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
318
|
* @public
|