@wildix/xbees-users-client 1.0.34 → 1.0.36

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 (35) hide show
  1. package/dist-cjs/Users.js +12 -0
  2. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +21 -0
  3. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +21 -0
  4. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +21 -0
  5. package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +21 -0
  6. package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +21 -0
  7. package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +21 -0
  8. package/dist-cjs/commands/index.js +6 -0
  9. package/dist-cjs/models/models_0.js +13 -13
  10. package/dist-cjs/protocols/Aws_restJson1.js +239 -59
  11. package/dist-es/Users.js +12 -0
  12. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +17 -0
  13. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +17 -0
  14. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +17 -0
  15. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +17 -0
  16. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +17 -0
  17. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +17 -0
  18. package/dist-es/commands/index.js +6 -0
  19. package/dist-es/models/models_0.js +12 -12
  20. package/dist-es/protocols/Aws_restJson1.js +226 -58
  21. package/dist-types/Users.d.ts +42 -0
  22. package/dist-types/UsersClient.d.ts +8 -2
  23. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +71 -0
  24. package/dist-types/commands/CreateBotCommand.d.ts +13 -13
  25. package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -13
  26. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +69 -0
  27. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  28. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +63 -0
  29. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +63 -0
  30. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +26 -26
  31. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +69 -0
  32. package/dist-types/commands/index.d.ts +6 -0
  33. package/dist-types/models/models_0.d.ts +171 -40
  34. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  35. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  export * from "./BatchGetUsersCommand";
2
+ export * from "./BatchGetUsersEmailNotificationsSettingsCommand";
2
3
  export * from "./BatchGetUsersPbxLinkDataCommand";
3
4
  export * from "./BatchGetUsersPbxLinkDataV1Command";
4
5
  export * from "./ChangeUserEmailCommand";
@@ -10,16 +11,21 @@ export * from "./DeleteBotApiKeyCommand";
10
11
  export * from "./GetBotCommand";
11
12
  export * from "./GetBotCallbackCommand";
12
13
  export * from "./GetUserCommand";
14
+ export * from "./GetUserEmailNotificationsSettingsCommand";
13
15
  export * from "./GetUserPbxLinkDataCommand";
14
16
  export * from "./GetUserPbxLinkSuggestionCommand";
15
17
  export * from "./GetUserPbxLinkSuggestionV1Command";
16
18
  export * from "./ListBotApiKeysCommand";
17
19
  export * from "./ListBotsCommand";
20
+ export * from "./PartialUpdateUserEmailNotificationsSettingsCommand";
18
21
  export * from "./QueryColleaguesCommand";
19
22
  export * from "./QueryUserCommand";
20
23
  export * from "./QueryUsersCommand";
24
+ export * from "./ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ export * from "./ToggleUnreadEmailNotificationsSubscriptionCommand";
21
26
  export * from "./UpdateBotCommand";
22
27
  export * from "./UpdateBotCallbackCommand";
28
+ export * from "./UpdateUserEmailNotificationsSettingsCommand";
23
29
  export * from "./UploadPictureCommand";
24
30
  export * from "./UploadPictureV1Command";
25
31
  export * from "./VerifyBotSecretKeyCommand";
@@ -214,6 +214,37 @@ export interface BatchGetUsersOutput {
214
214
  */
215
215
  users: (User)[];
216
216
  }
217
+ /**
218
+ * @public
219
+ */
220
+ export interface BatchGetUsersEmailNotificationsSettingsInput {
221
+ /**
222
+ * List of the unique identifier of the user
223
+ * @public
224
+ */
225
+ usersIds: (string)[];
226
+ }
227
+ /**
228
+ * @public
229
+ */
230
+ export interface UserEmailNotificationsSettings {
231
+ /**
232
+ * A flag that indicates whether the system should send email notifications about unread messages.
233
+ * @public
234
+ */
235
+ unread: boolean;
236
+ /**
237
+ * A flag that indicates whether the system should send email notifications about AI transcription.
238
+ * @public
239
+ */
240
+ transcription: boolean;
241
+ }
242
+ /**
243
+ * @public
244
+ */
245
+ export interface BatchGetUsersEmailNotificationsSettingsOutput {
246
+ notifications: Record<string, UserEmailNotificationsSettings>;
247
+ }
217
248
  /**
218
249
  * @public
219
250
  */
