@wildix/xbees-users-client 1.0.37 → 1.0.39

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 (51) hide show
  1. package/dist-cjs/UsersClient.js +4 -5
  2. package/dist-cjs/models/models_0.js +33 -21
  3. package/dist-cjs/protocols/Aws_restJson1.js +73 -116
  4. package/dist-cjs/runtimeConfig.browser.js +1 -1
  5. package/dist-cjs/runtimeConfig.js +4 -3
  6. package/dist-cjs/runtimeExtensions.js +2 -10
  7. package/dist-es/UsersClient.js +4 -5
  8. package/dist-es/models/models_0.js +28 -16
  9. package/dist-es/protocols/Aws_restJson1.js +6 -49
  10. package/dist-es/runtimeConfig.browser.js +2 -2
  11. package/dist-es/runtimeConfig.js +5 -4
  12. package/dist-es/runtimeExtensions.js +2 -10
  13. package/dist-types/UsersClient.d.ts +1 -1
  14. package/dist-types/commands/BatchGetUsersCommand.d.ts +12 -0
  15. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +12 -0
  16. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +12 -0
  17. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +12 -0
  18. package/dist-types/commands/ChangeUserEmailCommand.d.ts +12 -0
  19. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +16 -1
  20. package/dist-types/commands/CreateBotCommand.d.ts +19 -3
  21. package/dist-types/commands/CreateSystemBotCommand.d.ts +12 -0
  22. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +12 -0
  23. package/dist-types/commands/DeleteBotCommand.d.ts +12 -0
  24. package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -1
  25. package/dist-types/commands/GetBotCommand.d.ts +16 -1
  26. package/dist-types/commands/GetUserCommand.d.ts +12 -0
  27. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +12 -0
  28. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +12 -0
  29. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +12 -0
  30. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +12 -0
  31. package/dist-types/commands/IntelligenceSearchCommand.d.ts +12 -0
  32. package/dist-types/commands/ListBotApiKeysCommand.d.ts +12 -0
  33. package/dist-types/commands/ListBotsCommand.d.ts +16 -1
  34. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  35. package/dist-types/commands/QueryColleaguesCommand.d.ts +12 -0
  36. package/dist-types/commands/QueryUserCommand.d.ts +12 -0
  37. package/dist-types/commands/QueryUsersCommand.d.ts +12 -0
  38. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +12 -0
  39. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +12 -0
  40. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +14 -2
  41. package/dist-types/commands/UpdateBotCommand.d.ts +19 -3
  42. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  43. package/dist-types/commands/UploadPictureCommand.d.ts +12 -0
  44. package/dist-types/commands/UploadPictureV1Command.d.ts +12 -0
  45. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +12 -0
  46. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +12 -0
  47. package/dist-types/models/models_0.d.ts +179 -118
  48. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/runtimeConfig.d.ts +3 -2
  50. package/dist-types/runtimeConfig.native.d.ts +3 -2
  51. package/package.json +38 -34
@@ -43,21 +43,21 @@ export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
43
43
  */
44
44
  export interface User {
45
45
  id: string;
46
- name?: string;
47
- email?: string;
48
- phone?: string;
49
- picture?: string;
50
- locale?: string;
51
- timeZone?: string;
52
- company?: string;
53
- bot?: boolean;
54
- pbxDomain?: string;
55
- pbxPort?: string;
56
- pbxExtension?: string;
57
- pbxSerial?: string;
58
- pbxUserId?: string;
59
- createdAt?: string;
60
- updatedAt?: string;
46
+ name?: string | undefined;
47
+ email?: string | undefined;
48
+ phone?: string | undefined;
49
+ picture?: string | undefined;
50
+ locale?: string | undefined;
51
+ timeZone?: string | undefined;
52
+ company?: string | undefined;
53
+ bot?: boolean | undefined;
54
+ pbxDomain?: string | undefined;
55
+ pbxPort?: string | undefined;
56
+ pbxExtension?: string | undefined;
57
+ pbxSerial?: string | undefined;
58
+ pbxUserId?: string | undefined;
59
+ createdAt?: string | undefined;
60
+ updatedAt?: string | undefined;
61
61
  }
