@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
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_CreateBotCommand = exports.de_ChangeUserEmailCommand = exports.de_BatchGetUsersPbxLinkDataV1Command = exports.de_BatchGetUsersPbxLinkDataCommand = exports.de_BatchGetUsersEmailNotificationsSettingsCommand = exports.de_BatchGetUsersCommand = exports.se_VerifyIdentityCommand = exports.se_VerifyBotSecretKeyV1Command = exports.se_VerifyBotSecretKeyCommand = exports.se_UploadPictureV1Command = exports.se_UploadPictureCommand = exports.se_UpdateWorkspaceCommand = exports.se_UpdateUserEmailNotificationsSettingsCommand = exports.se_UpdateBotCallbackCommand = exports.se_UpdateBotCommand = exports.se_UpdateAccountCommand = exports.se_UnlinkWorkspaceCommand = exports.se_UnlinkIdentityCommand = exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.se_QueryUsersCommand = exports.se_QueryUserCommand = exports.se_QueryColleaguesCommand = exports.se_PartialUpdateUserEmailNotificationsSettingsCommand = exports.se_ListWorkspacesCommand = exports.se_ListIdentitiesCommand = exports.se_ListBotsCommand = exports.se_ListBotApiKeysCommand = exports.se_LinkIdentityCommand = exports.se_InviteCommand = exports.se_IntelligenceSearchCommand = exports.se_GetUserPbxLinkSuggestionV1Command = exports.se_GetUserPbxLinkSuggestionCommand = exports.se_GetUserPbxLinkDataCommand = exports.se_GetUserEmailNotificationsSettingsCommand = exports.se_GetUserCommand = exports.se_GetBotCallbackCommand = exports.se_GetBotCommand = exports.se_GetAppVersionCommand = exports.se_GetAccountCommand = exports.se_DeleteBotApiKeyCommand = exports.se_DeleteBotCommand = exports.se_CreateSystemBotCommand = exports.se_CreateBotApiKeyCommand = exports.se_CreateBotCommand = exports.se_ChangeUserEmailCommand = exports.se_BatchGetUsersPbxLinkDataV1Command = exports.se_BatchGetUsersPbxLinkDataCommand = exports.se_BatchGetUsersEmailNotificationsSettingsCommand = exports.se_BatchGetUsersCommand = void 0;
|
|
4
|
+
exports.de_VerifyIdentityCommand = exports.de_VerifyBotSecretKeyV1Command = exports.de_VerifyBotSecretKeyCommand = exports.de_UploadPictureV1Command = exports.de_UploadPictureCommand = exports.de_UpdateWorkspaceCommand = exports.de_UpdateUserEmailNotificationsSettingsCommand = exports.de_UpdateBotCallbackCommand = exports.de_UpdateBotCommand = exports.de_UpdateAccountCommand = exports.de_UnlinkWorkspaceCommand = exports.de_UnlinkIdentityCommand = exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = exports.de_QueryUsersCommand = exports.de_QueryUserCommand = exports.de_QueryColleaguesCommand = exports.de_PartialUpdateUserEmailNotificationsSettingsCommand = exports.de_ListWorkspacesCommand = exports.de_ListIdentitiesCommand = exports.de_ListBotsCommand = exports.de_ListBotApiKeysCommand = exports.de_LinkIdentityCommand = exports.de_InviteCommand = exports.de_IntelligenceSearchCommand = exports.de_GetUserPbxLinkSuggestionV1Command = exports.de_GetUserPbxLinkSuggestionCommand = exports.de_GetUserPbxLinkDataCommand = exports.de_GetUserEmailNotificationsSettingsCommand = exports.de_GetUserCommand = exports.de_GetBotCallbackCommand = exports.de_GetBotCommand = exports.de_GetAppVersionCommand = exports.de_GetAccountCommand = exports.de_DeleteBotApiKeyCommand = exports.de_DeleteBotCommand = exports.de_CreateSystemBotCommand = exports.de_CreateBotApiKeyCommand = void 0;
|
|
5
5
|
const UsersServiceException_1 = require("../models/UsersServiceException");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const core_1 = require("@aws-sdk/core");
|
|
8
8
|
const core_2 = require("@smithy/core");
|
|
9
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
|
-
const se_AddIdentityCommand = async (input, context) => {
|
|
11
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
12
|
-
const headers = {
|
|
13
|
-
'content-type': 'application/json',
|
|
14
|
-
};
|
|
15
|
-
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
16
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
17
|
-
let body;
|
|
18
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
-
'identity': [],
|
|
20
|
-
}));
|
|
21
|
-
b.m("POST")
|
|
22
|
-
.h(headers)
|
|
23
|
-
.b(body);
|
|
24
|
-
return b.build();
|
|
25
|
-
};
|
|
26
|
-
exports.se_AddIdentityCommand = se_AddIdentityCommand;
|
|
27
10
|
const se_BatchGetUsersCommand = async (input, context) => {
|
|
28
11
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
29
12
|
const headers = {
|
|
@@ -367,18 +350,23 @@ const se_InviteCommand = async (input, context) => {
|
|
|
367
350
|
return b.build();
|
|
368
351
|
};
|
|
369
352
|
exports.se_InviteCommand = se_InviteCommand;
|
|
370
|
-
const
|
|
353
|
+
const se_LinkIdentityCommand = async (input, context) => {
|
|
371
354
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
372
|
-
const headers = {
|
|
355
|
+
const headers = {
|
|
356
|
+
'content-type': 'application/json',
|
|
357
|
+
};
|
|
373
358
|
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
374
359
|
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
375
360
|
let body;
|
|
376
|
-
|
|
361
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
362
|
+
'identity': [],
|
|
363
|
+
}));
|
|
364
|
+
b.m("POST")
|
|
377
365
|
.h(headers)
|
|
378
366
|
.b(body);
|
|
379
367
|
return b.build();
|
|
380
368
|
};
|
|
381
|
-
exports.
|
|
369
|
+
exports.se_LinkIdentityCommand = se_LinkIdentityCommand;
|
|
382
370
|
const se_ListBotApiKeysCommand = async (input, context) => {
|
|
383
371
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
384
372
|
const headers = {};
|
|
@@ -410,6 +398,18 @@ const se_ListBotsCommand = async (input, context) => {
|
|
|
410
398
|
return b.build();
|
|
411
399
|
};
|
|
412
400
|
exports.se_ListBotsCommand = se_ListBotsCommand;
|
|
401
|
+
const se_ListIdentitiesCommand = async (input, context) => {
|
|
402
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
403
|
+
const headers = {};
|
|
404
|
+
b.bp("/v2/users/accounts/{accountId}/identities");
|
|
405
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
406
|
+
let body;
|
|
407
|
+
b.m("GET")
|
|
408
|
+
.h(headers)
|
|
409
|
+
.b(body);
|
|
410
|
+
return b.build();
|
|
411
|
+
};
|
|
412
|
+
exports.se_ListIdentitiesCommand = se_ListIdentitiesCommand;
|
|
413
413
|
const se_ListWorkspacesCommand = async (input, context) => {
|
|
414
414
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
415
415
|
const headers = {};
|
|
@@ -495,19 +495,6 @@ const se_QueryUsersCommand = async (input, context) => {
|
|
|
495
495
|
return b.build();
|
|
496
496
|
};
|
|
497
497
|
exports.se_QueryUsersCommand = se_QueryUsersCommand;
|
|
498
|
-
const se_RemoveIdentityCommand = async (input, context) => {
|
|
499
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
500
|
-
const headers = {};
|
|
501
|
-
b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
|
|
502
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
503
|
-
b.p('identity', () => input.identity, '{identity}', false);
|
|
504
|
-
let body;
|
|
505
|
-
b.m("DELETE")
|
|
506
|
-
.h(headers)
|
|
507
|
-
.b(body);
|
|
508
|
-
return b.build();
|
|
509
|
-
};
|
|
510
|
-
exports.se_RemoveIdentityCommand = se_RemoveIdentityCommand;
|
|
511
498
|
const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (input, context) => {
|
|
512
499
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
513
500
|
const headers = {
|
|
@@ -542,7 +529,20 @@ const se_ToggleUnreadEmailNotificationsSubscriptionCommand = async (input, conte
|
|
|
542
529
|
return b.build();
|
|
543
530
|
};
|
|
544
531
|
exports.se_ToggleUnreadEmailNotificationsSubscriptionCommand = se_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
545
|
-
const
|
|
532
|
+
const se_UnlinkIdentityCommand = async (input, context) => {
|
|
533
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
534
|
+
const headers = {};
|
|
535
|
+
b.bp("/v2/users/accounts/{accountId}/identities/{identity}");
|
|
536
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
537
|
+
b.p('identity', () => input.identity, '{identity}', false);
|
|
538
|
+
let body;
|
|
539
|
+
b.m("DELETE")
|
|
540
|
+
.h(headers)
|
|
541
|
+
.b(body);
|
|
542
|
+
return b.build();
|
|
543
|
+
};
|
|
544
|
+
exports.se_UnlinkIdentityCommand = se_UnlinkIdentityCommand;
|
|
545
|
+
const se_UnlinkWorkspaceCommand = async (input, context) => {
|
|
546
546
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
547
547
|
const headers = {};
|
|
548
548
|
b.bp("/v2/users/accounts/{accountId}/workspaces/{workspaceId}");
|
|
@@ -554,7 +554,7 @@ const se_UnbindWorkspaceCommand = async (input, context) => {
|
|
|
554
554
|
.b(body);
|
|
555
555
|
return b.build();
|
|
556
556
|
};
|
|
557
|
-
exports.
|
|
557
|
+
exports.se_UnlinkWorkspaceCommand = se_UnlinkWorkspaceCommand;
|
|
558
558
|
const se_UpdateAccountCommand = async (input, context) => {
|
|
559
559
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
560
560
|
const headers = {
|
|
@@ -688,31 +688,28 @@ const se_UploadPictureV1Command = async (input, context) => {
|
|
|
688
688
|
return b.build();
|
|
689
689
|
};
|
|
690
690
|
exports.se_UploadPictureV1Command = se_UploadPictureV1Command;
|
|
691
|
-
const
|
|
691
|
+
const se_VerifyBotSecretKeyCommand = async (input, context) => {
|
|
692
692
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
693
693
|
const headers = {
|
|
694
694
|
'content-type': 'application/json',
|
|
695
695
|
};
|
|
696
|
-
b.bp("/v2/users/
|
|
697
|
-
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
696
|
+
b.bp("/v2/users/verify-bot-secret-key");
|
|
698
697
|
let body;
|
|
699
698
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
700
|
-
'
|
|
701
|
-
'otp': [],
|
|
702
|
-
'primaryOtp': [],
|
|
699
|
+
'secret': [],
|
|
703
700
|
}));
|
|
704
701
|
b.m("POST")
|
|
705
702
|
.h(headers)
|
|
706
703
|
.b(body);
|
|
707
704
|
return b.build();
|
|
708
705
|
};
|
|
709
|
-
exports.
|
|
710
|
-
const
|
|
706
|
+
exports.se_VerifyBotSecretKeyCommand = se_VerifyBotSecretKeyCommand;
|
|
707
|
+
const se_VerifyBotSecretKeyV1Command = async (input, context) => {
|
|
711
708
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
712
709
|
const headers = {
|
|
713
710
|
'content-type': 'application/json',
|
|
714
711
|
};
|
|
715
|
-
b.bp("/v2/users/
|
|
712
|
+
b.bp("/v2/users/auth/VerifyBotSecretKey");
|
|
716
713
|
let body;
|
|
717
714
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
718
715
|
'secret': [],
|
|
@@ -722,38 +719,25 @@ const se_VerifyBotSecretKeyCommand = async (input, context) => {
|
|
|
722
719
|
.b(body);
|
|
723
720
|
return b.build();
|
|
724
721
|
};
|
|
725
|
-
exports.
|
|
726
|
-
const
|
|
722
|
+
exports.se_VerifyBotSecretKeyV1Command = se_VerifyBotSecretKeyV1Command;
|
|
723
|
+
const se_VerifyIdentityCommand = async (input, context) => {
|
|
727
724
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
728
725
|
const headers = {
|
|
729
726
|
'content-type': 'application/json',
|
|
730
727
|
};
|
|
731
|
-
b.bp("/v2/users/
|
|
728
|
+
b.bp("/v2/users/accounts/{accountId}/identities/verify");
|
|
729
|
+
b.p('accountId', () => input.accountId, '{accountId}', false);
|
|
732
730
|
let body;
|
|
733
731
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
734
|
-
'
|
|
732
|
+
'identity': [],
|
|
733
|
+
'otp': [],
|
|
735
734
|
}));
|
|
736
735
|
b.m("POST")
|
|
737
736
|
.h(headers)
|
|
738
737
|
.b(body);
|
|
739
738
|
return b.build();
|
|
740
739
|
};
|
|
741
|
-
exports.
|
|
742
|
-
const de_AddIdentityCommand = async (output, context) => {
|
|
743
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
744
|
-
return de_CommandError(output, context);
|
|
745
|
-
}
|
|
746
|
-
const contents = (0, smithy_client_1.map)({
|
|
747
|
-
$metadata: deserializeMetadata(output),
|
|
748
|
-
});
|
|
749
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
750
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
751
|
-
'identity': smithy_client_1._json,
|
|
752
|
-
});
|
|
753
|
-
Object.assign(contents, doc);
|
|
754
|
-
return contents;
|
|
755
|
-
};
|
|
756
|
-
exports.de_AddIdentityCommand = de_AddIdentityCommand;
|
|
740
|
+
exports.se_VerifyIdentityCommand = se_VerifyIdentityCommand;
|
|
757
741
|
const de_BatchGetUsersCommand = async (output, context) => {
|
|
758
742
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
743
|
return de_CommandError(output, context);
|
|
@@ -1064,7 +1048,7 @@ const de_InviteCommand = async (output, context) => {
|
|
|
1064
1048
|
return contents;
|
|
1065
1049
|
};
|
|
1066
1050
|
exports.de_InviteCommand = de_InviteCommand;
|
|
1067
|
-
const
|
|
1051
|
+
const de_LinkIdentityCommand = async (output, context) => {
|
|
1068
1052
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
1053
|
return de_CommandError(output, context);
|
|
1070
1054
|
}
|
|
@@ -1073,12 +1057,12 @@ const de_ListAccountIdentitiesCommand = async (output, context) => {
|
|
|
1073
1057
|
});
|
|
1074
1058
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1075
1059
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1076
|
-
'
|
|
1060
|
+
'identity': smithy_client_1._json,
|
|
1077
1061
|
});
|
|
1078
1062
|
Object.assign(contents, doc);
|
|
1079
1063
|
return contents;
|
|
1080
1064
|
};
|
|
1081
|
-
exports.
|
|
1065
|
+
exports.de_LinkIdentityCommand = de_LinkIdentityCommand;
|
|
1082
1066
|
const de_ListBotApiKeysCommand = async (output, context) => {
|
|
1083
1067
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1084
1068
|
return de_CommandError(output, context);
|
|
@@ -1109,6 +1093,21 @@ const de_ListBotsCommand = async (output, context) => {
|
|
|
1109
1093
|
return contents;
|
|
1110
1094
|
};
|
|
1111
1095
|
exports.de_ListBotsCommand = de_ListBotsCommand;
|
|
1096
|
+
const de_ListIdentitiesCommand = async (output, context) => {
|
|
1097
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1098
|
+
return de_CommandError(output, context);
|
|
1099
|
+
}
|
|
1100
|
+
const contents = (0, smithy_client_1.map)({
|
|
1101
|
+
$metadata: deserializeMetadata(output),
|
|
1102
|
+
});
|
|
1103
|
+
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1104
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1105
|
+
'identities': smithy_client_1._json,
|
|
1106
|
+
});
|
|
1107
|
+
Object.assign(contents, doc);
|
|
1108
|
+
return contents;
|
|
1109
|
+
};
|
|
1110
|
+
exports.de_ListIdentitiesCommand = de_ListIdentitiesCommand;
|
|
1112
1111
|
const de_ListWorkspacesCommand = async (output, context) => {
|
|
1113
1112
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1114
1113
|
return de_CommandError(output, context);
|
|
@@ -1184,7 +1183,7 @@ const de_QueryUsersCommand = async (output, context) => {
|
|
|
1184
1183
|
return contents;
|
|
1185
1184
|
};
|
|
1186
1185
|
exports.de_QueryUsersCommand = de_QueryUsersCommand;
|
|
1187
|
-
const
|
|
1186
|
+
const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
1188
1187
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1189
1188
|
return de_CommandError(output, context);
|
|
1190
1189
|
}
|
|
@@ -1194,8 +1193,8 @@ const de_RemoveIdentityCommand = async (output, context) => {
|
|
|
1194
1193
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1195
1194
|
return contents;
|
|
1196
1195
|
};
|
|
1197
|
-
exports.
|
|
1198
|
-
const
|
|
1196
|
+
exports.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = de_ToggleTranscriptionEmailNotificationsSubscriptionCommand;
|
|
1197
|
+
const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, context) => {
|
|
1199
1198
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1200
1199
|
return de_CommandError(output, context);
|
|
1201
1200
|
}
|
|
@@ -1205,8 +1204,8 @@ const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand = async (outpu
|
|
|
1205
1204
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1206
1205
|
return contents;
|
|
1207
1206
|
};
|
|
1208
|
-
exports.
|
|
1209
|
-
const
|
|
1207
|
+
exports.de_ToggleUnreadEmailNotificationsSubscriptionCommand = de_ToggleUnreadEmailNotificationsSubscriptionCommand;
|
|
1208
|
+
const de_UnlinkIdentityCommand = async (output, context) => {
|
|
1210
1209
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1211
1210
|
return de_CommandError(output, context);
|
|
1212
1211
|
}
|
|
@@ -1216,8 +1215,8 @@ const de_ToggleUnreadEmailNotificationsSubscriptionCommand = async (output, cont
|
|
|
1216
1215
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1217
1216
|
return contents;
|
|
1218
1217
|
};
|
|
1219
|
-
exports.
|
|
1220
|
-
const
|
|
1218
|
+
exports.de_UnlinkIdentityCommand = de_UnlinkIdentityCommand;
|
|
1219
|
+
const de_UnlinkWorkspaceCommand = async (output, context) => {
|
|
1221
1220
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1222
1221
|
return de_CommandError(output, context);
|
|
1223
1222
|
}
|
|
@@ -1227,7 +1226,7 @@ const de_UnbindWorkspaceCommand = async (output, context) => {
|
|
|
1227
1226
|
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1228
1227
|
return contents;
|
|
1229
1228
|
};
|
|
1230
|
-
exports.
|
|
1229
|
+
exports.de_UnlinkWorkspaceCommand = de_UnlinkWorkspaceCommand;
|
|
1231
1230
|
const de_UpdateAccountCommand = async (output, context) => {
|
|
1232
1231
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1233
1232
|
return de_CommandError(output, context);
|
|
@@ -1333,7 +1332,7 @@ const de_UploadPictureV1Command = async (output, context) => {
|
|
|
1333
1332
|
return contents;
|
|
1334
1333
|
};
|
|
1335
1334
|
exports.de_UploadPictureV1Command = de_UploadPictureV1Command;
|
|
1336
|
-
const
|
|
1335
|
+
const de_VerifyBotSecretKeyCommand = async (output, context) => {
|
|
1337
1336
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
1337
|
return de_CommandError(output, context);
|
|
1339
1338
|
}
|
|
@@ -1342,13 +1341,15 @@ const de_VerifyAddIdentityCommand = async (output, context) => {
|
|
|
1342
1341
|
});
|
|
1343
1342
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1344
1343
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1345
|
-
'
|
|
1344
|
+
'company': smithy_client_1.expectString,
|
|
1345
|
+
'id': smithy_client_1.expectString,
|
|
1346
|
+
'name': smithy_client_1.expectString,
|
|
1346
1347
|
});
|
|
1347
1348
|
Object.assign(contents, doc);
|
|
1348
1349
|
return contents;
|
|
1349
1350
|
};
|
|
1350
|
-
exports.
|
|
1351
|
-
const
|
|
1351
|
+
exports.de_VerifyBotSecretKeyCommand = de_VerifyBotSecretKeyCommand;
|
|
1352
|
+
const de_VerifyBotSecretKeyV1Command = async (output, context) => {
|
|
1352
1353
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1353
1354
|
return de_CommandError(output, context);
|
|
1354
1355
|
}
|
|
@@ -1364,8 +1365,8 @@ const de_VerifyBotSecretKeyCommand = async (output, context) => {
|
|
|
1364
1365
|
Object.assign(contents, doc);
|
|
1365
1366
|
return contents;
|
|
1366
1367
|
};
|
|
1367
|
-
exports.
|
|
1368
|
-
const
|
|
1368
|
+
exports.de_VerifyBotSecretKeyV1Command = de_VerifyBotSecretKeyV1Command;
|
|
1369
|
+
const de_VerifyIdentityCommand = async (output, context) => {
|
|
1369
1370
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1370
1371
|
return de_CommandError(output, context);
|
|
1371
1372
|
}
|
|
@@ -1374,14 +1375,12 @@ const de_VerifyBotSecretKeyV1Command = async (output, context) => {
|
|
|
1374
1375
|
});
|
|
1375
1376
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1376
1377
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1377
|
-
'
|
|
1378
|
-
'id': smithy_client_1.expectString,
|
|
1379
|
-
'name': smithy_client_1.expectString,
|
|
1378
|
+
'identity': smithy_client_1._json,
|
|
1380
1379
|
});
|
|
1381
1380
|
Object.assign(contents, doc);
|
|
1382
1381
|
return contents;
|
|
1383
1382
|
};
|
|
1384
|
-
exports.
|
|
1383
|
+
exports.de_VerifyIdentityCommand = de_VerifyIdentityCommand;
|
|
1385
1384
|
const de_CommandError = async (output, context) => {
|
|
1386
1385
|
const parsedOutput = {
|
|
1387
1386
|
...output,
|
|
@@ -1389,30 +1388,12 @@ const de_CommandError = async (output, context) => {
|
|
|
1389
1388
|
};
|
|
1390
1389
|
const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1391
1390
|
switch (errorCode) {
|
|
1392
|
-
case "AccountNotFoundException":
|
|
1393
|
-
case "wildix.xbees.users#AccountNotFoundException":
|
|
1394
|
-
throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
|
|
1395
|
-
case "CannotRemovePrimaryIdentityException":
|
|
1396
|
-
case "wildix.xbees.users#CannotRemovePrimaryIdentityException":
|
|
1397
|
-
throw await de_CannotRemovePrimaryIdentityExceptionRes(parsedOutput, context);
|
|
1398
|
-
case "CannotUnbindDefaultWorkspaceException":
|
|
1399
|
-
case "wildix.xbees.users#CannotUnbindDefaultWorkspaceException":
|
|
1400
|
-
throw await de_CannotUnbindDefaultWorkspaceExceptionRes(parsedOutput, context);
|
|
1401
1391
|
case "ForbiddenException":
|
|
1402
1392
|
case "smithy.framework#ForbiddenException":
|
|
1403
1393
|
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1404
|
-
case "IdentityAlreadyLinkedException":
|
|
1405
|
-
case "wildix.xbees.users#IdentityAlreadyLinkedException":
|
|
1406
|
-
throw await de_IdentityAlreadyLinkedExceptionRes(parsedOutput, context);
|
|
1407
|
-
case "IdentityNotFoundException":
|
|
1408
|
-
case "wildix.xbees.users#IdentityNotFoundException":
|
|
1409
|
-
throw await de_IdentityNotFoundExceptionRes(parsedOutput, context);
|
|
1410
1394
|
case "ValidationException":
|
|
1411
1395
|
case "smithy.framework#ValidationException":
|
|
1412
1396
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1413
|
-
case "WorkspaceNotFoundException":
|
|
1414
|
-
case "wildix.xbees.users#WorkspaceNotFoundException":
|
|
1415
|
-
throw await de_WorkspaceNotFoundExceptionRes(parsedOutput, context);
|
|
1416
1397
|
case "UserCompanyNotValidException":
|
|
1417
1398
|
case "wildix.xbees.users#UserCompanyNotValidException":
|
|
1418
1399
|
throw await de_UserCompanyNotValidExceptionRes(parsedOutput, context);
|
|
@@ -1425,9 +1406,27 @@ const de_CommandError = async (output, context) => {
|
|
|
1425
1406
|
case "BotApiKeyNotFoundException":
|
|
1426
1407
|
case "wildix.xbees.users#BotApiKeyNotFoundException":
|
|
1427
1408
|
throw await de_BotApiKeyNotFoundExceptionRes(parsedOutput, context);
|
|
1409
|
+
case "AccountNotFoundException":
|
|
1410
|
+
case "wildix.xbees.users#AccountNotFoundException":
|
|
1411
|
+
throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
|
|
1412
|
+
case "IdentityAlreadyLinkedException":
|
|
1413
|
+
case "wildix.xbees.users#IdentityAlreadyLinkedException":
|
|
1414
|
+
throw await de_IdentityAlreadyLinkedExceptionRes(parsedOutput, context);
|
|
1428
1415
|
case "UserQueryPredicateNotMetException":
|
|
1429
1416
|
case "wildix.xbees.users#UserQueryPredicateNotMetException":
|
|
1430
1417
|
throw await de_UserQueryPredicateNotMetExceptionRes(parsedOutput, context);
|
|
1418
|
+
case "CannotRemovePrimaryIdentityException":
|
|
1419
|
+
case "wildix.xbees.users#CannotRemovePrimaryIdentityException":
|
|
1420
|
+
throw await de_CannotRemovePrimaryIdentityExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "IdentityNotFoundException":
|
|
1422
|
+
case "wildix.xbees.users#IdentityNotFoundException":
|
|
1423
|
+
throw await de_IdentityNotFoundExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "CannotUnbindDefaultWorkspaceException":
|
|
1425
|
+
case "wildix.xbees.users#CannotUnbindDefaultWorkspaceException":
|
|
1426
|
+
throw await de_CannotUnbindDefaultWorkspaceExceptionRes(parsedOutput, context);
|
|
1427
|
+
case "WorkspaceNotFoundException":
|
|
1428
|
+
case "wildix.xbees.users#WorkspaceNotFoundException":
|
|
1429
|
+
throw await de_WorkspaceNotFoundExceptionRes(parsedOutput, context);
|
|
1431
1430
|
case "BotSecretKeyNotValidException":
|
|
1432
1431
|
case "wildix.xbees.users#BotSecretKeyNotValidException":
|
|
1433
1432
|
throw await de_BotSecretKeyNotValidExceptionRes(parsedOutput, context);
|
package/dist-es/Users.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UsersClient, } from "./UsersClient";
|
|
2
|
-
import { AddIdentityCommand, } from "./commands/AddIdentityCommand";
|
|
3
2
|
import { BatchGetUsersCommand, } from "./commands/BatchGetUsersCommand";
|
|
4
3
|
import { BatchGetUsersEmailNotificationsSettingsCommand, } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
5
4
|
import { BatchGetUsersPbxLinkDataCommand, } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
@@ -21,18 +20,19 @@ import { GetUserPbxLinkSuggestionCommand, } from "./commands/GetUserPbxLinkSugge
|
|
|
21
20
|
import { GetUserPbxLinkSuggestionV1Command, } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
22
21
|
import { IntelligenceSearchCommand, } from "./commands/IntelligenceSearchCommand";
|
|
23
22
|
import { InviteCommand, } from "./commands/InviteCommand";
|
|
24
|
-
import {
|
|
23
|
+
import { LinkIdentityCommand, } from "./commands/LinkIdentityCommand";
|
|
25
24
|
import { ListBotApiKeysCommand, } from "./commands/ListBotApiKeysCommand";
|
|
26
25
|
import { ListBotsCommand, } from "./commands/ListBotsCommand";
|
|
26
|
+
import { ListIdentitiesCommand, } from "./commands/ListIdentitiesCommand";
|
|
27
27
|
import { ListWorkspacesCommand, } from "./commands/ListWorkspacesCommand";
|
|
28
28
|
import { PartialUpdateUserEmailNotificationsSettingsCommand, } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
29
29
|
import { QueryColleaguesCommand, } from "./commands/QueryColleaguesCommand";
|
|
30
30
|
import { QueryUserCommand, } from "./commands/QueryUserCommand";
|
|
31
31
|
import { QueryUsersCommand, } from "./commands/QueryUsersCommand";
|
|
32
|
-
import { RemoveIdentityCommand, } from "./commands/RemoveIdentityCommand";
|
|
33
32
|
import { ToggleTranscriptionEmailNotificationsSubscriptionCommand, } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
34
33
|
import { ToggleUnreadEmailNotificationsSubscriptionCommand, } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
35
|
-
import {
|
|
34
|
+
import { UnlinkIdentityCommand, } from "./commands/UnlinkIdentityCommand";
|
|
35
|
+
import { UnlinkWorkspaceCommand, } from "./commands/UnlinkWorkspaceCommand";
|
|
36
36
|
import { UpdateAccountCommand, } from "./commands/UpdateAccountCommand";
|
|
37
37
|
import { UpdateBotCallbackCommand, } from "./commands/UpdateBotCallbackCommand";
|
|
38
38
|
import { UpdateBotCommand, } from "./commands/UpdateBotCommand";
|
|
@@ -40,12 +40,11 @@ import { UpdateUserEmailNotificationsSettingsCommand, } from "./commands/UpdateU
|
|
|
40
40
|
import { UpdateWorkspaceCommand, } from "./commands/UpdateWorkspaceCommand";
|
|
41
41
|
import { UploadPictureCommand, } from "./commands/UploadPictureCommand";
|
|
42
42
|
import { UploadPictureV1Command, } from "./commands/UploadPictureV1Command";
|
|
43
|
-
import { VerifyAddIdentityCommand, } from "./commands/VerifyAddIdentityCommand";
|
|
44
43
|
import { VerifyBotSecretKeyCommand, } from "./commands/VerifyBotSecretKeyCommand";
|
|
45
44
|
import { VerifyBotSecretKeyV1Command, } from "./commands/VerifyBotSecretKeyV1Command";
|
|
45
|
+
import { VerifyIdentityCommand, } from "./commands/VerifyIdentityCommand";
|
|
46
46
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
47
47
|
const commands = {
|
|
48
|
-
AddIdentityCommand,
|
|
49
48
|
BatchGetUsersCommand,
|
|
50
49
|
BatchGetUsersEmailNotificationsSettingsCommand,
|
|
51
50
|
BatchGetUsersPbxLinkDataCommand,
|
|
@@ -67,18 +66,19 @@ const commands = {
|
|
|
67
66
|
GetUserPbxLinkSuggestionV1Command,
|
|
68
67
|
IntelligenceSearchCommand,
|
|
69
68
|
InviteCommand,
|
|
70
|
-
|
|
69
|
+
LinkIdentityCommand,
|
|
71
70
|
ListBotApiKeysCommand,
|
|
72
71
|
ListBotsCommand,
|
|
72
|
+
ListIdentitiesCommand,
|
|
73
73
|
ListWorkspacesCommand,
|
|
74
74
|
PartialUpdateUserEmailNotificationsSettingsCommand,
|
|
75
75
|
QueryColleaguesCommand,
|
|
76
76
|
QueryUserCommand,
|
|
77
77
|
QueryUsersCommand,
|
|
78
|
-
RemoveIdentityCommand,
|
|
79
78
|
ToggleTranscriptionEmailNotificationsSubscriptionCommand,
|
|
80
79
|
ToggleUnreadEmailNotificationsSubscriptionCommand,
|
|
81
|
-
|
|
80
|
+
UnlinkIdentityCommand,
|
|
81
|
+
UnlinkWorkspaceCommand,
|
|
82
82
|
UpdateAccountCommand,
|
|
83
83
|
UpdateBotCommand,
|
|
84
84
|
UpdateBotCallbackCommand,
|
|
@@ -86,9 +86,9 @@ const commands = {
|
|
|
86
86
|
UpdateWorkspaceCommand,
|
|
87
87
|
UploadPictureCommand,
|
|
88
88
|
UploadPictureV1Command,
|
|
89
|
-
VerifyAddIdentityCommand,
|
|
90
89
|
VerifyBotSecretKeyCommand,
|
|
91
90
|
VerifyBotSecretKeyV1Command,
|
|
91
|
+
VerifyIdentityCommand,
|
|
92
92
|
};
|
|
93
93
|
export class Users extends UsersClient {
|
|
94
94
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_LinkIdentityCommand, se_LinkIdentityCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
export { $Command };
|
|
5
|
-
export class
|
|
5
|
+
export class LinkIdentityCommand extends $Command.classBuilder()
|
|
6
6
|
.m(function (Command, cs, config, o) {
|
|
7
7
|
return [
|
|
8
8
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
9
|
];
|
|
10
10
|
})
|
|
11
|
-
.s("Users", "
|
|
12
|
-
.n("UsersClient", "
|
|
11
|
+
.s("Users", "LinkIdentity", {})
|
|
12
|
+
.n("UsersClient", "LinkIdentityCommand")
|
|
13
13
|
.f(void 0, void 0)
|
|
14
|
-
.ser(
|
|
15
|
-
.de(
|
|
14
|
+
.ser(se_LinkIdentityCommand)
|
|
15
|
+
.de(de_LinkIdentityCommand)
|
|
16
16
|
.build() {
|
|
17
17
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_ListIdentitiesCommand, se_ListIdentitiesCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
export { $Command };
|
|
5
|
-
export class
|
|
5
|
+
export class ListIdentitiesCommand extends $Command.classBuilder()
|
|
6
6
|
.m(function (Command, cs, config, o) {
|
|
7
7
|
return [
|
|
8
8
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
9
|
];
|
|
10
10
|
})
|
|
11
|
-
.s("Users", "
|
|
12
|
-
.n("UsersClient", "
|
|
11
|
+
.s("Users", "ListIdentities", {})
|
|
12
|
+
.n("UsersClient", "ListIdentitiesCommand")
|
|
13
13
|
.f(void 0, void 0)
|
|
14
|
-
.ser(
|
|
15
|
-
.de(
|
|
14
|
+
.ser(se_ListIdentitiesCommand)
|
|
15
|
+
.de(de_ListIdentitiesCommand)
|
|
16
16
|
.build() {
|
|
17
17
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_UnlinkIdentityCommand, se_UnlinkIdentityCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class UnlinkIdentityCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "UnlinkIdentity", {})
|
|
12
|
+
.n("UsersClient", "UnlinkIdentityCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_UnlinkIdentityCommand)
|
|
15
|
+
.de(de_UnlinkIdentityCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { de_UnlinkWorkspaceCommand, se_UnlinkWorkspaceCommand, } from "../protocols/Aws_restJson1";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
export { $Command };
|
|
5
|
-
export class
|
|
5
|
+
export class UnlinkWorkspaceCommand extends $Command.classBuilder()
|
|
6
6
|
.m(function (Command, cs, config, o) {
|
|
7
7
|
return [
|
|
8
8
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
9
|
];
|
|
10
10
|
})
|
|
11
|
-
.s("Users", "
|
|
12
|
-
.n("UsersClient", "
|
|
11
|
+
.s("Users", "UnlinkWorkspace", {})
|
|
12
|
+
.n("UsersClient", "UnlinkWorkspaceCommand")
|
|
13
13
|
.f(void 0, void 0)
|
|
14
|
-
.ser(
|
|
15
|
-
.de(
|
|
14
|
+
.ser(se_UnlinkWorkspaceCommand)
|
|
15
|
+
.de(de_UnlinkWorkspaceCommand)
|
|
16
16
|
.build() {
|
|
17
17
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_VerifyIdentityCommand, se_VerifyIdentityCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class VerifyIdentityCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("Users", "VerifyIdentity", {})
|
|
12
|
+
.n("UsersClient", "VerifyIdentityCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_VerifyIdentityCommand)
|
|
15
|
+
.de(de_VerifyIdentityCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./AddIdentityCommand";
|
|
2
1
|
export * from "./BatchGetUsersCommand";
|
|
3
2
|
export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
|
|
4
3
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
@@ -20,18 +19,19 @@ export * from "./GetUserPbxLinkSuggestionCommand";
|
|
|
20
19
|
export * from "./GetUserPbxLinkSuggestionV1Command";
|
|
21
20
|
export * from "./IntelligenceSearchCommand";
|
|
22
21
|
export * from "./InviteCommand";
|
|
23
|
-
export * from "./
|
|
22
|
+
export * from "./LinkIdentityCommand";
|
|
24
23
|
export * from "./ListBotApiKeysCommand";
|
|
25
24
|
export * from "./ListBotsCommand";
|
|
25
|
+
export * from "./ListIdentitiesCommand";
|
|
26
26
|
export * from "./ListWorkspacesCommand";
|
|
27
27
|
export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
28
28
|
export * from "./QueryColleaguesCommand";
|
|
29
29
|
export * from "./QueryUserCommand";
|
|
30
30
|
export * from "./QueryUsersCommand";
|
|
31
|
-
export * from "./RemoveIdentityCommand";
|
|
32
31
|
export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
33
32
|
export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
34
|
-
export * from "./
|
|
33
|
+
export * from "./UnlinkIdentityCommand";
|
|
34
|
+
export * from "./UnlinkWorkspaceCommand";
|
|
35
35
|
export * from "./UpdateAccountCommand";
|
|
36
36
|
export * from "./UpdateBotCommand";
|
|
37
37
|
export * from "./UpdateBotCallbackCommand";
|
|
@@ -39,6 +39,6 @@ export * from "./UpdateUserEmailNotificationsSettingsCommand";
|
|
|
39
39
|
export * from "./UpdateWorkspaceCommand";
|
|
40
40
|
export * from "./UploadPictureCommand";
|
|
41
41
|
export * from "./UploadPictureV1Command";
|
|
42
|
-
export * from "./VerifyAddIdentityCommand";
|
|
43
42
|
export * from "./VerifyBotSecretKeyCommand";
|
|
44
43
|
export * from "./VerifyBotSecretKeyV1Command";
|
|
44
|
+
export * from "./VerifyIdentityCommand";
|