@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
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
|
|
2
|
+
import { VerifyIdentityInput, VerifyIdentityOutput } 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 VerifyIdentityCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface VerifyIdentityCommandInput extends VerifyIdentityInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link VerifyIdentityCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface VerifyIdentityCommandOutput extends VerifyIdentityOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const VerifyIdentityCommand_base: {
|
|
25
|
+
new (input: VerifyIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyIdentityCommandInput, VerifyIdentityCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: VerifyIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyIdentityCommandInput, VerifyIdentityCommandOutput, 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 LinkIdentity.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { UsersClient, VerifyIdentityCommand } from "@wildix/xbees-users-client"; // ES Modules import
|
|
35
|
+
* // const { UsersClient, VerifyIdentityCommand } = require("@wildix/xbees-users-client"); // CommonJS import
|
|
36
|
+
* const client = new UsersClient(config);
|
|
37
|
+
* const input = { // VerifyIdentityInput
|
|
38
|
+
* accountId: "STRING_VALUE", // required
|
|
39
|
+
* identity: "STRING_VALUE", // required
|
|
40
|
+
* otp: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new VerifyIdentityCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // VerifyIdentityOutput
|
|
45
|
+
* // identity: { // Identity
|
|
46
|
+
* // identity: "STRING_VALUE", // required
|
|
47
|
+
* // account: "STRING_VALUE", // required
|
|
48
|
+
* // verified: true || false,
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param VerifyIdentityCommandInput - {@link VerifyIdentityCommandInput}
|
|
55
|
+
* @returns {@link VerifyIdentityCommandOutput}
|
|
56
|
+
* @see {@link VerifyIdentityCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link VerifyIdentityCommandOutput} 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 IdentityNotFoundException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link UsersServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class VerifyIdentityCommand extends VerifyIdentityCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: VerifyIdentityInput;
|
|
79
|
+
output: VerifyIdentityOutput;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: VerifyIdentityCommandInput;
|
|
83
|
+
output: VerifyIdentityCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -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";
|
|
@@ -241,6 +241,10 @@ export interface Account {
|
|
|
241
241
|
* @public
|
|
242
242
|
*/
|
|
243
243
|
defaultWorkspace?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* The identity value (email address or phone number in E.164).
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
244
248
|
primaryIdentity?: string | undefined;
|
|
245
249
|
}
|
|
246
250
|
/**
|
|
@@ -254,106 +258,6 @@ export declare class AccountNotFoundException extends __BaseException {
|
|
|
254
258
|
*/
|
|
255
259
|
constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
|
|
256
260
|
}
|
|
257
|
-
/**
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export interface AddIdentityInput {
|
|
261
|
-
/**
|
|
262
|
-
* The unique identifier of the account.
|
|
263
|
-
* @public
|
|
264
|
-
*/
|
|
265
|
-
accountId: string;
|
|
266
|
-
/**
|
|
267
|
-
* The identity value: email address or phone number in E.164.
|
|
268
|
-
* @public
|
|
269
|
-
*/
|
|
270
|
-
identity: string;
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
export interface Identity {
|
|
276
|
-
/**
|
|
277
|
-
* The identity value (email address or phone number in E.164)
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
identity: string;
|
|
281
|
-
/**
|
|
282
|
-
* The unique identifier of the account.
|
|
283
|
-
* @public
|
|
284
|
-
*/
|
|
285
|
-
account: string;
|
|
286
|
-
/**
|
|
287
|
-
* When the identity was verified.
|
|
288
|
-
* @public
|
|
289
|
-
*/
|
|
290
|
-
verified?: boolean | undefined;
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* @public
|
|
294
|
-
*/
|
|
295
|
-
export interface AddIdentityOutput {
|
|
296
|
-
/**
|
|
297
|
-
* The identity in pending state. OTP has been sent; call VerifyAddIdentity to complete.
|
|
298
|
-
* @public
|
|
299
|
-
*/
|
|
300
|
-
identity: Identity;
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* @public
|
|
304
|
-
*/
|
|
305
|
-
export declare class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
306
|
-
readonly name: "CannotRemovePrimaryIdentityException";
|
|
307
|
-
readonly $fault: "client";
|
|
308
|
-
/**
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
constructor(opts: __ExceptionOptionType<CannotRemovePrimaryIdentityException, __BaseException>);
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* @public
|
|
315
|
-
*/
|
|
316
|
-
export declare class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
317
|
-
readonly name: "CannotUnbindDefaultWorkspaceException";
|
|
318
|
-
readonly $fault: "client";
|
|
319
|
-
/**
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
constructor(opts: __ExceptionOptionType<CannotUnbindDefaultWorkspaceException, __BaseException>);
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
* @public
|
|
326
|
-
*/
|
|
327
|
-
export declare class IdentityAlreadyLinkedException extends __BaseException {
|
|
328
|
-
readonly name: "IdentityAlreadyLinkedException";
|
|
329
|
-
readonly $fault: "client";
|
|
330
|
-
/**
|
|
331
|
-
* @internal
|
|
332
|
-
*/
|
|
333
|
-
constructor(opts: __ExceptionOptionType<IdentityAlreadyLinkedException, __BaseException>);
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* @public
|
|
337
|
-
*/
|
|
338
|
-
export declare class IdentityNotFoundException extends __BaseException {
|
|
339
|
-
readonly name: "IdentityNotFoundException";
|
|
340
|
-
readonly $fault: "client";
|
|
341
|
-
/**
|
|
342
|
-
* @internal
|
|
343
|
-
*/
|
|
344
|
-
constructor(opts: __ExceptionOptionType<IdentityNotFoundException, __BaseException>);
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
export declare class WorkspaceNotFoundException extends __BaseException {
|
|
350
|
-
readonly name: "WorkspaceNotFoundException";
|
|
351
|
-
readonly $fault: "client";
|
|
352
|
-
/**
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
constructor(opts: __ExceptionOptionType<WorkspaceNotFoundException, __BaseException>);
|
|
356
|
-
}
|
|
357
261
|
/**
|
|
358
262
|
* @public
|
|
359
263
|
* @enum
|
|
@@ -1235,6 +1139,28 @@ export declare class BotSecretKeyNotValidException extends __BaseException {
|
|
|
1235
1139
|
*/
|
|
1236
1140
|
constructor(opts: __ExceptionOptionType<BotSecretKeyNotValidException, __BaseException>);
|
|
1237
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
export declare class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
1146
|
+
readonly name: "CannotRemovePrimaryIdentityException";
|
|
1147
|
+
readonly $fault: "client";
|
|
1148
|
+
/**
|
|
1149
|
+
* @internal
|
|
1150
|
+
*/
|
|
1151
|
+
constructor(opts: __ExceptionOptionType<CannotRemovePrimaryIdentityException, __BaseException>);
|
|
1152
|
+
}
|
|
1153
|
+
/**
|
|
1154
|
+
* @public
|
|
1155
|
+
*/
|
|
1156
|
+
export declare class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
1157
|
+
readonly name: "CannotUnbindDefaultWorkspaceException";
|
|
1158
|
+
readonly $fault: "client";
|
|
1159
|
+
/**
|
|
1160
|
+
* @internal
|
|
1161
|
+
*/
|
|
1162
|
+
constructor(opts: __ExceptionOptionType<CannotUnbindDefaultWorkspaceException, __BaseException>);
|
|
1163
|
+
}
|
|
1238
1164
|
/**
|
|
1239
1165
|
* @public
|
|
1240
1166
|
*/
|
|
@@ -1412,6 +1338,26 @@ export interface GetAccountInput {
|
|
|
1412
1338
|
*/
|
|
1413
1339
|
accountId: string;
|
|
1414
1340
|
}
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
*/
|
|
1344
|
+
export interface Identity {
|
|
1345
|
+
/**
|
|
1346
|
+
* The identity value (email address or phone number in E.164)
|
|
1347
|
+
* @public
|
|
1348
|
+
*/
|
|
1349
|
+
identity: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* The unique identifier of the account.
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1354
|
+
account: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Indicates if the identity is verified.
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
verified?: boolean | undefined;
|
|
1360
|
+
}
|
|
1415
1361
|
/**
|
|
1416
1362
|
* @public
|
|
1417
1363
|
* @enum
|
|
@@ -1623,6 +1569,28 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1623
1569
|
*/
|
|
1624
1570
|
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1625
1571
|
}
|
|
1572
|
+
/**
|
|
1573
|
+
* @public
|
|
1574
|
+
*/
|
|
1575
|
+
export declare class IdentityAlreadyLinkedException extends __BaseException {
|
|
1576
|
+
readonly name: "IdentityAlreadyLinkedException";
|
|
1577
|
+
readonly $fault: "client";
|
|
1578
|
+
/**
|
|
1579
|
+
* @internal
|
|
1580
|
+
*/
|
|
1581
|
+
constructor(opts: __ExceptionOptionType<IdentityAlreadyLinkedException, __BaseException>);
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* @public
|
|
1585
|
+
*/
|
|
1586
|
+
export declare class IdentityNotFoundException extends __BaseException {
|
|
1587
|
+
readonly name: "IdentityNotFoundException";
|
|
1588
|
+
readonly $fault: "client";
|
|
1589
|
+
/**
|
|
1590
|
+
* @internal
|
|
1591
|
+
*/
|
|
1592
|
+
constructor(opts: __ExceptionOptionType<IdentityNotFoundException, __BaseException>);
|
|
1593
|
+
}
|
|
1626
1594
|
/**
|
|
1627
1595
|
* @public
|
|
1628
1596
|
*/
|
|
@@ -1673,18 +1641,27 @@ export interface InviteOutput {
|
|
|
1673
1641
|
/**
|
|
1674
1642
|
* @public
|
|
1675
1643
|
*/
|
|
1676
|
-
export interface
|
|
1644
|
+
export interface LinkIdentityInput {
|
|
1677
1645
|
/**
|
|
1678
1646
|
* The unique identifier of the account.
|
|
1679
1647
|
* @public
|
|
1680
1648
|
*/
|
|
1681
1649
|
accountId: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* The identity value: email address or phone number in E.164.
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
identity: string;
|
|
1682
1655
|
}
|
|
1683
1656
|
/**
|
|
1684
1657
|
* @public
|
|
1685
1658
|
*/
|
|
1686
|
-
export interface
|
|
1687
|
-
|
|
1659
|
+
export interface LinkIdentityOutput {
|
|
1660
|
+
/**
|
|
1661
|
+
* The identity in pending state. OTP has been sent; call VerifyIdentity to complete.
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
identity: Identity;
|
|
1688
1665
|
}
|
|
1689
1666
|
/**
|
|
1690
1667
|
* @public
|
|
@@ -1711,6 +1688,22 @@ export interface ListBotsInput {
|
|
|
1711
1688
|
export interface ListBotsOutput {
|
|
1712
1689
|
bots: (Bot)[];
|
|
1713
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
export interface ListIdentitiesInput {
|
|
1695
|
+
/**
|
|
1696
|
+
* The unique identifier of the account.
|
|
1697
|
+
* @public
|
|
1698
|
+
*/
|
|
1699
|
+
accountId: string;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* @public
|
|
1703
|
+
*/
|
|
1704
|
+
export interface ListIdentitiesOutput {
|
|
1705
|
+
identities: (Identity)[];
|
|
1706
|
+
}
|
|
1714
1707
|
/**
|
|
1715
1708
|
* @public
|
|
1716
1709
|
*/
|
|
@@ -1926,30 +1919,26 @@ export interface QueryUsersOutput {
|
|
|
1926
1919
|
/**
|
|
1927
1920
|
* @public
|
|
1928
1921
|
*/
|
|
1929
|
-
export interface
|
|
1930
|
-
|
|
1931
|
-
* The unique identifier of the account.
|
|
1932
|
-
* @public
|
|
1933
|
-
*/
|
|
1934
|
-
accountId: string;
|
|
1922
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
1923
|
+
unsubscribeToken: string;
|
|
1935
1924
|
/**
|
|
1936
|
-
*
|
|
1925
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1937
1926
|
* @public
|
|
1938
1927
|
*/
|
|
1939
|
-
|
|
1928
|
+
subscribe: boolean;
|
|
1940
1929
|
}
|
|
1941
1930
|
/**
|
|
1942
1931
|
* @public
|
|
1943
1932
|
*/
|
|
1944
|
-
export interface
|
|
1933
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
|
|
1945
1934
|
}
|
|
1946
1935
|
/**
|
|
1947
1936
|
* @public
|
|
1948
1937
|
*/
|
|
1949
|
-
export interface
|
|
1938
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionInput {
|
|
1950
1939
|
unsubscribeToken: string;
|
|
1951
1940
|
/**
|
|
1952
|
-
* A flag that indicates whether the system should send email notifications about
|
|
1941
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1953
1942
|
* @public
|
|
1954
1943
|
*/
|
|
1955
1944
|
subscribe: boolean;
|
|
@@ -1957,28 +1946,32 @@ export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
|
1957
1946
|
/**
|
|
1958
1947
|
* @public
|
|
1959
1948
|
*/
|
|
1960
|
-
export interface
|
|
1949
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
|
|
1961
1950
|
}
|
|
1962
1951
|
/**
|
|
1963
1952
|
* @public
|
|
1964
1953
|
*/
|
|
1965
|
-
export interface
|
|
1966
|
-
unsubscribeToken: string;
|
|
1954
|
+
export interface UnlinkIdentityInput {
|
|
1967
1955
|
/**
|
|
1968
|
-
*
|
|
1956
|
+
* The unique identifier of the account.
|
|
1969
1957
|
* @public
|
|
1970
1958
|
*/
|
|
1971
|
-
|
|
1959
|
+
accountId: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* The identity value (email or phone) to remove.
|
|
1962
|
+
* @public
|
|
1963
|
+
*/
|
|
1964
|
+
identity: string;
|
|
1972
1965
|
}
|
|
1973
1966
|
/**
|
|
1974
1967
|
* @public
|
|
1975
1968
|
*/
|
|
1976
|
-
export interface
|
|
1969
|
+
export interface UnlinkIdentityOutput {
|
|
1977
1970
|
}
|
|
1978
1971
|
/**
|
|
1979
1972
|
* @public
|
|
1980
1973
|
*/
|
|
1981
|
-
export interface
|
|
1974
|
+
export interface UnlinkWorkspaceInput {
|
|
1982
1975
|
/**
|
|
1983
1976
|
* The unique identifier of the workspace (Stream user ID).
|
|
1984
1977
|
* @public
|
|
@@ -1993,7 +1986,18 @@ export interface UnbindWorkspaceInput {
|
|
|
1993
1986
|
/**
|
|
1994
1987
|
* @public
|
|
1995
1988
|
*/
|
|
1996
|
-
export interface
|
|
1989
|
+
export interface UnlinkWorkspaceOutput {
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* @public
|
|
1993
|
+
*/
|
|
1994
|
+
export declare class WorkspaceNotFoundException extends __BaseException {
|
|
1995
|
+
readonly name: "WorkspaceNotFoundException";
|
|
1996
|
+
readonly $fault: "client";
|
|
1997
|
+
/**
|
|
1998
|
+
* @internal
|
|
1999
|
+
*/
|
|
2000
|
+
constructor(opts: __ExceptionOptionType<WorkspaceNotFoundException, __BaseException>);
|
|
1997
2001
|
}
|
|
1998
2002
|
/**
|
|
1999
2003
|
* @public
|
|
@@ -2158,37 +2162,6 @@ export interface UploadPictureV1Input {
|
|
|
2158
2162
|
export interface UploadPictureV1Output {
|
|
2159
2163
|
url: string;
|
|
2160
2164
|
}
|
|
2161
|
-
/**
|
|
2162
|
-
* @public
|
|
2163
|
-
*/
|
|
2164
|
-
export interface VerifyAddIdentityInput {
|
|
2165
|
-
/**
|
|
2166
|
-
* The unique identifier of the account.
|
|
2167
|
-
* @public
|
|
2168
|
-
*/
|
|
2169
|
-
accountId: string;
|
|
2170
|
-
/**
|
|
2171
|
-
* The identity value that was added (email or phone).
|
|
2172
|
-
* @public
|
|
2173
|
-
*/
|
|
2174
|
-
identity: string;
|
|
2175
|
-
/**
|
|
2176
|
-
* OTP sent to the new identity to prove ownership.
|
|
2177
|
-
* @public
|
|
2178
|
-
*/
|
|
2179
|
-
otp: string;
|
|
2180
|
-
/**
|
|
2181
|
-
* OTP sent to the primary identity for verification.
|
|
2182
|
-
* @public
|
|
2183
|
-
*/
|
|
2184
|
-
primaryOtp: string;
|
|
2185
|
-
}
|
|
2186
|
-
/**
|
|
2187
|
-
* @public
|
|
2188
|
-
*/
|
|
2189
|
-
export interface VerifyAddIdentityOutput {
|
|
2190
|
-
identity: Identity;
|
|
2191
|
-
}
|
|
2192
2165
|
/**
|
|
2193
2166
|
* @public
|
|
2194
2167
|
*/
|
|
@@ -2233,3 +2206,29 @@ export interface VerifyBotSecretKeyV1Output {
|
|
|
2233
2206
|
id: string;
|
|
2234
2207
|
name?: string | undefined;
|
|
2235
2208
|
}
|
|
2209
|
+
/**
|
|
2210
|
+
* @public
|
|
2211
|
+
*/
|
|
2212
|
+
export interface VerifyIdentityInput {
|
|
2213
|
+
/**
|
|
2214
|
+
* The unique identifier of the account.
|
|
2215
|
+
* @public
|
|
2216
|
+
*/
|
|
2217
|
+
accountId: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* The identity value that was added (email or phone).
|
|
2220
|
+
* @public
|
|
2221
|
+
*/
|
|
2222
|
+
identity: string;
|
|
2223
|
+
/**
|
|
2224
|
+
* OTP sent to the new identity to prove ownership.
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
otp: string;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
export interface VerifyIdentityOutput {
|
|
2233
|
+
identity: Identity;
|
|
2234
|
+
}
|