62
62
  /**
63
63
  * @public
@@ -126,13 +126,13 @@ export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleague
126
126
  */
127
127
  export interface PbxColleague {
128
128
  id: string;
129
- name?: string;
130
- login?: string;
129
+ name?: string | undefined;
130
+ login?: string | undefined;
131
131
  extension: string;
132
- officePhone?: string;
133
- mobilePhone?: string;
134
- faxNumber?: string;
135
- email?: string;
132
+ officePhone?: string | undefined;
133
+ mobilePhone?: string | undefined;
134
+ faxNumber?: string | undefined;
135
+ email?: string | undefined;
136
136
  pbxDn: string;
137
137
  pbx: string;
138
138
  role: PbxColleagueRole;
@@ -141,9 +141,9 @@ export interface PbxColleague {
141
141
  language: string;
142
142
  dialplan: string;
143
143
  faxDialplan: string;
144
- department?: string;
144
+ department?: string | undefined;
145
145
  picture: string;
146
- sourceId?: string;
146
+ sourceId?: string | undefined;
147
147
  licenseType: PbxLicenseType;
148
148
  jid: string;
149
149
  }
@@ -284,22 +284,22 @@ export interface UserPersonalInfo {
284
284
  * Office phone number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
285
285
  * @public
286
286
  */
287
- officePhone?: string;
287
+ officePhone?: string | undefined;
288
288
  /**
289
289
  * Mobile phone number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
290
290
  * @public
291
291
  */
292
- mobilePhone?: string;
292
+ mobilePhone?: string | undefined;
293
293
  /**
294
294
  * Fax number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
295
295
  * @public
296
296
  */
297
- faxNumber?: string;
297
+ faxNumber?: string | undefined;
298
298
  /**
299
299
  * Email address of the user (example: 'email@google.com'). This field can be an empty string or undefined if not provided.
300
300
  * @public
301
301
  */
302
- email?: string;
302
+ email?: string | undefined;
303
303
  /**
304
304
  * Role of the user (example: 'admin').
305
305
  * @public
@@ -324,7 +324,7 @@ export interface UserPersonalInfo {
324
324
  * Department of the user (example: 'Sales'). This field can be an empty string or undefined if not provided.
325
325
  * @public
326
326
  */
327
- departament?: string;
327
+ departament?: string | undefined;
328
328
  /**
329
329
  * Public URL path of the user's picture (example: '/cticonnect/cticonnect_share/user_avatar_3688190.png?100&John Doe&98998generated').
330
330
  * @public
@@ -354,12 +354,12 @@ export interface UserPersonalInfo {
354
354
  * Login name of the user. This field can be an empty string or undefined if not provided.
355
355
  * @public
356
356
  */
357
- login?: string;
357
+ login?: string | undefined;
358
358
  /**
359
359
  * PBX associated with the user. This field can be an empty string or undefined if not provided.
360
360
  * @public
361
361
  */
362
- pbx?: string;
362
+ pbx?: string | undefined;
363
363
  /**
364
364
  * Distinguished Name (DN) of the PBX associated with the user. Example: 'pbxid=0800276a7b26,dc=wildix'.
365
365
  * @public
@@ -369,12 +369,12 @@ export interface UserPersonalInfo {
369
369
  * Source identifier for the user's authorization (example: '117868550326216144929').
370
370
  * @public
371
371
  */
372
- sourceId?: string;
372
+ sourceId?: string | undefined;
373
373
  /**
374
374
  * SIP password for the user, used to authenticate and secure SIP communications such as VoIP calls.
375
375
  * @public
376
376
  */
377
- sipPassword?: string;
377
+ sipPassword?: string | undefined;
378
378
  }
379
379
  /**
380
380
  * @public
@@ -394,7 +394,7 @@ export interface UserPbxInfo {
394
394
  * Prefix used for external lines (eample: '0').
395
395
  * @public
396
396
  */
397
- externalLinePrefix?: string;
397
+ externalLinePrefix?: string | undefined;
398
398
  /**
399
399
  * Version of the PBX software (example: '5.03.20210820.2~67439e5d').
400
400
  * @public
@@ -415,8 +415,8 @@ export interface UserPbxPersonalSettings {
415
415
  * @public
416
416
  */
417
417
  export interface UserPbxServices {
418
- xcaracal?: boolean;
419
- wizyWebinar?: boolean;
418
+ xcaracal?: boolean | undefined;
419
+ wizyWebinar?: boolean | undefined;
420
420
  }
421
421
  /**
422
422
  * @public
@@ -436,7 +436,7 @@ export interface UserPbxLinkData {
436
436
  * The name of the tenant (company) associated with the user.
437
437
  * @public
438
438
  */
439
- companyName?: string;
439
+ companyName?: string | undefined;
440
440
  /**
441
441
  * The domain of the PBX where the user connected to.
442
442
  * @public
@@ -446,7 +446,7 @@ export interface UserPbxLinkData {
446
446
  * The email address of the user.
447
447
  * @public
448
448
  */
449
- email?: string;
449
+ email?: string | undefined;
450
450
  /**
451
451
  * Personal information of the user.
452
452
  * @public
@@ -466,7 +466,7 @@ export interface UserPbxLinkData {
466
466
  * Indicates whether the picture was manually removed by the user. If true the application must show a placeholder instead of the default picture from the PBX.
467
467
  * @public
468
468
  */
469
- pictureDeleted?: boolean;
469
+ pictureDeleted?: boolean | undefined;
470
470
  /**
471
471
  * The port used for the PBX connection.
472
472
  * @public
@@ -481,27 +481,27 @@ export interface UserPbxLinkData {
481
481
  * Services associated with the user's PBX.
482
482
  * @public
483
483
  */
484
- services?: UserPbxServices;
484
+ services?: UserPbxServices | undefined;
485
485
  /**
486
486
  * Personal settings (PBX) of the user.
487
487
  * @public
488
488
  */
489
- personalSettings?: UserPbxPersonalSettings;
489
+ personalSettings?: UserPbxPersonalSettings | undefined;
490
490
  /**
491
491
  * Dialplan settings (PBX) of the user.
492
492
  * @public
493
493
  */
494
- dialplanSettings?: UserPbxDialplanSettings;
494
+ dialplanSettings?: UserPbxDialplanSettings | undefined;
495
495
  /**
496
496
  * The AWS region where the PBX is located.
497
497
  * @public
498
498
  */
499
- awsRegion?: string;
499
+ awsRegion?: string | undefined;
500
500
  /**
501
501
  * The date when link data was updated last time.
502
502
  * @public
503
503
  */
504
- updatedAt?: string;
504
+ updatedAt?: string | undefined;
505
505
  }
