@sermas/api-client 1.0.0-alpha.69 → 1.0.0-alpha.70
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 +74 -64
- package/index.d.ts +74 -64
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
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
|
*/
|
|
@@ -2288,7 +2297,7 @@ type TDataImportWebsite = {
|
|
|
2288
2297
|
/**
|
|
2289
2298
|
* URL
|
|
2290
2299
|
*/
|
|
2291
|
-
requestBody:
|
|
2300
|
+
requestBody: RagWebsiteDto;
|
|
2292
2301
|
};
|
|
2293
2302
|
type TDataRemoveAll = {
|
|
2294
2303
|
appId: string;
|
|
@@ -2522,6 +2531,7 @@ type TDataRemoveApp = {
|
|
|
2522
2531
|
appId: string;
|
|
2523
2532
|
};
|
|
2524
2533
|
type TDataImportApps = {
|
|
2534
|
+
importWebsites: string;
|
|
2525
2535
|
requestBody: Array<PlatformAppDto>;
|
|
2526
2536
|
skipClients: string;
|
|
2527
2537
|
};
|
|
@@ -3215,11 +3225,6 @@ interface PlatformAppModuleConfigEventDto {
|
|
|
3215
3225
|
sessionId?: string;
|
|
3216
3226
|
record: AppModuleConfigDto;
|
|
3217
3227
|
}
|
|
3218
|
-
interface ModuleConfigEventDto {
|
|
3219
|
-
operation: Record<string, any>;
|
|
3220
|
-
ts: string;
|
|
3221
|
-
record: PlatformModuleConfigDto;
|
|
3222
|
-
}
|
|
3223
3228
|
interface UpdateUserEventDto {
|
|
3224
3229
|
appId: string;
|
|
3225
3230
|
clientId?: string;
|
|
@@ -3227,6 +3232,11 @@ interface UpdateUserEventDto {
|
|
|
3227
3232
|
ts?: string;
|
|
3228
3233
|
enabled: boolean;
|
|
3229
3234
|
}
|
|
3235
|
+
interface ModuleConfigEventDto {
|
|
3236
|
+
operation: Record<string, any>;
|
|
3237
|
+
ts: string;
|
|
3238
|
+
record: PlatformModuleConfigDto;
|
|
3239
|
+
}
|
|
3230
3240
|
interface UserDetectionEventDto {
|
|
3231
3241
|
appId: string;
|
|
3232
3242
|
clientId?: string;
|
|
@@ -3254,7 +3264,7 @@ interface StringInferenceValue {
|
|
|
3254
3264
|
probability: number;
|
|
3255
3265
|
value: string;
|
|
3256
3266
|
}
|
|
3257
|
-
type
|
|
3267
|
+
type anonymous_schema_212 = 'start' | 'stop';
|
|
3258
3268
|
interface UserCharacterizationEventDto {
|
|
3259
3269
|
appId: string;
|
|
3260
3270
|
clientId?: string;
|
|
@@ -3338,10 +3348,10 @@ interface DialogueTaskChangedDto {
|
|
|
3338
3348
|
}
|
|
3339
3349
|
interface DialogueTaskProgressDto {
|
|
3340
3350
|
type: TaskEventType;
|
|
3341
|
-
task:
|
|
3342
|
-
record:
|
|
3351
|
+
task: anonymous_schema_281;
|
|
3352
|
+
record: anonymous_schema_282;
|
|
3343
3353
|
}
|
|
3344
|
-
interface
|
|
3354
|
+
interface anonymous_schema_281 {
|
|
3345
3355
|
taskId: string;
|
|
3346
3356
|
appId: string;
|
|
3347
3357
|
sessionId?: string;
|
|
@@ -3352,7 +3362,7 @@ interface anonymous_schema_280 {
|
|
|
3352
3362
|
fields: TaskFieldDto[];
|
|
3353
3363
|
options?: anonymous_schema_149;
|
|
3354
3364
|
}
|
|
3355
|
-
interface
|
|
3365
|
+
interface anonymous_schema_282 {
|
|
3356
3366
|
recordId: string;
|
|
3357
3367
|
taskId: string;
|
|
3358
3368
|
appId: string;
|
|
@@ -3379,9 +3389,9 @@ interface DialogueTaskRecordHandlerDto {
|
|
|
3379
3389
|
sessionId?: string;
|
|
3380
3390
|
taskId: string;
|
|
3381
3391
|
recordId: string;
|
|
3382
|
-
field:
|
|
3392
|
+
field: anonymous_schema_303;
|
|
3383
3393
|
}
|
|
3384
|
-
interface
|
|
3394
|
+
interface anonymous_schema_303 {
|
|
3385
3395
|
name: string;
|
|
3386
3396
|
label?: string;
|
|
3387
3397
|
order?: number;
|
|
@@ -3419,10 +3429,10 @@ interface DialogueToolsRepositoryRecordDto {
|
|
|
3419
3429
|
ts?: string;
|
|
3420
3430
|
sessionId?: string;
|
|
3421
3431
|
repositoryId?: string;
|
|
3422
|
-
options?:
|
|
3432
|
+
options?: anonymous_schema_322;
|
|
3423
3433
|
tools: any[][];
|
|
3424
3434
|
}
|
|
3425
|
-
interface
|
|
3435
|
+
interface anonymous_schema_322 {
|
|
3426
3436
|
triggerOnce?: boolean;
|
|
3427
3437
|
exclusive?: boolean;
|
|
3428
3438
|
}
|
|
@@ -3482,11 +3492,11 @@ interface UIAssetChangedDto {
|
|
|
3482
3492
|
sessionId?: string;
|
|
3483
3493
|
record: UIAssetDto;
|
|
3484
3494
|
}
|
|
3485
|
-
interface
|
|
3495
|
+
interface anonymous_schema_397 {
|
|
3486
3496
|
repositoryId?: string;
|
|
3487
3497
|
additionalProperties?: Record<string, any>;
|
|
3488
3498
|
}
|
|
3489
|
-
interface
|
|
3499
|
+
interface anonymous_schema_400 {
|
|
3490
3500
|
clearScreen?: boolean;
|
|
3491
3501
|
ttsEnabled?: boolean;
|
|
3492
3502
|
stopSpeech?: boolean;
|
|
@@ -3560,17 +3570,6 @@ declare class Platform {
|
|
|
3560
3570
|
}): Promise<() => void>;
|
|
3561
3571
|
}
|
|
3562
3572
|
|
|
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
3573
|
declare class Auth {
|
|
3575
3574
|
private readonly broker;
|
|
3576
3575
|
constructor(broker: Broker);
|
|
@@ -3594,6 +3593,17 @@ declare class Auth {
|
|
|
3594
3593
|
}): Promise<() => void>;
|
|
3595
3594
|
}
|
|
3596
3595
|
|
|
3596
|
+
declare class Module {
|
|
3597
|
+
private readonly broker;
|
|
3598
|
+
constructor(broker: Broker);
|
|
3599
|
+
moduleChanged(event: ModuleConfigEventDto, params?: {
|
|
3600
|
+
moduleId?: string;
|
|
3601
|
+
}): Promise<boolean>;
|
|
3602
|
+
onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
|
|
3603
|
+
moduleId?: string;
|
|
3604
|
+
}): Promise<() => void>;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3597
3607
|
declare class Detection {
|
|
3598
3608
|
private readonly broker;
|
|
3599
3609
|
constructor(broker: Broker);
|
|
@@ -3847,8 +3857,8 @@ declare class Robotics {
|
|
|
3847
3857
|
declare class AsyncApiClient {
|
|
3848
3858
|
private readonly broker;
|
|
3849
3859
|
readonly platform: Platform;
|
|
3850
|
-
readonly module: Module;
|
|
3851
3860
|
readonly auth: Auth;
|
|
3861
|
+
readonly module: Module;
|
|
3852
3862
|
readonly detection: Detection;
|
|
3853
3863
|
readonly dialogue: Dialogue;
|
|
3854
3864
|
readonly session: Session;
|
|
@@ -3945,4 +3955,4 @@ declare class SermasApiClient {
|
|
|
3945
3955
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
3946
3956
|
}
|
|
3947
3957
|
|
|
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
|
|
3958
|
+
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 };
|
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
|
*/
|
|
@@ -2288,7 +2297,7 @@ type TDataImportWebsite = {
|
|
|
2288
2297
|
/**
|
|
2289
2298
|
* URL
|
|
2290
2299
|
*/
|
|
2291
|
-
requestBody:
|
|
2300
|
+
requestBody: RagWebsiteDto;
|
|
2292
2301
|
};
|
|
2293
2302
|
type TDataRemoveAll = {
|
|
2294
2303
|
appId: string;
|
|
@@ -2522,6 +2531,7 @@ type TDataRemoveApp = {
|
|
|
2522
2531
|
appId: string;
|
|
2523
2532
|
};
|
|
2524
2533
|
type TDataImportApps = {
|
|
2534
|
+
importWebsites: string;
|
|
2525
2535
|
requestBody: Array<PlatformAppDto>;
|
|
2526
2536
|
skipClients: string;
|
|
2527
2537
|
};
|
|
@@ -3215,11 +3225,6 @@ interface PlatformAppModuleConfigEventDto {
|
|
|
3215
3225
|
sessionId?: string;
|
|
3216
3226
|
record: AppModuleConfigDto;
|
|
3217
3227
|
}
|
|
3218
|
-
interface ModuleConfigEventDto {
|
|
3219
|
-
operation: Record<string, any>;
|
|
3220
|
-
ts: string;
|
|
3221
|
-
record: PlatformModuleConfigDto;
|
|
3222
|
-
}
|
|
3223
3228
|
interface UpdateUserEventDto {
|
|
3224
3229
|
appId: string;
|
|
3225
3230
|
clientId?: string;
|
|
@@ -3227,6 +3232,11 @@ interface UpdateUserEventDto {
|
|
|
3227
3232
|
ts?: string;
|
|
3228
3233
|
enabled: boolean;
|
|
3229
3234
|
}
|
|
3235
|
+
interface ModuleConfigEventDto {
|
|
3236
|
+
operation: Record<string, any>;
|
|
3237
|
+
ts: string;
|
|
3238
|
+
record: PlatformModuleConfigDto;
|
|
3239
|
+
}
|
|
3230
3240
|
interface UserDetectionEventDto {
|
|
3231
3241
|
appId: string;
|
|
3232
3242
|
clientId?: string;
|
|
@@ -3254,7 +3264,7 @@ interface StringInferenceValue {
|
|
|
3254
3264
|
probability: number;
|
|
3255
3265
|
value: string;
|
|
3256
3266
|
}
|
|
3257
|
-
type
|
|
3267
|
+
type anonymous_schema_212 = 'start' | 'stop';
|
|
3258
3268
|
interface UserCharacterizationEventDto {
|
|
3259
3269
|
appId: string;
|
|
3260
3270
|
clientId?: string;
|
|
@@ -3338,10 +3348,10 @@ interface DialogueTaskChangedDto {
|
|
|
3338
3348
|
}
|
|
3339
3349
|
interface DialogueTaskProgressDto {
|
|
3340
3350
|
type: TaskEventType;
|
|
3341
|
-
task:
|
|
3342
|
-
record:
|
|
3351
|
+
task: anonymous_schema_281;
|
|
3352
|
+
record: anonymous_schema_282;
|
|
3343
3353
|
}
|
|
3344
|
-
interface
|
|
3354
|
+
interface anonymous_schema_281 {
|
|
3345
3355
|
taskId: string;
|
|
3346
3356
|
appId: string;
|
|
3347
3357
|
sessionId?: string;
|
|
@@ -3352,7 +3362,7 @@ interface anonymous_schema_280 {
|
|
|
3352
3362
|
fields: TaskFieldDto[];
|
|
3353
3363
|
options?: anonymous_schema_149;
|
|
3354
3364
|
}
|
|
3355
|
-
interface
|
|
3365
|
+
interface anonymous_schema_282 {
|
|
3356
3366
|
recordId: string;
|
|
3357
3367
|
taskId: string;
|
|
3358
3368
|
appId: string;
|
|
@@ -3379,9 +3389,9 @@ interface DialogueTaskRecordHandlerDto {
|
|
|
3379
3389
|
sessionId?: string;
|
|
3380
3390
|
taskId: string;
|
|
3381
3391
|
recordId: string;
|
|
3382
|
-
field:
|
|
3392
|
+
field: anonymous_schema_303;
|
|
3383
3393
|
}
|
|
3384
|
-
interface
|
|
3394
|
+
interface anonymous_schema_303 {
|
|
3385
3395
|
name: string;
|
|
3386
3396
|
label?: string;
|
|
3387
3397
|
order?: number;
|
|
@@ -3419,10 +3429,10 @@ interface DialogueToolsRepositoryRecordDto {
|
|
|
3419
3429
|
ts?: string;
|
|
3420
3430
|
sessionId?: string;
|
|
3421
3431
|
repositoryId?: string;
|
|
3422
|
-
options?:
|
|
3432
|
+
options?: anonymous_schema_322;
|
|
3423
3433
|
tools: any[][];
|
|
3424
3434
|
}
|
|
3425
|
-
interface
|
|
3435
|
+
interface anonymous_schema_322 {
|
|
3426
3436
|
triggerOnce?: boolean;
|
|
3427
3437
|
exclusive?: boolean;
|
|
3428
3438
|
}
|
|
@@ -3482,11 +3492,11 @@ interface UIAssetChangedDto {
|
|
|
3482
3492
|
sessionId?: string;
|
|
3483
3493
|
record: UIAssetDto;
|
|
3484
3494
|
}
|
|
3485
|
-
interface
|
|
3495
|
+
interface anonymous_schema_397 {
|
|
3486
3496
|
repositoryId?: string;
|
|
3487
3497
|
additionalProperties?: Record<string, any>;
|
|
3488
3498
|
}
|
|
3489
|
-
interface
|
|
3499
|
+
interface anonymous_schema_400 {
|
|
3490
3500
|
clearScreen?: boolean;
|
|
3491
3501
|
ttsEnabled?: boolean;
|
|
3492
3502
|
stopSpeech?: boolean;
|
|
@@ -3560,17 +3570,6 @@ declare class Platform {
|
|
|
3560
3570
|
}): Promise<() => void>;
|
|
3561
3571
|
}
|
|
3562
3572
|
|
|
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
3573
|
declare class Auth {
|
|
3575
3574
|
private readonly broker;
|
|
3576
3575
|
constructor(broker: Broker);
|
|
@@ -3594,6 +3593,17 @@ declare class Auth {
|
|
|
3594
3593
|
}): Promise<() => void>;
|
|
3595
3594
|
}
|
|
3596
3595
|
|
|
3596
|
+
declare class Module {
|
|
3597
|
+
private readonly broker;
|
|
3598
|
+
constructor(broker: Broker);
|
|
3599
|
+
moduleChanged(event: ModuleConfigEventDto, params?: {
|
|
3600
|
+
moduleId?: string;
|
|
3601
|
+
}): Promise<boolean>;
|
|
3602
|
+
onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
|
|
3603
|
+
moduleId?: string;
|
|
3604
|
+
}): Promise<() => void>;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3597
3607
|
declare class Detection {
|
|
3598
3608
|
private readonly broker;
|
|
3599
3609
|
constructor(broker: Broker);
|
|
@@ -3847,8 +3857,8 @@ declare class Robotics {
|
|
|
3847
3857
|
declare class AsyncApiClient {
|
|
3848
3858
|
private readonly broker;
|
|
3849
3859
|
readonly platform: Platform;
|
|
3850
|
-
readonly module: Module;
|
|
3851
3860
|
readonly auth: Auth;
|
|
3861
|
+
readonly module: Module;
|
|
3852
3862
|
readonly detection: Detection;
|
|
3853
3863
|
readonly dialogue: Dialogue;
|
|
3854
3864
|
readonly session: Session;
|
|
@@ -3945,4 +3955,4 @@ declare class SermasApiClient {
|
|
|
3945
3955
|
login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
|
|
3946
3956
|
}
|
|
3947
3957
|
|
|
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
|
|
3958
|
+
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 };
|