@sermas/api-client 1.0.0-alpha.69 → 1.0.0-alpha.71
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +139 -123
- package/index.d.ts +139 -123
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -607,6 +607,7 @@ type DialogueTaskDto = {
|
|
|
607
607
|
*/
|
|
608
608
|
options?: TaskOptionsDto;
|
|
609
609
|
};
|
|
610
|
+
type RagDocumentsDto = {};
|
|
610
611
|
type PlatformAppDto = {
|
|
611
612
|
appId: string;
|
|
612
613
|
public?: boolean;
|
|
@@ -630,6 +631,10 @@ type PlatformAppDto = {
|
|
|
630
631
|
* Structured tasks offered by the application
|
|
631
632
|
*/
|
|
632
633
|
tasks?: Array<DialogueTaskDto>;
|
|
634
|
+
/**
|
|
635
|
+
* List of RAG documents or urls to import
|
|
636
|
+
*/
|
|
637
|
+
rag?: RagDocumentsDto;
|
|
633
638
|
};
|
|
634
639
|
type CreatePlatformAppDto = {
|
|
635
640
|
public?: boolean;
|
|
@@ -651,22 +656,39 @@ type CreatePlatformAppDto = {
|
|
|
651
656
|
* Structured tasks offered by the application
|
|
652
657
|
*/
|
|
653
658
|
tasks?: Array<DialogueTaskDto>;
|
|
659
|
+
/**
|
|
660
|
+
* List of RAG documents or urls to import
|
|
661
|
+
*/
|
|
662
|
+
rag?: RagDocumentsDto;
|
|
654
663
|
};
|
|
655
664
|
type PlatformAppExportFilterDto = {
|
|
656
665
|
name?: string;
|
|
657
666
|
appId?: Array<string>;
|
|
658
667
|
};
|
|
659
|
-
type
|
|
660
|
-
|
|
668
|
+
type DialogueDocumentMetadataDto = {
|
|
669
|
+
uri?: string;
|
|
670
|
+
source?: string;
|
|
671
|
+
};
|
|
672
|
+
type DialogueDocumentOptionsDto = {
|
|
661
673
|
/**
|
|
662
|
-
*
|
|
674
|
+
* Define the document splitting strategy. "phrase" split by sentence, "single-line" use each line as document, "double-line" use double break-line as document
|
|
663
675
|
*/
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
676
|
+
parser?: Record<string, unknown>;
|
|
677
|
+
};
|
|
678
|
+
type DialogueDocumentDto = {
|
|
679
|
+
appId: string;
|
|
680
|
+
documentId: string;
|
|
681
|
+
content: string;
|
|
682
|
+
metadata: DialogueDocumentMetadataDto;
|
|
683
|
+
/**
|
|
684
|
+
* Configure the document import handling, such as parser
|
|
685
|
+
*/
|
|
686
|
+
options: DialogueDocumentOptionsDto;
|
|
687
|
+
};
|
|
688
|
+
type RagWebsiteDto = {
|
|
689
|
+
appId: string;
|
|
690
|
+
url: string;
|
|
691
|
+
filterPaths: Array<string>;
|
|
670
692
|
};
|
|
671
693
|
type KeycloakJwtTokenResourceAccess = {};
|
|
672
694
|
type AuthJwtUser = {
|
|
@@ -769,6 +791,18 @@ type UpdateUserRequestDto = {
|
|
|
769
791
|
enabled?: boolean;
|
|
770
792
|
authorization?: Array<AuthorizationUser>;
|
|
771
793
|
};
|
|
794
|
+
type PlatformModuleConfigDto = {
|
|
795
|
+
moduleId: string;
|
|
796
|
+
/**
|
|
797
|
+
* Status of the module. `enabled` by default. can be `disabled`. Set to `failure` if loading generates errors.
|
|
798
|
+
*/
|
|
799
|
+
status?: string;
|
|
800
|
+
name?: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
supports: Array<string>;
|
|
803
|
+
config: ModuleSettingsDto;
|
|
804
|
+
secret?: string;
|
|
805
|
+
};
|
|
772
806
|
type ObjectDetectionType = 'CARRIED_OBJECT';
|
|
773
807
|
declare const ObjectDetectionTypeEnum: {
|
|
774
808
|
readonly CARRIED_OBJECT: "CARRIED_OBJECT";
|
|
@@ -834,31 +868,6 @@ declare const InteractionTypeEnum: {
|
|
|
834
868
|
readonly START: "start";
|
|
835
869
|
readonly STOP: "stop";
|
|
836
870
|
};
|
|
837
|
-
type DialogueDocumentMetadataDto = {
|
|
838
|
-
uri?: string;
|
|
839
|
-
source?: string;
|
|
840
|
-
};
|
|
841
|
-
type DialogueDocumentOptionsDto = {
|
|
842
|
-
/**
|
|
843
|
-
* Define the document splitting strategy. "phrase" split by sentence, "single-line" use each line as document, "double-line" use double break-line as document
|
|
844
|
-
*/
|
|
845
|
-
parser?: Record<string, unknown>;
|
|
846
|
-
};
|
|
847
|
-
type DialogueDocumentDto = {
|
|
848
|
-
appId: string;
|
|
849
|
-
documentId: string;
|
|
850
|
-
content: string;
|
|
851
|
-
metadata: DialogueDocumentMetadataDto;
|
|
852
|
-
/**
|
|
853
|
-
* Configure the document import handling, such as parser
|
|
854
|
-
*/
|
|
855
|
-
options: DialogueDocumentOptionsDto;
|
|
856
|
-
};
|
|
857
|
-
type DialogueUrlDto = {
|
|
858
|
-
appId: string;
|
|
859
|
-
url: string;
|
|
860
|
-
filterPaths: Array<string>;
|
|
861
|
-
};
|
|
862
871
|
/**
|
|
863
872
|
* Actor providing the text, can be user or agent
|
|
864
873
|
*/
|
|
@@ -1111,6 +1120,30 @@ type SessionSupportResponseDto = {
|
|
|
1111
1120
|
ts?: string;
|
|
1112
1121
|
supportId: string;
|
|
1113
1122
|
};
|
|
1123
|
+
type SessionStorageRecordDto = {
|
|
1124
|
+
appId: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* Reference to the authenticated client the request originated from
|
|
1127
|
+
*/
|
|
1128
|
+
clientId?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Reference to the user interacting with the system
|
|
1131
|
+
*/
|
|
1132
|
+
userId?: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Reference date
|
|
1135
|
+
*/
|
|
1136
|
+
ts?: string;
|
|
1137
|
+
storageId?: string;
|
|
1138
|
+
sessionId?: string;
|
|
1139
|
+
data: Record<string, unknown>;
|
|
1140
|
+
};
|
|
1141
|
+
type SessionStorageSearchDto = {
|
|
1142
|
+
appId: string;
|
|
1143
|
+
userId?: Array<string>;
|
|
1144
|
+
sessionId?: Array<string>;
|
|
1145
|
+
storageId?: Array<string>;
|
|
1146
|
+
};
|
|
1114
1147
|
type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
1115
1148
|
declare const AgentStatusEnum: {
|
|
1116
1149
|
readonly UNAVAILABLE: "unavailable";
|
|
@@ -1142,6 +1175,7 @@ type AgentHeartBeatEventDto = {
|
|
|
1142
1175
|
sessionId?: string;
|
|
1143
1176
|
moduleId: string;
|
|
1144
1177
|
status: AgentStatus;
|
|
1178
|
+
settings?: AppSettingsDto;
|
|
1145
1179
|
};
|
|
1146
1180
|
type AgentEvaluatePromptOptionsDto = {
|
|
1147
1181
|
/**
|
|
@@ -1226,30 +1260,6 @@ type AgentEvaluatePromptResponseDto = {
|
|
|
1226
1260
|
result: Record<string, unknown>;
|
|
1227
1261
|
format: AgentEvaluatePromptFormat;
|
|
1228
1262
|
};
|
|
1229
|
-
type SessionStorageRecordDto = {
|
|
1230
|
-
appId: string;
|
|
1231
|
-
/**
|
|
1232
|
-
* Reference to the authenticated client the request originated from
|
|
1233
|
-
*/
|
|
1234
|
-
clientId?: string;
|
|
1235
|
-
/**
|
|
1236
|
-
* Reference to the user interacting with the system
|
|
1237
|
-
*/
|
|
1238
|
-
userId?: string;
|
|
1239
|
-
/**
|
|
1240
|
-
* Reference date
|
|
1241
|
-
*/
|
|
1242
|
-
ts?: string;
|
|
1243
|
-
storageId?: string;
|
|
1244
|
-
sessionId?: string;
|
|
1245
|
-
data: Record<string, unknown>;
|
|
1246
|
-
};
|
|
1247
|
-
type SessionStorageSearchDto = {
|
|
1248
|
-
appId: string;
|
|
1249
|
-
userId?: Array<string>;
|
|
1250
|
-
sessionId?: Array<string>;
|
|
1251
|
-
storageId?: Array<string>;
|
|
1252
|
-
};
|
|
1253
1263
|
type UIContentMetadataDto = {
|
|
1254
1264
|
/**
|
|
1255
1265
|
* Reference to a tool repository ID
|
|
@@ -1269,6 +1279,10 @@ type UIContentOptionsDto = {
|
|
|
1269
1279
|
* Stop the agent speech
|
|
1270
1280
|
*/
|
|
1271
1281
|
stopSpeech?: boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* Define the language of the content, it will be translated based on the language selected by the user.
|
|
1284
|
+
*/
|
|
1285
|
+
language?: string;
|
|
1272
1286
|
};
|
|
1273
1287
|
type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen';
|
|
1274
1288
|
declare const SupportedContentTypesEnum: {
|
|
@@ -2288,7 +2302,7 @@ type TDataImportWebsite = {
|
|
|
2288
2302
|
/**
|
|
2289
2303
|
* URL
|
|
2290
2304
|
*/
|
|
2291
|
-
requestBody:
|
|
2305
|
+
requestBody: RagWebsiteDto;
|
|
2292
2306
|
};
|
|
2293
2307
|
type TDataRemoveAll = {
|
|
2294
2308
|
appId: string;
|
|
@@ -2522,6 +2536,7 @@ type TDataRemoveApp = {
|
|
|
2522
2536
|
appId: string;
|
|
2523
2537
|
};
|
|
2524
2538
|
type TDataImportApps = {
|
|
2539
|
+
importWebsites: string;
|
|
2525
2540
|
requestBody: Array<PlatformAppDto>;
|
|
2526
2541
|
skipClients: string;
|
|
2527
2542
|
};
|
|
@@ -2870,12 +2885,6 @@ type TDataUpdateSession = {
|
|
|
2870
2885
|
type TDataSupport = {
|
|
2871
2886
|
requestBody: SessionSupportRequestDto;
|
|
2872
2887
|
};
|
|
2873
|
-
type TDataAgentUpdate = {
|
|
2874
|
-
requestBody: AgentHeartBeatEventDto;
|
|
2875
|
-
};
|
|
2876
|
-
type TDataPrompt = {
|
|
2877
|
-
requestBody: AgentEvaluatePromptDto;
|
|
2878
|
-
};
|
|
2879
2888
|
type TDataSetRecord = {
|
|
2880
2889
|
requestBody: SessionStorageRecordDto;
|
|
2881
2890
|
};
|
|
@@ -2888,6 +2897,12 @@ type TDataGetRecord = {
|
|
|
2888
2897
|
type TDataDeleteRecord = {
|
|
2889
2898
|
storageId: string;
|
|
2890
2899
|
};
|
|
2900
|
+
type TDataAgentUpdate = {
|
|
2901
|
+
requestBody: AgentHeartBeatEventDto;
|
|
2902
|
+
};
|
|
2903
|
+
type TDataPrompt = {
|
|
2904
|
+
requestBody: AgentEvaluatePromptDto;
|
|
2905
|
+
};
|
|
2891
2906
|
declare class SessionService {
|
|
2892
2907
|
readonly httpRequest: BaseHttpRequest;
|
|
2893
2908
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -2927,18 +2942,6 @@ declare class SessionService {
|
|
|
2927
2942
|
* @throws ApiError
|
|
2928
2943
|
*/
|
|
2929
2944
|
support(data: TDataSupport): CancelablePromise<SessionSupportResponseDto>;
|
|
2930
|
-
/**
|
|
2931
|
-
* Notifies of an agent update
|
|
2932
|
-
* @returns any
|
|
2933
|
-
* @throws ApiError
|
|
2934
|
-
*/
|
|
2935
|
-
agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
|
|
2936
|
-
/**
|
|
2937
|
-
* Evaluate a prompt within the session context
|
|
2938
|
-
* @returns AgentEvaluatePromptResponseDto
|
|
2939
|
-
* @throws ApiError
|
|
2940
|
-
*/
|
|
2941
|
-
prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
|
|
2942
2945
|
/**
|
|
2943
2946
|
* Store user data
|
|
2944
2947
|
* @returns SessionStorageRecordDto Record stored
|
|
@@ -2963,6 +2966,18 @@ declare class SessionService {
|
|
|
2963
2966
|
* @throws ApiError
|
|
2964
2967
|
*/
|
|
2965
2968
|
deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
|
|
2969
|
+
/**
|
|
2970
|
+
* Notifies of an agent update
|
|
2971
|
+
* @returns any
|
|
2972
|
+
* @throws ApiError
|
|
2973
|
+
*/
|
|
2974
|
+
agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
|
|
2975
|
+
/**
|
|
2976
|
+
* Evaluate a prompt within the session context
|
|
2977
|
+
* @returns AgentEvaluatePromptResponseDto
|
|
2978
|
+
* @throws ApiError
|
|
2979
|
+
*/
|
|
2980
|
+
prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
|
|
2966
2981
|
}
|
|
2967
2982
|
|
|
2968
2983
|
type TDataNotifyInteraction = {
|
|
@@ -3215,11 +3230,6 @@ interface PlatformAppModuleConfigEventDto {
|
|
|
3215
3230
|
sessionId?: string;
|
|
3216
3231
|
record: AppModuleConfigDto;
|
|
3217
3232
|
}
|
|
3218
|
-
interface ModuleConfigEventDto {
|
|
3219
|
-
operation: Record<string, any>;
|
|
3220
|
-
ts: string;
|
|
3221
|
-
record: PlatformModuleConfigDto;
|
|
3222
|
-
}
|
|
3223
3233
|
interface UpdateUserEventDto {
|
|
3224
3234
|
appId: string;
|
|
3225
3235
|
clientId?: string;
|
|
@@ -3227,6 +3237,11 @@ interface UpdateUserEventDto {
|
|
|
3227
3237
|
ts?: string;
|
|
3228
3238
|
enabled: boolean;
|
|
3229
3239
|
}
|
|
3240
|
+
interface ModuleConfigEventDto {
|
|
3241
|
+
operation: Record<string, any>;
|
|
3242
|
+
ts: string;
|
|
3243
|
+
record: PlatformModuleConfigDto;
|
|
3244
|
+
}
|
|
3230
3245
|
interface UserDetectionEventDto {
|
|
3231
3246
|
appId: string;
|
|
3232
3247
|
clientId?: string;
|
|
@@ -3254,7 +3269,7 @@ interface StringInferenceValue {
|
|
|
3254
3269
|
probability: number;
|
|
3255
3270
|
value: string;
|
|
3256
3271
|
}
|
|
3257
|
-
type
|
|
3272
|
+
type anonymous_schema_212 = 'start' | 'stop';
|
|
3258
3273
|
interface UserCharacterizationEventDto {
|
|
3259
3274
|
appId: string;
|
|
3260
3275
|
clientId?: string;
|
|
@@ -3338,10 +3353,10 @@ interface DialogueTaskChangedDto {
|
|
|
3338
3353
|
}
|
|
3339
3354
|
interface DialogueTaskProgressDto {
|
|
3340
3355
|
type: TaskEventType;
|
|
3341
|
-
task:
|
|
3342
|
-
record:
|
|
3356
|
+
task: anonymous_schema_281;
|
|
3357
|
+
record: anonymous_schema_282;
|
|
3343
3358
|
}
|
|
3344
|
-
interface
|
|
3359
|
+
interface anonymous_schema_281 {
|
|
3345
3360
|
taskId: string;
|
|
3346
3361
|
appId: string;
|
|
3347
3362
|
sessionId?: string;
|
|
@@ -3352,7 +3367,7 @@ interface anonymous_schema_280 {
|
|
|
3352
3367
|
fields: TaskFieldDto[];
|
|
3353
3368
|
options?: anonymous_schema_149;
|
|
3354
3369
|
}
|
|
3355
|
-
interface
|
|
3370
|
+
interface anonymous_schema_282 {
|
|
3356
3371
|
recordId: string;
|
|
3357
3372
|
taskId: string;
|
|
3358
3373
|
appId: string;
|
|
@@ -3379,9 +3394,9 @@ interface DialogueTaskRecordHandlerDto {
|
|
|
3379
3394
|
sessionId?: string;
|
|
3380
3395
|
taskId: string;
|
|
3381
3396
|
recordId: string;
|
|
3382
|
-
field:
|
|
3397
|
+
field: anonymous_schema_303;
|
|
3383
3398
|
}
|
|
3384
|
-
interface
|
|
3399
|
+
interface anonymous_schema_303 {
|
|
3385
3400
|
name: string;
|
|
3386
3401
|
label?: string;
|
|
3387
3402
|
order?: number;
|
|
@@ -3419,10 +3434,10 @@ interface DialogueToolsRepositoryRecordDto {
|
|
|
3419
3434
|
ts?: string;
|
|
3420
3435
|
sessionId?: string;
|
|
3421
3436
|
repositoryId?: string;
|
|
3422
|
-
options?:
|
|
3437
|
+
options?: anonymous_schema_322;
|
|
3423
3438
|
tools: any[][];
|
|
3424
3439
|
}
|
|
3425
|
-
interface
|
|
3440
|
+
interface anonymous_schema_322 {
|
|
3426
3441
|
triggerOnce?: boolean;
|
|
3427
3442
|
exclusive?: boolean;
|
|
3428
3443
|
}
|
|
@@ -3445,6 +3460,15 @@ interface SessionSupportEventDto {
|
|
|
3445
3460
|
feedback: string;
|
|
3446
3461
|
code: string;
|
|
3447
3462
|
}
|
|
3463
|
+
interface SessionStorageEventDto {
|
|
3464
|
+
appId: string;
|
|
3465
|
+
clientId?: string;
|
|
3466
|
+
userId?: string;
|
|
3467
|
+
ts?: string;
|
|
3468
|
+
operation: string;
|
|
3469
|
+
sessionId?: string;
|
|
3470
|
+
record: SessionStorageRecordDto;
|
|
3471
|
+
}
|
|
3448
3472
|
interface AgentDto {
|
|
3449
3473
|
appId: string;
|
|
3450
3474
|
clientId?: string;
|
|
@@ -3464,15 +3488,6 @@ interface AgentChangedDto {
|
|
|
3464
3488
|
moduleId: string;
|
|
3465
3489
|
record: AgentDto;
|
|
3466
3490
|
}
|
|
3467
|
-
interface SessionStorageEventDto {
|
|
3468
|
-
appId: string;
|
|
3469
|
-
clientId?: string;
|
|
3470
|
-
userId?: string;
|
|
3471
|
-
ts?: string;
|
|
3472
|
-
operation: string;
|
|
3473
|
-
sessionId?: string;
|
|
3474
|
-
record: SessionStorageRecordDto;
|
|
3475
|
-
}
|
|
3476
3491
|
interface UIAssetChangedDto {
|
|
3477
3492
|
appId: string;
|
|
3478
3493
|
clientId?: string;
|
|
@@ -3482,14 +3497,15 @@ interface UIAssetChangedDto {
|
|
|
3482
3497
|
sessionId?: string;
|
|
3483
3498
|
record: UIAssetDto;
|
|
3484
3499
|
}
|
|
3485
|
-
interface
|
|
3500
|
+
interface anonymous_schema_397 {
|
|
3486
3501
|
repositoryId?: string;
|
|
3487
3502
|
additionalProperties?: Record<string, any>;
|
|
3488
3503
|
}
|
|
3489
|
-
interface
|
|
3504
|
+
interface anonymous_schema_400 {
|
|
3490
3505
|
clearScreen?: boolean;
|
|
3491
3506
|
ttsEnabled?: boolean;
|
|
3492
3507
|
stopSpeech?: boolean;
|
|
3508
|
+
language?: string;
|
|
3493
3509
|
additionalProperties?: Record<string, any>;
|
|
3494
3510
|
}
|
|
3495
3511
|
interface UIInteractionEventDto {
|
|
@@ -3560,17 +3576,6 @@ declare class Platform {
|
|
|
3560
3576
|
}): Promise<() => void>;
|
|
3561
3577
|
}
|
|
3562
3578
|
|
|
3563
|
-
declare class Module {
|
|
3564
|
-
private readonly broker;
|
|
3565
|
-
constructor(broker: Broker);
|
|
3566
|
-
moduleChanged(event: ModuleConfigEventDto, params?: {
|
|
3567
|
-
moduleId?: string;
|
|
3568
|
-
}): Promise<boolean>;
|
|
3569
|
-
onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
|
|
3570
|
-
moduleId?: string;
|
|
3571
|
-
}): Promise<() => void>;
|
|
3572
|
-
}
|
|
3573
|
-
|
|
3574
3579
|
declare class Auth {
|
|
3575
3580
|
private readonly broker;
|
|
3576
3581
|
constructor(broker: Broker);
|
|
@@ -3594,6 +3599,17 @@ declare class Auth {
|
|
|
3594
3599
|
}): Promise<() => void>;
|
|
3595
3600
|
}
|
|
3596
3601
|
|
|
3602
|
+
declare class Module {
|
|
3603
|
+
private readonly broker;
|
|
3604
|
+
constructor(broker: Broker);
|
|
3605
|
+
moduleChanged(event: ModuleConfigEventDto, params?: {
|
|
3606
|
+
moduleId?: string;
|
|
3607
|
+
}): Promise<boolean>;
|
|
3608
|
+
onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
|
|
3609
|
+
moduleId?: string;
|
|
3610
|
+
}): Promise<() => void>;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3597
3613
|
declare class Detection {
|
|
3598
3614
|
private readonly broker;
|
|
3599
3615
|
constructor(broker: Broker);
|
|
@@ -3741,6 +3757,14 @@ declare class Session {
|
|
|
3741
3757
|
onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
|
|
3742
3758
|
appId?: string;
|
|
3743
3759
|
}): Promise<() => void>;
|
|
3760
|
+
storageUpdated(event: SessionStorageEventDto, params?: {
|
|
3761
|
+
appId?: string;
|
|
3762
|
+
storageId?: string;
|
|
3763
|
+
}): Promise<boolean>;
|
|
3764
|
+
onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
|
|
3765
|
+
appId?: string;
|
|
3766
|
+
storageId?: string;
|
|
3767
|
+
}): Promise<() => void>;
|
|
3744
3768
|
agentInteraction(event: AgentDto, params?: {
|
|
3745
3769
|
appId?: string;
|
|
3746
3770
|
}): Promise<boolean>;
|
|
@@ -3755,14 +3779,6 @@ declare class Session {
|
|
|
3755
3779
|
appId?: string;
|
|
3756
3780
|
agentId?: string;
|
|
3757
3781
|
}): Promise<() => void>;
|
|
3758
|
-
storageUpdated(event: SessionStorageEventDto, params?: {
|
|
3759
|
-
appId?: string;
|
|
3760
|
-
storageId?: string;
|
|
3761
|
-
}): Promise<boolean>;
|
|
3762
|
-
onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
|
|
3763
|
-
appId?: string;
|
|
3764
|
-
storageId?: string;
|
|
3765
|
-
}): Promise<() => void>;
|
|
3766
3782
|
}
|
|
3767
3783
|
|
|
3768
3784
|
declare class Ui {
|
|
@@ -3847,8 +3863,8 @@ declare class Robotics {
|
|
|
3847
3863
|
declare class AsyncApiClient {
|
|
3848
3864
|
private readonly broker;
|
|
3849
3865
|
readonly platform: Platform;
|
|
3850
|
-
readonly module: Module;
|
|
3851
3866
|
readonly auth: Auth;
|
|
3867
|
+
readonly module: Module;
|
|
3852
3868
|
readonly detection: Detection;
|
|
3853
3869
|
readonly dialogue: Dialogue;
|
|
3854
3870
|
readonly session: Session;
|
|
@@ -3945,4 +3961,4 @@ declare class SermasApiClient {
|
|
|
3945
3961
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
3946
3962
|
}
|
|
3947
3963
|
|
|
3948
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, type AgentHeartBeatEventDto, type AgentStatus, AgentStatusEnum, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppUserDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonDto, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsRepositoryChanged, type DialogueToolsRepositoryDto, type DialogueToolsRepositoryOptionsDto, type DialogueToolsRepositoryRecordDto, type
|
|
3964
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, type AgentEvaluatePromptDto, type AgentEvaluatePromptFormat, AgentEvaluatePromptFormatEnum, type AgentEvaluatePromptOptionsDto, type AgentEvaluatePromptResponseDto, type AgentHeartBeatEventDto, type AgentStatus, AgentStatusEnum, type AppClientDto, type AppModuleConfigDto, type AppPromptDto, type AppSettingsDto, type AppToolsDTO, type AppUserDto, type AudioClassificationEventDto, type AudioClassificationValue, type AuthJwtUser, type AuthorizationUser, type AvatarCameraConfig, type BoundingBox, Broker, type Buffer$1 as Buffer, type ButtonDto, type ButtonsContentDto, type ButtonsUIContentDto, type ClearScreenDto, type ClearUIContentDto, type CreatePlatformAppDto, type DialogueActor, DialogueActorEnum, type DialogueDocumentDto, type DialogueDocumentMetadataDto, type DialogueDocumentOptionsDto, type DialogueMemoryMessageDto, type DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTaskChangedDto, type DialogueTaskDto, type DialogueTaskProgressDto, type DialogueTaskRecordChangedDto, type DialogueTaskRecordDto, type DialogueTaskRecordHandlerDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsRepositoryChanged, type DialogueToolsRepositoryDto, type DialogueToolsRepositoryOptionsDto, type DialogueToolsRepositoryRecordDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, type InteractionStartTypes, InteractionStartTypesEnum, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LLMProvider, LLMProviderEnum, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, Logger, type LoggerService, type LoginRequestDto, type LoginResponseDto, type ModelGender, ModelGenderEnum, type ModelType, ModelTypeEnum, type ModuleConfigEventDto, type ModuleResourceDto, type ModuleSettingsDto, type MovementDto, type MovementEventDto, type NoiseEventDto, type ObjectContentDto, type ObjectDetectionDto, type ObjectDetectionEventDto, type ObjectDetectionRequest, type ObjectDetectionType, ObjectDetectionTypeEnum, type ObjectUIContentDto, type OptionSelection, type OrientationDto, type PdfContentDto, type PdfUIContentDto, type PlatformAppChangedDto, type PlatformAppClientChangedDto, type PlatformAppDto, type PlatformAppExportFilterDto, type PlatformAppModuleConfigEventDto, type PlatformModuleConfigDto, type PlatformSettingsDto, type PlatformTokenDto, type Point3D, type PoseDto, type PositionDto, type QRCodeEventDto, type QrCodeDto, type QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, type RagDocumentsDto, type RagWebsiteDto, type RefreshTokenRequestDto, type RegistrationRequestDto, type RegistrationResponseDto, type RepositoryAnimationDto, type RepositoryAssetMetadataDto, type RepositoryAssetTypes, RepositoryAssetTypesEnum, type RepositoryAvatarDto, type RepositoryBackgroundDto, type RepositoryBackgroundMetadataDto, type RepositoryConfigDto, type RepositoryDocumentDto, type RepositoryRobotModelDto, type RobotMapDto, type SentimentAnalysisRequest, SermasApiClient, type SermasApiClientConfig, type SermasBaseDto, type SermasEnvType, type SermasSessionDto, type SessionChangedDto, type SessionDto, type SessionProperties, type SessionStorageEventDto, type SessionStorageRecordDto, type SessionStorageSearchDto, type SessionSupportEventDto, type SessionSupportRequestDto, type SessionSupportResponseDto, type StatusDto, type StatusEventDto, type StringInferenceValue, type SupportedContentTypes, SupportedContentTypesEnum, type TaskEventDto, type TaskEventTriggerDto, type TaskEventType, TaskEventTypeEnum, type TaskFieldDto, type TaskIntentDto, type TaskOptionsDto, type TaskSchemaDataType, TaskSchemaDataTypeEnum, type TextContentDto, type TextUIContentDto, type ToolsParameterSchema, type ToolsParameterSchemaTypes, ToolsParameterSchemaTypesEnum, type ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, TypeEnum, type UIAssetChangedDto, type UIAssetDto, type UIContentDto, type UIContentMetadataDto, type UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, type UiInteractionButtonDto, type UpdateUserEventDto, type UpdateUserRequestDto, type UserAgeValue, type UserCharacterizationDto, type UserCharacterizationEventDto, type UserDetectionDto, type UserDetectionEventDto, type UserEmotionValue, type UserInteractionIntentionDto, type VelocityDto, type VideoContentDto, type VideoUIContentDto, type ViewLogsRequestDto, type WebpageContentDto, type WebpageUIContentDto, type XRMarkerChangedDto, type XRMarkerDto, type XRMarkerListRequestDto, type XROcclusionDto, type XROcclusionResponseDto, type anonymous_schema_101, type anonymous_schema_104, type anonymous_schema_149, type anonymous_schema_153, type anonymous_schema_212, type anonymous_schema_281, type anonymous_schema_282, type anonymous_schema_303, type anonymous_schema_322, type anonymous_schema_397, type anonymous_schema_400, type anonymous_schema_99, sleep };
|