506
506
  /**
507
507
  * @public
@@ -521,23 +521,65 @@ export interface BatchGetUsersPbxLinkDataV1Input {
521
521
  export interface BatchGetUsersPbxLinkDataV1Output {
522
522
  users: (UserPbxLinkData)[];
523
523
  }
524
+ /**
525
+ * @public
526
+ * @enum
527
+ */
528
+ export declare const BotAccess: {
529
+ readonly EVERYBODY: "EVERYBODY";
530
+ readonly ORGANIZATION: "ORGANIZATION";
531
+ };
532
+ /**
533
+ * @public
534
+ */
535
+ export type BotAccess = typeof BotAccess[keyof typeof BotAccess];
536
+ /**
537
+ * @public
538
+ * @enum
539
+ */
540
+ export declare const BotIntegrationType: {
541
+ readonly DIALOGFLOW_CX: "DIALOGFLOW_CX";
542
+ readonly LLM: "LLM";
543
+ readonly OPEN_AI_ASSISTANT: "OPEN_AI_ASSISTANT";
544
+ readonly SQS: "SQS";
545
+ readonly WEBHOOK: "WEBHOOK";
546
+ };
547
+ /**
548
+ * @public
549
+ */
550
+ export type BotIntegrationType = typeof BotIntegrationType[keyof typeof BotIntegrationType];
524
551
  /**
525
552
  * @public
526
553
  */
