expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.8 → 0.5.0-EXPO-286-EB-Location.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/comment/dto/comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
- package/dist/src/exports.d.ts +1 -1
- package/dist/src/exports.js +1 -1
- package/dist/src/i18n/es.d.ts +12 -21
- package/dist/src/i18n/es.js +12 -21
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/arg-city.dto.d.ts +130 -0
- package/dist/src/location/dto/arg-city.dto.js +33 -0
- package/dist/src/location/dto/find-all-location.dto.d.ts +192 -0
- package/dist/src/location/dto/find-all-location.dto.js +32 -0
- package/dist/src/location/dto/find-cities-by-province.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-province.dto.js +20 -0
- package/dist/src/location/dto/find-provinces.dto.d.ts +18 -0
- package/dist/src/location/dto/find-provinces.dto.js +15 -0
- package/dist/src/location/dto/location.dto.d.ts +29 -0
- package/dist/src/location/dto/location.dto.js +35 -0
- package/dist/src/location/exports.d.ts +5 -0
- package/dist/src/{cannedResponse → location}/exports.js +5 -5
- package/dist/src/profile/dto/profile.dto.d.ts +6 -12
- package/dist/src/profile/dto/profile.dto.js +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +30 -50
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +30 -50
- package/dist/types/prisma-schema/edge.js +6 -7
- package/dist/types/prisma-schema/index-browser.js +3 -4
- package/dist/types/prisma-schema/index.d.ts +113 -242
- package/dist/types/prisma-schema/index.js +6 -7
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +5 -7
- package/dist/types/prisma-schema/wasm.js +3 -4
- package/dist/types/schema.d.ts +50 -125
- package/package.json +3 -1
- package/dist/src/cannedResponse/dto/cannedResponse.dto.d.ts +0 -42
- package/dist/src/cannedResponse/dto/cannedResponse.dto.js +0 -23
- package/dist/src/cannedResponse/dto/create-cannedResponse.dto.d.ts +0 -66
- package/dist/src/cannedResponse/dto/create-cannedResponse.dto.js +0 -17
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.d.ts +0 -41
- package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.js +0 -10
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.d.ts +0 -78
- package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.js +0 -16
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.d.ts +0 -66
- package/dist/src/cannedResponse/dto/update-cannedResponse.dto.js +0 -17
- package/dist/src/cannedResponse/exports.d.ts +0 -5
package/dist/types/schema.d.ts
CHANGED
@@ -287,30 +287,30 @@ export interface paths {
|
|
287
287
|
patch: operations["CommentController_toggleSolveComment"];
|
288
288
|
trace?: never;
|
289
289
|
};
|
290
|
-
"/
|
290
|
+
"/location/all": {
|
291
291
|
parameters: {
|
292
292
|
query?: never;
|
293
293
|
header?: never;
|
294
294
|
path?: never;
|
295
295
|
cookie?: never;
|
296
296
|
};
|
297
|
-
get
|
297
|
+
get: operations["LocationController_findAll"];
|
298
298
|
put?: never;
|
299
|
-
post
|
299
|
+
post?: never;
|
300
300
|
delete?: never;
|
301
301
|
options?: never;
|
302
302
|
head?: never;
|
303
303
|
patch?: never;
|
304
304
|
trace?: never;
|
305
305
|
};
|
306
|
-
"/
|
306
|
+
"/location/provinces": {
|
307
307
|
parameters: {
|
308
308
|
query?: never;
|
309
309
|
header?: never;
|
310
310
|
path?: never;
|
311
311
|
cookie?: never;
|
312
312
|
};
|
313
|
-
get: operations["
|
313
|
+
get: operations["LocationController_findProvinces"];
|
314
314
|
put?: never;
|
315
315
|
post?: never;
|
316
316
|
delete?: never;
|
@@ -319,35 +319,19 @@ export interface paths {
|
|
319
319
|
patch?: never;
|
320
320
|
trace?: never;
|
321
321
|
};
|
322
|
-
"/
|
322
|
+
"/location/find-cities-by-province/{province}": {
|
323
323
|
parameters: {
|
324
324
|
query?: never;
|
325
325
|
header?: never;
|
326
326
|
path?: never;
|
327
327
|
cookie?: never;
|
328
328
|
};
|
329
|
-
get
|
329
|
+
get: operations["LocationController_findArgCityByProvince"];
|
330
330
|
put?: never;
|
331
331
|
post?: never;
|
332
332
|
delete?: never;
|
333
333
|
options?: never;
|
334
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
335
|
patch?: never;
|
352
336
|
trace?: never;
|
353
337
|
};
|
@@ -486,10 +470,8 @@ export interface components {
|
|
486
470
|
mail: string | null;
|
487
471
|
dni: string | null;
|
488
472
|
alternativeNames: string[] | null;
|
489
|
-
|
490
|
-
|
491
|
-
residenceLongitude: number | null;
|
492
|
-
residenceLatitude: number | null;
|
473
|
+
birthLocationId: string | null;
|
474
|
+
residenceLocationId: string | null;
|
493
475
|
isInTrash: boolean;
|
494
476
|
movedToTrashDate: string | null;
|
495
477
|
created_at: string;
|
@@ -515,10 +497,8 @@ export interface components {
|
|
515
497
|
mail: string | null;
|
516
498
|
dni: string | null;
|
517
499
|
alternativeNames: string[] | null;
|
518
|
-
|
519
|
-
|
520
|
-
residenceLongitude: number | null;
|
521
|
-
residenceLatitude: number | null;
|
500
|
+
birthLocationId: string | null;
|
501
|
+
residenceLocationId: string | null;
|
522
502
|
isInTrash: boolean;
|
523
503
|
movedToTrashDate: string | null;
|
524
504
|
created_at: string;
|
@@ -735,34 +715,36 @@ export interface components {
|
|
735
715
|
created_at: string;
|
736
716
|
updated_at: string;
|
737
717
|
};
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
718
|
+
FindAllLocationResponseDto: {
|
719
|
+
birthLocations: {
|
720
|
+
city: string;
|
721
|
+
longitude: number;
|
722
|
+
latitude: number;
|
723
|
+
_count: {
|
724
|
+
birthProfiles: number;
|
725
|
+
};
|
726
|
+
}[];
|
727
|
+
residenceLocations: {
|
728
|
+
city: string;
|
729
|
+
longitude: number;
|
730
|
+
latitude: number;
|
731
|
+
_count: {
|
732
|
+
residenceProfiles: number;
|
733
|
+
};
|
734
|
+
}[];
|
752
735
|
};
|
753
|
-
|
754
|
-
|
755
|
-
name: string;
|
756
|
-
content: string;
|
757
|
-
created_at: string;
|
758
|
-
updated_at: string;
|
736
|
+
FindProvincesResponseDto: {
|
737
|
+
provinces: string[];
|
759
738
|
};
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
739
|
+
FindCitiesByProvinceLocationResponseDto: {
|
740
|
+
cities: {
|
741
|
+
id: string;
|
742
|
+
name: string;
|
743
|
+
centroid: {
|
744
|
+
lon: number;
|
745
|
+
lat: number;
|
746
|
+
};
|
747
|
+
}[];
|
766
748
|
};
|
767
749
|
};
|
768
750
|
responses: never;
|
@@ -1302,9 +1284,7 @@ export interface operations {
|
|
1302
1284
|
parameters: {
|
1303
1285
|
query?: never;
|
1304
1286
|
header?: never;
|
1305
|
-
path
|
1306
|
-
id: string;
|
1307
|
-
};
|
1287
|
+
path?: never;
|
1308
1288
|
cookie?: never;
|
1309
1289
|
};
|
1310
1290
|
requestBody?: never;
|
@@ -1331,9 +1311,7 @@ export interface operations {
|
|
1331
1311
|
parameters: {
|
1332
1312
|
query?: never;
|
1333
1313
|
header?: never;
|
1334
|
-
path
|
1335
|
-
id: string;
|
1336
|
-
};
|
1314
|
+
path?: never;
|
1337
1315
|
cookie?: never;
|
1338
1316
|
};
|
1339
1317
|
requestBody?: never;
|
@@ -1364,38 +1342,7 @@ export interface operations {
|
|
1364
1342
|
};
|
1365
1343
|
};
|
1366
1344
|
};
|
1367
|
-
|
1368
|
-
parameters: {
|
1369
|
-
query?: never;
|
1370
|
-
header?: never;
|
1371
|
-
path?: never;
|
1372
|
-
cookie?: never;
|
1373
|
-
};
|
1374
|
-
requestBody: {
|
1375
|
-
content: {
|
1376
|
-
"application/json": components["schemas"]["CreateCannedResponseDto"];
|
1377
|
-
};
|
1378
|
-
};
|
1379
|
-
responses: {
|
1380
|
-
201: {
|
1381
|
-
headers: {
|
1382
|
-
[name: string]: unknown;
|
1383
|
-
};
|
1384
|
-
content: {
|
1385
|
-
"application/json": components["schemas"]["CreateCannedResponseResponseDto"];
|
1386
|
-
};
|
1387
|
-
};
|
1388
|
-
409: {
|
1389
|
-
headers: {
|
1390
|
-
[name: string]: unknown;
|
1391
|
-
};
|
1392
|
-
content: {
|
1393
|
-
"application/json": components["schemas"]["ErrorDto"];
|
1394
|
-
};
|
1395
|
-
};
|
1396
|
-
};
|
1397
|
-
};
|
1398
|
-
CannedResponseController_getAllCannedResponses: {
|
1345
|
+
LocationController_findAll: {
|
1399
1346
|
parameters: {
|
1400
1347
|
query?: never;
|
1401
1348
|
header?: never;
|
@@ -1409,50 +1356,36 @@ export interface operations {
|
|
1409
1356
|
[name: string]: unknown;
|
1410
1357
|
};
|
1411
1358
|
content: {
|
1412
|
-
"application/json": components["schemas"]["
|
1359
|
+
"application/json": components["schemas"]["FindAllLocationResponseDto"];
|
1413
1360
|
};
|
1414
1361
|
};
|
1415
1362
|
};
|
1416
1363
|
};
|
1417
|
-
|
1364
|
+
LocationController_findProvinces: {
|
1418
1365
|
parameters: {
|
1419
1366
|
query?: never;
|
1420
1367
|
header?: never;
|
1421
|
-
path
|
1422
|
-
id: string;
|
1423
|
-
};
|
1368
|
+
path?: never;
|
1424
1369
|
cookie?: never;
|
1425
1370
|
};
|
1426
|
-
requestBody
|
1427
|
-
content: {
|
1428
|
-
"application/json": components["schemas"]["UpdateCannedResponseDto"];
|
1429
|
-
};
|
1430
|
-
};
|
1371
|
+
requestBody?: never;
|
1431
1372
|
responses: {
|
1432
1373
|
200: {
|
1433
1374
|
headers: {
|
1434
1375
|
[name: string]: unknown;
|
1435
1376
|
};
|
1436
1377
|
content: {
|
1437
|
-
"application/json": components["schemas"]["
|
1438
|
-
};
|
1439
|
-
};
|
1440
|
-
404: {
|
1441
|
-
headers: {
|
1442
|
-
[name: string]: unknown;
|
1443
|
-
};
|
1444
|
-
content: {
|
1445
|
-
"application/json": components["schemas"]["ErrorDto"];
|
1378
|
+
"application/json": components["schemas"]["FindProvincesResponseDto"];
|
1446
1379
|
};
|
1447
1380
|
};
|
1448
1381
|
};
|
1449
1382
|
};
|
1450
|
-
|
1383
|
+
LocationController_findArgCityByProvince: {
|
1451
1384
|
parameters: {
|
1452
1385
|
query?: never;
|
1453
1386
|
header?: never;
|
1454
1387
|
path: {
|
1455
|
-
|
1388
|
+
province: string;
|
1456
1389
|
};
|
1457
1390
|
cookie?: never;
|
1458
1391
|
};
|
@@ -1463,15 +1396,7 @@ export interface operations {
|
|
1463
1396
|
[name: string]: unknown;
|
1464
1397
|
};
|
1465
1398
|
content: {
|
1466
|
-
"application/json": components["schemas"]["
|
1467
|
-
};
|
1468
|
-
};
|
1469
|
-
404: {
|
1470
|
-
headers: {
|
1471
|
-
[name: string]: unknown;
|
1472
|
-
};
|
1473
|
-
content: {
|
1474
|
-
"application/json": components["schemas"]["ErrorDto"];
|
1399
|
+
"application/json": components["schemas"]["FindCitiesByProvinceLocationResponseDto"];
|
1475
1400
|
};
|
1476
1401
|
};
|
1477
1402
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.5.0-EXPO-
|
3
|
+
"version": "0.5.0-EXPO-286-EB-Location.3",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -48,11 +48,13 @@
|
|
48
48
|
"bcrypt": "^5.1.1",
|
49
49
|
"class-transformer": "^0.5.1",
|
50
50
|
"class-validator": "^0.14.1",
|
51
|
+
"fs": "^0.0.1-security",
|
51
52
|
"i18n-js": "^4.4.3",
|
52
53
|
"json-to-pretty-yaml": "^1.2.2",
|
53
54
|
"openapi3-ts": "^4.4.0",
|
54
55
|
"patch-package": "^8.0.0",
|
55
56
|
"reflect-metadata": "^0.2.0",
|
57
|
+
"swagger2-postman2-converter": "^0.0.3",
|
56
58
|
"zod": "^3.23.8"
|
57
59
|
},
|
58
60
|
"devDependencies": {
|
@@ -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
|