expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.4 → 0.5.0-EXPO-283-EB-Respuesta-Enlatada.5

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.
@@ -3,7 +3,6 @@ export declare const cannedResponseSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  name: z.ZodString;
5
5
  content: z.ZodString;
6
- createdBy: z.ZodString;
7
6
  created_at: z.ZodDate;
8
7
  updated_at: z.ZodDate;
9
8
  }, "strip", z.ZodTypeAny, {
@@ -12,20 +11,17 @@ export declare const cannedResponseSchema: z.ZodObject<{
12
11
  content: string;
13
12
  created_at: Date;
14
13
  updated_at: Date;
15
- createdBy: string;
16
14
  }, {
17
15
  id: string;
18
16
  name: string;
19
17
  content: string;
20
18
  created_at: Date;
21
19
  updated_at: Date;
22
- createdBy: string;
23
20
  }>;
24
21
  declare const CannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
25
22
  id: z.ZodString;
26
23
  name: z.ZodString;
27
24
  content: z.ZodString;
28
- createdBy: z.ZodString;
29
25
  created_at: z.ZodString;
30
26
  updated_at: z.ZodString;
31
27
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -34,14 +30,12 @@ declare const CannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic
34
30
  content: string;
35
31
  created_at: string;
36
32
  updated_at: string;
37
- createdBy: string;
38
33
  }, {
39
34
  id: string;
40
35
  name: string;
41
36
  content: string;
42
37
  created_at: string;
43
38
  updated_at: string;
44
- createdBy: string;
45
39
  }>>;
46
40
  export declare class CannedResponseDto extends CannedResponseDto_base {
47
41
  }
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CannedResponseDto = exports.cannedResponseSchema = void 0;
4
- const account_dto_1 = require("../../account/dto/account.dto");
5
4
  const translate_1 = require("../../i18n/translate");
6
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
6
  const zod_1 = require("zod");
@@ -15,7 +14,6 @@ exports.cannedResponseSchema = zod_1.z.object({
15
14
  content: zod_1.z.string().min(1, {
16
15
  message: (0, translate_1.translate)('model.cannedResponse.content.min'),
17
16
  }),
18
- createdBy: account_dto_1.accountSchema.shape.id,
19
17
  created_at: zod_1.z.date(),
20
18
  updated_at: zod_1.z.date(),
21
19
  });
@@ -2,7 +2,6 @@ export declare const createCannedResponseSchema: import("zod").ZodObject<Pick<{
2
2
  id: import("zod").ZodString;
3
3
  name: import("zod").ZodString;
4
4
  content: import("zod").ZodString;
5
- createdBy: import("zod").ZodString;
6
5
  created_at: import("zod").ZodDate;
7
6
  updated_at: import("zod").ZodDate;
8
7
  }, "name" | "content">, "strip", import("zod").ZodTypeAny, {
@@ -28,7 +27,6 @@ export declare const createCannedResponseResponseSchema: import("zod").ZodObject
28
27
  id: import("zod").ZodString;
29
28
  name: import("zod").ZodString;
30
29
  content: import("zod").ZodString;
31
- createdBy: import("zod").ZodString;
32
30
  created_at: import("zod").ZodDate;
33
31
  updated_at: import("zod").ZodDate;
34
32
  }, "strip", import("zod").ZodTypeAny, {
@@ -37,20 +35,17 @@ export declare const createCannedResponseResponseSchema: import("zod").ZodObject
37
35
  content: string;
38
36
  created_at: Date;
39
37
  updated_at: Date;
40
- createdBy: string;
41
38
  }, {
42
39
  id: string;
43
40
  name: string;
44
41
  content: string;
45
42
  created_at: Date;
46
43
  updated_at: Date;
47
- createdBy: string;
48
44
  }>;
49
45
  declare const CreateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
50
46
  id: import("zod").ZodString;
51
47
  name: import("zod").ZodString;
52
48
  content: import("zod").ZodString;
53
- createdBy: import("zod").ZodString;
54
49
  created_at: import("zod").ZodString;
55
50
  updated_at: import("zod").ZodString;