527
554
  export interface Bot {
528
- id: string;
529
555
  name: string;
530
- picture?: string;
531
- searchable?: boolean;
556
+ /**
557
+ * A link to the bot picture.
558
+ * @public
559
+ */
560
+ picture?: string | undefined;
561
+ /**
562
+ * Indicates whether the bot can be discovered by colleagues in the application.
563
+ * @public
564
+ */
565
+ searchable?: boolean | undefined;
566
+ /**
567
+ * Defines who is allowed to use the bot. Default is EVERYBODY.
568
+ * @public
569
+ */
570
+ access?: BotAccess | undefined;
571
+ id: string;
572
+ integrationType: BotIntegrationType;
573
+ integrationApiKeysCount: number;
532
574
  createdAt: string;
533
- updated?: string;
575
+ updated?: string | undefined;
534
576
  }
535
577
  /**
536
578
  * @public
537
579
  */
538
580
  export interface BotApiKey {
539
581
  secret: string;
540
- name?: string;
582
+ name?: string | undefined;
541
583
  createdAt: string;
542
584
  }
543
585
  /**
@@ -558,6 +600,7 @@ export declare class BotApiKeyNotFoundException extends __BaseException {
558
600
  export declare const BotLlmEmbeddedToolType: {
559
601
  readonly DELEGATE: "DELEGATE";
560
602
  readonly HANDOVER: "HANDOVER";
603
+ readonly SUGGESTIONS: "SUGGESTIONS";
561
604
  };
562
605
  /**
563
606
  * @public
@@ -573,7 +616,7 @@ export interface BotLlmEmbeddedTool {
573
616
  * The parameters the functions accepts.
574
617
  * @public
575
618
  */
576
- parameters?: __DocumentType;
619
+ parameters?: __DocumentType | undefined;
577
620
  }
578
621
  /**
579
622
  * @public
@@ -595,7 +638,7 @@ export interface BotLlmFunctionIntegrationWebhookAuthorizationOAuth {
595
638
  clientId: string;
596
639
  clientSecret: string;
597
640
  endpointUrl: string;
598
- scope?: string;
641
+ scope?: string | undefined;
599
642
  }
600
643
  /**
601
644
  * @public
@@ -667,11 +710,11 @@ export type BotLlmFunctionIntegrationMethod = typeof BotLlmFunctionIntegrationMe
667
710
  */
668
711
  export interface BotLlmFunctionIntegrationWebhook {
669
712
  url: string;
670
- method?: BotLlmFunctionIntegrationMethod;
671
- async?: boolean;
672
- authorization?: BotLlmFunctionIntegrationWebhookAuthorization;
673
- headers?: (BotLlmFunctionIntegrationWebhookHeader)[];
674
- parameters?: __DocumentType;
713
+ method?: BotLlmFunctionIntegrationMethod | undefined;
714
+ async?: boolean | undefined;
715
+ authorization?: BotLlmFunctionIntegrationWebhookAuthorization | undefined;
716
+ headers?: (BotLlmFunctionIntegrationWebhookHeader)[] | undefined;
717
+ parameters?: __DocumentType | undefined;
675
718
  }
676
719
  /**
677
720
  * @public
@@ -711,13 +754,13 @@ export interface BotLlmFunctionDefinition {
711
754
  * A description of what the function does, used by the model to choose when and how to call the function.
712
755
  * @public
713
756
  */
714
- description?: string;
757
+ description?: string | undefined;
715
758
  /**
716
759
  * The parameters the functions accepts, described as a JSON Schema object.
717
760
  * @public
718
761
  */
719
- parameters?: __DocumentType;
720
- integration?: BotLlmFunctionIntegration;
762
+ parameters?: __DocumentType | undefined;
763
+ integration?: BotLlmFunctionIntegration | undefined;
721
764
  }
