expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.5 → 0.5.0-EXPO-286-EB-Location.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,5 @@
1
1
  export * from './account/exports';
2
2
  export * from './auth/exports';
3
- export * from './cannedResponse/exports';
4
3
  export * from './comment/exports';
5
4
  export * from './event-folder/exports';
6
5
  export * from './event/exports';
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./account/exports"), exports);
18
18
  __exportStar(require("./auth/exports"), exports);
19
- __exportStar(require("./cannedResponse/exports"), exports);
20
19
  __exportStar(require("./comment/exports"), exports);
21
20
  __exportStar(require("./event-folder/exports"), exports);
22
21
  __exportStar(require("./event/exports"), exports);
@@ -112,19 +112,6 @@ declare const _default: {
112
112
  readonly invalid: "La URL de la imagen de perfil no es válida";
113
113
  };
114
114
  };
115
- readonly cannedResponse: {
116
- readonly id: {
117
- readonly uuid: "El ID debe ser un UUID";
118
- };
119
- readonly name: {
120
- readonly required: "El nombre es requerido";
121
- readonly min: "El nombre debe tener al menos 1 caracter";
122
- };
123
- readonly content: {
124
- readonly required: "El contenido es requerido";
125
- readonly min: "El contenido debe tener al menos 1 caracter";
126
- };
127
- };
128
115
  };
129
116
  readonly route: {
130
117
  readonly auth: {
@@ -218,24 +205,6 @@ declare const _default: {
218
205
  readonly conflict: "El comentario no es resoluble";
219
206
  };
220
207
  };
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
- };
239
208
  };
240
209
  };
241
210
  export default _default;
@@ -114,19 +114,6 @@ exports.default = {
114
114
  invalid: 'La URL de la imagen de perfil no es válida',
115
115
  },
116
116
  },
117
- cannedResponse: {
118
- id: {
119
- uuid: 'El ID debe ser un UUID',
120
- },
121
- name: {
122
- required: 'El nombre es requerido',
123
- min: 'El nombre debe tener al menos 1 caracter',
124
- },
125
- content: {
126
- required: 'El contenido es requerido',
127
- min: 'El contenido debe tener al menos 1 caracter',
128
- },
129
- },
130
117
  },
131
118
  route: {
132
119
  auth: {
@@ -220,24 +207,6 @@ exports.default = {
220
207
  conflict: 'El comentario no es resoluble',
221
208
  },
222
209
  },
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
- },
241
210
  },
242
211
  };
243
212
  //# 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,S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AAgC;gBACzC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,sBAAsB;aACpC;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;KACF;CACO,CAAC"}
@@ -287,70 +287,6 @@ 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
- };
354
290
  }
355
291
  export type webhooks = Record<string, never>;
356
292
  export interface components {
@@ -735,35 +671,6 @@ export interface components {
735
671
  created_at: string;
736
672
  updated_at: string;
737
673
  };
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
- };
767
674
  };
768
675
  responses: never;
769
676
  parameters: never;
@@ -1360,116 +1267,4 @@ export interface operations {
1360
1267
  };
1361
1268
  };
