@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,4 +1,3 @@
|
|
|
1
|
-
import { AddIdentityCommandInput, AddIdentityCommandOutput } from "./commands/AddIdentityCommand";
|
|
2
1
|
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "./commands/BatchGetUsersCommand";
|
|
3
2
|
import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "./commands/BatchGetUsersEmailNotificationsSettingsCommand";
|
|
4
3
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "./commands/BatchGetUsersPbxLinkDataCommand";
|
|
@@ -20,18 +19,19 @@ import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOu
|
|
|
20
19
|
import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "./commands/GetUserPbxLinkSuggestionV1Command";
|
|
21
20
|
import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "./commands/IntelligenceSearchCommand";
|
|
22
21
|
import { InviteCommandInput, InviteCommandOutput } from "./commands/InviteCommand";
|
|
23
|
-
import {
|
|
22
|
+
import { LinkIdentityCommandInput, LinkIdentityCommandOutput } from "./commands/LinkIdentityCommand";
|
|
24
23
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "./commands/ListBotApiKeysCommand";
|
|
25
24
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBotsCommand";
|
|
25
|
+
import { ListIdentitiesCommandInput, ListIdentitiesCommandOutput } from "./commands/ListIdentitiesCommand";
|
|
26
26
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
|
|
27
27
|
import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "./commands/PartialUpdateUserEmailNotificationsSettingsCommand";
|
|
28
28
|
import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "./commands/QueryColleaguesCommand";
|
|
29
29
|
import { QueryUserCommandInput, QueryUserCommandOutput } from "./commands/QueryUserCommand";
|
|
30
30
|
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "./commands/QueryUsersCommand";
|
|
31
|
-
import { RemoveIdentityCommandInput, RemoveIdentityCommandOutput } from "./commands/RemoveIdentityCommand";
|
|
32
31
|
import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
|
|
33
32
|
import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "./commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
|
|
34
|
-
import {
|
|
33
|
+
import { UnlinkIdentityCommandInput, UnlinkIdentityCommandOutput } from "./commands/UnlinkIdentityCommand";
|
|
34
|
+
import { UnlinkWorkspaceCommandInput, UnlinkWorkspaceCommandOutput } from "./commands/UnlinkWorkspaceCommand";
|
|
35
35
|
import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "./commands/UpdateAccountCommand";
|
|
36
36
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "./commands/UpdateBotCallbackCommand";
|
|
37
37
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "./commands/UpdateBotCommand";
|
|
@@ -39,9 +39,9 @@ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotifi
|
|
|
39
39
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
|
|
40
40
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "./commands/UploadPictureCommand";
|
|
41
41
|
import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "./commands/UploadPictureV1Command";
|
|
42
|
-
import { VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput } from "./commands/VerifyAddIdentityCommand";
|
|
43
42
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "./commands/VerifyBotSecretKeyCommand";
|
|
44
43
|
import { VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput } from "./commands/VerifyBotSecretKeyV1Command";
|
|
44
|
+
import { VerifyIdentityCommandInput, VerifyIdentityCommandOutput } from "./commands/VerifyIdentityCommand";
|
|
45
45
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
46
46
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
47
47
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
@@ -53,11 +53,11 @@ export { __Client };
|
|
|
53
53
|
/**
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
56
|
-
export type ServiceInputTypes =
|
|
56
|
+
export type ServiceInputTypes = BatchGetUsersCommandInput | BatchGetUsersEmailNotificationsSettingsCommandInput | BatchGetUsersPbxLinkDataCommandInput | BatchGetUsersPbxLinkDataV1CommandInput | ChangeUserEmailCommandInput | CreateBotApiKeyCommandInput | CreateBotCommandInput | CreateSystemBotCommandInput | DeleteBotApiKeyCommandInput | DeleteBotCommandInput | GetAccountCommandInput | GetAppVersionCommandInput | GetBotCallbackCommandInput | GetBotCommandInput | GetUserCommandInput | GetUserEmailNotificationsSettingsCommandInput | GetUserPbxLinkDataCommandInput | GetUserPbxLinkSuggestionCommandInput | GetUserPbxLinkSuggestionV1CommandInput | IntelligenceSearchCommandInput | InviteCommandInput | LinkIdentityCommandInput | ListBotApiKeysCommandInput | ListBotsCommandInput | ListIdentitiesCommandInput | ListWorkspacesCommandInput | PartialUpdateUserEmailNotificationsSettingsCommandInput | QueryColleaguesCommandInput | QueryUserCommandInput | QueryUsersCommandInput | ToggleTranscriptionEmailNotificationsSubscriptionCommandInput | ToggleUnreadEmailNotificationsSubscriptionCommandInput | UnlinkIdentityCommandInput | UnlinkWorkspaceCommandInput | UpdateAccountCommandInput | UpdateBotCallbackCommandInput | UpdateBotCommandInput | UpdateUserEmailNotificationsSettingsCommandInput | UpdateWorkspaceCommandInput | UploadPictureCommandInput | UploadPictureV1CommandInput | VerifyBotSecretKeyCommandInput | VerifyBotSecretKeyV1CommandInput | VerifyIdentityCommandInput;
|
|
57
57
|
/**
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export type ServiceOutputTypes =
|
|
60
|
+
export type ServiceOutputTypes = BatchGetUsersCommandOutput | BatchGetUsersEmailNotificationsSettingsCommandOutput | BatchGetUsersPbxLinkDataCommandOutput | BatchGetUsersPbxLinkDataV1CommandOutput | ChangeUserEmailCommandOutput | CreateBotApiKeyCommandOutput | CreateBotCommandOutput | CreateSystemBotCommandOutput | DeleteBotApiKeyCommandOutput | DeleteBotCommandOutput | GetAccountCommandOutput | GetAppVersionCommandOutput | GetBotCallbackCommandOutput | GetBotCommandOutput | GetUserCommandOutput | GetUserEmailNotificationsSettingsCommandOutput | GetUserPbxLinkDataCommandOutput | GetUserPbxLinkSuggestionCommandOutput | GetUserPbxLinkSuggestionV1CommandOutput | IntelligenceSearchCommandOutput | InviteCommandOutput | LinkIdentityCommandOutput | ListBotApiKeysCommandOutput | ListBotsCommandOutput | ListIdentitiesCommandOutput | ListWorkspacesCommandOutput | PartialUpdateUserEmailNotificationsSettingsCommandOutput | QueryColleaguesCommandOutput | QueryUserCommandOutput | QueryUsersCommandOutput | ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput | ToggleUnreadEmailNotificationsSubscriptionCommandOutput | UnlinkIdentityCommandOutput | UnlinkWorkspaceCommandOutput | UpdateAccountCommandOutput | UpdateBotCallbackCommandOutput | UpdateBotCommandOutput | UpdateUserEmailNotificationsSettingsCommandOutput | UpdateWorkspaceCommandOutput | UploadPictureCommandOutput | UploadPictureV1CommandOutput | VerifyBotSecretKeyCommandOutput | VerifyBotSecretKeyV1CommandOutput | VerifyIdentityCommandOutput;
|
|
61
61
|
/**
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
@@ -77,18 +77,6 @@ declare const BatchGetUsersCommand_base: {
|
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ValidationException} (client fault)
|
|
79
79
|
*
|
|
80
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
87
|
-
*
|
|
88
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
91
|
-
*
|
|
92
80
|
* @throws {@link UsersServiceException}
|
|
93
81
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
94
82
|
*
|
|
@@ -62,18 +62,6 @@ declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
76
|
-
*
|
|
77
65
|
* @throws {@link UsersServiceException}
|
|
78
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
79
67
|
*
|
|
@@ -113,18 +113,6 @@ declare const BatchGetUsersPbxLinkDataCommand_base: {
|
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link ValidationException} (client fault)
|
|
115
115
|
*
|
|
116
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
117
|
-
*
|
|
118
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
119
|
-
*
|
|
120
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
121
|
-
*
|
|
122
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
123
|
-
*
|
|
124
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
125
|
-
*
|
|
126
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
127
|
-
*
|
|
128
116
|
* @throws {@link UsersServiceException}
|
|
129
117
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
130
118
|
*
|
|
@@ -113,18 +113,6 @@ declare const BatchGetUsersPbxLinkDataV1Command_base: {
|
|
|
113
113
|
*
|
|
114
114
|
* @throws {@link ValidationException} (client fault)
|
|
115
115
|
*
|
|
116
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
117
|
-
*
|
|
118
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
119
|
-
*
|
|
120
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
121
|
-
*
|
|
122
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
123
|
-
*
|
|
124
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
125
|
-
*
|
|
126
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
127
|
-
*
|
|
128
116
|
* @throws {@link UsersServiceException}
|
|
129
117
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
130
118
|
*
|
|
@@ -67,18 +67,6 @@ declare const ChangeUserEmailCommand_base: {
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ValidationException} (client fault)
|
|
69
69
|
*
|
|
70
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
81
|
-
*
|
|
82
70
|
* @throws {@link UsersServiceException}
|
|
83
71
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
84
72
|
*
|
|
@@ -75,18 +75,6 @@ declare const CreateBotApiKeyCommand_base: {
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
77
|
*
|
|
78
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
87
|
-
*
|
|
88
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
89
|
-
*
|
|
90
78
|
* @throws {@link UsersServiceException}
|
|
91
79
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
92
80
|
*
|
|
@@ -177,18 +177,6 @@ declare const CreateBotCommand_base: {
|
|
|
177
177
|
*
|
|
178
178
|
* @throws {@link ValidationException} (client fault)
|
|
179
179
|
*
|
|
180
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
181
|
-
*
|
|
182
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
183
|
-
*
|
|
184
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
185
|
-
*
|
|
186
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
187
|
-
*
|
|
188
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
189
|
-
*
|
|
190
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
191
|
-
*
|
|
192
180
|
* @throws {@link UsersServiceException}
|
|
193
181
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
194
182
|
*
|
|
@@ -57,18 +57,6 @@ declare const CreateSystemBotCommand_base: {
|
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ValidationException} (client fault)
|
|
59
59
|
*
|
|
60
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
71
|
-
*
|
|
72
60
|
* @throws {@link UsersServiceException}
|
|
73
61
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
74
62
|
*
|
|
@@ -59,18 +59,6 @@ declare const DeleteBotApiKeyCommand_base: {
|
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ValidationException} (client fault)
|
|
61
61
|
*
|
|
62
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
73
|
-
*
|
|
74
62
|
* @throws {@link UsersServiceException}
|
|
75
63
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
76
64
|
*
|
|
@@ -56,18 +56,6 @@ declare const DeleteBotCommand_base: {
|
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ValidationException} (client fault)
|
|
58
58
|
*
|
|
59
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
70
|
-
*
|
|
71
59
|
* @throws {@link UsersServiceException}
|
|
72
60
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
73
61
|
*
|
|
@@ -151,16 +151,6 @@ declare const GetAccountCommand_base: {
|
|
|
151
151
|
*
|
|
152
152
|
* @throws {@link ValidationException} (client fault)
|
|
153
153
|
*
|
|
154
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
155
|
-
*
|
|
156
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
157
|
-
*
|
|
158
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
159
|
-
*
|
|
160
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
161
|
-
*
|
|
162
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
163
|
-
*
|
|
164
154
|
* @throws {@link UsersServiceException}
|
|
165
155
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
166
156
|
*
|
|
@@ -55,18 +55,6 @@ declare const GetAppVersionCommand_base: {
|
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ValidationException} (client fault)
|
|
57
57
|
*
|
|
58
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
61
|
-
*
|
|
62
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
69
|
-
*
|
|
70
58
|
* @throws {@link UsersServiceException}
|
|
71
59
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
72
60
|
*
|
|
@@ -163,18 +163,6 @@ declare const GetBotCallbackCommand_base: {
|
|
|
163
163
|
*
|
|
164
164
|
* @throws {@link ValidationException} (client fault)
|
|
165
165
|
*
|
|
166
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
167
|
-
*
|
|
168
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
169
|
-
*
|
|
170
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
171
|
-
*
|
|
172
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
173
|
-
*
|
|
174
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
175
|
-
*
|
|
176
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
177
|
-
*
|
|
178
166
|
* @throws {@link UsersServiceException}
|
|
179
167
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
180
168
|
*
|
|
@@ -69,18 +69,6 @@ declare const GetBotCommand_base: {
|
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ValidationException} (client fault)
|
|
71
71
|
*
|
|
72
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
73
|
-
*
|
|
74
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
77
|
-
*
|
|
78
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
83
|
-
*
|
|
84
72
|
* @throws {@link UsersServiceException}
|
|
85
73
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
86
74
|
*
|
|
@@ -75,18 +75,6 @@ declare const GetUserCommand_base: {
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
77
|
*
|
|
78
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
79
|
-
*
|
|
80
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
87
|
-
*
|
|
88
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
89
|
-
*
|
|
90
78
|
* @throws {@link UsersServiceException}
|
|
91
79
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
92
80
|
*
|
|
@@ -60,18 +60,6 @@ declare const GetUserEmailNotificationsSettingsCommand_base: {
|
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ValidationException} (client fault)
|
|
62
62
|
*
|
|
63
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
74
|
-
*
|
|
75
63
|
* @throws {@link UsersServiceException}
|
|
76
64
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
77
65
|
*
|
|
@@ -111,18 +111,6 @@ declare const GetUserPbxLinkDataCommand_base: {
|
|
|
111
111
|
*
|
|
112
112
|
* @throws {@link ValidationException} (client fault)
|
|
113
113
|
*
|
|
114
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
115
|
-
*
|
|
116
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
117
|
-
*
|
|
118
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
119
|
-
*
|
|
120
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
121
|
-
*
|
|
122
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
123
|
-
*
|
|
124
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
125
|
-
*
|
|
126
114
|
* @throws {@link UsersServiceException}
|
|
127
115
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
128
116
|
*
|
|
@@ -58,18 +58,6 @@ declare const GetUserPbxLinkSuggestionCommand_base: {
|
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
60
|
*
|
|
61
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
72
|
-
*
|
|
73
61
|
* @throws {@link UsersServiceException}
|
|
74
62
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
75
63
|
*
|
|
@@ -58,18 +58,6 @@ declare const GetUserPbxLinkSuggestionV1Command_base: {
|
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ValidationException} (client fault)
|
|
60
60
|
*
|
|
61
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
72
|
-
*
|
|
73
61
|
* @throws {@link UsersServiceException}
|
|
74
62
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
75
63
|
*
|
|
@@ -64,18 +64,6 @@ declare const IntelligenceSearchCommand_base: {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ValidationException} (client fault)
|
|
66
66
|
*
|
|
67
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
78
|
-
*
|
|
79
67
|
* @throws {@link UsersServiceException}
|
|
80
68
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
81
69
|
*
|
|
@@ -83,18 +83,6 @@ declare const InviteCommand_base: {
|
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link ValidationException} (client fault)
|
|
85
85
|
*
|
|
86
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
87
|
-
*
|
|
88
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
91
|
-
*
|
|
92
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
93
|
-
*
|
|
94
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
95
|
-
*
|
|
96
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
97
|
-
*
|
|
98
86
|
* @throws {@link UsersServiceException}
|
|
99
87
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
100
88
|
*
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { LinkIdentityInput, LinkIdentityOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link LinkIdentityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface LinkIdentityCommandInput extends LinkIdentityInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link LinkIdentityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface LinkIdentityCommandOutput extends LinkIdentityOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const LinkIdentityCommand_base: {
|
|
25
|
+
new (input: LinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<LinkIdentityCommandInput, LinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: LinkIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<LinkIdentityCommandInput, LinkIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Adds a new identity (email or phone) to the account. Requires OTP verification for the new identity
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { UsersClient, LinkIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
+
* // const { UsersClient, LinkIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
+
* const client = new UsersClient(config);
|
|
37
|
+
* const input = { // LinkIdentityInput
|
|
38
|
+
* accountId: "STRING_VALUE", // required
|
|
39
|
+
* identity: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new LinkIdentityCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // LinkIdentityOutput
|
|
44
|
+
* // identity: { // Identity
|
|
45
|
+
* // identity: "STRING_VALUE", // required
|
|
46
|
+
* // account: "STRING_VALUE", // required
|
|
47
|
+
* // verified: true || false,
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param LinkIdentityCommandInput - {@link LinkIdentityCommandInput}
|
|
54
|
+
* @returns {@link LinkIdentityCommandOutput}
|
|
55
|
+
* @see {@link LinkIdentityCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link LinkIdentityCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccountNotFoundException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link UsersServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class LinkIdentityCommand extends LinkIdentityCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: LinkIdentityInput;
|
|
78
|
+
output: LinkIdentityOutput;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: LinkIdentityCommandInput;
|
|
82
|
+
output: LinkIdentityCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -62,18 +62,6 @@ declare const ListBotApiKeysCommand_base: {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ValidationException} (client fault)
|
|
64
64
|
*
|
|
65
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
66
|
-
*
|
|
67
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
76
|
-
*
|
|
77
65
|
* @throws {@link UsersServiceException}
|
|
78
66
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
79
67
|
*
|
|
@@ -68,18 +68,6 @@ declare const ListBotsCommand_base: {
|
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ValidationException} (client fault)
|
|
70
70
|
*
|
|
71
|
-
* @throws {@link AccountNotFoundException} (client fault)
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link WorkspaceNotFoundException} (client fault)
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
80
|
-
*
|
|
81
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
82
|
-
*
|
|
83
71
|
* @throws {@link UsersServiceException}
|
|
84
72
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
85
73
|
*
|