722
765
  /**
723
766
  * @public
@@ -735,7 +778,7 @@ export type BotLlmToolType = typeof BotLlmToolType[keyof typeof BotLlmToolType];
735
778
  */
736
779
  export interface BotLlmTool {
737
780
  type: BotLlmToolType;
738
- function?: BotLlmFunctionDefinition;
781
+ function?: BotLlmFunctionDefinition | undefined;
739
782
  }
740
783
  /**
741
784
  * @public
@@ -746,12 +789,12 @@ export interface BotLlmEndpoint {
746
789
  * Embedded functions to use within chat session.
747
790
  * @public
748
791
  */
749
- embeddedTools?: (BotLlmEmbeddedTool)[];
792
+ embeddedTools?: (BotLlmEmbeddedTool)[] | undefined;
750
793
  /**
751
794
  * Custom tools to be used within chat session.
752
795
  * @public
753
796
  */
754
- tools?: (BotLlmTool)[];
797
+ tools?: (BotLlmTool)[] | undefined;
755
798
  }
756
799
  /**
757
800
  * @public
@@ -826,7 +869,7 @@ export declare namespace BotEndpoint {
826
869
  * @public
827
870
  */
828
871
  export interface BotCallback {
829
- endpoint?: BotEndpoint;
872
+ endpoint?: BotEndpoint | undefined;
830
873
  }
831
874
  /**
832
875
  * @public
@@ -859,12 +902,12 @@ export interface NewEmailData {
859
902
  * By default, API expects that company id will be the same for both new and old emails. If no - this field should be provided
860
903
  * @public
861
904
  */
862
- companyId?: string;
905
+ companyId?: string | undefined;
863
906
  /**
864
907
  * Target PBX domain name for cases with few PBXes in one WMS-network
865
908
  * @public
866
909
  */
867
- pbxDomain?: string;
910
+ pbxDomain?: string | undefined;
868
911
  }
869
912
  /**
870
913
  * @public
@@ -875,7 +918,7 @@ export interface OldEmailData {
875
918
  * By default, API expects that company id will be the same for both new and old emails. If no - this field should be provided
876
919
  * @public
877
920
  */
878
- companyId?: string;
921
+ companyId?: string | undefined;
879
922
  }
880
923
  /**
881
924
  * @public
@@ -916,18 +959,23 @@ export declare class UserNotFoundException extends __BaseException {
916
959
  * @public
917
960
  */
918
961
  export interface CreateBotInput {
919
- company?: string;
920
962
  name: string;
921
963
  /**
922
964
  * A link to the bot picture.
923
965
  * @public
924
966
  */
925
- picture?: string;
967
+ picture?: string | undefined;
926
968
  /**
927
- * A flag enables users to discover the bot via the search function in the x-bees application.
969
+ * Indicates whether the bot can be discovered by colleagues in the application.
928
970
  * @public
929
971
  */
930
- searchable?: boolean;
972
+ searchable?: boolean | undefined;
973
+ /**
974
+ * Defines who is allowed to use the bot. Default is EVERYBODY.
975
+ * @public
976
+ */
977
+ access?: BotAccess | undefined;
978
+ company?: string | undefined;
931
979
  callback: BotCallback;
932
980
  }
933
981
  /**
@@ -940,9 +988,9 @@ export interface CreateBotOutput {
940
988
  * @public
941
989
  */
942
990
  export interface CreateBotApiKeyInput {
943
- company?: string;
991
+ company?: string | undefined;
944
992
  botId: string;
945
- name?: string;
993
+ name?: string | undefined;
946
994
  }
947
995
  /**
948
996
  * @public
@@ -959,13 +1007,13 @@ export interface CreateSystemBotInput {
959
1007
  * The unique identifier of the tenant when a service token is used.
960
1008
  * @public
961
1009
  */
962
- company?: string;
1010
+ company?: string | undefined;
963
1011
  name: string;
