@wildix/xbees-users-client 1.0.54 → 1.2.2

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 (78) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/AddIdentityCommand.d.ts +93 -0
  32. package/dist-types/commands/BatchGetUsersCommand.d.ts +12 -0
  33. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +12 -0
  34. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +12 -0
  35. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +12 -0
  36. package/dist-types/commands/ChangeUserEmailCommand.d.ts +12 -0
  37. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +12 -0
  38. package/dist-types/commands/CreateBotCommand.d.ts +12 -0
  39. package/dist-types/commands/CreateSystemBotCommand.d.ts +12 -0
  40. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +12 -0
  41. package/dist-types/commands/DeleteBotCommand.d.ts +12 -0
  42. package/dist-types/commands/GetAccountCommand.d.ts +182 -0
  43. package/dist-types/commands/GetAppVersionCommand.d.ts +12 -0
  44. package/dist-types/commands/GetBotCallbackCommand.d.ts +12 -0
  45. package/dist-types/commands/GetBotCommand.d.ts +12 -0
  46. package/dist-types/commands/GetUserCommand.d.ts +12 -0
  47. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +12 -0
  48. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +12 -0
  49. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +12 -0
  50. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +12 -0
  51. package/dist-types/commands/IntelligenceSearchCommand.d.ts +12 -0
  52. package/dist-types/commands/InviteCommand.d.ts +116 -0
  53. package/dist-types/commands/ListAccountIdentitiesCommand.d.ts +94 -0
  54. package/dist-types/commands/ListBotApiKeysCommand.d.ts +12 -0
  55. package/dist-types/commands/ListBotsCommand.d.ts +12 -0
  56. package/dist-types/commands/ListWorkspacesCommand.d.ts +170 -0
  57. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  58. package/dist-types/commands/QueryColleaguesCommand.d.ts +12 -0
  59. package/dist-types/commands/QueryUserCommand.d.ts +12 -0
  60. package/dist-types/commands/QueryUsersCommand.d.ts +12 -0
  61. package/dist-types/commands/RemoveIdentityCommand.d.ts +87 -0
  62. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +12 -0
  63. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +12 -0
  64. package/dist-types/commands/UnbindWorkspaceCommand.d.ts +87 -0
  65. package/dist-types/commands/UpdateAccountCommand.d.ts +94 -0
  66. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +12 -0
  67. package/dist-types/commands/UpdateBotCommand.d.ts +12 -0
  68. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  69. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +171 -0
  70. package/dist-types/commands/UploadPictureCommand.d.ts +12 -0
  71. package/dist-types/commands/UploadPictureV1Command.d.ts +12 -0
  72. package/dist-types/commands/VerifyAddIdentityCommand.d.ts +95 -0
  73. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +12 -0
  74. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +12 -0
  75. package/dist-types/commands/index.d.ts +10 -0
  76. package/dist-types/models/models_0.d.ts +420 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  78. package/package.json +2 -2
