@sermas/api-client 1.0.0-alpha6 → 1.0.0-alpha8
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/asyncapi.d.ts +1 -0
- package/asyncapi.js +18 -0
- package/asyncapi.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/libs/asyncapi/models.d.ts +99 -24
- package/libs/asyncapi/models.js +34 -12
- package/libs/asyncapi/models.js.map +1 -1
- package/libs/openapi/index.d.ts +37 -2
- package/libs/openapi/index.js +33 -1
- package/libs/openapi/index.js.map +1 -1
- package/libs/openapi/models/AgentHeartBeatEventDto.d.ts +8 -8
- package/libs/openapi/models/AgentHeartBeatEventDto.js +8 -8
- package/libs/openapi/models/AgentHeartBeatEventDto.js.map +1 -1
- package/libs/openapi/models/AvatarCameraConfig.d.ts +5 -0
- package/libs/openapi/models/AvatarCameraConfig.js +3 -0
- package/libs/openapi/models/AvatarCameraConfig.js.map +1 -0
- package/libs/openapi/models/ButtonsContentDto.d.ts +4 -0
- package/libs/openapi/models/ButtonsContentDto.js +3 -0
- package/libs/openapi/models/ButtonsContentDto.js.map +1 -0
- package/libs/openapi/models/ButtonsUIContentDto.d.ts +40 -0
- package/libs/openapi/models/ButtonsUIContentDto.js +24 -0
- package/libs/openapi/models/ButtonsUIContentDto.js.map +1 -0
- package/libs/openapi/models/ClearScreenDto.d.ts +39 -0
- package/libs/openapi/models/ClearScreenDto.js +24 -0
- package/libs/openapi/models/ClearScreenDto.js.map +1 -0
- package/libs/openapi/models/ClearUIContentDto.d.ts +39 -0
- package/libs/openapi/models/ClearUIContentDto.js +24 -0
- package/libs/openapi/models/ClearUIContentDto.js.map +1 -0
- package/libs/openapi/models/DialogueMessageDto.d.ts +26 -0
- package/libs/openapi/models/DialogueMessageDto.js +3 -0
- package/libs/openapi/models/DialogueMessageDto.js.map +1 -0
- package/libs/openapi/models/DialogueMessageUIContentDto.d.ts +40 -0
- package/libs/openapi/models/DialogueMessageUIContentDto.js +24 -0
- package/libs/openapi/models/DialogueMessageUIContentDto.js.map +1 -0
- package/libs/openapi/models/DialogueTextToSpeechDto.d.ts +1 -1
- package/libs/openapi/models/EmailContentDto.d.ts +4 -0
- package/libs/openapi/models/EmailContentDto.js +3 -0
- package/libs/openapi/models/EmailContentDto.js.map +1 -0
- package/libs/openapi/models/EmailUIContentDto.d.ts +40 -0
- package/libs/openapi/models/EmailUIContentDto.js +24 -0
- package/libs/openapi/models/EmailUIContentDto.js.map +1 -0
- package/libs/openapi/models/HtmlContentDto.d.ts +3 -0
- package/libs/openapi/models/HtmlContentDto.js +3 -0
- package/libs/openapi/models/HtmlContentDto.js.map +1 -0
- package/libs/openapi/models/HtmlUIContentDto.d.ts +40 -0
- package/libs/openapi/models/HtmlUIContentDto.js +24 -0
- package/libs/openapi/models/HtmlUIContentDto.js.map +1 -0
- package/libs/openapi/models/ImageContentDto.d.ts +6 -0
- package/libs/openapi/models/ImageContentDto.js +3 -0
- package/libs/openapi/models/ImageContentDto.js.map +1 -0
- package/libs/openapi/models/ImageUIContentDto.d.ts +40 -0
- package/libs/openapi/models/ImageUIContentDto.js +24 -0
- package/libs/openapi/models/ImageUIContentDto.js.map +1 -0
- package/libs/openapi/models/LinkContentDto.d.ts +4 -0
- package/libs/openapi/models/LinkContentDto.js +3 -0
- package/libs/openapi/models/LinkContentDto.js.map +1 -0
- package/libs/openapi/models/LinkUIContentDto.d.ts +40 -0
- package/libs/openapi/models/LinkUIContentDto.js +24 -0
- package/libs/openapi/models/LinkUIContentDto.js.map +1 -0
- package/libs/openapi/models/ObjectContentDto.d.ts +3 -0
- package/libs/openapi/models/ObjectContentDto.js +3 -0
- package/libs/openapi/models/ObjectContentDto.js.map +1 -0
- package/libs/openapi/models/ObjectUIContentDto.d.ts +40 -0
- package/libs/openapi/models/ObjectUIContentDto.js +24 -0
- package/libs/openapi/models/ObjectUIContentDto.js.map +1 -0
- package/libs/openapi/models/OrientationDto.d.ts +6 -0
- package/libs/openapi/models/OrientationDto.js +3 -0
- package/libs/openapi/models/OrientationDto.js.map +1 -0
- package/libs/openapi/models/PdfContentDto.d.ts +3 -0
- package/libs/openapi/models/PdfContentDto.js +3 -0
- package/libs/openapi/models/PdfContentDto.js.map +1 -0
- package/libs/openapi/models/PdfUIContentDto.d.ts +40 -0
- package/libs/openapi/models/PdfUIContentDto.js +24 -0
- package/libs/openapi/models/PdfUIContentDto.js.map +1 -0
- package/libs/openapi/models/Point3D.d.ts +5 -0
- package/libs/openapi/models/Point3D.js +3 -0
- package/libs/openapi/models/Point3D.js.map +1 -0
- package/libs/openapi/models/PoseDto.d.ts +6 -1
- package/libs/openapi/models/PositionDto.d.ts +5 -0
- package/libs/openapi/models/PositionDto.js +3 -0
- package/libs/openapi/models/PositionDto.js.map +1 -0
- package/libs/openapi/models/QuizAnswerDto.d.ts +5 -0
- package/libs/openapi/models/QuizAnswerDto.js +3 -0
- package/libs/openapi/models/QuizAnswerDto.js.map +1 -0
- package/libs/openapi/models/QuizContentDto.d.ts +5 -0
- package/libs/openapi/models/QuizContentDto.js +3 -0
- package/libs/openapi/models/QuizContentDto.js.map +1 -0
- package/libs/openapi/models/QuizUIContentDto.d.ts +40 -0
- package/libs/openapi/models/QuizUIContentDto.js +24 -0
- package/libs/openapi/models/QuizUIContentDto.js.map +1 -0
- package/libs/openapi/models/RepositoryAvatarModelDto.d.ts +9 -0
- package/libs/openapi/models/RepositoryAvatarModelDto.js +3 -0
- package/libs/openapi/models/RepositoryAvatarModelDto.js.map +1 -0
- package/libs/openapi/models/RepositoryBackgroundModelDto.d.ts +5 -0
- package/libs/openapi/models/RepositoryBackgroundModelDto.js +3 -0
- package/libs/openapi/models/RepositoryBackgroundModelDto.js.map +1 -0
- package/libs/openapi/models/RepositoryMapModelDto.d.ts +7 -0
- package/libs/openapi/models/RepositoryMapModelDto.js +3 -0
- package/libs/openapi/models/RepositoryMapModelDto.js.map +1 -0
- package/libs/openapi/models/RepositoryRobotModelDto.d.ts +6 -0
- package/libs/openapi/models/RepositoryRobotModelDto.js +3 -0
- package/libs/openapi/models/RepositoryRobotModelDto.js.map +1 -0
- package/libs/openapi/models/TextContentDto.d.ts +3 -0
- package/libs/openapi/models/TextContentDto.js +3 -0
- package/libs/openapi/models/TextContentDto.js.map +1 -0
- package/libs/openapi/models/TextUIContentDto.d.ts +40 -0
- package/libs/openapi/models/TextUIContentDto.js +24 -0
- package/libs/openapi/models/TextUIContentDto.js.map +1 -0
- package/libs/openapi/models/UIContentDto.d.ts +20 -2
- package/libs/openapi/models/UIContentDto.js +21 -0
- package/libs/openapi/models/UIContentDto.js.map +1 -1
- package/libs/openapi/models/UserInteractionIntentionDto.d.ts +8 -2
- package/libs/openapi/models/UserInteractionIntentionDto.js +9 -0
- package/libs/openapi/models/UserInteractionIntentionDto.js.map +1 -1
- package/libs/openapi/models/VideoContentDto.d.ts +9 -0
- package/libs/openapi/models/VideoContentDto.js +3 -0
- package/libs/openapi/models/VideoContentDto.js.map +1 -0
- package/libs/openapi/models/VideoUIContentDto.d.ts +40 -0
- package/libs/openapi/models/VideoUIContentDto.js +24 -0
- package/libs/openapi/models/VideoUIContentDto.js.map +1 -0
- package/libs/openapi/models/WebpageContentDto.d.ts +3 -0
- package/libs/openapi/models/WebpageContentDto.js +3 -0
- package/libs/openapi/models/WebpageContentDto.js.map +1 -0
- package/libs/openapi/models/WebpageUIContentDto.d.ts +40 -0
- package/libs/openapi/models/WebpageUIContentDto.js +24 -0
- package/libs/openapi/models/WebpageUIContentDto.js.map +1 -0
- package/libs/openapi/models/index.d.ts +95 -0
- package/libs/openapi/models/index.js +112 -0
- package/libs/openapi/models/index.js.map +1 -0
- package/libs/openapi/services/PlatformService.d.ts +30 -0
- package/libs/openapi/services/PlatformService.js +68 -0
- package/libs/openapi/services/PlatformService.js.map +1 -1
- package/openapi-generator.d.ts +1 -0
- package/openapi-generator.js +48 -0
- package/openapi-generator.js.map +1 -0
- package/openapi.d.ts +1 -0
- package/openapi.js +18 -0
- package/openapi.js.map +1 -0
- package/package.json +5 -4
package/asyncapi.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './libs/asyncapi/models';
|
package/asyncapi.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./libs/asyncapi/models"), exports);
|
|
18
|
+
//# sourceMappingURL=asyncapi.js.map
|
package/asyncapi.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asyncapi.js","sourceRoot":"","sources":["../src/asyncapi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import AsyncApiClient from './libs/asyncapi';
|
|
2
2
|
import { LoggerService } from './libs/logger.dto';
|
|
3
3
|
import { SermasApi } from './libs/openapi';
|
|
4
|
+
export declare const sleep: (t?: number) => Promise<void>;
|
|
4
5
|
type envType = 'local' | 'dev' | 'prod';
|
|
5
6
|
export interface SermasApiClientConfig {
|
|
6
7
|
domain?: string;
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.SermasApiClient = exports.createSermasClient = void 0;
|
|
6
|
+
exports.SermasApiClient = exports.createSermasClient = exports.sleep = void 0;
|
|
7
7
|
const dotenv_1 = __importDefault(require("dotenv"));
|
|
8
8
|
const jwt_decode_1 = require("jwt-decode");
|
|
9
9
|
const asyncapi_1 = __importDefault(require("./libs/asyncapi"));
|
|
@@ -11,6 +11,7 @@ const broker_1 = require("./libs/broker");
|
|
|
11
11
|
const logger_1 = require("./libs/logger");
|
|
12
12
|
const openapi_1 = require("./libs/openapi");
|
|
13
13
|
const sleep = (t = 1000) => new Promise((resolve) => setTimeout(() => resolve(), t));
|
|
14
|
+
exports.sleep = sleep;
|
|
14
15
|
const BASE_DOMAIN = `prod.sermas.spindoxlabs.it`;
|
|
15
16
|
const createSermasClient = async (config) => {
|
|
16
17
|
if (config.logger) {
|
|
@@ -140,14 +141,14 @@ if (require.main === module) {
|
|
|
140
141
|
appId: 'asa',
|
|
141
142
|
});
|
|
142
143
|
console.log('subscribed');
|
|
143
|
-
await sleep();
|
|
144
|
+
await (0, exports.sleep)();
|
|
144
145
|
await client.events.detection.noise({
|
|
145
146
|
appId: 'test',
|
|
146
147
|
level: '100',
|
|
147
148
|
noiseType: 'foo',
|
|
148
149
|
speakerId: ['123456789'],
|
|
149
150
|
});
|
|
150
|
-
await sleep();
|
|
151
|
+
await (0, exports.sleep)();
|
|
151
152
|
cancelSub();
|
|
152
153
|
})();
|
|
153
154
|
}
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AA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KAAK,CAAC;YAClC,KAAK,EAAE,MAAM;YACb,KAAK,EAAE,KAAK;YACZ,SAAS,EAAE,KAAK;YAChB,SAAS,EAAE,CAAC,WAAW,CAAC;SACzB,CAAC,CAAC;QAEH,MAAM,IAAA,aAAK,GAAE,CAAC;QACd,SAAS,EAAE,CAAC;IACd,CAAC,CAAC,EAAE,CAAC;AACP,CAAC"}
|
|
@@ -144,39 +144,88 @@ export interface UserDetectionEventDto {
|
|
|
144
144
|
userId?: string;
|
|
145
145
|
cameraId: string;
|
|
146
146
|
source: string;
|
|
147
|
-
detections:
|
|
147
|
+
detections: UserDetectionDto[];
|
|
148
|
+
}
|
|
149
|
+
export interface UserDetectionDto {
|
|
150
|
+
skeleton: string[];
|
|
151
|
+
face: BoundingBox;
|
|
152
|
+
faceMask: string[];
|
|
153
|
+
fullBody: BoundingBox;
|
|
154
|
+
user: StringInferenceValue[];
|
|
155
|
+
position: PositionDto;
|
|
156
|
+
}
|
|
157
|
+
export interface BoundingBox {
|
|
158
|
+
x: number;
|
|
159
|
+
y: number;
|
|
160
|
+
w: number;
|
|
161
|
+
h: number;
|
|
162
|
+
}
|
|
163
|
+
export interface StringInferenceValue {
|
|
164
|
+
probability: number;
|
|
165
|
+
value: string;
|
|
166
|
+
}
|
|
167
|
+
export interface PositionDto {
|
|
168
|
+
x: number;
|
|
169
|
+
y: number;
|
|
170
|
+
z: number;
|
|
148
171
|
}
|
|
149
172
|
export interface UserInteractionIntentionDto {
|
|
150
173
|
appId: string;
|
|
151
174
|
clientId?: string;
|
|
152
175
|
userId?: string;
|
|
153
176
|
moduleId: string;
|
|
154
|
-
source:
|
|
177
|
+
source: string;
|
|
155
178
|
probability: number;
|
|
156
|
-
interactionType:
|
|
179
|
+
interactionType: AnonymousSchema_124;
|
|
157
180
|
sessionId: string;
|
|
158
181
|
}
|
|
182
|
+
export declare enum AnonymousSchema_124 {
|
|
183
|
+
START = "start",
|
|
184
|
+
STOP = "stop"
|
|
185
|
+
}
|
|
159
186
|
export interface UserCharacterizationEventDto {
|
|
160
187
|
appId: string;
|
|
161
188
|
clientId?: string;
|
|
162
189
|
userId?: string;
|
|
163
190
|
source: string;
|
|
164
|
-
detections:
|
|
165
|
-
sessionId
|
|
191
|
+
detections: UserCharacterizationDto[];
|
|
192
|
+
sessionId?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface UserCharacterizationDto {
|
|
195
|
+
emotion: UserEmotionValue;
|
|
196
|
+
age?: UserAgeValue;
|
|
197
|
+
user?: StringInferenceValue[];
|
|
198
|
+
}
|
|
199
|
+
export interface UserEmotionValue {
|
|
200
|
+
probability: number;
|
|
201
|
+
value: string;
|
|
202
|
+
}
|
|
203
|
+
export interface UserAgeValue {
|
|
204
|
+
probability: number;
|
|
205
|
+
value: number;
|
|
166
206
|
}
|
|
167
207
|
export interface AudioClassificationEventDto {
|
|
168
208
|
appId: string;
|
|
169
209
|
clientId?: string;
|
|
170
210
|
userId?: string;
|
|
171
211
|
source: string;
|
|
172
|
-
detections:
|
|
173
|
-
sessionId
|
|
212
|
+
detections: AudioClassificationValue[];
|
|
213
|
+
sessionId?: string;
|
|
214
|
+
ts?: string;
|
|
215
|
+
}
|
|
216
|
+
export interface AudioClassificationValue {
|
|
217
|
+
probability: number;
|
|
218
|
+
value: string;
|
|
174
219
|
}
|
|
175
220
|
export interface ObjectDetectionEventDto {
|
|
176
221
|
appId: string;
|
|
177
222
|
clientId?: string;
|
|
178
223
|
userId?: string;
|
|
179
|
-
detections:
|
|
224
|
+
detections: ObjectDetectionDto[];
|
|
225
|
+
}
|
|
226
|
+
export interface ObjectDetectionDto {
|
|
227
|
+
probability: number;
|
|
228
|
+
value: string;
|
|
180
229
|
}
|
|
181
230
|
export interface QrCodeEventDto {
|
|
182
231
|
appId: string;
|
|
@@ -209,7 +258,7 @@ export interface DialogueMessageDto {
|
|
|
209
258
|
text: string;
|
|
210
259
|
gender: string;
|
|
211
260
|
language: string;
|
|
212
|
-
emotion?:
|
|
261
|
+
emotion?: string;
|
|
213
262
|
llm?: string;
|
|
214
263
|
chunkId?: number;
|
|
215
264
|
}
|
|
@@ -237,18 +286,18 @@ export interface AgentDto {
|
|
|
237
286
|
clientId?: string;
|
|
238
287
|
userId?: string;
|
|
239
288
|
agentId: string;
|
|
240
|
-
status:
|
|
289
|
+
status: AnonymousSchema_198;
|
|
241
290
|
modules: string[];
|
|
242
291
|
}
|
|
243
|
-
export declare enum
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
292
|
+
export declare enum AnonymousSchema_198 {
|
|
293
|
+
UNAVAILABLE = "unavailable",
|
|
294
|
+
ERROR = "error",
|
|
295
|
+
NOT_READY = "not_ready",
|
|
296
|
+
READY = "ready",
|
|
297
|
+
LOADING = "loading",
|
|
298
|
+
INTERACTING = "interacting",
|
|
299
|
+
WAITING = "waiting",
|
|
300
|
+
PROCESSING = "processing"
|
|
252
301
|
}
|
|
253
302
|
export interface AgentChangedDto {
|
|
254
303
|
appId: string;
|
|
@@ -289,13 +338,29 @@ export interface UiContentDto {
|
|
|
289
338
|
clientId?: string;
|
|
290
339
|
userId?: string;
|
|
291
340
|
sessionId?: string;
|
|
292
|
-
contentType:
|
|
341
|
+
contentType: AnonymousSchema_230;
|
|
293
342
|
content: Record<string, any>;
|
|
294
|
-
metadata
|
|
343
|
+
metadata?: Record<string, any>;
|
|
295
344
|
options: Record<string, any>;
|
|
296
345
|
chunkId?: number;
|
|
297
346
|
messageId?: string;
|
|
298
347
|
}
|
|
348
|
+
export declare enum AnonymousSchema_230 {
|
|
349
|
+
VIDEO = "video",
|
|
350
|
+
RESERVED_IMAGE = "image",
|
|
351
|
+
PDF = "pdf",
|
|
352
|
+
WEBPAGE = "webpage",
|
|
353
|
+
RESERVED_OBJECT = "object",
|
|
354
|
+
RESERVED_TEXT = "text",
|
|
355
|
+
EMAIL = "email",
|
|
356
|
+
HTML = "html",
|
|
357
|
+
RESERVED_LINK = "link",
|
|
358
|
+
DIALOGUE_MINUS_MESSAGE = "dialogue-message",
|
|
359
|
+
NAVIGATION = "navigation",
|
|
360
|
+
BUTTONS = "buttons",
|
|
361
|
+
QUIZ = "quiz",
|
|
362
|
+
CLEAR_MINUS_SCREEN = "clear-screen"
|
|
363
|
+
}
|
|
299
364
|
export interface UiInteractionEventDto {
|
|
300
365
|
appId: string;
|
|
301
366
|
clientId?: string;
|
|
@@ -345,10 +410,20 @@ export interface MovementEventDto {
|
|
|
345
410
|
movement: MovementDto;
|
|
346
411
|
}
|
|
347
412
|
export interface MovementDto {
|
|
348
|
-
targetPosition:
|
|
413
|
+
targetPosition: PoseDto;
|
|
349
414
|
personId: string;
|
|
350
415
|
path: string[];
|
|
351
416
|
}
|
|
417
|
+
export interface PoseDto {
|
|
418
|
+
position: PositionDto;
|
|
419
|
+
orientation: OrientationDto;
|
|
420
|
+
}
|
|
421
|
+
export interface OrientationDto {
|
|
422
|
+
x: number;
|
|
423
|
+
y: number;
|
|
424
|
+
z: number;
|
|
425
|
+
w: number;
|
|
426
|
+
}
|
|
352
427
|
export interface StatusEventDto {
|
|
353
428
|
appId: string;
|
|
354
429
|
clientId?: string;
|
|
@@ -357,7 +432,7 @@ export interface StatusEventDto {
|
|
|
357
432
|
robotId: string;
|
|
358
433
|
}
|
|
359
434
|
export interface StatusDto {
|
|
360
|
-
actualPosition:
|
|
435
|
+
actualPosition: PoseDto;
|
|
361
436
|
velocity: VelocityDto;
|
|
362
437
|
}
|
|
363
438
|
export interface VelocityDto {
|
|
@@ -371,6 +446,6 @@ export interface InitialPoseEventDto {
|
|
|
371
446
|
initialPose: InitialPoseDto;
|
|
372
447
|
}
|
|
373
448
|
export interface InitialPoseDto {
|
|
374
|
-
pose:
|
|
449
|
+
pose: PoseDto;
|
|
375
450
|
covariance: string[];
|
|
376
451
|
}
|
package/libs/asyncapi/models.js
CHANGED
|
@@ -1,16 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// generated, do not edit
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
var
|
|
6
|
-
(function (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
exports.AnonymousSchema_230 = exports.AnonymousSchema_198 = exports.AnonymousSchema_124 = void 0;
|
|
5
|
+
var AnonymousSchema_124;
|
|
6
|
+
(function (AnonymousSchema_124) {
|
|
7
|
+
AnonymousSchema_124["START"] = "start";
|
|
8
|
+
AnonymousSchema_124["STOP"] = "stop";
|
|
9
|
+
})(AnonymousSchema_124 || (exports.AnonymousSchema_124 = AnonymousSchema_124 = {}));
|
|
10
|
+
var AnonymousSchema_198;
|
|
11
|
+
(function (AnonymousSchema_198) {
|
|
12
|
+
AnonymousSchema_198["UNAVAILABLE"] = "unavailable";
|
|
13
|
+
AnonymousSchema_198["ERROR"] = "error";
|
|
14
|
+
AnonymousSchema_198["NOT_READY"] = "not_ready";
|
|
15
|
+
AnonymousSchema_198["READY"] = "ready";
|
|
16
|
+
AnonymousSchema_198["LOADING"] = "loading";
|
|
17
|
+
AnonymousSchema_198["INTERACTING"] = "interacting";
|
|
18
|
+
AnonymousSchema_198["WAITING"] = "waiting";
|
|
19
|
+
AnonymousSchema_198["PROCESSING"] = "processing";
|
|
20
|
+
})(AnonymousSchema_198 || (exports.AnonymousSchema_198 = AnonymousSchema_198 = {}));
|
|
21
|
+
var AnonymousSchema_230;
|
|
22
|
+
(function (AnonymousSchema_230) {
|
|
23
|
+
AnonymousSchema_230["VIDEO"] = "video";
|
|
24
|
+
AnonymousSchema_230["RESERVED_IMAGE"] = "image";
|
|
25
|
+
AnonymousSchema_230["PDF"] = "pdf";
|
|
26
|
+
AnonymousSchema_230["WEBPAGE"] = "webpage";
|
|
27
|
+
AnonymousSchema_230["RESERVED_OBJECT"] = "object";
|
|
28
|
+
AnonymousSchema_230["RESERVED_TEXT"] = "text";
|
|
29
|
+
AnonymousSchema_230["EMAIL"] = "email";
|
|
30
|
+
AnonymousSchema_230["HTML"] = "html";
|
|
31
|
+
AnonymousSchema_230["RESERVED_LINK"] = "link";
|
|
32
|
+
AnonymousSchema_230["DIALOGUE_MINUS_MESSAGE"] = "dialogue-message";
|
|
33
|
+
AnonymousSchema_230["NAVIGATION"] = "navigation";
|
|
34
|
+
AnonymousSchema_230["BUTTONS"] = "buttons";
|
|
35
|
+
AnonymousSchema_230["QUIZ"] = "quiz";
|
|
36
|
+
AnonymousSchema_230["CLEAR_MINUS_SCREEN"] = "clear-screen";
|
|
37
|
+
})(AnonymousSchema_230 || (exports.AnonymousSchema_230 = AnonymousSchema_230 = {}));
|
|
16
38
|
//# sourceMappingURL=models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/libs/asyncapi/models.ts"],"names":[],"mappings":";AAAA,yBAAyB;;;
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/libs/asyncapi/models.ts"],"names":[],"mappings":";AAAA,yBAAyB;;;AAgNzB,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,oCAAa,CAAA;AACf,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AA4HD,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,sCAAe,CAAA;IACf,8CAAuB,CAAA;IACvB,sCAAe,CAAA;IACf,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;AAC3B,CAAC,EATW,mBAAmB,mCAAnB,mBAAmB,QAS9B;AAqDD,IAAY,mBAeX;AAfD,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,+CAAwB,CAAA;IACxB,kCAAW,CAAA;IACX,0CAAmB,CAAA;IACnB,iDAA0B,CAAA;IAC1B,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,6CAAsB,CAAA;IACtB,kEAA2C,CAAA;IAC3C,gDAAyB,CAAA;IACzB,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,0DAAmC,CAAA;AACrC,CAAC,EAfW,mBAAmB,mCAAnB,mBAAmB,QAe9B"}
|
package/libs/openapi/index.d.ts
CHANGED
|
@@ -14,29 +14,58 @@ export type { AppSettingsDto } from './models/AppSettingsDto';
|
|
|
14
14
|
export type { AppToolsDTO } from './models/AppToolsDTO';
|
|
15
15
|
export type { AuthJwtUser } from './models/AuthJwtUser';
|
|
16
16
|
export type { AuthorizationUser } from './models/AuthorizationUser';
|
|
17
|
+
export type { AvatarCameraConfig } from './models/AvatarCameraConfig';
|
|
18
|
+
export type { ButtonsContentDto } from './models/ButtonsContentDto';
|
|
19
|
+
export { ButtonsUIContentDto } from './models/ButtonsUIContentDto';
|
|
20
|
+
export { ClearScreenDto } from './models/ClearScreenDto';
|
|
21
|
+
export { ClearUIContentDto } from './models/ClearUIContentDto';
|
|
17
22
|
export type { CreatePlatformAppDto } from './models/CreatePlatformAppDto';
|
|
18
23
|
export type { DialogueDocumentDto } from './models/DialogueDocumentDto';
|
|
19
24
|
export type { DialogueDocumentMetadataDto } from './models/DialogueDocumentMetadataDto';
|
|
25
|
+
export type { DialogueMessageDto } from './models/DialogueMessageDto';
|
|
26
|
+
export { DialogueMessageUIContentDto } from './models/DialogueMessageUIContentDto';
|
|
20
27
|
export type { DialogueTextToSpeechDto } from './models/DialogueTextToSpeechDto';
|
|
21
28
|
export type { DialogueUserMessageDto } from './models/DialogueUserMessageDto';
|
|
29
|
+
export type { EmailContentDto } from './models/EmailContentDto';
|
|
30
|
+
export { EmailUIContentDto } from './models/EmailUIContentDto';
|
|
31
|
+
export type { HtmlContentDto } from './models/HtmlContentDto';
|
|
32
|
+
export { HtmlUIContentDto } from './models/HtmlUIContentDto';
|
|
33
|
+
export type { ImageContentDto } from './models/ImageContentDto';
|
|
34
|
+
export { ImageUIContentDto } from './models/ImageUIContentDto';
|
|
22
35
|
export type { JwtTokenDto } from './models/JwtTokenDto';
|
|
23
36
|
export type { KeycloakJwtTokenResourceAccess } from './models/KeycloakJwtTokenResourceAccess';
|
|
24
37
|
export type { LinearVelocityDto } from './models/LinearVelocityDto';
|
|
38
|
+
export type { LinkContentDto } from './models/LinkContentDto';
|
|
39
|
+
export { LinkUIContentDto } from './models/LinkUIContentDto';
|
|
25
40
|
export type { LoginRequestDto } from './models/LoginRequestDto';
|
|
26
41
|
export type { LoginResponseDto } from './models/LoginResponseDto';
|
|
27
42
|
export type { ModuleResourceDto } from './models/ModuleResourceDto';
|
|
28
43
|
export type { ModuleSettingsDto } from './models/ModuleSettingsDto';
|
|
29
44
|
export type { MovementDto } from './models/MovementDto';
|
|
30
45
|
export type { MovementEventDto } from './models/MovementEventDto';
|
|
46
|
+
export type { ObjectContentDto } from './models/ObjectContentDto';
|
|
47
|
+
export { ObjectUIContentDto } from './models/ObjectUIContentDto';
|
|
48
|
+
export type { OrientationDto } from './models/OrientationDto';
|
|
49
|
+
export type { PdfContentDto } from './models/PdfContentDto';
|
|
50
|
+
export { PdfUIContentDto } from './models/PdfUIContentDto';
|
|
31
51
|
export type { PlatformAppDto } from './models/PlatformAppDto';
|
|
32
52
|
export type { PlatformAppExportFilterDto } from './models/PlatformAppExportFilterDto';
|
|
33
53
|
export type { PlatformModuleConfigDto } from './models/PlatformModuleConfigDto';
|
|
34
54
|
export type { PlatformSettingsDto } from './models/PlatformSettingsDto';
|
|
55
|
+
export type { Point3D } from './models/Point3D';
|
|
35
56
|
export type { PoseDto } from './models/PoseDto';
|
|
57
|
+
export type { PositionDto } from './models/PositionDto';
|
|
58
|
+
export type { QuizAnswerDto } from './models/QuizAnswerDto';
|
|
59
|
+
export type { QuizContentDto } from './models/QuizContentDto';
|
|
60
|
+
export { QuizUIContentDto } from './models/QuizUIContentDto';
|
|
36
61
|
export type { RefreshTokenRequestDto } from './models/RefreshTokenRequestDto';
|
|
37
62
|
export type { RegistrationRequestDto } from './models/RegistrationRequestDto';
|
|
38
63
|
export type { RegistrationResponseDto } from './models/RegistrationResponseDto';
|
|
64
|
+
export type { RepositoryAvatarModelDto } from './models/RepositoryAvatarModelDto';
|
|
65
|
+
export type { RepositoryBackgroundModelDto } from './models/RepositoryBackgroundModelDto';
|
|
39
66
|
export type { RepositoryConfigDto } from './models/RepositoryConfigDto';
|
|
67
|
+
export type { RepositoryMapModelDto } from './models/RepositoryMapModelDto';
|
|
68
|
+
export type { RepositoryRobotModelDto } from './models/RepositoryRobotModelDto';
|
|
40
69
|
export type { SentimentAnalysisRequest } from './models/SentimentAnalysisRequest';
|
|
41
70
|
export type { SermasBaseDto } from './models/SermasBaseDto';
|
|
42
71
|
export type { SessionDto } from './models/SessionDto';
|
|
@@ -48,18 +77,24 @@ export type { SessionSupportRequestDto } from './models/SessionSupportRequestDto
|
|
|
48
77
|
export type { SessionSupportResponseDto } from './models/SessionSupportResponseDto';
|
|
49
78
|
export type { StatusDto } from './models/StatusDto';
|
|
50
79
|
export type { StatusEventDto } from './models/StatusEventDto';
|
|
80
|
+
export type { TextContentDto } from './models/TextContentDto';
|
|
81
|
+
export { TextUIContentDto } from './models/TextUIContentDto';
|
|
51
82
|
export type { ToolsRequestSchema } from './models/ToolsRequestSchema';
|
|
52
83
|
export type { ToolsRequestSchemaAuthBasic } from './models/ToolsRequestSchemaAuthBasic';
|
|
53
84
|
export type { ToolsRequestSchemaAuthBearer } from './models/ToolsRequestSchemaAuthBearer';
|
|
54
|
-
export
|
|
85
|
+
export { UIContentDto } from './models/UIContentDto';
|
|
55
86
|
export type { UIInteractionDTO } from './models/UIInteractionDTO';
|
|
56
87
|
export type { UILoaderResponseDto } from './models/UILoaderResponseDto';
|
|
57
88
|
export type { UIModelMapBlendShapesRequestDto } from './models/UIModelMapBlendShapesRequestDto';
|
|
58
89
|
export type { UIModelMapBlendShapesResponseDto } from './models/UIModelMapBlendShapesResponseDto';
|
|
59
90
|
export type { UpdateUserRequestDto } from './models/UpdateUserRequestDto';
|
|
60
|
-
export
|
|
91
|
+
export { UserInteractionIntentionDto } from './models/UserInteractionIntentionDto';
|
|
61
92
|
export type { VelocityDto } from './models/VelocityDto';
|
|
93
|
+
export type { VideoContentDto } from './models/VideoContentDto';
|
|
94
|
+
export { VideoUIContentDto } from './models/VideoUIContentDto';
|
|
62
95
|
export { ViewLogsRequestDto } from './models/ViewLogsRequestDto';
|
|
96
|
+
export type { WebpageContentDto } from './models/WebpageContentDto';
|
|
97
|
+
export { WebpageUIContentDto } from './models/WebpageUIContentDto';
|
|
63
98
|
export type { XRMarkerDto } from './models/XRMarkerDto';
|
|
64
99
|
export type { XRMarkerListRequestDto } from './models/XRMarkerListRequestDto';
|
|
65
100
|
export type { XRMarkerListResponseDto } from './models/XRMarkerListResponseDto';
|
package/libs/openapi/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.XrService = exports.UiService = exports.SessionService = exports.RoboticsService = exports.PlatformService = exports.DialogueService = exports.DetectionService = exports.AuthenticationService = exports.AgentService = exports.ViewLogsRequestDto = exports.AgentHeartBeatEventDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.SermasApi = void 0;
|
|
3
|
+
exports.XrService = exports.UiService = exports.SessionService = exports.RoboticsService = exports.PlatformService = exports.DialogueService = exports.DetectionService = exports.AuthenticationService = exports.AgentService = exports.WebpageUIContentDto = exports.ViewLogsRequestDto = exports.VideoUIContentDto = exports.UserInteractionIntentionDto = exports.UIContentDto = exports.TextUIContentDto = exports.QuizUIContentDto = exports.PdfUIContentDto = exports.ObjectUIContentDto = exports.LinkUIContentDto = exports.ImageUIContentDto = exports.HtmlUIContentDto = exports.EmailUIContentDto = exports.DialogueMessageUIContentDto = exports.ClearUIContentDto = exports.ClearScreenDto = exports.ButtonsUIContentDto = exports.AgentHeartBeatEventDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.SermasApi = void 0;
|
|
4
4
|
/* generated using openapi-typescript-codegen -- do no edit */
|
|
5
5
|
/* istanbul ignore file */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -18,8 +18,40 @@ var OpenAPI_1 = require("./core/OpenAPI");
|
|
|
18
18
|
Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
|
|
19
19
|
var AgentHeartBeatEventDto_1 = require("./models/AgentHeartBeatEventDto");
|
|
20
20
|
Object.defineProperty(exports, "AgentHeartBeatEventDto", { enumerable: true, get: function () { return AgentHeartBeatEventDto_1.AgentHeartBeatEventDto; } });
|
|
21
|
+
var ButtonsUIContentDto_1 = require("./models/ButtonsUIContentDto");
|
|
22
|
+
Object.defineProperty(exports, "ButtonsUIContentDto", { enumerable: true, get: function () { return ButtonsUIContentDto_1.ButtonsUIContentDto; } });
|
|
23
|
+
var ClearScreenDto_1 = require("./models/ClearScreenDto");
|
|
24
|
+
Object.defineProperty(exports, "ClearScreenDto", { enumerable: true, get: function () { return ClearScreenDto_1.ClearScreenDto; } });
|
|
25
|
+
var ClearUIContentDto_1 = require("./models/ClearUIContentDto");
|
|
26
|
+
Object.defineProperty(exports, "ClearUIContentDto", { enumerable: true, get: function () { return ClearUIContentDto_1.ClearUIContentDto; } });
|
|
27
|
+
var DialogueMessageUIContentDto_1 = require("./models/DialogueMessageUIContentDto");
|
|
28
|
+
Object.defineProperty(exports, "DialogueMessageUIContentDto", { enumerable: true, get: function () { return DialogueMessageUIContentDto_1.DialogueMessageUIContentDto; } });
|
|
29
|
+
var EmailUIContentDto_1 = require("./models/EmailUIContentDto");
|
|
30
|
+
Object.defineProperty(exports, "EmailUIContentDto", { enumerable: true, get: function () { return EmailUIContentDto_1.EmailUIContentDto; } });
|
|
31
|
+
var HtmlUIContentDto_1 = require("./models/HtmlUIContentDto");
|
|
32
|
+
Object.defineProperty(exports, "HtmlUIContentDto", { enumerable: true, get: function () { return HtmlUIContentDto_1.HtmlUIContentDto; } });
|
|
33
|
+
var ImageUIContentDto_1 = require("./models/ImageUIContentDto");
|
|
34
|
+
Object.defineProperty(exports, "ImageUIContentDto", { enumerable: true, get: function () { return ImageUIContentDto_1.ImageUIContentDto; } });
|
|
35
|
+
var LinkUIContentDto_1 = require("./models/LinkUIContentDto");
|
|
36
|
+
Object.defineProperty(exports, "LinkUIContentDto", { enumerable: true, get: function () { return LinkUIContentDto_1.LinkUIContentDto; } });
|
|
37
|
+
var ObjectUIContentDto_1 = require("./models/ObjectUIContentDto");
|
|
38
|
+
Object.defineProperty(exports, "ObjectUIContentDto", { enumerable: true, get: function () { return ObjectUIContentDto_1.ObjectUIContentDto; } });
|
|
39
|
+
var PdfUIContentDto_1 = require("./models/PdfUIContentDto");
|
|
40
|
+
Object.defineProperty(exports, "PdfUIContentDto", { enumerable: true, get: function () { return PdfUIContentDto_1.PdfUIContentDto; } });
|
|
41
|
+
var QuizUIContentDto_1 = require("./models/QuizUIContentDto");
|
|
42
|
+
Object.defineProperty(exports, "QuizUIContentDto", { enumerable: true, get: function () { return QuizUIContentDto_1.QuizUIContentDto; } });
|
|
43
|
+
var TextUIContentDto_1 = require("./models/TextUIContentDto");
|
|
44
|
+
Object.defineProperty(exports, "TextUIContentDto", { enumerable: true, get: function () { return TextUIContentDto_1.TextUIContentDto; } });
|
|
45
|
+
var UIContentDto_1 = require("./models/UIContentDto");
|
|
46
|
+
Object.defineProperty(exports, "UIContentDto", { enumerable: true, get: function () { return UIContentDto_1.UIContentDto; } });
|
|
47
|
+
var UserInteractionIntentionDto_1 = require("./models/UserInteractionIntentionDto");
|
|
48
|
+
Object.defineProperty(exports, "UserInteractionIntentionDto", { enumerable: true, get: function () { return UserInteractionIntentionDto_1.UserInteractionIntentionDto; } });
|
|
49
|
+
var VideoUIContentDto_1 = require("./models/VideoUIContentDto");
|
|
50
|
+
Object.defineProperty(exports, "VideoUIContentDto", { enumerable: true, get: function () { return VideoUIContentDto_1.VideoUIContentDto; } });
|
|
21
51
|
var ViewLogsRequestDto_1 = require("./models/ViewLogsRequestDto");
|
|
22
52
|
Object.defineProperty(exports, "ViewLogsRequestDto", { enumerable: true, get: function () { return ViewLogsRequestDto_1.ViewLogsRequestDto; } });
|
|
53
|
+
var WebpageUIContentDto_1 = require("./models/WebpageUIContentDto");
|
|
54
|
+
Object.defineProperty(exports, "WebpageUIContentDto", { enumerable: true, get: function () { return WebpageUIContentDto_1.WebpageUIContentDto; } });
|
|
23
55
|
var AgentService_1 = require("./services/AgentService");
|
|
24
56
|
Object.defineProperty(exports, "AgentService", { enumerable: true, get: function () { return AgentService_1.AgentService; } });
|
|
25
57
|
var AuthenticationService_1 = require("./services/AuthenticationService");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/libs/openapi/index.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAElB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAAA;AACvC,0CAAyC;AAAhC,kGAAA,OAAO,OAAA;AAKhB,0EAAyE;AAAhE,gIAAA,sBAAsB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/libs/openapi/index.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAElB,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0D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iD;AAAxC,sGAAA,SAAS,OAAA;AAClB,kDAAiD;AAAxC,sGAAA,SAAS,OAAA"}
|
|
@@ -17,13 +17,13 @@ export type AgentHeartBeatEventDto = {
|
|
|
17
17
|
};
|
|
18
18
|
export declare namespace AgentHeartBeatEventDto {
|
|
19
19
|
enum status {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
UNAVAILABLE = "unavailable",
|
|
21
|
+
ERROR = "error",
|
|
22
|
+
NOT_READY = "not_ready",
|
|
23
|
+
READY = "ready",
|
|
24
|
+
LOADING = "loading",
|
|
25
|
+
INTERACTING = "interacting",
|
|
26
|
+
WAITING = "waiting",
|
|
27
|
+
PROCESSING = "processing"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -5,14 +5,14 @@ var AgentHeartBeatEventDto;
|
|
|
5
5
|
(function (AgentHeartBeatEventDto) {
|
|
6
6
|
let status;
|
|
7
7
|
(function (status) {
|
|
8
|
-
status[
|
|
9
|
-
status[
|
|
10
|
-
status[
|
|
11
|
-
status[
|
|
12
|
-
status[
|
|
13
|
-
status[
|
|
14
|
-
status[
|
|
15
|
-
status[
|
|
8
|
+
status["UNAVAILABLE"] = "unavailable";
|
|
9
|
+
status["ERROR"] = "error";
|
|
10
|
+
status["NOT_READY"] = "not_ready";
|
|
11
|
+
status["READY"] = "ready";
|
|
12
|
+
status["LOADING"] = "loading";
|
|
13
|
+
status["INTERACTING"] = "interacting";
|
|
14
|
+
status["WAITING"] = "waiting";
|
|
15
|
+
status["PROCESSING"] = "processing";
|
|
16
16
|
})(status = AgentHeartBeatEventDto.status || (AgentHeartBeatEventDto.status = {}));
|
|
17
17
|
})(AgentHeartBeatEventDto || (exports.AgentHeartBeatEventDto = AgentHeartBeatEventDto = {}));
|
|
18
18
|
//# sourceMappingURL=AgentHeartBeatEventDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentHeartBeatEventDto.js","sourceRoot":"","sources":["../../../../src/libs/openapi/models/AgentHeartBeatEventDto.ts"],"names":[],"mappings":";;;AAqBA,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACnC,IAAY,MASX;IATD,WAAY,MAAM;QACd,
|
|
1
|
+
{"version":3,"file":"AgentHeartBeatEventDto.js","sourceRoot":"","sources":["../../../../src/libs/openapi/models/AgentHeartBeatEventDto.ts"],"names":[],"mappings":";;;AAqBA,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACnC,IAAY,MASX;IATD,WAAY,MAAM;QACd,qCAA2B,CAAA;QAC3B,yBAAe,CAAA;QACf,iCAAuB,CAAA;QACvB,yBAAe,CAAA;QACf,6BAAmB,CAAA;QACnB,qCAA2B,CAAA;QAC3B,6BAAmB,CAAA;QACnB,mCAAyB,CAAA;IAC7B,CAAC,EATW,MAAM,GAAN,6BAAM,KAAN,6BAAM,QASjB;AACL,CAAC,EAXgB,sBAAsB,sCAAtB,sBAAsB,QAWtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarCameraConfig.js","sourceRoot":"","sources":["../../../../src/libs/openapi/models/AvatarCameraConfig.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonsContentDto.js","sourceRoot":"","sources":["../../../../src/libs/openapi/models/ButtonsContentDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ButtonsContentDto } from './ButtonsContentDto';
|
|
2
|
+
export type ButtonsUIContentDto = {
|
|
3
|
+
appId: string;
|
|
4
|
+
/**
|
|
5
|
+
* Reference to the authenticated client the request originated from
|
|
6
|
+
*/
|
|
7
|
+
clientId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Reference to the user interacting with the system
|
|
10
|
+
*/
|
|
11
|
+
userId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Track the interaction session, if available
|
|
14
|
+
*/
|
|
15
|
+
sessionId?: string;
|
|
16
|
+
contentType: ButtonsUIContentDto.contentType;
|
|
17
|
+
content: ButtonsContentDto;
|
|
18
|
+
metadata?: Record<string, any>;
|
|
19
|
+
options: Record<string, any>;
|
|
20
|
+
chunkId?: number;
|
|
21
|
+
messageId?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare namespace ButtonsUIContentDto {
|
|
24
|
+
enum contentType {
|
|
25
|
+
VIDEO = "video",
|
|
26
|
+
IMAGE = "image",
|
|
27
|
+
PDF = "pdf",
|
|
28
|
+
WEBPAGE = "webpage",
|
|
29
|
+
OBJECT = "object",
|
|
30
|
+
TEXT = "text",
|
|
31
|
+
EMAIL = "email",
|
|
32
|
+
HTML = "html",
|
|
33
|
+
LINK = "link",
|
|
34
|
+
DIALOGUE_MESSAGE = "dialogue-message",
|
|
35
|
+
NAVIGATION = "navigation",
|
|
36
|
+
BUTTONS = "buttons",
|
|
37
|
+
QUIZ = "quiz",
|
|
38
|
+
CLEAR_SCREEN = "clear-screen"
|
|
39
|
+
}
|
|
40
|
+
}
|