@ctchealth/plato-sdk 0.0.17 → 0.0.18

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/README.md CHANGED
@@ -76,7 +76,7 @@ const simulation = await client.createSimulation({
76
76
  description:
77
77
  'A nonsteroidal anti-inflammatory drug used to reduce pain, inflammation, and fever',
78
78
  },
79
- presentation: 'Oral tablets, 10 tablets per pack',
79
+ pdfSlideId: 'pdf-slide-id', // optional, ID from uploadPdfSlides()
80
80
  scenario: 'Discussing treatment options for an elderly patient with chronic arthritis',
81
81
  objectives:
82
82
  'Demonstrate efficacy of Ibuprofen in pain management Highlight safety profile and contraindications Encourage patient adherence',
@@ -1151,13 +1151,12 @@ Configuration for creating a simulation:
1151
1151
  interface CreateSimulationDto {
1152
1152
  persona: CharacterCreateDto;
1153
1153
  product: ProductConfig;
1154
- presentation?: string;
1155
1154
  scenario: string;
1156
1155
  objectives?: string;
1157
1156
  anticipatedObjections?: string;
1158
- trainingConfiguration: TrainingConfigurationDto;
1159
1157
  imageId: string;
1160
1158
  avatarLanguage: AvatarLanguage;
1159
+ pdfSlideId?: string;
1161
1160
  }
1162
1161
  ```
1163
1162
 
@@ -1393,6 +1392,7 @@ enum AvatarLanguage {
1393
1392
  Spanish = 'es',
1394
1393
  Italian = 'it',
1395
1394
  French = 'fr',
1395
+ Arabic = 'ar',
1396
1396
  }
1397
1397
  ```
1398
1398
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctchealth/plato-sdk",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "@vapi-ai/web": "2.1.8",
@@ -12,5 +12,6 @@
12
12
  "typings": "./src/index.d.ts",
13
13
  "publishConfig": {
14
14
  "access": "public"
15
- }
16
- }
15
+ },
16
+ "types": "./src/index.d.ts"
17
+ }
package/src/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ /**
5
+ * Copyright (c) 2025 ctcHealth. All rights reserved.
6
+ *
7
+ * This file is part of the ctcHealth Plato Platform, a proprietary software system developed by ctcHealth.
8
+ *
9
+ * This source code and all related materials are confidential and proprietary to ctcHealth.
10
+ * Unauthorized access, use, copying, modification, distribution, or disclosure is strictly prohibited
11
+ * and may result in disciplinary action and civil and/or criminal penalties.
12
+ *
13
+ * This software is intended solely for authorized use within ctcHealth and its designated partners.
14
+ *
15
+ * For internal use only.
16
+ */
17
+ tslib_1.__exportStar(require("./lib/plato-sdk"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/plato-sdk/src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;GAYG;AACH,0DAAgC"}
@@ -11,6 +11,6 @@
11
11
  *
12
12
  * For internal use only.
13
13
  */
14
- export const MAX_PDF_FILE_SIZE = 20 * 1024 * 1024; // 20MB
15
- export const ALLOWED_PDF_MIME_TYPES = ['application/pdf'];
16
- export const MAX_PDF_PAGES = 100;
14
+ export declare const MAX_PDF_FILE_SIZE: number;
15
+ export declare const ALLOWED_PDF_MIME_TYPES: string[];
16
+ export declare const MAX_PDF_PAGES = 100;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAX_PDF_PAGES = exports.ALLOWED_PDF_MIME_TYPES = exports.MAX_PDF_FILE_SIZE = void 0;
4
+ /**
5
+ * Copyright (c) 2025 ctcHealth. All rights reserved.
6
+ *
7
+ * This file is part of the ctcHealth Plato Platform, a proprietary software system developed by ctcHealth.
8
+ *
9
+ * This source code and all related materials are confidential and proprietary to ctcHealth.
10
+ * Unauthorized access, use, copying, modification, distribution, or disclosure is strictly prohibited
11
+ * and may result in disciplinary action and civil and/or criminal penalties.
12
+ *
13
+ * This software is intended solely for authorized use within ctcHealth and its designated partners.
14
+ *
15
+ * For internal use only.
16
+ */
17
+ exports.MAX_PDF_FILE_SIZE = 20 * 1024 * 1024; // 20MB
18
+ exports.ALLOWED_PDF_MIME_TYPES = ['application/pdf'];
19
+ exports.MAX_PDF_PAGES = 100;
20
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../libs/plato-sdk/src/lib/constants.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;GAYG;AACU,QAAA,iBAAiB,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,OAAO;AAC7C,QAAA,sBAAsB,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAC7C,QAAA,aAAa,GAAG,GAAG,CAAC"}
@@ -0,0 +1,393 @@
1
+ /**
2
+ * Copyright (c) 2025 ctcHealth. All rights reserved.
3
+ *
4
+ * This file is part of the ctcHealth Plato Platform, a proprietary software system developed by ctcHealth.
5
+ *
6
+ * This source code and all related materials are confidential and proprietary to ctcHealth.
7
+ * Unauthorized access, use, copying, modification, distribution, or disclosure is strictly prohibited
8
+ * and may result in disciplinary action and civil and/or criminal penalties.
9
+ *
10
+ * This software is intended solely for authorized use within ctcHealth and its designated partners.
11
+ *
12
+ * For internal use only.
13
+ */
14
+ export declare enum YearOfExperience {
15
+ '1-5' = "1-5 years",
16
+ '6-10' = "6-10 years",
17
+ '11-20' = "16-20 years",
18
+ '20+' = "20+ years"
19
+ }
20
+ export declare enum PracticeType {
21
+ Private = "Private Practice",
22
+ Hospital = "Hospital",
23
+ AcademicMedicalCenter = "Academic Medical Center",
24
+ Clinic = "Clinic"
25
+ }
26
+ export declare enum SegmentType {
27
+ Traditionalist = "The Traditionalist",
28
+ Innovator = "The Innovator",
29
+ PatientOrientedPhysician = "The Patient-Oriented Physician",
30
+ FinanciallyDrivenPrescriber = "The Financially-Driven Prescriber",
31
+ EvidencePurist = "The Evidence-Purist",
32
+ CostConsciousPrescriber = "The Cost-Conscious Prescriber"
33
+ }
34
+ export declare enum AssistantVoiceGender {
35
+ Male = "Male",
36
+ Female = "Female"
37
+ }
38
+ export declare enum AvatarLanguage {
39
+ English = "en",
40
+ German = "de",
41
+ Spanish = "es",
42
+ Italian = "it",
43
+ French = "fr",
44
+ Arabic = "ar"
45
+ }
46
+ export declare class PersonalityAndBehaviourDto {
47
+ riskTolerance: number;
48
+ researchOrientation: number;
49
+ recognitionNeed: number;
50
+ brandLoyalty: number;
51
+ patientEmpathy: number;
52
+ }
53
+ export declare class ProfessionalProfileDto {
54
+ practiceSettings: string;
55
+ yearOfExperience: number;
56
+ specialityAndDepartment: string;
57
+ location: string;
58
+ }
59
+ export declare class ContextDto {
60
+ subSpecialityOrTherapyFocus: string;
61
+ typicalPatientMix: string;
62
+ keyClinicalDrivers: string;
63
+ }
64
+ export declare class CharacterCreateDto {
65
+ name: string;
66
+ professionalProfile: ProfessionalProfileDto;
67
+ segment: SegmentType;
68
+ personalityAndBehaviour: PersonalityAndBehaviourDto;
69
+ context: ContextDto;
70
+ assistantGender?: AssistantVoiceGender;
71
+ }
72
+ export declare class ProductConfig {
73
+ name: string;
74
+ description: string;
75
+ }
76
+ export declare class CreateSimulationDto {
77
+ persona: CharacterCreateDto;
78
+ product: ProductConfig;
79
+ scenario: string;
80
+ objectives?: string;
81
+ anticipatedObjections?: string;
82
+ imageId: string;
83
+ avatarLanguage: AvatarLanguage;
84
+ pdfSlideId?: string;
85
+ }
86
+ export type RecordingsLimit = 5 | 10 | 25;
87
+ export declare class SimulationRecordingsQueryDto {
88
+ limit?: RecordingsLimit;
89
+ page?: number;
90
+ sort?: SortOrder;
91
+ }
92
+ export declare enum SortOrder {
93
+ ASC = "asc",
94
+ DESC = "desc"
95
+ }
96
+ export declare enum RecordingStatus {
97
+ STARTED = "STARTED",
98
+ PROCESSING = "PROCESSING",
99
+ FINISHED = "FINISHED",
100
+ FAILED = "FAILED"
101
+ }
102
+ export declare class SimulationRecordingsDto {
103
+ _id: string;
104
+ createdAt: Date;
105
+ recordingStatus?: RecordingStatus;
106
+ }
107
+ export interface CallCreateDto {
108
+ /**
109
+ * Call ID obtained
110
+ */
111
+ callId: string;
112
+ /**
113
+ * Call Assistant ID
114
+ */
115
+ assistantId: string;
116
+ }
117
+ export interface CallDTO {
118
+ /**
119
+ * call ID
120
+ */
121
+ _id: string;
122
+ /**
123
+ * call ID obtained
124
+ */
125
+ callId: string;
126
+ /**
127
+ * call User ID
128
+ */
129
+ platoUserId: string;
130
+ /**
131
+ * call Assistant ID
132
+ */
133
+ assistantId: string;
134
+ /**
135
+ * call summary of the conversation
136
+ */
137
+ summary: string;
138
+ /**
139
+ * call transcript of the conversation
140
+ */
141
+ transcript: string;
142
+ /**
143
+ * call feedback provided by the user
144
+ */
145
+ feedback: string;
146
+ /**
147
+ * Success Evaluation returned by model
148
+ */
149
+ successEvaluation: boolean;
150
+ /**
151
+ * call Recording URL
152
+ */
153
+ recordingUrl: string;
154
+ /**
155
+ * Status of recording processing (e.g., 'STARTED', 'PROCESSING', 'FINISHED', 'FAILED')
156
+ */
157
+ recordingStatus?: RecordingStatus;
158
+ /**
159
+ * Date and Time of the creation of the message
160
+ */
161
+ createdAt: Date;
162
+ /**
163
+ * Date and Time of the creation of the message
164
+ */
165
+ endedAt: Date;
166
+ /**
167
+ * Rating of the call given by the user
168
+ */
169
+ rating: number;
170
+ /**
171
+ * Main strenghts of the user conversation based on the analysis of the AI
172
+ */
173
+ strengths: Array<string>;
174
+ /**
175
+ * Main weak points of the user conversation based on the analysis of the AI
176
+ */
177
+ weaknesses: Array<string>;
178
+ /**
179
+ * Name of Metric for the AI feedback report
180
+ */
181
+ metric1: string;
182
+ /**
183
+ * Name of Metric for the AI feedback report
184
+ */
185
+ metric2: string;
186
+ /**
187
+ * Name of Metric for the AI feedback report
188
+ */
189
+ metric3: string;
190
+ /**
191
+ * AI feedback value for Metric 1
192
+ */
193
+ metric1Value: number;
194
+ /**
195
+ * AI feedback value for Metric 2
196
+ */
197
+ metric2Value: number;
198
+ /**
199
+ * AI feedback value for Metric 3
200
+ */
201
+ metric3Value: number;
202
+ /**
203
+ * AI feedback value for the call score
204
+ */
205
+ score?: number;
206
+ /**
207
+ * Defines if the calls will be consider for the memory feature
208
+ */
209
+ inMemory: boolean;
210
+ /**
211
+ * Duration of the call in milliseconds
212
+ */
213
+ callDurationMs?: number;
214
+ }
215
+ export declare enum CreationPhase {
216
+ QUEUED = "QUEUED",
217
+ STARTING = "STARTING",
218
+ BUILD_HEADER = "BUILD_HEADER",
219
+ SEGMENT_SELECTED = "SEGMENT_SELECTED",
220
+ BUILD_CONTEXT = "BUILD_CONTEXT",
221
+ BUILD_PSYCHOGRAPHICS = "BUILD_PSYCHOGRAPHICS",
222
+ BUILD_OBJECTIVES = "BUILD_OBJECTIVES",
223
+ PERSONA_ASSEMBLED = "PERSONA_ASSEMBLED",
224
+ CORE = "CORE",
225
+ BOUNDARIES = "BOUNDARIES",
226
+ SPEECH_AND_THOUGHT = "SPEECH_AND_THOUGHT",
227
+ CONVERSATION_EVOLUTION = "CONVERSATION_EVOLUTION",
228
+ MEMORY = "MEMORY",
229
+ OBJECTION_HANDLING = "OBJECTION_HANDLING",
230
+ PERFORMANCE_EVALUATION = "PERFORMANCE_EVALUATION",
231
+ BEHAVIORAL_FRAMEWORKS = "BEHAVIORAL_FRAMEWORKS",
232
+ FINISHED = "FINISHED",
233
+ ERROR = "ERROR"
234
+ }
235
+ /**
236
+ * Presigned POST data for S3 upload.
237
+ */
238
+ export interface PresignedPost {
239
+ url: string;
240
+ fields: Record<string, string>;
241
+ }
242
+ /**
243
+ * Response for requesting a PDF upload.
244
+ */
245
+ export interface RequestPdfUploadResponse {
246
+ presignedPost: PresignedPost;
247
+ objectKey: string;
248
+ pdfId: string;
249
+ }
250
+ /**
251
+ * Persona description within simulation briefing
252
+ */
253
+ export interface PersonaDescriptionDto {
254
+ summary: string;
255
+ details: string[];
256
+ }
257
+ /**
258
+ * Scenario context within simulation briefing
259
+ */
260
+ export interface ScenarioContextDto {
261
+ summary: string;
262
+ steps: string[];
263
+ }
264
+ /**
265
+ * Training objectives within simulation briefing
266
+ */
267
+ export interface TrainingObjectiveDto {
268
+ summary: string;
269
+ keyObjectives: string[];
270
+ }
271
+ /**
272
+ * Complete simulation briefing structure generated by multi-agent system
273
+ */
274
+ export interface SimulationBriefingDto {
275
+ objectiveTag: string;
276
+ personaDescription: PersonaDescriptionDto;
277
+ scenarioContext: ScenarioContextDto;
278
+ trainingObjective: TrainingObjectiveDto;
279
+ }
280
+ export interface SimulationDetailsDto {
281
+ simulationId: string;
282
+ phase: CreationPhase;
283
+ assistantId: string;
284
+ configuration?: CreateSimulationDto;
285
+ simulationBriefing?: SimulationBriefingDto;
286
+ createdAt: Date;
287
+ updatedAt: Date;
288
+ }
289
+ export declare enum RecommendationPriority {
290
+ HIGH = "high",
291
+ MEDIUM = "medium",
292
+ LOW = "low"
293
+ }
294
+ export interface RecommendationItemDto {
295
+ title: string;
296
+ description: string;
297
+ priority: RecommendationPriority;
298
+ }
299
+ export interface PerformancePatternDto {
300
+ strength: string;
301
+ frequency: number;
302
+ }
303
+ export interface ImprovementAreaDto {
304
+ area: string;
305
+ frequency: number;
306
+ }
307
+ export interface RecommendationsResponseDto {
308
+ recommendations: RecommendationItemDto[];
309
+ strengths: PerformancePatternDto[];
310
+ improvementAreas: ImprovementAreaDto[];
311
+ summary: string;
312
+ callsAnalyzed: number;
313
+ generatedAt: Date;
314
+ }
315
+ export declare enum PdfSlidesStatus {
316
+ PENDING = "pending",
317
+ STARTED = "started",
318
+ PROCESSING = "processing",
319
+ OVERVIEW = "overview",
320
+ COMPLETED = "completed",
321
+ FAILED = "failed"
322
+ }
323
+ export interface CheckPdfStatusResponse {
324
+ status: PdfSlidesStatus;
325
+ processedBatches: number[];
326
+ totalBatches?: number;
327
+ }
328
+ export declare enum PdfSlidesSortField {
329
+ CREATED_AT = "createdAt",
330
+ FILENAME = "originalFilename",
331
+ TOTAL_SLIDES = "totalSlides"
332
+ }
333
+ export declare class PdfSlidesAnalysisQueryDto {
334
+ limit?: RecordingsLimit;
335
+ page?: number;
336
+ sort?: SortOrder;
337
+ sortBy?: PdfSlidesSortField;
338
+ }
339
+ export interface SlideAnalysis {
340
+ slideNumber: number;
341
+ title?: string;
342
+ textExtraction?: string;
343
+ visualDescription?: string;
344
+ }
345
+ export interface PdfSlidesDto {
346
+ _id: string;
347
+ status: PdfSlidesStatus;
348
+ originalFilename: string;
349
+ totalSlides?: number;
350
+ lessonOverview?: string;
351
+ createdAt: Date;
352
+ updatedAt: Date;
353
+ }
354
+ export interface PdfSlideDto {
355
+ _id: string;
356
+ status: PdfSlidesStatus;
357
+ originalFilename: string;
358
+ totalSlides?: number;
359
+ lessonOverview?: string;
360
+ slideAnalysis?: SlideAnalysis[];
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ }
364
+ export interface AssistantImageDto {
365
+ _id: string;
366
+ imageUrl: string;
367
+ }
368
+ /**
369
+ * Represents the state of an active call stored in localStorage for recovery purposes.
370
+ * Used to detect and recover abandoned calls after page refresh.
371
+ */
372
+ export interface ActiveCallState {
373
+ /**
374
+ * MongoDB ID of the call record
375
+ */
376
+ callId: string;
377
+ /**
378
+ * External call provider ID
379
+ */
380
+ externalCallId: string;
381
+ /**
382
+ * ID of the simulation this call belongs to
383
+ */
384
+ simulationId: string;
385
+ /**
386
+ * ISO 8601 timestamp when the call was started
387
+ */
388
+ startedAt: string;
389
+ /**
390
+ * Schema version for future compatibility
391
+ */
392
+ version: number;
393
+ }
@@ -0,0 +1,173 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PdfSlidesAnalysisQueryDto = exports.PdfSlidesSortField = exports.PdfSlidesStatus = exports.RecommendationPriority = exports.CreationPhase = exports.SimulationRecordingsDto = exports.RecordingStatus = exports.SortOrder = exports.SimulationRecordingsQueryDto = exports.CreateSimulationDto = exports.ProductConfig = exports.CharacterCreateDto = exports.ContextDto = exports.ProfessionalProfileDto = exports.PersonalityAndBehaviourDto = exports.AvatarLanguage = exports.AssistantVoiceGender = exports.SegmentType = exports.PracticeType = exports.YearOfExperience = void 0;
4
+ /**
5
+ * Copyright (c) 2025 ctcHealth. All rights reserved.
6
+ *
7
+ * This file is part of the ctcHealth Plato Platform, a proprietary software system developed by ctcHealth.
8
+ *
9
+ * This source code and all related materials are confidential and proprietary to ctcHealth.
10
+ * Unauthorized access, use, copying, modification, distribution, or disclosure is strictly prohibited
11
+ * and may result in disciplinary action and civil and/or criminal penalties.
12
+ *
13
+ * This software is intended solely for authorized use within ctcHealth and its designated partners.
14
+ *
15
+ * For internal use only.
16
+ */
17
+ var YearOfExperience;
18
+ (function (YearOfExperience) {
19
+ YearOfExperience["1-5"] = "1-5 years";
20
+ YearOfExperience["6-10"] = "6-10 years";
21
+ YearOfExperience["11-20"] = "16-20 years";
22
+ YearOfExperience["20+"] = "20+ years";
23
+ })(YearOfExperience || (exports.YearOfExperience = YearOfExperience = {}));
24
+ var PracticeType;
25
+ (function (PracticeType) {
26
+ PracticeType["Private"] = "Private Practice";
27
+ PracticeType["Hospital"] = "Hospital";
28
+ PracticeType["AcademicMedicalCenter"] = "Academic Medical Center";
29
+ PracticeType["Clinic"] = "Clinic";
30
+ })(PracticeType || (exports.PracticeType = PracticeType = {}));
31
+ var SegmentType;
32
+ (function (SegmentType) {
33
+ SegmentType["Traditionalist"] = "The Traditionalist";
34
+ SegmentType["Innovator"] = "The Innovator";
35
+ SegmentType["PatientOrientedPhysician"] = "The Patient-Oriented Physician";
36
+ SegmentType["FinanciallyDrivenPrescriber"] = "The Financially-Driven Prescriber";
37
+ SegmentType["EvidencePurist"] = "The Evidence-Purist";
38
+ SegmentType["CostConsciousPrescriber"] = "The Cost-Conscious Prescriber";
39
+ })(SegmentType || (exports.SegmentType = SegmentType = {}));
40
+ var AssistantVoiceGender;
41
+ (function (AssistantVoiceGender) {
42
+ AssistantVoiceGender["Male"] = "Male";
43
+ AssistantVoiceGender["Female"] = "Female";
44
+ })(AssistantVoiceGender || (exports.AssistantVoiceGender = AssistantVoiceGender = {}));
45
+ var AvatarLanguage;
46
+ (function (AvatarLanguage) {
47
+ AvatarLanguage["English"] = "en";
48
+ AvatarLanguage["German"] = "de";
49
+ AvatarLanguage["Spanish"] = "es";
50
+ AvatarLanguage["Italian"] = "it";
51
+ AvatarLanguage["French"] = "fr";
52
+ AvatarLanguage["Arabic"] = "ar";
53
+ })(AvatarLanguage || (exports.AvatarLanguage = AvatarLanguage = {}));
54
+ class PersonalityAndBehaviourDto {
55
+ riskTolerance;
56
+ researchOrientation;
57
+ recognitionNeed;
58
+ brandLoyalty;
59
+ patientEmpathy;
60
+ }
61
+ exports.PersonalityAndBehaviourDto = PersonalityAndBehaviourDto;
62
+ class ProfessionalProfileDto {
63
+ practiceSettings;
64
+ yearOfExperience;
65
+ specialityAndDepartment;
66
+ location;
67
+ }
68
+ exports.ProfessionalProfileDto = ProfessionalProfileDto;
69
+ class ContextDto {
70
+ subSpecialityOrTherapyFocus;
71
+ typicalPatientMix;
72
+ keyClinicalDrivers;
73
+ }
74
+ exports.ContextDto = ContextDto;
75
+ class CharacterCreateDto {
76
+ name;
77
+ professionalProfile;
78
+ segment;
79
+ personalityAndBehaviour;
80
+ context;
81
+ assistantGender;
82
+ }
83
+ exports.CharacterCreateDto = CharacterCreateDto;
84
+ class ProductConfig {
85
+ name;
86
+ description;
87
+ }
88
+ exports.ProductConfig = ProductConfig;
89
+ class CreateSimulationDto {
90
+ persona;
91
+ product;
92
+ scenario;
93
+ objectives;
94
+ anticipatedObjections;
95
+ imageId;
96
+ avatarLanguage;
97
+ pdfSlideId;
98
+ }
99
+ exports.CreateSimulationDto = CreateSimulationDto;
100
+ class SimulationRecordingsQueryDto {
101
+ limit;
102
+ page;
103
+ sort;
104
+ }
105
+ exports.SimulationRecordingsQueryDto = SimulationRecordingsQueryDto;
106
+ var SortOrder;
107
+ (function (SortOrder) {
108
+ SortOrder["ASC"] = "asc";
109
+ SortOrder["DESC"] = "desc";
110
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
111
+ var RecordingStatus;
112
+ (function (RecordingStatus) {
113
+ RecordingStatus["STARTED"] = "STARTED";
114
+ RecordingStatus["PROCESSING"] = "PROCESSING";
115
+ RecordingStatus["FINISHED"] = "FINISHED";
116
+ RecordingStatus["FAILED"] = "FAILED";
117
+ })(RecordingStatus || (exports.RecordingStatus = RecordingStatus = {}));
118
+ class SimulationRecordingsDto {
119
+ _id;
120
+ createdAt;
121
+ recordingStatus;
122
+ }
123
+ exports.SimulationRecordingsDto = SimulationRecordingsDto;
124
+ var CreationPhase;
125
+ (function (CreationPhase) {
126
+ CreationPhase["QUEUED"] = "QUEUED";
127
+ CreationPhase["STARTING"] = "STARTING";
128
+ CreationPhase["BUILD_HEADER"] = "BUILD_HEADER";
129
+ CreationPhase["SEGMENT_SELECTED"] = "SEGMENT_SELECTED";
130
+ CreationPhase["BUILD_CONTEXT"] = "BUILD_CONTEXT";
131
+ CreationPhase["BUILD_PSYCHOGRAPHICS"] = "BUILD_PSYCHOGRAPHICS";
132
+ CreationPhase["BUILD_OBJECTIVES"] = "BUILD_OBJECTIVES";
133
+ CreationPhase["PERSONA_ASSEMBLED"] = "PERSONA_ASSEMBLED";
134
+ CreationPhase["CORE"] = "CORE";
135
+ CreationPhase["BOUNDARIES"] = "BOUNDARIES";
136
+ CreationPhase["SPEECH_AND_THOUGHT"] = "SPEECH_AND_THOUGHT";
137
+ CreationPhase["CONVERSATION_EVOLUTION"] = "CONVERSATION_EVOLUTION";
138
+ CreationPhase["MEMORY"] = "MEMORY";
139
+ CreationPhase["OBJECTION_HANDLING"] = "OBJECTION_HANDLING";
140
+ CreationPhase["PERFORMANCE_EVALUATION"] = "PERFORMANCE_EVALUATION";
141
+ CreationPhase["BEHAVIORAL_FRAMEWORKS"] = "BEHAVIORAL_FRAMEWORKS";
142
+ CreationPhase["FINISHED"] = "FINISHED";
143
+ CreationPhase["ERROR"] = "ERROR";
144
+ })(CreationPhase || (exports.CreationPhase = CreationPhase = {}));
145
+ var RecommendationPriority;
146
+ (function (RecommendationPriority) {
147
+ RecommendationPriority["HIGH"] = "high";
148
+ RecommendationPriority["MEDIUM"] = "medium";
149
+ RecommendationPriority["LOW"] = "low";
150
+ })(RecommendationPriority || (exports.RecommendationPriority = RecommendationPriority = {}));
151
+ var PdfSlidesStatus;
152
+ (function (PdfSlidesStatus) {
153
+ PdfSlidesStatus["PENDING"] = "pending";
154
+ PdfSlidesStatus["STARTED"] = "started";
155
+ PdfSlidesStatus["PROCESSING"] = "processing";
156
+ PdfSlidesStatus["OVERVIEW"] = "overview";
157
+ PdfSlidesStatus["COMPLETED"] = "completed";
158
+ PdfSlidesStatus["FAILED"] = "failed";
159
+ })(PdfSlidesStatus || (exports.PdfSlidesStatus = PdfSlidesStatus = {}));
160
+ var PdfSlidesSortField;
161
+ (function (PdfSlidesSortField) {
162
+ PdfSlidesSortField["CREATED_AT"] = "createdAt";
163
+ PdfSlidesSortField["FILENAME"] = "originalFilename";
164
+ PdfSlidesSortField["TOTAL_SLIDES"] = "totalSlides";
165
+ })(PdfSlidesSortField || (exports.PdfSlidesSortField = PdfSlidesSortField = {}));
166
+ class PdfSlidesAnalysisQueryDto {
167
+ limit;
168
+ page;
169
+ sort;
170
+ sortBy;
171
+ }
172
+ exports.PdfSlidesAnalysisQueryDto = PdfSlidesAnalysisQueryDto;
173
+ //# sourceMappingURL=plato-intefaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plato-intefaces.js","sourceRoot":"","sources":["../../../../../libs/plato-sdk/src/lib/plato-intefaces.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;GAYG;AACH,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;AACrB,CAAC,EALW,gBAAgB,gCAAhB,gBAAg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