@sermas/api-client 1.0.0-alpha.35 → 1.0.0-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.cts +77 -11
- package/index.d.ts +77 -11
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -297,6 +297,35 @@ type AppSettingsDto = {
|
|
|
297
297
|
llm?: string;
|
|
298
298
|
background: string;
|
|
299
299
|
prompt?: AppPromptDto;
|
|
300
|
+
skipWelcomeMessage?: boolean;
|
|
301
|
+
};
|
|
302
|
+
type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean';
|
|
303
|
+
declare const ToolsParameterSchemaTypesEnum: {
|
|
304
|
+
readonly STRING: "string";
|
|
305
|
+
readonly NUMBER: "number";
|
|
306
|
+
readonly BOOLEAN: "boolean";
|
|
307
|
+
};
|
|
308
|
+
type ToolsParameterSchema = {
|
|
309
|
+
/**
|
|
310
|
+
* function parameter name
|
|
311
|
+
*/
|
|
312
|
+
parameter: string;
|
|
313
|
+
/**
|
|
314
|
+
* parameter type (one of string,number,boolean)
|
|
315
|
+
*/
|
|
316
|
+
type: ToolsParameterSchemaTypes;
|
|
317
|
+
/**
|
|
318
|
+
* description for the parameter, useful to give an hint while matching from the user input
|
|
319
|
+
*/
|
|
320
|
+
description: string;
|
|
321
|
+
/**
|
|
322
|
+
* flag as required
|
|
323
|
+
*/
|
|
324
|
+
required?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* provide a predefined value, useful to fill data otherwise missing from the context
|
|
327
|
+
*/
|
|
328
|
+
value?: string | number | boolean;
|
|
300
329
|
};
|
|
301
330
|
type ToolsRequestSchemaAuthBasic = {
|
|
302
331
|
username?: string;
|
|
@@ -353,7 +382,7 @@ type ToolsRequestSchema = {
|
|
|
353
382
|
type AppToolsDTO = {
|
|
354
383
|
name: string;
|
|
355
384
|
description: string;
|
|
356
|
-
schema?: Array<
|
|
385
|
+
schema?: Array<ToolsParameterSchema>;
|
|
357
386
|
request?: ToolsRequestSchema;
|
|
358
387
|
emitter?: string;
|
|
359
388
|
returnDirect?: boolean;
|
|
@@ -689,6 +718,7 @@ type SessionDto = {
|
|
|
689
718
|
modifiedAt: string;
|
|
690
719
|
createdAt: string;
|
|
691
720
|
closedAt: string;
|
|
721
|
+
settings?: AppSettingsDto;
|
|
692
722
|
};
|
|
693
723
|
type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
694
724
|
declare const AgentStatusEnum: {
|
|
@@ -1446,7 +1476,7 @@ declare class AuthenticationService {
|
|
|
1446
1476
|
authAdminControllerSaveUser(data: TDataAuthAdminControllerSaveUser): CancelablePromise<any>;
|
|
1447
1477
|
}
|
|
1448
1478
|
|
|
1449
|
-
type
|
|
1479
|
+
type TDataObjectDetection = {
|
|
1450
1480
|
requestBody: ObjectDetectionRequest;
|
|
1451
1481
|
};
|
|
1452
1482
|
type TDataDetectionControllerSentimentAnalysis = {
|
|
@@ -1474,7 +1504,7 @@ declare class DetectionService {
|
|
|
1474
1504
|
* @returns any
|
|
1475
1505
|
* @throws ApiError
|
|
1476
1506
|
*/
|
|
1477
|
-
|
|
1507
|
+
objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
|
|
1478
1508
|
/**
|
|
1479
1509
|
* @returns any
|
|
1480
1510
|
* @throws ApiError
|
|
@@ -1579,9 +1609,14 @@ type TDataStopAgentSpeech = {
|
|
|
1579
1609
|
appId: string;
|
|
1580
1610
|
sessionId: string;
|
|
1581
1611
|
};
|
|
1582
|
-
type
|
|
1612
|
+
type TDataSetTools = {
|
|
1583
1613
|
appId: string;
|
|
1584
|
-
requestBody: Array<
|
|
1614
|
+
requestBody: Array<AppToolsDTO>;
|
|
1615
|
+
sessionId: string;
|
|
1616
|
+
};
|
|
1617
|
+
type TDataAddTools = {
|
|
1618
|
+
appId: string;
|
|
1619
|
+
requestBody: Array<AppToolsDTO>;
|
|
1585
1620
|
sessionId: string;
|
|
1586
1621
|
};
|
|
1587
1622
|
declare class DialogueService {
|
|
@@ -1631,10 +1666,17 @@ declare class DialogueService {
|
|
|
1631
1666
|
*/
|
|
1632
1667
|
import1(): CancelablePromise<any>;
|
|
1633
1668
|
/**
|
|
1669
|
+
* Set the tools, overriding existing ones
|
|
1670
|
+
* @returns any
|
|
1671
|
+
* @throws ApiError
|
|
1672
|
+
*/
|
|
1673
|
+
setTools(data: TDataSetTools): CancelablePromise<any>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Add tools to the session. Existing with the same name will be overridden.
|
|
1634
1676
|
* @returns any
|
|
1635
1677
|
* @throws ApiError
|
|
1636
1678
|
*/
|
|
1637
|
-
|
|
1679
|
+
addTools(data: TDataAddTools): CancelablePromise<any>;
|
|
1638
1680
|
}
|
|
1639
1681
|
|
|
1640
1682
|
type TDataGetClientAccessToken = {
|
|
@@ -2303,13 +2345,14 @@ interface PlatformAppChangedDto {
|
|
|
2303
2345
|
clientId?: string;
|
|
2304
2346
|
userId?: string;
|
|
2305
2347
|
operation: string;
|
|
2348
|
+
sessionId?: string;
|
|
2306
2349
|
record: PlatformAppDto;
|
|
2307
2350
|
}
|
|
2308
|
-
interface
|
|
2351
|
+
interface anonymous_schema_96 {
|
|
2309
2352
|
username?: string;
|
|
2310
2353
|
password: string;
|
|
2311
2354
|
}
|
|
2312
|
-
interface
|
|
2355
|
+
interface anonymous_schema_99 {
|
|
2313
2356
|
clientType?: string;
|
|
2314
2357
|
clientId?: string;
|
|
2315
2358
|
clientSecret?: string;
|
|
@@ -2324,6 +2367,7 @@ interface PlatformAppClientChangedDto {
|
|
|
2324
2367
|
clientId?: string;
|
|
2325
2368
|
userId?: string;
|
|
2326
2369
|
operation: string;
|
|
2370
|
+
sessionId?: string;
|
|
2327
2371
|
record: AppClientDto;
|
|
2328
2372
|
}
|
|
2329
2373
|
interface PlatformAppModuleConfigEventDto {
|
|
@@ -2331,6 +2375,7 @@ interface PlatformAppModuleConfigEventDto {
|
|
|
2331
2375
|
clientId?: string;
|
|
2332
2376
|
userId?: string;
|
|
2333
2377
|
operation: string;
|
|
2378
|
+
sessionId?: string;
|
|
2334
2379
|
record: AppModuleConfigDto;
|
|
2335
2380
|
}
|
|
2336
2381
|
interface ModuleConfigEventDto {
|
|
@@ -2370,7 +2415,7 @@ interface StringInferenceValue {
|
|
|
2370
2415
|
probability: number;
|
|
2371
2416
|
value: string;
|
|
2372
2417
|
}
|
|
2373
|
-
type
|
|
2418
|
+
type anonymous_schema_163 = 'start' | 'stop';
|
|
2374
2419
|
interface UserCharacterizationEventDto {
|
|
2375
2420
|
appId: string;
|
|
2376
2421
|
clientId?: string;
|
|
@@ -2436,6 +2481,15 @@ interface DialogueToolTriggeredEventDto {
|
|
|
2436
2481
|
userId?: string;
|
|
2437
2482
|
sessionId?: string;
|
|
2438
2483
|
name: string;
|
|
2484
|
+
tool: AppToolsDTO;
|
|
2485
|
+
}
|
|
2486
|
+
interface DialogueToolsChanged {
|
|
2487
|
+
appId: string;
|
|
2488
|
+
clientId?: string;
|
|
2489
|
+
userId?: string;
|
|
2490
|
+
operation: string;
|
|
2491
|
+
sessionId?: string;
|
|
2492
|
+
record: AppToolsDTO[];
|
|
2439
2493
|
}
|
|
2440
2494
|
interface SermasSessionDto {
|
|
2441
2495
|
appId: string;
|
|
@@ -2448,6 +2502,7 @@ interface SessionChangedDto {
|
|
|
2448
2502
|
clientId?: string;
|
|
2449
2503
|
userId?: string;
|
|
2450
2504
|
operation: string;
|
|
2505
|
+
sessionId?: string;
|
|
2451
2506
|
record: SessionDto;
|
|
2452
2507
|
}
|
|
2453
2508
|
interface AgentDto {
|
|
@@ -2463,8 +2518,8 @@ interface AgentChangedDto {
|
|
|
2463
2518
|
clientId?: string;
|
|
2464
2519
|
userId?: string;
|
|
2465
2520
|
operation: string;
|
|
2521
|
+
sessionId?: string;
|
|
2466
2522
|
moduleId: string;
|
|
2467
|
-
sessionId: string;
|
|
2468
2523
|
record: AgentDto;
|
|
2469
2524
|
}
|
|
2470
2525
|
interface SessionSupportEventDto {
|
|
@@ -2481,6 +2536,7 @@ interface SessionStorageEventDto {
|
|
|
2481
2536
|
clientId?: string;
|
|
2482
2537
|
userId?: string;
|
|
2483
2538
|
operation: string;
|
|
2539
|
+
sessionId?: string;
|
|
2484
2540
|
record: SessionStorageRecordDto;
|
|
2485
2541
|
}
|
|
2486
2542
|
interface UIAssetChangedDto {
|
|
@@ -2488,6 +2544,7 @@ interface UIAssetChangedDto {
|
|
|
2488
2544
|
clientId?: string;
|
|
2489
2545
|
userId?: string;
|
|
2490
2546
|
operation: string;
|
|
2547
|
+
sessionId?: string;
|
|
2491
2548
|
record: UIAssetDto;
|
|
2492
2549
|
}
|
|
2493
2550
|
interface UIInteractionEventDto {
|
|
@@ -2503,6 +2560,7 @@ interface XRMarkerChangedDto {
|
|
|
2503
2560
|
clientId?: string;
|
|
2504
2561
|
userId?: string;
|
|
2505
2562
|
operation: string;
|
|
2563
|
+
sessionId?: string;
|
|
2506
2564
|
record: XRMarkerDto;
|
|
2507
2565
|
}
|
|
2508
2566
|
interface XROcclusionDto {
|
|
@@ -2645,6 +2703,14 @@ declare class Dialogue {
|
|
|
2645
2703
|
appId?: string;
|
|
2646
2704
|
name?: string;
|
|
2647
2705
|
}): Promise<() => void>;
|
|
2706
|
+
toolChanged(event: DialogueToolsChanged, params?: {
|
|
2707
|
+
appId?: string;
|
|
2708
|
+
sessionId?: string;
|
|
2709
|
+
}): Promise<boolean>;
|
|
2710
|
+
onToolChanged(fn: (event: DialogueToolsChanged) => void | Promise<void>, params?: {
|
|
2711
|
+
appId?: string;
|
|
2712
|
+
sessionId?: string;
|
|
2713
|
+
}): Promise<() => void>;
|
|
2648
2714
|
dialogueMessages(event: DialogueMessageDto, params?: {
|
|
2649
2715
|
appId?: string;
|
|
2650
2716
|
sessionId?: string;
|
|
@@ -2888,4 +2954,4 @@ declare class SermasApiClient {
|
|
|
2888
2954
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
2889
2955
|
}
|
|
2890
2956
|
|
|
2891
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, 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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, 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 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 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 ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, TypeEnum, type UIAssetChangedDto, type UIAssetDto, type UIContentDto, type UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, 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
|
|
2957
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, 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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsChanged, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, 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 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 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 UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, 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_163, type anonymous_schema_96, type anonymous_schema_99, sleep };
|
package/index.d.ts
CHANGED
|
@@ -297,6 +297,35 @@ type AppSettingsDto = {
|
|
|
297
297
|
llm?: string;
|
|
298
298
|
background: string;
|
|
299
299
|
prompt?: AppPromptDto;
|
|
300
|
+
skipWelcomeMessage?: boolean;
|
|
301
|
+
};
|
|
302
|
+
type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean';
|
|
303
|
+
declare const ToolsParameterSchemaTypesEnum: {
|
|
304
|
+
readonly STRING: "string";
|
|
305
|
+
readonly NUMBER: "number";
|
|
306
|
+
readonly BOOLEAN: "boolean";
|
|
307
|
+
};
|
|
308
|
+
type ToolsParameterSchema = {
|
|
309
|
+
/**
|
|
310
|
+
* function parameter name
|
|
311
|
+
*/
|
|
312
|
+
parameter: string;
|
|
313
|
+
/**
|
|
314
|
+
* parameter type (one of string,number,boolean)
|
|
315
|
+
*/
|
|
316
|
+
type: ToolsParameterSchemaTypes;
|
|
317
|
+
/**
|
|
318
|
+
* description for the parameter, useful to give an hint while matching from the user input
|
|
319
|
+
*/
|
|
320
|
+
description: string;
|
|
321
|
+
/**
|
|
322
|
+
* flag as required
|
|
323
|
+
*/
|
|
324
|
+
required?: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* provide a predefined value, useful to fill data otherwise missing from the context
|
|
327
|
+
*/
|
|
328
|
+
value?: string | number | boolean;
|
|
300
329
|
};
|
|
301
330
|
type ToolsRequestSchemaAuthBasic = {
|
|
302
331
|
username?: string;
|
|
@@ -353,7 +382,7 @@ type ToolsRequestSchema = {
|
|
|
353
382
|
type AppToolsDTO = {
|
|
354
383
|
name: string;
|
|
355
384
|
description: string;
|
|
356
|
-
schema?: Array<
|
|
385
|
+
schema?: Array<ToolsParameterSchema>;
|
|
357
386
|
request?: ToolsRequestSchema;
|
|
358
387
|
emitter?: string;
|
|
359
388
|
returnDirect?: boolean;
|
|
@@ -689,6 +718,7 @@ type SessionDto = {
|
|
|
689
718
|
modifiedAt: string;
|
|
690
719
|
createdAt: string;
|
|
691
720
|
closedAt: string;
|
|
721
|
+
settings?: AppSettingsDto;
|
|
692
722
|
};
|
|
693
723
|
type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
|
|
694
724
|
declare const AgentStatusEnum: {
|
|
@@ -1446,7 +1476,7 @@ declare class AuthenticationService {
|
|
|
1446
1476
|
authAdminControllerSaveUser(data: TDataAuthAdminControllerSaveUser): CancelablePromise<any>;
|
|
1447
1477
|
}
|
|
1448
1478
|
|
|
1449
|
-
type
|
|
1479
|
+
type TDataObjectDetection = {
|
|
1450
1480
|
requestBody: ObjectDetectionRequest;
|
|
1451
1481
|
};
|
|
1452
1482
|
type TDataDetectionControllerSentimentAnalysis = {
|
|
@@ -1474,7 +1504,7 @@ declare class DetectionService {
|
|
|
1474
1504
|
* @returns any
|
|
1475
1505
|
* @throws ApiError
|
|
1476
1506
|
*/
|
|
1477
|
-
|
|
1507
|
+
objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
|
|
1478
1508
|
/**
|
|
1479
1509
|
* @returns any
|
|
1480
1510
|
* @throws ApiError
|
|
@@ -1579,9 +1609,14 @@ type TDataStopAgentSpeech = {
|
|
|
1579
1609
|
appId: string;
|
|
1580
1610
|
sessionId: string;
|
|
1581
1611
|
};
|
|
1582
|
-
type
|
|
1612
|
+
type TDataSetTools = {
|
|
1583
1613
|
appId: string;
|
|
1584
|
-
requestBody: Array<
|
|
1614
|
+
requestBody: Array<AppToolsDTO>;
|
|
1615
|
+
sessionId: string;
|
|
1616
|
+
};
|
|
1617
|
+
type TDataAddTools = {
|
|
1618
|
+
appId: string;
|
|
1619
|
+
requestBody: Array<AppToolsDTO>;
|
|
1585
1620
|
sessionId: string;
|
|
1586
1621
|
};
|
|
1587
1622
|
declare class DialogueService {
|
|
@@ -1631,10 +1666,17 @@ declare class DialogueService {
|
|
|
1631
1666
|
*/
|
|
1632
1667
|
import1(): CancelablePromise<any>;
|
|
1633
1668
|
/**
|
|
1669
|
+
* Set the tools, overriding existing ones
|
|
1670
|
+
* @returns any
|
|
1671
|
+
* @throws ApiError
|
|
1672
|
+
*/
|
|
1673
|
+
setTools(data: TDataSetTools): CancelablePromise<any>;
|
|
1674
|
+
/**
|
|
1675
|
+
* Add tools to the session. Existing with the same name will be overridden.
|
|
1634
1676
|
* @returns any
|
|
1635
1677
|
* @throws ApiError
|
|
1636
1678
|
*/
|
|
1637
|
-
|
|
1679
|
+
addTools(data: TDataAddTools): CancelablePromise<any>;
|
|
1638
1680
|
}
|
|
1639
1681
|
|
|
1640
1682
|
type TDataGetClientAccessToken = {
|
|
@@ -2303,13 +2345,14 @@ interface PlatformAppChangedDto {
|
|
|
2303
2345
|
clientId?: string;
|
|
2304
2346
|
userId?: string;
|
|
2305
2347
|
operation: string;
|
|
2348
|
+
sessionId?: string;
|
|
2306
2349
|
record: PlatformAppDto;
|
|
2307
2350
|
}
|
|
2308
|
-
interface
|
|
2351
|
+
interface anonymous_schema_96 {
|
|
2309
2352
|
username?: string;
|
|
2310
2353
|
password: string;
|
|
2311
2354
|
}
|
|
2312
|
-
interface
|
|
2355
|
+
interface anonymous_schema_99 {
|
|
2313
2356
|
clientType?: string;
|
|
2314
2357
|
clientId?: string;
|
|
2315
2358
|
clientSecret?: string;
|
|
@@ -2324,6 +2367,7 @@ interface PlatformAppClientChangedDto {
|
|
|
2324
2367
|
clientId?: string;
|
|
2325
2368
|
userId?: string;
|
|
2326
2369
|
operation: string;
|
|
2370
|
+
sessionId?: string;
|
|
2327
2371
|
record: AppClientDto;
|
|
2328
2372
|
}
|
|
2329
2373
|
interface PlatformAppModuleConfigEventDto {
|
|
@@ -2331,6 +2375,7 @@ interface PlatformAppModuleConfigEventDto {
|
|
|
2331
2375
|
clientId?: string;
|
|
2332
2376
|
userId?: string;
|
|
2333
2377
|
operation: string;
|
|
2378
|
+
sessionId?: string;
|
|
2334
2379
|
record: AppModuleConfigDto;
|
|
2335
2380
|
}
|
|
2336
2381
|
interface ModuleConfigEventDto {
|
|
@@ -2370,7 +2415,7 @@ interface StringInferenceValue {
|
|
|
2370
2415
|
probability: number;
|
|
2371
2416
|
value: string;
|
|
2372
2417
|
}
|
|
2373
|
-
type
|
|
2418
|
+
type anonymous_schema_163 = 'start' | 'stop';
|
|
2374
2419
|
interface UserCharacterizationEventDto {
|
|
2375
2420
|
appId: string;
|
|
2376
2421
|
clientId?: string;
|
|
@@ -2436,6 +2481,15 @@ interface DialogueToolTriggeredEventDto {
|
|
|
2436
2481
|
userId?: string;
|
|
2437
2482
|
sessionId?: string;
|
|
2438
2483
|
name: string;
|
|
2484
|
+
tool: AppToolsDTO;
|
|
2485
|
+
}
|
|
2486
|
+
interface DialogueToolsChanged {
|
|
2487
|
+
appId: string;
|
|
2488
|
+
clientId?: string;
|
|
2489
|
+
userId?: string;
|
|
2490
|
+
operation: string;
|
|
2491
|
+
sessionId?: string;
|
|
2492
|
+
record: AppToolsDTO[];
|
|
2439
2493
|
}
|
|
2440
2494
|
interface SermasSessionDto {
|
|
2441
2495
|
appId: string;
|
|
@@ -2448,6 +2502,7 @@ interface SessionChangedDto {
|
|
|
2448
2502
|
clientId?: string;
|
|
2449
2503
|
userId?: string;
|
|
2450
2504
|
operation: string;
|
|
2505
|
+
sessionId?: string;
|
|
2451
2506
|
record: SessionDto;
|
|
2452
2507
|
}
|
|
2453
2508
|
interface AgentDto {
|
|
@@ -2463,8 +2518,8 @@ interface AgentChangedDto {
|
|
|
2463
2518
|
clientId?: string;
|
|
2464
2519
|
userId?: string;
|
|
2465
2520
|
operation: string;
|
|
2521
|
+
sessionId?: string;
|
|
2466
2522
|
moduleId: string;
|
|
2467
|
-
sessionId: string;
|
|
2468
2523
|
record: AgentDto;
|
|
2469
2524
|
}
|
|
2470
2525
|
interface SessionSupportEventDto {
|
|
@@ -2481,6 +2536,7 @@ interface SessionStorageEventDto {
|
|
|
2481
2536
|
clientId?: string;
|
|
2482
2537
|
userId?: string;
|
|
2483
2538
|
operation: string;
|
|
2539
|
+
sessionId?: string;
|
|
2484
2540
|
record: SessionStorageRecordDto;
|
|
2485
2541
|
}
|
|
2486
2542
|
interface UIAssetChangedDto {
|
|
@@ -2488,6 +2544,7 @@ interface UIAssetChangedDto {
|
|
|
2488
2544
|
clientId?: string;
|
|
2489
2545
|
userId?: string;
|
|
2490
2546
|
operation: string;
|
|
2547
|
+
sessionId?: string;
|
|
2491
2548
|
record: UIAssetDto;
|
|
2492
2549
|
}
|
|
2493
2550
|
interface UIInteractionEventDto {
|
|
@@ -2503,6 +2560,7 @@ interface XRMarkerChangedDto {
|
|
|
2503
2560
|
clientId?: string;
|
|
2504
2561
|
userId?: string;
|
|
2505
2562
|
operation: string;
|
|
2563
|
+
sessionId?: string;
|
|
2506
2564
|
record: XRMarkerDto;
|
|
2507
2565
|
}
|
|
2508
2566
|
interface XROcclusionDto {
|
|
@@ -2645,6 +2703,14 @@ declare class Dialogue {
|
|
|
2645
2703
|
appId?: string;
|
|
2646
2704
|
name?: string;
|
|
2647
2705
|
}): Promise<() => void>;
|
|
2706
|
+
toolChanged(event: DialogueToolsChanged, params?: {
|
|
2707
|
+
appId?: string;
|
|
2708
|
+
sessionId?: string;
|
|
2709
|
+
}): Promise<boolean>;
|
|
2710
|
+
onToolChanged(fn: (event: DialogueToolsChanged) => void | Promise<void>, params?: {
|
|
2711
|
+
appId?: string;
|
|
2712
|
+
sessionId?: string;
|
|
2713
|
+
}): Promise<() => void>;
|
|
2648
2714
|
dialogueMessages(event: DialogueMessageDto, params?: {
|
|
2649
2715
|
appId?: string;
|
|
2650
2716
|
sessionId?: string;
|
|
@@ -2888,4 +2954,4 @@ declare class SermasApiClient {
|
|
|
2888
2954
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
2889
2955
|
}
|
|
2890
2956
|
|
|
2891
|
-
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, 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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, 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 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 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 ToolsRequestSchema, type ToolsRequestSchemaAuthBasic, type ToolsRequestSchemaAuthBearer, TypeEnum, type UIAssetChangedDto, type UIAssetDto, type UIContentDto, type UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, 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
|
|
2957
|
+
export { type AccessTokenRequestDto, type ActuationEventDto, type AgentChangedDto, type AgentDto, 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 DialogueMessageDto, type DialogueMessageUIContentDto, type DialogueTextToSpeechDto, type DialogueToolTriggeredEventDto, type DialogueToolsChanged, type EmailContentDto, type EmailUIContentDto, type HtmlContentDto, type HtmlUIContentDto, type ImageContentDto, type ImageUIContentDto, type InitialPoseDto, type InitialPoseEventDto, InteractionTypeEnum, type JwtTokenDto, type KeycloakCredentials, type KeycloakJwtTokenResourceAccess, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, 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 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 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 UIContentOptionsDto, type UIInteractionDTO, type UIInteractionEventDto, type UIModelMapBlendShapesRequestDto, type UIModelMapBlendShapesResponseDto, 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_163, type anonymous_schema_96, type anonymous_schema_99, sleep };
|