56
51
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -59,14 +54,12 @@ declare const CreateCannedResponseResponseDto_base: import("@anatine/zod-nestjs"
59
54
  content: string;
60
55
  created_at: string;
61
56
  updated_at: string;
62
- createdBy: string;
63
57
  }, {
64
58
  id: string;
65
59
  name: string;
66
60
  content: string;
67
61
  created_at: string;
68
62
  updated_at: string;
69
- createdBy: string;
70
63
  }>>;
71
64
  export declare class CreateCannedResponseResponseDto extends CreateCannedResponseResponseDto_base {
72
65
  }
@@ -2,7 +2,6 @@ export declare const deleteCannedResponseResponseSchema: import("zod").ZodObject
2
2
  id: import("zod").ZodString;
3
3
  name: import("zod").ZodString;
4
4
  content: import("zod").ZodString;
5
- createdBy: import("zod").ZodString;
6
5
  created_at: import("zod").ZodDate;
7
6
  updated_at: import("zod").ZodDate;
8
7
  }, "strip", import("zod").ZodTypeAny, {
@@ -11,20 +10,17 @@ export declare const deleteCannedResponseResponseSchema: import("zod").ZodObject
11
10
  content: string;
12
11
  created_at: Date;
13
12
  updated_at: Date;
14
- createdBy: string;
15
13
  }, {
16
14
  id: string;
17
15
  name: string;
18
16
  content: string;
19
17
  created_at: Date;
20
18
  updated_at: Date;
21
- createdBy: string;
22
19
  }>;
23
20
  declare const DeleteCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
24
21
  id: import("zod").ZodString;
25
22
  name: import("zod").ZodString;
26
23
  content: import("zod").ZodString;
27
- createdBy: import("zod").ZodString;
28
24
  created_at: import("zod").ZodString;
29
25
  updated_at: import("zod").ZodString;
30
26
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -33,14 +29,12 @@ declare const DeleteCannedResponseResponseDto_base: import("@anatine/zod-nestjs"
33
29
  content: string;
34
30
  created_at: string;
35
31
  updated_at: string;
36
- createdBy: string;
37
32
  }, {
38
33
  id: string;
39
34
  name: string;
40
35
  content: string;
41
36
  created_at: string;
42
37
  updated_at: string;
43
- createdBy: string;
44
38
  }>>;
45
39
  export declare class DeleteCannedResponseResponseDto extends DeleteCannedResponseResponseDto_base {
46
40
  }
@@ -4,7 +4,6 @@ export declare const getAllCannedResponseSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
6
6
  content: z.ZodString;
7
- createdBy: z.ZodString;
8
7
  created_at: z.ZodDate;
9
8
  updated_at: z.ZodDate;
10
9
  }, "strip", z.ZodTypeAny, {
@@ -13,14 +12,12 @@ export declare const getAllCannedResponseSchema: z.ZodObject<{
13
12
  content: string;
14
13
  created_at: Date;
15
14
  updated_at: Date;
16
- createdBy: string;
17
15
  }, {
18
16
  id: string;
19
17
  name: string;
20
18
  content: string;
21
19
  created_at: Date;
22
20
  updated_at: Date;
23
- createdBy: string;
24
21
  }>, "many">;
25
22
  }, "strip", z.ZodTypeAny, {
26
23
  cannedResponses: {
@@ -29,7 +26,6 @@ export declare const getAllCannedResponseSchema: z.ZodObject<{
29
26
  content: string;
30
27
  created_at: Date;
31
28
  updated_at: Date;
32
- createdBy: string;
33
29
  }[];
34
30
  }, {
35
31
  cannedResponses: {
@@ -38,7 +34,6 @@ export declare const getAllCannedResponseSchema: z.ZodObject<{
38
34
  content: string;
39
35
  created_at: Date;
40
36
  updated_at: Date;
41
- createdBy: string;
42
37
  }[];
43
38
  }>;
44
39
  declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -46,7 +41,6 @@ declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDto
46
41
  id: z.ZodString;
47
42
  name: z.ZodString;
48
43
  content: z.ZodString;
49
- createdBy: z.ZodString;
50
44
  created_at: z.ZodString;
51
45
  updated_at: z.ZodString;
52
46
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -55,14 +49,12 @@ declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDto
55
49
  content: string;
56
50
  created_at: string;
57
51
  updated_at: string;
58
- createdBy: string;
59
52
  }, {
60
53
  id: string;
61
54
  name: string;
62
55
  content: string;
63
56
  created_at: string;
64
57
  updated_at: string;
65
- createdBy: string;
66
58
  }>, "many">;
67
59
  }, z.UnknownKeysParam, z.ZodTypeAny, {
68
60
  cannedResponses: {
@@ -71,7 +63,6 @@ declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDto
71
63
  content: string;
72
64
  created_at: string;
73
65
  updated_at: string;
74
- createdBy: string;
75
66
  }[];
76
67
  }, {
77
68
  cannedResponses: {
@@ -80,7 +71,6 @@ declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDto
80
71
  content: string;
81
72
  created_at: string;
82
73
  updated_at: string;
83
- createdBy: string;
84
74
  }[];
85
75
  }>>;