@@ -524,19 +555,19 @@ export declare class BotApiKeyNotFoundException extends __BaseException {
524
555
  * @public
525
556
  * @enum
526
557
  */
527
- export declare const BotEmbeddedToolType: {
558
+ export declare const BotLlmEmbeddedToolType: {
528
559
  readonly DELEGATE: "DELEGATE";
529
- readonly TRANSFER: "HANDOVER";
560
+ readonly HANDOVER: "HANDOVER";
530
561
  };
531
562
  /**
532
563
  * @public
533
564
  */
534
- export type BotEmbeddedToolType = typeof BotEmbeddedToolType[keyof typeof BotEmbeddedToolType];
565
+ export type BotLlmEmbeddedToolType = typeof BotLlmEmbeddedToolType[keyof typeof BotLlmEmbeddedToolType];
535
566
  /**
536
567
  * @public
537
568
  */
538
- export interface BotEmbeddedTool {
539
- type: BotEmbeddedToolType;
569
+ export interface BotLlmEmbeddedTool {
570
+ type: BotLlmEmbeddedToolType;
540
571
  name: string;
541
572
  /**
542
573
  * The parameters the functions accepts.
@@ -547,20 +578,20 @@ export interface BotEmbeddedTool {
547
578
  /**
548
579
  * @public
549
580
  */
550
- export interface BotFunctionIntegrationWebhookAuthorizationBasic {
581
+ export interface BotLlmFunctionIntegrationWebhookAuthorizationBasic {
551
582
  username: string;
552
583
  password: string;
553
584
  }
554
585
  /**
555
586
  * @public
556
587
  */
557
- export interface BotFunctionIntegrationWebhookAuthorizationBearer {
588
+ export interface BotLlmFunctionIntegrationWebhookAuthorizationBearer {
558
589
  token: string;
559
590
  }
560
591
  /**
561
592
  * @public
562
593
  */
563
- export interface BotFunctionIntegrationWebhookAuthorizationOAuth {
594
+ export interface BotLlmFunctionIntegrationWebhookAuthorizationOAuth {
564
595
  clientId: string;
565
596
  clientSecret: string;
566
597
  endpointUrl: string;
@@ -569,27 +600,27 @@ export interface BotFunctionIntegrationWebhookAuthorizationOAuth {
569
600
  /**
570
601
  * @public
571
602
  */
572
- export type BotFunctionIntegrationWebhookAuthorization = BotFunctionIntegrationWebhookAuthorization.BasicMember | BotFunctionIntegrationWebhookAuthorization.BearerMember | BotFunctionIntegrationWebhookAuthorization.OauthMember | BotFunctionIntegrationWebhookAuthorization.$UnknownMember;
603
+ export type BotLlmFunctionIntegrationWebhookAuthorization = BotLlmFunctionIntegrationWebhookAuthorization.BasicMember | BotLlmFunctionIntegrationWebhookAuthorization.BearerMember | BotLlmFunctionIntegrationWebhookAuthorization.OauthMember | BotLlmFunctionIntegrationWebhookAuthorization.$UnknownMember;
573
604
  /**
574
605
  * @public
575
606
  */
576
- export declare namespace BotFunctionIntegrationWebhookAuthorization {
607
+ export declare namespace BotLlmFunctionIntegrationWebhookAuthorization {
577
608
  interface BearerMember {
578
- bearer: BotFunctionIntegrationWebhookAuthorizationBearer;
609
+ bearer: BotLlmFunctionIntegrationWebhookAuthorizationBearer;
579
610
  basic?: never;
580
611
  oauth?: never;
581
612
  $unknown?: never;
582
613
  }
583
614
  interface BasicMember {
584
615
  bearer?: never;
585
- basic: BotFunctionIntegrationWebhookAuthorizationBasic;
616
+ basic: BotLlmFunctionIntegrationWebhookAuthorizationBasic;
586
617
  oauth?: never;
587
618
  $unknown?: never;
588
619
  }
589
620
  interface OauthMember {
590
621
  bearer?: never;
591
622
  basic?: never;
592
- oauth: BotFunctionIntegrationWebhookAuthorizationOAuth;
623
+ oauth: BotLlmFunctionIntegrationWebhookAuthorizationOAuth;
593
624
  $unknown?: never;
594
625
  }
595
626
  /**
@@ -602,17 +633,17 @@ export declare namespace BotFunctionIntegrationWebhookAuthorization {
602
633
  $unknown: [string, any];
603
634
  }
604
635
  interface Visitor<T> {
605
- bearer: (value: BotFunctionIntegrationWebhookAuthorizationBearer) => T;
606
- basic: (value: BotFunctionIntegrationWebhookAuthorizationBasic) => T;
607
- oauth: (value: BotFunctionIntegrationWebhookAuthorizationOAuth) => T;
636
+ bearer: (value: BotLlmFunctionIntegrationWebhookAuthorizationBearer) => T;
637
+ basic: (value: BotLlmFunctionIntegrationWebhookAuthorizationBasic) => T;
638
+ oauth: (value: BotLlmFunctionIntegrationWebhookAuthorizationOAuth) => T;
608
639
  _: (name: string, value: any) => T;
609
640
  }
610
- const visit: <T>(value: BotFunctionIntegrationWebhookAuthorization, visitor: Visitor<T>) => T;
641
+ const visit: <T>(value: BotLlmFunctionIntegrationWebhookAuthorization, visitor: Visitor<T>) => T;
611
642
  }
612
643
  /**
613
644
  * @public
614
645
  */
615
- export interface BotFunctionIntegrationWebhookHeader {
646
+ export interface BotLlmFunctionIntegrationWebhookHeader {
616
647
  key: string;
617
648
  value: string;
618
649
  }
@@ -620,7 +651,7 @@ export interface BotFunctionIntegrationWebhookHeader {
620
651
  * @public
621
652
  * @enum
622
653
  */
623
- export declare const BotFunctionIntegrationMethod: {
654
+ export declare const BotLlmFunctionIntegrationMethod: {
624
655
  readonly DELETE: "delete";
625
656
  readonly GET: "get";
626
657
  readonly PATCH: "patch";
@@ -630,28 +661,28 @@ export declare const BotFunctionIntegrationMethod: {
630
661
  /**
631
662
  * @public
632
663
  */
633
- export type BotFunctionIntegrationMethod = typeof BotFunctionIntegrationMethod[keyof typeof BotFunctionIntegrationMethod];
664
+ export type BotLlmFunctionIntegrationMethod = typeof BotLlmFunctionIntegrationMethod[keyof typeof BotLlmFunctionIntegrationMethod];
634
665
  /**
635
666
  * @public
636
667
  */
637
- export interface BotFunctionIntegrationWebhook {
668
+ export interface BotLlmFunctionIntegrationWebhook {
638
669
  url: string;
639
- method?: BotFunctionIntegrationMethod;
670
+ method?: BotLlmFunctionIntegrationMethod;
640
671
  async?: boolean;
641
- authorization?: BotFunctionIntegrationWebhookAuthorization;
642
- headers?: (BotFunctionIntegrationWebhookHeader)[];
672
+ authorization?: BotLlmFunctionIntegrationWebhookAuthorization;
673
+ headers?: (BotLlmFunctionIntegrationWebhookHeader)[];
643
674
  parameters?: __DocumentType;
644
675
  }
645
676
  /**
646
677
  * @public
647
678
  */
648
- export type BotFunctionIntegration = BotFunctionIntegration.WebhookMember | BotFunctionIntegration.$UnknownMember;
679
+ export type BotLlmFunctionIntegration = BotLlmFunctionIntegration.WebhookMember | BotLlmFunctionIntegration.$UnknownMember;
649
680
  /**
650
681
  * @public
651
682
  */
652
- export declare namespace BotFunctionIntegration {
683
+ export declare namespace BotLlmFunctionIntegration {
653
684
  interface WebhookMember {
654
- webhook: BotFunctionIntegrationWebhook;
685
+ webhook: BotLlmFunctionIntegrationWebhook;
655
686
  $unknown?: never;
656
687
  }
657
688
  /**
@@ -662,15 +693,15 @@ export declare namespace BotFunctionIntegration {
662
693
  $unknown: [string, any];
663
694
  }
664
695
  interface Visitor<T> {
665
- webhook: (value: BotFunctionIntegrationWebhook) => T;
696
+ webhook: (value: BotLlmFunctionIntegrationWebhook) => T;
666
697
  _: (name: string, value: any) => T;
667
698
  }
668
- const visit: <T>(value: BotFunctionIntegration, visitor: Visitor<T>) => T;
699
+ const visit: <T>(value: BotLlmFunctionIntegration, visitor: Visitor<T>) => T;
669
700
  }
670
701
  /**
671
702
  * @public
672
703
  */
673
- export interface BotFunctionDefinition {
704
+ export interface BotLlmFunctionDefinition {
674
705
  /**
675
706
  * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
676
707
  * @public
@@ -686,25 +717,25 @@ export interface BotFunctionDefinition {
686
717
  * @public
687
718
  */
688
719
  parameters?: __DocumentType;
689
- integration?: BotFunctionIntegration;
720
+ integration?: BotLlmFunctionIntegration;
690
721
  }
691
722
  /**
692
723
  * @public
693
724
  * @enum
694
725
  */
695
- export declare const BotToolType: {
726
+ export declare const BotLlmToolType: {
696
727
  readonly FUNCTION: "function";
697
728
  };
698
729
  /**
699
730
  * @public
700
731
  */
701
- export type BotToolType = typeof BotToolType[keyof typeof BotToolType];
732
+ export type BotLlmToolType = typeof BotLlmToolType[keyof typeof BotLlmToolType];
702
733
  /**
703
734
  * @public
704
735
  */
705
- export interface BotTool {
706
- type: BotToolType;
707
- function?: BotFunctionDefinition;
736
+ export interface BotLlmTool {
737
+ type: BotLlmToolType;
738
+ function?: BotLlmFunctionDefinition;
708
739
  }
709
740
  /**
710
741
  * @public
@@ -712,15 +743,15 @@ export interface BotTool {
712
743
  export interface BotLlmEndpoint {
713
744
  prompt: string;
714
745
  /**
715
- * Embedded functions to use within voice session.
746
+ * Embedded functions to use within chat session.
716
747
  * @public
717
748
  */
718
- embeddedTools?: (BotEmbeddedTool)[];
749
+ embeddedTools?: (BotLlmEmbeddedTool)[];
719
750
  /**
720
- * Custom tools to be used within voice session.
751
+ * Custom tools to be used within chat session.
721
752
  * @public
722
753
  */
723
- tools?: (BotTool)[];
754
+ tools?: (BotLlmTool)[];
724
755
  }
725
756
  /**
726
757
  * @public
@@ -1009,6 +1040,22 @@ export interface GetUserInput {
1009
1040
  export interface GetUserOutput {
1010
1041
  user: User;
1011
1042
  }
1043
+ /**
1044
+ * @public
1045
+ */
1046
+ export interface GetUserEmailNotificationsSettingsInput {
1047
+ /**
1048
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1049
+ * @public
1050
+ */
1051
+ userId: string;
1052
+ }
1053
+ /**
1054
+ * @public
1055
+ */
1056
+ export interface GetUserEmailNotificationsSettingsOutput {
1057
+ notifications: UserEmailNotificationsSettings;
1058
+ }
1012
1059
  /**
1013
1060
  * @public
1014
1061
  */
@@ -1105,6 +1152,32 @@ export interface ListBotsInput {
1105
1152
  export interface ListBotsOutput {
1106
1153
  bots: (Bot)[];
1107
1154
  }
1155
+ /**
1156
+ * @public
1157
+ */
1158
+ export interface PartialUpdateUserEmailNotificationsSettingsInput {
1159
+ /**
1160
+ * A flag that indicates whether the system should send email notifications about unread messages.
1161
+ * @public
1162
+ */
1163
+ unread?: boolean;
1164
+ /**
1165
+ * A flag that indicates whether the system should send email notifications about AI transcription.
1166
+ * @public
1167
+ */
1168
+ transcription?: boolean;
1169
+ /**
1170
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1171
+ * @public
1172
+ */
1173
+ userId: string;
1174
+ }
1175
+ /**
1176
+ * @public
1177
+ */
1178
+ export interface PartialUpdateUserEmailNotificationsSettingsOutput {
1179
+ notifications: UserEmailNotificationsSettings;
1180
+ }
1108
1181
  /**
1109
1182
  * @public
1110
1183
  */
@@ -1270,6 +1343,38 @@ export interface QueryUsersOutput {
1270
1343
  */
1271
1344
  users: (User)[];
1272
1345
  }
1346
+ /**
1347
+ * @public
1348
+ */
1349
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionInput {
1350
+ unsubscribeToken: string;
1351
+ /**
1352
+ * A flag that indicates whether the system should send email notifications about AI transcription.
1353
+ * @public
1354
+ */
1355
+ subscribe: boolean;
1356
+ }
1357
+ /**
1358
+ * @public
1359
+ */
1360
+ export interface ToggleTranscriptionEmailNotificationsSubscriptionOutput {
1361
+ }
1362
+ /**
1363
+ * @public
1364
+ */
1365
+ export interface ToggleUnreadEmailNotificationsSubscriptionInput {
1366
+ unsubscribeToken: string;
1367
+ /**
1368
+ * A flag that indicates whether the system should send email notifications about unread messages.
1369
+ * @public
1370
+ */
1371
+ subscribe: boolean;
1372
+ }
1373
+ /**
1374
+ * @public
1375
+ */
1376
+ export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
1377
+ }
1273
1378
  /**
1274
1379
  * @public
1275
1380
  */
@@ -1300,6 +1405,32 @@ export interface UpdateBotCallbackInput {
1300
1405
  export interface UpdateBotCallbackOutput {
1301
1406
  callback: BotCallback;
1302
1407
  }
1408
+ /**
1409
+ * @public
1410
+ */
1411
+ export interface UpdateUserEmailNotificationsSettingsInput {
1412
+ /**
1413
+ * A flag that indicates whether the system should send email notifications about unread messages.
1414
+ * @public
1415
+ */
1416
+ unread?: boolean;
1417
+ /**
1418
+ * A flag that indicates whether the system should send email notifications about AI transcription.
1419
+ * @public
1420
+ */
1421
+ transcription?: boolean;
1422
+ /**
1423
+ * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1424
+ * @public
1425
+ */
1426
+ userId: string;
1427
+ }
1428
+ /**
1429
+ * @public
1430
+ */
1431
+ export interface UpdateUserEmailNotificationsSettingsOutput {
1432
+ notifications: UserEmailNotificationsSettings;
1433
+ }
1303
1434
  /**
1304
1435
  * @public
1305
1436
  */
@@ -1,4 +1,5 @@
1
1
  import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
2
+ import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "../commands/BatchGetUsersEmailNotificationsSettingsCommand";
2
3
  import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
3
4
  import { BatchGetUsersPbxLinkDataV1CommandInput, BatchGetUsersPbxLinkDataV1CommandOutput } from "../commands/BatchGetUsersPbxLinkDataV1Command";
4
5
  import { ChangeUserEmailCommandInput, ChangeUserEmailCommandOutput } from "../commands/ChangeUserEmailCommand";
@@ -10,16 +11,21 @@ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/Delet
10
11
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
11
12
  import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
12
13
  import { GetUserCommandInput, GetUserCommandOutput } from "../commands/GetUserCommand";
14
+ import { GetUserEmailNotificationsSettingsCommandInput, GetUserEmailNotificationsSettingsCommandOutput } from "../commands/GetUserEmailNotificationsSettingsCommand";
13
15
  import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
14
16
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
15
17
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
16
18
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
17
19
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
20
+ import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
18
21
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
19
22
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
20
23
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
24
+ import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
25
+ import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
21
26
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
22
27
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
28
+ import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
23
29
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
24
30
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
25
31
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
@@ -30,6 +36,10 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
30
36
  * serializeAws_restJson1BatchGetUsersCommand
31
37
  */
32
38
  export declare const se_BatchGetUsersCommand: (input: BatchGetUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
41
+ */
42
+ export declare const se_BatchGetUsersEmailNotificationsSettingsCommand: (input: BatchGetUsersEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
43
  /**
34
44
  * serializeAws_restJson1BatchGetUsersPbxLinkDataCommand
35
45
  */
@@ -74,6 +84,10 @@ export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInpu
74
84
  * serializeAws_restJson1GetUserCommand
75
85
  */
76
86
  export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
+ /**
88
+ * serializeAws_restJson1GetUserEmailNotificationsSettingsCommand
89
+ */
90
+ export declare const se_GetUserEmailNotificationsSettingsCommand: (input: GetUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
91
  /**
78
92
  * serializeAws_restJson1GetUserPbxLinkDataCommand
79
93
  */
@@ -94,6 +108,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
94
108
  * serializeAws_restJson1ListBotsCommand
95
109
  */
96
110
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
111
+ /**
112
+ * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
113
+ */
114
+ export declare const se_PartialUpdateUserEmailNotificationsSettingsCommand: (input: PartialUpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
115
  /**
98
116
  * serializeAws_restJson1QueryColleaguesCommand
99
117
  */
@@ -106,6 +124,14 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
106
124
  * serializeAws_restJson1QueryUsersCommand
107
125
  */
108
126
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
127
+ /**
128
+ * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
129
+ */
130
+ export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (input: ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
133
+ */
134
+ export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
135
  /**
110
136
  * serializeAws_restJson1UpdateBotCommand
111
137
  */
@@ -114,6 +140,10 @@ export declare const se_UpdateBotCommand: (input: UpdateBotCommandInput, context
114
140
  * serializeAws_restJson1UpdateBotCallbackCommand
115
141
  */
116
142
  export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
145
+ */
146
+ export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
147
  /**
118
148
  * serializeAws_restJson1UploadPictureCommand
119
149
  */
@@ -134,6 +164,10 @@ export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV
134
164
  * deserializeAws_restJson1BatchGetUsersCommand
135
165
  */
136
166
  export declare const de_BatchGetUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersCommandOutput>;
167
+ /**
168
+ * deserializeAws_restJson1BatchGetUsersEmailNotificationsSettingsCommand
169
+ */
170
+ export declare const de_BatchGetUsersEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersEmailNotificationsSettingsCommandOutput>;
137
171
  /**
138
172
  * deserializeAws_restJson1BatchGetUsersPbxLinkDataCommand
139
173
  */
@@ -178,6 +212,10 @@ export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context:
178
212
  * deserializeAws_restJson1GetUserCommand
179
213
  */
180
214
  export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
215
+ /**
216
+ * deserializeAws_restJson1GetUserEmailNotificationsSettingsCommand
217
+ */
218
+ export declare const de_GetUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserEmailNotificationsSettingsCommandOutput>;
181
219
  /**
182
220
  * deserializeAws_restJson1GetUserPbxLinkDataCommand
183
221
  */
@@ -198,6 +236,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
198
236
  * deserializeAws_restJson1ListBotsCommand
199
237
  */
200
238
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
239
+ /**
240
+ * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
241
+ */
242
+ export declare const de_PartialUpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PartialUpdateUserEmailNotificationsSettingsCommandOutput>;
201
243
  /**
202
244
  * deserializeAws_restJson1QueryColleaguesCommand
203
245
  */
@@ -210,6 +252,14 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
210
252
  * deserializeAws_restJson1QueryUsersCommand
211
253
  */
212
254
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
255
+ /**
256
+ * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
257
+ */
258
+ export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput>;
259
+ /**
260
+ * deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
261
+ */
262
+ export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
213
263
  /**
214
264
  * deserializeAws_restJson1UpdateBotCommand
215
265
  */
@@ -218,6 +268,10 @@ export declare const de_UpdateBotCommand: (output: __HttpResponse, context: __Se
218
268
  * deserializeAws_restJson1UpdateBotCallbackCommand
219
269
  */
220
270
  export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCallbackCommandOutput>;
271
+ /**
272
+ * deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
273
+ */
274
+ export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
221
275
  /**
222
276
  * deserializeAws_restJson1UploadPictureCommand
223
277
  */
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.0.34",
4
+ "version": "1.0.36",
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",
@@ -76,4 +76,4 @@
76
76
  "react-native": {
77
77
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
78
78
  }
79
- }
79
+ }