1362
1269
  };
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
- };
1475
1270
  }
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.5",
3
+ "version": "0.5.0-EXPO-286-EB-Location.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -1,42 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const cannedResponseSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- name: z.ZodString;
5
- content: z.ZodString;
6
- created_at: z.ZodDate;
7
- updated_at: z.ZodDate;
8
- }, "strip", z.ZodTypeAny, {
9
- id: string;
10
- name: string;
11
- content: string;
12
- created_at: Date;
13
- updated_at: Date;
14
- }, {
15
- id: string;
16
- name: string;
17
- content: string;
18
- created_at: Date;
19
- updated_at: Date;
20
- }>;
21
- declare const CannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
22
- id: z.ZodString;
23
- name: z.ZodString;
24
- content: z.ZodString;
25
- created_at: z.ZodString;
26
- updated_at: z.ZodString;
27
- }, z.UnknownKeysParam, z.ZodTypeAny, {
28
- id: string;
29
- name: string;
30
- content: string;
31
- created_at: string;
32
- updated_at: string;
33
- }, {
34
- id: string;
35
- name: string;
36
- content: string;
37
- created_at: string;
38
- updated_at: string;
39
- }>>;
40
- export declare class CannedResponseDto extends CannedResponseDto_base {
41
- }
42
- export {};
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CannedResponseDto = exports.cannedResponseSchema = void 0;
4
- const translate_1 = require("../../i18n/translate");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- const zod_1 = require("zod");
7
- exports.cannedResponseSchema = zod_1.z.object({
8
- id: zod_1.z.string().uuid({
9
- message: (0, translate_1.translate)('model.cannedResponse.id.uuid'),
10
- }),
11
- name: zod_1.z.string().min(1, {
12
- message: (0, translate_1.translate)('model.cannedResponse.name.min'),
13
- }),
14
- content: zod_1.z.string().min(1, {
15
- message: (0, translate_1.translate)('model.cannedResponse.content.min'),
16
- }),
17
- created_at: zod_1.z.date(),
18
- updated_at: zod_1.z.date(),
19
- });
20
- class CannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.cannedResponseSchema) {
21
- }
22
- exports.CannedResponseDto = CannedResponseDto;
23
- //# sourceMappingURL=cannedResponse.dto.js.map
@@ -1,66 +0,0 @@
1
- export declare const createCannedResponseSchema: import("zod").ZodObject<Pick<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- content: import("zod").ZodString;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- }, "name" | "content">, "strip", import("zod").ZodTypeAny, {
8
- name: string;
9
- content: string;
10
- }, {
11
- name: string;
12
- content: string;
13
- }>;
14
- declare const CreateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
15
- name: import("zod").ZodString;
16
- content: import("zod").ZodString;
17
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
18
- name: string;
19
- content: string;
20
- }, {
21
- name: string;
22
- content: string;
23
- }>>;
24
- export declare class CreateCannedResponseDto extends CreateCannedResponseDto_base {
25
- }
26
- export declare const createCannedResponseResponseSchema: import("zod").ZodObject<{
27
- id: import("zod").ZodString;
28
- name: import("zod").ZodString;
29
- content: import("zod").ZodString;
30
- created_at: import("zod").ZodDate;
31
- updated_at: import("zod").ZodDate;
32
- }, "strip", import("zod").ZodTypeAny, {
33
- id: string;
34
- name: string;
35
- content: string;
36
- created_at: Date;
37
- updated_at: Date;
38
- }, {
39
- id: string;
40
- name: string;
41
- content: string;
42
- created_at: Date;
43
- updated_at: Date;
44
- }>;
45
- declare const CreateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
46
- id: import("zod").ZodString;
47
- name: import("zod").ZodString;
48
- content: import("zod").ZodString;
49
- created_at: import("zod").ZodString;
50
- updated_at: import("zod").ZodString;
51
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
52
- id: string;
53
- name: string;
54
- content: string;
55
- created_at: string;
56
- updated_at: string;
57
- }, {
58
- id: string;
59
- name: string;
60
- content: string;
61
- created_at: string;
62
- updated_at: string;
63
- }>>;
64
- export declare class CreateCannedResponseResponseDto extends CreateCannedResponseResponseDto_base {
65
- }
66
- export {};
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateCannedResponseResponseDto = exports.createCannedResponseResponseSchema = exports.CreateCannedResponseDto = exports.createCannedResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const cannedResponse_dto_1 = require("./cannedResponse.dto");
6
- exports.createCannedResponseSchema = cannedResponse_dto_1.cannedResponseSchema.pick({
7
- name: true,
8
- content: true,
9
- });
10
- class CreateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseSchema) {
11
- }
12
- exports.CreateCannedResponseDto = CreateCannedResponseDto;
13
- exports.createCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
14
- class CreateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCannedResponseResponseSchema) {
15
- }
16
- exports.CreateCannedResponseResponseDto = CreateCannedResponseResponseDto;
17
- //# sourceMappingURL=create-cannedResponse.dto.js.map
@@ -1,41 +0,0 @@
1
- export declare const deleteCannedResponseResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- content: import("zod").ZodString;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- id: string;
9
- name: string;
10
- content: string;
11
- created_at: Date;
12
- updated_at: Date;
13
- }, {
14
- id: string;
15
- name: string;
16
- content: string;
17
- created_at: Date;
18
- updated_at: Date;
19
- }>;
20
- declare const DeleteCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
21
- id: import("zod").ZodString;
22
- name: import("zod").ZodString;
23
- content: import("zod").ZodString;
24
- created_at: import("zod").ZodString;
25
- updated_at: import("zod").ZodString;
26
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
27
- id: string;
28
- name: string;
29
- content: string;
30
- created_at: string;
31
- updated_at: string;
32
- }, {
33
- id: string;
34
- name: string;
35
- content: string;
36
- created_at: string;
37
- updated_at: string;
38
- }>>;
39
- export declare class DeleteCannedResponseResponseDto extends DeleteCannedResponseResponseDto_base {
40
- }
41
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteCannedResponseResponseDto = exports.deleteCannedResponseResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const cannedResponse_dto_1 = require("./cannedResponse.dto");
6
- exports.deleteCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
7
- class DeleteCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteCannedResponseResponseSchema) {
8
- }
9
- exports.DeleteCannedResponseResponseDto = DeleteCannedResponseResponseDto;
10
- //# sourceMappingURL=delete-cannedResponse.dto.js.map
@@ -1,78 +0,0 @@
1
- import z from 'zod';
2
- export declare const getAllCannedResponseSchema: z.ZodObject<{
3
- cannedResponses: z.ZodArray<z.ZodObject<{
4
- id: z.ZodString;
5
- name: z.ZodString;
6
- content: z.ZodString;
7
- created_at: z.ZodDate;
8
- updated_at: z.ZodDate;
9
- }, "strip", z.ZodTypeAny, {
10
- id: string;
11
- name: string;
12
- content: string;
13
- created_at: Date;
14
- updated_at: Date;
15
- }, {
16
- id: string;
17
- name: string;
18
- content: string;
19
- created_at: Date;
20
- updated_at: Date;
21
- }>, "many">;
22
- }, "strip", z.ZodTypeAny, {
23
- cannedResponses: {
24
- id: string;
25
- name: string;
26
- content: string;
27
- created_at: Date;
28
- updated_at: Date;
29
- }[];
30
- }, {
31
- cannedResponses: {
32
- id: string;
33
- name: string;
34
- content: string;
35
- created_at: Date;
36
- updated_at: Date;
37
- }[];
38
- }>;
39
- declare const GetAllCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
40
- cannedResponses: z.ZodArray<z.ZodObject<{
41
- id: z.ZodString;
42
- name: z.ZodString;
43
- content: z.ZodString;
44
- created_at: z.ZodString;
45
- updated_at: z.ZodString;
46
- }, z.UnknownKeysParam, z.ZodTypeAny, {
47
- id: string;
48
- name: string;
49
- content: string;
50
- created_at: string;
51
- updated_at: string;
52
- }, {
53
- id: string;
54
- name: string;
55
- content: string;
56
- created_at: string;
57
- updated_at: string;
58
- }>, "many">;
59
- }, z.UnknownKeysParam, z.ZodTypeAny, {
60
- cannedResponses: {
61
- id: string;
62
- name: string;
63
- content: string;
64
- created_at: string;
65
- updated_at: string;
66
- }[];
67
- }, {
68
- cannedResponses: {
69
- id: string;
70
- name: string;
71
- content: string;
72
- created_at: string;
73
- updated_at: string;
74
- }[];
75
- }>>;
76
- export declare class GetAllCannedResponseDto extends GetAllCannedResponseDto_base {
77
- }
78
- export {};
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.GetAllCannedResponseDto = exports.getAllCannedResponseSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- const cannedResponse_dto_1 = require("./cannedResponse.dto");
10
- exports.getAllCannedResponseSchema = zod_1.default.object({
11
- cannedResponses: zod_1.default.array(cannedResponse_dto_1.cannedResponseSchema),
12
- });
13
- class GetAllCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllCannedResponseSchema) {
14
- }
15
- exports.GetAllCannedResponseDto = GetAllCannedResponseDto;
16
- //# sourceMappingURL=get-all-cannedResponse.dto.js.map
@@ -1,66 +0,0 @@
1
- export declare const updateCannedResponseSchema: import("zod").ZodObject<Pick<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- content: import("zod").ZodString;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- }, "name" | "content">, "strip", import("zod").ZodTypeAny, {
8
- name: string;
9
- content: string;
10
- }, {
11
- name: string;
12
- content: string;
13
- }>;
14
- declare const UpdateCannedResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
15
- name: import("zod").ZodString;
16
- content: import("zod").ZodString;
17
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
18
- name: string;
19
- content: string;
20
- }, {
21
- name: string;
22
- content: string;
23
- }>>;
24
- export declare class UpdateCannedResponseDto extends UpdateCannedResponseDto_base {
25
- }
26
- export declare const updateCannedResponseResponseSchema: import("zod").ZodObject<{
27
- id: import("zod").ZodString;
28
- name: import("zod").ZodString;
29
- content: import("zod").ZodString;
30
- created_at: import("zod").ZodDate;
31
- updated_at: import("zod").ZodDate;
32
- }, "strip", import("zod").ZodTypeAny, {
33
- id: string;
34
- name: string;
35
- content: string;
36
- created_at: Date;
37
- updated_at: Date;
38
- }, {
39
- id: string;
40
- name: string;
41
- content: string;
42
- created_at: Date;
43
- updated_at: Date;
44
- }>;
45
- declare const UpdateCannedResponseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
46
- id: import("zod").ZodString;
47
- name: import("zod").ZodString;
48
- content: import("zod").ZodString;
49
- created_at: import("zod").ZodString;
50
- updated_at: import("zod").ZodString;
51
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
52
- id: string;
53
- name: string;
54
- content: string;
55
- created_at: string;
56
- updated_at: string;
57
- }, {
58
- id: string;
59
- name: string;
60
- content: string;
61
- created_at: string;
62
- updated_at: string;
63
- }>>;
64
- export declare class UpdateCannedResponseResponseDto extends UpdateCannedResponseResponseDto_base {
65
- }
66
- export {};
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCannedResponseResponseDto = exports.updateCannedResponseResponseSchema = exports.UpdateCannedResponseDto = exports.updateCannedResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const cannedResponse_dto_1 = require("./cannedResponse.dto");
6
- exports.updateCannedResponseSchema = cannedResponse_dto_1.cannedResponseSchema.pick({
7
- name: true,
8
- content: true,
9
- });
10
- class UpdateCannedResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseSchema) {
11
- }
12
- exports.UpdateCannedResponseDto = UpdateCannedResponseDto;
13
- exports.updateCannedResponseResponseSchema = cannedResponse_dto_1.cannedResponseSchema;
14
- class UpdateCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateCannedResponseResponseSchema) {
15
- }
16
- exports.UpdateCannedResponseResponseDto = UpdateCannedResponseResponseDto;
17
- //# sourceMappingURL=update-cannedResponse.dto.js.map
@@ -1,5 +0,0 @@
1
- export * from './dto/cannedResponse.dto';
2
- export * from './dto/create-cannedResponse.dto';
3
- export * from './dto/delete-cannedResponse.dto';
4
- export * from './dto/get-all-cannedResponse.dto';
5
- export * from './dto/update-cannedResponse.dto';
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/cannedResponse.dto"), exports);
18
- __exportStar(require("./dto/create-cannedResponse.dto"), exports);
19
- __exportStar(require("./dto/delete-cannedResponse.dto"), exports);
20
- __exportStar(require("./dto/get-all-cannedResponse.dto"), exports);
21
- __exportStar(require("./dto/update-cannedResponse.dto"), exports);
22
- //# sourceMappingURL=exports.js.map