@supertst/api 0.3.0 → 0.4.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +1383 -346
package/src/index.ts CHANGED
@@ -33,6 +33,8 @@ export interface OptionDto {
33
33
  indice_opcion: number;
34
34
  /** @example {"texto":"..."} */
35
35
  contenido_json: object;
36
+ /** Texto plano de la opción (extraído de contenido_json) */
37
+ texto: string;
36
38
  es_correcta: boolean;
37
39
  explicacion?: object | null;
38
40
  }
@@ -861,6 +863,19 @@ export interface ReviewSessionInfoDto {
861
863
  config?: Record<string, any>;
862
864
  }
863
865
 
866
+ export interface RepresentacionVisualDto {
867
+ tipo: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
868
+ version: "v1";
869
+ tabla_markdown?: object | null;
870
+ grafica_json?: object | null;
871
+ /** URL of the image in Supabase bucket (new questions). Injected from pregunta_imagenes table at response-build time. */
872
+ imagen_url?: object | null;
873
+ /** Inline SVG XML content (legacy/old questions). Used as fallback when imagen_url is not available. */
874
+ imagen_svg?: object | null;
875
+ /** Alt text / description for image accessibility. */
876
+ imagen_alt?: object | null;
877
+ }
878
+
864
879
  export interface ReviewImageDto {
865
880
  /** @example "https://storage.example.com/image.png" */
866
881
  url: string;
@@ -877,6 +892,8 @@ export interface ReviewOptionDto {
877
892
  indice_opcion: number;
878
893
  /** Option content (text or structured) */
879
894
  contenido_json: Record<string, any>;
895
+ /** @example "La opcion correcta" */
896
+ texto: string;
880
897
  /** @example true */
881
898
  es_correcta: boolean;
882
899
  /** @example "Esta es la respuesta correcta porque..." */
@@ -890,11 +907,12 @@ export interface ReviewItemDto {
890
907
  /** @example "Escriba un texto argumentativo sobre..." */
891
908
  enunciado: string;
892
909
  /** @example 0 */
893
- indice_respuesta?: object | null;
910
+ indice_respuesta: number;
894
911
  /** @example "uuid-clasificacion" */
895
912
  id_clasificacion?: string;
896
913
  /** Question metadata */
897
914
  metadata?: Record<string, any>;
915
+ representacion_visual_enunciado?: RepresentacionVisualDto | null;
898
916
  /** @example 1 */
899
917
  orden: number;
900
918
  imagenes: ReviewImageDto[];
@@ -910,12 +928,12 @@ export interface ReviewItemDto {
910
928
 
911
929
  export interface ReviewGroupDto {
912
930
  /**
913
- * Stimulus text
931
+ * Context text
914
932
  * @example "Lea el siguiente texto..."
915
933
  */
916
- id_estimulo?: object;
917
- /** Visual representation of the stimulus (object with tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). Same structure as diagnostico/start. */
918
- representacion_visual_id_estimulo?: Record<string, any>;
934
+ contexto?: object;
935
+ /** Visual representation of the shared context. */
936
+ representacion_visual_id_estimulo?: RepresentacionVisualDto | null;
919
937
  items: ReviewItemDto[];
920
938
  }
921
939
 
@@ -1068,13 +1086,59 @@ export namespace V1 {
1068
1086
  }
1069
1087
 
1070
1088
  /**
1071
- * No description
1072
- * @tags trainer
1073
- * @name GetQuestionsByClasificacion
1074
- * @summary Obtener preguntas AI generadas por clasificación (agrupadas por contexto)
1075
- * @request GET:/v1/trainer/questions
1076
- * @response `200` `void` Questions retrieved successfully, grouped by context
1077
- */
1089
+ * No description
1090
+ * @tags trainer
1091
+ * @name GetQuestionsByClasificacion
1092
+ * @summary Obtener preguntas AI generadas por clasificación (agrupadas por contexto)
1093
+ * @request GET:/v1/trainer/questions
1094
+ * @response `200` `{
1095
+ modelo_llm?: string,
1096
+ grupos?: ({
1097
+ contexto?: string | null,
1098
+ representacion_visual_id_estimulo?: {
1099
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
1100
+ version?: "v1",
1101
+ tabla_markdown?: string | null,
1102
+ grafica_json?: object | null,
1103
+ imagen_url?: string | null,
1104
+ imagen_svg?: string | null,
1105
+ imagen_alt?: string | null,
1106
+
1107
+ },
1108
+ items?: ({
1109
+ /** @format uuid *\/
1110
+ id_item?: string,
1111
+ ai_generated?: boolean,
1112
+ enunciado?: string,
1113
+ opciones?: ({
1114
+ indice_opcion?: number,
1115
+ contenido_json?: object | null,
1116
+ texto?: string,
1117
+ es_correcta?: boolean,
1118
+ explicacion?: string | null,
1119
+
1120
+ })[],
1121
+ indice_respuesta?: number,
1122
+ justificacion?: string | null,
1123
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null,
1124
+ representacion_visual_enunciado?: {
1125
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
1126
+ version?: "v1",
1127
+ tabla_markdown?: string | null,
1128
+ grafica_json?: object | null,
1129
+ imagen_url?: string | null,
1130
+ imagen_svg?: string | null,
1131
+ imagen_alt?: string | null,
1132
+
1133
+ },
1134
+ id_clasificacion?: string,
1135
+
1136
+ })[],
1137
+
1138
+ })[],
1139
+
1140
+ }` Questions retrieved successfully, grouped by context
1141
+ */
1078
1142
  export namespace GetQuestionsByClasificacion {
1079
1143
  export type RequestParams = {};
1080
1144
  export type RequestQuery = {
@@ -1082,7 +1146,47 @@ export namespace V1 {
1082
1146
  };
1083
1147
  export type RequestBody = never;
1084
1148
  export type RequestHeaders = {};
1085
- export type ResponseBody = void;
1149
+ export type ResponseBody = {
1150
+ modelo_llm?: string;
1151
+ grupos?: {
1152
+ contexto?: string | null;
1153
+ representacion_visual_id_estimulo?: {
1154
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
1155
+ version?: "v1";
1156
+ tabla_markdown?: string | null;
1157
+ grafica_json?: object | null;
1158
+ imagen_url?: string | null;
1159
+ imagen_svg?: string | null;
1160
+ imagen_alt?: string | null;
1161
+ };
1162
+ items?: {
1163
+ /** @format uuid */
1164
+ id_item?: string;
1165
+ ai_generated?: boolean;
1166
+ enunciado?: string;
1167
+ opciones?: {
1168
+ indice_opcion?: number;
1169
+ contenido_json?: object | null;
1170
+ texto?: string;
1171
+ es_correcta?: boolean;
1172
+ explicacion?: string | null;
1173
+ }[];
1174
+ indice_respuesta?: number;
1175
+ justificacion?: string | null;
1176
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null;
1177
+ representacion_visual_enunciado?: {
1178
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
1179
+ version?: "v1";
1180
+ tabla_markdown?: string | null;
1181
+ grafica_json?: object | null;
1182
+ imagen_url?: string | null;
1183
+ imagen_svg?: string | null;
1184
+ imagen_alt?: string | null;
1185
+ };
1186
+ id_clasificacion?: string;
1187
+ }[];
1188
+ }[];
1189
+ };
1086
1190
  }
1087
1191
 
1088
1192
  /**
@@ -1092,8 +1196,84 @@ export namespace V1 {
1092
1196
  * @summary Obtener detalle de una pregunta por ID (id_item)
1093
1197
  * @request GET:/v1/trainer/questions/{id}
1094
1198
  * @response `200` `{
1199
+ /** @example true *\/
1095
1200
  ok?: boolean,
1096
- data?: object,
1201
+ data?: {
1202
+ question?: {
1203
+ /** @format uuid *\/
1204
+ id_item?: string,
1205
+ id_clasificacion?: string,
1206
+ nombre_pregunta?: string | null,
1207
+ enunciado?: string,
1208
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null,
1209
+ estado_revision?: string | null,
1210
+ ai_generated?: boolean,
1211
+ created_at?: string,
1212
+ indice_respuesta?: number,
1213
+ justificacion?: string | null,
1214
+ metadata?: object | null,
1215
+ representacion_visual_enunciado?: {
1216
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
1217
+ version?: "v1",
1218
+ tabla_markdown?: string | null,
1219
+ grafica_json?: object | null,
1220
+ imagen_url?: string | null,
1221
+ imagen_svg?: string | null,
1222
+ imagen_alt?: string | null,
1223
+
1224
+ },
1225
+ imagenes?: ({
1226
+ url?: string,
1227
+ alt?: string | null,
1228
+ orden?: number | null,
1229
+
1230
+ })[],
1231
+ opciones?: ({
1232
+ indice_opcion?: number,
1233
+ contenido_json?: object | null,
1234
+ texto?: string,
1235
+ es_correcta?: boolean,
1236
+ explicacion?: string | null,
1237
+ imagenes?: ({
1238
+ url?: string,
1239
+ alt?: string | null,
1240
+ orden?: number | null,
1241
+
1242
+ })[],
1243
+
1244
+ })[],
1245
+
1246
+ },
1247
+ shared_context?: {
1248
+ contexto?: string | null,
1249
+ representacion_visual_id_estimulo?: {
1250
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
1251
+ version?: "v1",
1252
+ tabla_markdown?: string | null,
1253
+ grafica_json?: object | null,
1254
+ imagen_url?: string | null,
1255
+ imagen_svg?: string | null,
1256
+ imagen_alt?: string | null,
1257
+
1258
+ },
1259
+ group_info?: {
1260
+ total_questions?: number,
1261
+ current_question_index?: number,
1262
+ is_first_question?: boolean,
1263
+
1264
+ },
1265
+ related_questions?: ({
1266
+ /** @format uuid *\/
1267
+ id_item?: string,
1268
+ nombre_pregunta?: string,
1269
+ order_in_group?: number,
1270
+ is_current?: boolean,
1271
+
1272
+ })[],
1273
+
1274
+ },
1275
+
1276
+ },
1097
1277
 
1098
1278
  }` Detalle de la pregunta con opciones
1099
1279
  */
@@ -1109,8 +1289,74 @@ export namespace V1 {
1109
1289
  export type RequestBody = never;
1110
1290
  export type RequestHeaders = {};
1111
1291
  export type ResponseBody = {
1292
+ /** @example true */
1112
1293
  ok?: boolean;
1113
- data?: object;
1294
+ data?: {
1295
+ question?: {
1296
+ /** @format uuid */
1297
+ id_item?: string;
1298
+ id_clasificacion?: string;
1299
+ nombre_pregunta?: string | null;
1300
+ enunciado?: string;
1301
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null;
1302
+ estado_revision?: string | null;
1303
+ ai_generated?: boolean;
1304
+ created_at?: string;
1305
+ indice_respuesta?: number;
1306
+ justificacion?: string | null;
1307
+ metadata?: object | null;
1308
+ representacion_visual_enunciado?: {
1309
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
1310
+ version?: "v1";
1311
+ tabla_markdown?: string | null;
1312
+ grafica_json?: object | null;
1313
+ imagen_url?: string | null;
1314
+ imagen_svg?: string | null;
1315
+ imagen_alt?: string | null;
1316
+ };
1317
+ imagenes?: {
1318
+ url?: string;
1319
+ alt?: string | null;
1320
+ orden?: number | null;
1321
+ }[];
1322
+ opciones?: {
1323
+ indice_opcion?: number;
1324
+ contenido_json?: object | null;
1325
+ texto?: string;
1326
+ es_correcta?: boolean;
1327
+ explicacion?: string | null;
1328
+ imagenes?: {
1329
+ url?: string;
1330
+ alt?: string | null;
1331
+ orden?: number | null;
1332
+ }[];
1333
+ }[];
1334
+ };
1335
+ shared_context?: {
1336
+ contexto?: string | null;
1337
+ representacion_visual_id_estimulo?: {
1338
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
1339
+ version?: "v1";
1340
+ tabla_markdown?: string | null;
1341
+ grafica_json?: object | null;
1342
+ imagen_url?: string | null;
1343
+ imagen_svg?: string | null;
1344
+ imagen_alt?: string | null;
1345
+ };
1346
+ group_info?: {
1347
+ total_questions?: number;
1348
+ current_question_index?: number;
1349
+ is_first_question?: boolean;
1350
+ };
1351
+ related_questions?: {
1352
+ /** @format uuid */
1353
+ id_item?: string;
1354
+ nombre_pregunta?: string;
1355
+ order_in_group?: number;
1356
+ is_current?: boolean;
1357
+ }[];
1358
+ };
1359
+ };
1114
1360
  };
1115
1361
  }
1116
1362
 
@@ -1328,8 +1574,43 @@ export namespace V1 {
1328
1574
  * @request GET:/v1/trainer/preguntas
1329
1575
  * @secure
1330
1576
  * @response `200` `{
1577
+ /** @example true *\/
1331
1578
  ok?: boolean,
1332
- data?: (object)[],
1579
+ data?: ({
1580
+ /** @format uuid *\/
1581
+ id_item?: string,
1582
+ enunciado?: string,
1583
+ indice_respuesta?: number,
1584
+ id_clasificacion?: string,
1585
+ id_estimulo?: string | null,
1586
+ metadata?: object | null,
1587
+ ai_generated?: boolean,
1588
+ justificacion?: string | null,
1589
+ created_at?: string,
1590
+ imagenes?: ({
1591
+ id_item?: string,
1592
+ url?: string,
1593
+ alt?: string | null,
1594
+ orden?: number | null,
1595
+
1596
+ })[],
1597
+ opciones?: ({
1598
+ id_item?: string,
1599
+ indice_opcion?: number,
1600
+ contenido_json?: object | null,
1601
+ es_correcta?: boolean,
1602
+ imagenes?: ({
1603
+ id_item?: string,
1604
+ indice_opcion?: number,
1605
+ url?: string,
1606
+ alt?: string | null,
1607
+ orden?: number | null,
1608
+
1609
+ })[],
1610
+
1611
+ })[],
1612
+
1613
+ })[],
1333
1614
 
1334
1615
  }` Lista de preguntas agrupadas por clasificación
1335
1616
  */
@@ -1342,8 +1623,39 @@ export namespace V1 {
1342
1623
  export type RequestBody = never;
1343
1624
  export type RequestHeaders = {};
1344
1625
  export type ResponseBody = {
1626
+ /** @example true */
1345
1627
  ok?: boolean;
1346
- data?: object[];
1628
+ data?: {
1629
+ /** @format uuid */
1630
+ id_item?: string;
1631
+ enunciado?: string;
1632
+ indice_respuesta?: number;
1633
+ id_clasificacion?: string;
1634
+ id_estimulo?: string | null;
1635
+ metadata?: object | null;
1636
+ ai_generated?: boolean;
1637
+ justificacion?: string | null;
1638
+ created_at?: string;
1639
+ imagenes?: {
1640
+ id_item?: string;
1641
+ url?: string;
1642
+ alt?: string | null;
1643
+ orden?: number | null;
1644
+ }[];
1645
+ opciones?: {
1646
+ id_item?: string;
1647
+ indice_opcion?: number;
1648
+ contenido_json?: object | null;
1649
+ es_correcta?: boolean;
1650
+ imagenes?: {
1651
+ id_item?: string;
1652
+ indice_opcion?: number;
1653
+ url?: string;
1654
+ alt?: string | null;
1655
+ orden?: number | null;
1656
+ }[];
1657
+ }[];
1658
+ }[];
1347
1659
  };
1348
1660
  }
1349
1661
 
@@ -2569,7 +2881,7 @@ export namespace V1 {
2569
2881
  * Texto completo del contexto/estímulo asociado al grupo de preguntas. Puede ser un párrafo de lectura, un enunciado de situación, un texto en inglés, etc. Es null cuando las preguntas no tienen contexto compartido.
2570
2882
  * @example "En una bodega, un trabajador observa un carro de carga sobre el piso. Sobre el carro actúan tres fuerzas en dirección horizontal..."
2571
2883
  *\/
2572
- id_estimulo?: string | null,
2884
+ contexto?: string | null,
2573
2885
  /** Representación visual del contexto. Presente cuando el contexto tiene una imagen, gráfica o tabla asociada. null si el contexto es solo texto. *\/
2574
2886
  representacion_visual_id_estimulo?: {
2575
2887
  /**
@@ -2582,6 +2894,11 @@ export namespace V1 {
2582
2894
  * @example "v1"
2583
2895
  *\/
2584
2896
  version?: string,
2897
+ /**
2898
+ * URL pública de la imagen cuando existe asset persistido
2899
+ * @example "https://example.supabase.co/storage/v1/object/public/preguntas/img.png"
2900
+ *\/
2901
+ imagen_url?: string | null,
2585
2902
  /**
2586
2903
  * Texto alternativo descriptivo de la imagen
2587
2904
  * @example "Un carro representado como un rectángulo. Dos flechas hacia la derecha etiquetadas 25 N y 10 N. Una flecha hacia la izquierda etiquetada 50 N."
@@ -2695,6 +3012,17 @@ export namespace V1 {
2695
3012
  /** Representación visual del enunciado de la pregunta (misma estructura que representacion_visual_id_estimulo) *\/
2696
3013
  representacion_visual_enunciado?: object | null,
2697
3014
 
3015
+ },
3016
+ /** Representación visual del enunciado de la pregunta, ya extraída al nivel superior. *\/
3017
+ representacion_visual_enunciado?: {
3018
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
3019
+ version?: "v1",
3020
+ tabla_markdown?: string | null,
3021
+ grafica_json?: object | null,
3022
+ imagen_url?: string | null,
3023
+ imagen_svg?: string | null,
3024
+ imagen_alt?: string | null,
3025
+
2698
3026
  },
2699
3027
  /** Imágenes directas de la pregunta. Array vacío si no tiene imágenes. *\/
2700
3028
  imagenes?: ({
@@ -2722,6 +3050,11 @@ export namespace V1 {
2722
3050
  texto?: string,
2723
3051
 
2724
3052
  },
3053
+ /**
3054
+ * Texto plano extraído desde contenido_json.texto
3055
+ * @example "la fuerza de la cuerda por sí sola es capaz de mover el carro hacia la izquierda, sin considerar las demás fuerzas."
3056
+ *\/
3057
+ texto?: string,
2725
3058
  /** Imágenes de la opción. Array vacío si la opción no tiene imágenes. *\/
2726
3059
  imagenes?: ({
2727
3060
  url?: string,
@@ -2766,7 +3099,7 @@ export namespace V1 {
2766
3099
  * Texto completo del contexto/estímulo asociado al grupo de preguntas. Puede ser un párrafo de lectura, un enunciado de situación, un texto en inglés, etc. Es null cuando las preguntas no tienen contexto compartido.
2767
3100
  * @example "En una bodega, un trabajador observa un carro de carga sobre el piso. Sobre el carro actúan tres fuerzas en dirección horizontal..."
2768
3101
  */
2769
- id_estimulo?: string | null;
3102
+ contexto?: string | null;
2770
3103
  /** Representación visual del contexto. Presente cuando el contexto tiene una imagen, gráfica o tabla asociada. null si el contexto es solo texto. */
2771
3104
  representacion_visual_id_estimulo?: {
2772
3105
  /**
@@ -2779,6 +3112,11 @@ export namespace V1 {
2779
3112
  * @example "v1"
2780
3113
  */
2781
3114
  version?: string;
3115
+ /**
3116
+ * URL pública de la imagen cuando existe asset persistido
3117
+ * @example "https://example.supabase.co/storage/v1/object/public/preguntas/img.png"
3118
+ */
3119
+ imagen_url?: string | null;
2782
3120
  /**
2783
3121
  * Texto alternativo descriptivo de la imagen
2784
3122
  * @example "Un carro representado como un rectángulo. Dos flechas hacia la derecha etiquetadas 25 N y 10 N. Una flecha hacia la izquierda etiquetada 50 N."
@@ -2886,6 +3224,16 @@ export namespace V1 {
2886
3224
  /** Representación visual del enunciado de la pregunta (misma estructura que representacion_visual_id_estimulo) */
2887
3225
  representacion_visual_enunciado?: object | null;
2888
3226
  };
3227
+ /** Representación visual del enunciado de la pregunta, ya extraída al nivel superior. */
3228
+ representacion_visual_enunciado?: {
3229
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
3230
+ version?: "v1";
3231
+ tabla_markdown?: string | null;
3232
+ grafica_json?: object | null;
3233
+ imagen_url?: string | null;
3234
+ imagen_svg?: string | null;
3235
+ imagen_alt?: string | null;
3236
+ };
2889
3237
  /** Imágenes directas de la pregunta. Array vacío si no tiene imágenes. */
2890
3238
  imagenes?: {
2891
3239
  /** URL de la imagen */
@@ -2910,6 +3258,11 @@ export namespace V1 {
2910
3258
  */
2911
3259
  texto?: string;
2912
3260
  };
3261
+ /**
3262
+ * Texto plano extraído desde contenido_json.texto
3263
+ * @example "la fuerza de la cuerda por sí sola es capaz de mover el carro hacia la izquierda, sin considerar las demás fuerzas."
3264
+ */
3265
+ texto?: string;
2913
3266
  /** Imágenes de la opción. Array vacío si la opción no tiene imágenes. */
2914
3267
  imagenes?: {
2915
3268
  url?: string;
@@ -3252,90 +3605,32 @@ export namespace V1 {
3252
3605
 
3253
3606
  /**
3254
3607
  * No description
3255
- * @tags student
3256
- * @name GetMateriasWithComponentes
3257
- * @summary Listar materias con sus selectores por tipo de institución
3258
- * @request GET:/v1/student/materias-componentes
3608
+ * @tags trainer
3609
+ * @name CreateConfiguracion
3610
+ * @summary Crear configuración de simulacro
3611
+ * @request POST:/v1/trainer/simulacros/configuracion
3259
3612
  * @secure
3260
- * @response `200` `{
3613
+ * @response `201` `{
3614
+ /** @example true *\/
3261
3615
  ok?: boolean,
3262
- data?: ({
3616
+ data?: {
3263
3617
  /** @format uuid *\/
3264
- id_materia?: string,
3265
- /** @example "Matemáticas" *\/
3618
+ id?: string,
3266
3619
  nombre?: string,
3267
- image_url?: string | null,
3268
- institution_type?: "SCHOOL" | "UNIVERSITY",
3269
- componentes?: ({
3270
3620
  /** @format uuid *\/
3271
- id_componente?: string,
3272
- /** @example "Interpretación y representación" *\/
3273
- nombre?: string,
3274
- selector_name?: string | null,
3275
-
3276
- })[],
3621
+ institution_id?: string,
3277
3622
 
3278
- })[],
3623
+ },
3279
3624
 
3280
- }` Lista de materias con selectores
3281
- * @response `401` `void` Invalid API key
3625
+ }` Configuración de simulacro creada
3282
3626
  */
3283
- export namespace GetMateriasWithComponentes {
3627
+ export namespace CreateConfiguracion {
3284
3628
  export type RequestParams = {};
3285
- export type RequestQuery = {
3286
- /** Institution type */
3287
- institution_type: "SCHOOL" | "UNIVERSITY";
3288
- };
3289
- export type RequestBody = never;
3629
+ export type RequestQuery = {};
3630
+ export type RequestBody = CreateConfiguracionSimulacroDto;
3290
3631
  export type RequestHeaders = {};
3291
3632
  export type ResponseBody = {
3292
- ok?: boolean;
3293
- data?: {
3294
- /** @format uuid */
3295
- id_materia?: string;
3296
- /** @example "Matemáticas" */
3297
- nombre?: string;
3298
- image_url?: string | null;
3299
- institution_type?: "SCHOOL" | "UNIVERSITY";
3300
- componentes?: {
3301
- /** @format uuid */
3302
- id_componente?: string;
3303
- /** @example "Interpretación y representación" */
3304
- nombre?: string;
3305
- selector_name?: string | null;
3306
- }[];
3307
- }[];
3308
- };
3309
- }
3310
-
3311
- /**
3312
- * No description
3313
- * @tags trainer
3314
- * @name CreateConfiguracion
3315
- * @summary Crear configuración de simulacro
3316
- * @request POST:/v1/trainer/simulacros/configuracion
3317
- * @secure
3318
- * @response `201` `{
3319
- /** @example true *\/
3320
- ok?: boolean,
3321
- data?: {
3322
- /** @format uuid *\/
3323
- id?: string,
3324
- nombre?: string,
3325
- /** @format uuid *\/
3326
- institution_id?: string,
3327
-
3328
- },
3329
-
3330
- }` Configuración de simulacro creada
3331
- */
3332
- export namespace CreateConfiguracion {
3333
- export type RequestParams = {};
3334
- export type RequestQuery = {};
3335
- export type RequestBody = CreateConfiguracionSimulacroDto;
3336
- export type RequestHeaders = {};
3337
- export type ResponseBody = {
3338
- /** @example true */
3633
+ /** @example true */
3339
3634
  ok?: boolean;
3340
3635
  data?: {
3341
3636
  /** @format uuid */
@@ -4115,9 +4410,18 @@ export namespace V1 {
4115
4410
  estado?: string,
4116
4411
  /** Preguntas agrupadas por contexto/estímulo *\/
4117
4412
  grupos?: ({
4118
- id_estimulo?: string | null,
4119
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). *\/
4120
- representacion_visual_id_estimulo?: object | null,
4413
+ contexto?: string | null,
4414
+ /** Representación visual del contexto. Misma estructura actual que diagnóstico/start. *\/
4415
+ representacion_visual_id_estimulo?: {
4416
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
4417
+ version?: "v1",
4418
+ tabla_markdown?: string | null,
4419
+ grafica_json?: object | null,
4420
+ imagen_url?: string | null,
4421
+ imagen_svg?: string | null,
4422
+ imagen_alt?: string | null,
4423
+
4424
+ },
4121
4425
  items?: ({
4122
4426
  /** @format uuid *\/
4123
4427
  id_item?: string,
@@ -4126,6 +4430,16 @@ export namespace V1 {
4126
4430
  id_materia?: string | null,
4127
4431
  materia_nombre?: string | null,
4128
4432
  metadata?: object | null,
4433
+ representacion_visual_enunciado?: {
4434
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
4435
+ version?: "v1",
4436
+ tabla_markdown?: string | null,
4437
+ grafica_json?: object | null,
4438
+ imagen_url?: string | null,
4439
+ imagen_svg?: string | null,
4440
+ imagen_alt?: string | null,
4441
+
4442
+ },
4129
4443
  imagenes?: ({
4130
4444
  url?: string,
4131
4445
  alt?: string,
@@ -4139,6 +4453,7 @@ export namespace V1 {
4139
4453
  texto?: string,
4140
4454
 
4141
4455
  },
4456
+ texto?: string,
4142
4457
  imagenes?: ({
4143
4458
  url?: string,
4144
4459
  alt?: string,
@@ -4179,9 +4494,17 @@ export namespace V1 {
4179
4494
  estado?: string;
4180
4495
  /** Preguntas agrupadas por contexto/estímulo */
4181
4496
  grupos?: {
4182
- id_estimulo?: string | null;
4183
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). */
4184
- representacion_visual_id_estimulo?: object | null;
4497
+ contexto?: string | null;
4498
+ /** Representación visual del contexto. Misma estructura actual que diagnóstico/start. */
4499
+ representacion_visual_id_estimulo?: {
4500
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
4501
+ version?: "v1";
4502
+ tabla_markdown?: string | null;
4503
+ grafica_json?: object | null;
4504
+ imagen_url?: string | null;
4505
+ imagen_svg?: string | null;
4506
+ imagen_alt?: string | null;
4507
+ };
4185
4508
  items?: {
4186
4509
  /** @format uuid */
4187
4510
  id_item?: string;
@@ -4190,6 +4513,20 @@ export namespace V1 {
4190
4513
  id_materia?: string | null;
4191
4514
  materia_nombre?: string | null;
4192
4515
  metadata?: object | null;
4516
+ representacion_visual_enunciado?: {
4517
+ tipo?:
4518
+ | "tabla"
4519
+ | "grafica"
4520
+ | "imagen"
4521
+ | "caricatura"
4522
+ | "infografia";
4523
+ version?: "v1";
4524
+ tabla_markdown?: string | null;
4525
+ grafica_json?: object | null;
4526
+ imagen_url?: string | null;
4527
+ imagen_svg?: string | null;
4528
+ imagen_alt?: string | null;
4529
+ };
4193
4530
  imagenes?: {
4194
4531
  url?: string;
4195
4532
  alt?: string;
@@ -4201,6 +4538,7 @@ export namespace V1 {
4201
4538
  contenido_json?: {
4202
4539
  texto?: string;
4203
4540
  };
4541
+ texto?: string;
4204
4542
  imagenes?: {
4205
4543
  url?: string;
4206
4544
  alt?: string;
@@ -4227,7 +4565,7 @@ export namespace V1 {
4227
4565
  clasificacion?: object,
4228
4566
  /** Preguntas agrupadas por contexto con respuestas reveladas *\/
4229
4567
  grupos?: ({
4230
- id_estimulo?: string | null,
4568
+ contexto?: string | null,
4231
4569
  /** Representación visual del contexto. Misma estructura que en diagnóstico/start. *\/
4232
4570
  representacion_visual_id_estimulo?: object | null,
4233
4571
  items?: ({
@@ -4239,6 +4577,8 @@ export namespace V1 {
4239
4577
  id_materia?: string,
4240
4578
  materia_nombre?: string,
4241
4579
  metadata?: object | null,
4580
+ /** Representación visual del enunciado si aplica. *\/
4581
+ representacion_visual_enunciado?: object | null,
4242
4582
  /** true si es Comunicación Escrita *\/
4243
4583
  isOpenTextQuestion?: boolean,
4244
4584
  imagenes?: ({
@@ -4310,7 +4650,7 @@ export namespace V1 {
4310
4650
  clasificacion?: object;
4311
4651
  /** Preguntas agrupadas por contexto con respuestas reveladas */
4312
4652
  grupos?: {
4313
- id_estimulo?: string | null;
4653
+ contexto?: string | null;
4314
4654
  /** Representación visual del contexto. Misma estructura que en diagnóstico/start. */
4315
4655
  representacion_visual_id_estimulo?: object | null;
4316
4656
  items?: {
@@ -4322,6 +4662,8 @@ export namespace V1 {
4322
4662
  id_materia?: string;
4323
4663
  materia_nombre?: string;
4324
4664
  metadata?: object | null;
4665
+ /** Representación visual del enunciado si aplica. */
4666
+ representacion_visual_enunciado?: object | null;
4325
4667
  /** true si es Comunicación Escrita */
4326
4668
  isOpenTextQuestion?: boolean;
4327
4669
  imagenes?: {
@@ -4645,8 +4987,50 @@ export namespace V1 {
4645
4987
  * @request GET:/v1/exams/practice/{materiaId}
4646
4988
  * @secure
4647
4989
  * @response `200` `{
4990
+ /** @example true *\/
4648
4991
  ok?: boolean,
4649
- data?: object,
4992
+ data?: {
4993
+ materia?: {
4994
+ id_materia?: string,
4995
+ nombre?: string,
4996
+ institution_type?: string | null,
4997
+
4998
+ },
4999
+ preguntas?: ({
5000
+ /** @format uuid *\/
5001
+ id_item?: string,
5002
+ enunciado?: string,
5003
+ indice_respuesta?: number,
5004
+ id_clasificacion?: string,
5005
+ id_estimulo?: string | null,
5006
+ metadata?: object | null,
5007
+ ai_generated?: boolean,
5008
+ imagenes?: ({
5009
+ id_item?: string,
5010
+ url?: string,
5011
+ alt?: string | null,
5012
+ orden?: number | null,
5013
+
5014
+ })[],
5015
+ opciones?: ({
5016
+ id_item?: string,
5017
+ indice_opcion?: number,
5018
+ contenido_json?: object | null,
5019
+ es_correcta?: boolean,
5020
+ imagenes?: ({
5021
+ id_item?: string,
5022
+ indice_opcion?: number,
5023
+ url?: string,
5024
+ alt?: string | null,
5025
+ orden?: number | null,
5026
+
5027
+ })[],
5028
+
5029
+ })[],
5030
+
5031
+ })[],
5032
+
5033
+ },
4650
5034
 
4651
5035
  }` Preguntas de práctica para la materia
4652
5036
  */
@@ -4662,8 +5046,44 @@ export namespace V1 {
4662
5046
  export type RequestBody = never;
4663
5047
  export type RequestHeaders = {};
4664
5048
  export type ResponseBody = {
5049
+ /** @example true */
4665
5050
  ok?: boolean;
4666
- data?: object;
5051
+ data?: {
5052
+ materia?: {
5053
+ id_materia?: string;
5054
+ nombre?: string;
5055
+ institution_type?: string | null;
5056
+ };
5057
+ preguntas?: {
5058
+ /** @format uuid */
5059
+ id_item?: string;
5060
+ enunciado?: string;
5061
+ indice_respuesta?: number;
5062
+ id_clasificacion?: string;
5063
+ id_estimulo?: string | null;
5064
+ metadata?: object | null;
5065
+ ai_generated?: boolean;
5066
+ imagenes?: {
5067
+ id_item?: string;
5068
+ url?: string;
5069
+ alt?: string | null;
5070
+ orden?: number | null;
5071
+ }[];
5072
+ opciones?: {
5073
+ id_item?: string;
5074
+ indice_opcion?: number;
5075
+ contenido_json?: object | null;
5076
+ es_correcta?: boolean;
5077
+ imagenes?: {
5078
+ id_item?: string;
5079
+ indice_opcion?: number;
5080
+ url?: string;
5081
+ alt?: string | null;
5082
+ orden?: number | null;
5083
+ }[];
5084
+ }[];
5085
+ }[];
5086
+ };
4667
5087
  };
4668
5088
  }
4669
5089
 
@@ -4675,8 +5095,44 @@ export namespace V1 {
4675
5095
  * @request GET:/v1/exams/practice/theme/{tematicaId}
4676
5096
  * @secure
4677
5097
  * @response `200` `{
5098
+ /** @example true *\/
4678
5099
  ok?: boolean,
4679
- data?: object,
5100
+ data?: {
5101
+ materia?: {
5102
+ id_materia?: string,
5103
+ nombre?: string,
5104
+ institution_type?: string | null,
5105
+
5106
+ },
5107
+ tematica?: {
5108
+ texto?: string,
5109
+
5110
+ },
5111
+ preguntas?: ({
5112
+ /** @format uuid *\/
5113
+ id_item?: string,
5114
+ enunciado?: string,
5115
+ indice_respuesta?: number,
5116
+ id_clasificacion?: string,
5117
+ id_estimulo?: string | null,
5118
+ metadata?: object | null,
5119
+ ai_generated?: boolean,
5120
+ /** Registro del contexto asociado cuando existe coincidencia en contextos. *\/
5121
+ estimulo?: object | null,
5122
+ /** Primera imagen encontrada para la pregunta cuando aplica. *\/
5123
+ imagen?: object | null,
5124
+ opciones?: ({
5125
+ id_item?: string,
5126
+ indice_opcion?: number,
5127
+ contenido_json?: object | null,
5128
+ es_correcta?: boolean,
5129
+ explicacion?: string | null,
5130
+
5131
+ })[],
5132
+
5133
+ })[],
5134
+
5135
+ },
4680
5136
 
4681
5137
  }` Preguntas de práctica para la temática
4682
5138
  */
@@ -4694,8 +5150,39 @@ export namespace V1 {
4694
5150
  export type RequestBody = never;
4695
5151
  export type RequestHeaders = {};
4696
5152
  export type ResponseBody = {
5153
+ /** @example true */
4697
5154
  ok?: boolean;
4698
- data?: object;
5155
+ data?: {
5156
+ materia?: {
5157
+ id_materia?: string;
5158
+ nombre?: string;
5159
+ institution_type?: string | null;
5160
+ };
5161
+ tematica?: {
5162
+ texto?: string;
5163
+ };
5164
+ preguntas?: {
5165
+ /** @format uuid */
5166
+ id_item?: string;
5167
+ enunciado?: string;
5168
+ indice_respuesta?: number;
5169
+ id_clasificacion?: string;
5170
+ id_estimulo?: string | null;
5171
+ metadata?: object | null;
5172
+ ai_generated?: boolean;
5173
+ /** Registro del contexto asociado cuando existe coincidencia en contextos. */
5174
+ estimulo?: object | null;
5175
+ /** Primera imagen encontrada para la pregunta cuando aplica. */
5176
+ imagen?: object | null;
5177
+ opciones?: {
5178
+ id_item?: string;
5179
+ indice_opcion?: number;
5180
+ contenido_json?: object | null;
5181
+ es_correcta?: boolean;
5182
+ explicacion?: string | null;
5183
+ }[];
5184
+ }[];
5185
+ };
4699
5186
  };
4700
5187
  }
4701
5188
 
@@ -4887,41 +5374,15 @@ export namespace V1 {
4887
5374
  /** Preguntas agrupadas por contexto/estímulo *\/
4888
5375
  grupos?: ({
4889
5376
  /** Texto del contexto/estímulo compartido. null si no hay contexto. *\/
4890
- id_estimulo?: string | null,
4891
- /** Representación visual del contexto (imagen, gráfica o tabla). Misma estructura que en diagnóstico/start. null si es solo texto. *\/
5377
+ contexto?: string | null,
5378
+ /** Representación visual del contexto (imagen, gráfica o tabla). null si es solo texto. *\/
4892
5379
  representacion_visual_id_estimulo?: {
4893
- tipo?: "tabla" | "grafica" | "imagen",
5380
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
4894
5381
  version?: "v1",
4895
- descripcion?: string,
4896
5382
  tabla_markdown?: string | null,
4897
- /** Estructura de gráfica. Ver diagnóstico/start para detalle completo. *\/
4898
- grafica_json?: {
4899
- chart_type?: "bar" | "line" | "scatter" | "area",
4900
- x?: {
4901
- label?: string,
4902
- unit?: string | null,
4903
- values?: ((string | number))[],
4904
-
4905
- },
4906
- y?: {
4907
- label?: string,
4908
- unit?: string | null,
4909
-
4910
- },
4911
- series?: ({
4912
- name?: string,
4913
- data?: (number)[],
4914
-
4915
- })[],
4916
- annotations?: ({
4917
- type?: "reference_line",
4918
- axis?: "x" | "y",
4919
- value?: (number | string),
4920
- label?: string,
4921
-
4922
- })[],
4923
-
4924
- },
5383
+ /** Estructura de gráfica serializada. *\/
5384
+ grafica_json?: object | null,
5385
+ imagen_url?: string | null,
4925
5386
  imagen_alt?: string | null,
4926
5387
  imagen_svg?: string | null,
4927
5388
 
@@ -4932,6 +5393,16 @@ export namespace V1 {
4932
5393
  enunciado?: string,
4933
5394
  id_clasificacion?: string,
4934
5395
  metadata?: object | null,
5396
+ representacion_visual_enunciado?: {
5397
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
5398
+ version?: "v1",
5399
+ tabla_markdown?: string | null,
5400
+ grafica_json?: object | null,
5401
+ imagen_url?: string | null,
5402
+ imagen_alt?: string | null,
5403
+ imagen_svg?: string | null,
5404
+
5405
+ },
4935
5406
  imagenes?: ({
4936
5407
  url?: string,
4937
5408
  alt?: string,
@@ -4946,6 +5417,7 @@ export namespace V1 {
4946
5417
  texto?: string,
4947
5418
 
4948
5419
  },
5420
+ texto?: string,
4949
5421
  imagenes?: ({
4950
5422
  url?: string,
4951
5423
  alt?: string,
@@ -4987,36 +5459,15 @@ export namespace V1 {
4987
5459
  /** Preguntas agrupadas por contexto/estímulo */
4988
5460
  grupos?: {
4989
5461
  /** Texto del contexto/estímulo compartido. null si no hay contexto. */
4990
- id_estimulo?: string | null;
4991
- /** Representación visual del contexto (imagen, gráfica o tabla). Misma estructura que en diagnóstico/start. null si es solo texto. */
5462
+ contexto?: string | null;
5463
+ /** Representación visual del contexto (imagen, gráfica o tabla). null si es solo texto. */
4992
5464
  representacion_visual_id_estimulo?: {
4993
- tipo?: "tabla" | "grafica" | "imagen";
5465
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
4994
5466
  version?: "v1";
4995
- descripcion?: string;
4996
5467
  tabla_markdown?: string | null;
4997
- /** Estructura de gráfica. Ver diagnóstico/start para detalle completo. */
4998
- grafica_json?: {
4999
- chart_type?: "bar" | "line" | "scatter" | "area";
5000
- x?: {
5001
- label?: string;
5002
- unit?: string | null;
5003
- values?: (string | number)[];
5004
- };
5005
- y?: {
5006
- label?: string;
5007
- unit?: string | null;
5008
- };
5009
- series?: {
5010
- name?: string;
5011
- data?: number[];
5012
- }[];
5013
- annotations?: {
5014
- type?: "reference_line";
5015
- axis?: "x" | "y";
5016
- value?: number | string;
5017
- label?: string;
5018
- }[];
5019
- };
5468
+ /** Estructura de gráfica serializada. */
5469
+ grafica_json?: object | null;
5470
+ imagen_url?: string | null;
5020
5471
  imagen_alt?: string | null;
5021
5472
  imagen_svg?: string | null;
5022
5473
  };
@@ -5026,6 +5477,15 @@ export namespace V1 {
5026
5477
  enunciado?: string;
5027
5478
  id_clasificacion?: string;
5028
5479
  metadata?: object | null;
5480
+ representacion_visual_enunciado?: {
5481
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
5482
+ version?: "v1";
5483
+ tabla_markdown?: string | null;
5484
+ grafica_json?: object | null;
5485
+ imagen_url?: string | null;
5486
+ imagen_alt?: string | null;
5487
+ imagen_svg?: string | null;
5488
+ };
5029
5489
  imagenes?: {
5030
5490
  url?: string;
5031
5491
  alt?: string;
@@ -5038,6 +5498,7 @@ export namespace V1 {
5038
5498
  contenido_json?: {
5039
5499
  texto?: string;
5040
5500
  };
5501
+ texto?: string;
5041
5502
  imagenes?: {
5042
5503
  url?: string;
5043
5504
  alt?: string;
@@ -5233,7 +5694,7 @@ export namespace V1 {
5233
5694
  },
5234
5695
  /** Preguntas agrupadas por contexto con respuestas correctas reveladas *\/
5235
5696
  grupos?: ({
5236
- id_estimulo?: string | null,
5697
+ contexto?: string | null,
5237
5698
  /** Misma estructura que en missions/start *\/
5238
5699
  representacion_visual_id_estimulo?: object | null,
5239
5700
  items?: ({
@@ -5244,6 +5705,8 @@ export namespace V1 {
5244
5705
  indice_respuesta?: number,
5245
5706
  id_clasificacion?: string,
5246
5707
  metadata?: object | null,
5708
+ /** Representación visual del enunciado si aplica. *\/
5709
+ representacion_visual_enunciado?: object | null,
5247
5710
  imagenes?: ({
5248
5711
  url?: string,
5249
5712
  alt?: string,
@@ -5257,6 +5720,7 @@ export namespace V1 {
5257
5720
  texto?: string,
5258
5721
 
5259
5722
  },
5723
+ texto?: string,
5260
5724
  es_correcta?: boolean,
5261
5725
  explicacion?: string | null,
5262
5726
  imagenes?: ({
@@ -5314,7 +5778,7 @@ export namespace V1 {
5314
5778
  };
5315
5779
  /** Preguntas agrupadas por contexto con respuestas correctas reveladas */
5316
5780
  grupos?: {
5317
- id_estimulo?: string | null;
5781
+ contexto?: string | null;
5318
5782
  /** Misma estructura que en missions/start */
5319
5783
  representacion_visual_id_estimulo?: object | null;
5320
5784
  items?: {
@@ -5325,6 +5789,8 @@ export namespace V1 {
5325
5789
  indice_respuesta?: number;
5326
5790
  id_clasificacion?: string;
5327
5791
  metadata?: object | null;
5792
+ /** Representación visual del enunciado si aplica. */
5793
+ representacion_visual_enunciado?: object | null;
5328
5794
  imagenes?: {
5329
5795
  url?: string;
5330
5796
  alt?: string;
@@ -5336,6 +5802,7 @@ export namespace V1 {
5336
5802
  contenido_json?: {
5337
5803
  texto?: string;
5338
5804
  };
5805
+ texto?: string;
5339
5806
  es_correcta?: boolean;
5340
5807
  explicacion?: string | null;
5341
5808
  imagenes?: {
@@ -6305,9 +6772,18 @@ export namespace V1 {
6305
6772
  status?: string,
6306
6773
  /** Preguntas agrupadas por contexto/estímulo *\/
6307
6774
  grupos?: ({
6308
- id_estimulo?: string | null,
6309
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). *\/
6310
- representacion_visual_id_estimulo?: object | null,
6775
+ contexto?: string | null,
6776
+ /** Representación visual del contexto. Misma estructura que en diagnóstico/start actual (tipo, version, tabla_markdown, grafica_json, imagen_url, imagen_svg, imagen_alt). *\/
6777
+ representacion_visual_id_estimulo?: {
6778
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
6779
+ version?: "v1",
6780
+ tabla_markdown?: string | null,
6781
+ grafica_json?: object | null,
6782
+ imagen_url?: string | null,
6783
+ imagen_svg?: string | null,
6784
+ imagen_alt?: string | null,
6785
+
6786
+ },
6311
6787
  items?: ({
6312
6788
  /** @format uuid *\/
6313
6789
  id_item?: string,
@@ -6317,6 +6793,16 @@ export namespace V1 {
6317
6793
  materia_nombre?: string | null,
6318
6794
  metadata?: object | null,
6319
6795
  ai_generated?: boolean,
6796
+ representacion_visual_enunciado?: {
6797
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
6798
+ version?: "v1",
6799
+ tabla_markdown?: string | null,
6800
+ grafica_json?: object | null,
6801
+ imagen_url?: string | null,
6802
+ imagen_svg?: string | null,
6803
+ imagen_alt?: string | null,
6804
+
6805
+ },
6320
6806
  imagenes?: (object)[],
6321
6807
  /** Opciones sin es_correcta ni explicacion. Incluye id_item del parent. *\/
6322
6808
  opciones?: ({
@@ -6327,6 +6813,7 @@ export namespace V1 {
6327
6813
  texto?: string,
6328
6814
 
6329
6815
  },
6816
+ texto?: string,
6330
6817
  imagenes?: (object)[],
6331
6818
 
6332
6819
  })[],
@@ -6372,9 +6859,17 @@ export namespace V1 {
6372
6859
  status?: string;
6373
6860
  /** Preguntas agrupadas por contexto/estímulo */
6374
6861
  grupos?: {
6375
- id_estimulo?: string | null;
6376
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). */
6377
- representacion_visual_id_estimulo?: object | null;
6862
+ contexto?: string | null;
6863
+ /** Representación visual del contexto. Misma estructura que en diagnóstico/start actual (tipo, version, tabla_markdown, grafica_json, imagen_url, imagen_svg, imagen_alt). */
6864
+ representacion_visual_id_estimulo?: {
6865
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
6866
+ version?: "v1";
6867
+ tabla_markdown?: string | null;
6868
+ grafica_json?: object | null;
6869
+ imagen_url?: string | null;
6870
+ imagen_svg?: string | null;
6871
+ imagen_alt?: string | null;
6872
+ };
6378
6873
  items?: {
6379
6874
  /** @format uuid */
6380
6875
  id_item?: string;
@@ -6384,6 +6879,15 @@ export namespace V1 {
6384
6879
  materia_nombre?: string | null;
6385
6880
  metadata?: object | null;
6386
6881
  ai_generated?: boolean;
6882
+ representacion_visual_enunciado?: {
6883
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia";
6884
+ version?: "v1";
6885
+ tabla_markdown?: string | null;
6886
+ grafica_json?: object | null;
6887
+ imagen_url?: string | null;
6888
+ imagen_svg?: string | null;
6889
+ imagen_alt?: string | null;
6890
+ };
6387
6891
  imagenes?: object[];
6388
6892
  /** Opciones sin es_correcta ni explicacion. Incluye id_item del parent. */
6389
6893
  opciones?: {
@@ -6393,6 +6897,7 @@ export namespace V1 {
6393
6897
  contenido_json?: {
6394
6898
  texto?: string;
6395
6899
  };
6900
+ texto?: string;
6396
6901
  imagenes?: object[];
6397
6902
  }[];
6398
6903
  }[];
@@ -6987,24 +7492,124 @@ export class Api<
6987
7492
  }),
6988
7493
 
6989
7494
  /**
6990
- * No description
6991
- *
6992
- * @tags trainer
6993
- * @name GetQuestionsByClasificacion
6994
- * @summary Obtener preguntas AI generadas por clasificación (agrupadas por contexto)
6995
- * @request GET:/v1/trainer/questions
6996
- * @response `200` `void` Questions retrieved successfully, grouped by context
6997
- */
7495
+ * No description
7496
+ *
7497
+ * @tags trainer
7498
+ * @name GetQuestionsByClasificacion
7499
+ * @summary Obtener preguntas AI generadas por clasificación (agrupadas por contexto)
7500
+ * @request GET:/v1/trainer/questions
7501
+ * @response `200` `{
7502
+ modelo_llm?: string,
7503
+ grupos?: ({
7504
+ contexto?: string | null,
7505
+ representacion_visual_id_estimulo?: {
7506
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
7507
+ version?: "v1",
7508
+ tabla_markdown?: string | null,
7509
+ grafica_json?: object | null,
7510
+ imagen_url?: string | null,
7511
+ imagen_svg?: string | null,
7512
+ imagen_alt?: string | null,
7513
+
7514
+ },
7515
+ items?: ({
7516
+ /** @format uuid *\/
7517
+ id_item?: string,
7518
+ ai_generated?: boolean,
7519
+ enunciado?: string,
7520
+ opciones?: ({
7521
+ indice_opcion?: number,
7522
+ contenido_json?: object | null,
7523
+ texto?: string,
7524
+ es_correcta?: boolean,
7525
+ explicacion?: string | null,
7526
+
7527
+ })[],
7528
+ indice_respuesta?: number,
7529
+ justificacion?: string | null,
7530
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null,
7531
+ representacion_visual_enunciado?: {
7532
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
7533
+ version?: "v1",
7534
+ tabla_markdown?: string | null,
7535
+ grafica_json?: object | null,
7536
+ imagen_url?: string | null,
7537
+ imagen_svg?: string | null,
7538
+ imagen_alt?: string | null,
7539
+
7540
+ },
7541
+ id_clasificacion?: string,
7542
+
7543
+ })[],
7544
+
7545
+ })[],
7546
+
7547
+ }` Questions retrieved successfully, grouped by context
7548
+ */
6998
7549
  getQuestionsByClasificacion: (
6999
7550
  query: {
7000
7551
  id_clasificacion: string;
7001
7552
  },
7002
7553
  params: RequestParams = {},
7003
7554
  ) =>
7004
- this.request<void, any>({
7555
+ this.request<
7556
+ {
7557
+ modelo_llm?: string;
7558
+ grupos?: {
7559
+ contexto?: string | null;
7560
+ representacion_visual_id_estimulo?: {
7561
+ tipo?:
7562
+ | "tabla"
7563
+ | "grafica"
7564
+ | "imagen"
7565
+ | "caricatura"
7566
+ | "infografia";
7567
+ version?: "v1";
7568
+ tabla_markdown?: string | null;
7569
+ grafica_json?: object | null;
7570
+ imagen_url?: string | null;
7571
+ imagen_svg?: string | null;
7572
+ imagen_alt?: string | null;
7573
+ };
7574
+ items?: {
7575
+ /** @format uuid */
7576
+ id_item?: string;
7577
+ ai_generated?: boolean;
7578
+ enunciado?: string;
7579
+ opciones?: {
7580
+ indice_opcion?: number;
7581
+ contenido_json?: object | null;
7582
+ texto?: string;
7583
+ es_correcta?: boolean;
7584
+ explicacion?: string | null;
7585
+ }[];
7586
+ indice_respuesta?: number;
7587
+ justificacion?: string | null;
7588
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null;
7589
+ representacion_visual_enunciado?: {
7590
+ tipo?:
7591
+ | "tabla"
7592
+ | "grafica"
7593
+ | "imagen"
7594
+ | "caricatura"
7595
+ | "infografia";
7596
+ version?: "v1";
7597
+ tabla_markdown?: string | null;
7598
+ grafica_json?: object | null;
7599
+ imagen_url?: string | null;
7600
+ imagen_svg?: string | null;
7601
+ imagen_alt?: string | null;
7602
+ };
7603
+ id_clasificacion?: string;
7604
+ }[];
7605
+ }[];
7606
+ },
7607
+ any
7608
+ >({
7005
7609
  path: `/v1/trainer/questions`,
7006
7610
  method: "GET",
7007
7611
  query: query,
7612
+ format: "json",
7008
7613
  ...params,
7009
7614
  }),
7010
7615
 
@@ -7016,16 +7621,168 @@ export class Api<
7016
7621
  * @summary Obtener detalle de una pregunta por ID (id_item)
7017
7622
  * @request GET:/v1/trainer/questions/{id}
7018
7623
  * @response `200` `{
7624
+ /** @example true *\/
7019
7625
  ok?: boolean,
7020
- data?: object,
7626
+ data?: {
7627
+ question?: {
7628
+ /** @format uuid *\/
7629
+ id_item?: string,
7630
+ id_clasificacion?: string,
7631
+ nombre_pregunta?: string | null,
7632
+ enunciado?: string,
7633
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null,
7634
+ estado_revision?: string | null,
7635
+ ai_generated?: boolean,
7636
+ created_at?: string,
7637
+ indice_respuesta?: number,
7638
+ justificacion?: string | null,
7639
+ metadata?: object | null,
7640
+ representacion_visual_enunciado?: {
7641
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
7642
+ version?: "v1",
7643
+ tabla_markdown?: string | null,
7644
+ grafica_json?: object | null,
7645
+ imagen_url?: string | null,
7646
+ imagen_svg?: string | null,
7647
+ imagen_alt?: string | null,
7648
+
7649
+ },
7650
+ imagenes?: ({
7651
+ url?: string,
7652
+ alt?: string | null,
7653
+ orden?: number | null,
7654
+
7655
+ })[],
7656
+ opciones?: ({
7657
+ indice_opcion?: number,
7658
+ contenido_json?: object | null,
7659
+ texto?: string,
7660
+ es_correcta?: boolean,
7661
+ explicacion?: string | null,
7662
+ imagenes?: ({
7663
+ url?: string,
7664
+ alt?: string | null,
7665
+ orden?: number | null,
7666
+
7667
+ })[],
7668
+
7669
+ })[],
7670
+
7671
+ },
7672
+ shared_context?: {
7673
+ contexto?: string | null,
7674
+ representacion_visual_id_estimulo?: {
7675
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
7676
+ version?: "v1",
7677
+ tabla_markdown?: string | null,
7678
+ grafica_json?: object | null,
7679
+ imagen_url?: string | null,
7680
+ imagen_svg?: string | null,
7681
+ imagen_alt?: string | null,
7682
+
7683
+ },
7684
+ group_info?: {
7685
+ total_questions?: number,
7686
+ current_question_index?: number,
7687
+ is_first_question?: boolean,
7688
+
7689
+ },
7690
+ related_questions?: ({
7691
+ /** @format uuid *\/
7692
+ id_item?: string,
7693
+ nombre_pregunta?: string,
7694
+ order_in_group?: number,
7695
+ is_current?: boolean,
7696
+
7697
+ })[],
7698
+
7699
+ },
7700
+
7701
+ },
7021
7702
 
7022
7703
  }` Detalle de la pregunta con opciones
7023
7704
  */
7024
7705
  getQuestionById: (id: string, params: RequestParams = {}) =>
7025
7706
  this.request<
7026
7707
  {
7708
+ /** @example true */
7027
7709
  ok?: boolean;
7028
- data?: object;
7710
+ data?: {
7711
+ question?: {
7712
+ /** @format uuid */
7713
+ id_item?: string;
7714
+ id_clasificacion?: string;
7715
+ nombre_pregunta?: string | null;
7716
+ enunciado?: string;
7717
+ dificultad?: "NIVEL 1" | "NIVEL 2" | "NIVEL 3" | "NIVEL 4" | null;
7718
+ estado_revision?: string | null;
7719
+ ai_generated?: boolean;
7720
+ created_at?: string;
7721
+ indice_respuesta?: number;
7722
+ justificacion?: string | null;
7723
+ metadata?: object | null;
7724
+ representacion_visual_enunciado?: {
7725
+ tipo?:
7726
+ | "tabla"
7727
+ | "grafica"
7728
+ | "imagen"
7729
+ | "caricatura"
7730
+ | "infografia";
7731
+ version?: "v1";
7732
+ tabla_markdown?: string | null;
7733
+ grafica_json?: object | null;
7734
+ imagen_url?: string | null;
7735
+ imagen_svg?: string | null;
7736
+ imagen_alt?: string | null;
7737
+ };
7738
+ imagenes?: {
7739
+ url?: string;
7740
+ alt?: string | null;
7741
+ orden?: number | null;
7742
+ }[];
7743
+ opciones?: {
7744
+ indice_opcion?: number;
7745
+ contenido_json?: object | null;
7746
+ texto?: string;
7747
+ es_correcta?: boolean;
7748
+ explicacion?: string | null;
7749
+ imagenes?: {
7750
+ url?: string;
7751
+ alt?: string | null;
7752
+ orden?: number | null;
7753
+ }[];
7754
+ }[];
7755
+ };
7756
+ shared_context?: {
7757
+ contexto?: string | null;
7758
+ representacion_visual_id_estimulo?: {
7759
+ tipo?:
7760
+ | "tabla"
7761
+ | "grafica"
7762
+ | "imagen"
7763
+ | "caricatura"
7764
+ | "infografia";
7765
+ version?: "v1";
7766
+ tabla_markdown?: string | null;
7767
+ grafica_json?: object | null;
7768
+ imagen_url?: string | null;
7769
+ imagen_svg?: string | null;
7770
+ imagen_alt?: string | null;
7771
+ };
7772
+ group_info?: {
7773
+ total_questions?: number;
7774
+ current_question_index?: number;
7775
+ is_first_question?: boolean;
7776
+ };
7777
+ related_questions?: {
7778
+ /** @format uuid */
7779
+ id_item?: string;
7780
+ nombre_pregunta?: string;
7781
+ order_in_group?: number;
7782
+ is_current?: boolean;
7783
+ }[];
7784
+ };
7785
+ };
7029
7786
  },
7030
7787
  any
7031
7788
  >({
@@ -7296,8 +8053,43 @@ export class Api<
7296
8053
  * @request GET:/v1/trainer/preguntas
7297
8054
  * @secure
7298
8055
  * @response `200` `{
8056
+ /** @example true *\/
7299
8057
  ok?: boolean,
7300
- data?: (object)[],
8058
+ data?: ({
8059
+ /** @format uuid *\/
8060
+ id_item?: string,
8061
+ enunciado?: string,
8062
+ indice_respuesta?: number,
8063
+ id_clasificacion?: string,
8064
+ id_estimulo?: string | null,
8065
+ metadata?: object | null,
8066
+ ai_generated?: boolean,
8067
+ justificacion?: string | null,
8068
+ created_at?: string,
8069
+ imagenes?: ({
8070
+ id_item?: string,
8071
+ url?: string,
8072
+ alt?: string | null,
8073
+ orden?: number | null,
8074
+
8075
+ })[],
8076
+ opciones?: ({
8077
+ id_item?: string,
8078
+ indice_opcion?: number,
8079
+ contenido_json?: object | null,
8080
+ es_correcta?: boolean,
8081
+ imagenes?: ({
8082
+ id_item?: string,
8083
+ indice_opcion?: number,
8084
+ url?: string,
8085
+ alt?: string | null,
8086
+ orden?: number | null,
8087
+
8088
+ })[],
8089
+
8090
+ })[],
8091
+
8092
+ })[],
7301
8093
 
7302
8094
  }` Lista de preguntas agrupadas por clasificación
7303
8095
  */
@@ -7310,8 +8102,39 @@ export class Api<
7310
8102
  ) =>
7311
8103
  this.request<
7312
8104
  {
8105
+ /** @example true */
7313
8106
  ok?: boolean;
7314
- data?: object[];
8107
+ data?: {
8108
+ /** @format uuid */
8109
+ id_item?: string;
8110
+ enunciado?: string;
8111
+ indice_respuesta?: number;
8112
+ id_clasificacion?: string;
8113
+ id_estimulo?: string | null;
8114
+ metadata?: object | null;
8115
+ ai_generated?: boolean;
8116
+ justificacion?: string | null;
8117
+ created_at?: string;
8118
+ imagenes?: {
8119
+ id_item?: string;
8120
+ url?: string;
8121
+ alt?: string | null;
8122
+ orden?: number | null;
8123
+ }[];
8124
+ opciones?: {
8125
+ id_item?: string;
8126
+ indice_opcion?: number;
8127
+ contenido_json?: object | null;
8128
+ es_correcta?: boolean;
8129
+ imagenes?: {
8130
+ id_item?: string;
8131
+ indice_opcion?: number;
8132
+ url?: string;
8133
+ alt?: string | null;
8134
+ orden?: number | null;
8135
+ }[];
8136
+ }[];
8137
+ }[];
7315
8138
  },
7316
8139
  any
7317
8140
  >({
@@ -8630,7 +9453,7 @@ export class Api<
8630
9453
  * Texto completo del contexto/estímulo asociado al grupo de preguntas. Puede ser un párrafo de lectura, un enunciado de situación, un texto en inglés, etc. Es null cuando las preguntas no tienen contexto compartido.
8631
9454
  * @example "En una bodega, un trabajador observa un carro de carga sobre el piso. Sobre el carro actúan tres fuerzas en dirección horizontal..."
8632
9455
  *\/
8633
- id_estimulo?: string | null,
9456
+ contexto?: string | null,
8634
9457
  /** Representación visual del contexto. Presente cuando el contexto tiene una imagen, gráfica o tabla asociada. null si el contexto es solo texto. *\/
8635
9458
  representacion_visual_id_estimulo?: {
8636
9459
  /**
@@ -8643,6 +9466,11 @@ export class Api<
8643
9466
  * @example "v1"
8644
9467
  *\/
8645
9468
  version?: string,
9469
+ /**
9470
+ * URL pública de la imagen cuando existe asset persistido
9471
+ * @example "https://example.supabase.co/storage/v1/object/public/preguntas/img.png"
9472
+ *\/
9473
+ imagen_url?: string | null,
8646
9474
  /**
8647
9475
  * Texto alternativo descriptivo de la imagen
8648
9476
  * @example "Un carro representado como un rectángulo. Dos flechas hacia la derecha etiquetadas 25 N y 10 N. Una flecha hacia la izquierda etiquetada 50 N."
@@ -8756,6 +9584,17 @@ export class Api<
8756
9584
  /** Representación visual del enunciado de la pregunta (misma estructura que representacion_visual_id_estimulo) *\/
8757
9585
  representacion_visual_enunciado?: object | null,
8758
9586
 
9587
+ },
9588
+ /** Representación visual del enunciado de la pregunta, ya extraída al nivel superior. *\/
9589
+ representacion_visual_enunciado?: {
9590
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
9591
+ version?: "v1",
9592
+ tabla_markdown?: string | null,
9593
+ grafica_json?: object | null,
9594
+ imagen_url?: string | null,
9595
+ imagen_svg?: string | null,
9596
+ imagen_alt?: string | null,
9597
+
8759
9598
  },
8760
9599
  /** Imágenes directas de la pregunta. Array vacío si no tiene imágenes. *\/
8761
9600
  imagenes?: ({
@@ -8783,6 +9622,11 @@ export class Api<
8783
9622
  texto?: string,
8784
9623
 
8785
9624
  },
9625
+ /**
9626
+ * Texto plano extraído desde contenido_json.texto
9627
+ * @example "la fuerza de la cuerda por sí sola es capaz de mover el carro hacia la izquierda, sin considerar las demás fuerzas."
9628
+ *\/
9629
+ texto?: string,
8786
9630
  /** Imágenes de la opción. Array vacío si la opción no tiene imágenes. *\/
8787
9631
  imagenes?: ({
8788
9632
  url?: string,
@@ -8824,7 +9668,7 @@ export class Api<
8824
9668
  * Texto completo del contexto/estímulo asociado al grupo de preguntas. Puede ser un párrafo de lectura, un enunciado de situación, un texto en inglés, etc. Es null cuando las preguntas no tienen contexto compartido.
8825
9669
  * @example "En una bodega, un trabajador observa un carro de carga sobre el piso. Sobre el carro actúan tres fuerzas en dirección horizontal..."
8826
9670
  */
8827
- id_estimulo?: string | null;
9671
+ contexto?: string | null;
8828
9672
  /** Representación visual del contexto. Presente cuando el contexto tiene una imagen, gráfica o tabla asociada. null si el contexto es solo texto. */
8829
9673
  representacion_visual_id_estimulo?: {
8830
9674
  /**
@@ -8837,6 +9681,11 @@ export class Api<
8837
9681
  * @example "v1"
8838
9682
  */
8839
9683
  version?: string;
9684
+ /**
9685
+ * URL pública de la imagen cuando existe asset persistido
9686
+ * @example "https://example.supabase.co/storage/v1/object/public/preguntas/img.png"
9687
+ */
9688
+ imagen_url?: string | null;
8840
9689
  /**
8841
9690
  * Texto alternativo descriptivo de la imagen
8842
9691
  * @example "Un carro representado como un rectángulo. Dos flechas hacia la derecha etiquetadas 25 N y 10 N. Una flecha hacia la izquierda etiquetada 50 N."
@@ -8944,6 +9793,21 @@ export class Api<
8944
9793
  /** Representación visual del enunciado de la pregunta (misma estructura que representacion_visual_id_estimulo) */
8945
9794
  representacion_visual_enunciado?: object | null;
8946
9795
  };
9796
+ /** Representación visual del enunciado de la pregunta, ya extraída al nivel superior. */
9797
+ representacion_visual_enunciado?: {
9798
+ tipo?:
9799
+ | "tabla"
9800
+ | "grafica"
9801
+ | "imagen"
9802
+ | "caricatura"
9803
+ | "infografia";
9804
+ version?: "v1";
9805
+ tabla_markdown?: string | null;
9806
+ grafica_json?: object | null;
9807
+ imagen_url?: string | null;
9808
+ imagen_svg?: string | null;
9809
+ imagen_alt?: string | null;
9810
+ };
8947
9811
  /** Imágenes directas de la pregunta. Array vacío si no tiene imágenes. */
8948
9812
  imagenes?: {
8949
9813
  /** URL de la imagen */
@@ -8968,6 +9832,11 @@ export class Api<
8968
9832
  */
8969
9833
  texto?: string;
8970
9834
  };
9835
+ /**
9836
+ * Texto plano extraído desde contenido_json.texto
9837
+ * @example "la fuerza de la cuerda por sí sola es capaz de mover el carro hacia la izquierda, sin considerar las demás fuerzas."
9838
+ */
9839
+ texto?: string;
8971
9840
  /** Imágenes de la opción. Array vacío si la opción no tiene imágenes. */
8972
9841
  imagenes?: {
8973
9842
  url?: string;
@@ -9343,90 +10212,23 @@ export class Api<
9343
10212
  query?: {
9344
10213
  /** Filter by institution ID */
9345
10214
  institution_id?: string;
9346
- /** Filter by grado ID */
9347
- grado_id?: string;
9348
- },
9349
- params: RequestParams = {},
9350
- ) =>
9351
- this.request<
9352
- {
9353
- /** @format uuid */
9354
- id?: string;
9355
- /** @example "11-A" */
9356
- nombre?: string;
9357
- }[],
9358
- any
9359
- >({
9360
- path: `/v1/trainer/salones`,
9361
- method: "GET",
9362
- query: query,
9363
- format: "json",
9364
- ...params,
9365
- }),
9366
-
9367
- /**
9368
- * No description
9369
- *
9370
- * @tags student
9371
- * @name GetMateriasWithComponentes
9372
- * @summary Listar materias con sus selectores por tipo de institución
9373
- * @request GET:/v1/student/materias-componentes
9374
- * @secure
9375
- * @response `200` `{
9376
- ok?: boolean,
9377
- data?: ({
9378
- /** @format uuid *\/
9379
- id_materia?: string,
9380
- /** @example "Matemáticas" *\/
9381
- nombre?: string,
9382
- image_url?: string | null,
9383
- institution_type?: "SCHOOL" | "UNIVERSITY",
9384
- componentes?: ({
9385
- /** @format uuid *\/
9386
- id_componente?: string,
9387
- /** @example "Interpretación y representación" *\/
9388
- nombre?: string,
9389
- selector_name?: string | null,
9390
-
9391
- })[],
9392
-
9393
- })[],
9394
-
9395
- }` Lista de materias con selectores
9396
- * @response `401` `void` Invalid API key
9397
- */
9398
- getMateriasWithComponentes: (
9399
- query: {
9400
- /** Institution type */
9401
- institution_type: "SCHOOL" | "UNIVERSITY";
9402
- },
9403
- params: RequestParams = {},
9404
- ) =>
9405
- this.request<
9406
- {
9407
- ok?: boolean;
9408
- data?: {
9409
- /** @format uuid */
9410
- id_materia?: string;
9411
- /** @example "Matemáticas" */
9412
- nombre?: string;
9413
- image_url?: string | null;
9414
- institution_type?: "SCHOOL" | "UNIVERSITY";
9415
- componentes?: {
9416
- /** @format uuid */
9417
- id_componente?: string;
9418
- /** @example "Interpretación y representación" */
9419
- nombre?: string;
9420
- selector_name?: string | null;
9421
- }[];
9422
- }[];
9423
- },
9424
- void
10215
+ /** Filter by grado ID */
10216
+ grado_id?: string;
10217
+ },
10218
+ params: RequestParams = {},
10219
+ ) =>
10220
+ this.request<
10221
+ {
10222
+ /** @format uuid */
10223
+ id?: string;
10224
+ /** @example "11-A" */
10225
+ nombre?: string;
10226
+ }[],
10227
+ any
9425
10228
  >({
9426
- path: `/v1/student/materias-componentes`,
10229
+ path: `/v1/trainer/salones`,
9427
10230
  method: "GET",
9428
10231
  query: query,
9429
- secure: true,
9430
10232
  format: "json",
9431
10233
  ...params,
9432
10234
  }),
@@ -10300,9 +11102,18 @@ export class Api<
10300
11102
  estado?: string,
10301
11103
  /** Preguntas agrupadas por contexto/estímulo *\/
10302
11104
  grupos?: ({
10303
- id_estimulo?: string | null,
10304
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). *\/
10305
- representacion_visual_id_estimulo?: object | null,
11105
+ contexto?: string | null,
11106
+ /** Representación visual del contexto. Misma estructura actual que diagnóstico/start. *\/
11107
+ representacion_visual_id_estimulo?: {
11108
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
11109
+ version?: "v1",
11110
+ tabla_markdown?: string | null,
11111
+ grafica_json?: object | null,
11112
+ imagen_url?: string | null,
11113
+ imagen_svg?: string | null,
11114
+ imagen_alt?: string | null,
11115
+
11116
+ },
10306
11117
  items?: ({
10307
11118
  /** @format uuid *\/
10308
11119
  id_item?: string,
@@ -10311,6 +11122,16 @@ export class Api<
10311
11122
  id_materia?: string | null,
10312
11123
  materia_nombre?: string | null,
10313
11124
  metadata?: object | null,
11125
+ representacion_visual_enunciado?: {
11126
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
11127
+ version?: "v1",
11128
+ tabla_markdown?: string | null,
11129
+ grafica_json?: object | null,
11130
+ imagen_url?: string | null,
11131
+ imagen_svg?: string | null,
11132
+ imagen_alt?: string | null,
11133
+
11134
+ },
10314
11135
  imagenes?: ({
10315
11136
  url?: string,
10316
11137
  alt?: string,
@@ -10324,6 +11145,7 @@ export class Api<
10324
11145
  texto?: string,
10325
11146
 
10326
11147
  },
11148
+ texto?: string,
10327
11149
  imagenes?: ({
10328
11150
  url?: string,
10329
11151
  alt?: string,
@@ -10355,9 +11177,22 @@ export class Api<
10355
11177
  estado?: string;
10356
11178
  /** Preguntas agrupadas por contexto/estímulo */
10357
11179
  grupos?: {
10358
- id_estimulo?: string | null;
10359
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). */
10360
- representacion_visual_id_estimulo?: object | null;
11180
+ contexto?: string | null;
11181
+ /** Representación visual del contexto. Misma estructura actual que diagnóstico/start. */
11182
+ representacion_visual_id_estimulo?: {
11183
+ tipo?:
11184
+ | "tabla"
11185
+ | "grafica"
11186
+ | "imagen"
11187
+ | "caricatura"
11188
+ | "infografia";
11189
+ version?: "v1";
11190
+ tabla_markdown?: string | null;
11191
+ grafica_json?: object | null;
11192
+ imagen_url?: string | null;
11193
+ imagen_svg?: string | null;
11194
+ imagen_alt?: string | null;
11195
+ };
10361
11196
  items?: {
10362
11197
  /** @format uuid */
10363
11198
  id_item?: string;
@@ -10366,6 +11201,20 @@ export class Api<
10366
11201
  id_materia?: string | null;
10367
11202
  materia_nombre?: string | null;
10368
11203
  metadata?: object | null;
11204
+ representacion_visual_enunciado?: {
11205
+ tipo?:
11206
+ | "tabla"
11207
+ | "grafica"
11208
+ | "imagen"
11209
+ | "caricatura"
11210
+ | "infografia";
11211
+ version?: "v1";
11212
+ tabla_markdown?: string | null;
11213
+ grafica_json?: object | null;
11214
+ imagen_url?: string | null;
11215
+ imagen_svg?: string | null;
11216
+ imagen_alt?: string | null;
11217
+ };
10369
11218
  imagenes?: {
10370
11219
  url?: string;
10371
11220
  alt?: string;
@@ -10377,6 +11226,7 @@ export class Api<
10377
11226
  contenido_json?: {
10378
11227
  texto?: string;
10379
11228
  };
11229
+ texto?: string;
10380
11230
  imagenes?: {
10381
11231
  url?: string;
10382
11232
  alt?: string;
@@ -10411,7 +11261,7 @@ export class Api<
10411
11261
  clasificacion?: object,
10412
11262
  /** Preguntas agrupadas por contexto con respuestas reveladas *\/
10413
11263
  grupos?: ({
10414
- id_estimulo?: string | null,
11264
+ contexto?: string | null,
10415
11265
  /** Representación visual del contexto. Misma estructura que en diagnóstico/start. *\/
10416
11266
  representacion_visual_id_estimulo?: object | null,
10417
11267
  items?: ({
@@ -10423,6 +11273,8 @@ export class Api<
10423
11273
  id_materia?: string,
10424
11274
  materia_nombre?: string,
10425
11275
  metadata?: object | null,
11276
+ /** Representación visual del enunciado si aplica. *\/
11277
+ representacion_visual_enunciado?: object | null,
10426
11278
  /** true si es Comunicación Escrita *\/
10427
11279
  isOpenTextQuestion?: boolean,
10428
11280
  imagenes?: ({
@@ -10492,7 +11344,7 @@ export class Api<
10492
11344
  clasificacion?: object;
10493
11345
  /** Preguntas agrupadas por contexto con respuestas reveladas */
10494
11346
  grupos?: {
10495
- id_estimulo?: string | null;
11347
+ contexto?: string | null;
10496
11348
  /** Representación visual del contexto. Misma estructura que en diagnóstico/start. */
10497
11349
  representacion_visual_id_estimulo?: object | null;
10498
11350
  items?: {
@@ -10504,6 +11356,8 @@ export class Api<
10504
11356
  id_materia?: string;
10505
11357
  materia_nombre?: string;
10506
11358
  metadata?: object | null;
11359
+ /** Representación visual del enunciado si aplica. */
11360
+ representacion_visual_enunciado?: object | null;
10507
11361
  /** true si es Comunicación Escrita */
10508
11362
  isOpenTextQuestion?: boolean;
10509
11363
  imagenes?: {
@@ -10872,8 +11726,50 @@ export class Api<
10872
11726
  * @request GET:/v1/exams/practice/{materiaId}
10873
11727
  * @secure
10874
11728
  * @response `200` `{
11729
+ /** @example true *\/
10875
11730
  ok?: boolean,
10876
- data?: object,
11731
+ data?: {
11732
+ materia?: {
11733
+ id_materia?: string,
11734
+ nombre?: string,
11735
+ institution_type?: string | null,
11736
+
11737
+ },
11738
+ preguntas?: ({
11739
+ /** @format uuid *\/
11740
+ id_item?: string,
11741
+ enunciado?: string,
11742
+ indice_respuesta?: number,
11743
+ id_clasificacion?: string,
11744
+ id_estimulo?: string | null,
11745
+ metadata?: object | null,
11746
+ ai_generated?: boolean,
11747
+ imagenes?: ({
11748
+ id_item?: string,
11749
+ url?: string,
11750
+ alt?: string | null,
11751
+ orden?: number | null,
11752
+
11753
+ })[],
11754
+ opciones?: ({
11755
+ id_item?: string,
11756
+ indice_opcion?: number,
11757
+ contenido_json?: object | null,
11758
+ es_correcta?: boolean,
11759
+ imagenes?: ({
11760
+ id_item?: string,
11761
+ indice_opcion?: number,
11762
+ url?: string,
11763
+ alt?: string | null,
11764
+ orden?: number | null,
11765
+
11766
+ })[],
11767
+
11768
+ })[],
11769
+
11770
+ })[],
11771
+
11772
+ },
10877
11773
 
10878
11774
  }` Preguntas de práctica para la materia
10879
11775
  */
@@ -10887,8 +11783,44 @@ export class Api<
10887
11783
  ) =>
10888
11784
  this.request<
10889
11785
  {
11786
+ /** @example true */
10890
11787
  ok?: boolean;
10891
- data?: object;
11788
+ data?: {
11789
+ materia?: {
11790
+ id_materia?: string;
11791
+ nombre?: string;
11792
+ institution_type?: string | null;
11793
+ };
11794
+ preguntas?: {
11795
+ /** @format uuid */
11796
+ id_item?: string;
11797
+ enunciado?: string;
11798
+ indice_respuesta?: number;
11799
+ id_clasificacion?: string;
11800
+ id_estimulo?: string | null;
11801
+ metadata?: object | null;
11802
+ ai_generated?: boolean;
11803
+ imagenes?: {
11804
+ id_item?: string;
11805
+ url?: string;
11806
+ alt?: string | null;
11807
+ orden?: number | null;
11808
+ }[];
11809
+ opciones?: {
11810
+ id_item?: string;
11811
+ indice_opcion?: number;
11812
+ contenido_json?: object | null;
11813
+ es_correcta?: boolean;
11814
+ imagenes?: {
11815
+ id_item?: string;
11816
+ indice_opcion?: number;
11817
+ url?: string;
11818
+ alt?: string | null;
11819
+ orden?: number | null;
11820
+ }[];
11821
+ }[];
11822
+ }[];
11823
+ };
10892
11824
  },
10893
11825
  any
10894
11826
  >({
@@ -10909,8 +11841,44 @@ export class Api<
10909
11841
  * @request GET:/v1/exams/practice/theme/{tematicaId}
10910
11842
  * @secure
10911
11843
  * @response `200` `{
11844
+ /** @example true *\/
10912
11845
  ok?: boolean,
10913
- data?: object,
11846
+ data?: {
11847
+ materia?: {
11848
+ id_materia?: string,
11849
+ nombre?: string,
11850
+ institution_type?: string | null,
11851
+
11852
+ },
11853
+ tematica?: {
11854
+ texto?: string,
11855
+
11856
+ },
11857
+ preguntas?: ({
11858
+ /** @format uuid *\/
11859
+ id_item?: string,
11860
+ enunciado?: string,
11861
+ indice_respuesta?: number,
11862
+ id_clasificacion?: string,
11863
+ id_estimulo?: string | null,
11864
+ metadata?: object | null,
11865
+ ai_generated?: boolean,
11866
+ /** Registro del contexto asociado cuando existe coincidencia en contextos. *\/
11867
+ estimulo?: object | null,
11868
+ /** Primera imagen encontrada para la pregunta cuando aplica. *\/
11869
+ imagen?: object | null,
11870
+ opciones?: ({
11871
+ id_item?: string,
11872
+ indice_opcion?: number,
11873
+ contenido_json?: object | null,
11874
+ es_correcta?: boolean,
11875
+ explicacion?: string | null,
11876
+
11877
+ })[],
11878
+
11879
+ })[],
11880
+
11881
+ },
10914
11882
 
10915
11883
  }` Preguntas de práctica para la temática
10916
11884
  */
@@ -10926,8 +11894,39 @@ export class Api<
10926
11894
  ) =>
10927
11895
  this.request<
10928
11896
  {
11897
+ /** @example true */
10929
11898
  ok?: boolean;
10930
- data?: object;
11899
+ data?: {
11900
+ materia?: {
11901
+ id_materia?: string;
11902
+ nombre?: string;
11903
+ institution_type?: string | null;
11904
+ };
11905
+ tematica?: {
11906
+ texto?: string;
11907
+ };
11908
+ preguntas?: {
11909
+ /** @format uuid */
11910
+ id_item?: string;
11911
+ enunciado?: string;
11912
+ indice_respuesta?: number;
11913
+ id_clasificacion?: string;
11914
+ id_estimulo?: string | null;
11915
+ metadata?: object | null;
11916
+ ai_generated?: boolean;
11917
+ /** Registro del contexto asociado cuando existe coincidencia en contextos. */
11918
+ estimulo?: object | null;
11919
+ /** Primera imagen encontrada para la pregunta cuando aplica. */
11920
+ imagen?: object | null;
11921
+ opciones?: {
11922
+ id_item?: string;
11923
+ indice_opcion?: number;
11924
+ contenido_json?: object | null;
11925
+ es_correcta?: boolean;
11926
+ explicacion?: string | null;
11927
+ }[];
11928
+ }[];
11929
+ };
10931
11930
  },
10932
11931
  any
10933
11932
  >({
@@ -11138,41 +12137,15 @@ export class Api<
11138
12137
  /** Preguntas agrupadas por contexto/estímulo *\/
11139
12138
  grupos?: ({
11140
12139
  /** Texto del contexto/estímulo compartido. null si no hay contexto. *\/
11141
- id_estimulo?: string | null,
11142
- /** Representación visual del contexto (imagen, gráfica o tabla). Misma estructura que en diagnóstico/start. null si es solo texto. *\/
12140
+ contexto?: string | null,
12141
+ /** Representación visual del contexto (imagen, gráfica o tabla). null si es solo texto. *\/
11143
12142
  representacion_visual_id_estimulo?: {
11144
- tipo?: "tabla" | "grafica" | "imagen",
12143
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
11145
12144
  version?: "v1",
11146
- descripcion?: string,
11147
12145
  tabla_markdown?: string | null,
11148
- /** Estructura de gráfica. Ver diagnóstico/start para detalle completo. *\/
11149
- grafica_json?: {
11150
- chart_type?: "bar" | "line" | "scatter" | "area",
11151
- x?: {
11152
- label?: string,
11153
- unit?: string | null,
11154
- values?: ((string | number))[],
11155
-
11156
- },
11157
- y?: {
11158
- label?: string,
11159
- unit?: string | null,
11160
-
11161
- },
11162
- series?: ({
11163
- name?: string,
11164
- data?: (number)[],
11165
-
11166
- })[],
11167
- annotations?: ({
11168
- type?: "reference_line",
11169
- axis?: "x" | "y",
11170
- value?: (number | string),
11171
- label?: string,
11172
-
11173
- })[],
11174
-
11175
- },
12146
+ /** Estructura de gráfica serializada. *\/
12147
+ grafica_json?: object | null,
12148
+ imagen_url?: string | null,
11176
12149
  imagen_alt?: string | null,
11177
12150
  imagen_svg?: string | null,
11178
12151
 
@@ -11183,6 +12156,16 @@ export class Api<
11183
12156
  enunciado?: string,
11184
12157
  id_clasificacion?: string,
11185
12158
  metadata?: object | null,
12159
+ representacion_visual_enunciado?: {
12160
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
12161
+ version?: "v1",
12162
+ tabla_markdown?: string | null,
12163
+ grafica_json?: object | null,
12164
+ imagen_url?: string | null,
12165
+ imagen_alt?: string | null,
12166
+ imagen_svg?: string | null,
12167
+
12168
+ },
11186
12169
  imagenes?: ({
11187
12170
  url?: string,
11188
12171
  alt?: string,
@@ -11197,6 +12180,7 @@ export class Api<
11197
12180
  texto?: string,
11198
12181
 
11199
12182
  },
12183
+ texto?: string,
11200
12184
  imagenes?: ({
11201
12185
  url?: string,
11202
12186
  alt?: string,
@@ -11235,36 +12219,20 @@ export class Api<
11235
12219
  /** Preguntas agrupadas por contexto/estímulo */
11236
12220
  grupos?: {
11237
12221
  /** Texto del contexto/estímulo compartido. null si no hay contexto. */
11238
- id_estimulo?: string | null;
11239
- /** Representación visual del contexto (imagen, gráfica o tabla). Misma estructura que en diagnóstico/start. null si es solo texto. */
12222
+ contexto?: string | null;
12223
+ /** Representación visual del contexto (imagen, gráfica o tabla). null si es solo texto. */
11240
12224
  representacion_visual_id_estimulo?: {
11241
- tipo?: "tabla" | "grafica" | "imagen";
12225
+ tipo?:
12226
+ | "tabla"
12227
+ | "grafica"
12228
+ | "imagen"
12229
+ | "caricatura"
12230
+ | "infografia";
11242
12231
  version?: "v1";
11243
- descripcion?: string;
11244
12232
  tabla_markdown?: string | null;
11245
- /** Estructura de gráfica. Ver diagnóstico/start para detalle completo. */
11246
- grafica_json?: {
11247
- chart_type?: "bar" | "line" | "scatter" | "area";
11248
- x?: {
11249
- label?: string;
11250
- unit?: string | null;
11251
- values?: (string | number)[];
11252
- };
11253
- y?: {
11254
- label?: string;
11255
- unit?: string | null;
11256
- };
11257
- series?: {
11258
- name?: string;
11259
- data?: number[];
11260
- }[];
11261
- annotations?: {
11262
- type?: "reference_line";
11263
- axis?: "x" | "y";
11264
- value?: number | string;
11265
- label?: string;
11266
- }[];
11267
- };
12233
+ /** Estructura de gráfica serializada. */
12234
+ grafica_json?: object | null;
12235
+ imagen_url?: string | null;
11268
12236
  imagen_alt?: string | null;
11269
12237
  imagen_svg?: string | null;
11270
12238
  };
@@ -11274,6 +12242,20 @@ export class Api<
11274
12242
  enunciado?: string;
11275
12243
  id_clasificacion?: string;
11276
12244
  metadata?: object | null;
12245
+ representacion_visual_enunciado?: {
12246
+ tipo?:
12247
+ | "tabla"
12248
+ | "grafica"
12249
+ | "imagen"
12250
+ | "caricatura"
12251
+ | "infografia";
12252
+ version?: "v1";
12253
+ tabla_markdown?: string | null;
12254
+ grafica_json?: object | null;
12255
+ imagen_url?: string | null;
12256
+ imagen_alt?: string | null;
12257
+ imagen_svg?: string | null;
12258
+ };
11277
12259
  imagenes?: {
11278
12260
  url?: string;
11279
12261
  alt?: string;
@@ -11286,6 +12268,7 @@ export class Api<
11286
12268
  contenido_json?: {
11287
12269
  texto?: string;
11288
12270
  };
12271
+ texto?: string;
11289
12272
  imagenes?: {
11290
12273
  url?: string;
11291
12274
  alt?: string;
@@ -11496,7 +12479,7 @@ export class Api<
11496
12479
  },
11497
12480
  /** Preguntas agrupadas por contexto con respuestas correctas reveladas *\/
11498
12481
  grupos?: ({
11499
- id_estimulo?: string | null,
12482
+ contexto?: string | null,
11500
12483
  /** Misma estructura que en missions/start *\/
11501
12484
  representacion_visual_id_estimulo?: object | null,
11502
12485
  items?: ({
@@ -11507,6 +12490,8 @@ export class Api<
11507
12490
  indice_respuesta?: number,
11508
12491
  id_clasificacion?: string,
11509
12492
  metadata?: object | null,
12493
+ /** Representación visual del enunciado si aplica. *\/
12494
+ representacion_visual_enunciado?: object | null,
11510
12495
  imagenes?: ({
11511
12496
  url?: string,
11512
12497
  alt?: string,
@@ -11520,6 +12505,7 @@ export class Api<
11520
12505
  texto?: string,
11521
12506
 
11522
12507
  },
12508
+ texto?: string,
11523
12509
  es_correcta?: boolean,
11524
12510
  explicacion?: string | null,
11525
12511
  imagenes?: ({
@@ -11568,7 +12554,7 @@ export class Api<
11568
12554
  };
11569
12555
  /** Preguntas agrupadas por contexto con respuestas correctas reveladas */
11570
12556
  grupos?: {
11571
- id_estimulo?: string | null;
12557
+ contexto?: string | null;
11572
12558
  /** Misma estructura que en missions/start */
11573
12559
  representacion_visual_id_estimulo?: object | null;
11574
12560
  items?: {
@@ -11579,6 +12565,8 @@ export class Api<
11579
12565
  indice_respuesta?: number;
11580
12566
  id_clasificacion?: string;
11581
12567
  metadata?: object | null;
12568
+ /** Representación visual del enunciado si aplica. */
12569
+ representacion_visual_enunciado?: object | null;
11582
12570
  imagenes?: {
11583
12571
  url?: string;
11584
12572
  alt?: string;
@@ -11590,6 +12578,7 @@ export class Api<
11590
12578
  contenido_json?: {
11591
12579
  texto?: string;
11592
12580
  };
12581
+ texto?: string;
11593
12582
  es_correcta?: boolean;
11594
12583
  explicacion?: string | null;
11595
12584
  imagenes?: {
@@ -12679,9 +13668,18 @@ export class Api<
12679
13668
  status?: string,
12680
13669
  /** Preguntas agrupadas por contexto/estímulo *\/
12681
13670
  grupos?: ({
12682
- id_estimulo?: string | null,
12683
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). *\/
12684
- representacion_visual_id_estimulo?: object | null,
13671
+ contexto?: string | null,
13672
+ /** Representación visual del contexto. Misma estructura que en diagnóstico/start actual (tipo, version, tabla_markdown, grafica_json, imagen_url, imagen_svg, imagen_alt). *\/
13673
+ representacion_visual_id_estimulo?: {
13674
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
13675
+ version?: "v1",
13676
+ tabla_markdown?: string | null,
13677
+ grafica_json?: object | null,
13678
+ imagen_url?: string | null,
13679
+ imagen_svg?: string | null,
13680
+ imagen_alt?: string | null,
13681
+
13682
+ },
12685
13683
  items?: ({
12686
13684
  /** @format uuid *\/
12687
13685
  id_item?: string,
@@ -12691,6 +13689,16 @@ export class Api<
12691
13689
  materia_nombre?: string | null,
12692
13690
  metadata?: object | null,
12693
13691
  ai_generated?: boolean,
13692
+ representacion_visual_enunciado?: {
13693
+ tipo?: "tabla" | "grafica" | "imagen" | "caricatura" | "infografia",
13694
+ version?: "v1",
13695
+ tabla_markdown?: string | null,
13696
+ grafica_json?: object | null,
13697
+ imagen_url?: string | null,
13698
+ imagen_svg?: string | null,
13699
+ imagen_alt?: string | null,
13700
+
13701
+ },
12694
13702
  imagenes?: (object)[],
12695
13703
  /** Opciones sin es_correcta ni explicacion. Incluye id_item del parent. *\/
12696
13704
  opciones?: ({
@@ -12701,6 +13709,7 @@ export class Api<
12701
13709
  texto?: string,
12702
13710
 
12703
13711
  },
13712
+ texto?: string,
12704
13713
  imagenes?: (object)[],
12705
13714
 
12706
13715
  })[],
@@ -12743,9 +13752,22 @@ export class Api<
12743
13752
  status?: string;
12744
13753
  /** Preguntas agrupadas por contexto/estímulo */
12745
13754
  grupos?: {
12746
- id_estimulo?: string | null;
12747
- /** Representación visual del contexto. Misma estructura que en diagnóstico/start (tipo, version, descripcion, tabla_markdown, grafica_json, imagen_alt, imagen_svg). */
12748
- representacion_visual_id_estimulo?: object | null;
13755
+ contexto?: string | null;
13756
+ /** Representación visual del contexto. Misma estructura que en diagnóstico/start actual (tipo, version, tabla_markdown, grafica_json, imagen_url, imagen_svg, imagen_alt). */
13757
+ representacion_visual_id_estimulo?: {
13758
+ tipo?:
13759
+ | "tabla"
13760
+ | "grafica"
13761
+ | "imagen"
13762
+ | "caricatura"
13763
+ | "infografia";
13764
+ version?: "v1";
13765
+ tabla_markdown?: string | null;
13766
+ grafica_json?: object | null;
13767
+ imagen_url?: string | null;
13768
+ imagen_svg?: string | null;
13769
+ imagen_alt?: string | null;
13770
+ };
12749
13771
  items?: {
12750
13772
  /** @format uuid */
12751
13773
  id_item?: string;
@@ -12755,6 +13777,20 @@ export class Api<
12755
13777
  materia_nombre?: string | null;
12756
13778
  metadata?: object | null;
12757
13779
  ai_generated?: boolean;
13780
+ representacion_visual_enunciado?: {
13781
+ tipo?:
13782
+ | "tabla"
13783
+ | "grafica"
13784
+ | "imagen"
13785
+ | "caricatura"
13786
+ | "infografia";
13787
+ version?: "v1";
13788
+ tabla_markdown?: string | null;
13789
+ grafica_json?: object | null;
13790
+ imagen_url?: string | null;
13791
+ imagen_svg?: string | null;
13792
+ imagen_alt?: string | null;
13793
+ };
12758
13794
  imagenes?: object[];
12759
13795
  /** Opciones sin es_correcta ni explicacion. Incluye id_item del parent. */
12760
13796
  opciones?: {
@@ -12764,6 +13800,7 @@ export class Api<
12764
13800
  contenido_json?: {
12765
13801
  texto?: string;
12766
13802
  };
13803
+ texto?: string;
12767
13804
  imagenes?: object[];
12768
13805
  }[];
12769
13806
  }[];