964
1012
  /**
965
1013
  * A URL pointing to the bot's avatar.
966
1014
  * @public
967
1015
  */
968
- picture?: string;
1016
+ picture?: string | undefined;
969
1017
  }
970
1018
  /**
971
1019
  * @public
@@ -977,7 +1025,7 @@ export interface CreateSystemBotOutput {
977
1025
  * @public
978
1026
  */
979
1027
  export interface DeleteBotInput {
980
- company?: string;
1028
+ company?: string | undefined;
981
1029
  botId: string;
982
1030
  }
983
1031
  /**
@@ -989,7 +1037,7 @@ export interface DeleteBotOutput {
989
1037
  * @public
990
1038
  */
991
1039
  export interface DeleteBotApiKeyInput {
992
- company?: string;
1040
+ company?: string | undefined;
993
1041
  botId: string;
994
1042
  apiKeySecret: string;
995
1043
  }
@@ -1004,14 +1052,14 @@ export interface DeleteBotApiKeyOutput {
1004
1052
  export interface DirectoryItem {
1005
1053
  extension: string;
1006
1054
  name: string;
1007
- department?: string;
1008
- group?: string;
1055
+ department?: string | undefined;
1056
+ group?: string | undefined;
1009
1057
  }
1010
1058
  /**
1011
1059
  * @public
1012
1060
  */
1013
1061
  export interface GetBotInput {
1014
- company?: string;
1062
+ company?: string | undefined;
1015
1063
  botId: string;
1016
1064
  }
1017
1065
  /**
@@ -1024,7 +1072,7 @@ export interface GetBotOutput {
1024
1072
  * @public
1025
1073
  */
1026
1074
  export interface GetBotCallbackInput {
1027
- company?: string;
1075
+ company?: string | undefined;
1028
1076
  botId: string;
1029
1077
  }
1030
1078
  /**
@@ -1089,7 +1137,7 @@ export interface GetUserPbxLinkSuggestionInput {
1089
1137
  * An email address of the user when a service token is used. If not provided, the email will be taken from the token.
1090
1138
  * @public
1091
1139
  */
1092
- email?: string;
1140
+ email?: string | undefined;
1093
1141
  }
1094
1142
  /**
1095
1143
  * @public
@@ -1114,7 +1162,7 @@ export interface GetUserPbxLinkSuggestionOutput {
1114
1162
  * If the PBX data link information is available, the user can attempt to connect using the provided PBX domain and port. Can be empty if no information found for the specified email.
1115
1163
  * @public
1116
1164
  */
1117
- suggestion?: UserPbxLinkSuggestion;
1165
+ suggestion?: UserPbxLinkSuggestion | undefined;
1118
1166
  }
1119
1167
  /**
1120
1168
  * @public
@@ -1124,7 +1172,7 @@ export interface GetUserPbxLinkSuggestionV1Input {
1124
1172
  * An email address of the user when a service token is used. If not provided, the email will be taken from the token.
1125
1173
  * @public
1126
1174
  */
1127
- email?: string;
1175
+ email?: string | undefined;
1128
1176
  }
1129
1177
  /**
1130
1178
  * @public
@@ -1134,7 +1182,7 @@ export interface GetUserPbxLinkSuggestionV1Output {
1134
1182
  * If the PBX data link information is available, the user can attempt to connect using the provided PBX domain and port. Can be empty if no information found for the specified email.
1135
1183
  * @public
1136
1184
  */
1137
- suggestion?: UserPbxLinkSuggestion;
1185
+ suggestion?: UserPbxLinkSuggestion | undefined;
1138
1186
  }
1139
1187
  /**
1140
1188
  * @public
@@ -1144,13 +1192,13 @@ export interface IntelligenceSearchInput {
1144
1192
  * The unique identifier of the tenant when a service token is used. Only for s2s auth
1145
1193
  * @public
1146
1194
  */
1147
- company?: string;
1195
+ company?: string | undefined;
1148
1196
  search: string;
