@sermas/api-client 1.0.0-alpha.35 → 1.0.0-alpha.37

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.d.cts CHANGED
@@ -289,6 +289,13 @@ type AppClientDto = {
289
289
  type AppPromptDto = {
290
290
  text: string;
291
291
  };
292
+ type InteractionStartTypes = 'on-load' | 'touch' | 'speak' | 'intent-detection';
293
+ declare const InteractionStartTypesEnum: {
294
+ readonly ON_LOAD: "on-load";
295
+ readonly TOUCH: "touch";
296
+ readonly SPEAK: "speak";
297
+ readonly INTENT_DETECTION: "intent-detection";
298
+ };
292
299
  type AppSettingsDto = {
293
300
  ttsEnabled?: boolean;
294
301
  login?: boolean;
@@ -297,6 +304,37 @@ type AppSettingsDto = {
297
304
  llm?: string;
298
305
  background: string;
299
306
  prompt?: AppPromptDto;
307
+ skipWelcomeMessage?: boolean;
308
+ interactionStart?: InteractionStartTypes;
309
+ };
310
+ /**
311
+ * parameter type (one of string,number,boolean,object)
312
+ */
313
+ type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean' | 'object';
314
+ declare const ToolsParameterSchemaTypesEnum: {
315
+ readonly STRING: "string";
316
+ readonly NUMBER: "number";
317
+ readonly BOOLEAN: "boolean";
318
+ readonly OBJECT: "object";
319
+ };
320
+ type ToolsParameterSchema = {
321
+ /**
322
+ * function parameter name
323
+ */
324
+ parameter: string;
325
+ type: ToolsParameterSchemaTypes;
326
+ /**
327
+ * description for the parameter, useful to give an hint while matching from the user input
328
+ */
329
+ description: string;
330
+ /**
331
+ * flag as required
332
+ */
333
+ required?: boolean;
334
+ /**
335
+ * provide a predefined value, useful to fill data otherwise missing from the context
336
+ */
337
+ value?: string | number | boolean;
300
338
  };
301
339
  type ToolsRequestSchemaAuthBasic = {
302
340
  username?: string;
@@ -353,7 +391,7 @@ type ToolsRequestSchema = {
353
391
  type AppToolsDTO = {
354
392
  name: string;
355
393
  description: string;
356
- schema?: Array<string>;
394
+ schema?: Array<ToolsParameterSchema>;
357
395
  request?: ToolsRequestSchema;
358
396
  emitter?: string;
359
397
  returnDirect?: boolean;
@@ -556,6 +594,9 @@ type DialogueDocumentDto = {
556
594
  content: string;
557
595
  metadata: DialogueDocumentMetadataDto;
558
596
  };
597
+ /**
598
+ * Actor providing the text, can be user or agent
599
+ */
559
600
  type DialogueActor = 'user' | 'agent';
560
601
  declare const DialogueActorEnum: {
561
602
  readonly USER: "user";
@@ -579,9 +620,6 @@ type DialogueTextToSpeechDto = {
579
620
  * Unique identifier of the message
580
621
  */
581
622
  messageId?: string;
582
- /**
583
- * Actor providing the text, can be user or agent
584
- */
585
623
  actor?: DialogueActor;
586
624
  /**
587
625
  * Text to convert to speech. If emotion field is set, it will be converted to SSML. If also `ssml` field is set, this field will be ignored
@@ -634,9 +672,6 @@ type DialogueMessageDto = {
634
672
  * Unique identifier of the message
635
673
  */
636
674
  messageId?: string;
637
- /**
638
- * Actor providing the text, can be user or agent
639
- */
640
675
  actor?: DialogueActor;
641
676
  /**
642
677
  * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
@@ -689,6 +724,7 @@ type SessionDto = {
689
724
  modifiedAt: string;
690
725
  createdAt: string;
691
726
  closedAt: string;
727
+ settings?: AppSettingsDto;
692
728
  };
693
729
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
694
730
  declare const AgentStatusEnum: {
@@ -1446,7 +1482,7 @@ declare class AuthenticationService {
1446
1482
  authAdminControllerSaveUser(data: TDataAuthAdminControllerSaveUser): CancelablePromise<any>;
1447
1483
  }
1448
1484
 
1449
- type TDataObjecTdEtection = {
1485
+ type TDataObjectDetection = {
1450
1486
  requestBody: ObjectDetectionRequest;
1451
1487
  };
1452
1488
  type TDataDetectionControllerSentimentAnalysis = {
@@ -1474,7 +1510,7 @@ declare class DetectionService {
1474
1510
  * @returns any
1475
1511
  * @throws ApiError
1476
1512
  */
1477
- objecTdEtection(data: TDataObjecTdEtection): CancelablePromise<any>;
1513
+ objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
1478
1514
  /**
1479
1515
  * @returns any
1480
1516
  * @throws ApiError
@@ -1533,9 +1569,6 @@ type TDataText = {
1533
1569
  * Unique identifier of the message
1534
1570
  */
1535
1571
  messageId?: string;
1536
- /**
1537
- * Actor providing the text, can be user or agent
1538
- */
1539
1572
  actor?: DialogueActor;
1540
1573
  /**
1541
1574
  * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
@@ -1579,11 +1612,6 @@ type TDataStopAgentSpeech = {
1579
1612
  appId: string;
1580
1613
  sessionId: string;
1581
1614
  };
1582
- type TDataGetToolsfFromAppId = {
1583
- appId: string;
1584
- requestBody: Array<string>;
1585
- sessionId: string;
1586
- };
1587
1615
  declare class DialogueService {
1588
1616
  readonly httpRequest: BaseHttpRequest;
1589
1617
  constructor(httpRequest: BaseHttpRequest);
@@ -1630,11 +1658,6 @@ declare class DialogueService {
1630
1658
  * @throws ApiError
1631
1659
  */
1632
1660
  import1(): CancelablePromise<any>;
1633
- /**
1634
- * @returns any
1635
- * @throws ApiError
1636
- */
1637
- getToolsfFromAppId(data: TDataGetToolsfFromAppId): CancelablePromise<any>;
1638
1661
  }
1639
1662
 
1640
1663
  type TDataGetClientAccessToken = {
@@ -2303,13 +2326,14 @@ interface PlatformAppChangedDto {
2303
2326
  clientId?: string;
2304
2327
  userId?: string;
2305
2328
  operation: string;
2329
+ sessionId?: string;
2306
2330
  record: PlatformAppDto;
2307
2331
  }
2308
- interface anonymous_schema_88 {
2332
+ interface anonymous_schema_96 {
2309
2333
  username?: string;
2310
2334
  password: string;
2311
2335
  }
2312
- interface anonymous_schema_91 {
2336
+ interface anonymous_schema_99 {
2313
2337
  clientType?: string;
2314
2338
  clientId?: string;
2315
2339
  clientSecret?: string;
@@ -2324,6 +2348,7 @@ interface PlatformAppClientChangedDto {
2324
2348
  clientId?: string;
2325
2349
  userId?: string;
2326
2350
  operation: string;
2351
+ sessionId?: string;
2327
2352
  record: AppClientDto;
2328
2353
  }
2329
2354
  interface PlatformAppModuleConfigEventDto {
@@ -2331,6 +2356,7 @@ interface PlatformAppModuleConfigEventDto {
2331
2356
  clientId?: string;
2332
2357
  userId?: string;
2333
2358
  operation: string;
2359
+ sessionId?: string;
2334
2360
  record: AppModuleConfigDto;
2335
2361
  }
2336
2362
  interface ModuleConfigEventDto {
@@ -2370,7 +2396,7 @@ interface StringInferenceValue {
2370
2396
  probability: number;
2371
2397
  value: string;
2372
2398
  }
2373
- type anonymous_schema_153 = 'start' | 'stop';
2399
+ type anonymous_schema_163 = 'start' | 'stop';
2374
2400
  interface UserCharacterizationEventDto {
2375
2401
  appId: string;
2376
2402
  clientId?: string;
@@ -2436,6 +2462,15 @@ interface DialogueToolTriggeredEventDto {
2436
2462
  userId?: string;
2437
2463
  sessionId?: string;
2438
2464
  name: string;
2465
+ tool: AppToolsDTO;
2466
+ }
2467
+ interface DialogueToolsChanged {
2468
+ appId: string;
2469
+ clientId?: string;
2470
+ userId?: string;
2471
+ operation: string;
2472
+ sessionId?: string;
2473
+ record: AppToolsDTO[];
2439
2474
  }
2440
2475
  interface SermasSessionDto {
2441
2476
  appId: string;
@@ -2448,6 +2483,7 @@ interface SessionChangedDto {
2448
2483
  clientId?: string;
2449
2484
  userId?: string;
2450
2485
  operation: string;
2486
+ sessionId?: string;
2451
2487
  record: SessionDto;
2452
2488
  }
2453
2489
  interface AgentDto {
@@ -2463,8 +2499,8 @@ interface AgentChangedDto {
2463
2499
  clientId?: string;
2464
2500
  userId?: string;
2465
2501
  operation: string;
2502
+ sessionId?: string;
2466
2503
  moduleId: string;
2467
- sessionId: string;
2468
2504
  record: AgentDto;
2469
2505
  }
2470
2506
  interface SessionSupportEventDto {
@@ -2481,6 +2517,7 @@ interface SessionStorageEventDto {
2481
2517
  clientId?: string;
2482
2518
  userId?: string;
2483
2519
  operation: string;
2520
+ sessionId?: string;
2484
2521
  record: SessionStorageRecordDto;
2485
2522
  }
2486
2523
  interface UIAssetChangedDto {
@@ -2488,6 +2525,7 @@ interface UIAssetChangedDto {
2488
2525
  clientId?: string;
2489
2526
  userId?: string;
2490
2527
  operation: string;
2528
+ sessionId?: string;
2491
2529
  record: UIAssetDto;
2492
2530
  }
2493
2531
  interface UIInteractionEventDto {
@@ -2503,6 +2541,7 @@ interface XRMarkerChangedDto {
2503
2541
  clientId?: string;
2504
2542
  userId?: string;
2505
2543
  operation: string;
2544
+ sessionId?: string;
2506
2545
  record: XRMarkerDto;
2507
2546
  }
2508
2547
  interface XROcclusionDto {
@@ -2645,6 +2684,14 @@ declare class Dialogue {
2645
2684
  appId?: string;
2646
2685
  name?: string;
2647
2686
  }): Promise<() => void>;
2687
+ toolChanged(event: DialogueToolsChanged, params?: {
2688
+ appId?: string;
2689
+ sessionId?: string;
2690
+ }): Promise<boolean>;
2691
+ onToolChanged(fn: (event: DialogueToolsChanged) => void | Promise<void>, params?: {
2692
+ appId?: string;
2693
+ sessionId?: string;
2694
+ }): Promise<() => void>;
2648
2695
  dialogueMessages(event: DialogueMessageDto, params?: {
2649
2696
  appId?: string;
2650
2697
  sessionId?: string;
@@ -2888,4 +2935,4 @@ declare class SermasApiClient {
2888
2935
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
2889
2936
  }
2890
2937
 
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 anonymous_schema_153, type anonymous_schema_88, type anonymous_schema_91, sleep };
2938
+ 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, type InteractionStartTypes, InteractionStartTypesEnum, 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
@@ -289,6 +289,13 @@ type AppClientDto = {
289
289
  type AppPromptDto = {
290
290
  text: string;
291
291
  };
292
+ type InteractionStartTypes = 'on-load' | 'touch' | 'speak' | 'intent-detection';
293
+ declare const InteractionStartTypesEnum: {
294
+ readonly ON_LOAD: "on-load";
295
+ readonly TOUCH: "touch";
296
+ readonly SPEAK: "speak";
297
+ readonly INTENT_DETECTION: "intent-detection";
298
+ };
292
299
  type AppSettingsDto = {
293
300
  ttsEnabled?: boolean;
294
301
  login?: boolean;
@@ -297,6 +304,37 @@ type AppSettingsDto = {
297
304
  llm?: string;
298
305
  background: string;
299
306
  prompt?: AppPromptDto;
307
+ skipWelcomeMessage?: boolean;
308
+ interactionStart?: InteractionStartTypes;
309
+ };
310
+ /**
311
+ * parameter type (one of string,number,boolean,object)
312
+ */
313
+ type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean' | 'object';
314
+ declare const ToolsParameterSchemaTypesEnum: {
315
+ readonly STRING: "string";
316
+ readonly NUMBER: "number";
317
+ readonly BOOLEAN: "boolean";
318
+ readonly OBJECT: "object";
319
+ };
320
+ type ToolsParameterSchema = {
321
+ /**
322
+ * function parameter name
323
+ */
324
+ parameter: string;
325
+ type: ToolsParameterSchemaTypes;
326
+ /**
327
+ * description for the parameter, useful to give an hint while matching from the user input
328
+ */
329
+ description: string;
330
+ /**
331
+ * flag as required
332
+ */
333
+ required?: boolean;
334
+ /**
335
+ * provide a predefined value, useful to fill data otherwise missing from the context
336
+ */
337
+ value?: string | number | boolean;
300
338
  };
301
339
  type ToolsRequestSchemaAuthBasic = {
302
340
  username?: string;
@@ -353,7 +391,7 @@ type ToolsRequestSchema = {
353
391
  type AppToolsDTO = {
354
392
  name: string;
355
393
  description: string;
356
- schema?: Array<string>;
394
+ schema?: Array<ToolsParameterSchema>;
357
395
  request?: ToolsRequestSchema;
358
396
  emitter?: string;
359
397
  returnDirect?: boolean;
@@ -556,6 +594,9 @@ type DialogueDocumentDto = {
556
594
  content: string;
557
595
  metadata: DialogueDocumentMetadataDto;
558
596
  };
597
+ /**
598
+ * Actor providing the text, can be user or agent
599
+ */
559
600
  type DialogueActor = 'user' | 'agent';
560
601
  declare const DialogueActorEnum: {
561
602
  readonly USER: "user";
@@ -579,9 +620,6 @@ type DialogueTextToSpeechDto = {
579
620
  * Unique identifier of the message
580
621
  */
581
622
  messageId?: string;
582
- /**
583
- * Actor providing the text, can be user or agent
584
- */
585
623
  actor?: DialogueActor;
586
624
  /**
587
625
  * Text to convert to speech. If emotion field is set, it will be converted to SSML. If also `ssml` field is set, this field will be ignored
@@ -634,9 +672,6 @@ type DialogueMessageDto = {
634
672
  * Unique identifier of the message
635
673
  */
636
674
  messageId?: string;
637
- /**
638
- * Actor providing the text, can be user or agent
639
- */
640
675
  actor?: DialogueActor;
641
676
  /**
642
677
  * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
@@ -689,6 +724,7 @@ type SessionDto = {
689
724
  modifiedAt: string;
690
725
  createdAt: string;
691
726
  closedAt: string;
727
+ settings?: AppSettingsDto;
692
728
  };
693
729
  type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
694
730
  declare const AgentStatusEnum: {
@@ -1446,7 +1482,7 @@ declare class AuthenticationService {
1446
1482
  authAdminControllerSaveUser(data: TDataAuthAdminControllerSaveUser): CancelablePromise<any>;
1447
1483
  }
1448
1484
 
1449
- type TDataObjecTdEtection = {
1485
+ type TDataObjectDetection = {
1450
1486
  requestBody: ObjectDetectionRequest;
1451
1487
  };
1452
1488
  type TDataDetectionControllerSentimentAnalysis = {
@@ -1474,7 +1510,7 @@ declare class DetectionService {
1474
1510
  * @returns any
1475
1511
  * @throws ApiError
1476
1512
  */
1477
- objecTdEtection(data: TDataObjecTdEtection): CancelablePromise<any>;
1513
+ objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
1478
1514
  /**
1479
1515
  * @returns any
1480
1516
  * @throws ApiError
@@ -1533,9 +1569,6 @@ type TDataText = {
1533
1569
  * Unique identifier of the message
1534
1570
  */
1535
1571
  messageId?: string;
1536
- /**
1537
- * Actor providing the text, can be user or agent
1538
- */
1539
1572
  actor?: DialogueActor;
1540
1573
  /**
1541
1574
  * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
@@ -1579,11 +1612,6 @@ type TDataStopAgentSpeech = {
1579
1612
  appId: string;
1580
1613
  sessionId: string;
1581
1614
  };
1582
- type TDataGetToolsfFromAppId = {
1583
- appId: string;
1584
- requestBody: Array<string>;
1585
- sessionId: string;
1586
- };
1587
1615
  declare class DialogueService {
1588
1616
  readonly httpRequest: BaseHttpRequest;
1589
1617
  constructor(httpRequest: BaseHttpRequest);
@@ -1630,11 +1658,6 @@ declare class DialogueService {
1630
1658
  * @throws ApiError
1631
1659
  */
1632
1660
  import1(): CancelablePromise<any>;
1633
- /**
1634
- * @returns any
1635
- * @throws ApiError
1636
- */
1637
- getToolsfFromAppId(data: TDataGetToolsfFromAppId): CancelablePromise<any>;
1638
1661
  }
1639
1662
 
1640
1663
  type TDataGetClientAccessToken = {
@@ -2303,13 +2326,14 @@ interface PlatformAppChangedDto {
2303
2326
  clientId?: string;
2304
2327
  userId?: string;
2305
2328
  operation: string;
2329
+ sessionId?: string;
2306
2330
  record: PlatformAppDto;
2307
2331
  }
2308
- interface anonymous_schema_88 {
2332
+ interface anonymous_schema_96 {
2309
2333
  username?: string;
2310
2334
  password: string;
2311
2335
  }
2312
- interface anonymous_schema_91 {
2336
+ interface anonymous_schema_99 {
2313
2337
  clientType?: string;
2314
2338
  clientId?: string;
2315
2339
  clientSecret?: string;
@@ -2324,6 +2348,7 @@ interface PlatformAppClientChangedDto {
2324
2348
  clientId?: string;
2325
2349
  userId?: string;
2326
2350
  operation: string;
2351
+ sessionId?: string;
2327
2352
  record: AppClientDto;
2328
2353
  }
2329
2354
  interface PlatformAppModuleConfigEventDto {
@@ -2331,6 +2356,7 @@ interface PlatformAppModuleConfigEventDto {
2331
2356
  clientId?: string;
2332
2357
  userId?: string;
2333
2358
  operation: string;
2359
+ sessionId?: string;
2334
2360
  record: AppModuleConfigDto;
2335
2361
  }
2336
2362
  interface ModuleConfigEventDto {
@@ -2370,7 +2396,7 @@ interface StringInferenceValue {
2370
2396
  probability: number;
2371
2397
  value: string;
2372
2398
  }
2373
- type anonymous_schema_153 = 'start' | 'stop';
2399
+ type anonymous_schema_163 = 'start' | 'stop';
2374
2400
  interface UserCharacterizationEventDto {
2375
2401
  appId: string;
2376
2402
  clientId?: string;
@@ -2436,6 +2462,15 @@ interface DialogueToolTriggeredEventDto {
2436
2462
  userId?: string;
2437
2463
  sessionId?: string;
2438
2464
  name: string;
2465
+ tool: AppToolsDTO;
2466
+ }
2467
+ interface DialogueToolsChanged {
2468
+ appId: string;
2469
+ clientId?: string;
2470
+ userId?: string;
2471
+ operation: string;
2472
+ sessionId?: string;
2473
+ record: AppToolsDTO[];
2439
2474
  }
2440
2475
  interface SermasSessionDto {
2441
2476
  appId: string;
@@ -2448,6 +2483,7 @@ interface SessionChangedDto {
2448
2483
  clientId?: string;
2449
2484
  userId?: string;
2450
2485
  operation: string;
2486
+ sessionId?: string;
2451
2487
  record: SessionDto;
2452
2488
  }
2453
2489
  interface AgentDto {
@@ -2463,8 +2499,8 @@ interface AgentChangedDto {
2463
2499
  clientId?: string;
2464
2500
  userId?: string;
2465
2501
  operation: string;
2502
+ sessionId?: string;
2466
2503
  moduleId: string;
2467
- sessionId: string;
2468
2504
  record: AgentDto;
2469
2505
  }
2470
2506
  interface SessionSupportEventDto {
@@ -2481,6 +2517,7 @@ interface SessionStorageEventDto {
2481
2517
  clientId?: string;
2482
2518
  userId?: string;
2483
2519
  operation: string;
2520
+ sessionId?: string;
2484
2521
  record: SessionStorageRecordDto;
2485
2522
  }
2486
2523
  interface UIAssetChangedDto {
@@ -2488,6 +2525,7 @@ interface UIAssetChangedDto {
2488
2525
  clientId?: string;
2489
2526
  userId?: string;
2490
2527
  operation: string;
2528
+ sessionId?: string;
2491
2529
  record: UIAssetDto;
2492
2530
  }
2493
2531
  interface UIInteractionEventDto {
@@ -2503,6 +2541,7 @@ interface XRMarkerChangedDto {
2503
2541
  clientId?: string;
2504
2542
  userId?: string;
2505
2543
  operation: string;
2544
+ sessionId?: string;
2506
2545
  record: XRMarkerDto;
2507
2546
  }
2508
2547
  interface XROcclusionDto {
@@ -2645,6 +2684,14 @@ declare class Dialogue {
2645
2684
  appId?: string;
2646
2685
  name?: string;
2647
2686
  }): Promise<() => void>;
2687
+ toolChanged(event: DialogueToolsChanged, params?: {
2688
+ appId?: string;
2689
+ sessionId?: string;
2690
+ }): Promise<boolean>;
2691
+ onToolChanged(fn: (event: DialogueToolsChanged) => void | Promise<void>, params?: {
2692
+ appId?: string;
2693
+ sessionId?: string;
2694
+ }): Promise<() => void>;
2648
2695
  dialogueMessages(event: DialogueMessageDto, params?: {
2649
2696
  appId?: string;
2650
2697
  sessionId?: string;
@@ -2888,4 +2935,4 @@ declare class SermasApiClient {
2888
2935
  login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
2889
2936
  }
2890
2937
 
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 anonymous_schema_153, type anonymous_schema_88, type anonymous_schema_91, sleep };
2938
+ 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, type InteractionStartTypes, InteractionStartTypesEnum, 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 };