@wildix/xbees-users-client 1.2.5 → 1.2.7
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 +107 -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 +89 -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 +1 -12
- package/dist-types/commands/CreateBotCommand.d.ts +2 -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 +1 -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 +1 -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 +2 -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 +167 -153
- package/dist-types/protocols/Aws_restJson1.d.ts +35 -35
- package/package.json +2 -2
- 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
|
@@ -142,14 +142,6 @@ declare const UpdateWorkspaceCommand_base: {
|
|
|
142
142
|
*
|
|
143
143
|
* @throws {@link ValidationException} (client fault)
|
|
144
144
|
*
|
|
145
|
-
* @throws {@link IdentityAlreadyLinkedException} (client fault)
|
|
146
|
-
*
|
|
147
|
-
* @throws {@link CannotRemovePrimaryIdentityException} (client fault)
|
|
148
|
-
*
|
|
149
|
-
* @throws {@link CannotUnbindDefaultWorkspaceException} (client fault)
|
|
150
|
-
*
|
|
151
|
-
* @throws {@link IdentityNotFoundException} (client fault)
|
|
152
|
-
*
|
|
153
145
|
* @throws {@link UsersServiceException}
|
|
154
146
|
* <p>Base exception class for all service exceptions from Users service.</p>
|
|
155
147
|
*
|
|
@@ -55,18 +55,6 @@ declare const UploadPictureCommand_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
|
*
|
|
@@ -57,18 +57,6 @@ declare const UploadPictureV1Command_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 VerifyBotSecretKeyCommand_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
|
*
|
|
@@ -59,18 +59,6 @@ declare const VerifyBotSecretKeyV1Command_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
|
*
|
|
@@ -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
|
|
@@ -742,6 +646,11 @@ export interface Bot {
|
|
|
742
646
|
* @public
|
|
743
647
|
*/
|
|
744
648
|
access?: BotAccess | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
groupId?: string | undefined;
|
|
745
654
|
id: string;
|
|
746
655
|
integrationType: BotIntegrationType;
|
|
747
656
|
integrationApiKeysCount: number;
|
|
@@ -1235,6 +1144,28 @@ export declare class BotSecretKeyNotValidException extends __BaseException {
|
|
|
1235
1144
|
*/
|
|
1236
1145
|
constructor(opts: __ExceptionOptionType<BotSecretKeyNotValidException, __BaseException>);
|
|
1237
1146
|
}
|
|
1147
|
+
/**
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
export declare class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
1151
|
+
readonly name: "CannotRemovePrimaryIdentityException";
|
|
1152
|
+
readonly $fault: "client";
|
|
1153
|
+
/**
|
|
1154
|
+
* @internal
|
|
1155
|
+
*/
|
|
1156
|
+
constructor(opts: __ExceptionOptionType<CannotRemovePrimaryIdentityException, __BaseException>);
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1161
|
+
export declare class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
1162
|
+
readonly name: "CannotUnbindDefaultWorkspaceException";
|
|
1163
|
+
readonly $fault: "client";
|
|
1164
|
+
/**
|
|
1165
|
+
* @internal
|
|
1166
|
+
*/
|
|
1167
|
+
constructor(opts: __ExceptionOptionType<CannotUnbindDefaultWorkspaceException, __BaseException>);
|
|
1168
|
+
}
|
|
1238
1169
|
/**
|
|
1239
1170
|
* @public
|
|
1240
1171
|
*/
|
|
@@ -1322,6 +1253,11 @@ export interface CreateBotInput {
|
|
|
1322
1253
|
* @public
|
|
1323
1254
|
*/
|
|
1324
1255
|
access?: BotAccess | undefined;
|
|
1256
|
+
/**
|
|
1257
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
groupId?: string | undefined;
|
|
1325
1261
|
company?: string | undefined;
|
|
1326
1262
|
callback: BotCallback;
|
|
1327
1263
|
}
|
|
@@ -1412,6 +1348,26 @@ export interface GetAccountInput {
|
|
|
1412
1348
|
*/
|
|
1413
1349
|
accountId: string;
|
|
1414
1350
|
}
|
|
1351
|
+
/**
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1354
|
+
export interface Identity {
|
|
1355
|
+
/**
|
|
1356
|
+
* The identity value (email address or phone number in E.164)
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
identity: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* The unique identifier of the account.
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
account: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Indicates if the identity is verified.
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
verified?: boolean | undefined;
|
|
1370
|
+
}
|
|
1415
1371
|
/**
|
|
1416
1372
|
* @public
|
|
1417
1373
|
* @enum
|
|
@@ -1623,6 +1579,28 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1623
1579
|
*/
|
|
1624
1580
|
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1625
1581
|
}
|
|
1582
|
+
/**
|
|
1583
|
+
* @public
|
|
1584
|
+
*/
|
|
1585
|
+
export declare class IdentityAlreadyLinkedException extends __BaseException {
|
|
1586
|
+
readonly name: "IdentityAlreadyLinkedException";
|
|
1587
|
+
readonly $fault: "client";
|
|
1588
|
+
/**
|
|
1589
|
+
* @internal
|
|
1590
|
+
*/
|
|
1591
|
+
constructor(opts: __ExceptionOptionType<IdentityAlreadyLinkedException, __BaseException>);
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* @public
|
|
1595
|
+
*/
|
|
1596
|
+
export declare class IdentityNotFoundException extends __BaseException {
|
|
1597
|
+
readonly name: "IdentityNotFoundException";
|
|
1598
|
+
readonly $fault: "client";
|
|
1599
|
+
/**
|
|
1600
|
+
* @internal
|
|
1601
|
+
*/
|
|
1602
|
+
constructor(opts: __ExceptionOptionType<IdentityNotFoundException, __BaseException>);
|
|
1603
|
+
}
|
|
1626
1604
|
/**
|
|
1627
1605
|
* @public
|
|
1628
1606
|
*/
|
|
@@ -1673,18 +1651,27 @@ export interface InviteOutput {
|
|
|
1673
1651
|
/**
|
|
1674
1652
|
* @public
|
|
1675
1653
|
*/
|
|
1676
|
-
export interface
|
|
1654
|
+
export interface LinkIdentityInput {
|
|
1677
1655
|
/**
|
|
1678
1656
|
* The unique identifier of the account.
|
|
1679
1657
|
* @public
|
|
1680
1658
|
*/
|
|
1681
1659
|
accountId: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* The identity value: email address or phone number in E.164.
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
identity: string;
|
|
1682
1665
|
}
|
|
1683
1666
|
/**
|
|
1684
1667
|
* @public
|
|
1685
1668
|
*/
|
|
1686
|
-
export interface
|
|
1687
|
-
|
|
1669
|
+
export interface LinkIdentityOutput {
|
|
1670
|
+
/**
|
|
1671
|
+
* The identity in pending state. OTP has been sent; call VerifyIdentity to complete.
|
|
1672
|
+
* @public
|
|
1673
|
+
*/
|
|
1674
|
+
identity: Identity;
|
|
1688
1675
|
}
|
|
1689
1676
|
/**
|
|
1690
1677
|
* @public
|
|
@@ -1711,6 +1698,22 @@ export interface ListBotsInput {
|
|
|
1711
1698
|
export interface ListBotsOutput {
|
|
1712
1699
|
bots: (Bot)[];
|
|
1713
1700
|
}
|
|
1701
|
+
/**
|
|
1702
|
+
* @public
|
|
1703
|
+
*/
|
|
1704
|
+
export interface ListIdentitiesInput {
|
|
1705
|
+
/**
|
|
1706
|
+
* The unique identifier of the account.
|
|
1707
|
+
* @public
|
|
1708
|
+
*/
|
|
1709
|
+
accountId: string;
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* @public
|
|
1713
|
+
*/
|
|
1714
|
+
export interface ListIdentitiesOutput {
|
|
1715
|
+
identities: (Identity)[];
|
|
1716
|
+
}
|
|
1714
1717
|
/**
|
|
1715
1718
|
* @public
|
|
1716
1719
|
*/
|
|
@@ -1926,30 +1929,26 @@ export interface QueryUsersOutput {
|
|
|
1926
1929
|
/**
|
|
1927
1930
|
* @public
|
|
1928
1931
|
*/
|
|
1929
|
-
export interface
|
|
1930
|
-
|
|
1931
|
-
* The unique identifier of the account.
|
|
1932
|
-
* @public
|
|
1933
|
-
*/
|
|
1934
|
-
accountId: string;
|
|
1932
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
1933
|
+
unsubscribeToken: string;
|
|
1935
1934
|
/**
|
|
1936
|
-
*
|
|
1935
|
+
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1937
1936
|
* @public
|
|
1938
1937
|
*/
|
|
1939
|
-
|
|
1938
|
+
subscribe: boolean;
|
|
1940
1939
|
}
|
|
1941
1940
|
/**
|
|
1942
1941
|
* @public
|
|
1943
1942
|
*/
|
|
1944
|
-
export interface
|
|
1943
|
+
export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
|
|
1945
1944
|
}
|
|
1946
1945
|
/**
|
|
1947
1946
|
* @public
|
|
1948
1947
|
*/
|
|
1949
|
-
export interface
|
|
1948
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionInput {
|
|
1950
1949
|
unsubscribeToken: string;
|
|
1951
1950
|
/**
|
|
1952
|
-
* A flag that indicates whether the system should send email notifications about
|
|
1951
|
+
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1953
1952
|
* @public
|
|
1954
1953
|
*/
|
|
1955
1954
|
subscribe: boolean;
|
|
@@ -1957,28 +1956,32 @@ export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
|
|
|
1957
1956
|
/**
|
|
1958
1957
|
* @public
|
|
1959
1958
|
*/
|
|
1960
|
-
export interface
|
|
1959
|
+
export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
|
|
1961
1960
|
}
|
|
1962
1961
|
/**
|
|
1963
1962
|
* @public
|
|
1964
1963
|
*/
|
|
1965
|
-
export interface
|
|
1966
|
-
unsubscribeToken: string;
|
|
1964
|
+
export interface UnlinkIdentityInput {
|
|
1967
1965
|
/**
|
|
1968
|
-
*
|
|
1966
|
+
* The unique identifier of the account.
|
|
1969
1967
|
* @public
|
|
1970
1968
|
*/
|
|
1971
|
-
|
|
1969
|
+
accountId: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* The identity value (email or phone) to remove.
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1974
|
+
identity: string;
|
|
1972
1975
|
}
|
|
1973
1976
|
/**
|
|
1974
1977
|
* @public
|
|
1975
1978
|
*/
|
|
1976
|
-
export interface
|
|
1979
|
+
export interface UnlinkIdentityOutput {
|
|
1977
1980
|
}
|
|
1978
1981
|
/**
|
|
1979
1982
|
* @public
|
|
1980
1983
|
*/
|
|
1981
|
-
export interface
|
|
1984
|
+
export interface UnlinkWorkspaceInput {
|
|
1982
1985
|
/**
|
|
1983
1986
|
* The unique identifier of the workspace (Stream user ID).
|
|
1984
1987
|
* @public
|
|
@@ -1993,7 +1996,18 @@ export interface UnbindWorkspaceInput {
|
|
|
1993
1996
|
/**
|
|
1994
1997
|
* @public
|
|
1995
1998
|
*/
|
|
1996
|
-
export interface
|
|
1999
|
+
export interface UnlinkWorkspaceOutput {
|
|
2000
|
+
}
|
|
2001
|
+
/**
|
|
2002
|
+
* @public
|
|
2003
|
+
*/
|
|
2004
|
+
export declare class WorkspaceNotFoundException extends __BaseException {
|
|
2005
|
+
readonly name: "WorkspaceNotFoundException";
|
|
2006
|
+
readonly $fault: "client";
|
|
2007
|
+
/**
|
|
2008
|
+
* @internal
|
|
2009
|
+
*/
|
|
2010
|
+
constructor(opts: __ExceptionOptionType<WorkspaceNotFoundException, __BaseException>);
|
|
1997
2011
|
}
|
|
1998
2012
|
/**
|
|
1999
2013
|
* @public
|
|
@@ -2046,6 +2060,11 @@ export interface UpdateBotInput {
|
|
|
2046
2060
|
* @public
|
|
2047
2061
|
*/
|
|
2048
2062
|
access?: BotAccess | undefined;
|
|
2063
|
+
/**
|
|
2064
|
+
* PBX group ID for ACL-based visibility in Sales Intelligence.
|
|
2065
|
+
* @public
|
|
2066
|
+
*/
|
|
2067
|
+
groupId?: string | undefined;
|
|
2049
2068
|
company?: string | undefined;
|
|
2050
2069
|
botId: string;
|
|
2051
2070
|
}
|
|
@@ -2158,37 +2177,6 @@ export interface UploadPictureV1Input {
|
|
|
2158
2177
|
export interface UploadPictureV1Output {
|
|
2159
2178
|
url: string;
|
|
2160
2179
|
}
|
|
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
2180
|
/**
|
|
2193
2181
|
* @public
|
|
2194
2182
|
*/
|
|
@@ -2233,3 +2221,29 @@ export interface VerifyBotSecretKeyV1Output {
|
|
|
2233
2221
|
id: string;
|
|
2234
2222
|
name?: string | undefined;
|
|
2235
2223
|
}
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
export interface VerifyIdentityInput {
|
|
2228
|
+
/**
|
|
2229
|
+
* The unique identifier of the account.
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
accountId: string;
|
|
2233
|
+
/**
|
|
2234
|
+
* The identity value that was added (email or phone).
|
|
2235
|
+
* @public
|
|
2236
|
+
*/
|
|
2237
|
+
identity: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* OTP sent to the new identity to prove ownership.
|
|
2240
|
+
* @public
|
|
2241
|
+
*/
|
|
2242
|
+
otp: string;
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
* @public
|
|
2246
|
+
*/
|
|
2247
|
+
export interface VerifyIdentityOutput {
|
|
2248
|
+
identity: Identity;
|
|
2249
|
+
}
|