@@ -199,6 +199,161 @@ export declare const PbxColleaguesSearchStrategy: {
199
199
  * @public
200
200
  */
201
201
  export type PbxColleaguesSearchStrategy = typeof PbxColleaguesSearchStrategy[keyof typeof PbxColleaguesSearchStrategy];
202
+ /**
203
+ * @public
204
+ */
205
+ export interface UserToInvite {
206
+ /**
207
+ * The email address of the invited user. If no user exists with the specified email and "colleague" flag is provided, the system will retrieve the colleague's details from the PBX.
208
+ * @public
209
+ */
210
+ email?: string | undefined;
211
+ /**
212
+ * The phone number of the invited user. This phone number is used to create or find the user if an email address is not provided.
213
+ * @public
214
+ */
215
+ phone?: string | undefined;
216
+ /**
217
+ * An optional name for the invited user. If the user logs in later and a different name is provided via SSO or the PBX, the system will update the user's name accordingly.
218
+ * @public
219
+ */
220
+ name?: string | undefined;
221
+ /**
222
+ * A flag to indicate that specified email are registered colleague on the PBX.
223
+ * When provided, the system will search for the colleague on the PBX and automatically establish a connection to the organization if one does not already exist.
224
+ * If the specified colleague does not exist on the WMS, a ValidationException will be thrown and no users will be invited.
225
+ *
226
+ * @public
227
+ */
228
+ colleague?: boolean | undefined;
229
+ }
230
+ /**
231
+ * @public
232
+ */
233
+ export interface Account {
234
+ /**
235
+ * Unique identifier of the account.
236
+ * @public
237
+ */
238
+ id: string;
239
+ /**
240
+ * The ID of the default workspace, if any.
241
+ * @public
242
+ */
243
+ defaultWorkspace?: string | undefined;
244
+ primaryIdentity?: string | undefined;
245
+ }
246
+ /**
247
+ * @public
248
+ */
249
+ export declare class AccountNotFoundException extends __BaseException {
250
+ readonly name: "AccountNotFoundException";
251
+ readonly $fault: "client";
252
+ /**
253
+ * @internal
254
+ */
255
+ constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
256
+ }
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
+ }
202
357
  /**
203
358
  * @public
204
359
  * @enum
@@ -1247,6 +1402,86 @@ export interface DirectoryItem {
1247
1402
  department?: string | undefined;
1248
1403
  group?: string | undefined;
1249
1404
  }
1405
+ /**
1406
+ * @public
1407
+ */
1408
+ export interface GetAccountInput {
1409
+ /**
1410
+ * The unique identifier of the account.
1411
+ * @public
1412
+ */
1413
+ accountId: string;
1414
+ }
1415
+ /**
1416
+ * @public
1417
+ * @enum
1418
+ */
1419
+ export declare const WorkspaceType: {
1420
+ /**
1421
+ * User is not linked to any company.
1422
+ */
1423
+ readonly PERSONAL: "personal";
1424
+ /**
1425
+ * Support staff with temporary access to a user's workspace.
1426
+ */
1427
+ readonly SUPPORT: "support";
1428
+ /**
1429
+ * User is a colleague of the company.
1430
+ */
1431
+ readonly WORK: "work";
1432
+ };
1433
+ /**
1434
+ * @public
1435
+ */
1436
+ export type WorkspaceType = typeof WorkspaceType[keyof typeof WorkspaceType];
1437
+ /**
1438
+ * @public
1439
+ */
1440
+ export interface Workspace {
1441
+ /**
1442
+ * The unique identifier of the tenant (company).
1443
+ * @public
1444
+ */
1445
+ companyId?: string | undefined;
1446
+ /**
1447
+ * PBX information where user connected to.
1448
+ * @public
1449
+ */
1450
+ pbxUser?: UserPbxLinkData | undefined;
1451
+ /**
1452
+ * Personal information of the user. If user is not logged in yet, this field will might be empty.
1453
+ * @public
1454
+ */
1455
+ streamUser?: User | undefined;
1456
+ /**
1457
+ * The type of workspace.
1458
+ * @public
1459
+ */
1460
+ type?: WorkspaceType | undefined;
1461
+ /**
1462
+ * The unique identifier
1463
+ * @public
1464
+ */
1465
+ id: string;
1466
+ /**
1467
+ * The unique identifier of the account.
1468
+ * @public
1469
+ */
1470
+ accountId: string;
1471
+ /**
1472
+ * Indicates if the workspace is active.
1473
+ * @public
1474
+ */
1475
+ active: boolean;
1476
+ }
1477
+ /**
1478
+ * @public
1479
+ */
1480
+ export interface GetAccountOutput {
1481
+ account: Account;
1482
+ workspaces: (Workspace)[];
1483
+ identities: (Identity)[];
1484
+ }
1250
1485
  /**
1251
1486
  * @public
1252
1487
  */