1149
1197
  /**
1150
1198
  * Optional extension to exclude from search results. Used to prevent returning the caller's own record when searching.
1151
1199
  * @public
1152
1200
  */
1153
- excludeExtension?: string;
1201
+ excludeExtension?: string | undefined;
1154
1202
  }
1155
1203
  /**
1156
1204
  * @public
@@ -1162,7 +1210,7 @@ export interface IntelligenceSearchOutput {
1162
1210
  * @public
1163
1211
  */
1164
1212
  export interface ListBotApiKeysInput {
1165
- company?: string;
1213
+ company?: string | undefined;
1166
1214
  botId: string;
1167
1215
  }
1168
1216
  /**
@@ -1175,7 +1223,7 @@ export interface ListBotApiKeysOutput {
1175
1223
  * @public
1176
1224
  */
1177
1225
  export interface ListBotsInput {
1178
- company?: string;
1226
+ company?: string | undefined;
1179
1227
  }
1180
1228
  /**
1181
1229
  * @public
@@ -1191,12 +1239,12 @@ export interface PartialUpdateUserEmailNotificationsSettingsInput {
1191
1239
  * A flag that indicates whether the system should send email notifications about unread messages.
1192
1240
  * @public
1193
1241
  */
1194
- unread?: boolean;
1242
+ unread?: boolean | undefined;
1195
1243
  /**
1196
1244
  * A flag that indicates whether the system should send email notifications about AI transcription.
1197
1245
  * @public
1198
1246
  */
1199
- transcription?: boolean;
1247
+ transcription?: boolean | undefined;
1200
1248
  /**
1201
1249
  * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1202
1250
  * @public
@@ -1213,20 +1261,20 @@ export interface PartialUpdateUserEmailNotificationsSettingsOutput {
1213
1261
  * @public
1214
1262
  */
1215
1263
  export interface QueryColleaguesParameters {
1216
- id?: (string)[];
1217
- extension?: (string)[];
1218
- officePhone?: (string)[];
1219
- mobilePhone?: (string)[];
1220
- name?: (string)[];
1221
- email?: (string)[];
1222
- department?: (string)[];
1223
- search?: string;
1224
- searchFields?: (PbxColleaguesQueryField)[];
1225
- searchStrategy?: PbxColleaguesSearchStrategy;
1226
- sort?: (PbxColleaguesQueryField)[];
1227
- start?: number;
1228
- count?: number;
1229
- dir?: GetPbxColleaguesDir;
1264
+ id?: (string)[] | undefined;
1265
+ extension?: (string)[] | undefined;
1266
+ officePhone?: (string)[] | undefined;
1267
+ mobilePhone?: (string)[] | undefined;
1268
+ name?: (string)[] | undefined;
1269
+ email?: (string)[] | undefined;
1270
+ department?: (string)[] | undefined;
1271
+ search?: string | undefined;
1272
+ searchFields?: (PbxColleaguesQueryField)[] | undefined;
1273
+ searchStrategy?: PbxColleaguesSearchStrategy | undefined;
1274
+ sort?: (PbxColleaguesQueryField)[] | undefined;
1275
+ start?: number | undefined;
1276
+ count?: number | undefined;
1277
+ dir?: GetPbxColleaguesDir | undefined;
1230
1278
  }
1231
1279
  /**
1232
1280
  * @public
@@ -1236,8 +1284,8 @@ export interface QueryColleaguesInput {
1236
1284
  * The unique identifier of the tenant when a service token is used.
1237
1285
  * @public
1238
1286
  */
1239
- company?: string;
1240
- query?: QueryColleaguesParameters;
1287
+ company?: string | undefined;
1288
+ query?: QueryColleaguesParameters | undefined;
1241
1289
  }
1242
1290
  /**
1243
1291
  * @public
@@ -1247,7 +1295,7 @@ export interface QueryColleaguesOutputItem {
1247
1295
  * A user object associated on the cloud for this colleague that is registered on the WMS.
1248
1296
  * @public
1249
1297
  */
