@sermas/api-client 1.0.0-alpha.100

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 ADDED
@@ -0,0 +1,4192 @@
1
+ import mqtt from 'mqtt';
2
+ export { MqttClient } from 'mqtt';
3
+
4
+ type ApiRequestOptions = {
5
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
6
+ readonly url: string;
7
+ readonly path?: Record<string, unknown>;
8
+ readonly cookies?: Record<string, unknown>;
9
+ readonly headers?: Record<string, unknown>;
10
+ readonly query?: Record<string, unknown>;
11
+ readonly formData?: Record<string, unknown>;
12
+ readonly body?: any;
13
+ readonly mediaType?: string;
14
+ readonly responseHeader?: string;
15
+ readonly errors?: Record<number, string>;
16
+ };
17
+
18
+ interface OnCancel {
19
+ readonly isResolved: boolean;
20
+ readonly isRejected: boolean;
21
+ readonly isCancelled: boolean;
22
+ (cancelHandler: () => void): void;
23
+ }
24
+ declare class CancelablePromise<T> implements Promise<T> {
25
+ private _isResolved;
26
+ private _isRejected;
27
+ private _isCancelled;
28
+ readonly cancelHandlers: (() => void)[];
29
+ readonly promise: Promise<T>;
30
+ private _resolve?;
31
+ private _reject?;
32
+ constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: unknown) => void, onCancel: OnCancel) => void);
33
+ get [Symbol.toStringTag](): string;
34
+ then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
35
+ catch<TResult = never>(onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
36
+ finally(onFinally?: (() => void) | null): Promise<T>;
37
+ cancel(): void;
38
+ get isCancelled(): boolean;
39
+ }
40
+
41
+ type TResult = 'body' | 'raw';
42
+
43
+ type Headers = Record<string, string>;
44
+ type Middleware<T> = (value: T) => T | Promise<T>;
45
+ type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
46
+ declare class Interceptors<T> {
47
+ _fns: Middleware<T>[];
48
+ constructor();
49
+ eject(fn: Middleware<T>): void;
50
+ use(fn: Middleware<T>): void;
51
+ }
52
+ type OpenAPIConfig = {
53
+ BASE: string;
54
+ CREDENTIALS: 'include' | 'omit' | 'same-origin';
55
+ ENCODE_PATH?: ((path: string) => string) | undefined;
56
+ HEADERS?: Headers | Resolver<Headers> | undefined;
57
+ PASSWORD?: string | Resolver<string> | undefined;
58
+ RESULT?: TResult;
59
+ TOKEN?: string | Resolver<string> | undefined;
60
+ USERNAME?: string | Resolver<string> | undefined;
61
+ VERSION: string;
62
+ WITH_CREDENTIALS: boolean;
63
+ interceptors: {
64
+ request: Interceptors<RequestInit>;
65
+ response: Interceptors<Response>;
66
+ };
67
+ };
68
+
69
+ declare abstract class BaseHttpRequest {
70
+ readonly config: OpenAPIConfig;
71
+ constructor(config: OpenAPIConfig);
72
+ abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
73
+ }
74
+
75
+ type PlatformSettingsDto = {
76
+ resources: Record<string, Array<string>>;
77
+ };
78
+ type AccessTokenRequestDto = {
79
+ appId?: string;
80
+ clientId: string;
81
+ clientSecret?: string;
82
+ };
83
+ type JwtTokenDto = {
84
+ access_token: string;
85
+ expires_in: number;
86
+ refresh_expires_in: number;
87
+ refresh_token: string;
88
+ token_type: string;
89
+ id_token: string;
90
+ 'not-before-policy': number;
91
+ session_state: string;
92
+ scope: string;
93
+ };
94
+ type RefreshTokenRequestDto = {
95
+ appId: string;
96
+ /**
97
+ * Reference to the authenticated client the request originated from
98
+ */
99
+ clientId?: string;
100
+ /**
101
+ * Reference to the user interacting with the system
102
+ */
103
+ userId?: string;
104
+ /**
105
+ * Reference date
106
+ */
107
+ ts?: string;
108
+ refreshToken: string;
109
+ clientSecret?: string;
110
+ };
111
+ type RepositoryAssetTypes = 'avatars' | 'backgrounds' | 'robots' | 'documents' | 'animations';
112
+ declare const RepositoryAssetTypesEnum: {
113
+ readonly AVATARS: "avatars";
114
+ readonly BACKGROUNDS: "backgrounds";
115
+ readonly ROBOTS: "robots";
116
+ readonly DOCUMENTS: "documents";
117
+ readonly ANIMATIONS: "animations";
118
+ };
119
+ type RepositoryAssetMetadataDto = {};
120
+ type ModelType = 'readyplayerme' | 'custom';
121
+ declare const ModelTypeEnum: {
122
+ readonly READYPLAYERME: "readyplayerme";
123
+ readonly CUSTOM: "custom";
124
+ };
125
+ type ModelGender = 'M' | 'F';
126
+ declare const ModelGenderEnum: {
127
+ readonly M: "M";
128
+ readonly F: "F";
129
+ };
130
+ type Point3D = {
131
+ x: number;
132
+ y: number;
133
+ z: number;
134
+ };
135
+ type AvatarCameraConfig = {
136
+ position: Point3D;
137
+ rotation: Point3D;
138
+ };
139
+ type RepositoryAvatarDto = {
140
+ id: string;
141
+ type: RepositoryAssetTypes;
142
+ name?: string;
143
+ path: string;
144
+ metadata?: RepositoryAssetMetadataDto;
145
+ modelType: ModelType;
146
+ gender: ModelGender;
147
+ camera?: AvatarCameraConfig;
148
+ cameraMobile?: AvatarCameraConfig;
149
+ prompt?: string;
150
+ };
151
+ type RepositoryBackgroundMetadataDto = {
152
+ credits?: string;
153
+ };
154
+ type RepositoryBackgroundDto = {
155
+ id: string;
156
+ type: RepositoryAssetTypes;
157
+ name?: string;
158
+ path: string;
159
+ metadata?: RepositoryBackgroundMetadataDto;
160
+ };
161
+ type RobotMapDto = {
162
+ imageUrl?: string;
163
+ width?: number;
164
+ height?: number;
165
+ originOffsetX?: number;
166
+ originOffsetY?: number;
167
+ };
168
+ type RepositoryRobotModelDto = {
169
+ id: string;
170
+ type: RepositoryAssetTypes;
171
+ name?: string;
172
+ path: string;
173
+ metadata?: RepositoryAssetMetadataDto;
174
+ videoUrl: string;
175
+ map?: RobotMapDto;
176
+ };
177
+ type RepositoryDocumentDto = {
178
+ id: string;
179
+ type: RepositoryAssetTypes;
180
+ name?: string;
181
+ path: string;
182
+ metadata?: RepositoryAssetMetadataDto;
183
+ };
184
+ type RepositoryAnimationDto = {
185
+ id: string;
186
+ type: RepositoryAssetTypes;
187
+ name?: string;
188
+ path: string;
189
+ metadata?: RepositoryAssetMetadataDto;
190
+ };
191
+ type RepositoryConfigDto = {
192
+ avatars: Array<RepositoryAvatarDto>;
193
+ backgrounds: Array<RepositoryBackgroundDto>;
194
+ robots?: Array<RepositoryRobotModelDto>;
195
+ documents?: Array<RepositoryDocumentDto>;
196
+ animations?: Array<RepositoryAnimationDto>;
197
+ };
198
+ type KeycloakCredentials = {
199
+ credentialData: string;
200
+ temporary: boolean;
201
+ };
202
+ type AppUserDto = {
203
+ enabled: boolean;
204
+ username: string;
205
+ email: string;
206
+ emailVerified: boolean;
207
+ credentials: KeycloakCredentials;
208
+ realmRoles: Array<string>;
209
+ clientRoles: Array<string>;
210
+ groups: Array<string>;
211
+ password: string;
212
+ firstName?: string;
213
+ lastName?: string;
214
+ attributes: Record<string, unknown>;
215
+ appId?: string;
216
+ };
217
+ /**
218
+ * parameter type (one of string,number,boolean,object)
219
+ */
220
+ type ToolsParameterSchemaTypes = 'string' | 'number' | 'boolean' | 'object';
221
+ declare const ToolsParameterSchemaTypesEnum: {
222
+ readonly STRING: "string";
223
+ readonly NUMBER: "number";
224
+ readonly BOOLEAN: "boolean";
225
+ readonly OBJECT: "object";
226
+ };
227
+ type ToolsParameterSchema = {
228
+ /**
229
+ * function parameter name
230
+ */
231
+ parameter: string;
232
+ type: ToolsParameterSchemaTypes;
233
+ /**
234
+ * description for the parameter, useful to give an hint while matching from the user input
235
+ */
236
+ description: string;
237
+ /**
238
+ * flag as required
239
+ */
240
+ ignore?: boolean;
241
+ /**
242
+ * provide a predefined value, useful to fill data otherwise missing from the context
243
+ */
244
+ value?: string | number | boolean;
245
+ };
246
+ type ToolsRequestSchemaAuthBasic = {
247
+ username?: string;
248
+ password: string;
249
+ };
250
+ type ToolsRequestSchemaAuthBearer = {
251
+ /**
252
+ * Supported options are "client_credentials" or "password".
253
+ */
254
+ clientType?: string;
255
+ /**
256
+ * Required for client type "client_credentials"
257
+ */
258
+ clientId?: string;
259
+ /**
260
+ * Required for client type "client_credentials"
261
+ */
262
+ clientSecret?: string;
263
+ /**
264
+ * Required for client type "password"
265
+ */
266
+ username?: string;
267
+ /**
268
+ * Required for client type "password"
269
+ */
270
+ password?: string;
271
+ audience?: string;
272
+ tokenUrl: string;
273
+ refreshUrl?: string;
274
+ };
275
+ type ToolsRequestSchema = {
276
+ /**
277
+ * Supported options are basic, bearer and module. Defaults to module if not specified.
278
+ */
279
+ auth?: string;
280
+ /**
281
+ * Used for "basic" auth type
282
+ */
283
+ basic?: ToolsRequestSchemaAuthBasic;
284
+ /**
285
+ * Used for "bearer" auth type
286
+ */
287
+ bearer?: ToolsRequestSchemaAuthBearer;
288
+ /**
289
+ * Reference to one of the modules (or clients) available in the app
290
+ */
291
+ moduleId: string;
292
+ /**
293
+ * Url to call with a JSON POST. Leave empty to skip API calling
294
+ */
295
+ url: string;
296
+ headers?: Record<string, unknown>;
297
+ };
298
+ type AppToolsDTO = {
299
+ /**
300
+ * Tool name used in the LLM, a descriptive name may help in identifying it correctly
301
+ */
302
+ name: string;
303
+ /**
304
+ * Tool description used in the LLM, this is key to correctly match the user intent
305
+ */
306
+ description: string;
307
+ /**
308
+ * List of parameters of the tool
309
+ */
310
+ schema?: Array<ToolsParameterSchema>;
311
+ /**
312
+ * Provide details to trigger an HTTP API call on tool match
313
+ */
314
+ request?: ToolsRequestSchema;
315
+ /**
316
+ * Internal event emitted on match
317
+ */
318
+ emitter?: string;
319
+ returnDirect?: boolean;
320
+ /**
321
+ * Ignore the LLM response when the tool matches
322
+ */
323
+ skipResponse?: boolean;
324
+ /**
325
+ * API url to call on tool match, defaults to unauthenticated POST if no `request` are provided.
326
+ */
327
+ url?: string;
328
+ };
329
+ type ModuleResourceDto = {
330
+ /**
331
+ * Resource of the module operation
332
+ */
333
+ resource: string;
334
+ /**
335
+ * Scope of the module operation
336
+ */
337
+ scope: string;
338
+ /**
339
+ * Additional context, added to the request and event topic when triggered. Can contain variable substituted from the payload, such as :appId
340
+ */
341
+ context?: Array<string>;
342
+ /**
343
+ * Name of the module operation
344
+ */
345
+ name?: string;
346
+ /**
347
+ * Description of the module operation
348
+ */
349
+ description?: string;
350
+ /**
351
+ * Unique identifier of the module
352
+ */
353
+ moduleId: string;
354
+ /**
355
+ * Operation to call from the module OpenAPI spec
356
+ */
357
+ operationId: string;
358
+ /**
359
+ * Indicate if an event should be emitted when this module resource is triggered. The format is app/:appId/<resource>/<scope>/[...context]
360
+ */
361
+ emitEvent?: boolean;
362
+ };
363
+ type ModuleSettingsDto = {
364
+ /**
365
+ * Service URL used to load .well-known
366
+ */
367
+ url?: string;
368
+ /**
369
+ * Reference to a openapi specification to use to map requests to the modules
370
+ */
371
+ openapiSpec: string;
372
+ /**
373
+ * Reference to a asyncAPI specification to use to map requests to the modules
374
+ */
375
+ asyncapiSpec: string;
376
+ /**
377
+ * List of managed resources and scopes for this module
378
+ */
379
+ resources: Array<ModuleResourceDto>;
380
+ };
381
+ type AppModuleConfigDto = {
382
+ moduleId: string;
383
+ /**
384
+ * Status of the module. `enabled` by default. can be `disabled`. Set to `failure` if loading generates errors.
385
+ */
386
+ status?: string;
387
+ name?: string;
388
+ description?: string;
389
+ supports: Array<string>;
390
+ config: ModuleSettingsDto;
391
+ secret?: string;
392
+ appId?: string;
393
+ };
394
+ type AppClientDto = {
395
+ appId?: string;
396
+ name: string;
397
+ /**
398
+ * The clientId, must be unique in the client list and in uuid format.
399
+ */
400
+ clientId?: string;
401
+ secret?: string;
402
+ /**
403
+ * A list of permissions for this client in the form [resource].[scope] e.g. detection.intent. User *.* for all permission
404
+ */
405
+ permissions: Array<string>;
406
+ };
407
+ type LLMSettingsDto = {};
408
+ type AppPromptDto = {
409
+ text: string;
410
+ };
411
+ type InteractionStartTypes = 'on-load' | 'touch' | 'speak' | 'intent-detection';
412
+ declare const InteractionStartTypesEnum: {
413
+ readonly ON_LOAD: "on-load";
414
+ readonly TOUCH: "touch";
415
+ readonly SPEAK: "speak";
416
+ readonly INTENT_DETECTION: "intent-detection";
417
+ };
418
+ type AppSettingsDto = {
419
+ skipToolResponse?: boolean;
420
+ ttsEnabled?: boolean;
421
+ login?: boolean;
422
+ avatar: string;
423
+ language?: string;
424
+ llm?: LLMSettingsDto;
425
+ background: string;
426
+ prompt?: AppPromptDto;
427
+ skipWelcomeMessage?: boolean;
428
+ interactionStart?: InteractionStartTypes;
429
+ theme?: Record<string, unknown>;
430
+ };
431
+ type TaskIntentDto = {
432
+ /**
433
+ * Intent name used as identifier
434
+ */
435
+ name: string;
436
+ /**
437
+ * Intent description used to match with user input
438
+ */
439
+ description?: string;
440
+ };
441
+ /**
442
+ * Status of the task
443
+ */
444
+ type TaskEventType = 'started' | 'completed' | 'ongoing' | 'aborted';
445
+ declare const TaskEventTypeEnum: {
446
+ readonly STARTED: "started";
447
+ readonly COMPLETED: "completed";
448
+ readonly ONGOING: "ongoing";
449
+ readonly ABORTED: "aborted";
450
+ };
451
+ type TaskEventTriggerDto = {
452
+ /**
453
+ * Tool to trigger
454
+ */
455
+ name?: string;
456
+ /**
457
+ * Tool values passed to the tool handlers
458
+ */
459
+ values?: Record<string, unknown>;
460
+ /**
461
+ * Evalute the condition based on values. {key} is replaced with its value.
462
+ */
463
+ condition?: string;
464
+ };
465
+ type TaskEventDto = {
466
+ type: TaskEventType;
467
+ /**
468
+ * Chat message to send to the user
469
+ */
470
+ message?: string;
471
+ /**
472
+ * Condition to trigger the event
473
+ */
474
+ condition?: string;
475
+ /**
476
+ * Trigger a tool
477
+ */
478
+ trigger?: Array<TaskEventTriggerDto>;
479
+ };
480
+ /**
481
+ * Data type
482
+ */
483
+ type TaskSchemaDataType = 'text' | 'boolean' | 'date' | 'select' | 'eval' | 'external';
484
+ declare const TaskSchemaDataTypeEnum: {
485
+ readonly TEXT: "text";
486
+ readonly BOOLEAN: "boolean";
487
+ readonly DATE: "date";
488
+ readonly SELECT: "select";
489
+ readonly EVAL: "eval";
490
+ readonly EXTERNAL: "external";
491
+ };
492
+ type OptionSelection = {
493
+ /**
494
+ * Selection value
495
+ */
496
+ value: string;
497
+ /**
498
+ * Selection label (value is used if not provided)
499
+ */
500
+ label?: string;
501
+ /**
502
+ * Description for an option
503
+ */
504
+ description?: string;
505
+ };
506
+ type TaskFieldDto = {
507
+ /**
508
+ * Name of the field
509
+ */
510
+ name: string;
511
+ /**
512
+ * Label of the field
513
+ */
514
+ label?: string;
515
+ /**
516
+ * Priority order (lower first)
517
+ */
518
+ order?: number;
519
+ type: TaskSchemaDataType;
520
+ /**
521
+ * Indicate if the field is required
522
+ */
523
+ required?: boolean;
524
+ /**
525
+ * A prompt to validate and transform the input
526
+ */
527
+ validation?: string;
528
+ /**
529
+ * Provde an activation condition based on the stored record list. If omitted, the field is always proposed to the user.
530
+ */
531
+ condition?: string;
532
+ /**
533
+ * Provde a prompt for type=evaluate based on the available record fields. Placeholders such as {field-name} are replaced with the value of the field.
534
+ */
535
+ prompt?: string;
536
+ /**
537
+ * Provde an handler for type=external to delegate the field handling to an external service
538
+ */
539
+ handler?: string;
540
+ /**
541
+ * Allow to select multiple options
542
+ */
543
+ multiple?: boolean;
544
+ /**
545
+ * List of valid options
546
+ */
547
+ options?: Array<OptionSelection>;
548
+ };
549
+ type DialogueToolsRepositoryOptionsDto = {
550
+ /**
551
+ * Trigger one of the tools in the list once, then remove the tools.
552
+ */
553
+ triggerOnce?: boolean;
554
+ /**
555
+ * Alter the normal chat flow, assuming one of the available tools will provide an answer.
556
+ */
557
+ exclusive?: boolean;
558
+ };
559
+ type TaskOptionsDto = {
560
+ /**
561
+ * Trigger this task once, then remove it
562
+ */
563
+ triggerOnce?: boolean;
564
+ /**
565
+ * Remove record on completion
566
+ */
567
+ removeRecord?: boolean;
568
+ /**
569
+ * Enable this task as tool, allowing users to invoke it directly
570
+ */
571
+ enableTool?: boolean;
572
+ /**
573
+ * Additional tool options configuration
574
+ */
575
+ toolOptions?: DialogueToolsRepositoryOptionsDto;
576
+ /**
577
+ * ID of the tool repository to add the tool to
578
+ */
579
+ repositoryId?: string;
580
+ /**
581
+ * Show this tool to the user, such as in the welcome message
582
+ */
583
+ list?: boolean;
584
+ /**
585
+ * Allow this task to be completed only once per session
586
+ */
587
+ oncePerSession?: boolean;
588
+ /**
589
+ * Cancel the task if the user answer does not match one of the task options
590
+ */
591
+ matchOrRemove?: boolean;
592
+ };
593
+ type DialogueTaskDto = {
594
+ /**
595
+ * Task ID
596
+ */
597
+ taskId: string;
598
+ /**
599
+ * Application ID references
600
+ */
601
+ appId: string;
602
+ /**
603
+ * Session ID references
604
+ */
605
+ sessionId?: string;
606
+ /**
607
+ * Task name
608
+ */
609
+ name: string;
610
+ /**
611
+ * Task description
612
+ */
613
+ description?: string;
614
+ /**
615
+ * A list of intents to evaluate when the user interacts with the agent
616
+ */
617
+ intents?: Array<TaskIntentDto>;
618
+ /**
619
+ * Map task events
620
+ */
621
+ events?: Array<TaskEventDto>;
622
+ /**
623
+ * Task fields
624
+ */
625
+ fields: Array<TaskFieldDto>;
626
+ /**
627
+ * Task options
628
+ */
629
+ options?: TaskOptionsDto;
630
+ };
631
+ type RagDocumentsDto = {};
632
+ type PlatformAppDto = {
633
+ appId: string;
634
+ public?: boolean;
635
+ name: string;
636
+ description: string;
637
+ /**
638
+ * Owner of the application
639
+ */
640
+ ownerId: string;
641
+ modules: Array<AppModuleConfigDto>;
642
+ repository: RepositoryConfigDto;
643
+ clients: Array<AppClientDto>;
644
+ settings?: AppSettingsDto;
645
+ createdAt?: string;
646
+ updatedAt?: string;
647
+ /**
648
+ * Application tools offered by the application
649
+ */
650
+ tools?: Array<AppToolsDTO>;
651
+ /**
652
+ * Structured tasks offered by the application
653
+ */
654
+ tasks?: Array<DialogueTaskDto>;
655
+ /**
656
+ * List of RAG documents or urls to import
657
+ */
658
+ rag?: RagDocumentsDto;
659
+ };
660
+ type CreatePlatformAppDto = {
661
+ public?: boolean;
662
+ name: string;
663
+ description: string;
664
+ /**
665
+ * Owner of the application
666
+ */
667
+ ownerId: string;
668
+ modules: Array<AppModuleConfigDto>;
669
+ repository: RepositoryConfigDto;
670
+ clients: Array<AppClientDto>;
671
+ settings?: AppSettingsDto;
672
+ /**
673
+ * Application tools offered by the application
674
+ */
675
+ tools?: Array<AppToolsDTO>;
676
+ /**
677
+ * Structured tasks offered by the application
678
+ */
679
+ tasks?: Array<DialogueTaskDto>;
680
+ /**
681
+ * List of RAG documents or urls to import
682
+ */
683
+ rag?: RagDocumentsDto;
684
+ };
685
+ type PlatformAppExportFilterDto = {
686
+ name?: string;
687
+ appId?: Array<string>;
688
+ };
689
+ type DialogueDocumentMetadataDto = {
690
+ uri?: string;
691
+ source?: string;
692
+ };
693
+ type DialogueDocumentOptionsDto = {
694
+ /**
695
+ * Define the document splitting strategy. "phrase" split by sentence, "single-line" use each line as document, "double-line" use double break-line as document
696
+ */
697
+ parser?: Record<string, unknown>;
698
+ };
699
+ type DialogueDocumentDto = {
700
+ appId: string;
701
+ documentId: string;
702
+ content: string;
703
+ metadata: DialogueDocumentMetadataDto;
704
+ /**
705
+ * Configure the document import handling, such as parser
706
+ */
707
+ options: DialogueDocumentOptionsDto;
708
+ };
709
+ type RagWebsiteDto = {
710
+ appId: string;
711
+ url: string;
712
+ filterPaths: Array<string>;
713
+ };
714
+ type KeycloakJwtTokenResourceAccess = {};
715
+ type AuthJwtUser = {
716
+ exp: number;
717
+ iat: number;
718
+ auth_time: number;
719
+ jti: string;
720
+ iss: string;
721
+ aud: string;
722
+ sub: string;
723
+ typ: string;
724
+ azp: string;
725
+ nonce: string;
726
+ session_state: string;
727
+ acr: string;
728
+ scope: string;
729
+ sid: string;
730
+ email_verified: boolean;
731
+ name: string;
732
+ preferred_username: string;
733
+ given_name: string;
734
+ family_name: string;
735
+ email: string;
736
+ realm_access: KeycloakJwtTokenResourceAccess;
737
+ resource_access: KeycloakJwtTokenResourceAccess;
738
+ role: string;
739
+ appId: Array<string>;
740
+ roles: Array<string>;
741
+ };
742
+ type LoginRequestDto = {
743
+ appId: string;
744
+ /**
745
+ * Reference to the authenticated client the request originated from
746
+ */
747
+ clientId?: string;
748
+ /**
749
+ * Reference to the user interacting with the system
750
+ */
751
+ userId?: string;
752
+ /**
753
+ * Reference date
754
+ */
755
+ ts?: string;
756
+ username: string;
757
+ password: string;
758
+ };
759
+ type LoginResponseDto = {
760
+ access_token: string;
761
+ expires_in: number;
762
+ refresh_expires_in: number;
763
+ refresh_token: string;
764
+ token_type: string;
765
+ session_state: string;
766
+ scope: string;
767
+ };
768
+ type RegistrationRequestDto = {
769
+ appId: string;
770
+ /**
771
+ * Reference to the authenticated client the request originated from
772
+ */
773
+ clientId?: string;
774
+ /**
775
+ * Reference to the user interacting with the system
776
+ */
777
+ userId?: string;
778
+ /**
779
+ * Reference date
780
+ */
781
+ ts?: string;
782
+ firstName?: string;
783
+ lastName?: string;
784
+ username: string;
785
+ email: string;
786
+ password: string;
787
+ };
788
+ type RegistrationResponseDto = {
789
+ userId: string;
790
+ };
791
+ type AuthorizationUser = {
792
+ moduleId: string;
793
+ resource: Array<string>;
794
+ scopes: Array<string>;
795
+ };
796
+ type UpdateUserRequestDto = {
797
+ appId: string;
798
+ /**
799
+ * Reference to the authenticated client the request originated from
800
+ */
801
+ clientId?: string;
802
+ /**
803
+ * Reference to the user interacting with the system
804
+ */
805
+ userId?: string;
806
+ /**
807
+ * Reference date
808
+ */
809
+ ts?: string;
810
+ password?: string;
811
+ roles?: string;
812
+ enabled?: boolean;
813
+ authorization?: Array<AuthorizationUser>;
814
+ };
815
+ type PlatformModuleConfigDto = {
816
+ moduleId: string;
817
+ /**
818
+ * Status of the module. `enabled` by default. can be `disabled`. Set to `failure` if loading generates errors.
819
+ */
820
+ status?: string;
821
+ name?: string;
822
+ description?: string;
823
+ supports: Array<string>;
824
+ config: ModuleSettingsDto;
825
+ secret?: string;
826
+ };
827
+ type ObjectDetectionType = 'CARRIED_OBJECT';
828
+ declare const ObjectDetectionTypeEnum: {
829
+ readonly CARRIED_OBJECT: "CARRIED_OBJECT";
830
+ };
831
+ type ObjectDetectionRequest = {
832
+ appId: string;
833
+ /**
834
+ * Reference to the authenticated client the request originated from
835
+ */
836
+ clientId?: string;
837
+ /**
838
+ * Reference to the user interacting with the system
839
+ */
840
+ userId?: string;
841
+ /**
842
+ * Reference date
843
+ */
844
+ ts?: string;
845
+ image: string;
846
+ detectionType: ObjectDetectionType;
847
+ filter: Array<string>;
848
+ };
849
+ type SentimentAnalysisRequest = {
850
+ appId: string;
851
+ /**
852
+ * Reference to the authenticated client the request originated from
853
+ */
854
+ clientId?: string;
855
+ /**
856
+ * Reference to the user interacting with the system
857
+ */
858
+ userId?: string;
859
+ /**
860
+ * Reference date
861
+ */
862
+ ts?: string;
863
+ text: string;
864
+ };
865
+ type UserInteractionIntentionDto = {
866
+ appId: string;
867
+ /**
868
+ * Reference to the authenticated client the request originated from
869
+ */
870
+ clientId?: string;
871
+ /**
872
+ * Reference to the user interacting with the system
873
+ */
874
+ userId?: string;
875
+ /**
876
+ * Reference date
877
+ */
878
+ ts?: string;
879
+ /**
880
+ * Module generating the event
881
+ */
882
+ moduleId: string;
883
+ source: string;
884
+ probability: number;
885
+ interactionType: 'start' | 'stop';
886
+ sessionId: string;
887
+ };
888
+ declare const InteractionTypeEnum: {
889
+ readonly START: "start";
890
+ readonly STOP: "stop";
891
+ };
892
+ /**
893
+ * Actor providing the text, can be user or agent
894
+ */
895
+ type DialogueActor = 'user' | 'agent';
896
+ declare const DialogueActorEnum: {
897
+ readonly USER: "user";
898
+ readonly AGENT: "agent";
899
+ };
900
+ type DialogueTextToSpeechDto = {
901
+ appId: string;
902
+ /**
903
+ * Reference to the authenticated client the request originated from
904
+ */
905
+ clientId?: string;
906
+ /**
907
+ * Reference to the user interacting with the system
908
+ */
909
+ userId?: string;
910
+ /**
911
+ * Reference date
912
+ */
913
+ ts?: string;
914
+ /**
915
+ * User session identifier
916
+ */
917
+ sessionId?: string;
918
+ actor?: DialogueActor;
919
+ /**
920
+ * 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
921
+ */
922
+ text?: string;
923
+ /**
924
+ * Assistant gender (M or F)
925
+ */
926
+ gender?: string;
927
+ /**
928
+ * Text language
929
+ */
930
+ language?: string;
931
+ /**
932
+ * User emotion, if available
933
+ */
934
+ emotion?: string;
935
+ /**
936
+ * LLM engine to use
937
+ */
938
+ llm?: LLMSettingsDto;
939
+ /**
940
+ * The avatar id used for interaction
941
+ */
942
+ avatar?: string;
943
+ /**
944
+ * Unique sortable ID used to group and sort messages
945
+ */
946
+ messageId?: string;
947
+ /**
948
+ * Unique sortable ID used to sort chunks from the same messageId
949
+ */
950
+ chunkId?: string;
951
+ /**
952
+ * SSML markup to render as speech.
953
+ */
954
+ ssml?: string;
955
+ };
956
+ type DialogueMessageDto = {
957
+ appId: string;
958
+ /**
959
+ * Reference to the authenticated client the request originated from
960
+ */
961
+ clientId?: string;
962
+ /**
963
+ * Reference to the user interacting with the system
964
+ */
965
+ userId?: string;
966
+ /**
967
+ * Reference date
968
+ */
969
+ ts?: string;
970
+ /**
971
+ * User session identifier
972
+ */
973
+ sessionId?: string;
974
+ actor?: DialogueActor;
975
+ /**
976
+ * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
977
+ */
978
+ text: string;
979
+ /**
980
+ * Assistant gender (M or F)
981
+ */
982
+ gender?: string;
983
+ /**
984
+ * Text language
985
+ */
986
+ language?: string;
987
+ /**
988
+ * User emotion, if available
989
+ */
990
+ emotion?: string;
991
+ /**
992
+ * LLM engine to use
993
+ */
994
+ llm?: LLMSettingsDto;
995
+ /**
996
+ * The avatar id used for interaction
997
+ */
998
+ avatar?: string;
999
+ /**
1000
+ * Unique sortable ID used to group and sort messages
1001
+ */
1002
+ messageId?: string;
1003
+ /**
1004
+ * Unique sortable ID used to sort chunks from the same messageId
1005
+ */
1006
+ chunkId?: string;
1007
+ };
1008
+ /**
1009
+ * role of the message provider
1010
+ */
1011
+ type LLMRole = 'system' | 'user' | 'assistant';
1012
+ declare const LLMRoleEnum: {
1013
+ readonly SYSTEM: "system";
1014
+ readonly USER: "user";
1015
+ readonly ASSISTANT: "assistant";
1016
+ };
1017
+ /**
1018
+ * type of message, default to "message"
1019
+ */
1020
+ type MemoryMessageType = 'message' | 'task' | 'tool';
1021
+ declare const MemoryMessageTypeEnum: {
1022
+ readonly MESSAGE: "message";
1023
+ readonly TASK: "task";
1024
+ readonly TOOL: "tool";
1025
+ };
1026
+ type DialogueMemoryMessageDto = {
1027
+ content: string;
1028
+ role: LLMRole;
1029
+ type?: MemoryMessageType;
1030
+ name?: string;
1031
+ ts: string;
1032
+ metadata?: Record<string, unknown>;
1033
+ };
1034
+ type DialogueTaskRecordDto = {
1035
+ /**
1036
+ * Record ID
1037
+ */
1038
+ recordId: string;
1039
+ /**
1040
+ * Task ID
1041
+ */
1042
+ taskId: string;
1043
+ /**
1044
+ * Application ID reference
1045
+ */
1046
+ appId: string;
1047
+ /**
1048
+ * Session ID reference
1049
+ */
1050
+ sessionId: string;
1051
+ status?: TaskEventType;
1052
+ /**
1053
+ * Stored values
1054
+ */
1055
+ values: Record<string, unknown>;
1056
+ /**
1057
+ * Updated date
1058
+ */
1059
+ updated?: string;
1060
+ /**
1061
+ * Creation date
1062
+ */
1063
+ created?: string;
1064
+ };
1065
+ type DialogueToolsRepositoryDto = {
1066
+ appId: string;
1067
+ /**
1068
+ * Reference to the authenticated client the request originated from
1069
+ */
1070
+ clientId?: string;
1071
+ /**
1072
+ * Reference to the user interacting with the system
1073
+ */
1074
+ userId?: string;
1075
+ /**
1076
+ * Reference date
1077
+ */
1078
+ ts?: string;
1079
+ /**
1080
+ * Track the interaction session, if available
1081
+ */
1082
+ sessionId?: string;
1083
+ /**
1084
+ * Tool repository ID
1085
+ */
1086
+ repositoryId?: string;
1087
+ /**
1088
+ * Tool repository options
1089
+ */
1090
+ options?: DialogueToolsRepositoryOptionsDto;
1091
+ /**
1092
+ * Tools list
1093
+ */
1094
+ tools?: Array<unknown[]>;
1095
+ };
1096
+ type SessionSearchFilter = {
1097
+ /**
1098
+ * filter query
1099
+ */
1100
+ query?: Record<string, unknown>;
1101
+ /**
1102
+ * results limit
1103
+ */
1104
+ limit?: number;
1105
+ /**
1106
+ * results to skip from beginning
1107
+ */
1108
+ skip?: number;
1109
+ /**
1110
+ * result sorting
1111
+ */
1112
+ sort?: Record<string, unknown>;
1113
+ };
1114
+ type SessionProperties = {
1115
+ /**
1116
+ * Reference to the current tool repository
1117
+ */
1118
+ repositoryId?: string;
1119
+ };
1120
+ type SessionDto = {
1121
+ appId: string;
1122
+ /**
1123
+ * Reference to the authenticated client the request originated from
1124
+ */
1125
+ clientId?: string;
1126
+ /**
1127
+ * Reference to the user interacting with the system
1128
+ */
1129
+ userId?: string;
1130
+ /**
1131
+ * Reference date
1132
+ */
1133
+ ts?: string;
1134
+ sessionId?: string;
1135
+ /**
1136
+ * Agent instance associated to the session
1137
+ */
1138
+ agentId?: string;
1139
+ /**
1140
+ * Collect inferred identifiers of user interacting with the agent during a session.
1141
+ */
1142
+ user?: Array<string>;
1143
+ modifiedAt: string;
1144
+ createdAt: string;
1145
+ closedAt: string;
1146
+ settings?: AppSettingsDto;
1147
+ properties?: SessionProperties;
1148
+ };
1149
+ type SessionSupportRequestDto = {
1150
+ appId: string;
1151
+ /**
1152
+ * Reference to the authenticated client the request originated from
1153
+ */
1154
+ clientId?: string;
1155
+ /**
1156
+ * Reference to the user interacting with the system
1157
+ */
1158
+ userId?: string;
1159
+ /**
1160
+ * Reference date
1161
+ */
1162
+ ts?: string;
1163
+ sessionId: string;
1164
+ code: string;
1165
+ message: string;
1166
+ };
1167
+ type SessionSupportResponseDto = {
1168
+ appId: string;
1169
+ /**
1170
+ * Reference to the authenticated client the request originated from
1171
+ */
1172
+ clientId?: string;
1173
+ /**
1174
+ * Reference to the user interacting with the system
1175
+ */
1176
+ userId?: string;
1177
+ /**
1178
+ * Reference date
1179
+ */
1180
+ ts?: string;
1181
+ supportId: string;
1182
+ };
1183
+ type SessionStorageRecordDto = {
1184
+ appId: string;
1185
+ /**
1186
+ * Reference to the authenticated client the request originated from
1187
+ */
1188
+ clientId?: string;
1189
+ /**
1190
+ * Reference to the user interacting with the system
1191
+ */
1192
+ userId?: string;
1193
+ /**
1194
+ * Reference date
1195
+ */
1196
+ ts?: string;
1197
+ storageId?: string;
1198
+ sessionId?: string;
1199
+ data: Record<string, unknown>;
1200
+ };
1201
+ type SessionStorageSearchDto = {
1202
+ appId: string;
1203
+ userId?: Array<string>;
1204
+ sessionId?: Array<string>;
1205
+ storageId?: Array<string>;
1206
+ };
1207
+ type AgentStatus = 'unavailable' | 'error' | 'not_ready' | 'ready' | 'loading' | 'interacting' | 'waiting' | 'processing';
1208
+ declare const AgentStatusEnum: {
1209
+ readonly UNAVAILABLE: "unavailable";
1210
+ readonly ERROR: "error";
1211
+ readonly NOT_READY: "not_ready";
1212
+ readonly READY: "ready";
1213
+ readonly LOADING: "loading";
1214
+ readonly INTERACTING: "interacting";
1215
+ readonly WAITING: "waiting";
1216
+ readonly PROCESSING: "processing";
1217
+ };
1218
+ type AgentHeartBeatEventDto = {
1219
+ appId: string;
1220
+ /**
1221
+ * Reference to the authenticated client the request originated from
1222
+ */
1223
+ clientId?: string;
1224
+ /**
1225
+ * Reference to the user interacting with the system
1226
+ */
1227
+ userId?: string;
1228
+ /**
1229
+ * Reference date
1230
+ */
1231
+ ts?: string;
1232
+ /**
1233
+ * Track the interaction session, if available
1234
+ */
1235
+ sessionId?: string;
1236
+ agentId?: string;
1237
+ moduleId: string;
1238
+ status: AgentStatus;
1239
+ settings?: AppSettingsDto;
1240
+ };
1241
+ type AgentEvaluatePromptOptionsDto = {
1242
+ /**
1243
+ * Include chat history
1244
+ */
1245
+ history?: boolean;
1246
+ /**
1247
+ * Include contents from documents
1248
+ */
1249
+ documents?: boolean;
1250
+ /**
1251
+ * Include application prompt
1252
+ */
1253
+ app?: boolean;
1254
+ /**
1255
+ * Use specified avatar characterization prompt
1256
+ */
1257
+ avatar?: string;
1258
+ /**
1259
+ * Provide response as JSON
1260
+ */
1261
+ json?: boolean;
1262
+ /**
1263
+ * Response language
1264
+ */
1265
+ language?: string;
1266
+ };
1267
+ /**
1268
+ * LLM provider
1269
+ */
1270
+ type LLMProvider = 'ollama' | 'openai' | 'groq' | 'antrophic';
1271
+ declare const LLMProviderEnum: {
1272
+ readonly OLLAMA: "ollama";
1273
+ readonly OPENAI: "openai";
1274
+ readonly GROQ: "groq";
1275
+ readonly ANTROPHIC: "antrophic";
1276
+ };
1277
+ type AgentEvaluatePromptDto = {
1278
+ appId: string;
1279
+ /**
1280
+ * Reference to the authenticated client the request originated from
1281
+ */
1282
+ clientId?: string;
1283
+ /**
1284
+ * Reference to the user interacting with the system
1285
+ */
1286
+ userId?: string;
1287
+ /**
1288
+ * Reference date
1289
+ */
1290
+ ts?: string;
1291
+ /**
1292
+ * Id of the session
1293
+ */
1294
+ sessionId?: string;
1295
+ /**
1296
+ * Prompt to evaluate
1297
+ */
1298
+ prompt: string;
1299
+ /**
1300
+ * Prompt options
1301
+ */
1302
+ options?: AgentEvaluatePromptOptionsDto;
1303
+ provider?: LLMProvider;
1304
+ /**
1305
+ * LLM provider model name
1306
+ */
1307
+ model?: string;
1308
+ };
1309
+ /**
1310
+ * Response format (text,string)
1311
+ */
1312
+ type AgentEvaluatePromptFormat = 'text' | 'string';
1313
+ declare const AgentEvaluatePromptFormatEnum: {
1314
+ readonly TEXT: "text";
1315
+ readonly STRING: "string";
1316
+ };
1317
+ type AgentEvaluatePromptResponseDto = {
1318
+ /**
1319
+ * Result of the call
1320
+ */
1321
+ result: Record<string, unknown>;
1322
+ format: AgentEvaluatePromptFormat;
1323
+ };
1324
+ type UIContentMetadataDto = {
1325
+ /**
1326
+ * Reference to a tool repository ID
1327
+ */
1328
+ repositoryId?: string;
1329
+ };
1330
+ type UIContentOptionsDto = {
1331
+ /**
1332
+ * Clear the UI screen
1333
+ */
1334
+ clearScreen?: boolean;
1335
+ /**
1336
+ * Enable agent reading the content (text to speech)
1337
+ */
1338
+ ttsEnabled?: boolean;
1339
+ /**
1340
+ * Stop the agent speech
1341
+ */
1342
+ stopSpeech?: boolean;
1343
+ /**
1344
+ * Define the language of the content, it will be translated based on the language selected by the user.
1345
+ */
1346
+ language?: string;
1347
+ };
1348
+ type SupportedContentTypes = 'video' | 'image' | 'pdf' | 'webpage' | 'object' | 'text' | 'email' | 'html' | 'link' | 'dialogue-message' | 'navigation' | 'buttons' | 'quiz' | 'clear-screen' | 'qrcode-scanner';
1349
+ declare const SupportedContentTypesEnum: {
1350
+ readonly VIDEO: "video";
1351
+ readonly IMAGE: "image";
1352
+ readonly PDF: "pdf";
1353
+ readonly WEBPAGE: "webpage";
1354
+ readonly OBJECT: "object";
1355
+ readonly TEXT: "text";
1356
+ readonly EMAIL: "email";
1357
+ readonly HTML: "html";
1358
+ readonly LINK: "link";
1359
+ readonly DIALOGUE_MESSAGE: "dialogue-message";
1360
+ readonly NAVIGATION: "navigation";
1361
+ readonly BUTTONS: "buttons";
1362
+ readonly QUIZ: "quiz";
1363
+ readonly CLEAR_SCREEN: "clear-screen";
1364
+ readonly QRCODE_SCANNER: "qrcode-scanner";
1365
+ };
1366
+ type ImageContentDto = {
1367
+ src: string;
1368
+ width?: number;
1369
+ height?: number;
1370
+ alt: string;
1371
+ };
1372
+ type ImageUIContentDto = {
1373
+ appId: string;
1374
+ /**
1375
+ * Reference to the authenticated client the request originated from
1376
+ */
1377
+ clientId?: string;
1378
+ /**
1379
+ * Reference to the user interacting with the system
1380
+ */
1381
+ userId?: string;
1382
+ /**
1383
+ * Reference date
1384
+ */
1385
+ ts?: string;
1386
+ /**
1387
+ * Track the interaction session, if available
1388
+ */
1389
+ sessionId?: string;
1390
+ contentType: SupportedContentTypes;
1391
+ content: ImageContentDto;
1392
+ /**
1393
+ * Provide a description for the content
1394
+ */
1395
+ description?: string;
1396
+ /**
1397
+ * Provides metadata for the content
1398
+ */
1399
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1400
+ /**
1401
+ * Provides configuration options for the content
1402
+ */
1403
+ options?: UIContentOptionsDto & Record<string, unknown>;
1404
+ /**
1405
+ * Unique sortable ID used to group and sort messages
1406
+ */
1407
+ messageId?: string;
1408
+ /**
1409
+ * Unique sortable ID used to sort chunks from the same messageId
1410
+ */
1411
+ chunkId?: string;
1412
+ };
1413
+ type VideoContentDto = {
1414
+ sources: Array<string>;
1415
+ description?: string;
1416
+ subtitle?: string;
1417
+ thumb?: string;
1418
+ title?: string;
1419
+ width?: number;
1420
+ height?: number;
1421
+ };
1422
+ type VideoUIContentDto = {
1423
+ appId: string;
1424
+ /**
1425
+ * Reference to the authenticated client the request originated from
1426
+ */
1427
+ clientId?: string;
1428
+ /**
1429
+ * Reference to the user interacting with the system
1430
+ */
1431
+ userId?: string;
1432
+ /**
1433
+ * Reference date
1434
+ */
1435
+ ts?: string;
1436
+ /**
1437
+ * Track the interaction session, if available
1438
+ */
1439
+ sessionId?: string;
1440
+ contentType: SupportedContentTypes;
1441
+ content: VideoContentDto;
1442
+ /**
1443
+ * Provide a description for the content
1444
+ */
1445
+ description?: string;
1446
+ /**
1447
+ * Provides metadata for the content
1448
+ */
1449
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1450
+ /**
1451
+ * Provides configuration options for the content
1452
+ */
1453
+ options?: UIContentOptionsDto & Record<string, unknown>;
1454
+ /**
1455
+ * Unique sortable ID used to group and sort messages
1456
+ */
1457
+ messageId?: string;
1458
+ /**
1459
+ * Unique sortable ID used to sort chunks from the same messageId
1460
+ */
1461
+ chunkId?: string;
1462
+ };
1463
+ type PdfContentDto = {
1464
+ url: string;
1465
+ };
1466
+ type PdfUIContentDto = {
1467
+ appId: string;
1468
+ /**
1469
+ * Reference to the authenticated client the request originated from
1470
+ */
1471
+ clientId?: string;
1472
+ /**
1473
+ * Reference to the user interacting with the system
1474
+ */
1475
+ userId?: string;
1476
+ /**
1477
+ * Reference date
1478
+ */
1479
+ ts?: string;
1480
+ /**
1481
+ * Track the interaction session, if available
1482
+ */
1483
+ sessionId?: string;
1484
+ contentType: SupportedContentTypes;
1485
+ content: PdfContentDto;
1486
+ /**
1487
+ * Provide a description for the content
1488
+ */
1489
+ description?: string;
1490
+ /**
1491
+ * Provides metadata for the content
1492
+ */
1493
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1494
+ /**
1495
+ * Provides configuration options for the content
1496
+ */
1497
+ options?: UIContentOptionsDto & Record<string, unknown>;
1498
+ /**
1499
+ * Unique sortable ID used to group and sort messages
1500
+ */
1501
+ messageId?: string;
1502
+ /**
1503
+ * Unique sortable ID used to sort chunks from the same messageId
1504
+ */
1505
+ chunkId?: string;
1506
+ };
1507
+ type WebpageContentDto = {
1508
+ url: string;
1509
+ };
1510
+ type WebpageUIContentDto = {
1511
+ appId: string;
1512
+ /**
1513
+ * Reference to the authenticated client the request originated from
1514
+ */
1515
+ clientId?: string;
1516
+ /**
1517
+ * Reference to the user interacting with the system
1518
+ */
1519
+ userId?: string;
1520
+ /**
1521
+ * Reference date
1522
+ */
1523
+ ts?: string;
1524
+ /**
1525
+ * Track the interaction session, if available
1526
+ */
1527
+ sessionId?: string;
1528
+ contentType: SupportedContentTypes;
1529
+ content: WebpageContentDto;
1530
+ /**
1531
+ * Provide a description for the content
1532
+ */
1533
+ description?: string;
1534
+ /**
1535
+ * Provides metadata for the content
1536
+ */
1537
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1538
+ /**
1539
+ * Provides configuration options for the content
1540
+ */
1541
+ options?: UIContentOptionsDto & Record<string, unknown>;
1542
+ /**
1543
+ * Unique sortable ID used to group and sort messages
1544
+ */
1545
+ messageId?: string;
1546
+ /**
1547
+ * Unique sortable ID used to sort chunks from the same messageId
1548
+ */
1549
+ chunkId?: string;
1550
+ };
1551
+ type ObjectContentDto = {
1552
+ url: string;
1553
+ };
1554
+ type ObjectUIContentDto = {
1555
+ appId: string;
1556
+ /**
1557
+ * Reference to the authenticated client the request originated from
1558
+ */
1559
+ clientId?: string;
1560
+ /**
1561
+ * Reference to the user interacting with the system
1562
+ */
1563
+ userId?: string;
1564
+ /**
1565
+ * Reference date
1566
+ */
1567
+ ts?: string;
1568
+ /**
1569
+ * Track the interaction session, if available
1570
+ */
1571
+ sessionId?: string;
1572
+ contentType: SupportedContentTypes;
1573
+ content: ObjectContentDto;
1574
+ /**
1575
+ * Provide a description for the content
1576
+ */
1577
+ description?: string;
1578
+ /**
1579
+ * Provides metadata for the content
1580
+ */
1581
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1582
+ /**
1583
+ * Provides configuration options for the content
1584
+ */
1585
+ options?: UIContentOptionsDto & Record<string, unknown>;
1586
+ /**
1587
+ * Unique sortable ID used to group and sort messages
1588
+ */
1589
+ messageId?: string;
1590
+ /**
1591
+ * Unique sortable ID used to sort chunks from the same messageId
1592
+ */
1593
+ chunkId?: string;
1594
+ };
1595
+ type TextContentDto = {
1596
+ text: string;
1597
+ };
1598
+ type TextUIContentDto = {
1599
+ appId: string;
1600
+ /**
1601
+ * Reference to the authenticated client the request originated from
1602
+ */
1603
+ clientId?: string;
1604
+ /**
1605
+ * Reference to the user interacting with the system
1606
+ */
1607
+ userId?: string;
1608
+ /**
1609
+ * Reference date
1610
+ */
1611
+ ts?: string;
1612
+ /**
1613
+ * Track the interaction session, if available
1614
+ */
1615
+ sessionId?: string;
1616
+ contentType: SupportedContentTypes;
1617
+ content: TextContentDto;
1618
+ /**
1619
+ * Provide a description for the content
1620
+ */
1621
+ description?: string;
1622
+ /**
1623
+ * Provides metadata for the content
1624
+ */
1625
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1626
+ /**
1627
+ * Provides configuration options for the content
1628
+ */
1629
+ options?: UIContentOptionsDto & Record<string, unknown>;
1630
+ /**
1631
+ * Unique sortable ID used to group and sort messages
1632
+ */
1633
+ messageId?: string;
1634
+ /**
1635
+ * Unique sortable ID used to sort chunks from the same messageId
1636
+ */
1637
+ chunkId?: string;
1638
+ };
1639
+ type QuizAnswerDto = {
1640
+ answer: string;
1641
+ reason: string;
1642
+ correct: boolean;
1643
+ };
1644
+ type QuizContentDto = {
1645
+ question: string;
1646
+ answers: Array<QuizAnswerDto>;
1647
+ };
1648
+ type QuizUIContentDto = {
1649
+ appId: string;
1650
+ /**
1651
+ * Reference to the authenticated client the request originated from
1652
+ */
1653
+ clientId?: string;
1654
+ /**
1655
+ * Reference to the user interacting with the system
1656
+ */
1657
+ userId?: string;
1658
+ /**
1659
+ * Reference date
1660
+ */
1661
+ ts?: string;
1662
+ /**
1663
+ * Track the interaction session, if available
1664
+ */
1665
+ sessionId?: string;
1666
+ contentType: SupportedContentTypes;
1667
+ content: QuizContentDto;
1668
+ /**
1669
+ * Provide a description for the content
1670
+ */
1671
+ description?: string;
1672
+ /**
1673
+ * Provides metadata for the content
1674
+ */
1675
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1676
+ /**
1677
+ * Provides configuration options for the content
1678
+ */
1679
+ options?: UIContentOptionsDto & Record<string, unknown>;
1680
+ /**
1681
+ * Unique sortable ID used to group and sort messages
1682
+ */
1683
+ messageId?: string;
1684
+ /**
1685
+ * Unique sortable ID used to sort chunks from the same messageId
1686
+ */
1687
+ chunkId?: string;
1688
+ };
1689
+ type ClearUIContentDto = {
1690
+ appId: string;
1691
+ /**
1692
+ * Reference to the authenticated client the request originated from
1693
+ */
1694
+ clientId?: string;
1695
+ /**
1696
+ * Reference to the user interacting with the system
1697
+ */
1698
+ userId?: string;
1699
+ /**
1700
+ * Reference date
1701
+ */
1702
+ ts?: string;
1703
+ /**
1704
+ * Track the interaction session, if available
1705
+ */
1706
+ sessionId?: string;
1707
+ contentType: SupportedContentTypes;
1708
+ content: Record<string, unknown>;
1709
+ /**
1710
+ * Provide a description for the content
1711
+ */
1712
+ description?: string;
1713
+ /**
1714
+ * Provides metadata for the content
1715
+ */
1716
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1717
+ /**
1718
+ * Provides configuration options for the content
1719
+ */
1720
+ options?: UIContentOptionsDto & Record<string, unknown>;
1721
+ /**
1722
+ * Unique sortable ID used to group and sort messages
1723
+ */
1724
+ messageId?: string;
1725
+ /**
1726
+ * Unique sortable ID used to sort chunks from the same messageId
1727
+ */
1728
+ chunkId?: string;
1729
+ };
1730
+ type ClearScreenDto = {
1731
+ appId: string;
1732
+ /**
1733
+ * Reference to the authenticated client the request originated from
1734
+ */
1735
+ clientId?: string;
1736
+ /**
1737
+ * Reference to the user interacting with the system
1738
+ */
1739
+ userId?: string;
1740
+ /**
1741
+ * Reference date
1742
+ */
1743
+ ts?: string;
1744
+ /**
1745
+ * Track the interaction session, if available
1746
+ */
1747
+ sessionId?: string;
1748
+ contentType: SupportedContentTypes;
1749
+ content: Record<string, unknown>;
1750
+ /**
1751
+ * Provide a description for the content
1752
+ */
1753
+ description?: string;
1754
+ /**
1755
+ * Provides metadata for the content
1756
+ */
1757
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1758
+ /**
1759
+ * Provides configuration options for the content
1760
+ */
1761
+ options?: UIContentOptionsDto & Record<string, unknown>;
1762
+ /**
1763
+ * Unique sortable ID used to group and sort messages
1764
+ */
1765
+ messageId?: string;
1766
+ /**
1767
+ * Unique sortable ID used to sort chunks from the same messageId
1768
+ */
1769
+ chunkId?: string;
1770
+ };
1771
+ type ButtonDto = {
1772
+ /**
1773
+ * Button value
1774
+ */
1775
+ value: string;
1776
+ id?: string;
1777
+ /**
1778
+ * Button label
1779
+ */
1780
+ label?: string;
1781
+ /**
1782
+ * Provide a description for the button
1783
+ */
1784
+ description?: string;
1785
+ classes?: Array<string>;
1786
+ options?: UIContentOptionsDto;
1787
+ };
1788
+ type ButtonsContentDto = {
1789
+ label: string;
1790
+ list: Array<ButtonDto>;
1791
+ };
1792
+ type ButtonsUIContentDto = {
1793
+ appId: string;
1794
+ /**
1795
+ * Reference to the authenticated client the request originated from
1796
+ */
1797
+ clientId?: string;
1798
+ /**
1799
+ * Reference to the user interacting with the system
1800
+ */
1801
+ userId?: string;
1802
+ /**
1803
+ * Reference date
1804
+ */
1805
+ ts?: string;
1806
+ /**
1807
+ * Track the interaction session, if available
1808
+ */
1809
+ sessionId?: string;
1810
+ contentType: SupportedContentTypes;
1811
+ content: ButtonsContentDto;
1812
+ /**
1813
+ * Provide a description for the content
1814
+ */
1815
+ description?: string;
1816
+ /**
1817
+ * Provides metadata for the content
1818
+ */
1819
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1820
+ /**
1821
+ * Provides configuration options for the content
1822
+ */
1823
+ options?: UIContentOptionsDto & Record<string, unknown>;
1824
+ /**
1825
+ * Unique sortable ID used to group and sort messages
1826
+ */
1827
+ messageId?: string;
1828
+ /**
1829
+ * Unique sortable ID used to sort chunks from the same messageId
1830
+ */
1831
+ chunkId?: string;
1832
+ };
1833
+ type DialogueMessageUIContentDto = {
1834
+ appId: string;
1835
+ /**
1836
+ * Reference to the authenticated client the request originated from
1837
+ */
1838
+ clientId?: string;
1839
+ /**
1840
+ * Reference to the user interacting with the system
1841
+ */
1842
+ userId?: string;
1843
+ /**
1844
+ * Reference date
1845
+ */
1846
+ ts?: string;
1847
+ /**
1848
+ * Track the interaction session, if available
1849
+ */
1850
+ sessionId?: string;
1851
+ contentType: SupportedContentTypes;
1852
+ content: DialogueMessageDto;
1853
+ /**
1854
+ * Provide a description for the content
1855
+ */
1856
+ description?: string;
1857
+ /**
1858
+ * Provides metadata for the content
1859
+ */
1860
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1861
+ /**
1862
+ * Provides configuration options for the content
1863
+ */
1864
+ options?: UIContentOptionsDto & Record<string, unknown>;
1865
+ /**
1866
+ * Unique sortable ID used to group and sort messages
1867
+ */
1868
+ messageId?: string;
1869
+ /**
1870
+ * Unique sortable ID used to sort chunks from the same messageId
1871
+ */
1872
+ chunkId?: string;
1873
+ };
1874
+ type LinkContentDto = {
1875
+ url: string;
1876
+ label: string;
1877
+ };
1878
+ type LinkUIContentDto = {
1879
+ appId: string;
1880
+ /**
1881
+ * Reference to the authenticated client the request originated from
1882
+ */
1883
+ clientId?: string;
1884
+ /**
1885
+ * Reference to the user interacting with the system
1886
+ */
1887
+ userId?: string;
1888
+ /**
1889
+ * Reference date
1890
+ */
1891
+ ts?: string;
1892
+ /**
1893
+ * Track the interaction session, if available
1894
+ */
1895
+ sessionId?: string;
1896
+ contentType: SupportedContentTypes;
1897
+ content: LinkContentDto;
1898
+ /**
1899
+ * Provide a description for the content
1900
+ */
1901
+ description?: string;
1902
+ /**
1903
+ * Provides metadata for the content
1904
+ */
1905
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1906
+ /**
1907
+ * Provides configuration options for the content
1908
+ */
1909
+ options?: UIContentOptionsDto & Record<string, unknown>;
1910
+ /**
1911
+ * Unique sortable ID used to group and sort messages
1912
+ */
1913
+ messageId?: string;
1914
+ /**
1915
+ * Unique sortable ID used to sort chunks from the same messageId
1916
+ */
1917
+ chunkId?: string;
1918
+ };
1919
+ type HtmlContentDto = {
1920
+ html: string;
1921
+ };
1922
+ type HtmlUIContentDto = {
1923
+ appId: string;
1924
+ /**
1925
+ * Reference to the authenticated client the request originated from
1926
+ */
1927
+ clientId?: string;
1928
+ /**
1929
+ * Reference to the user interacting with the system
1930
+ */
1931
+ userId?: string;
1932
+ /**
1933
+ * Reference date
1934
+ */
1935
+ ts?: string;
1936
+ /**
1937
+ * Track the interaction session, if available
1938
+ */
1939
+ sessionId?: string;
1940
+ contentType: SupportedContentTypes;
1941
+ content: HtmlContentDto;
1942
+ /**
1943
+ * Provide a description for the content
1944
+ */
1945
+ description?: string;
1946
+ /**
1947
+ * Provides metadata for the content
1948
+ */
1949
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1950
+ /**
1951
+ * Provides configuration options for the content
1952
+ */
1953
+ options?: UIContentOptionsDto & Record<string, unknown>;
1954
+ /**
1955
+ * Unique sortable ID used to group and sort messages
1956
+ */
1957
+ messageId?: string;
1958
+ /**
1959
+ * Unique sortable ID used to sort chunks from the same messageId
1960
+ */
1961
+ chunkId?: string;
1962
+ };
1963
+ type EmailContentDto = {
1964
+ email: string;
1965
+ label: string;
1966
+ };
1967
+ type EmailUIContentDto = {
1968
+ appId: string;
1969
+ /**
1970
+ * Reference to the authenticated client the request originated from
1971
+ */
1972
+ clientId?: string;
1973
+ /**
1974
+ * Reference to the user interacting with the system
1975
+ */
1976
+ userId?: string;
1977
+ /**
1978
+ * Reference date
1979
+ */
1980
+ ts?: string;
1981
+ /**
1982
+ * Track the interaction session, if available
1983
+ */
1984
+ sessionId?: string;
1985
+ contentType: SupportedContentTypes;
1986
+ content: EmailContentDto;
1987
+ /**
1988
+ * Provide a description for the content
1989
+ */
1990
+ description?: string;
1991
+ /**
1992
+ * Provides metadata for the content
1993
+ */
1994
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
1995
+ /**
1996
+ * Provides configuration options for the content
1997
+ */
1998
+ options?: UIContentOptionsDto & Record<string, unknown>;
1999
+ /**
2000
+ * Unique sortable ID used to group and sort messages
2001
+ */
2002
+ messageId?: string;
2003
+ /**
2004
+ * Unique sortable ID used to sort chunks from the same messageId
2005
+ */
2006
+ chunkId?: string;
2007
+ };
2008
+ type UiInteractionButtonDto = {
2009
+ context: Record<string, unknown>;
2010
+ element: string;
2011
+ value: string;
2012
+ };
2013
+ type UIInteractionDTO = {
2014
+ context: Record<string, unknown>;
2015
+ element: string;
2016
+ value: string;
2017
+ };
2018
+ type UIContentDto = {
2019
+ appId: string;
2020
+ /**
2021
+ * Reference to the authenticated client the request originated from
2022
+ */
2023
+ clientId?: string;
2024
+ /**
2025
+ * Reference to the user interacting with the system
2026
+ */
2027
+ userId?: string;
2028
+ /**
2029
+ * Reference date
2030
+ */
2031
+ ts?: string;
2032
+ /**
2033
+ * Track the interaction session, if available
2034
+ */
2035
+ sessionId?: string;
2036
+ contentType: SupportedContentTypes;
2037
+ content: Record<string, unknown>;
2038
+ /**
2039
+ * Provide a description for the content
2040
+ */
2041
+ description?: string;
2042
+ /**
2043
+ * Provides metadata for the content
2044
+ */
2045
+ metadata?: UIContentMetadataDto & Record<string, unknown>;
2046
+ /**
2047
+ * Provides configuration options for the content
2048
+ */
2049
+ options?: UIContentOptionsDto & Record<string, unknown>;
2050
+ /**
2051
+ * Unique sortable ID used to group and sort messages
2052
+ */
2053
+ messageId?: string;
2054
+ /**
2055
+ * Unique sortable ID used to sort chunks from the same messageId
2056
+ */
2057
+ chunkId?: string;
2058
+ };
2059
+ type QrCodePayloadDto = {
2060
+ version: number;
2061
+ data: string;
2062
+ };
2063
+ type QrCodeDto = {
2064
+ imageDataUrl: string;
2065
+ };
2066
+ type UIModelMapBlendShapesRequestDto = {
2067
+ blendShapes: Array<string>;
2068
+ };
2069
+ type UIModelMapBlendShapesResponseDto = {
2070
+ blendShapes: Record<string, unknown>;
2071
+ };
2072
+ type UIAssetDto = {
2073
+ id: string;
2074
+ type: RepositoryAssetTypes;
2075
+ name?: string;
2076
+ path: string;
2077
+ metadata?: RepositoryAssetMetadataDto;
2078
+ filename?: string;
2079
+ appId: string;
2080
+ userId?: string;
2081
+ ts?: string;
2082
+ };
2083
+ type Buffer$1 = {};
2084
+ type LogType = 'characterization' | 'stt' | 'tts' | 'interaction' | 'session' | 'document' | 'chat' | 'task' | 'performance' | 'kpi' | 'error';
2085
+ declare const LogTypeEnum: {
2086
+ readonly CHARACTERIZATION: "characterization";
2087
+ readonly STT: "stt";
2088
+ readonly TTS: "tts";
2089
+ readonly INTERACTION: "interaction";
2090
+ readonly SESSION: "session";
2091
+ readonly DOCUMENT: "document";
2092
+ readonly CHAT: "chat";
2093
+ readonly TASK: "task";
2094
+ readonly PERFORMANCE: "performance";
2095
+ readonly KPI: "kpi";
2096
+ readonly ERROR: "error";
2097
+ };
2098
+ type DatasetRecordDto = {
2099
+ appId: string;
2100
+ sessionId: string;
2101
+ type?: LogType;
2102
+ label: string;
2103
+ ts: string;
2104
+ data: Record<string, unknown>;
2105
+ };
2106
+ type DatasetRecordFilterDto = {
2107
+ appId: string;
2108
+ /**
2109
+ * Reference to the authenticated client the request originated from
2110
+ */
2111
+ clientId?: string;
2112
+ /**
2113
+ * Reference to the user interacting with the system
2114
+ */
2115
+ userId?: string;
2116
+ /**
2117
+ * Reference date
2118
+ */
2119
+ ts?: string;
2120
+ /**
2121
+ * Track the interaction session, if available
2122
+ */
2123
+ sessionId?: string;
2124
+ types?: Array<LogType>;
2125
+ };
2126
+ type MonitoringRecordDto = {
2127
+ appId: string;
2128
+ sessionId: string;
2129
+ type?: LogType;
2130
+ label: string;
2131
+ ts: string;
2132
+ };
2133
+ type XRMarkerListRequestDto = {
2134
+ appId: string;
2135
+ /**
2136
+ * List of marker ID to search for
2137
+ */
2138
+ markerId?: Array<string>;
2139
+ /**
2140
+ * List of uri to search for
2141
+ */
2142
+ payload?: Array<string>;
2143
+ tags?: Array<string>;
2144
+ };
2145
+ type XRMarkerDto = {
2146
+ appId: string;
2147
+ /**
2148
+ * Reference to the authenticated client the request originated from
2149
+ */
2150
+ clientId?: string;
2151
+ /**
2152
+ * Reference to the user interacting with the system
2153
+ */
2154
+ userId?: string;
2155
+ /**
2156
+ * Reference date
2157
+ */
2158
+ ts?: string;
2159
+ /**
2160
+ * ID of the marker
2161
+ */
2162
+ markerId?: string;
2163
+ /**
2164
+ * Payload as decoded from the marker QR code
2165
+ */
2166
+ payload: string;
2167
+ /**
2168
+ * A list of tags for the marker
2169
+ */
2170
+ tags?: Array<string>;
2171
+ };
2172
+ type XROcclusionResponseDto = {
2173
+ appId: string;
2174
+ /**
2175
+ * Reference to the authenticated client the request originated from
2176
+ */
2177
+ clientId?: string;
2178
+ /**
2179
+ * Reference to the user interacting with the system
2180
+ */
2181
+ userId?: string;
2182
+ /**
2183
+ * Reference date
2184
+ */
2185
+ ts?: string;
2186
+ occlusion: boolean;
2187
+ };
2188
+ type PositionDto = {
2189
+ x: number;
2190
+ y: number;
2191
+ z: number;
2192
+ };
2193
+ type OrientationDto = {
2194
+ x: number;
2195
+ y: number;
2196
+ z: number;
2197
+ w: number;
2198
+ };
2199
+ type PoseDto = {
2200
+ position: PositionDto;
2201
+ orientation: OrientationDto;
2202
+ };
2203
+ type MovementDto = {
2204
+ targetPosition: PoseDto;
2205
+ personId: string;
2206
+ path: Array<string>;
2207
+ };
2208
+ type MovementEventDto = {
2209
+ appId: string;
2210
+ /**
2211
+ * Reference to the authenticated client the request originated from
2212
+ */
2213
+ clientId?: string;
2214
+ /**
2215
+ * Reference to the user interacting with the system
2216
+ */
2217
+ userId?: string;
2218
+ /**
2219
+ * Reference date
2220
+ */
2221
+ ts?: string;
2222
+ movement: MovementDto;
2223
+ };
2224
+ type SermasBaseDto = {
2225
+ appId: string;
2226
+ /**
2227
+ * Reference to the authenticated client the request originated from
2228
+ */
2229
+ clientId?: string;
2230
+ /**
2231
+ * Reference to the user interacting with the system
2232
+ */
2233
+ userId?: string;
2234
+ /**
2235
+ * Reference date
2236
+ */
2237
+ ts?: string;
2238
+ };
2239
+ type ActuationEventDto = {
2240
+ appId: string;
2241
+ /**
2242
+ * Reference to the authenticated client the request originated from
2243
+ */
2244
+ clientId?: string;
2245
+ /**
2246
+ * Reference to the user interacting with the system
2247
+ */
2248
+ userId?: string;
2249
+ /**
2250
+ * Reference date
2251
+ */
2252
+ ts?: string;
2253
+ actuations: Array<string>;
2254
+ };
2255
+ type LinearVelocityDto = {};
2256
+ type VelocityDto = {
2257
+ linear: LinearVelocityDto;
2258
+ angular: LinearVelocityDto;
2259
+ };
2260
+ type StatusDto = {
2261
+ actualPosition: PoseDto;
2262
+ velocity: VelocityDto;
2263
+ };
2264
+ type StatusEventDto = {
2265
+ appId: string;
2266
+ /**
2267
+ * Reference to the authenticated client the request originated from
2268
+ */
2269
+ clientId?: string;
2270
+ /**
2271
+ * Reference to the user interacting with the system
2272
+ */
2273
+ userId?: string;
2274
+ /**
2275
+ * Reference date
2276
+ */
2277
+ ts?: string;
2278
+ status: StatusDto;
2279
+ robotId: string;
2280
+ };
2281
+
2282
+ type TDataRoboticsAgentControllerMoveToArea$1 = {
2283
+ appId: string;
2284
+ room: string;
2285
+ };
2286
+ type TDataRoboticsAgentControllerStatusDescription$1 = {
2287
+ appId: string;
2288
+ robotId: string;
2289
+ };
2290
+ type TDataRoboticsAgentControllerMove$1 = {
2291
+ requestBody: MovementEventDto;
2292
+ };
2293
+ type TDataRoboticsAgentControllerInitialPose$1 = {
2294
+ requestBody: SermasBaseDto;
2295
+ };
2296
+ type TDataRoboticsAgentControllerActuate$1 = {
2297
+ requestBody: ActuationEventDto;
2298
+ };
2299
+ type TDataRoboticsAgentControllerStatus$1 = {
2300
+ requestBody: StatusEventDto;
2301
+ };
2302
+ declare class AgentService {
2303
+ readonly httpRequest: BaseHttpRequest;
2304
+ constructor(httpRequest: BaseHttpRequest);
2305
+ /**
2306
+ * move the robot to a specified coordinates. Based on the parameter coordinates, move the robot to that coordinates.
2307
+ * @returns any
2308
+ * @throws ApiError
2309
+ */
2310
+ roboticsAgentControllerMoveToArea(data: TDataRoboticsAgentControllerMoveToArea$1): CancelablePromise<any>;
2311
+ /**
2312
+ * get the status of the robot
2313
+ * @returns any
2314
+ * @throws ApiError
2315
+ */
2316
+ roboticsAgentControllerStatusDescription(data: TDataRoboticsAgentControllerStatusDescription$1): CancelablePromise<any>;
2317
+ /**
2318
+ * relocate the robot
2319
+ * @returns any
2320
+ * @throws ApiError
2321
+ */
2322
+ roboticsAgentControllerMove(data: TDataRoboticsAgentControllerMove$1): CancelablePromise<any>;
2323
+ /**
2324
+ * set initial pose of the robot
2325
+ * @returns any
2326
+ * @throws ApiError
2327
+ */
2328
+ roboticsAgentControllerInitialPose(data: TDataRoboticsAgentControllerInitialPose$1): CancelablePromise<any>;
2329
+ /**
2330
+ * execute an action on the robot
2331
+ * @returns any
2332
+ * @throws ApiError
2333
+ */
2334
+ roboticsAgentControllerActuate(data: TDataRoboticsAgentControllerActuate$1): CancelablePromise<any>;
2335
+ /**
2336
+ * get the status of the robot
2337
+ * @returns any
2338
+ * @throws ApiError
2339
+ */
2340
+ roboticsAgentControllerStatus(data: TDataRoboticsAgentControllerStatus$1): CancelablePromise<any>;
2341
+ }
2342
+
2343
+ type TDataLogin = {
2344
+ requestBody: LoginRequestDto;
2345
+ };
2346
+ type TDataRegister = {
2347
+ requestBody: RegistrationRequestDto;
2348
+ };
2349
+ type TDataRefreshToken = {
2350
+ requestBody: RefreshTokenRequestDto;
2351
+ };
2352
+ type TDataEdit = {
2353
+ requestBody: UpdateUserRequestDto;
2354
+ userId: string;
2355
+ };
2356
+ type TDataDelete = {
2357
+ userId: string;
2358
+ };
2359
+ type TDataSaveUser = {
2360
+ requestBody: RegistrationRequestDto;
2361
+ };
2362
+ type TDataImportUsers = {
2363
+ requestBody: Array<RegistrationRequestDto>;
2364
+ };
2365
+ declare class AuthenticationService {
2366
+ readonly httpRequest: BaseHttpRequest;
2367
+ constructor(httpRequest: BaseHttpRequest);
2368
+ /**
2369
+ * @returns AuthJwtUser
2370
+ * @throws ApiError
2371
+ */
2372
+ whoami(): CancelablePromise<AuthJwtUser>;
2373
+ /**
2374
+ * @returns LoginResponseDto Login user
2375
+ * @throws ApiError
2376
+ */
2377
+ login(data: TDataLogin): CancelablePromise<LoginResponseDto>;
2378
+ /**
2379
+ * @returns RegistrationResponseDto Register a new user
2380
+ * @throws ApiError
2381
+ */
2382
+ register(data: TDataRegister): CancelablePromise<RegistrationResponseDto>;
2383
+ /**
2384
+ * @returns LoginResponseDto Refresh token
2385
+ * @throws ApiError
2386
+ */
2387
+ refreshToken(data: TDataRefreshToken): CancelablePromise<LoginResponseDto>;
2388
+ /**
2389
+ * @returns any Updates user data
2390
+ * @throws ApiError
2391
+ */
2392
+ edit(data: TDataEdit): CancelablePromise<any>;
2393
+ /**
2394
+ * @returns any Deletes a user and all of its resources
2395
+ * @throws ApiError
2396
+ */
2397
+ delete(data: TDataDelete): CancelablePromise<any>;
2398
+ /**
2399
+ * create or update an user
2400
+ * @returns any
2401
+ * @throws ApiError
2402
+ */
2403
+ saveUser(data: TDataSaveUser): CancelablePromise<any>;
2404
+ /**
2405
+ * import users
2406
+ * @returns RegistrationResponseDto
2407
+ * @throws ApiError
2408
+ */
2409
+ importUsers(data: TDataImportUsers): CancelablePromise<Array<RegistrationResponseDto>>;
2410
+ }
2411
+
2412
+ type TDataObjectDetection = {
2413
+ requestBody: ObjectDetectionRequest;
2414
+ };
2415
+ type TDataDetectionControllerSentimentAnalysis = {
2416
+ requestBody: SentimentAnalysisRequest;
2417
+ };
2418
+ type TDataDetectionControllerInteractionIntention = {
2419
+ requestBody: UserInteractionIntentionDto;
2420
+ };
2421
+ type TDataDetectionControllerSendFrame = {
2422
+ appId: string;
2423
+ cameraId: string;
2424
+ formData: {
2425
+ file?: Blob | File;
2426
+ };
2427
+ };
2428
+ type TDataDetectionControllerServe = {
2429
+ appId: string;
2430
+ cameraId: string;
2431
+ overlay: string;
2432
+ };
2433
+ declare class DetectionService {
2434
+ readonly httpRequest: BaseHttpRequest;
2435
+ constructor(httpRequest: BaseHttpRequest);
2436
+ /**
2437
+ * @returns any
2438
+ * @throws ApiError
2439
+ */
2440
+ objectDetection(data: TDataObjectDetection): CancelablePromise<any>;
2441
+ /**
2442
+ * @returns any
2443
+ * @throws ApiError
2444
+ */
2445
+ detectionControllerSentimentAnalysis(data: TDataDetectionControllerSentimentAnalysis): CancelablePromise<any>;
2446
+ /**
2447
+ * @returns any
2448
+ * @throws ApiError
2449
+ */
2450
+ detectionControllerInteractionIntention(data: TDataDetectionControllerInteractionIntention): CancelablePromise<any>;
2451
+ /**
2452
+ * @returns any
2453
+ * @throws ApiError
2454
+ */
2455
+ detectionControllerSendFrame(data: TDataDetectionControllerSendFrame): CancelablePromise<any>;
2456
+ /**
2457
+ * @returns any
2458
+ * @throws ApiError
2459
+ */
2460
+ detectionControllerServe(data: TDataDetectionControllerServe): CancelablePromise<any>;
2461
+ }
2462
+
2463
+ type TDataSave = {
2464
+ requestBody: DialogueDocumentDto;
2465
+ };
2466
+ type TDataImport = {
2467
+ /**
2468
+ * Documents list
2469
+ */
2470
+ requestBody: Array<DialogueDocumentDto>;
2471
+ };
2472
+ type TDataImportWebsite = {
2473
+ /**
2474
+ * URL
2475
+ */
2476
+ requestBody: RagWebsiteDto;
2477
+ };
2478
+ type TDataRemoveAll = {
2479
+ appId: string;
2480
+ };
2481
+ type TDataRemove = {
2482
+ appId: string;
2483
+ documentId: Array<string>;
2484
+ };
2485
+ type TDataSpeak = {
2486
+ requestBody: DialogueTextToSpeechDto;
2487
+ };
2488
+ type TDataText = {
2489
+ appId: string;
2490
+ formData: {
2491
+ appId?: string;
2492
+ /**
2493
+ * Reference to the authenticated client the request originated from
2494
+ */
2495
+ clientId?: string;
2496
+ /**
2497
+ * Reference to the user interacting with the system
2498
+ */
2499
+ userId?: string;
2500
+ /**
2501
+ * Reference date
2502
+ */
2503
+ ts?: string;
2504
+ /**
2505
+ * User session identifier
2506
+ */
2507
+ sessionId?: string;
2508
+ actor?: DialogueActor;
2509
+ /**
2510
+ * Indicate a chunck identifier as timestamp, usually indicating it is part of a stream.
2511
+ */
2512
+ text?: string;
2513
+ /**
2514
+ * Assistant gender (M or F)
2515
+ */
2516
+ gender?: string;
2517
+ /**
2518
+ * Text language
2519
+ */
2520
+ language?: string;
2521
+ /**
2522
+ * User emotion, if available
2523
+ */
2524
+ emotion?: string;
2525
+ /**
2526
+ * LLM engine to use
2527
+ */
2528
+ llm?: LLMSettingsDto;
2529
+ /**
2530
+ * The avatar id used for interaction
2531
+ */
2532
+ avatar?: string;
2533
+ /**
2534
+ * Unique sortable ID used to group and sort messages
2535
+ */
2536
+ messageId?: string;
2537
+ /**
2538
+ * Unique sortable ID used to sort chunks from the same messageId
2539
+ */
2540
+ chunkId?: string;
2541
+ file?: Blob | File;
2542
+ };
2543
+ sampleRate: number;
2544
+ sessionId: string;
2545
+ };
2546
+ type TDataChatMessage = {
2547
+ appId: string;
2548
+ requestBody: DialogueMessageDto;
2549
+ sessionId: string;
2550
+ };
2551
+ type TDataStopAgentSpeech = {
2552
+ appId: string;
2553
+ sessionId: string;
2554
+ };
2555
+ type TDataGetChatHistory = {
2556
+ sessionId: string;
2557
+ };
2558
+ type TDataNextStep = {
2559
+ requestBody: DialogueTaskRecordDto;
2560
+ };
2561
+ type TDataSetTools = {
2562
+ repositoryId: string;
2563
+ requestBody: DialogueToolsRepositoryDto;
2564
+ };
2565
+ type TDataAddTools = {
2566
+ repositoryId: string;
2567
+ requestBody: DialogueToolsRepositoryDto;
2568
+ };
2569
+ type TDataRemoveRepository = {
2570
+ repositoryId: string;
2571
+ };
2572
+ declare class DialogueService {
2573
+ readonly httpRequest: BaseHttpRequest;
2574
+ constructor(httpRequest: BaseHttpRequest);
2575
+ /**
2576
+ * @returns DialogueDocumentDto Saved document
2577
+ * @throws ApiError
2578
+ */
2579
+ save(data: TDataSave): CancelablePromise<DialogueDocumentDto>;
2580
+ /**
2581
+ * Import RAG documents
2582
+ * @returns DialogueDocumentDto
2583
+ * @throws ApiError
2584
+ */
2585
+ import(data: TDataImport): CancelablePromise<Array<DialogueDocumentDto>>;
2586
+ /**
2587
+ * Import RAG documents by website scraping
2588
+ * @returns any
2589
+ * @throws ApiError
2590
+ */
2591
+ importWebsite(data: TDataImportWebsite): CancelablePromise<any>;
2592
+ /**
2593
+ * Remove all RAG documents
2594
+ * @returns any
2595
+ * @throws ApiError
2596
+ */
2597
+ removeAll(data: TDataRemoveAll): CancelablePromise<any>;
2598
+ /**
2599
+ * Remove RAG documents
2600
+ * @returns any
2601
+ * @throws ApiError
2602
+ */
2603
+ remove(data: TDataRemove): CancelablePromise<any>;
2604
+ /**
2605
+ * Converts a text to voice as mp3
2606
+ * @returns any
2607
+ * @throws ApiError
2608
+ */
2609
+ speak(data: TDataSpeak): CancelablePromise<any>;
2610
+ /**
2611
+ * @returns any
2612
+ * @throws ApiError
2613
+ */
2614
+ text(data: TDataText): CancelablePromise<any>;
2615
+ /**
2616
+ * @returns any
2617
+ * @throws ApiError
2618
+ */
2619
+ chatMessage(data: TDataChatMessage): CancelablePromise<any>;
2620
+ /**
2621
+ * @returns any
2622
+ * @throws ApiError
2623
+ */
2624
+ stopAgentSpeech(data: TDataStopAgentSpeech): CancelablePromise<any>;
2625
+ /**
2626
+ * @returns any
2627
+ * @throws ApiError
2628
+ */
2629
+ listModels(): CancelablePromise<any>;
2630
+ /**
2631
+ * Get a session chat history
2632
+ * @returns DialogueMemoryMessageDto
2633
+ * @throws ApiError
2634
+ */
2635
+ getChatHistory(data: TDataGetChatHistory): CancelablePromise<Array<DialogueMemoryMessageDto>>;
2636
+ /**
2637
+ * Set the tools, overriding existing ones
2638
+ * @returns any
2639
+ * @throws ApiError
2640
+ */
2641
+ nextStep(data: TDataNextStep): CancelablePromise<any>;
2642
+ /**
2643
+ * Save tools, overwriting existing ones.
2644
+ * @returns any
2645
+ * @throws ApiError
2646
+ */
2647
+ setTools(data: TDataSetTools): CancelablePromise<any>;
2648
+ /**
2649
+ * Add tools to the session. Existing with the same name will be overridden.
2650
+ * @returns any
2651
+ * @throws ApiError
2652
+ */
2653
+ addTools(data: TDataAddTools): CancelablePromise<any>;
2654
+ /**
2655
+ * Remove a set of tools
2656
+ * @returns any
2657
+ * @throws ApiError
2658
+ */
2659
+ removeRepository(data: TDataRemoveRepository): CancelablePromise<any>;
2660
+ }
2661
+
2662
+ type TDataGetClientAccessToken = {
2663
+ requestBody: AccessTokenRequestDto;
2664
+ };
2665
+ type TDataGetClientAccessToken1 = {
2666
+ requestBody: AccessTokenRequestDto;
2667
+ };
2668
+ type TDataGetClientRefreshToken = {
2669
+ requestBody: RefreshTokenRequestDto;
2670
+ };
2671
+ type TDataGetClientRefreshToken1 = {
2672
+ requestBody: RefreshTokenRequestDto;
2673
+ };
2674
+ type TDataCreateApp = {
2675
+ requestBody: CreatePlatformAppDto;
2676
+ };
2677
+ type TDataUpdateApp = {
2678
+ requestBody: PlatformAppDto;
2679
+ };
2680
+ type TDataUpdateAppTools = {
2681
+ appId: string;
2682
+ requestBody: Array<AppToolsDTO>;
2683
+ };
2684
+ type TDataUpdateAppSettings = {
2685
+ appId: string;
2686
+ requestBody: Array<AppSettingsDto>;
2687
+ };
2688
+ type TDataGetAppRepository = {
2689
+ appId: string;
2690
+ };
2691
+ type TDataGetAppRepositoryRobots = {
2692
+ appId: string;
2693
+ name: string;
2694
+ };
2695
+ type TDataGetAppRepositoryAvatars = {
2696
+ appId: string;
2697
+ name: string;
2698
+ };
2699
+ type TDataGetAppRepositoryBackgrounds = {
2700
+ appId: string;
2701
+ name: string;
2702
+ };
2703
+ type TDataReadApp = {
2704
+ appId: string;
2705
+ };
2706
+ type TDataRemoveApp = {
2707
+ appId: string;
2708
+ };
2709
+ type TDataImportApps = {
2710
+ requestBody: Array<PlatformAppDto>;
2711
+ skipClients: string;
2712
+ };
2713
+ type TDataExportApps = {
2714
+ requestBody: PlatformAppExportFilterDto;
2715
+ };
2716
+ type TDataRemoveApps = {
2717
+ requestBody: PlatformAppExportFilterDto;
2718
+ };
2719
+ type TDataCreateClient = {
2720
+ appId: string;
2721
+ requestBody: AppClientDto;
2722
+ };
2723
+ type TDataReadClient = {
2724
+ appId: string;
2725
+ clientId: string;
2726
+ };
2727
+ type TDataRemoveClient = {
2728
+ appId: string;
2729
+ clientId: string;
2730
+ };
2731
+ type TDataListTopics = {
2732
+ appId: string;
2733
+ clientId: string;
2734
+ };
2735
+ type TDataSaveAppModule = {
2736
+ appId: string;
2737
+ requestBody: AppModuleConfigDto;
2738
+ };
2739
+ type TDataGetAppModule = {
2740
+ appId: string;
2741
+ moduleId: string;
2742
+ };
2743
+ type TDataRemoveAppModule = {
2744
+ appId: string;
2745
+ moduleId: string;
2746
+ };
2747
+ type TDataSavePlatformModule = {
2748
+ requestBody: PlatformModuleConfigDto;
2749
+ };
2750
+ type TDataRefreshPlatformModule = {
2751
+ moduleId: string;
2752
+ };
2753
+ type TDataGetPlatformModule = {
2754
+ moduleId: string;
2755
+ };
2756
+ type TDataRemovePlatformModule = {
2757
+ moduleId: string;
2758
+ };
2759
+ type TDataMonitoringAdd = {
2760
+ requestBody: DatasetRecordDto;
2761
+ };
2762
+ type TDataMonitoringSearch = {
2763
+ requestBody: DatasetRecordFilterDto;
2764
+ };
2765
+ declare class PlatformService {
2766
+ readonly httpRequest: BaseHttpRequest;
2767
+ constructor(httpRequest: BaseHttpRequest);
2768
+ /**
2769
+ * @returns PlatformSettingsDto
2770
+ * @throws ApiError
2771
+ */
2772
+ getUserSettings(): CancelablePromise<PlatformSettingsDto>;
2773
+ /**
2774
+ * @returns PlatformSettingsDto
2775
+ * @throws ApiError
2776
+ */
2777
+ getSettings(): CancelablePromise<PlatformSettingsDto>;
2778
+ /**
2779
+ * @returns JwtTokenDto Request an access token for an app
2780
+ * @throws ApiError
2781
+ */
2782
+ getClientAccessToken(data: TDataGetClientAccessToken): CancelablePromise<JwtTokenDto>;
2783
+ /**
2784
+ * @returns JwtTokenDto Request an access token for an app
2785
+ * @throws ApiError
2786
+ */
2787
+ getClientAccessToken1(data: TDataGetClientAccessToken1): CancelablePromise<JwtTokenDto>;
2788
+ /**
2789
+ * @returns JwtTokenDto Request a refresh access token for an app
2790
+ * @throws ApiError
2791
+ */
2792
+ getClientRefreshToken(data: TDataGetClientRefreshToken): CancelablePromise<JwtTokenDto>;
2793
+ /**
2794
+ * @returns JwtTokenDto Request a refresh access token for an app
2795
+ * @throws ApiError
2796
+ */
2797
+ getClientRefreshToken1(data: TDataGetClientRefreshToken1): CancelablePromise<JwtTokenDto>;
2798
+ /**
2799
+ * retrieve app repository defaults
2800
+ * @returns RepositoryConfigDto
2801
+ * @throws ApiError
2802
+ */
2803
+ getRepositoryDefaults(): CancelablePromise<RepositoryConfigDto>;
2804
+ /**
2805
+ * @returns PlatformAppDto
2806
+ * @throws ApiError
2807
+ */
2808
+ platformAppControllerListApps(): CancelablePromise<Array<PlatformAppDto>>;
2809
+ /**
2810
+ * @returns PlatformAppDto
2811
+ * @throws ApiError
2812
+ */
2813
+ createApp(data: TDataCreateApp): CancelablePromise<PlatformAppDto>;
2814
+ /**
2815
+ * @returns PlatformAppDto
2816
+ * @throws ApiError
2817
+ */
2818
+ updateApp(data: TDataUpdateApp): CancelablePromise<PlatformAppDto>;
2819
+ /**
2820
+ * @returns PlatformAppDto
2821
+ * @throws ApiError
2822
+ */
2823
+ listUserApps(): CancelablePromise<Array<PlatformAppDto>>;
2824
+ /**
2825
+ * @returns any
2826
+ * @throws ApiError
2827
+ */
2828
+ updateAppTools(data: TDataUpdateAppTools): CancelablePromise<any>;
2829
+ /**
2830
+ * @returns any
2831
+ * @throws ApiError
2832
+ */
2833
+ updateAppSettings(data: TDataUpdateAppSettings): CancelablePromise<any>;
2834
+ /**
2835
+ * @returns RepositoryConfigDto
2836
+ * @throws ApiError
2837
+ */
2838
+ getAppRepository(data: TDataGetAppRepository): CancelablePromise<RepositoryConfigDto>;
2839
+ /**
2840
+ * @returns RepositoryRobotModelDto
2841
+ * @throws ApiError
2842
+ */
2843
+ getAppRepositoryRobots(data: TDataGetAppRepositoryRobots): CancelablePromise<RepositoryRobotModelDto>;
2844
+ /**
2845
+ * @returns RepositoryAvatarDto
2846
+ * @throws ApiError
2847
+ */
2848
+ getAppRepositoryAvatars(data: TDataGetAppRepositoryAvatars): CancelablePromise<RepositoryAvatarDto>;
2849
+ /**
2850
+ * @returns RepositoryConfigDto
2851
+ * @throws ApiError
2852
+ */
2853
+ getAppRepositoryBackgrounds(data: TDataGetAppRepositoryBackgrounds): CancelablePromise<RepositoryConfigDto>;
2854
+ /**
2855
+ * @returns PlatformAppDto
2856
+ * @throws ApiError
2857
+ */
2858
+ readApp(data: TDataReadApp): CancelablePromise<PlatformAppDto>;
2859
+ /**
2860
+ * @returns any
2861
+ * @throws ApiError
2862
+ */
2863
+ removeApp(data: TDataRemoveApp): CancelablePromise<any>;
2864
+ /**
2865
+ * Batch import of applications
2866
+ * @returns PlatformAppDto
2867
+ * @throws ApiError
2868
+ */
2869
+ importApps(data: TDataImportApps): CancelablePromise<Array<PlatformAppDto>>;
2870
+ /**
2871
+ * Batch export applications
2872
+ * @returns PlatformAppDto
2873
+ * @throws ApiError
2874
+ */
2875
+ exportApps(data: TDataExportApps): CancelablePromise<Array<PlatformAppDto>>;
2876
+ /**
2877
+ * Remove applications
2878
+ * @returns any
2879
+ * @throws ApiError
2880
+ */
2881
+ removeApps(data: TDataRemoveApps): CancelablePromise<any>;
2882
+ /**
2883
+ * @returns AppClientDto
2884
+ * @throws ApiError
2885
+ */
2886
+ createClient(data: TDataCreateClient): CancelablePromise<AppClientDto>;
2887
+ /**
2888
+ * @returns AppClientDto
2889
+ * @throws ApiError
2890
+ */
2891
+ readClient(data: TDataReadClient): CancelablePromise<AppClientDto>;
2892
+ /**
2893
+ * @returns any
2894
+ * @throws ApiError
2895
+ */
2896
+ removeClient(data: TDataRemoveClient): CancelablePromise<any>;
2897
+ /**
2898
+ * @returns string
2899
+ * @throws ApiError
2900
+ */
2901
+ listTopics(data: TDataListTopics): CancelablePromise<Array<string>>;
2902
+ /**
2903
+ * Create or update an app module
2904
+ * @returns any
2905
+ * @throws ApiError
2906
+ */
2907
+ saveAppModule(data: TDataSaveAppModule): CancelablePromise<any>;
2908
+ /**
2909
+ * Retrieve an app module
2910
+ * @returns any
2911
+ * @throws ApiError
2912
+ */
2913
+ getAppModule(data: TDataGetAppModule): CancelablePromise<any>;
2914
+ /**
2915
+ * Remove an app module
2916
+ * @returns any
2917
+ * @throws ApiError
2918
+ */
2919
+ removeAppModule(data: TDataRemoveAppModule): CancelablePromise<any>;
2920
+ /**
2921
+ * Create or update an app module
2922
+ * @returns any
2923
+ * @throws ApiError
2924
+ */
2925
+ savePlatformModule(data: TDataSavePlatformModule): CancelablePromise<any>;
2926
+ /**
2927
+ * reload app module specs
2928
+ * @returns any
2929
+ * @throws ApiError
2930
+ */
2931
+ refreshPlatformModule(data: TDataRefreshPlatformModule): CancelablePromise<any>;
2932
+ /**
2933
+ * Retrieve an app module
2934
+ * @returns any
2935
+ * @throws ApiError
2936
+ */
2937
+ getPlatformModule(data: TDataGetPlatformModule): CancelablePromise<any>;
2938
+ /**
2939
+ * Remove an app module
2940
+ * @returns any
2941
+ * @throws ApiError
2942
+ */
2943
+ removePlatformModule(data: TDataRemovePlatformModule): CancelablePromise<any>;
2944
+ /**
2945
+ * @returns any
2946
+ * @throws ApiError
2947
+ */
2948
+ monitoringAdd(data: TDataMonitoringAdd): CancelablePromise<any>;
2949
+ /**
2950
+ * @returns MonitoringRecordDto
2951
+ * @throws ApiError
2952
+ */
2953
+ monitoringSearch(data: TDataMonitoringSearch): CancelablePromise<Array<MonitoringRecordDto>>;
2954
+ }
2955
+
2956
+ type TDataRoboticsAgentControllerMoveToArea = {
2957
+ appId: string;
2958
+ room: string;
2959
+ };
2960
+ type TDataRoboticsAgentControllerStatusDescription = {
2961
+ appId: string;
2962
+ robotId: string;
2963
+ };
2964
+ type TDataRoboticsAgentControllerMove = {
2965
+ requestBody: MovementEventDto;
2966
+ };
2967
+ type TDataRoboticsAgentControllerInitialPose = {
2968
+ requestBody: SermasBaseDto;
2969
+ };
2970
+ type TDataRoboticsAgentControllerActuate = {
2971
+ requestBody: ActuationEventDto;
2972
+ };
2973
+ type TDataRoboticsAgentControllerStatus = {
2974
+ requestBody: StatusEventDto;
2975
+ };
2976
+ type TDataNavigationControllerRemove = {
2977
+ spaceId: string;
2978
+ };
2979
+ type TDataNavigationControllerGetById = {
2980
+ spaceId: string;
2981
+ };
2982
+ type TDataNavigationControllerGetStatus = {
2983
+ appId: string;
2984
+ robotId: string;
2985
+ };
2986
+ declare class RoboticsService {
2987
+ readonly httpRequest: BaseHttpRequest;
2988
+ constructor(httpRequest: BaseHttpRequest);
2989
+ /**
2990
+ * move the robot to a specified coordinates. Based on the parameter coordinates, move the robot to that coordinates.
2991
+ * @returns any
2992
+ * @throws ApiError
2993
+ */
2994
+ roboticsAgentControllerMoveToArea(data: TDataRoboticsAgentControllerMoveToArea): CancelablePromise<any>;
2995
+ /**
2996
+ * get the status of the robot
2997
+ * @returns any
2998
+ * @throws ApiError
2999
+ */
3000
+ roboticsAgentControllerStatusDescription(data: TDataRoboticsAgentControllerStatusDescription): CancelablePromise<any>;
3001
+ /**
3002
+ * relocate the robot
3003
+ * @returns any
3004
+ * @throws ApiError
3005
+ */
3006
+ roboticsAgentControllerMove(data: TDataRoboticsAgentControllerMove): CancelablePromise<any>;
3007
+ /**
3008
+ * set initial pose of the robot
3009
+ * @returns any
3010
+ * @throws ApiError
3011
+ */
3012
+ roboticsAgentControllerInitialPose(data: TDataRoboticsAgentControllerInitialPose): CancelablePromise<any>;
3013
+ /**
3014
+ * execute an action on the robot
3015
+ * @returns any
3016
+ * @throws ApiError
3017
+ */
3018
+ roboticsAgentControllerActuate(data: TDataRoboticsAgentControllerActuate): CancelablePromise<any>;
3019
+ /**
3020
+ * get the status of the robot
3021
+ * @returns any
3022
+ * @throws ApiError
3023
+ */
3024
+ roboticsAgentControllerStatus(data: TDataRoboticsAgentControllerStatus): CancelablePromise<any>;
3025
+ /**
3026
+ * @returns any
3027
+ * @throws ApiError
3028
+ */
3029
+ navigationControllerSave(): CancelablePromise<any>;
3030
+ /**
3031
+ * @returns any
3032
+ * @throws ApiError
3033
+ */
3034
+ navigationControllerRemove(data: TDataNavigationControllerRemove): CancelablePromise<any>;
3035
+ /**
3036
+ * @returns any
3037
+ * @throws ApiError
3038
+ */
3039
+ navigationControllerGetById(data: TDataNavigationControllerGetById): CancelablePromise<any>;
3040
+ /**
3041
+ * @returns any
3042
+ * @throws ApiError
3043
+ */
3044
+ navigationControllerGetStatus(data: TDataNavigationControllerGetStatus): CancelablePromise<any>;
3045
+ }
3046
+
3047
+ type TDataGetUserSession = {
3048
+ appId: string;
3049
+ };
3050
+ type TDataSearch = {
3051
+ appId: string;
3052
+ requestBody: SessionSearchFilter;
3053
+ };
3054
+ type TDataReadSession = {
3055
+ sessionId: string;
3056
+ };
3057
+ type TDataDeleteSession = {
3058
+ sessionId: string;
3059
+ };
3060
+ type TDataCreateSession = {
3061
+ requestBody: SessionDto;
3062
+ };
3063
+ type TDataUpdateSession = {
3064
+ requestBody: SessionDto;
3065
+ };
3066
+ type TDataSupport = {
3067
+ requestBody: SessionSupportRequestDto;
3068
+ };
3069
+ type TDataSetRecord = {
3070
+ requestBody: SessionStorageRecordDto;
3071
+ };
3072
+ type TDataFindRecords = {
3073
+ requestBody: SessionStorageSearchDto;
3074
+ };
3075
+ type TDataGetRecord = {
3076
+ storageId: string;
3077
+ };
3078
+ type TDataDeleteRecord = {
3079
+ storageId: string;
3080
+ };
3081
+ type TDataAgentUpdate = {
3082
+ requestBody: AgentHeartBeatEventDto;
3083
+ };
3084
+ type TDataPrompt = {
3085
+ requestBody: AgentEvaluatePromptDto;
3086
+ };
3087
+ declare class SessionService {
3088
+ readonly httpRequest: BaseHttpRequest;
3089
+ constructor(httpRequest: BaseHttpRequest);
3090
+ /**
3091
+ * Load current user session
3092
+ * @returns any
3093
+ * @throws ApiError
3094
+ */
3095
+ getUserSession(data: TDataGetUserSession): CancelablePromise<any>;
3096
+ /**
3097
+ * List recent sessions
3098
+ * @returns SessionDto
3099
+ * @throws ApiError
3100
+ */
3101
+ search(data: TDataSearch): CancelablePromise<Array<SessionDto>>;
3102
+ /**
3103
+ * Load a session
3104
+ * @returns any
3105
+ * @throws ApiError
3106
+ */
3107
+ readSession(data: TDataReadSession): CancelablePromise<any>;
3108
+ /**
3109
+ * Remove session
3110
+ * @returns any
3111
+ * @throws ApiError
3112
+ */
3113
+ deleteSession(data: TDataDeleteSession): CancelablePromise<any>;
3114
+ /**
3115
+ * Create session
3116
+ * @returns any
3117
+ * @throws ApiError
3118
+ */
3119
+ createSession(data: TDataCreateSession): CancelablePromise<any>;
3120
+ /**
3121
+ * Update session
3122
+ * @returns any
3123
+ * @throws ApiError
3124
+ */
3125
+ updateSession(data: TDataUpdateSession): CancelablePromise<any>;
3126
+ /**
3127
+ * Request support from human
3128
+ * @returns SessionSupportResponseDto Human support requested
3129
+ * @throws ApiError
3130
+ */
3131
+ support(data: TDataSupport): CancelablePromise<SessionSupportResponseDto>;
3132
+ /**
3133
+ * Store user data
3134
+ * @returns SessionStorageRecordDto Record stored
3135
+ * @throws ApiError
3136
+ */
3137
+ setRecord(data: TDataSetRecord): CancelablePromise<SessionStorageRecordDto>;
3138
+ /**
3139
+ * Store user data
3140
+ * @returns SessionStorageRecordDto Record stored
3141
+ * @throws ApiError
3142
+ */
3143
+ findRecords(data: TDataFindRecords): CancelablePromise<Array<SessionStorageRecordDto>>;
3144
+ /**
3145
+ * Retrieve stored data
3146
+ * @returns SessionStorageRecordDto Record retrieved
3147
+ * @throws ApiError
3148
+ */
3149
+ getRecord(data: TDataGetRecord): CancelablePromise<SessionStorageRecordDto>;
3150
+ /**
3151
+ * Delete a record
3152
+ * @returns any Record deleted
3153
+ * @throws ApiError
3154
+ */
3155
+ deleteRecord(data: TDataDeleteRecord): CancelablePromise<any>;
3156
+ /**
3157
+ * Notifies of an agent update
3158
+ * @returns any
3159
+ * @throws ApiError
3160
+ */
3161
+ agentUpdate(data: TDataAgentUpdate): CancelablePromise<any>;
3162
+ /**
3163
+ * Evaluate a prompt within the session context
3164
+ * @returns AgentEvaluatePromptResponseDto
3165
+ * @throws ApiError
3166
+ */
3167
+ prompt(data: TDataPrompt): CancelablePromise<AgentEvaluatePromptResponseDto>;
3168
+ }
3169
+
3170
+ type TDataNotifyInteraction = {
3171
+ appId: string;
3172
+ moduleId: string;
3173
+ requestBody: UIInteractionDTO;
3174
+ };
3175
+ type TDataShowContent = {
3176
+ requestBody: UIContentDto;
3177
+ };
3178
+ type TDataGenerateQrCode = {
3179
+ requestBody: QrCodePayloadDto;
3180
+ };
3181
+ type TDataUiModelControllerMapBlendShapes = {
3182
+ requestBody: UIModelMapBlendShapesRequestDto;
3183
+ };
3184
+ type TDataGetAsset = {
3185
+ appId: string;
3186
+ assetId: string;
3187
+ type: string;
3188
+ };
3189
+ type TDataSaveAsset = {
3190
+ formData: {
3191
+ id?: string;
3192
+ type?: RepositoryAssetTypes;
3193
+ name?: string;
3194
+ path?: string;
3195
+ metadata?: RepositoryAssetMetadataDto;
3196
+ filename?: string;
3197
+ appId?: string;
3198
+ userId?: string;
3199
+ ts?: string;
3200
+ file?: Blob | File;
3201
+ };
3202
+ };
3203
+ type TDataAdminSaveAsset = {
3204
+ formData: {
3205
+ id?: string;
3206
+ type?: RepositoryAssetTypes;
3207
+ name?: string;
3208
+ path?: string;
3209
+ metadata?: RepositoryAssetMetadataDto;
3210
+ filename?: string;
3211
+ appId?: string;
3212
+ userId?: string;
3213
+ ts?: string;
3214
+ file?: Blob | File;
3215
+ };
3216
+ };
3217
+ declare class UiService {
3218
+ readonly httpRequest: BaseHttpRequest;
3219
+ constructor(httpRequest: BaseHttpRequest);
3220
+ /**
3221
+ * Trigger a UI interaction
3222
+ * @returns any
3223
+ * @throws ApiError
3224
+ */
3225
+ notifyInteraction(data: TDataNotifyInteraction): CancelablePromise<any>;
3226
+ /**
3227
+ * Show content
3228
+ * @returns UIContentDto Content to show
3229
+ * @throws ApiError
3230
+ */
3231
+ showContent(data: TDataShowContent): CancelablePromise<UIContentDto>;
3232
+ /**
3233
+ * Generate a QR code
3234
+ * @returns QrCodeDto
3235
+ * @throws ApiError
3236
+ */
3237
+ generateQrCode(data: TDataGenerateQrCode): CancelablePromise<QrCodeDto>;
3238
+ /**
3239
+ * Tries to map model blend shapes by name similarity
3240
+ * @returns UIModelMapBlendShapesResponseDto Map model blend shapes
3241
+ * @throws ApiError
3242
+ */
3243
+ uiModelControllerMapBlendShapes(data: TDataUiModelControllerMapBlendShapes): CancelablePromise<UIModelMapBlendShapesResponseDto>;
3244
+ /**
3245
+ * Retrieve an asset
3246
+ * @returns Buffer Asset content
3247
+ * @throws ApiError
3248
+ */
3249
+ getAsset(data: TDataGetAsset): CancelablePromise<Buffer$1>;
3250
+ /**
3251
+ * Retrieve an asset
3252
+ * @returns any
3253
+ * @throws ApiError
3254
+ */
3255
+ saveAsset(data: TDataSaveAsset): CancelablePromise<any>;
3256
+ /**
3257
+ * @returns any
3258
+ * @throws ApiError
3259
+ */
3260
+ adminSaveAsset(data: TDataAdminSaveAsset): CancelablePromise<any>;
3261
+ }
3262
+
3263
+ type TDataXrMarkerControllerSearchMarker = {
3264
+ requestBody: XRMarkerListRequestDto;
3265
+ };
3266
+ type TDataXrMarkerControllerSaveMarker = {
3267
+ requestBody: XRMarkerDto;
3268
+ };
3269
+ type TDataXrMarkerControllerDeleteMarker = {
3270
+ markerId: string;
3271
+ };
3272
+ type TDataXrMarkerControllerGetMarkerQrCode = {
3273
+ markerId: string;
3274
+ };
3275
+ declare class XrService {
3276
+ readonly httpRequest: BaseHttpRequest;
3277
+ constructor(httpRequest: BaseHttpRequest);
3278
+ /**
3279
+ * List available markers
3280
+ * @returns XRMarkerDto Marker created or updated
3281
+ * @throws ApiError
3282
+ */
3283
+ xrMarkerControllerSearchMarker(data: TDataXrMarkerControllerSearchMarker): CancelablePromise<Array<XRMarkerDto>>;
3284
+ /**
3285
+ * Save a marker
3286
+ * @returns XRMarkerDto Marker saved
3287
+ * @throws ApiError
3288
+ */
3289
+ xrMarkerControllerSaveMarker(data: TDataXrMarkerControllerSaveMarker): CancelablePromise<XRMarkerDto>;
3290
+ /**
3291
+ * Delete a marker
3292
+ * @returns XRMarkerDto Marker deleted
3293
+ * @throws ApiError
3294
+ */
3295
+ xrMarkerControllerDeleteMarker(data: TDataXrMarkerControllerDeleteMarker): CancelablePromise<XRMarkerDto>;
3296
+ /**
3297
+ * Get the marker QR code as image (jpeg)
3298
+ * @returns binary Marker retrieved
3299
+ * @throws ApiError
3300
+ */
3301
+ xrMarkerControllerGetMarkerQrCode(data: TDataXrMarkerControllerGetMarkerQrCode): CancelablePromise<Blob | File>;
3302
+ /**
3303
+ * Indicate if a 3D asset model is occluded by a physical obstacle.
3304
+ * @returns XROcclusionResponseDto Got information about 3D model
3305
+ * @throws ApiError
3306
+ */
3307
+ xrOcclusionControllerOcclusion(): CancelablePromise<XROcclusionResponseDto>;
3308
+ }
3309
+
3310
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
3311
+ declare class SermasApi {
3312
+ readonly agent: AgentService;
3313
+ readonly authentication: AuthenticationService;
3314
+ readonly detection: DetectionService;
3315
+ readonly dialogue: DialogueService;
3316
+ readonly platform: PlatformService;
3317
+ readonly robotics: RoboticsService;
3318
+ readonly session: SessionService;
3319
+ readonly ui: UiService;
3320
+ readonly xr: XrService;
3321
+ readonly request: BaseHttpRequest;
3322
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
3323
+ }
3324
+
3325
+ declare class Broker {
3326
+ private readonly config;
3327
+ private readonly logger;
3328
+ private client;
3329
+ private subscriptions;
3330
+ constructor(config: {
3331
+ url: string;
3332
+ username: string;
3333
+ password: string;
3334
+ params: Record<string, any>;
3335
+ });
3336
+ reconnect(): Promise<void>;
3337
+ disconnect(): Promise<void>;
3338
+ setParams(params: Record<string, any>): void;
3339
+ setToken(token: string): void;
3340
+ getClient(): mqtt.MqttClient;
3341
+ connect(): void;
3342
+ parseTopic(topic: string): {
3343
+ type: string;
3344
+ appId: string;
3345
+ resource: string;
3346
+ scope: string;
3347
+ context: string[];
3348
+ };
3349
+ subscribe<T>(topic: string, callback: (ev: T) => void, params?: Record<string, any>): () => any;
3350
+ publish<T>(topic: string, ev: T | Buffer, params?: Record<string, string>): Promise<boolean>;
3351
+ replaceTopicParams(topic: string, params?: Record<string, any>): string;
3352
+ }
3353
+
3354
+ interface PlatformTokenDto {
3355
+ appId: string;
3356
+ clientId?: string;
3357
+ userId?: string;
3358
+ ts?: string;
3359
+ }
3360
+ interface PlatformAppChangedDto {
3361
+ appId: string;
3362
+ clientId?: string;
3363
+ userId?: string;
3364
+ ts?: string;
3365
+ operation: string;
3366
+ sessionId?: string;
3367
+ record: PlatformAppDto;
3368
+ }
3369
+ interface anonymous_schema_98 {
3370
+ auth?: string;
3371
+ basic?: anonymous_schema_100;
3372
+ bearer?: anonymous_schema_103;
3373
+ moduleId: string;
3374
+ url: string;
3375
+ headers?: Record<string, any>;
3376
+ }
3377
+ interface anonymous_schema_100 {
3378
+ username?: string;
3379
+ password: string;
3380
+ }
3381
+ interface anonymous_schema_103 {
3382
+ clientType?: string;
3383
+ clientId?: string;
3384
+ clientSecret?: string;
3385
+ username?: string;
3386
+ password?: string;
3387
+ audience?: string;
3388
+ tokenUrl: string;
3389
+ refreshUrl?: string;
3390
+ }
3391
+ interface anonymous_schema_150 {
3392
+ triggerOnce?: boolean;
3393
+ removeRecord?: boolean;
3394
+ enableTool?: boolean;
3395
+ toolOptions?: anonymous_schema_154;
3396
+ repositoryId?: string;
3397
+ list?: boolean;
3398
+ oncePerSession?: boolean;
3399
+ matchOrRemove?: boolean;
3400
+ }
3401
+ interface anonymous_schema_154 {
3402
+ triggerOnce?: boolean;
3403
+ exclusive?: boolean;
3404
+ }
3405
+ interface PlatformAppClientChangedDto {
3406
+ appId: string;
3407
+ clientId?: string;
3408
+ userId?: string;
3409
+ ts?: string;
3410
+ operation: string;
3411
+ sessionId?: string;
3412
+ record: AppClientDto;
3413
+ }
3414
+ interface PlatformAppModuleConfigEventDto {
3415
+ appId: string;
3416
+ clientId?: string;
3417
+ userId?: string;
3418
+ ts?: string;
3419
+ operation: string;
3420
+ sessionId?: string;
3421
+ record: AppModuleConfigDto;
3422
+ }
3423
+ interface UpdateUserEventDto {
3424
+ appId: string;
3425
+ clientId?: string;
3426
+ userId?: string;
3427
+ ts?: string;
3428
+ enabled: boolean;
3429
+ }
3430
+ interface ModuleConfigEventDto {
3431
+ operation: Record<string, any>;
3432
+ ts: string;
3433
+ record: PlatformModuleConfigDto;
3434
+ }
3435
+ interface UserDetectionEventDto {
3436
+ appId: string;
3437
+ clientId?: string;
3438
+ userId?: string;
3439
+ ts?: string;
3440
+ cameraId: string;
3441
+ source: string;
3442
+ detections: UserDetectionDto[];
3443
+ }
3444
+ interface UserDetectionDto {
3445
+ skeleton: string[];
3446
+ face: BoundingBox;
3447
+ faceMask: string[];
3448
+ fullBody: BoundingBox;
3449
+ user: StringInferenceValue[];
3450
+ position: PositionDto;
3451
+ }
3452
+ interface BoundingBox {
3453
+ x: number;
3454
+ y: number;
3455
+ w: number;
3456
+ h: number;
3457
+ }
3458
+ interface StringInferenceValue {
3459
+ probability: number;
3460
+ value: string;
3461
+ }
3462
+ type anonymous_schema_216 = 'start' | 'stop';
3463
+ interface UserCharacterizationEventDto {
3464
+ appId: string;
3465
+ clientId?: string;
3466
+ userId?: string;
3467
+ ts?: string;
3468
+ source: string;
3469
+ detections: UserCharacterizationDto[];
3470
+ sessionId?: string;
3471
+ }
3472
+ interface UserCharacterizationDto {
3473
+ emotion: UserEmotionValue;
3474
+ age?: UserAgeValue;
3475
+ user?: StringInferenceValue[];
3476
+ }
3477
+ interface UserEmotionValue {
3478
+ probability: number;
3479
+ value: string;
3480
+ }
3481
+ interface UserAgeValue {
3482
+ probability: number;
3483
+ value: number;
3484
+ }
3485
+ interface AudioClassificationEventDto {
3486
+ appId: string;
3487
+ clientId?: string;
3488
+ userId?: string;
3489
+ ts?: string;
3490
+ source: string;
3491
+ detections: AudioClassificationValue[];
3492
+ sessionId?: string;
3493
+ }
3494
+ interface AudioClassificationValue {
3495
+ probability: number;
3496
+ value: string;
3497
+ }
3498
+ interface ObjectDetectionEventDto {
3499
+ appId: string;
3500
+ clientId?: string;
3501
+ userId?: string;
3502
+ ts?: string;
3503
+ detections: ObjectDetectionDto[];
3504
+ }
3505
+ interface ObjectDetectionDto {
3506
+ probability: number;
3507
+ value: string;
3508
+ bbox: BoundingBox;
3509
+ }
3510
+ interface QRCodeEventDto {
3511
+ appId: string;
3512
+ clientId?: string;
3513
+ userId?: string;
3514
+ ts?: string;
3515
+ version: string;
3516
+ payload: string;
3517
+ sessionId?: string;
3518
+ }
3519
+ interface NoiseEventDto {
3520
+ appId: string;
3521
+ clientId?: string;
3522
+ userId?: string;
3523
+ ts?: string;
3524
+ noiseType: string;
3525
+ level: string;
3526
+ speakerId: string[];
3527
+ }
3528
+ interface SermasSessionDto {
3529
+ appId: string;
3530
+ clientId?: string;
3531
+ userId?: string;
3532
+ ts?: string;
3533
+ sessionId?: string;
3534
+ }
3535
+ interface DialogueTaskChangedDto {
3536
+ appId: string;
3537
+ clientId?: string;
3538
+ userId?: string;
3539
+ ts?: string;
3540
+ operation: string;
3541
+ sessionId?: string;
3542
+ record: DialogueTaskDto;
3543
+ }
3544
+ interface DialogueTaskProgressDto {
3545
+ type: TaskEventType;
3546
+ task: anonymous_schema_285;
3547
+ record: anonymous_schema_286;
3548
+ }
3549
+ interface anonymous_schema_285 {
3550
+ taskId: string;
3551
+ appId: string;
3552
+ sessionId?: string;
3553
+ name: string;
3554
+ description?: string;
3555
+ intents?: TaskIntentDto[];
3556
+ events?: TaskEventDto[];
3557
+ fields: TaskFieldDto[];
3558
+ options?: anonymous_schema_150;
3559
+ }
3560
+ interface anonymous_schema_286 {
3561
+ recordId: string;
3562
+ taskId: string;
3563
+ appId: string;
3564
+ sessionId: string;
3565
+ status?: TaskEventType;
3566
+ values: Record<string, any>;
3567
+ updated?: string;
3568
+ created?: string;
3569
+ }
3570
+ interface DialogueTaskRecordChangedDto {
3571
+ appId: string;
3572
+ clientId?: string;
3573
+ userId?: string;
3574
+ ts?: string;
3575
+ operation: string;
3576
+ sessionId?: string;
3577
+ record: DialogueTaskRecordDto;
3578
+ }
3579
+ interface DialogueTaskRecordHandlerDto {
3580
+ appId: string;
3581
+ clientId?: string;
3582
+ userId?: string;
3583
+ ts?: string;
3584
+ sessionId?: string;
3585
+ taskId: string;
3586
+ recordId: string;
3587
+ field: anonymous_schema_307;
3588
+ }
3589
+ interface anonymous_schema_307 {
3590
+ name: string;
3591
+ label?: string;
3592
+ order?: number;
3593
+ type: TaskSchemaDataType;
3594
+ required?: boolean;
3595
+ validation?: string;
3596
+ condition?: string;
3597
+ prompt?: string;
3598
+ handler?: string;
3599
+ multiple?: boolean;
3600
+ options?: OptionSelection[];
3601
+ }
3602
+ interface DialogueToolTriggeredEventDto {
3603
+ appId: string;
3604
+ clientId?: string;
3605
+ userId?: string;
3606
+ ts?: string;
3607
+ sessionId?: string;
3608
+ name: string;
3609
+ tool: AppToolsDTO;
3610
+ }
3611
+ interface DialogueToolsRepositoryChanged {
3612
+ appId: string;
3613
+ clientId?: string;
3614
+ userId?: string;
3615
+ ts?: string;
3616
+ operation: string;
3617
+ sessionId?: string;
3618
+ record: DialogueToolsRepositoryRecordDto;
3619
+ }
3620
+ interface DialogueToolsRepositoryRecordDto {
3621
+ appId: string;
3622
+ clientId?: string;
3623
+ userId?: string;
3624
+ ts?: string;
3625
+ sessionId?: string;
3626
+ repositoryId?: string;
3627
+ options?: anonymous_schema_326;
3628
+ tools?: any[][];
3629
+ }
3630
+ interface anonymous_schema_326 {
3631
+ triggerOnce?: boolean;
3632
+ exclusive?: boolean;
3633
+ }
3634
+ interface DialogueToolNotMatchingEventDto {
3635
+ appId: string;
3636
+ sessionId: string;
3637
+ tools: AppToolsDTO[];
3638
+ repositories: string[];
3639
+ taskId?: string;
3640
+ currentField?: TaskFieldDto;
3641
+ }
3642
+ interface SessionChangedDto {
3643
+ appId: string;
3644
+ clientId?: string;
3645
+ userId?: string;
3646
+ ts?: string;
3647
+ operation: string;
3648
+ sessionId?: string;
3649
+ record: SessionDto;
3650
+ }
3651
+ interface SessionSupportEventDto {
3652
+ appId: string;
3653
+ clientId?: string;
3654
+ userId?: string;
3655
+ ts?: string;
3656
+ supportId: string;
3657
+ status: string;
3658
+ feedback: string;
3659
+ code: string;
3660
+ }
3661
+ interface SessionStorageEventDto {
3662
+ appId: string;
3663
+ clientId?: string;
3664
+ userId?: string;
3665
+ ts?: string;
3666
+ operation: string;
3667
+ sessionId?: string;
3668
+ record: SessionStorageRecordDto;
3669
+ }
3670
+ interface AgentDto {
3671
+ appId: string;
3672
+ clientId?: string;
3673
+ userId?: string;
3674
+ ts?: string;
3675
+ agentId: string;
3676
+ status: AgentStatus;
3677
+ modules: string[];
3678
+ }
3679
+ interface AgentChangedDto {
3680
+ appId: string;
3681
+ clientId?: string;
3682
+ userId?: string;
3683
+ ts?: string;
3684
+ operation: string;
3685
+ sessionId?: string;
3686
+ moduleId: string;
3687
+ record: AgentDto;
3688
+ settings?: AppSettingsDto;
3689
+ }
3690
+ interface UIAssetChangedDto {
3691
+ appId: string;
3692
+ clientId?: string;
3693
+ userId?: string;
3694
+ ts?: string;
3695
+ operation: string;
3696
+ sessionId?: string;
3697
+ record: UIAssetDto;
3698
+ }
3699
+ interface anonymous_schema_408 {
3700
+ repositoryId?: string;
3701
+ additionalProperties?: Record<string, any>;
3702
+ }
3703
+ interface anonymous_schema_411 {
3704
+ clearScreen?: boolean;
3705
+ ttsEnabled?: boolean;
3706
+ stopSpeech?: boolean;
3707
+ language?: string;
3708
+ additionalProperties?: Record<string, any>;
3709
+ }
3710
+ interface UIInteractionEventDto {
3711
+ appId: string;
3712
+ clientId?: string;
3713
+ userId?: string;
3714
+ ts?: string;
3715
+ sessionId?: string;
3716
+ moduleId: string;
3717
+ interaction: UIInteractionDTO;
3718
+ }
3719
+ interface XRMarkerChangedDto {
3720
+ appId: string;
3721
+ clientId?: string;
3722
+ userId?: string;
3723
+ ts?: string;
3724
+ operation: string;
3725
+ sessionId?: string;
3726
+ record: XRMarkerDto;
3727
+ }
3728
+ interface XROcclusionDto {
3729
+ appId: string;
3730
+ clientId?: string;
3731
+ userId?: string;
3732
+ ts?: string;
3733
+ occlusion: boolean;
3734
+ }
3735
+ interface InitialPoseEventDto {
3736
+ appId: string;
3737
+ clientId?: string;
3738
+ userId?: string;
3739
+ ts?: string;
3740
+ initialPose: InitialPoseDto;
3741
+ }
3742
+ interface InitialPoseDto {
3743
+ pose: PoseDto;
3744
+ covariance: string[];
3745
+ }
3746
+ interface OperationalStateEventDto {
3747
+ appId: string;
3748
+ clientId?: string;
3749
+ userId?: string;
3750
+ ts?: string;
3751
+ state: OperationalStateDto;
3752
+ }
3753
+ interface OperationalStateDto {
3754
+ op: string;
3755
+ state: string;
3756
+ }
3757
+
3758
+ declare class Platform {
3759
+ private readonly broker;
3760
+ constructor(broker: Broker);
3761
+ tokenRequested(event: PlatformTokenDto, params?: {
3762
+ appId?: string;
3763
+ }): Promise<boolean>;
3764
+ onTokenRequested(fn: (event: PlatformTokenDto) => void | Promise<void>, params?: {
3765
+ appId?: string;
3766
+ }): Promise<() => void>;
3767
+ appChanged(event: PlatformAppChangedDto, params?: {
3768
+ appId?: string;
3769
+ }): Promise<boolean>;
3770
+ onAppChanged(fn: (event: PlatformAppChangedDto) => void | Promise<void>, params?: {
3771
+ appId?: string;
3772
+ }): Promise<() => void>;
3773
+ clientChanged(event: PlatformAppClientChangedDto, params?: {
3774
+ appId?: string;
3775
+ clientId?: string;
3776
+ }): Promise<boolean>;
3777
+ onClientChanged(fn: (event: PlatformAppClientChangedDto) => void | Promise<void>, params?: {
3778
+ appId?: string;
3779
+ clientId?: string;
3780
+ }): Promise<() => void>;
3781
+ appModuleChanged(event: PlatformAppModuleConfigEventDto, params?: {
3782
+ appId?: string;
3783
+ }): Promise<boolean>;
3784
+ onAppModuleChanged(fn: (event: PlatformAppModuleConfigEventDto) => void | Promise<void>, params?: {
3785
+ appId?: string;
3786
+ }): Promise<() => void>;
3787
+ record(event: MonitoringRecordDto, params?: {
3788
+ appId?: string;
3789
+ }): Promise<boolean>;
3790
+ onRecord(fn: (event: MonitoringRecordDto) => void | Promise<void>, params?: {
3791
+ appId?: string;
3792
+ }): Promise<() => void>;
3793
+ }
3794
+
3795
+ declare class Auth {
3796
+ private readonly broker;
3797
+ constructor(broker: Broker);
3798
+ userUpdate(event: UpdateUserEventDto, params?: {
3799
+ appId?: string;
3800
+ }): Promise<boolean>;
3801
+ onUserUpdate(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
3802
+ appId?: string;
3803
+ }): Promise<() => void>;
3804
+ userRegistration(event: UpdateUserEventDto, params?: {
3805
+ appId?: string;
3806
+ }): Promise<boolean>;
3807
+ onUserRegistration(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
3808
+ appId?: string;
3809
+ }): Promise<() => void>;
3810
+ userLogin(event: UpdateUserEventDto, params?: {
3811
+ appId?: string;
3812
+ }): Promise<boolean>;
3813
+ onUserLogin(fn: (event: UpdateUserEventDto) => void | Promise<void>, params?: {
3814
+ appId?: string;
3815
+ }): Promise<() => void>;
3816
+ }
3817
+
3818
+ declare class Module {
3819
+ private readonly broker;
3820
+ constructor(broker: Broker);
3821
+ moduleChanged(event: ModuleConfigEventDto, params?: {
3822
+ moduleId?: string;
3823
+ }): Promise<boolean>;
3824
+ onModuleChanged(fn: (event: ModuleConfigEventDto) => void | Promise<void>, params?: {
3825
+ moduleId?: string;
3826
+ }): Promise<() => void>;
3827
+ }
3828
+
3829
+ declare class Detection {
3830
+ private readonly broker;
3831
+ constructor(broker: Broker);
3832
+ userDetected(event: UserDetectionEventDto, params?: {
3833
+ appId?: string;
3834
+ }): Promise<boolean>;
3835
+ onUserDetected(fn: (event: UserDetectionEventDto) => void | Promise<void>, params?: {
3836
+ appId?: string;
3837
+ }): Promise<() => void>;
3838
+ interactionIntention(event: UserInteractionIntentionDto, params?: {
3839
+ appId?: string;
3840
+ }): Promise<boolean>;
3841
+ onInteractionIntention(fn: (event: UserInteractionIntentionDto) => void | Promise<void>, params?: {
3842
+ appId?: string;
3843
+ }): Promise<() => void>;
3844
+ userCharacterization(event: UserCharacterizationEventDto, params?: {
3845
+ appId?: string;
3846
+ }): Promise<boolean>;
3847
+ onUserCharacterization(fn: (event: UserCharacterizationEventDto) => void | Promise<void>, params?: {
3848
+ appId?: string;
3849
+ }): Promise<() => void>;
3850
+ audioClassification(event: AudioClassificationEventDto, params?: {
3851
+ appId?: string;
3852
+ }): Promise<boolean>;
3853
+ onAudioClassification(fn: (event: AudioClassificationEventDto) => void | Promise<void>, params?: {
3854
+ appId?: string;
3855
+ }): Promise<() => void>;
3856
+ objectDetected(event: ObjectDetectionEventDto, params?: {
3857
+ appId?: string;
3858
+ }): Promise<boolean>;
3859
+ onObjectDetected(fn: (event: ObjectDetectionEventDto) => void | Promise<void>, params?: {
3860
+ appId?: string;
3861
+ }): Promise<() => void>;
3862
+ qrCodeDetected(event: QRCodeEventDto, params?: {
3863
+ appId?: string;
3864
+ }): Promise<boolean>;
3865
+ onQrCodeDetected(fn: (event: QRCodeEventDto) => void | Promise<void>, params?: {
3866
+ appId?: string;
3867
+ }): Promise<() => void>;
3868
+ noise(event: NoiseEventDto, params?: {
3869
+ appId?: string;
3870
+ }): Promise<boolean>;
3871
+ onNoise(fn: (event: NoiseEventDto) => void | Promise<void>, params?: {
3872
+ appId?: string;
3873
+ }): Promise<() => void>;
3874
+ }
3875
+
3876
+ declare class Dialogue {
3877
+ private readonly broker;
3878
+ constructor(broker: Broker);
3879
+ dialogueMessages(event: DialogueMessageDto, params?: {
3880
+ appId?: string;
3881
+ sessionId?: string;
3882
+ }): Promise<boolean>;
3883
+ onDialogueMessages(fn: (event: DialogueMessageDto) => void | Promise<void>, params?: {
3884
+ appId?: string;
3885
+ sessionId?: string;
3886
+ }): Promise<() => void>;
3887
+ agentSpeech(event: Buffer$1, params?: {
3888
+ appId?: string;
3889
+ sessionId?: string;
3890
+ chunkId?: string;
3891
+ }): Promise<boolean>;
3892
+ onAgentSpeech(fn: (event: Buffer$1) => void | Promise<void>, params?: {
3893
+ appId?: string;
3894
+ sessionId?: string;
3895
+ chunkId?: string;
3896
+ }): Promise<() => void>;
3897
+ agentStopSpeech(event: SermasSessionDto, params?: {
3898
+ appId?: string;
3899
+ sessionId?: string;
3900
+ }): Promise<boolean>;
3901
+ onAgentStopSpeech(fn: (event: SermasSessionDto) => void | Promise<void>, params?: {
3902
+ appId?: string;
3903
+ sessionId?: string;
3904
+ }): Promise<() => void>;
3905
+ taskChanged(event: DialogueTaskChangedDto, params?: {
3906
+ appId?: string;
3907
+ taskId?: string;
3908
+ }): Promise<boolean>;
3909
+ onTaskChanged(fn: (event: DialogueTaskChangedDto) => void | Promise<void>, params?: {
3910
+ appId?: string;
3911
+ taskId?: string;
3912
+ }): Promise<() => void>;
3913
+ taskProgress(event: DialogueTaskProgressDto, params?: {
3914
+ appId?: string;
3915
+ taskId?: string;
3916
+ }): Promise<boolean>;
3917
+ onTaskProgress(fn: (event: DialogueTaskProgressDto) => void | Promise<void>, params?: {
3918
+ appId?: string;
3919
+ taskId?: string;
3920
+ }): Promise<() => void>;
3921
+ recordChanged(event: DialogueTaskRecordChangedDto, params?: {
3922
+ appId?: string;
3923
+ taskId?: string;
3924
+ }): Promise<boolean>;
3925
+ onRecordChanged(fn: (event: DialogueTaskRecordChangedDto) => void | Promise<void>, params?: {
3926
+ appId?: string;
3927
+ taskId?: string;
3928
+ }): Promise<() => void>;
3929
+ fieldHandler(event: DialogueTaskRecordHandlerDto, params?: {
3930
+ appId?: string;
3931
+ }): Promise<boolean>;
3932
+ onFieldHandler(fn: (event: DialogueTaskRecordHandlerDto) => void | Promise<void>, params?: {
3933
+ appId?: string;
3934
+ }): Promise<() => void>;
3935
+ toolTriggered(event: DialogueToolTriggeredEventDto, params?: {
3936
+ appId?: string;
3937
+ name?: string;
3938
+ }): Promise<boolean>;
3939
+ onToolTriggered(fn: (event: DialogueToolTriggeredEventDto) => void | Promise<void>, params?: {
3940
+ appId?: string;
3941
+ name?: string;
3942
+ }): Promise<() => void>;
3943
+ toolChanged(event: DialogueToolsRepositoryChanged, params?: {
3944
+ appId?: string;
3945
+ repositoryId?: string;
3946
+ }): Promise<boolean>;
3947
+ onToolChanged(fn: (event: DialogueToolsRepositoryChanged) => void | Promise<void>, params?: {
3948
+ appId?: string;
3949
+ repositoryId?: string;
3950
+ }): Promise<() => void>;
3951
+ toolNotMatching(event: DialogueToolNotMatchingEventDto, params?: {
3952
+ appId?: string;
3953
+ }): Promise<boolean>;
3954
+ onToolNotMatching(fn: (event: DialogueToolNotMatchingEventDto) => void | Promise<void>, params?: {
3955
+ appId?: string;
3956
+ }): Promise<() => void>;
3957
+ }
3958
+
3959
+ declare class Session {
3960
+ private readonly broker;
3961
+ constructor(broker: Broker);
3962
+ userInteraction(event: SessionDto, params?: {
3963
+ appId?: string;
3964
+ }): Promise<boolean>;
3965
+ onUserInteraction(fn: (event: SessionDto) => void | Promise<void>, params?: {
3966
+ appId?: string;
3967
+ }): Promise<() => void>;
3968
+ sessionChanged(event: SessionChangedDto, params?: {
3969
+ appId?: string;
3970
+ sessionId?: string;
3971
+ }): Promise<boolean>;
3972
+ onSessionChanged(fn: (event: SessionChangedDto) => void | Promise<void>, params?: {
3973
+ appId?: string;
3974
+ sessionId?: string;
3975
+ }): Promise<() => void>;
3976
+ support(event: SessionSupportEventDto, params?: {
3977
+ appId?: string;
3978
+ }): Promise<boolean>;
3979
+ onSupport(fn: (event: SessionSupportEventDto) => void | Promise<void>, params?: {
3980
+ appId?: string;
3981
+ }): Promise<() => void>;
3982
+ storageUpdated(event: SessionStorageEventDto, params?: {
3983
+ appId?: string;
3984
+ storageId?: string;
3985
+ }): Promise<boolean>;
3986
+ onStorageUpdated(fn: (event: SessionStorageEventDto) => void | Promise<void>, params?: {
3987
+ appId?: string;
3988
+ storageId?: string;
3989
+ }): Promise<() => void>;
3990
+ agentInteraction(event: AgentDto, params?: {
3991
+ appId?: string;
3992
+ }): Promise<boolean>;
3993
+ onAgentInteraction(fn: (event: AgentDto) => void | Promise<void>, params?: {
3994
+ appId?: string;
3995
+ }): Promise<() => void>;
3996
+ agentChanged(event: AgentChangedDto, params?: {
3997
+ appId?: string;
3998
+ agentId?: string;
3999
+ }): Promise<boolean>;
4000
+ onAgentChanged(fn: (event: AgentChangedDto) => void | Promise<void>, params?: {
4001
+ appId?: string;
4002
+ agentId?: string;
4003
+ }): Promise<() => void>;
4004
+ }
4005
+
4006
+ declare class Ui {
4007
+ private readonly broker;
4008
+ constructor(broker: Broker);
4009
+ assetChanged(event: UIAssetChangedDto, params?: {
4010
+ appId?: string;
4011
+ }): Promise<boolean>;
4012
+ onAssetChanged(fn: (event: UIAssetChangedDto) => void | Promise<void>, params?: {
4013
+ appId?: string;
4014
+ }): Promise<() => void>;
4015
+ content(event: UIContentDto, params?: {
4016
+ appId?: string;
4017
+ }): Promise<boolean>;
4018
+ onContent(fn: (event: UIContentDto) => void | Promise<void>, params?: {
4019
+ appId?: string;
4020
+ }): Promise<() => void>;
4021
+ interaction(event: UIInteractionEventDto, params?: {
4022
+ appId?: string;
4023
+ moduleId?: string;
4024
+ }): Promise<boolean>;
4025
+ onInteraction(fn: (event: UIInteractionEventDto) => void | Promise<void>, params?: {
4026
+ appId?: string;
4027
+ moduleId?: string;
4028
+ }): Promise<() => void>;
4029
+ }
4030
+
4031
+ declare class Xr {
4032
+ private readonly broker;
4033
+ constructor(broker: Broker);
4034
+ detected(event: XRMarkerDto, params?: {
4035
+ appId?: string;
4036
+ }): Promise<boolean>;
4037
+ onDetected(fn: (event: XRMarkerDto) => void | Promise<void>, params?: {
4038
+ appId?: string;
4039
+ }): Promise<() => void>;
4040
+ changed(event: XRMarkerChangedDto, params?: {
4041
+ appId?: string;
4042
+ markerId?: string;
4043
+ }): Promise<boolean>;
4044
+ onChanged(fn: (event: XRMarkerChangedDto) => void | Promise<void>, params?: {
4045
+ appId?: string;
4046
+ markerId?: string;
4047
+ }): Promise<() => void>;
4048
+ occluded(event: XROcclusionDto, params?: {
4049
+ appId?: string;
4050
+ }): Promise<boolean>;
4051
+ onOccluded(fn: (event: XROcclusionDto) => void | Promise<void>, params?: {
4052
+ appId?: string;
4053
+ }): Promise<() => void>;
4054
+ }
4055
+
4056
+ declare class Robotics {
4057
+ private readonly broker;
4058
+ constructor(broker: Broker);
4059
+ actuate(event: ActuationEventDto, params?: {
4060
+ appId?: string;
4061
+ }): Promise<boolean>;
4062
+ onActuate(fn: (event: ActuationEventDto) => void | Promise<void>, params?: {
4063
+ appId?: string;
4064
+ }): Promise<() => void>;
4065
+ move(event: MovementEventDto, params?: {
4066
+ appId?: string;
4067
+ }): Promise<boolean>;
4068
+ onMove(fn: (event: MovementEventDto) => void | Promise<void>, params?: {
4069
+ appId?: string;
4070
+ }): Promise<() => void>;
4071
+ robotStatus(event: StatusEventDto, params?: {
4072
+ appId?: string;
4073
+ }): Promise<boolean>;
4074
+ onRobotStatus(fn: (event: StatusEventDto) => void | Promise<void>, params?: {
4075
+ appId?: string;
4076
+ }): Promise<() => void>;
4077
+ initialPose(event: InitialPoseEventDto, params?: {
4078
+ appId?: string;
4079
+ }): Promise<boolean>;
4080
+ onInitialPose(fn: (event: InitialPoseEventDto) => void | Promise<void>, params?: {
4081
+ appId?: string;
4082
+ }): Promise<() => void>;
4083
+ opState(event: OperationalStateEventDto, params?: {
4084
+ appId?: string;
4085
+ }): Promise<boolean>;
4086
+ onOpState(fn: (event: OperationalStateEventDto) => void | Promise<void>, params?: {
4087
+ appId?: string;
4088
+ }): Promise<() => void>;
4089
+ }
4090
+
4091
+ declare class AsyncApiClient {
4092
+ private readonly broker;
4093
+ readonly platform: Platform;
4094
+ readonly auth: Auth;
4095
+ readonly module: Module;
4096
+ readonly detection: Detection;
4097
+ readonly dialogue: Dialogue;
4098
+ readonly session: Session;
4099
+ readonly ui: Ui;
4100
+ readonly xr: Xr;
4101
+ readonly robotics: Robotics;
4102
+ constructor(broker: Broker);
4103
+ }
4104
+
4105
+ /**
4106
+ * @publicApi
4107
+ */
4108
+ type LogLevel = 'log' | 'error' | 'warn' | 'debug' | 'verbose' | 'fatal';
4109
+ /**
4110
+ * @publicApi
4111
+ */
4112
+ interface LoggerService {
4113
+ /**
4114
+ * Write a 'log' level log.
4115
+ */
4116
+ log(message: any, ...optionalParams: any[]): any;
4117
+ /**
4118
+ * Write an 'error' level log.
4119
+ */
4120
+ error(message: any, ...optionalParams: any[]): any;
4121
+ /**
4122
+ * Write a 'warn' level log.
4123
+ */
4124
+ warn(message: any, ...optionalParams: any[]): any;
4125
+ /**
4126
+ * Write a 'debug' level log.
4127
+ */
4128
+ debug?(message: any, ...optionalParams: any[]): any;
4129
+ /**
4130
+ * Write a 'verbose' level log.
4131
+ */
4132
+ verbose?(message: any, ...optionalParams: any[]): any;
4133
+ /**
4134
+ * Write a 'fatal' level log.
4135
+ */
4136
+ fatal?(message: any, ...optionalParams: any[]): any;
4137
+ /**
4138
+ * Set log levels.
4139
+ * @param levels log levels
4140
+ */
4141
+ setLogLevels?(levels: LogLevel[]): any;
4142
+ }
4143
+
4144
+ declare class Logger implements LoggerService {
4145
+ private readonly logger;
4146
+ constructor(name: string);
4147
+ debug(message: any, ...optionalParams: any[]): void;
4148
+ error(message: any, ...optionalParams: any[]): void;
4149
+ fatal(message: any, ...optionalParams: any[]): void;
4150
+ log(message: any, ...optionalParams: any[]): void;
4151
+ setLogLevels(levels: LogLevel[]): void;
4152
+ verbose(message: any, ...optionalParams: any[]): void;
4153
+ warn(message: any, ...optionalParams: any[]): void;
4154
+ }
4155
+
4156
+ declare const sleep: (t?: number) => Promise<void>;
4157
+ type SermasEnvType = 'local' | 'dev' | 'prod';
4158
+ interface SermasApiClientConfig {
4159
+ access_token?: string;
4160
+ refresh_token?: string;
4161
+ clientId?: string;
4162
+ clientSecret?: string;
4163
+ baseURL?: string;
4164
+ appId?: string;
4165
+ logger?: LoggerService;
4166
+ }
4167
+ declare class SermasApiClient {
4168
+ private readonly config;
4169
+ private logger;
4170
+ api: SermasApi;
4171
+ events: AsyncApiClient;
4172
+ private broker;
4173
+ private apiUrl;
4174
+ private mqttUrl;
4175
+ private refreshTimeout;
4176
+ private ready;
4177
+ private jwt;
4178
+ private params;
4179
+ constructor(config: SermasApiClientConfig);
4180
+ getBroker(): Broker;
4181
+ close(): Promise<void>;
4182
+ private init;
4183
+ private watchToken;
4184
+ refreshToken(): Promise<any>;
4185
+ loadToken(clientId: any, clientSecret: any, appId?: string): Promise<JwtTokenDto>;
4186
+ setToken(accessToken: string | (LoginResponseDto & {
4187
+ appId?: string;
4188
+ }), refreshToken?: string, appId?: string): void;
4189
+ login(username: any, password: any, appId?: string): Promise<LoginResponseDto>;
4190
+ }
4191
+
4192
+ 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 DatasetRecordDto, type DatasetRecordFilterDto, 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 DialogueToolNotMatchingEventDto, 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 LLMRole, LLMRoleEnum, type LLMSettingsDto, type LinearVelocityDto, type LinkContentDto, type LinkUIContentDto, type LogType, LogTypeEnum, Logger, type LoggerService, type LoginRequestDto, type LoginResponseDto, type MemoryMessageType, MemoryMessageTypeEnum, type ModelGender, ModelGenderEnum, type ModelType, ModelTypeEnum, type ModuleConfigEventDto, type ModuleResourceDto, type ModuleSettingsDto, type MonitoringRecordDto, type MovementDto, type MovementEventDto, type NoiseEventDto, type ObjectContentDto, type ObjectDetectionDto, type ObjectDetectionEventDto, type ObjectDetectionRequest, type ObjectDetectionType, ObjectDetectionTypeEnum, type ObjectUIContentDto, type OperationalStateDto, type OperationalStateEventDto, 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 SessionSearchFilter, 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, 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 WebpageContentDto, type WebpageUIContentDto, type XRMarkerChangedDto, type XRMarkerDto, type XRMarkerListRequestDto, type XROcclusionDto, type XROcclusionResponseDto, type anonymous_schema_100, type anonymous_schema_103, type anonymous_schema_150, type anonymous_schema_154, type anonymous_schema_216, type anonymous_schema_285, type anonymous_schema_286, type anonymous_schema_307, type anonymous_schema_326, type anonymous_schema_408, type anonymous_schema_411, type anonymous_schema_98, sleep };