expo-backend-types 0.6.0-EXPO-287-EB-CarpetaEvento.1 → 0.6.0-EXPO-286-EB-Location.2
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 +20 -20
- package/dist/src/i18n/es.js +20 -20
- 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-countries.dto.d.ts +48 -0
- package/dist/src/location/dto/find-all-countries.dto.js +18 -0
- package/dist/src/location/dto/find-all-location.dto.d.ts +182 -0
- package/dist/src/location/dto/find-all-location.dto.js +32 -0
- package/dist/src/location/dto/find-arg-states.dto.d.ts +18 -0
- package/dist/src/location/dto/find-arg-states.dto.js +15 -0
- package/dist/src/location/dto/find-cities-by-arg-state.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-arg-state.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/dto/states-by-country.dto.d.ts +88 -0
- package/dist/src/location/dto/states-by-country.dto.js +22 -0
- package/dist/src/location/exports.d.ts +7 -0
- package/dist/src/{canned-response → location}/exports.js +7 -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 +7 -8
- package/dist/types/prisma-schema/index-browser.js +4 -5
- package/dist/types/prisma-schema/index.d.ts +148 -277
- package/dist/types/prisma-schema/index.js +7 -8
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +6 -8
- package/dist/types/prisma-schema/wasm.js +4 -5
- package/dist/types/schema.d.ts +104 -84
- package/package.json +2 -4
- package/dist/src/canned-response/dto/canned-response.dto.d.ts +0 -42
- package/dist/src/canned-response/dto/canned-response.dto.js +0 -23
- package/dist/src/canned-response/dto/create-canned-response.dto.d.ts +0 -66
- package/dist/src/canned-response/dto/create-canned-response.dto.js +0 -17
- package/dist/src/canned-response/dto/delete-canned-response.dto.d.ts +0 -41
- package/dist/src/canned-response/dto/delete-canned-response.dto.js +0 -10
- package/dist/src/canned-response/dto/get-all-canned-response.dto.d.ts +0 -78
- package/dist/src/canned-response/dto/get-all-canned-response.dto.js +0 -16
- package/dist/src/canned-response/dto/update-canned-response.dto.d.ts +0 -66
- package/dist/src/canned-response/dto/update-canned-response.dto.js +0 -17
- package/dist/src/canned-response/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/arg-states": {
|
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_findArgStates"];
|
314
314
|
put?: never;
|
315
315
|
post?: never;
|
316
316
|
delete?: never;
|
@@ -319,33 +319,49 @@ export interface paths {
|
|
319
319
|
patch?: never;
|
320
320
|
trace?: never;
|
321
321
|
};
|
322
|
-
"/
|
322
|
+
"/location/find-cities-by-arg-state/{argState}": {
|
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_findCitiesByArgState"];
|
330
330
|
put?: never;
|
331
331
|
post?: never;
|
332
332
|
delete?: never;
|
333
333
|
options?: never;
|
334
334
|
head?: never;
|
335
|
-
patch
|
335
|
+
patch?: never;
|
336
336
|
trace?: never;
|
337
337
|
};
|
338
|
-
"/
|
338
|
+
"/location/all-countries": {
|
339
339
|
parameters: {
|
340
340
|
query?: never;
|
341
341
|
header?: never;
|
342
342
|
path?: never;
|
343
343
|
cookie?: never;
|
344
344
|
};
|
345
|
-
get
|
345
|
+
get: operations["LocationController_findAllCountries"];
|
346
|
+
put?: never;
|
347
|
+
post?: never;
|
348
|
+
delete?: never;
|
349
|
+
options?: never;
|
350
|
+
head?: never;
|
351
|
+
patch?: never;
|
352
|
+
trace?: never;
|
353
|
+
};
|
354
|
+
"/location/states-by-country/{countryCode}": {
|
355
|
+
parameters: {
|
356
|
+
query?: never;
|
357
|
+
header?: never;
|
358
|
+
path?: never;
|
359
|
+
cookie?: never;
|
360
|
+
};
|
361
|
+
get: operations["LocationController_findStatesByCountry"];
|
346
362
|
put?: never;
|
347
363
|
post?: never;
|
348
|
-
delete
|
364
|
+
delete?: never;
|
349
365
|
options?: never;
|
350
366
|
head?: never;
|
351
367
|
patch?: never;
|
@@ -486,10 +502,8 @@ export interface components {
|
|
486
502
|
mail: string | null;
|
487
503
|
dni: string | null;
|
488
504
|
alternativeNames: string[] | null;
|
489
|
-
|
490
|
-
|
491
|
-
residenceLongitude: number | null;
|
492
|
-
residenceLatitude: number | null;
|
505
|
+
birthLocationId: string | null;
|
506
|
+
residenceLocationId: string | null;
|
493
507
|
isInTrash: boolean;
|
494
508
|
movedToTrashDate: string | null;
|
495
509
|
created_at: string;
|
@@ -515,10 +529,8 @@ export interface components {
|
|
515
529
|
mail: string | null;
|
516
530
|
dni: string | null;
|
517
531
|
alternativeNames: string[] | null;
|
518
|
-
|
519
|
-
|
520
|
-
residenceLongitude: number | null;
|
521
|
-
residenceLatitude: number | null;
|
532
|
+
birthLocationId: string | null;
|
533
|
+
residenceLocationId: string | null;
|
522
534
|
isInTrash: boolean;
|
523
535
|
movedToTrashDate: string | null;
|
524
536
|
created_at: string;
|
@@ -735,43 +747,52 @@ export interface components {
|
|
735
747
|
created_at: string;
|
736
748
|
updated_at: string;
|
737
749
|
};
|
738
|
-
|
739
|
-
|
740
|
-
|
750
|
+
FindAllLocationResponseDto: {
|
751
|
+
birthLocations: {
|
752
|
+
city: string;
|
753
|
+
longitude: number;
|
754
|
+
latitude: number;
|
755
|
+
_count: {
|
756
|
+
birthProfiles: number;
|
757
|
+
};
|
758
|
+
}[];
|
759
|
+
residenceLocations: {
|
760
|
+
city: string;
|
761
|
+
longitude: number;
|
762
|
+
latitude: number;
|
763
|
+
_count: {
|
764
|
+
residenceProfiles: number;
|
765
|
+
};
|
766
|
+
}[];
|
741
767
|
};
|
742
|
-
|
743
|
-
|
744
|
-
name: string;
|
745
|
-
content: string;
|
746
|
-
created_at: string;
|
747
|
-
updated_at: string;
|
768
|
+
FindArgStatesResponseDto: {
|
769
|
+
states: string[];
|
748
770
|
};
|
749
|
-
|
750
|
-
|
771
|
+
FindCitiesByArgStateResponseDto: {
|
772
|
+
cities: {
|
751
773
|
id: string;
|
752
774
|
name: string;
|
753
|
-
|
754
|
-
|
755
|
-
|
775
|
+
centroid: {
|
776
|
+
lon: number;
|
777
|
+
lat: number;
|
778
|
+
};
|
756
779
|
}[];
|
757
780
|
};
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
id: string;
|
764
|
-
name: string;
|
765
|
-
content: string;
|
766
|
-
created_at: string;
|
767
|
-
updated_at: string;
|
781
|
+
FindAllCountriesResponseDto: {
|
782
|
+
countries: {
|
783
|
+
name: string;
|
784
|
+
isoCode: string;
|
785
|
+
}[];
|
768
786
|
};
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
787
|
+
FindAllStatesByCountryResponseDto: {
|
788
|
+
states: {
|
789
|
+
name: string;
|
790
|
+
isoCode: string;
|
791
|
+
countryCode: string;
|
792
|
+
countryName: string;
|
793
|
+
latitude?: string | null;
|
794
|
+
longitude?: string | null;
|
795
|
+
}[];
|
775
796
|
};
|
776
797
|
};
|
777
798
|
responses: never;
|
@@ -1311,9 +1332,7 @@ export interface operations {
|
|
1311
1332
|
parameters: {
|
1312
1333
|
query?: never;
|
1313
1334
|
header?: never;
|
1314
|
-
path
|
1315
|
-
id: string;
|
1316
|
-
};
|
1335
|
+
path?: never;
|
1317
1336
|
cookie?: never;
|
1318
1337
|
};
|
1319
1338
|
requestBody?: never;
|
@@ -1340,9 +1359,7 @@ export interface operations {
|
|
1340
1359
|
parameters: {
|
1341
1360
|
query?: never;
|
1342
1361
|
header?: never;
|
1343
|
-
path
|
1344
|
-
id: string;
|
1345
|
-
};
|
1362
|
+
path?: never;
|
1346
1363
|
cookie?: never;
|
1347
1364
|
};
|
1348
1365
|
requestBody?: never;
|
@@ -1373,38 +1390,26 @@ export interface operations {
|
|
1373
1390
|
};
|
1374
1391
|
};
|
1375
1392
|
};
|
1376
|
-
|
1393
|
+
LocationController_findAll: {
|
1377
1394
|
parameters: {
|
1378
1395
|
query?: never;
|
1379
1396
|
header?: never;
|
1380
1397
|
path?: never;
|
1381
1398
|
cookie?: never;
|
1382
1399
|
};
|
1383
|
-
requestBody
|
1384
|
-
content: {
|
1385
|
-
"application/json": components["schemas"]["CreateCannedResponseDto"];
|
1386
|
-
};
|
1387
|
-
};
|
1400
|
+
requestBody?: never;
|
1388
1401
|
responses: {
|
1389
|
-
|
1390
|
-
headers: {
|
1391
|
-
[name: string]: unknown;
|
1392
|
-
};
|
1393
|
-
content: {
|
1394
|
-
"application/json": components["schemas"]["CreateCannedResponseResponseDto"];
|
1395
|
-
};
|
1396
|
-
};
|
1397
|
-
409: {
|
1402
|
+
200: {
|
1398
1403
|
headers: {
|
1399
1404
|
[name: string]: unknown;
|
1400
1405
|
};
|
1401
1406
|
content: {
|
1402
|
-
"application/json": components["schemas"]["
|
1407
|
+
"application/json": components["schemas"]["FindAllLocationResponseDto"];
|
1403
1408
|
};
|
1404
1409
|
};
|
1405
1410
|
};
|
1406
1411
|
};
|
1407
|
-
|
1412
|
+
LocationController_findArgStates: {
|
1408
1413
|
parameters: {
|
1409
1414
|
query?: never;
|
1410
1415
|
header?: never;
|
@@ -1418,32 +1423,28 @@ export interface operations {
|
|
1418
1423
|
[name: string]: unknown;
|
1419
1424
|
};
|
1420
1425
|
content: {
|
1421
|
-
"application/json": components["schemas"]["
|
1426
|
+
"application/json": components["schemas"]["FindArgStatesResponseDto"];
|
1422
1427
|
};
|
1423
1428
|
};
|
1424
1429
|
};
|
1425
1430
|
};
|
1426
|
-
|
1431
|
+
LocationController_findCitiesByArgState: {
|
1427
1432
|
parameters: {
|
1428
1433
|
query?: never;
|
1429
1434
|
header?: never;
|
1430
1435
|
path: {
|
1431
|
-
|
1436
|
+
argState: string;
|
1432
1437
|
};
|
1433
1438
|
cookie?: never;
|
1434
1439
|
};
|
1435
|
-
requestBody
|
1436
|
-
content: {
|
1437
|
-
"application/json": components["schemas"]["UpdateCannedResponseDto"];
|
1438
|
-
};
|
1439
|
-
};
|
1440
|
+
requestBody?: never;
|
1440
1441
|
responses: {
|
1441
1442
|
200: {
|
1442
1443
|
headers: {
|
1443
1444
|
[name: string]: unknown;
|
1444
1445
|
};
|
1445
1446
|
content: {
|
1446
|
-
"application/json": components["schemas"]["
|
1447
|
+
"application/json": components["schemas"]["FindCitiesByArgStateResponseDto"];
|
1447
1448
|
};
|
1448
1449
|
};
|
1449
1450
|
404: {
|
@@ -1456,12 +1457,31 @@ export interface operations {
|
|
1456
1457
|
};
|
1457
1458
|
};
|
1458
1459
|
};
|
1459
|
-
|
1460
|
+
LocationController_findAllCountries: {
|
1461
|
+
parameters: {
|
1462
|
+
query?: never;
|
1463
|
+
header?: never;
|
1464
|
+
path?: never;
|
1465
|
+
cookie?: never;
|
1466
|
+
};
|
1467
|
+
requestBody?: never;
|
1468
|
+
responses: {
|
1469
|
+
200: {
|
1470
|
+
headers: {
|
1471
|
+
[name: string]: unknown;
|
1472
|
+
};
|
1473
|
+
content: {
|
1474
|
+
"application/json": components["schemas"]["FindAllCountriesResponseDto"];
|
1475
|
+
};
|
1476
|
+
};
|
1477
|
+
};
|
1478
|
+
};
|
1479
|
+
LocationController_findStatesByCountry: {
|
1460
1480
|
parameters: {
|
1461
1481
|
query?: never;
|
1462
1482
|
header?: never;
|
1463
1483
|
path: {
|
1464
|
-
|
1484
|
+
countryCode: string;
|
1465
1485
|
};
|
1466
1486
|
cookie?: never;
|
1467
1487
|
};
|
@@ -1472,7 +1492,7 @@ export interface operations {
|
|
1472
1492
|
[name: string]: unknown;
|
1473
1493
|
};
|
1474
1494
|
content: {
|
1475
|
-
"application/json": components["schemas"]["
|
1495
|
+
"application/json": components["schemas"]["FindAllStatesByCountryResponseDto"];
|
1476
1496
|
};
|
1477
1497
|
};
|
1478
1498
|
404: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.6.0-EXPO-
|
3
|
+
"version": "0.6.0-EXPO-286-EB-Location.2",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -48,6 +48,7 @@
|
|
48
48
|
"bcrypt": "^5.1.1",
|
49
49
|
"class-transformer": "^0.5.1",
|
50
50
|
"class-validator": "^0.14.1",
|
51
|
+
"country-state-city": "^3.2.1",
|
51
52
|
"i18n-js": "^4.4.3",
|
52
53
|
"json-to-pretty-yaml": "^1.2.2",
|
53
54
|
"openapi3-ts": "^4.4.0",
|
@@ -102,9 +103,6 @@
|
|
102
103
|
"**/*.{js,ts,jsx,tsx}": [
|
103
104
|
"prettier --write",
|
104
105
|
"eslint --fix"
|
105
|
-
],
|
106
|
-
"*.json": [
|
107
|
-
"prettier --write"
|
108
106
|
]
|
109
107
|
}
|
110
108
|
}
|
@@ -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.canned-response.id.uuid'),
|
10
|
-
}),
|
11
|
-
name: zod_1.z.string().min(1, {
|
12
|
-
message: (0, translate_1.translate)('model.canned-response.name.min'),
|
13
|
-
}),
|
14
|
-
content: zod_1.z.string().min(1, {
|
15
|
-
message: (0, translate_1.translate)('model.canned-response.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=canned-response.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 canned_response_dto_1 = require("./canned-response.dto");
|
6
|
-
exports.createCannedResponseSchema = canned_response_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 = canned_response_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-canned-response.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 canned_response_dto_1 = require("./canned-response.dto");
|
6
|
-
exports.deleteCannedResponseResponseSchema = canned_response_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-canned-response.dto.js.map
|
@@ -1,78 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const getAllCannedResponseResponseSchema: 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 GetAllCannedResponseResponseDto_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 GetAllCannedResponseResponseDto extends GetAllCannedResponseResponseDto_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.GetAllCannedResponseResponseDto = exports.getAllCannedResponseResponseSchema = 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 canned_response_dto_1 = require("./canned-response.dto");
|
10
|
-
exports.getAllCannedResponseResponseSchema = zod_1.default.object({
|
11
|
-
cannedResponses: zod_1.default.array(canned_response_dto_1.cannedResponseSchema),
|
12
|
-
});
|
13
|
-
class GetAllCannedResponseResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllCannedResponseResponseSchema) {
|
14
|
-
}
|
15
|
-
exports.GetAllCannedResponseResponseDto = GetAllCannedResponseResponseDto;
|
16
|
-
//# sourceMappingURL=get-all-canned-response.dto.js.map
|