@sermas/api-client 1.0.0-alpha.58 → 1.0.0-alpha.61
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 +9 -339
- package/index.d.ts +9 -339
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -427,126 +427,6 @@ type AppToolsDTO = {
|
|
|
427
427
|
*/
|
|
428
428
|
url?: string;
|
|
429
429
|
};
|
|
430
|
-
/**
|
|
431
|
-
* Type of event to trigger
|
|
432
|
-
*/
|
|
433
|
-
type TaskEventType = 'started' | 'completed';
|
|
434
|
-
declare const TaskEventTypeEnum: {
|
|
435
|
-
readonly STARTED: "started";
|
|
436
|
-
readonly COMPLETED: "completed";
|
|
437
|
-
};
|
|
438
|
-
type TaskEventTriggerDto = {
|
|
439
|
-
/**
|
|
440
|
-
* Tool to trigger
|
|
441
|
-
*/
|
|
442
|
-
name?: string;
|
|
443
|
-
/**
|
|
444
|
-
* Tool values passed to the tool handlers
|
|
445
|
-
*/
|
|
446
|
-
values?: Record<string, unknown>;
|
|
447
|
-
};
|
|
448
|
-
type TaskEventDto = {
|
|
449
|
-
type: TaskEventType;
|
|
450
|
-
/**
|
|
451
|
-
* Chat message to send to the user
|
|
452
|
-
*/
|
|
453
|
-
message?: string;
|
|
454
|
-
/**
|
|
455
|
-
* Trigger a tool
|
|
456
|
-
*/
|
|
457
|
-
trigger?: Array<TaskEventTriggerDto>;
|
|
458
|
-
};
|
|
459
|
-
/**
|
|
460
|
-
* Data type
|
|
461
|
-
*/
|
|
462
|
-
type TaskSchemaDataType = 'text' | 'boolean' | 'date' | 'select' | 'eval' | 'external';
|
|
463
|
-
declare const TaskSchemaDataTypeEnum: {
|
|
464
|
-
readonly TEXT: "text";
|
|
465
|
-
readonly BOOLEAN: "boolean";
|
|
466
|
-
readonly DATE: "date";
|
|
467
|
-
readonly SELECT: "select";
|
|
468
|
-
readonly EVAL: "eval";
|
|
469
|
-
readonly EXTERNAL: "external";
|
|
470
|
-
};
|
|
471
|
-
type OptionSelection = {
|
|
472
|
-
/**
|
|
473
|
-
* Selection value
|
|
474
|
-
*/
|
|
475
|
-
value: string;
|
|
476
|
-
/**
|
|
477
|
-
* Selection label (value is used if not provided)
|
|
478
|
-
*/
|
|
479
|
-
label?: string;
|
|
480
|
-
};
|
|
481
|
-
type TaskFieldDto = {
|
|
482
|
-
/**
|
|
483
|
-
* Name of the field
|
|
484
|
-
*/
|
|
485
|
-
name: string;
|
|
486
|
-
/**
|
|
487
|
-
* Label of the field
|
|
488
|
-
*/
|
|
489
|
-
label?: string;
|
|
490
|
-
/**
|
|
491
|
-
* Priority order (lower first)
|
|
492
|
-
*/
|
|
493
|
-
order?: number;
|
|
494
|
-
type: TaskSchemaDataType;
|
|
495
|
-
/**
|
|
496
|
-
* Indicate if the field is required
|
|
497
|
-
*/
|
|
498
|
-
required?: boolean;
|
|
499
|
-
/**
|
|
500
|
-
* A prompt to validate and transform the input
|
|
501
|
-
*/
|
|
502
|
-
validation?: string;
|
|
503
|
-
/**
|
|
504
|
-
* Provde an activation condition based on the stored record list. If omitted, the field is always proposed to the user.
|
|
505
|
-
*/
|
|
506
|
-
condition?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Provde a prompt for type=evaluate based on the available record fields. Placeholders such as {field-name} are replaced with the value of the field.
|
|
509
|
-
*/
|
|
510
|
-
prompt?: string;
|
|
511
|
-
/**
|
|
512
|
-
* Provde an handler for type=external to delegate the field handling to an external service
|
|
513
|
-
*/
|
|
514
|
-
handler?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Allow to select multiple options
|
|
517
|
-
*/
|
|
518
|
-
multiple?: boolean;
|
|
519
|
-
/**
|
|
520
|
-
* List of valid options
|
|
521
|
-
*/
|
|
522
|
-
options?: Array<OptionSelection>;
|
|
523
|
-
};
|
|
524
|
-
type DialogueTaskDto = {
|
|
525
|
-
/**
|
|
526
|
-
* Task ID
|
|
527
|
-
*/
|
|
528
|
-
taskId: string;
|
|
529
|
-
/**
|
|
530
|
-
* Application ID references
|
|
531
|
-
*/
|
|
532
|
-
appId: string;
|
|
533
|
-
/**
|
|
534
|
-
* Task name
|
|
535
|
-
*/
|
|
536
|
-
name: string;
|
|
537
|
-
/**
|
|
538
|
-
* Task description
|
|
539
|
-
*/
|
|
540
|
-
description?: string;
|
|
541
|
-
/**
|
|
542
|
-
* Map task events
|
|
543
|
-
*/
|
|
544
|
-
events?: Array<TaskEventDto>;
|
|
545
|
-
/**
|
|
546
|
-
* Task fields
|
|
547
|
-
*/
|
|
548
|
-
fields: Array<TaskFieldDto>;
|
|
549
|
-
};
|
|
550
430
|
type PlatformAppDto = {
|
|
551
431
|
appId: string;
|
|
552
432
|
public?: boolean;
|
|
@@ -562,14 +442,7 @@ type PlatformAppDto = {
|
|
|
562
442
|
settings?: AppSettingsDto;
|
|
563
443
|
createdAt?: string;
|
|
564
444
|
updatedAt?: string;
|
|
565
|
-
/**
|
|
566
|
-
* Application tools offered by the application
|
|
567
|
-
*/
|
|
568
445
|
tools?: Array<AppToolsDTO>;
|
|
569
|
-
/**
|
|
570
|
-
* Structured tasks offered by the application
|
|
571
|
-
*/
|
|
572
|
-
tasks?: Array<DialogueTaskDto>;
|
|
573
446
|
};
|
|
574
447
|
type CreatePlatformAppDto = {
|
|
575
448
|
public?: boolean;
|
|
@@ -583,14 +456,7 @@ type CreatePlatformAppDto = {
|
|
|
583
456
|
repository: RepositoryConfigDto;
|
|
584
457
|
clients: Array<AppClientDto>;
|
|
585
458
|
settings?: AppSettingsDto;
|
|
586
|
-
/**
|
|
587
|
-
* Application tools offered by the application
|
|
588
|
-
*/
|
|
589
459
|
tools?: Array<AppToolsDTO>;
|
|
590
|
-
/**
|
|
591
|
-
* Structured tasks offered by the application
|
|
592
|
-
*/
|
|
593
|
-
tasks?: Array<DialogueTaskDto>;
|
|
594
460
|
};
|
|
595
461
|
type PlatformAppExportFilterDto = {
|
|
596
462
|
name?: string;
|
|
@@ -915,33 +781,6 @@ type DialogueMessageDto = {
|
|
|
915
781
|
*/
|
|
916
782
|
chunkId?: string;
|
|
917
783
|
};
|
|
918
|
-
type DialogueMemoryMessageDto = {
|
|
919
|
-
content: string;
|
|
920
|
-
role: Record<string, unknown>;
|
|
921
|
-
name: string;
|
|
922
|
-
};
|
|
923
|
-
type DialogueTaskRecordDto = {
|
|
924
|
-
/**
|
|
925
|
-
* Record ID
|
|
926
|
-
*/
|
|
927
|
-
recordId: string;
|
|
928
|
-
/**
|
|
929
|
-
* Task ID
|
|
930
|
-
*/
|
|
931
|
-
taskId: string;
|
|
932
|
-
/**
|
|
933
|
-
* Application ID reference
|
|
934
|
-
*/
|
|
935
|
-
appId: string;
|
|
936
|
-
/**
|
|
937
|
-
* Session ID reference
|
|
938
|
-
*/
|
|
939
|
-
sessionId: string;
|
|
940
|
-
/**
|
|
941
|
-
* Stored values
|
|
942
|
-
*/
|
|
943
|
-
values: Record<string, unknown>;
|
|
944
|
-
};
|
|
945
784
|
type DialogueToolsRepositoryOptionsDto = {
|
|
946
785
|
/**
|
|
947
786
|
* Trigger one of the tools in the list once, then remove the tools.
|
|
@@ -1254,13 +1093,7 @@ type ImageUIContentDto = {
|
|
|
1254
1093
|
sessionId?: string;
|
|
1255
1094
|
contentType: SupportedContentTypes;
|
|
1256
1095
|
content: ImageContentDto;
|
|
1257
|
-
/**
|
|
1258
|
-
* Provides metadata for the content
|
|
1259
|
-
*/
|
|
1260
1096
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1261
|
-
/**
|
|
1262
|
-
* Provides configuration options for the content
|
|
1263
|
-
*/
|
|
1264
1097
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1265
1098
|
/**
|
|
1266
1099
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1300,13 +1133,7 @@ type VideoUIContentDto = {
|
|
|
1300
1133
|
sessionId?: string;
|
|
1301
1134
|
contentType: SupportedContentTypes;
|
|
1302
1135
|
content: VideoContentDto;
|
|
1303
|
-
/**
|
|
1304
|
-
* Provides metadata for the content
|
|
1305
|
-
*/
|
|
1306
1136
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1307
|
-
/**
|
|
1308
|
-
* Provides configuration options for the content
|
|
1309
|
-
*/
|
|
1310
1137
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1311
1138
|
/**
|
|
1312
1139
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1340,13 +1167,7 @@ type PdfUIContentDto = {
|
|
|
1340
1167
|
sessionId?: string;
|
|
1341
1168
|
contentType: SupportedContentTypes;
|
|
1342
1169
|
content: PdfContentDto;
|
|
1343
|
-
/**
|
|
1344
|
-
* Provides metadata for the content
|
|
1345
|
-
*/
|
|
1346
1170
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1347
|
-
/**
|
|
1348
|
-
* Provides configuration options for the content
|
|
1349
|
-
*/
|
|
1350
1171
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1351
1172
|
/**
|
|
1352
1173
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1380,13 +1201,7 @@ type WebpageUIContentDto = {
|
|
|
1380
1201
|
sessionId?: string;
|
|
1381
1202
|
contentType: SupportedContentTypes;
|
|
1382
1203
|
content: WebpageContentDto;
|
|
1383
|
-
/**
|
|
1384
|
-
* Provides metadata for the content
|
|
1385
|
-
*/
|
|
1386
1204
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1387
|
-
/**
|
|
1388
|
-
* Provides configuration options for the content
|
|
1389
|
-
*/
|
|
1390
1205
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1391
1206
|
/**
|
|
1392
1207
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1420,13 +1235,7 @@ type ObjectUIContentDto = {
|
|
|
1420
1235
|
sessionId?: string;
|
|
1421
1236
|
contentType: SupportedContentTypes;
|
|
1422
1237
|
content: ObjectContentDto;
|
|
1423
|
-
/**
|
|
1424
|
-
* Provides metadata for the content
|
|
1425
|
-
*/
|
|
1426
1238
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1427
|
-
/**
|
|
1428
|
-
* Provides configuration options for the content
|
|
1429
|
-
*/
|
|
1430
1239
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1431
1240
|
/**
|
|
1432
1241
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1460,13 +1269,7 @@ type TextUIContentDto = {
|
|
|
1460
1269
|
sessionId?: string;
|
|
1461
1270
|
contentType: SupportedContentTypes;
|
|
1462
1271
|
content: TextContentDto;
|
|
1463
|
-
/**
|
|
1464
|
-
* Provides metadata for the content
|
|
1465
|
-
*/
|
|
1466
1272
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1467
|
-
/**
|
|
1468
|
-
* Provides configuration options for the content
|
|
1469
|
-
*/
|
|
1470
1273
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1471
1274
|
/**
|
|
1472
1275
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1506,13 +1309,7 @@ type QuizUIContentDto = {
|
|
|
1506
1309
|
sessionId?: string;
|
|
1507
1310
|
contentType: SupportedContentTypes;
|
|
1508
1311
|
content: QuizContentDto;
|
|
1509
|
-
/**
|
|
1510
|
-
* Provides metadata for the content
|
|
1511
|
-
*/
|
|
1512
1312
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1513
|
-
/**
|
|
1514
|
-
* Provides configuration options for the content
|
|
1515
|
-
*/
|
|
1516
1313
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1517
1314
|
/**
|
|
1518
1315
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1543,13 +1340,7 @@ type ClearUIContentDto = {
|
|
|
1543
1340
|
sessionId?: string;
|
|
1544
1341
|
contentType: SupportedContentTypes;
|
|
1545
1342
|
content: Record<string, unknown>;
|
|
1546
|
-
/**
|
|
1547
|
-
* Provides metadata for the content
|
|
1548
|
-
*/
|
|
1549
1343
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1550
|
-
/**
|
|
1551
|
-
* Provides configuration options for the content
|
|
1552
|
-
*/
|
|
1553
1344
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1554
1345
|
/**
|
|
1555
1346
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1580,13 +1371,7 @@ type ClearScreenDto = {
|
|
|
1580
1371
|
sessionId?: string;
|
|
1581
1372
|
contentType: SupportedContentTypes;
|
|
1582
1373
|
content: Record<string, unknown>;
|
|
1583
|
-
/**
|
|
1584
|
-
* Provides metadata for the content
|
|
1585
|
-
*/
|
|
1586
1374
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1587
|
-
/**
|
|
1588
|
-
* Provides configuration options for the content
|
|
1589
|
-
*/
|
|
1590
1375
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1591
1376
|
/**
|
|
1592
1377
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1628,13 +1413,7 @@ type ButtonsUIContentDto = {
|
|
|
1628
1413
|
sessionId?: string;
|
|
1629
1414
|
contentType: SupportedContentTypes;
|
|
1630
1415
|
content: ButtonsContentDto;
|
|
1631
|
-
/**
|
|
1632
|
-
* Provides metadata for the content
|
|
1633
|
-
*/
|
|
1634
1416
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1635
|
-
/**
|
|
1636
|
-
* Provides configuration options for the content
|
|
1637
|
-
*/
|
|
1638
1417
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1639
1418
|
/**
|
|
1640
1419
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1665,13 +1444,7 @@ type DialogueMessageUIContentDto = {
|
|
|
1665
1444
|
sessionId?: string;
|
|
1666
1445
|
contentType: SupportedContentTypes;
|
|
1667
1446
|
content: DialogueMessageDto;
|
|
1668
|
-
/**
|
|
1669
|
-
* Provides metadata for the content
|
|
1670
|
-
*/
|
|
1671
1447
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1672
|
-
/**
|
|
1673
|
-
* Provides configuration options for the content
|
|
1674
|
-
*/
|
|
1675
1448
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1676
1449
|
/**
|
|
1677
1450
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1706,13 +1479,7 @@ type LinkUIContentDto = {
|
|
|
1706
1479
|
sessionId?: string;
|
|
1707
1480
|
contentType: SupportedContentTypes;
|
|
1708
1481
|
content: LinkContentDto;
|
|
1709
|
-
/**
|
|
1710
|
-
* Provides metadata for the content
|
|
1711
|
-
*/
|
|
1712
1482
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1713
|
-
/**
|
|
1714
|
-
* Provides configuration options for the content
|
|
1715
|
-
*/
|
|
1716
1483
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1717
1484
|
/**
|
|
1718
1485
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1746,13 +1513,7 @@ type HtmlUIContentDto = {
|
|
|
1746
1513
|
sessionId?: string;
|
|
1747
1514
|
contentType: SupportedContentTypes;
|
|
1748
1515
|
content: HtmlContentDto;
|
|
1749
|
-
/**
|
|
1750
|
-
* Provides metadata for the content
|
|
1751
|
-
*/
|
|
1752
1516
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1753
|
-
/**
|
|
1754
|
-
* Provides configuration options for the content
|
|
1755
|
-
*/
|
|
1756
1517
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1757
1518
|
/**
|
|
1758
1519
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1787,13 +1548,7 @@ type EmailUIContentDto = {
|
|
|
1787
1548
|
sessionId?: string;
|
|
1788
1549
|
contentType: SupportedContentTypes;
|
|
1789
1550
|
content: EmailContentDto;
|
|
1790
|
-
/**
|
|
1791
|
-
* Provides metadata for the content
|
|
1792
|
-
*/
|
|
1793
1551
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1794
|
-
/**
|
|
1795
|
-
* Provides configuration options for the content
|
|
1796
|
-
*/
|
|
1797
1552
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1798
1553
|
/**
|
|
1799
1554
|
* Unique sortable ID used to group and sort messages
|
|
@@ -1834,13 +1589,7 @@ type UIContentDto = {
|
|
|
1834
1589
|
sessionId?: string;
|
|
1835
1590
|
contentType: SupportedContentTypes;
|
|
1836
1591
|
content: Record<string, unknown>;
|
|
1837
|
-
/**
|
|
1838
|
-
* Provides metadata for the content
|
|
1839
|
-
*/
|
|
1840
1592
|
metadata?: UIContentMetadataDto & Record<string, unknown>;
|
|
1841
|
-
/**
|
|
1842
|
-
* Provides configuration options for the content
|
|
1843
|
-
*/
|
|
1844
1593
|
options?: UIContentOptionsDto & Record<string, unknown>;
|
|
1845
1594
|
/**
|
|
1846
1595
|
* Unique sortable ID used to group and sort messages
|
|
@@ -2305,12 +2054,6 @@ type TDataStopAgentSpeech = {
|
|
|
2305
2054
|
appId: string;
|
|
2306
2055
|
sessionId: string;
|
|
2307
2056
|
};
|
|
2308
|
-
type TDataGetChatHistory = {
|
|
2309
|
-
sessionId: string;
|
|
2310
|
-
};
|
|
2311
|
-
type TDataNextStep = {
|
|
2312
|
-
requestBody: DialogueTaskRecordDto;
|
|
2313
|
-
};
|
|
2314
2057
|
type TDataSetTools = {
|
|
2315
2058
|
repositoryId: string;
|
|
2316
2059
|
requestBody: DialogueToolsRepositoryDto;
|
|
@@ -2380,18 +2123,6 @@ declare class DialogueService {
|
|
|
2380
2123
|
* @throws ApiError
|
|
2381
2124
|
*/
|
|
2382
2125
|
listModels(): CancelablePromise<any>;
|
|
2383
|
-
/**
|
|
2384
|
-
* Get a session chat history
|
|
2385
|
-
* @returns DialogueMemoryMessageDto
|
|
2386
|
-
* @throws ApiError
|
|
2387
|
-
*/
|
|
2388
|
-
getChatHistory(data: TDataGetChatHistory): CancelablePromise<Array<DialogueMemoryMessageDto>>;
|
|
2389
|
-
/**
|
|
2390
|
-
* Set the tools, overriding existing ones
|
|
2391
|
-
* @returns any
|
|
2392
|
-
* @throws ApiError
|
|
2393
|
-
*/
|
|
2394
|
-
nextStep(data: TDataNextStep): CancelablePromise<any>;
|
|
2395
2126
|
/**
|
|
2396
2127
|
* Save tools, overwriting existing ones.
|
|
2397
2128
|
* @returns any
|
|
@@ -3181,7 +2912,7 @@ interface StringInferenceValue {
|
|
|
3181
2912
|
probability: number;
|
|
3182
2913
|
value: string;
|
|
3183
2914
|
}
|
|
3184
|
-
type
|
|
2915
|
+
type anonymous_schema_174 = 'start' | 'stop';
|
|
3185
2916
|
interface UserCharacterizationEventDto {
|
|
3186
2917
|
appId: string;
|
|
3187
2918
|
clientId?: string;
|
|
@@ -3234,7 +2965,9 @@ interface QRCodeEventDto {
|
|
|
3234
2965
|
clientId?: string;
|
|
3235
2966
|
userId?: string;
|
|
3236
2967
|
ts?: string;
|
|
3237
|
-
|
|
2968
|
+
version: string;
|
|
2969
|
+
payload: string;
|
|
2970
|
+
sessionId?: string;
|
|
3238
2971
|
}
|
|
3239
2972
|
interface NoiseEventDto {
|
|
3240
2973
|
appId: string;
|
|
@@ -3252,47 +2985,6 @@ interface SermasSessionDto {
|
|
|
3252
2985
|
ts?: string;
|
|
3253
2986
|
sessionId?: string;
|
|
3254
2987
|
}
|
|
3255
|
-
interface DialogueTaskChangedDto {
|
|
3256
|
-
appId: string;
|
|
3257
|
-
clientId?: string;
|
|
3258
|
-
userId?: string;
|
|
3259
|
-
ts?: string;
|
|
3260
|
-
operation: string;
|
|
3261
|
-
sessionId?: string;
|
|
3262
|
-
record: DialogueTaskDto;
|
|
3263
|
-
}
|
|
3264
|
-
interface DialogueTaskRecordChangedDto {
|
|
3265
|
-
appId: string;
|
|
3266
|
-
clientId?: string;
|
|
3267
|
-
userId?: string;
|
|
3268
|
-
ts?: string;
|
|
3269
|
-
operation: string;
|
|
3270
|
-
sessionId?: string;
|
|
3271
|
-
record: DialogueTaskRecordDto;
|
|
3272
|
-
}
|
|
3273
|
-
interface DialogueTaskRecordHandlerDto {
|
|
3274
|
-
appId: string;
|
|
3275
|
-
clientId?: string;
|
|
3276
|
-
userId?: string;
|
|
3277
|
-
ts?: string;
|
|
3278
|
-
sessionId?: string;
|
|
3279
|
-
taskId: string;
|
|
3280
|
-
recordId: string;
|
|
3281
|
-
field: anonymous_schema_283;
|
|
3282
|
-
}
|
|
3283
|
-
interface anonymous_schema_283 {
|
|
3284
|
-
name: string;
|
|
3285
|
-
label?: string;
|
|
3286
|
-
order?: number;
|
|
3287
|
-
type: TaskSchemaDataType;
|
|
3288
|
-
required?: boolean;
|
|
3289
|
-
validation?: string;
|
|
3290
|
-
condition?: string;
|
|
3291
|
-
prompt?: string;
|
|
3292
|
-
handler?: string;
|
|
3293
|
-
multiple?: boolean;
|
|
3294
|
-
options?: OptionSelection[];
|
|
3295
|
-
}
|
|
3296
2988
|
interface DialogueToolTriggeredEventDto {
|
|
3297
2989
|
appId: string;
|
|
3298
2990
|
clientId?: string;
|
|
@@ -3318,10 +3010,10 @@ interface DialogueToolsRepositoryRecordDto {
|
|
|
3318
3010
|
ts?: string;
|
|
3319
3011
|
sessionId?: string;
|
|
3320
3012
|
repositoryId?: string;
|
|
3321
|
-
options?:
|
|
3013
|
+
options?: anonymous_schema_255;
|
|
3322
3014
|
tools: AppToolsDTO[];
|
|
3323
3015
|
}
|
|
3324
|
-
interface
|
|
3016
|
+
interface anonymous_schema_255 {
|
|
3325
3017
|
triggerOnce?: boolean;
|
|
3326
3018
|
exclusive?: boolean;
|
|
3327
3019
|
}
|
|
@@ -3381,11 +3073,11 @@ interface UIAssetChangedDto {
|
|
|
3381
3073
|
sessionId?: string;
|
|
3382
3074
|
record: UIAssetDto;
|
|
3383
3075
|
}
|
|
3384
|
-
interface
|
|
3076
|
+
interface anonymous_schema_331 {
|
|
3385
3077
|
repositoryId?: string;
|
|
3386
3078
|
additionalProperties?: Record<string, any>;
|
|
3387
3079
|
}
|
|
3388
|
-
interface
|
|
3080
|
+
interface anonymous_schema_334 {
|
|
3389
3081
|
clearScreen?: boolean;
|
|
3390
3082
|
ttsEnabled?: boolean;
|
|
3391
3083
|
stopSpeech?: boolean;
|
|
@@ -3569,28 +3261,6 @@ declare class Dialogue {
|
|
|
3569
3261
|
appId?: string;
|
|
3570
3262
|
sessionId?: string;
|
|
3571
3263
|
}): Promise<() => void>;
|
|
3572
|
-
taskChanged(event: DialogueTaskChangedDto, params?: {
|
|
3573
|
-
appId?: string;
|
|
3574
|
-
taskId?: string;
|
|
3575
|
-
}): Promise<boolean>;
|
|
3576
|
-
onTaskChanged(fn: (event: DialogueTaskChangedDto) => void | Promise<void>, params?: {
|
|
3577
|
-
appId?: string;
|
|
3578
|
-
taskId?: string;
|
|
3579
|
-
}): Promise<() => void>;
|
|
3580
|
-
recordChanged(event: DialogueTaskRecordChangedDto, params?: {
|
|
3581
|
-
appId?: string;
|
|
3582
|
-
taskId?: string;
|
|
3583
|
-
}): Promise<boolean>;
|
|
3584
|
-
onRecordChanged(fn: (event: DialogueTaskRecordChangedDto) => void | Promise<void>, params?: {
|
|
3585
|
-
appId?: string;
|
|
3586
|
-
taskId?: string;
|
|
3587
|
-
}): Promise<() => void>;
|
|
3588
|
-
fieldHandler(event: DialogueTaskRecordHandlerDto, params?: {
|
|
3589
|
-
appId?: string;
|
|
3590
|
-
}): Promise<boolean>;
|
|
3591
|
-
onFieldHandler(fn: (event: DialogueTaskRecordHandlerDto) => void | Promise<void>, params?: {
|
|
3592
|
-
appId?: string;
|
|
3593
|
-
}): Promise<() => void>;
|
|
3594
3264
|
toolTriggered(event: DialogueToolTriggeredEventDto, params?: {
|
|
3595
3265
|
appId?: string;
|
|
3596
3266
|
name?: string;
|
|
@@ -3836,4 +3506,4 @@ declare class SermasApiClient {
|
|
|
3836
3506
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
3837
3507
|
}
|
|
3838
3508
|
|
|
3839
|
-
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
|
|
3509
|
+
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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsRepositoryChanged, type DialogueToolsRepositoryDto, type DialogueToolsRepositoryOptionsDto, type DialogueToolsRepositoryRecordDto, type DialogueUrlDto, 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 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 QrCodePayloadDto, type QuizAnswerDto, type QuizContentDto, type QuizUIContentDto, 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 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_174, type anonymous_schema_255, type anonymous_schema_331, type anonymous_schema_334, type anonymous_schema_99, sleep };
|