86
76
  export declare class GetAllCannedResponseDto extends GetAllCannedResponseDto_base {
@@ -2,7 +2,6 @@ export declare const updateCannedResponseSchema: import("zod").ZodObject<Pick<{
2
2
  id: import("zod").ZodString;
3
3
  name: import("zod").ZodString;
4
4
  content: import("zod").ZodString;
5
- createdBy: import("zod").ZodString;
6
5
  created_at: import("zod").ZodDate;
7
6
  updated_at: import("zod").ZodDate;
8
7
  }, "name" | "content">, "strip", import("zod").ZodTypeAny, {
@@ -28,7 +27,6 @@ export declare const updateCannedResponseResponseSchema: import("zod").ZodObject
28
27
  id: import("zod").ZodString;
29
28
  name: import("zod").ZodString;
30
29
  content: import("zod").ZodString;
31
- createdBy: import("zod").ZodString;
32
30
  created_at: import("zod").ZodDate;
33
31
  updated_at: import("zod").ZodDate;
34
32
  }, "strip", import("zod").ZodTypeAny, {
@@ -37,20 +35,17 @@ export declare const updateCannedResponseResponseSchema: import("zod").ZodObject
37
35
  content: string;
38
36
  created_at: Date;
39
37
  updated_at: Date;
40
- createdBy: string;
41
38
  }, {
42
39
  id: string;
43
40
  name: string;
44
41
  content: string;
45
42
  created_at: Date;
46
43
  updated_at: Date;
47
- createdBy: string;
48
44
  }>;
49
45
  declare const UpdateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
50
46
  id: import("zod").ZodString;
51
47
  name: import("zod").ZodString;
52
48
  content: import("zod").ZodString;
53
- createdBy: import("zod").ZodString;
54
49
  created_at: import("zod").ZodString;
55
50
  updated_at: import("zod").ZodString;
56
51
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -59,14 +54,12 @@ declare const UpdateCannedResponseResponseDto_base: import("@anatine/zod-nestjs"
59
54
  content: string;
60
55
  created_at: string;
61
56
  updated_at: string;
62
- createdBy: string;
63
57
  }, {
64
58
  id: string;
65
59
  name: string;
66
60
  content: string;
67
61
  created_at: string;
68
62
  updated_at: string;
69
- createdBy: string;
70
63
  }>>;
71
64
  export declare class UpdateCannedResponseResponseDto extends UpdateCannedResponseResponseDto_base {
72
65
  }
@@ -218,6 +218,24 @@ declare const _default: {
218
218
  readonly conflict: "El comentario no es resoluble";
219
219
  };
220
220
  };
221
+ readonly cannedResponse: {
222
+ readonly create: {
223
+ readonly success: "Respuesta enlatada creada con éxito";
224
+ readonly conflict: "Error en la creacion de la respuesta";
225
+ };
226
+ readonly 'get-all': {
227
+ readonly success: "Respuestas enlatadas obtenidas con éxito";
228
+ readonly 'not-found': "No se encontraron respuestas enlatadas";
229
+ };
230
+ readonly update: {
231
+ readonly success: "Respuesta enlatada actualizada con éxito";
232
+ readonly 'not-found': "Respuesta enlatada no encontrada";
233
+ };
234
+ readonly delete: {
235
+ readonly success: "Respuesta enlatada eliminada con éxito";
236
+ readonly 'not-found': "Respuesta enlatada no encontrada";
237
+ };
238
+ };
221
239
  };