1250
- user?: User;
1298
+ user?: User | undefined;
1251
1299
  /**
1252
1300
  * A colleague object returned by the PBX.
1253
1301
  * @public
@@ -1272,7 +1320,7 @@ export interface UserQueryPredicate {
1272
1320
  * The type of PBX license required for the user query. This field is used to ensure that the user has the appropriate license type.
1273
1321
  * @public
1274
1322
  */
1275
- license?: PbxLicenseType;
1323
+ license?: PbxLicenseType | undefined;
1276
1324
  }
1277
1325
  /**
1278
1326
  * @public
@@ -1338,7 +1386,7 @@ export interface QueryUserInput {
1338
1386
  * A condition that must be satisfied for the user query to be considered valid. If this predicate is not met, a UserQueryPredicateNotMetException will be thrown.
1339
1387
  * @public
1340
1388
  */
1341
- predicate?: UserQueryPredicate;
1389
+ predicate?: UserQueryPredicate | undefined;
1342
1390
  }
1343
1391
  /**
1344
1392
  * @public
@@ -1362,7 +1410,7 @@ export declare class UserQueryPredicateNotMetException extends __BaseException {
1362
1410
  */
1363
1411
  export interface QueryUsersInput {
1364
1412
  queries: (UserQuery)[];
1365
- predicate?: UserQueryPredicate;
1413
+ predicate?: UserQueryPredicate | undefined;
1366
1414
  }
1367
1415
  /**
1368
1416
  * @public
@@ -1410,11 +1458,24 @@ export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
1410
1458
  * @public
1411
1459
  */
1412
1460
  export interface UpdateBotInput {
1413
- company?: string;
1414
- botId: string;
1415
1461
  name: string;
1416
- picture?: string;
1417
- searchable?: boolean;
1462
+ /**
1463
+ * A link to the bot picture.
1464
+ * @public
1465
+ */
1466
+ picture?: string | undefined;
1467
+ /**
1468
+ * Indicates whether the bot can be discovered by colleagues in the application.
1469
+ * @public
1470
+ */
1471
+ searchable?: boolean | undefined;
1472
+ /**
1473
+ * Defines who is allowed to use the bot. Default is EVERYBODY.
1474
+ * @public
1475
+ */
1476
+ access?: BotAccess | undefined;
1477
+ company?: string | undefined;
1478
+ botId: string;
1418
1479
  }
1419
1480
  /**
1420
1481
  * @public
@@ -1426,7 +1487,7 @@ export interface UpdateBotOutput {
1426
1487
  * @public
1427
1488
  */
1428
1489
  export interface UpdateBotCallbackInput {
1429
- company?: string;
1490
+ company?: string | undefined;
1430
1491
  botId: string;
1431
1492
  callback: BotCallback;
1432
1493
  }
@@ -1444,12 +1505,12 @@ export interface UpdateUserEmailNotificationsSettingsInput {
1444
1505
  * A flag that indicates whether the system should send email notifications about unread messages.
1445
1506
  * @public
1446
1507
  */
1447
- unread?: boolean;
1508
+ unread?: boolean | undefined;
1448
1509
  /**
1449
1510
  * A flag that indicates whether the system should send email notifications about AI transcription.
1450
1511
  * @public
1451
1512
  */
1452
- transcription?: boolean;
1513
+ transcription?: boolean | undefined;
1453
1514
  /**
1454
1515
  * The unique identifier of the user (Cloud ID, not ID of the user on PBX).
1455
1516
  * @public
@@ -1514,7 +1575,7 @@ export interface VerifyBotSecretKeyOutput {
1514
1575
  * @public
1515
1576
  */
1516
1577
  id: string;
1517
- name?: string;
1578
+ name?: string | undefined;
1518
1579
  }
1519
1580
  /**
1520
1581
  * @public
@@ -1536,5 +1597,5 @@ export interface VerifyBotSecretKeyV1Output {
1536
1597
  * @public
1537
1598
  */
1538
1599
  id: string;
1539
- name?: string;
1600
+ name?: string | undefined;
1540
1601
  }