expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.7 → 0.5.0-EXPO-286-EB-Location.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +10 -22
- package/dist/src/i18n/es.js +10 -22
- 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-location.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-province-location.dto.js +20 -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 +4 -0
- package/dist/src/{cannedResponse → location}/exports.js +4 -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 +41 -154
- 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,14 @@ 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
|
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"];
|
297
|
+
get: operations["LocationController_findAll"];
|
314
298
|
put?: never;
|
315
299
|
post?: never;
|
316
300
|
delete?: never;
|
@@ -319,35 +303,19 @@ export interface paths {
|
|
319
303
|
patch?: never;
|
320
304
|
trace?: never;
|
321
305
|
};
|
322
|
-
"/
|
306
|
+
"/location/find-cities-by-province/{province}": {
|
323
307
|
parameters: {
|
324
308
|
query?: never;
|
325
309
|
header?: never;
|
326
310
|
path?: never;
|
327
311
|
cookie?: never;
|
328
312
|
};
|
329
|
-
get
|
313
|
+
get: operations["LocationController_findArgCityByProvince"];
|
330
314
|
put?: never;
|
331
315
|
post?: never;
|
332
316
|
delete?: never;
|
333
317
|
options?: never;
|
334
318
|
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
319
|
patch?: never;
|
352
320
|
trace?: never;
|
353
321
|
};
|
@@ -486,10 +454,8 @@ export interface components {
|
|
486
454
|
mail: string | null;
|
487
455
|
dni: string | null;
|
488
456
|
alternativeNames: string[] | null;
|
489
|
-
|
490
|
-
|
491
|
-
residenceLongitude: number | null;
|
492
|
-
residenceLatitude: number | null;
|
457
|
+
birthLocationId: string | null;
|
458
|
+
residenceLocationId: string | null;
|
493
459
|
isInTrash: boolean;
|
494
460
|
movedToTrashDate: string | null;
|
495
461
|
created_at: string;
|
@@ -515,10 +481,8 @@ export interface components {
|
|
515
481
|
mail: string | null;
|
516
482
|
dni: string | null;
|
517
483
|
alternativeNames: string[] | null;
|
518
|
-
|
519
|
-
|
520
|
-
residenceLongitude: number | null;
|
521
|
-
residenceLatitude: number | null;
|
484
|
+
birthLocationId: string | null;
|
485
|
+
residenceLocationId: string | null;
|
522
486
|
isInTrash: boolean;
|
523
487
|
movedToTrashDate: string | null;
|
524
488
|
created_at: string;
|
@@ -735,34 +699,33 @@ export interface components {
|
|
735
699
|
created_at: string;
|
736
700
|
updated_at: string;
|
737
701
|
};
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
name: string;
|
756
|
-
content: string;
|
757
|
-
created_at: string;
|
758
|
-
updated_at: string;
|
702
|
+
FindAllLocationResponseDto: {
|
703
|
+
birthLocations: {
|
704
|
+
city: string;
|
705
|
+
longitude: number;
|
706
|
+
latitude: number;
|
707
|
+
_count: {
|
708
|
+
birthProfiles: number;
|
709
|
+
};
|
710
|
+
}[];
|
711
|
+
residenceLocations: {
|
712
|
+
city: string;
|
713
|
+
longitude: number;
|
714
|
+
latitude: number;
|
715
|
+
_count: {
|
716
|
+
residenceProfiles: number;
|
717
|
+
};
|
718
|
+
}[];
|
759
719
|
};
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
720
|
+
FindCitiesByProvinceLocationResponseDto: {
|
721
|
+
cities: {
|
722
|
+
id: string;
|
723
|
+
name: string;
|
724
|
+
centroid: {
|
725
|
+
lon: number;
|
726
|
+
lat: number;
|
727
|
+
};
|
728
|
+
}[];
|
766
729
|
};
|
767
730
|
};
|
768
731
|
responses: never;
|
@@ -1302,9 +1265,7 @@ export interface operations {
|
|
1302
1265
|
parameters: {
|
1303
1266
|
query?: never;
|
1304
1267
|
header?: never;
|
1305
|
-
path
|
1306
|
-
id: string;
|
1307
|
-
};
|
1268
|
+
path?: never;
|
1308
1269
|
cookie?: never;
|
1309
1270
|
};
|
1310
1271
|
requestBody?: never;
|
@@ -1331,9 +1292,7 @@ export interface operations {
|
|
1331
1292
|
parameters: {
|
1332
1293
|
query?: never;
|
1333
1294
|
header?: never;
|
1334
|
-
path
|
1335
|
-
id: string;
|
1336
|
-
};
|
1295
|
+
path?: never;
|
1337
1296
|
cookie?: never;
|
1338
1297
|
};
|
1339
1298
|
requestBody?: never;
|
@@ -1364,38 +1323,7 @@ export interface operations {
|
|
1364
1323
|
};
|
1365
1324
|
};
|
1366
1325
|
};
|
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: {
|
1326
|
+
LocationController_findAll: {
|
1399
1327
|
parameters: {
|
1400
1328
|
query?: never;
|
1401
1329
|
header?: never;
|
@@ -1409,50 +1337,17 @@ export interface operations {
|
|
1409
1337
|
[name: string]: unknown;
|
1410
1338
|
};
|
1411
1339
|
content: {
|
1412
|
-
"application/json": components["schemas"]["
|
1340
|
+
"application/json": components["schemas"]["FindAllLocationResponseDto"];
|
1413
1341
|
};
|
1414
1342
|
};
|
1415
1343
|
};
|
1416
1344
|
};
|
1417
|
-
|
1345
|
+
LocationController_findArgCityByProvince: {
|
1418
1346
|
parameters: {
|
1419
1347
|
query?: never;
|
1420
1348
|
header?: never;
|
1421
1349
|
path: {
|
1422
|
-
|
1423
|
-
};
|
1424
|
-
cookie?: never;
|
1425
|
-
};
|
1426
|
-
requestBody: {
|
1427
|
-
content: {
|
1428
|
-
"application/json": components["schemas"]["UpdateCannedResponseDto"];
|
1429
|
-
};
|
1430
|
-
};
|
1431
|
-
responses: {
|
1432
|
-
200: {
|
1433
|
-
headers: {
|
1434
|
-
[name: string]: unknown;
|
1435
|
-
};
|
1436
|
-
content: {
|
1437
|
-
"application/json": components["schemas"]["UpdateCannedResponseResponseDto"];
|
1438
|
-
};
|
1439
|
-
};
|
1440
|
-
404: {
|
1441
|
-
headers: {
|
1442
|
-
[name: string]: unknown;
|
1443
|
-
};
|
1444
|
-
content: {
|
1445
|
-
"application/json": components["schemas"]["ErrorDto"];
|
1446
|
-
};
|
1447
|
-
};
|
1448
|
-
};
|
1449
|
-
};
|
1450
|
-
CannedResponseController_deleteCannedResponse: {
|
1451
|
-
parameters: {
|
1452
|
-
query?: never;
|
1453
|
-
header?: never;
|
1454
|
-
path: {
|
1455
|
-
id: string;
|
1350
|
+
province: string;
|
1456
1351
|
};
|
1457
1352
|
cookie?: never;
|
1458
1353
|
};
|
@@ -1463,15 +1358,7 @@ export interface operations {
|
|
1463
1358
|
[name: string]: unknown;
|
1464
1359
|
};
|
1465
1360
|
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"];
|
1361
|
+
"application/json": components["schemas"]["FindCitiesByProvinceLocationResponseDto"];
|
1475
1362
|
};
|
1476
1363
|
};
|
1477
1364
|
};
|
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.2",
|
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
|
@@ -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 {};
|