222
240
  };
223
241
  export default _default;
@@ -220,6 +220,24 @@ exports.default = {
220
220
  conflict: 'El comentario no es resoluble',
221
221
  },
222
222
  },
223
+ cannedResponse: {
224
+ create: {
225
+ success: 'Respuesta enlatada creada con éxito',
226
+ conflict: 'Error en la creacion de la respuesta',
227
+ },
228
+ 'get-all': {
229
+ success: 'Respuestas enlatadas obtenidas con éxito',
230
+ 'not-found': 'No se encontraron respuestas enlatadas',
231
+ },
232
+ update: {
233
+ success: 'Respuesta enlatada actualizada con éxito',
234
+ 'not-found': 'Respuesta enlatada no encontrada',
235
+ },
236
+ delete: {
237
+ success: 'Respuesta enlatada eliminada con éxito',
238
+ 'not-found': 'Respuesta enlatada no encontrada',
239
+ },
240
+ },
223
241
  },
224
242
  };
225
243
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,mCAAmC;aAC9C;YACD,KAAK,EAAE;gBACL,QAAQ,EAAE,uBAAuB;gBACjC,KAAK,EAAE,mCAAmC;aAC3C;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,4BAA4B;gBACtC,GAAG,EAAE,gDAAgD;aACtD;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,qBAAqB;gBAC/B,OAAO,EAAE,oBAAoB;aA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ACO,CAAC"}
@@ -287,6 +287,70 @@ export interface paths {
287
287
  patch: operations["CommentController_toggleSolveComment"];
288
288
  trace?: never;
289
289
  };
290
+ "/cannedresponse/create": {
291
+ parameters: {
292
+ query?: never;
293
+ header?: never;
294
+ path?: never;
295
+ cookie?: never;
296
+ };
297
+ get?: never;
298
+ put?: never;
299
+ post: operations["CannedResponseController_createCannedResponse"];
300
+ delete?: never;
301
+ options?: never;
302
+ head?: never;
303
+ patch?: never;
304
+ trace?: never;
305
+ };
306
+ "/cannedresponse/get-all": {
307
+ parameters: {
308
+ query?: never;
309
+ header?: never;
310
+ path?: never;
311
+ cookie?: never;
312
+ };
313
+ get: operations["CannedResponseController_getAllCannedResponses"];
314
+ put?: never;
315
+ post?: never;
316
+ delete?: never;
317
+ options?: never;
318
+ head?: never;
319
+ patch?: never;
320
+ trace?: never;
321
+ };
322
+ "/cannedresponse/update/{id}": {
323
+ parameters: {
324
+ query?: never;
325
+ header?: never;
326
+ path?: never;
327
+ cookie?: never;
328
+ };
329
+ get?: never;
330
+ put?: never;
331
+ post?: never;
332
+ delete?: never;
333
+ options?: never;
334
+ head?: never;
335
+ patch: operations["CannedResponseController_updateCannedResponse"];
336
+ trace?: never;
337
+ };
338
+ "/cannedresponse/delete/{id}": {
339
+ parameters: {
340
+ query?: never;
341
+ header?: never;
342
+ path?: never;
343
+ cookie?: never;
344
+ };
345
+ get?: never;
346
+ put?: never;
347
+ post?: never;
348
+ delete: operations["CannedResponseController_deleteCannedResponse"];
349
+ options?: never;
350
+ head?: never;
351
+ patch?: never;
352
+ trace?: never;
353
+ };
290
354
  }
291
355
  export type webhooks = Record<string, never>;
292
356
  export interface components {
@@ -671,6 +735,35 @@ export interface components {
671
735
  created_at: string;
672
736
  updated_at: string;
673
737
  };
738
+ CreateCannedResponseDto: {
739
+ name: string;
740
+ content: string;
741
+ };
742
+ CreateCannedResponseResponseDto: {
743
+ id: string;
744
+ name: string;
745
+ content: string;
746
+ created_at: string;
747
+ updated_at: string;
748
+ };
749
+ UpdateCannedResponseDto: {
750
+ name: string;
751
+ content: string;
752
+ };
753
+ UpdateCannedResponseResponseDto: {
754
+ id: string;
755
+ name: string;
756
+ content: string;
757
+ created_at: string;
758
+ updated_at: string;
759
+ };
760
+ DeleteCannedResponseResponseDto: {
761
+ id: string;
762
+ name: string;
763
+ content: string;
764
+ created_at: string;
765
+ updated_at: string;
766
+ };
674
767
  };