@@ -1410,6 +1645,47 @@ export interface IntelligenceSearchInput {
1410
1645
  export interface IntelligenceSearchOutput {
1411
1646
  items: (DirectoryItem)[];
1412
1647
  }
1648
+ /**
1649
+ * @public
1650
+ */
1651
+ export interface InviteInput {
1652
+ /**
1653
+ * The unique identifier of the tenant when a service token is used.
1654
+ * @public
1655
+ */
1656
+ companyId?: string | undefined;
1657
+ /**
1658
+ * A list of users to invite. The list must contain between 1 and 20 users.
1659
+ * @public
1660
+ */
1661
+ invitees: (UserToInvite)[];
1662
+ }
1663
+ /**
1664
+ * @public
1665
+ */
1666
+ export interface InviteOutput {
1667
+ /**
1668
+ * A list of users who were successfully invited.
1669
+ * @public
1670
+ */
1671
+ users: (User)[];
1672
+ }
1673
+ /**
1674
+ * @public
1675
+ */
1676
+ export interface ListAccountIdentitiesInput {
1677
+ /**
1678
+ * The unique identifier of the account.
1679
+ * @public
1680
+ */
1681
+ accountId: string;
1682
+ }
1683
+ /**
1684
+ * @public
1685
+ */
1686
+ export interface ListAccountIdentitiesOutput {
1687
+ identities: (Identity)[];
1688
+ }
1413
1689
  /**
1414
1690
  * @public
1415
1691
  */
@@ -1435,6 +1711,22 @@ export interface ListBotsInput {
1435
1711
  export interface ListBotsOutput {
1436
1712
  bots: (Bot)[];
1437
1713
  }
1714
+ /**
1715
+ * @public
1716
+ */
1717
+ export interface ListWorkspacesInput {
1718
+ /**
1719
+ * The unique identifier of the account.
1720
+ * @public
1721
+ */
1722
+ accountId: string;
1723
+ }
1724
+ /**
1725
+ * @public
1726
+ */
1727
+ export interface ListWorkspacesOutput {
1728
+ workspaces: (Workspace)[];
1729
+ }
1438
1730
  /**
1439
1731
  * @public
1440
1732
  */
@@ -1631,6 +1923,26 @@ export interface QueryUsersOutput {
1631
1923
  */
1632
1924
  users: (User)[];
1633
1925
  }
1926
+ /**
1927
+ * @public
1928
+ */
1929
+ export interface RemoveIdentityInput {
1930
+ /**
1931
+ * The unique identifier of the account.
1932
+ * @public
1933
+ */
1934
+ accountId: string;
1935
+ /**
1936
+ * The identity value (email or phone) to remove.
1937
+ * @public
1938
+ */
1939
+ identity: string;
1940
+ }
1941
+ /**
1942
+ * @public
1943
+ */
1944
+ export interface RemoveIdentityOutput {
1945
+ }
1634
1946
  /**
1635
1947
  * @public
1636
1948
  */
@@ -1663,6 +1975,52 @@ export interface ToggleUnreadEmailNotificationsSubscriptionInput {
1663
1975
  */
1664
1976
  export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
1665
1977
  }
1978
+ /**
1979
+ * @public
1980
+ */
1981
+ export interface UnbindWorkspaceInput {
1982
+ /**
1983
+ * The unique identifier of the workspace (Stream user ID).
1984
+ * @public
1985
+ */
1986
+ workspaceId: string;
1987
+ /**
1988
+ * The unique identifier of the account.
1989
+ * @public
1990
+ */
1991
+ accountId: string;
1992
+ }
1993
+ /**
1994
+ * @public
1995
+ */
1996
+ export interface UnbindWorkspaceOutput {
1997
+ }
1998
+ /**
1999
+ * @public
2000
+ */
2001
+ export interface UpdateAccountInput {
2002
+ /**
2003
+ * The unique identifier of the account.
2004
+ * @public
2005
+ */
2006
+ accountId: string;
2007
+ /**
2008
+ * The workspace to set as default.
2009
+ * @public
2010
+ */
2011
+ defaultWorkspace?: string | undefined;
2012
+ /**
2013
+ * The identity value (email or phone) to set as primary.
2014
+ * @public
2015
+ */
2016
+ primaryIdentity?: string | undefined;
2017
+ }
2018
+ /**
2019
+ * @public
2020
+ */
2021
+ export interface UpdateAccountOutput {
2022
+ account: Account;
2023
+ }
1666
2024
  /**
1667
2025
  * @public
1668
2026
  */
@@ -1737,6 +2095,37 @@ export interface UpdateUserEmailNotificationsSettingsInput {
1737
2095
  export interface UpdateUserEmailNotificationsSettingsOutput {
1738
2096
  notifications: UserEmailNotificationsSettings;
1739
2097
  }
2098
+ /**
2099
+ * @public
2100
+ */
2101
+ export interface UpdateWorkspaceInput {
2102
+ /**
2103
+ * The unique identifier of the account.
2104
+ * @public
2105
+ */
2106
+ accountId: string;
2107
+ /**
2108
+ * The unique identifier of the workspace to deactivate.
2109
+ * @public
2110
+ */
2111
+ workspaceId: string;
2112
+ /**
2113
+ * Indicates if the workspace is active.
2114
+ * @public
2115
+ */
2116
+ active?: boolean | undefined;
2117
+ /**
2118
+ * The type of workspace.
2119
+ * @public
2120
+ */
2121
+ type?: WorkspaceType | undefined;
2122
+ }
2123
+ /**
2124
+ * @public
2125
+ */
2126
+ export interface UpdateWorkspaceOutput {
2127
+ workspace: Workspace;
2128
+ }
1740
2129
  /**
1741
2130
  * @public
1742
2131
  */
@@ -1769,6 +2158,37 @@ export interface UploadPictureV1Input {
1769
2158
  export interface UploadPictureV1Output {
1770
2159
  url: string;
1771
2160
  }
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
+ }
1772
2192
  /**
1773
2193
  * @public
1774
2194
  */
@@ -1,3 +1,4 @@
1
+ import { AddIdentityCommandInput, AddIdentityCommandOutput } from "../commands/AddIdentityCommand";
1
2
  import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
2
3
  import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "../commands/BatchGetUsersEmailNotificationsSettingsCommand";
3
4
  import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
@@ -8,6 +9,7 @@ import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/Creat
8
9
  import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "../commands/CreateSystemBotCommand";
9
10
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "../commands/DeleteBotApiKeyCommand";
10
11
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
12
+ import { GetAccountCommandInput, GetAccountCommandOutput } from "../commands/GetAccountCommand";
11
13
  import { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "../commands/GetAppVersionCommand";
12
14
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
13
15
  import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
@@ -17,23 +19,35 @@ import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from
17
19
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
18
20
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
19
21
  import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "../commands/IntelligenceSearchCommand";
22
+ import { InviteCommandInput, InviteCommandOutput } from "../commands/InviteCommand";
23
+ import { ListAccountIdentitiesCommandInput, ListAccountIdentitiesCommandOutput } from "../commands/ListAccountIdentitiesCommand";
20
24
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
21
25
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
26
+ import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
22
27
  import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
23
28
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
24
29
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
25
30
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
31
+ import { RemoveIdentityCommandInput, RemoveIdentityCommandOutput } from "../commands/RemoveIdentityCommand";
26
32
  import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
27
33
  import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
34
+ import { UnbindWorkspaceCommandInput, UnbindWorkspaceCommandOutput } from "../commands/UnbindWorkspaceCommand";
35
+ import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "../commands/UpdateAccountCommand";
28
36
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
29
37
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
30
38
  import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
39
+ import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "../commands/UpdateWorkspaceCommand";
31
40
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
32
41
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
42
+ import { VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput } from "../commands/VerifyAddIdentityCommand";
33
43
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
34
44
  import { VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput } from "../commands/VerifyBotSecretKeyV1Command";
35
45
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
36
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>;
37
51
  /**
38
52
  * serializeAws_restJson1BatchGetUsersCommand
39
53
  */
@@ -74,6 +88,10 @@ export declare const se_DeleteBotCommand: (input: DeleteBotCommandInput, context
74
88
  * serializeAws_restJson1DeleteBotApiKeyCommand
75
89
  */
76
90
  export declare const se_DeleteBotApiKeyCommand: (input: DeleteBotApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1GetAccountCommand
93
+ */
94
+ export declare const se_GetAccountCommand: (input: GetAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
95
  /**
78
96
  * serializeAws_restJson1GetAppVersionCommand
79
97
  */
@@ -110,6 +128,14 @@ export declare const se_GetUserPbxLinkSuggestionV1Command: (input: GetUserPbxLin
110
128
  * serializeAws_restJson1IntelligenceSearchCommand
111
129
  */
112
130
  export declare const se_IntelligenceSearchCommand: (input: IntelligenceSearchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1InviteCommand
133
+ */
134
+ export declare const se_InviteCommand: (input: InviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
+ /**
136
+ * serializeAws_restJson1ListAccountIdentitiesCommand
137
+ */
138
+ export declare const se_ListAccountIdentitiesCommand: (input: ListAccountIdentitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
139
  /**
114
140
  * serializeAws_restJson1ListBotApiKeysCommand
115
141
  */
@@ -118,6 +144,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
118
144
  * serializeAws_restJson1ListBotsCommand
119
145
  */
120
146
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
+ /**
148
+ * serializeAws_restJson1ListWorkspacesCommand
149
+ */
150
+ export declare const se_ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
151
  /**
122
152
  * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
123
153
  */
@@ -134,6 +164,10 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
134
164
  * serializeAws_restJson1QueryUsersCommand
135
165
  */
136
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>;
137
171
  /**
138
172
  * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
139
173
  */
@@ -142,6 +176,14 @@ export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand
142
176
  * serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
143
177
  */
144
178
  export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
+ /**
180
+ * serializeAws_restJson1UnbindWorkspaceCommand
181
+ */
182
+ export declare const se_UnbindWorkspaceCommand: (input: UnbindWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
+ /**
184
+ * serializeAws_restJson1UpdateAccountCommand
185
+ */
186
+ export declare const se_UpdateAccountCommand: (input: UpdateAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
145
187
  /**
146
188
  * serializeAws_restJson1UpdateBotCommand
147
189
  */
@@ -154,6 +196,10 @@ export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackComma
154
196
  * serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
155
197
  */
156
198
  export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
199
+ /**
200
+ * serializeAws_restJson1UpdateWorkspaceCommand
201
+ */
202
+ export declare const se_UpdateWorkspaceCommand: (input: UpdateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
157
203
  /**
158
204
  * serializeAws_restJson1UploadPictureCommand
159
205
  */
@@ -162,6 +208,10 @@ export declare const se_UploadPictureCommand: (input: UploadPictureCommandInput,
162
208
  * serializeAws_restJson1UploadPictureV1Command
163
209
  */
164
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>;
165
215
  /**
166
216
  * serializeAws_restJson1VerifyBotSecretKeyCommand
167
217
  */
@@ -170,6 +220,10 @@ export declare const se_VerifyBotSecretKeyCommand: (input: VerifyBotSecretKeyCom
170
220
  * serializeAws_restJson1VerifyBotSecretKeyV1Command
171
221
  */
172
222
  export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
+ /**
224
+ * deserializeAws_restJson1AddIdentityCommand
225
+ */
226
+ export declare const de_AddIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddIdentityCommandOutput>;
173
227
  /**
174
228
  * deserializeAws_restJson1BatchGetUsersCommand
175
229
  */
@@ -210,6 +264,10 @@ export declare const de_DeleteBotCommand: (output: __HttpResponse, context: __Se
210
264
  * deserializeAws_restJson1DeleteBotApiKeyCommand
211
265
  */
212
266
  export declare const de_DeleteBotApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotApiKeyCommandOutput>;
267
+ /**
268
+ * deserializeAws_restJson1GetAccountCommand
269
+ */
270
+ export declare const de_GetAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountCommandOutput>;
213
271
  /**
214
272
  * deserializeAws_restJson1GetAppVersionCommand
215
273
  */
@@ -246,6 +304,14 @@ export declare const de_GetUserPbxLinkSuggestionV1Command: (output: __HttpRespon
246
304
  * deserializeAws_restJson1IntelligenceSearchCommand
247
305
  */
248
306
  export declare const de_IntelligenceSearchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<IntelligenceSearchCommandOutput>;
307
+ /**
308
+ * deserializeAws_restJson1InviteCommand
309
+ */
310
+ export declare const de_InviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InviteCommandOutput>;
311
+ /**
312
+ * deserializeAws_restJson1ListAccountIdentitiesCommand
313
+ */
314
+ export declare const de_ListAccountIdentitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountIdentitiesCommandOutput>;
249
315
  /**
250
316
  * deserializeAws_restJson1ListBotApiKeysCommand
251
317
  */
@@ -254,6 +320,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
254
320
  * deserializeAws_restJson1ListBotsCommand
255
321
  */
256
322
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
323
+ /**
324
+ * deserializeAws_restJson1ListWorkspacesCommand
325
+ */
326
+ export declare const de_ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
257
327
  /**
258
328
  * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
259
329
  */
@@ -270,6 +340,10 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
270
340
  * deserializeAws_restJson1QueryUsersCommand
271
341
  */
272
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>;
273
347
  /**
274
348
  * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
275
349
  */
@@ -278,6 +352,14 @@ export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand
278
352
  * deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
279
353
  */
280
354
  export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
355
+ /**
356
+ * deserializeAws_restJson1UnbindWorkspaceCommand
357
+ */
358
+ export declare const de_UnbindWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnbindWorkspaceCommandOutput>;
359
+ /**
360
+ * deserializeAws_restJson1UpdateAccountCommand
361
+ */
362
+ export declare const de_UpdateAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAccountCommandOutput>;
281
363
  /**
282
364
  * deserializeAws_restJson1UpdateBotCommand
283
365
  */
@@ -290,6 +372,10 @@ export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, conte
290
372
  * deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
291
373
  */
292
374
  export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
375
+ /**
376
+ * deserializeAws_restJson1UpdateWorkspaceCommand
377
+ */
378
+ export declare const de_UpdateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceCommandOutput>;
293
379
  /**
294
380
  * deserializeAws_restJson1UploadPictureCommand
295
381
  */
@@ -298,6 +384,10 @@ export declare const de_UploadPictureCommand: (output: __HttpResponse, context:
298
384
  * deserializeAws_restJson1UploadPictureV1Command
299
385
  */
300
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>;
301
391
  /**
302
392
  * deserializeAws_restJson1VerifyBotSecretKeyCommand
303
393
  */