@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.
Files changed (74) hide show
  1. package/dist-cjs/Users.js +10 -10
  2. package/dist-cjs/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +7 -7
  3. package/dist-cjs/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +7 -7
  4. package/dist-cjs/commands/{VerifyAddIdentityCommand.js → UnlinkIdentityCommand.js} +7 -7
  5. package/dist-cjs/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +7 -7
  6. package/dist-cjs/commands/VerifyIdentityCommand.js +21 -0
  7. package/dist-cjs/commands/index.js +5 -5
  8. package/dist-cjs/models/models_0.js +66 -66
  9. package/dist-cjs/protocols/Aws_restJson1.js +105 -106
  10. package/dist-es/Users.js +10 -10
  11. package/dist-es/commands/{AddIdentityCommand.js → LinkIdentityCommand.js} +6 -6
  12. package/dist-es/commands/{RemoveIdentityCommand.js → ListIdentitiesCommand.js} +6 -6
  13. package/dist-es/commands/UnlinkIdentityCommand.js +17 -0
  14. package/dist-es/commands/{UnbindWorkspaceCommand.js → UnlinkWorkspaceCommand.js} +6 -6
  15. package/dist-es/commands/VerifyIdentityCommand.js +17 -0
  16. package/dist-es/commands/index.js +5 -5
  17. package/dist-es/models/models_0.js +60 -60
  18. package/dist-es/protocols/Aws_restJson1.js +87 -88
  19. package/dist-types/Users.d.ts +31 -31
  20. package/dist-types/UsersClient.d.ts +7 -7
  21. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -12
  22. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -12
  23. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -12
  24. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -12
  25. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -12
  26. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -12
  27. package/dist-types/commands/CreateBotCommand.d.ts +0 -12
  28. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -12
  29. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -12
  30. package/dist-types/commands/DeleteBotCommand.d.ts +0 -12
  31. package/dist-types/commands/GetAccountCommand.d.ts +0 -10
  32. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -12
  33. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -12
  34. package/dist-types/commands/GetBotCommand.d.ts +0 -12
  35. package/dist-types/commands/GetUserCommand.d.ts +0 -12
  36. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -12
  37. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -12
  38. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -12
  39. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -12
  40. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -12
  41. package/dist-types/commands/InviteCommand.d.ts +0 -12
  42. package/dist-types/commands/LinkIdentityCommand.d.ts +85 -0
  43. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -12
  44. package/dist-types/commands/ListBotsCommand.d.ts +0 -12
  45. package/dist-types/commands/ListIdentitiesCommand.d.ts +84 -0
  46. package/dist-types/commands/ListWorkspacesCommand.d.ts +0 -10
  47. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
  48. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -12
  49. package/dist-types/commands/QueryUserCommand.d.ts +0 -12
  50. package/dist-types/commands/QueryUsersCommand.d.ts +0 -12
  51. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -12
  52. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -12
  53. package/dist-types/commands/{RemoveIdentityCommand.d.ts → UnlinkIdentityCommand.d.ts} +20 -26
  54. package/dist-types/commands/{UnbindWorkspaceCommand.d.ts → UnlinkWorkspaceCommand.d.ts} +20 -26
  55. package/dist-types/commands/UpdateAccountCommand.d.ts +0 -6
  56. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -12
  57. package/dist-types/commands/UpdateBotCommand.d.ts +0 -12
  58. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -12
  59. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +0 -8
  60. package/dist-types/commands/UploadPictureCommand.d.ts +0 -12
  61. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -12
  62. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -12
  63. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -12
  64. package/dist-types/commands/VerifyIdentityCommand.d.ts +86 -0
  65. package/dist-types/commands/index.d.ts +5 -5
  66. package/dist-types/models/models_0.d.ts +152 -153
  67. package/dist-types/protocols/Aws_restJson1.d.ts +35 -35
  68. package/package.json +1 -1
  69. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +0 -21
  70. package/dist-es/commands/ListAccountIdentitiesCommand.js +0 -17
  71. package/dist-es/commands/VerifyAddIdentityCommand.js +0 -17
  72. package/dist-types/commands/AddIdentityCommand.d.ts +0 -93
  73. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +0 -94
  74. 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 { ListAccountIdentitiesCommandInput, ListAccountIdentitiesCommandOutput } from "../commands/ListAccountIdentitiesCommand";
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 { UnbindWorkspaceCommandInput, UnbindWorkspaceCommandOutput } from "../commands/UnbindWorkspaceCommand";
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,15 +39,11 @@ 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 { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
46
46
  import { SerdeContext as __SerdeContext } from "@smithy/types";
47
- /**
48
- * serializeAws_restJson1AddIdentityCommand
49
- */
50
- export declare const se_AddIdentityCommand: (input: AddIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
47
  /**
52
48
  * serializeAws_restJson1BatchGetUsersCommand
53
49
  */
@@ -133,9 +129,9 @@ export declare const se_IntelligenceSearchCommand: (input: IntelligenceSearchCom
133
129
  */
134
130
  export declare const se_InviteCommand: (input: InviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
131
  /**
136
- * serializeAws_restJson1ListAccountIdentitiesCommand
132
+ * serializeAws_restJson1LinkIdentityCommand
137
133
  */
138
- export declare const se_ListAccountIdentitiesCommand: (input: ListAccountIdentitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
134
+ export declare const se_LinkIdentityCommand: (input: LinkIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
139
135
  /**
140
136
  * serializeAws_restJson1ListBotApiKeysCommand
141
137
  */
@@ -144,6 +140,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
144
140
  * serializeAws_restJson1ListBotsCommand
145
141
  */
146
142
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1ListIdentitiesCommand
145
+ */
146
+ export declare const se_ListIdentitiesCommand: (input: ListIdentitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
147
  /**
148
148
  * serializeAws_restJson1ListWorkspacesCommand
149
149
  */
@@ -164,10 +164,6 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
164
164
  * serializeAws_restJson1QueryUsersCommand
165
165
  */
166
166
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
- /**
168
- * serializeAws_restJson1RemoveIdentityCommand
169
- */
170
- export declare const se_RemoveIdentityCommand: (input: RemoveIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
171
167
  /**
172
168
  * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
173
169
  */
@@ -177,9 +173,13 @@ export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand
177
173
  */
178
174
  export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
175
  /**
180
- * serializeAws_restJson1UnbindWorkspaceCommand
176
+ * serializeAws_restJson1UnlinkIdentityCommand
177
+ */
178
+ export declare const se_UnlinkIdentityCommand: (input: UnlinkIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
+ /**
180
+ * serializeAws_restJson1UnlinkWorkspaceCommand
181
181
  */
182
- export declare const se_UnbindWorkspaceCommand: (input: UnbindWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
182
+ export declare const se_UnlinkWorkspaceCommand: (input: UnlinkWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
183
  /**
184
184
  * serializeAws_restJson1UpdateAccountCommand
185
185
  */
@@ -208,10 +208,6 @@ export declare const se_UploadPictureCommand: (input: UploadPictureCommandInput,
208
208
  * serializeAws_restJson1UploadPictureV1Command
209
209
  */
210
210
  export declare const se_UploadPictureV1Command: (input: UploadPictureV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
211
- /**
212
- * serializeAws_restJson1VerifyAddIdentityCommand
213
- */
214
- export declare const se_VerifyAddIdentityCommand: (input: VerifyAddIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
215
211
  /**
216
212
  * serializeAws_restJson1VerifyBotSecretKeyCommand
217
213
  */
@@ -221,9 +217,9 @@ export declare const se_VerifyBotSecretKeyCommand: (input: VerifyBotSecretKeyCom
221
217
  */
222
218
  export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
219
  /**
224
- * deserializeAws_restJson1AddIdentityCommand
220
+ * serializeAws_restJson1VerifyIdentityCommand
225
221
  */
226
- export declare const de_AddIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddIdentityCommandOutput>;
222
+ export declare const se_VerifyIdentityCommand: (input: VerifyIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
227
223
  /**
228
224
  * deserializeAws_restJson1BatchGetUsersCommand
229
225
  */
@@ -309,9 +305,9 @@ export declare const de_IntelligenceSearchCommand: (output: __HttpResponse, cont
309
305
  */
310
306
  export declare const de_InviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InviteCommandOutput>;
311
307
  /**
312
- * deserializeAws_restJson1ListAccountIdentitiesCommand
308
+ * deserializeAws_restJson1LinkIdentityCommand
313
309
  */
314
- export declare const de_ListAccountIdentitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountIdentitiesCommandOutput>;
310
+ export declare const de_LinkIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<LinkIdentityCommandOutput>;
315
311
  /**
316
312
  * deserializeAws_restJson1ListBotApiKeysCommand
317
313
  */
@@ -320,6 +316,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
320
316
  * deserializeAws_restJson1ListBotsCommand
321
317
  */
322
318
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
319
+ /**
320
+ * deserializeAws_restJson1ListIdentitiesCommand
321
+ */
322
+ export declare const de_ListIdentitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIdentitiesCommandOutput>;
323
323
  /**
324
324
  * deserializeAws_restJson1ListWorkspacesCommand
325
325
  */
@@ -340,10 +340,6 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
340
340
  * deserializeAws_restJson1QueryUsersCommand
341
341
  */
342
342
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
343
- /**
344
- * deserializeAws_restJson1RemoveIdentityCommand
345
- */
346
- export declare const de_RemoveIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveIdentityCommandOutput>;
347
343
  /**
348
344
  * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
349
345
  */
@@ -353,9 +349,13 @@ export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand
353
349
  */
354
350
  export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
355
351
  /**
356
- * deserializeAws_restJson1UnbindWorkspaceCommand
352
+ * deserializeAws_restJson1UnlinkIdentityCommand
353
+ */
354
+ export declare const de_UnlinkIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnlinkIdentityCommandOutput>;
355
+ /**
356
+ * deserializeAws_restJson1UnlinkWorkspaceCommand
357
357
  */
358
- export declare const de_UnbindWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnbindWorkspaceCommandOutput>;
358
+ export declare const de_UnlinkWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnlinkWorkspaceCommandOutput>;
359
359
  /**
360
360
  * deserializeAws_restJson1UpdateAccountCommand
361
361
  */
@@ -384,10 +384,6 @@ export declare const de_UploadPictureCommand: (output: __HttpResponse, context:
384
384
  * deserializeAws_restJson1UploadPictureV1Command
385
385
  */
386
386
  export declare const de_UploadPictureV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<UploadPictureV1CommandOutput>;
387
- /**
388
- * deserializeAws_restJson1VerifyAddIdentityCommand
389
- */
390
- export declare const de_VerifyAddIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyAddIdentityCommandOutput>;
391
387
  /**
392
388
  * deserializeAws_restJson1VerifyBotSecretKeyCommand
393
389
  */
@@ -396,3 +392,7 @@ export declare const de_VerifyBotSecretKeyCommand: (output: __HttpResponse, cont
396
392
  * deserializeAws_restJson1VerifyBotSecretKeyV1Command
397
393
  */
398
394
  export declare const de_VerifyBotSecretKeyV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyBotSecretKeyV1CommandOutput>;
395
+ /**
396
+ * deserializeAws_restJson1VerifyIdentityCommand
397
+ */
398
+ export declare const de_VerifyIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyIdentityCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.2.5",
4
+ "version": "1.2.6",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListAccountIdentitiesCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class ListAccountIdentitiesCommand extends smithy_client_1.Command.classBuilder()
9
- .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
- })
14
- .s("Users", "ListAccountIdentities", {})
15
- .n("UsersClient", "ListAccountIdentitiesCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ListAccountIdentitiesCommand)
18
- .de(Aws_restJson1_1.de_ListAccountIdentitiesCommand)
19
- .build() {
20
- }
21
- exports.ListAccountIdentitiesCommand = ListAccountIdentitiesCommand;
@@ -1,17 +0,0 @@
1
- import { de_ListAccountIdentitiesCommand, se_ListAccountIdentitiesCommand, } 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 ListAccountIdentitiesCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "ListAccountIdentities", {})
12
- .n("UsersClient", "ListAccountIdentitiesCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ListAccountIdentitiesCommand)
15
- .de(de_ListAccountIdentitiesCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_VerifyAddIdentityCommand, se_VerifyAddIdentityCommand, } 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 VerifyAddIdentityCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Users", "VerifyAddIdentity", {})
12
- .n("UsersClient", "VerifyAddIdentityCommand")
13
- .f(void 0, void 0)
14
- .ser(se_VerifyAddIdentityCommand)
15
- .de(de_VerifyAddIdentityCommand)
16
- .build() {
17
- }
@@ -1,93 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { AddIdentityInput, AddIdentityOutput } 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 AddIdentityCommand}.
14
- */
15
- export interface AddIdentityCommandInput extends AddIdentityInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link AddIdentityCommand}.
21
- */
22
- export interface AddIdentityCommandOutput extends AddIdentityOutput, __MetadataBearer {
23
- }
24
- declare const AddIdentityCommand_base: {
25
- new (input: AddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AddIdentityCommandInput, AddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: AddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AddIdentityCommandInput, AddIdentityCommandOutput, 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 and re-verification of the primary identity.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, AddIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, AddIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // AddIdentityInput
38
- * accountId: "STRING_VALUE", // required
39
- * identity: "STRING_VALUE", // required
40
- * };
41
- * const command = new AddIdentityCommand(input);
42
- * const response = await client.send(command);
43
- * // { // AddIdentityOutput
44
- * // identity: { // Identity
45
- * // identity: "STRING_VALUE", // required
46
- * // account: "STRING_VALUE", // required
47
- * // verified: true || false,
48
- * // },
49
- * // };
50
- *
51
- * ```
52
- *
53
- * @param AddIdentityCommandInput - {@link AddIdentityCommandInput}
54
- * @returns {@link AddIdentityCommandOutput}
55
- * @see {@link AddIdentityCommandInput} for command's `input` shape.
56
- * @see {@link AddIdentityCommandOutput} 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 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
- * @throws {@link UsersServiceException}
76
- * <p>Base exception class for all service exceptions from Users service.</p>
77
- *
78
- *
79
- * @public
80
- */
81
- export declare class AddIdentityCommand extends AddIdentityCommand_base {
82
- /** @internal type navigation helper, not in runtime. */
83
- protected static __types: {
84
- api: {
85
- input: AddIdentityInput;
86
- output: AddIdentityOutput;
87
- };
88
- sdk: {
89
- input: AddIdentityCommandInput;
90
- output: AddIdentityCommandOutput;
91
- };
92
- };
93
- }
@@ -1,94 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { ListAccountIdentitiesInput, ListAccountIdentitiesOutput } 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 ListAccountIdentitiesCommand}.
14
- */
15
- export interface ListAccountIdentitiesCommandInput extends ListAccountIdentitiesInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListAccountIdentitiesCommand}.
21
- */
22
- export interface ListAccountIdentitiesCommandOutput extends ListAccountIdentitiesOutput, __MetadataBearer {
23
- }
24
- declare const ListAccountIdentitiesCommand_base: {
25
- new (input: ListAccountIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountIdentitiesCommandInput, ListAccountIdentitiesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListAccountIdentitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountIdentitiesCommandInput, ListAccountIdentitiesCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Lists all identities (login methods) for the current account.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, ListAccountIdentitiesCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, ListAccountIdentitiesCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // ListAccountIdentitiesInput
38
- * accountId: "STRING_VALUE", // required
39
- * };
40
- * const command = new ListAccountIdentitiesCommand(input);
41
- * const response = await client.send(command);
42
- * // { // ListAccountIdentitiesOutput
43
- * // identities: [ // IdentityList // required
44
- * // { // Identity
45
- * // identity: "STRING_VALUE", // required
46
- * // account: "STRING_VALUE", // required
47
- * // verified: true || false,
48
- * // },
49
- * // ],
50
- * // };
51
- *
52
- * ```
53
- *
54
- * @param ListAccountIdentitiesCommandInput - {@link ListAccountIdentitiesCommandInput}
55
- * @returns {@link ListAccountIdentitiesCommandOutput}
56
- * @see {@link ListAccountIdentitiesCommandInput} for command's `input` shape.
57
- * @see {@link ListAccountIdentitiesCommandOutput} for command's `response` shape.
58
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
59
- *
60
- * @throws {@link AccountNotFoundException} (client fault)
61
- *
62
- * @throws {@link ForbiddenException} (client fault)
63
- *
64
- * @throws {@link ValidationException} (client fault)
65
- *
66
- * @throws {@link IdentityAlreadyLinkedException} (client fault)
67
- *
68
- * @throws {@link CannotRemovePrimaryIdentityException} (client fault)
69
- *
70
- * @throws {@link WorkspaceNotFoundException} (client fault)
71
- *
72
- * @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
73
- *
74
- * @throws {@link IdentityNotFoundException} (client fault)
75
- *
76
- * @throws {@link UsersServiceException}
77
- * <p>Base exception class for all service exceptions from Users service.</p>
78
- *
79
- *
80
- * @public
81
- */
82
- export declare class ListAccountIdentitiesCommand extends ListAccountIdentitiesCommand_base {
83
- /** @internal type navigation helper, not in runtime. */
84
- protected static __types: {
85
- api: {
86
- input: ListAccountIdentitiesInput;
87
- output: ListAccountIdentitiesOutput;
88
- };
89
- sdk: {
90
- input: ListAccountIdentitiesCommandInput;
91
- output: ListAccountIdentitiesCommandOutput;
92
- };
93
- };
94
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { VerifyAddIdentityInput, VerifyAddIdentityOutput } 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 VerifyAddIdentityCommand}.
14
- */
15
- export interface VerifyAddIdentityCommandInput extends VerifyAddIdentityInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link VerifyAddIdentityCommand}.
21
- */
22
- export interface VerifyAddIdentityCommandOutput extends VerifyAddIdentityOutput, __MetadataBearer {
23
- }
24
- declare const VerifyAddIdentityCommand_base: {
25
- new (input: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: VerifyAddIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Completes adding an identity by verifying the OTP sent to the new identity. Call after AddIdentity.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, VerifyAddIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, VerifyAddIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // VerifyAddIdentityInput
38
- * accountId: "STRING_VALUE", // required
39
- * identity: "STRING_VALUE", // required
40
- * otp: "STRING_VALUE", // required
41
- * primaryOtp: "STRING_VALUE", // required
42
- * };
43
- * const command = new VerifyAddIdentityCommand(input);
44
- * const response = await client.send(command);
45
- * // { // VerifyAddIdentityOutput
46
- * // identity: { // Identity
47
- * // identity: "STRING_VALUE", // required
48
- * // account: "STRING_VALUE", // required
49
- * // verified: true || false,
50
- * // },
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param VerifyAddIdentityCommandInput - {@link VerifyAddIdentityCommandInput}
56
- * @returns {@link VerifyAddIdentityCommandOutput}
57
- * @see {@link VerifyAddIdentityCommandInput} for command's `input` shape.
58
- * @see {@link VerifyAddIdentityCommandOutput} for command's `response` shape.
59
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
- *
61
- * @throws {@link AccountNotFoundException} (client fault)
62
- *
63
- * @throws {@link IdentityNotFoundException} (client fault)
64
- *
65
- * @throws {@link ValidationException} (client fault)
66
- *
67
- * @throws {@link ForbiddenException} (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 UsersServiceException}
78
- * <p>Base exception class for all service exceptions from Users service.</p>
79
- *
80
- *
81
- * @public
82
- */
83
- export declare class VerifyAddIdentityCommand extends VerifyAddIdentityCommand_base {
84
- /** @internal type navigation helper, not in runtime. */
85
- protected static __types: {
86
- api: {
87
- input: VerifyAddIdentityInput;
88
- output: VerifyAddIdentityOutput;
89
- };
90
- sdk: {
91
- input: VerifyAddIdentityCommandInput;
92
- output: VerifyAddIdentityCommandOutput;
93
- };
94
- };
95
- }