675
768
  responses: never;
676
769
  parameters: never;
@@ -1267,4 +1360,116 @@ export interface operations {
1267
1360
  };
1268
1361
  };
1269
1362
  };
1363
+ CannedResponseController_createCannedResponse: {
1364
+ parameters: {
1365
+ query?: never;
1366
+ header?: never;
1367
+ path?: never;
1368
+ cookie?: never;
1369
+ };
1370
+ requestBody: {
1371
+ content: {
1372
+ "application/json": components["schemas"]["CreateCannedResponseDto"];
1373
+ };
1374
+ };
1375
+ responses: {
1376
+ 201: {
1377
+ headers: {
1378
+ [name: string]: unknown;
1379
+ };
1380
+ content: {
1381
+ "application/json": components["schemas"]["CreateCannedResponseResponseDto"];
1382
+ };
1383
+ };
1384
+ 409: {
1385
+ headers: {
1386
+ [name: string]: unknown;
1387
+ };
1388
+ content: {
1389
+ "application/json": components["schemas"]["ErrorDto"];
1390
+ };
1391
+ };
1392
+ };
1393
+ };
1394
+ CannedResponseController_getAllCannedResponses: {
1395
+ parameters: {
1396
+ query?: never;
1397
+ header?: never;
1398
+ path?: never;
1399
+ cookie?: never;
1400
+ };
1401
+ requestBody?: never;
1402
+ responses: {
1403
+ 200: {
1404
+ headers: {
1405
+ [name: string]: unknown;
1406
+ };
1407
+ content: {
1408
+ "application/json": components["schemas"]["CreateCannedResponseResponseDto"];
1409
+ };
1410
+ };
1411
+ };
1412
+ };
1413
+ CannedResponseController_updateCannedResponse: {
1414
+ parameters: {
1415
+ query?: never;
1416
+ header?: never;
1417
+ path: {
1418
+ id: string;
1419
+ };
1420
+ cookie?: never;
1421
+ };
1422
+ requestBody: {
1423
+ content: {
1424
+ "application/json": components["schemas"]["UpdateCannedResponseDto"];
1425
+ };
1426
+ };
1427
+ responses: {
1428
+ 200: {
1429
+ headers: {
1430
+ [name: string]: unknown;
1431
+ };
1432
+ content: {
1433
+ "application/json": components["schemas"]["UpdateCannedResponseResponseDto"];
1434
+ };
1435
+ };
1436
+ 404: {
1437
+ headers: {
1438
+ [name: string]: unknown;
1439
+ };
1440
+ content: {
1441
+ "application/json": components["schemas"]["ErrorDto"];
1442
+ };
1443
+ };
1444
+ };
1445
+ };
1446
+ CannedResponseController_deleteCannedResponse: {
1447
+ parameters: {
1448
+ query?: never;
1449
+ header?: never;
1450
+ path: {
1451
+ id: string;
1452
+ };
1453
+ cookie?: never;
1454
+ };
1455
+ requestBody?: never;
1456
+ responses: {
1457
+ 200: {
1458
+ headers: {
1459
+ [name: string]: unknown;
1460
+ };
1461
+ content: {
1462
+ "application/json": components["schemas"]["DeleteCannedResponseResponseDto"];
1463
+ };
1464
+ };
1465
+ 404: {
1466
+ headers: {
1467
+ [name: string]: unknown;
1468
+ };
1469
+ content: {
1470
+ "application/json": components["schemas"]["ErrorDto"];
1471
+ };
1472
+ };
1473
+ };
1474
+ };
1270
1475
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.5.0-EXPO-283-EB-Respuesta-Enlatada.4",
3
+ "version": "0.5.0-EXPO-283-EB-Respuesta-Enlatada.5",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,