@wildix/xbees-users-client 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/UsersClient.js +4 -5
- package/dist-cjs/models/models_0.js +26 -21
- package/dist-cjs/protocols/Aws_restJson1.js +73 -116
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/UsersClient.js +4 -5
- package/dist-es/models/models_0.js +21 -16
- package/dist-es/protocols/Aws_restJson1.js +6 -49
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/UsersClient.d.ts +1 -1
- package/dist-types/commands/BatchGetUsersCommand.d.ts +12 -0
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +12 -0
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +12 -0
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +12 -0
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +12 -0
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +14 -1
- package/dist-types/commands/CreateBotCommand.d.ts +17 -3
- package/dist-types/commands/CreateSystemBotCommand.d.ts +12 -0
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +12 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +12 -0
- package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -1
- package/dist-types/commands/GetBotCommand.d.ts +14 -1
- package/dist-types/commands/GetUserCommand.d.ts +12 -0
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +12 -0
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +12 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +12 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +12 -0
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +12 -0
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +12 -0
- package/dist-types/commands/ListBotsCommand.d.ts +14 -1
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
- package/dist-types/commands/QueryColleaguesCommand.d.ts +12 -0
- package/dist-types/commands/QueryUserCommand.d.ts +12 -0
- package/dist-types/commands/QueryUsersCommand.d.ts +12 -0
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +12 -0
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +12 -0
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +14 -2
- package/dist-types/commands/UpdateBotCommand.d.ts +17 -3
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
- package/dist-types/commands/UploadPictureCommand.d.ts +12 -0
- package/dist-types/commands/UploadPictureV1Command.d.ts +12 -0
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +12 -0
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +162 -118
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +3 -2
- package/dist-types/runtimeConfig.native.d.ts +3 -2
- package/package.json +37 -33
|
@@ -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,6 +521,18 @@ 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];
|
|
524
536
|
/**
|
|
525
537
|
* @public
|
|
526
538
|
* @enum
|
|
@@ -540,21 +552,34 @@ export type BotIntegrationType = typeof BotIntegrationType[keyof typeof BotInteg
|
|
|
540
552
|
* @public
|
|
541
553
|
*/
|
|
542
554
|
export interface Bot {
|
|
543
|
-
id: string;
|
|
544
555
|
name: string;
|
|
545
|
-
|
|
546
|
-
|
|
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;
|
|
547
572
|
integrationType: BotIntegrationType;
|
|
548
573
|
integrationApiKeysCount: number;
|
|
549
574
|
createdAt: string;
|
|
550
|
-
updated?: string;
|
|
575
|
+
updated?: string | undefined;
|
|
551
576
|
}
|
|
552
577
|
/**
|
|
553
578
|
* @public
|
|
554
579
|
*/
|
|
555
580
|
export interface BotApiKey {
|
|
556
581
|
secret: string;
|
|
557
|
-
name?: string;
|
|
582
|
+
name?: string | undefined;
|
|
558
583
|
createdAt: string;
|
|
559
584
|
}
|
|
560
585
|
/**
|
|
@@ -575,6 +600,7 @@ export declare class BotApiKeyNotFoundException extends __BaseException {
|
|
|
575
600
|
export declare const BotLlmEmbeddedToolType: {
|
|
576
601
|
readonly DELEGATE: "DELEGATE";
|
|
577
602
|
readonly HANDOVER: "HANDOVER";
|
|
603
|
+
readonly SUGGESTIONS: "SUGGESTIONS";
|
|
578
604
|
};
|
|
579
605
|
/**
|
|
580
606
|
* @public
|
|
@@ -590,7 +616,7 @@ export interface BotLlmEmbeddedTool {
|
|
|
590
616
|
* The parameters the functions accepts.
|
|
591
617
|
* @public
|
|
592
618
|
*/
|
|
593
|
-
parameters?: __DocumentType;
|
|
619
|
+
parameters?: __DocumentType | undefined;
|
|
594
620
|
}
|
|
595
621
|
/**
|
|
596
622
|
* @public
|
|
@@ -612,7 +638,7 @@ export interface BotLlmFunctionIntegrationWebhookAuthorizationOAuth {
|
|
|
612
638
|
clientId: string;
|
|
613
639
|
clientSecret: string;
|
|
614
640
|
endpointUrl: string;
|
|
615
|
-
scope?: string;
|
|
641
|
+
scope?: string | undefined;
|
|
616
642
|
}
|
|
617
643
|
/**
|
|
618
644
|
* @public
|
|
@@ -684,11 +710,11 @@ export type BotLlmFunctionIntegrationMethod = typeof BotLlmFunctionIntegrationMe
|
|
|
684
710
|
*/
|
|
685
711
|
export interface BotLlmFunctionIntegrationWebhook {
|
|
686
712
|
url: string;
|
|
687
|
-
method?: BotLlmFunctionIntegrationMethod;
|
|
688
|
-
async?: boolean;
|
|
689
|
-
authorization?: BotLlmFunctionIntegrationWebhookAuthorization;
|
|
690
|
-
headers?: (BotLlmFunctionIntegrationWebhookHeader)[];
|
|
691
|
-
parameters?: __DocumentType;
|
|
713
|
+
method?: BotLlmFunctionIntegrationMethod | undefined;
|
|
714
|
+
async?: boolean | undefined;
|
|
715
|
+
authorization?: BotLlmFunctionIntegrationWebhookAuthorization | undefined;
|
|
716
|
+
headers?: (BotLlmFunctionIntegrationWebhookHeader)[] | undefined;
|
|
717
|
+
parameters?: __DocumentType | undefined;
|
|
692
718
|
}
|
|
693
719
|
/**
|
|
694
720
|
* @public
|
|
@@ -728,13 +754,13 @@ export interface BotLlmFunctionDefinition {
|
|
|
728
754
|
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
729
755
|
* @public
|
|
730
756
|
*/
|
|
731
|
-
description?: string;
|
|
757
|
+
description?: string | undefined;
|
|
732
758
|
/**
|
|
733
759
|
* The parameters the functions accepts, described as a JSON Schema object.
|
|
734
760
|
* @public
|
|
735
761
|
*/
|
|
736
|
-
parameters?: __DocumentType;
|
|
737
|
-
integration?: BotLlmFunctionIntegration;
|
|
762
|
+
parameters?: __DocumentType | undefined;
|
|
763
|
+
integration?: BotLlmFunctionIntegration | undefined;
|
|
738
764
|
}
|
|
739
765
|
/**
|
|
740
766
|
* @public
|
|
@@ -752,7 +778,7 @@ export type BotLlmToolType = typeof BotLlmToolType[keyof typeof BotLlmToolType];
|
|
|
752
778
|
*/
|
|
753
779
|
export interface BotLlmTool {
|
|
754
780
|
type: BotLlmToolType;
|
|
755
|
-
function?: BotLlmFunctionDefinition;
|
|
781
|
+
function?: BotLlmFunctionDefinition | undefined;
|
|
756
782
|
}
|
|
757
783
|
/**
|
|
758
784
|
* @public
|
|
@@ -763,12 +789,12 @@ export interface BotLlmEndpoint {
|
|
|
763
789
|
* Embedded functions to use within chat session.
|
|
764
790
|
* @public
|
|
765
791
|
*/
|
|
766
|
-
embeddedTools?: (BotLlmEmbeddedTool)[];
|
|
792
|
+
embeddedTools?: (BotLlmEmbeddedTool)[] | undefined;
|
|
767
793
|
/**
|
|
768
794
|
* Custom tools to be used within chat session.
|
|
769
795
|
* @public
|
|
770
796
|
*/
|
|
771
|
-
tools?: (BotLlmTool)[];
|
|
797
|
+
tools?: (BotLlmTool)[] | undefined;
|
|
772
798
|
}
|
|
773
799
|
/**
|
|
774
800
|
* @public
|
|
@@ -843,7 +869,7 @@ export declare namespace BotEndpoint {
|
|
|
843
869
|
* @public
|
|
844
870
|
*/
|
|
845
871
|
export interface BotCallback {
|
|
846
|
-
endpoint?: BotEndpoint;
|
|
872
|
+
endpoint?: BotEndpoint | undefined;
|
|
847
873
|
}
|
|
848
874
|
/**
|
|
849
875
|
* @public
|
|
@@ -876,12 +902,12 @@ export interface NewEmailData {
|
|
|
876
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
|
|
877
903
|
* @public
|
|
878
904
|
*/
|
|
879
|
-
companyId?: string;
|
|
905
|
+
companyId?: string | undefined;
|
|
880
906
|
/**
|
|
881
907
|
* Target PBX domain name for cases with few PBXes in one WMS-network
|
|
882
908
|
* @public
|
|
883
909
|
*/
|
|
884
|
-
pbxDomain?: string;
|
|
910
|
+
pbxDomain?: string | undefined;
|
|
885
911
|
}
|
|
886
912
|
/**
|
|
887
913
|
* @public
|
|
@@ -892,7 +918,7 @@ export interface OldEmailData {
|
|
|
892
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
|
|
893
919
|
* @public
|
|
894
920
|
*/
|
|
895
|
-
companyId?: string;
|
|
921
|
+
companyId?: string | undefined;
|
|
896
922
|
}
|
|
897
923
|
/**
|
|
898
924
|
* @public
|
|
@@ -933,18 +959,23 @@ export declare class UserNotFoundException extends __BaseException {
|
|
|
933
959
|
* @public
|
|
934
960
|
*/
|
|
935
961
|
export interface CreateBotInput {
|
|
936
|
-
company?: string;
|
|
937
962
|
name: string;
|
|
938
963
|
/**
|
|
939
964
|
* A link to the bot picture.
|
|
940
965
|
* @public
|
|
941
966
|
*/
|
|
942
|
-
picture?: string;
|
|
967
|
+
picture?: string | undefined;
|
|
968
|
+
/**
|
|
969
|
+
* Indicates whether the bot can be discovered by colleagues in the application.
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
searchable?: boolean | undefined;
|
|
943
973
|
/**
|
|
944
|
-
*
|
|
974
|
+
* Defines who is allowed to use the bot. Default is EVERYBODY.
|
|
945
975
|
* @public
|
|
946
976
|
*/
|
|
947
|
-
|
|
977
|
+
access?: BotAccess | undefined;
|
|
978
|
+
company?: string | undefined;
|
|
948
979
|
callback: BotCallback;
|
|
949
980
|
}
|
|
950
981
|
/**
|
|
@@ -957,9 +988,9 @@ export interface CreateBotOutput {
|
|
|
957
988
|
* @public
|
|
958
989
|
*/
|
|
959
990
|
export interface CreateBotApiKeyInput {
|
|
960
|
-
company?: string;
|
|
991
|
+
company?: string | undefined;
|
|
961
992
|
botId: string;
|
|
962
|
-
name?: string;
|
|
993
|
+
name?: string | undefined;
|
|
963
994
|
}
|
|
964
995
|
/**
|
|
965
996
|
* @public
|
|
@@ -976,13 +1007,13 @@ export interface CreateSystemBotInput {
|
|
|
976
1007
|
* The unique identifier of the tenant when a service token is used.
|
|
977
1008
|
* @public
|
|
978
1009
|
*/
|
|
979
|
-
company?: string;
|
|
1010
|
+
company?: string | undefined;
|
|
980
1011
|
name: string;
|
|
981
1012
|
/**
|
|
982
1013
|
* A URL pointing to the bot's avatar.
|
|
983
1014
|
* @public
|
|
984
1015
|
*/
|
|
985
|
-
picture?: string;
|
|
1016
|
+
picture?: string | undefined;
|
|
986
1017
|
}
|
|
987
1018
|
/**
|
|
988
1019
|
* @public
|
|
@@ -994,7 +1025,7 @@ export interface CreateSystemBotOutput {
|
|
|
994
1025
|
* @public
|
|
995
1026
|
*/
|
|
996
1027
|
export interface DeleteBotInput {
|
|
997
|
-
company?: string;
|
|
1028
|
+
company?: string | undefined;
|
|
998
1029
|
botId: string;
|
|
999
1030
|
}
|
|
1000
1031
|
/**
|
|
@@ -1006,7 +1037,7 @@ export interface DeleteBotOutput {
|
|
|
1006
1037
|
* @public
|
|
1007
1038
|
*/
|
|
1008
1039
|
export interface DeleteBotApiKeyInput {
|
|
1009
|
-
company?: string;
|
|
1040
|
+
company?: string | undefined;
|
|
1010
1041
|
botId: string;
|
|
1011
1042
|
apiKeySecret: string;
|
|
1012
1043
|
}
|
|
@@ -1021,14 +1052,14 @@ export interface DeleteBotApiKeyOutput {
|
|
|
1021
1052
|
export interface DirectoryItem {
|
|
1022
1053
|
extension: string;
|
|
1023
1054
|
name: string;
|
|
1024
|
-
department?: string;
|
|
1025
|
-
group?: string;
|
|
1055
|
+
department?: string | undefined;
|
|
1056
|
+
group?: string | undefined;
|
|
1026
1057
|
}
|
|
1027
1058
|
/**
|
|
1028
1059
|
* @public
|
|
1029
1060
|
*/
|
|
1030
1061
|
export interface GetBotInput {
|
|
1031
|
-
company?: string;
|
|
1062
|
+
company?: string | undefined;
|
|
1032
1063
|
botId: string;
|
|
1033
1064
|
}
|
|
1034
1065
|
/**
|
|
@@ -1041,7 +1072,7 @@ export interface GetBotOutput {
|
|
|
1041
1072
|
* @public
|
|
1042
1073
|
*/
|
|
1043
1074
|
export interface GetBotCallbackInput {
|
|
1044
|
-
company?: string;
|
|
1075
|
+
company?: string | undefined;
|
|
1045
1076
|
botId: string;
|
|
1046
1077
|
}
|
|
1047
1078
|
/**
|
|
@@ -1106,7 +1137,7 @@ export interface GetUserPbxLinkSuggestionInput {
|
|
|
1106
1137
|
* An email address of the user when a service token is used. If not provided, the email will be taken from the token.
|
|
1107
1138
|
* @public
|
|
1108
1139
|
*/
|
|
1109
|
-
email?: string;
|
|
1140
|
+
email?: string | undefined;
|
|
1110
1141
|
}
|
|
1111
1142
|
/**
|
|
1112
1143
|
* @public
|
|
@@ -1131,7 +1162,7 @@ export interface GetUserPbxLinkSuggestionOutput {
|
|
|
1131
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.
|
|
1132
1163
|
* @public
|
|
1133
1164
|
*/
|
|
1134
|
-
suggestion?: UserPbxLinkSuggestion;
|
|
1165
|
+
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1135
1166
|
}
|
|
1136
1167
|
/**
|
|
1137
1168
|
* @public
|
|
@@ -1141,7 +1172,7 @@ export interface GetUserPbxLinkSuggestionV1Input {
|
|
|
1141
1172
|
* An email address of the user when a service token is used. If not provided, the email will be taken from the token.
|
|
1142
1173
|
* @public
|
|
1143
1174
|
*/
|
|
1144
|
-
email?: string;
|
|
1175
|
+
email?: string | undefined;
|
|
1145
1176
|
}
|
|
1146
1177
|
/**
|
|
1147
1178
|
* @public
|
|
@@ -1151,7 +1182,7 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1151
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.
|
|
1152
1183
|
* @public
|
|
1153
1184
|
*/
|
|
1154
|
-
suggestion?: UserPbxLinkSuggestion;
|
|
1185
|
+
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1155
1186
|
}
|
|
1156
1187
|
/**
|
|
1157
1188
|
* @public
|
|
@@ -1161,13 +1192,13 @@ export interface IntelligenceSearchInput {
|
|
|
1161
1192
|
* The unique identifier of the tenant when a service token is used. Only for s2s auth
|
|
1162
1193
|
* @public
|
|
1163
1194
|
*/
|
|
1164
|
-
company?: string;
|
|
1195
|
+
company?: string | undefined;
|
|
1165
1196
|
search: string;
|
|
1166
1197
|
/**
|
|
1167
1198
|
* Optional extension to exclude from search results. Used to prevent returning the caller's own record when searching.
|
|
1168
1199
|
* @public
|
|
1169
1200
|
*/
|
|
1170
|
-
excludeExtension?: string;
|
|
1201
|
+
excludeExtension?: string | undefined;
|
|
1171
1202
|
}
|
|
1172
1203
|
/**
|
|
1173
1204
|
* @public
|
|
@@ -1179,7 +1210,7 @@ export interface IntelligenceSearchOutput {
|
|
|
1179
1210
|
* @public
|
|
1180
1211
|
*/
|
|
1181
1212
|
export interface ListBotApiKeysInput {
|
|
1182
|
-
company?: string;
|
|
1213
|
+
company?: string | undefined;
|
|
1183
1214
|
botId: string;
|
|
1184
1215
|
}
|
|
1185
1216
|
/**
|
|
@@ -1192,7 +1223,7 @@ export interface ListBotApiKeysOutput {
|
|
|
1192
1223
|
* @public
|
|
1193
1224
|
*/
|
|
1194
1225
|
export interface ListBotsInput {
|
|
1195
|
-
company?: string;
|
|
1226
|
+
company?: string | undefined;
|
|
1196
1227
|
}
|
|
1197
1228
|
/**
|
|
1198
1229
|
* @public
|
|
@@ -1208,12 +1239,12 @@ export interface PartialUpdateUserEmailNotificationsSettingsInput {
|
|
|
1208
1239
|
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1209
1240
|
* @public
|
|
1210
1241
|
*/
|
|
1211
|
-
unread?: boolean;
|
|
1242
|
+
unread?: boolean | undefined;
|
|
1212
1243
|
/**
|
|
1213
1244
|
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1214
1245
|
* @public
|
|
1215
1246
|
*/
|
|
1216
|
-
transcription?: boolean;
|
|
1247
|
+
transcription?: boolean | undefined;
|
|
1217
1248
|
/**
|
|
1218
1249
|
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
1219
1250
|
* @public
|
|
@@ -1230,20 +1261,20 @@ export interface PartialUpdateUserEmailNotificationsSettingsOutput {
|
|
|
1230
1261
|
* @public
|
|
1231
1262
|
*/
|
|
1232
1263
|
export interface QueryColleaguesParameters {
|
|
1233
|
-
id?: (string)[];
|
|
1234
|
-
extension?: (string)[];
|
|
1235
|
-
officePhone?: (string)[];
|
|
1236
|
-
mobilePhone?: (string)[];
|
|
1237
|
-
name?: (string)[];
|
|
1238
|
-
email?: (string)[];
|
|
1239
|
-
department?: (string)[];
|
|
1240
|
-
search?: string;
|
|
1241
|
-
searchFields?: (PbxColleaguesQueryField)[];
|
|
1242
|
-
searchStrategy?: PbxColleaguesSearchStrategy;
|
|
1243
|
-
sort?: (PbxColleaguesQueryField)[];
|
|
1244
|
-
start?: number;
|
|
1245
|
-
count?: number;
|
|
1246
|
-
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;
|
|
1247
1278
|
}
|
|
1248
1279
|
/**
|
|
1249
1280
|
* @public
|
|
@@ -1253,8 +1284,8 @@ export interface QueryColleaguesInput {
|
|
|
1253
1284
|
* The unique identifier of the tenant when a service token is used.
|
|
1254
1285
|
* @public
|
|
1255
1286
|
*/
|
|
1256
|
-
company?: string;
|
|
1257
|
-
query?: QueryColleaguesParameters;
|
|
1287
|
+
company?: string | undefined;
|
|
1288
|
+
query?: QueryColleaguesParameters | undefined;
|
|
1258
1289
|
}
|
|
1259
1290
|
/**
|
|
1260
1291
|
* @public
|
|
@@ -1264,7 +1295,7 @@ export interface QueryColleaguesOutputItem {
|
|
|
1264
1295
|
* A user object associated on the cloud for this colleague that is registered on the WMS.
|
|
1265
1296
|
* @public
|
|
1266
1297
|
*/
|
|
1267
|
-
user?: User;
|
|
1298
|
+
user?: User | undefined;
|
|
1268
1299
|
/**
|
|
1269
1300
|
* A colleague object returned by the PBX.
|
|
1270
1301
|
* @public
|
|
@@ -1289,7 +1320,7 @@ export interface UserQueryPredicate {
|
|
|
1289
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.
|
|
1290
1321
|
* @public
|
|
1291
1322
|
*/
|
|
1292
|
-
license?: PbxLicenseType;
|
|
1323
|
+
license?: PbxLicenseType | undefined;
|
|
1293
1324
|
}
|
|
1294
1325
|
/**
|
|
1295
1326
|
* @public
|
|
@@ -1355,7 +1386,7 @@ export interface QueryUserInput {
|
|
|
1355
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.
|
|
1356
1387
|
* @public
|
|
1357
1388
|
*/
|
|
1358
|
-
predicate?: UserQueryPredicate;
|
|
1389
|
+
predicate?: UserQueryPredicate | undefined;
|
|
1359
1390
|
}
|
|
1360
1391
|
/**
|
|
1361
1392
|
* @public
|
|
@@ -1379,7 +1410,7 @@ export declare class UserQueryPredicateNotMetException extends __BaseException {
|
|
|
1379
1410
|
*/
|
|
1380
1411
|
export interface QueryUsersInput {
|
|
1381
1412
|
queries: (UserQuery)[];
|
|
1382
|
-
predicate?: UserQueryPredicate;
|
|
1413
|
+
predicate?: UserQueryPredicate | undefined;
|
|
1383
1414
|
}
|
|
1384
1415
|
/**
|
|
1385
1416
|
* @public
|
|
@@ -1427,11 +1458,24 @@ export interface ToggleUnreadEmailNotificationsSubscriptionOutput {
|
|
|
1427
1458
|
* @public
|
|
1428
1459
|
*/
|
|
1429
1460
|
export interface UpdateBotInput {
|
|
1430
|
-
company?: string;
|
|
1431
|
-
botId: string;
|
|
1432
1461
|
name: string;
|
|
1433
|
-
|
|
1434
|
-
|
|
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;
|
|
1435
1479
|
}
|
|
1436
1480
|
/**
|
|
1437
1481
|
* @public
|
|
@@ -1443,7 +1487,7 @@ export interface UpdateBotOutput {
|
|
|
1443
1487
|
* @public
|
|
1444
1488
|
*/
|
|
1445
1489
|
export interface UpdateBotCallbackInput {
|
|
1446
|
-
company?: string;
|
|
1490
|
+
company?: string | undefined;
|
|
1447
1491
|
botId: string;
|
|
1448
1492
|
callback: BotCallback;
|
|
1449
1493
|
}
|
|
@@ -1461,12 +1505,12 @@ export interface UpdateUserEmailNotificationsSettingsInput {
|
|
|
1461
1505
|
* A flag that indicates whether the system should send email notifications about unread messages.
|
|
1462
1506
|
* @public
|
|
1463
1507
|
*/
|
|
1464
|
-
unread?: boolean;
|
|
1508
|
+
unread?: boolean | undefined;
|
|
1465
1509
|
/**
|
|
1466
1510
|
* A flag that indicates whether the system should send email notifications about AI transcription.
|
|
1467
1511
|
* @public
|
|
1468
1512
|
*/
|
|
1469
|
-
transcription?: boolean;
|
|
1513
|
+
transcription?: boolean | undefined;
|
|
1470
1514
|
/**
|
|
1471
1515
|
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
1472
1516
|
* @public
|
|
@@ -1531,7 +1575,7 @@ export interface VerifyBotSecretKeyOutput {
|
|
|
1531
1575
|
* @public
|
|
1532
1576
|
*/
|
|
1533
1577
|
id: string;
|
|
1534
|
-
name?: string;
|
|
1578
|
+
name?: string | undefined;
|
|
1535
1579
|
}
|
|
1536
1580
|
/**
|
|
1537
1581
|
* @public
|
|
@@ -1553,5 +1597,5 @@ export interface VerifyBotSecretKeyV1Output {
|
|
|
1553
1597
|
* @public
|
|
1554
1598
|
*/
|
|
1555
1599
|
id: string;
|
|
1556
|
-
name?: string;
|
|
1600
|
+
name?: string | undefined;
|
|
1557
1601
|
}
|