expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.8 → 0.5.0-EXPO-286-EB-Location.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/src/comment/dto/comment.dto.d.ts +3 -3
  2. package/dist/src/comment/dto/create-comment.dto.d.ts +3 -3
  3. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +5 -5
  4. package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +3 -3
  5. package/dist/src/exports.d.ts +1 -1
  6. package/dist/src/exports.js +1 -1
  7. package/dist/src/i18n/es.d.ts +10 -22
  8. package/dist/src/i18n/es.js +10 -22
  9. package/dist/src/i18n/es.js.map +1 -1
  10. package/dist/src/location/dto/arg-city.dto.d.ts +130 -0
  11. package/dist/src/location/dto/arg-city.dto.js +33 -0
  12. package/dist/src/location/dto/find-all-location.dto.d.ts +192 -0
  13. package/dist/src/location/dto/find-all-location.dto.js +32 -0
  14. package/dist/src/location/dto/find-cities-by-province-location.dto.d.ts +141 -0
  15. package/dist/src/location/dto/find-cities-by-province-location.dto.js +20 -0
  16. package/dist/src/location/dto/location.dto.d.ts +29 -0
  17. package/dist/src/location/dto/location.dto.js +35 -0
  18. package/dist/src/location/exports.d.ts +4 -0
  19. package/dist/src/{cannedResponse → location}/exports.js +4 -5
  20. package/dist/src/profile/dto/profile.dto.d.ts +6 -12
  21. package/dist/src/profile/dto/profile.dto.js +2 -4
  22. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -2
  23. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  24. package/dist/src/tag/dto/massive-allocation.dto.d.ts +30 -50
  25. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +30 -50
  26. package/dist/types/prisma-schema/edge.js +6 -7
  27. package/dist/types/prisma-schema/index-browser.js +3 -4
  28. package/dist/types/prisma-schema/index.d.ts +113 -242
  29. package/dist/types/prisma-schema/index.js +6 -7
  30. package/dist/types/prisma-schema/package.json +1 -1
  31. package/dist/types/prisma-schema/schema.prisma +5 -7
  32. package/dist/types/prisma-schema/wasm.js +3 -4
  33. package/dist/types/schema.d.ts +41 -154
  34. package/package.json +3 -1
  35. package/dist/src/cannedResponse/dto/cannedResponse.dto.d.ts +0 -42
  36. package/dist/src/cannedResponse/dto/cannedResponse.dto.js +0 -23
  37. package/dist/src/cannedResponse/dto/create-cannedResponse.dto.d.ts +0 -66
  38. package/dist/src/cannedResponse/dto/create-cannedResponse.dto.js +0 -17
  39. package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.d.ts +0 -41
  40. package/dist/src/cannedResponse/dto/delete-cannedResponse.dto.js +0 -10
  41. package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.d.ts +0 -78
  42. package/dist/src/cannedResponse/dto/get-all-cannedResponse.dto.js +0 -16
  43. package/dist/src/cannedResponse/dto/update-cannedResponse.dto.d.ts +0 -66
  44. package/dist/src/cannedResponse/dto/update-cannedResponse.dto.js +0 -17
  45. package/dist/src/cannedResponse/exports.d.ts +0 -5
@@ -0,0 +1,141 @@
1
+ import z from 'zod';
2
+ export declare const findCitiesByProvinceLocationResponseSchema: z.ZodObject<{
3
+ cities: z.ZodArray<z.ZodObject<Pick<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ province: z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ id: string;
11
+ name: string;
12
+ }, {
13
+ id: string;
14
+ name: string;
15
+ }>;
16
+ department: z.ZodObject<{
17
+ id: z.ZodString;
18
+ name: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id: string;
21
+ name: string;
22
+ }, {
23
+ id: string;
24
+ name: string;
25
+ }>;
26
+ municipality: z.ZodObject<{
27
+ id: z.ZodString;
28
+ name: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ id: string;
31
+ name: string;
32
+ }, {
33
+ id: string;
34
+ name: string;
35
+ }>;
36
+ censusLocality: z.ZodObject<{
37
+ id: z.ZodString;
38
+ name: z.ZodString;
39
+ }, "strip", z.ZodTypeAny, {
40
+ id: string;
41
+ name: string;
42
+ }, {
43
+ id: string;
44
+ name: string;
45
+ }>;
46
+ category: z.ZodString;
47
+ centroid: z.ZodObject<{
48
+ lon: z.ZodNumber;
49
+ lat: z.ZodNumber;
50
+ }, "strip", z.ZodTypeAny, {
51
+ lon: number;
52
+ lat: number;
53
+ }, {
54
+ lon: number;
55
+ lat: number;
56
+ }>;
57
+ }, "id" | "name" | "centroid">, "strip", z.ZodTypeAny, {
58
+ id: string;
59
+ name: string;
60
+ centroid: {
61
+ lon: number;
62
+ lat: number;
63
+ };
64
+ }, {
65
+ id: string;
66
+ name: string;
67
+ centroid: {
68
+ lon: number;
69
+ lat: number;
70
+ };
71
+ }>, "many">;
72
+ }, "strip", z.ZodTypeAny, {
73
+ cities: {
74
+ id: string;
75
+ name: string;
76
+ centroid: {
77
+ lon: number;
78
+ lat: number;
79
+ };
80
+ }[];
81
+ }, {
82
+ cities: {
83
+ id: string;
84
+ name: string;
85
+ centroid: {
86
+ lon: number;
87
+ lat: number;
88
+ };
89
+ }[];
90
+ }>;
91
+ declare const FindCitiesByProvinceLocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
92
+ cities: z.ZodArray<z.ZodObject<{
93
+ id: z.ZodString;
94
+ name: z.ZodString;
95
+ centroid: z.ZodObject<{
96
+ lon: z.ZodNumber;
97
+ lat: z.ZodNumber;
98
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
99
+ lon: number;
100
+ lat: number;
101
+ }, {
102
+ lon: number;
103
+ lat: number;
104
+ }>;
105
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
106
+ id: string;
107
+ name: string;
108
+ centroid: {
109
+ lon: number;
110
+ lat: number;
111
+ };
112
+ }, {
113
+ id: string;
114
+ name: string;
115
+ centroid: {
116
+ lon: number;
117
+ lat: number;
118
+ };
119
+ }>, "many">;
120
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
121
+ cities: {
122
+ id: string;
123
+ name: string;
124
+ centroid: {
125
+ lon: number;
126
+ lat: number;
127
+ };
128
+ }[];
129
+ }, {
130
+ cities: {
131
+ id: string;
132
+ name: string;
133
+ centroid: {
134
+ lon: number;
135
+ lat: number;
136
+ };
137
+ }[];
138
+ }>>;
139
+ export declare class FindCitiesByProvinceLocationResponseDto extends FindCitiesByProvinceLocationResponseDto_base {
140
+ }
141
+ export {};
@@ -0,0 +1,20 @@
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.FindCitiesByProvinceLocationResponseDto = exports.findCitiesByProvinceLocationResponseSchema = void 0;
7
+ const arg_city_dto_1 = require("./arg-city.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.findCitiesByProvinceLocationResponseSchema = zod_1.default.object({
11
+ cities: zod_1.default.array(arg_city_dto_1.argCitySchema.pick({
12
+ id: true,
13
+ name: true,
14
+ centroid: true,
15
+ })),
16
+ });
17
+ class FindCitiesByProvinceLocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findCitiesByProvinceLocationResponseSchema) {
18
+ }
19
+ exports.FindCitiesByProvinceLocationResponseDto = FindCitiesByProvinceLocationResponseDto;
20
+ //# sourceMappingURL=find-cities-by-province-location.dto.js.map
@@ -0,0 +1,29 @@
1
+ import z from 'zod';
2
+ export declare const locationSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ latitude: z.ZodNumber;
5
+ longitude: z.ZodNumber;
6
+ country: z.ZodString;
7
+ province: z.ZodString;
8
+ city: z.ZodString;
9
+ created_at: z.ZodDate;
10
+ updated_at: z.ZodDate;
11
+ }, "strip", z.ZodTypeAny, {
12
+ id: string;
13
+ latitude: number;
14
+ longitude: number;
15
+ created_at: Date;
16
+ updated_at: Date;
17
+ province: string;
18
+ country: string;
19
+ city: string;
20
+ }, {
21
+ id: string;
22
+ latitude: number;
23
+ longitude: number;
24
+ created_at: Date;
25
+ updated_at: Date;
26
+ province: string;
27
+ country: string;
28
+ city: string;
29
+ }>;
@@ -0,0 +1,35 @@
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.locationSchema = void 0;
7
+ const translate_1 = require("../../i18n/translate");
8
+ const zod_1 = __importDefault(require("zod"));
9
+ exports.locationSchema = zod_1.default.object({
10
+ id: zod_1.default.string().uuid({
11
+ message: (0, translate_1.translate)('model.location.id.uuid'),
12
+ }),
13
+ latitude: zod_1.default
14
+ .number()
15
+ .min(-90, {
16
+ message: (0, translate_1.translate)('model.location.latitude.minmax'),
17
+ })
18
+ .max(90, {
19
+ message: (0, translate_1.translate)('model.location.latitude.minmax'),
20
+ }),
21
+ longitude: zod_1.default
22
+ .number()
23
+ .min(-180, {
24
+ message: (0, translate_1.translate)('model.location.longitude.minmax'),
25
+ })
26
+ .max(180, {
27
+ message: (0, translate_1.translate)('model.location.longitude.minmax'),
28
+ }),
29
+ country: zod_1.default.string(),
30
+ province: zod_1.default.string(),
31
+ city: zod_1.default.string(),
32
+ created_at: zod_1.default.date(),
33
+ updated_at: zod_1.default.date(),
34
+ });
35
+ //# sourceMappingURL=location.dto.js.map
@@ -0,0 +1,4 @@
1
+ export * from './dto/arg-city.dto';
2
+ export * from './dto/find-all-location.dto';
3
+ export * from './dto/find-cities-by-province-location.dto';
4
+ export * from './dto/location.dto';
@@ -14,9 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
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);
17
+ __exportStar(require("./dto/arg-city.dto"), exports);
18
+ __exportStar(require("./dto/find-all-location.dto"), exports);
19
+ __exportStar(require("./dto/find-cities-by-province-location.dto"), exports);
20
+ __exportStar(require("./dto/location.dto"), exports);
22
21
  //# sourceMappingURL=exports.js.map
@@ -13,10 +13,8 @@ export declare const profileSchema: z.ZodObject<{
13
13
  mail: z.ZodNullable<z.ZodString>;
14
14
  dni: z.ZodNullable<z.ZodString>;
15
15
  alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
16
- birthLongitude: z.ZodNullable<z.ZodNumber>;
17
- birthLatitude: z.ZodNullable<z.ZodNumber>;
18
- residenceLongitude: z.ZodNullable<z.ZodNumber>;
19
- residenceLatitude: z.ZodNullable<z.ZodNumber>;
16
+ birthLocationId: z.ZodNullable<z.ZodString>;
17
+ residenceLocationId: z.ZodNullable<z.ZodString>;
20
18
  isInTrash: z.ZodBoolean;
21
19
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
22
20
  created_at: z.ZodDate;
@@ -37,10 +35,8 @@ export declare const profileSchema: z.ZodObject<{
37
35
  mail: string | null;
38
36
  dni: string | null;
39
37
  alternativeNames: string[] | null;
40
- birthLongitude: number | null;
41
- birthLatitude: number | null;
42
- residenceLongitude: number | null;
43
- residenceLatitude: number | null;
38
+ birthLocationId: string | null;
39
+ residenceLocationId: string | null;
44
40
  isInTrash: boolean;
45
41
  movedToTrashDate: Date | null;
46
42
  }, {
@@ -59,10 +55,8 @@ export declare const profileSchema: z.ZodObject<{
59
55
  mail: string | null;
60
56
  dni: string | null;
61
57
  alternativeNames: string[] | null;
62
- birthLongitude: number | null;
63
- birthLatitude: number | null;
64
- residenceLongitude: number | null;
65
- residenceLatitude: number | null;
58
+ birthLocationId: string | null;
59
+ residenceLocationId: string | null;
66
60
  isInTrash: boolean;
67
61
  movedToTrashDate: Date | null;
68
62
  }>;
@@ -47,10 +47,8 @@ exports.profileSchema = zod_1.default.object({
47
47
  mail: zod_1.default.string().email().nullable(),
48
48
  dni: zod_1.default.string().nullable(),
49
49
  alternativeNames: zod_1.default.array(zod_1.default.string()).nullable(),
50
- birthLongitude: zod_1.default.number().min(-180).max(180).nullable(),
51
- birthLatitude: zod_1.default.number().min(-90).max(90).nullable(),
52
- residenceLongitude: zod_1.default.number().min(-180).max(180).nullable(),
53
- residenceLatitude: zod_1.default.number().min(-90).max(90).nullable(),
50
+ birthLocationId: zod_1.default.string().uuid().nullable(),
51
+ residenceLocationId: zod_1.default.string().uuid().nullable(),
54
52
  isInTrash: zod_1.default.boolean(),
55
53
  movedToTrashDate: zod_1.default.date().nullable(),
56
54
  created_at: zod_1.default.date(),
@@ -1,8 +1,8 @@
1
1
  import { OpenApiZodAny } from '@anatine/zod-openapi';
2
- import { z, ZodArray, ZodDate, ZodIntersection, ZodNullable, ZodObject, ZodOptional, ZodTypeAny, ZodUnion } from 'zod';
2
+ import { z, ZodArray, ZodDate, ZodIntersection, ZodObject, ZodTypeAny, ZodUnion } from 'zod';
3
3
  export type ReplaceDatesWithStrings<T extends ZodTypeAny> = T extends ZodDate ? ReturnType<typeof z.string> : T extends ZodObject<infer Shape> ? ZodObject<{
4
4
  [k in keyof Shape]: ReplaceDatesWithStrings<Shape[k]>;
5
5
  }> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options> ? ZodUnion<{
6
6
  [k in keyof Options]: ReplaceDatesWithStrings<Options[k]>;
7
- }> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T extends ZodNullable<infer Inner> ? ZodNullable<ReplaceDatesWithStrings<Inner>> : T extends ZodOptional<infer Inner> ? ZodOptional<ReplaceDatesWithStrings<Inner>> : T;
7
+ }> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T;
8
8
  export declare const replaceDatesWithStrings: <T extends OpenApiZodAny>(schema: T) => ReplaceDatesWithStrings<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAWa;AAwBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
1
+ {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BASa;AAoBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
@@ -36,10 +36,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
36
36
  mail: z.ZodNullable<z.ZodString>;
37
37
  dni: z.ZodNullable<z.ZodString>;
38
38
  alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
39
- birthLongitude: z.ZodNullable<z.ZodNumber>;
40
- birthLatitude: z.ZodNullable<z.ZodNumber>;
41
- residenceLongitude: z.ZodNullable<z.ZodNumber>;
42
- residenceLatitude: z.ZodNullable<z.ZodNumber>;
39
+ birthLocationId: z.ZodNullable<z.ZodString>;
40
+ residenceLocationId: z.ZodNullable<z.ZodString>;
43
41
  isInTrash: z.ZodBoolean;
44
42
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
45
43
  created_at: z.ZodDate;
@@ -60,10 +58,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
60
58
  mail: string | null;
61
59
  dni: string | null;
62
60
  alternativeNames: string[] | null;
63
- birthLongitude: number | null;
64
- birthLatitude: number | null;
65
- residenceLongitude: number | null;
66
- residenceLatitude: number | null;
61
+ birthLocationId: string | null;
62
+ residenceLocationId: string | null;
67
63
  isInTrash: boolean;
68
64
  movedToTrashDate: Date | null;
69
65
  }, {
@@ -82,10 +78,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
82
78
  mail: string | null;
83
79
  dni: string | null;
84
80
  alternativeNames: string[] | null;
85
- birthLongitude: number | null;
86
- birthLatitude: number | null;
87
- residenceLongitude: number | null;
88
- residenceLatitude: number | null;
81
+ birthLocationId: string | null;
82
+ residenceLocationId: string | null;
89
83
  isInTrash: boolean;
90
84
  movedToTrashDate: Date | null;
91
85
  }>, "many">;
@@ -106,10 +100,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
106
100
  mail: string | null;
107
101
  dni: string | null;
108
102
  alternativeNames: string[] | null;
109
- birthLongitude: number | null;
110
- birthLatitude: number | null;
111
- residenceLongitude: number | null;
112
- residenceLatitude: number | null;
103
+ birthLocationId: string | null;
104
+ residenceLocationId: string | null;
113
105
  isInTrash: boolean;
114
106
  movedToTrashDate: Date | null;
115
107
  }[];
@@ -130,10 +122,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
130
122
  mail: string | null;
131
123
  dni: string | null;
132
124
  alternativeNames: string[] | null;
133
- birthLongitude: number | null;
134
- birthLatitude: number | null;
135
- residenceLongitude: number | null;
136
- residenceLatitude: number | null;
125
+ birthLocationId: string | null;
126
+ residenceLocationId: string | null;
137
127
  isInTrash: boolean;
138
128
  movedToTrashDate: Date | null;
139
129
  }[];
@@ -147,18 +137,16 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
147
137
  fullName: z.ZodString;
148
138
  firstName: z.ZodNullable<z.ZodString>;
149
139
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodString>;
140
+ birthDate: z.ZodNullable<z.ZodDate>;
151
141
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
142
  instagram: z.ZodNullable<z.ZodString>;
153
143
  mail: z.ZodNullable<z.ZodString>;
154
144
  dni: z.ZodNullable<z.ZodString>;
155
145
  alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
156
- birthLongitude: z.ZodNullable<z.ZodNumber>;
157
- birthLatitude: z.ZodNullable<z.ZodNumber>;
158
- residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
- residenceLatitude: z.ZodNullable<z.ZodNumber>;
146
+ birthLocationId: z.ZodNullable<z.ZodString>;
147
+ residenceLocationId: z.ZodNullable<z.ZodString>;
160
148
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodString>;
149
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
162
150
  created_at: z.ZodString;
163
151
  updated_at: z.ZodString;
164
152
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,17 +160,15 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
172
160
  shortId: number;
173
161
  firstName: string | null;
174
162
  gender: string | null;
175
- birthDate: string | null;
163
+ birthDate: Date | null;
176
164
  instagram: string | null;
177
165
  mail: string | null;
178
166
  dni: string | null;
179
167
  alternativeNames: string[] | null;
180
- birthLongitude: number | null;
181
- birthLatitude: number | null;
182
- residenceLongitude: number | null;
183
- residenceLatitude: number | null;
168
+ birthLocationId: string | null;
169
+ residenceLocationId: string | null;
184
170
  isInTrash: boolean;
185
- movedToTrashDate: string | null;
171
+ movedToTrashDate: Date | null;
186
172
  }, {
187
173
  id: string;
188
174
  phoneNumber: string;
@@ -194,17 +180,15 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
194
180
  shortId: number;
195
181
  firstName: string | null;
196
182
  gender: string | null;
197
- birthDate: string | null;
183
+ birthDate: Date | null;
198
184
  instagram: string | null;
199
185
  mail: string | null;
200
186
  dni: string | null;
201
187
  alternativeNames: string[] | null;
202
- birthLongitude: number | null;
203
- birthLatitude: number | null;
204
- residenceLongitude: number | null;
205
- residenceLatitude: number | null;
188
+ birthLocationId: string | null;
189
+ residenceLocationId: string | null;
206
190
  isInTrash: boolean;
207
- movedToTrashDate: string | null;
191
+ movedToTrashDate: Date | null;
208
192
  }>, "many">;
209
193
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
194
  profiles: {
@@ -218,17 +202,15 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
218
202
  shortId: number;
219
203
  firstName: string | null;
220
204
  gender: string | null;
221
- birthDate: string | null;
205
+ birthDate: Date | null;
222
206
  instagram: string | null;
223
207
  mail: string | null;
224
208
  dni: string | null;
225
209
  alternativeNames: string[] | null;
226
- birthLongitude: number | null;
227
- birthLatitude: number | null;
228
- residenceLongitude: number | null;
229
- residenceLatitude: number | null;
210
+ birthLocationId: string | null;
211
+ residenceLocationId: string | null;
230
212
  isInTrash: boolean;
231
- movedToTrashDate: string | null;
213
+ movedToTrashDate: Date | null;
232
214
  }[];
233
215
  }, {
234
216
  profiles: {
@@ -242,17 +224,15 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
242
224
  shortId: number;
243
225
  firstName: string | null;
244
226
  gender: string | null;
245
- birthDate: string | null;
227
+ birthDate: Date | null;
246
228
  instagram: string | null;
247
229
  mail: string | null;
248
230
  dni: string | null;
249
231
  alternativeNames: string[] | null;
250
- birthLongitude: number | null;
251
- birthLatitude: number | null;
252
- residenceLongitude: number | null;
253
- residenceLatitude: number | null;
232
+ birthLocationId: string | null;
233
+ residenceLocationId: string | null;
254
234
  isInTrash: boolean;
255
- movedToTrashDate: string | null;
235
+ movedToTrashDate: Date | null;
256
236
  }[];
257
237
  }>>;
258
238
  export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
@@ -36,10 +36,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
36
36
  mail: z.ZodNullable<z.ZodString>;
37
37
  dni: z.ZodNullable<z.ZodString>;
38
38
  alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
39
- birthLongitude: z.ZodNullable<z.ZodNumber>;
40
- birthLatitude: z.ZodNullable<z.ZodNumber>;
41
- residenceLongitude: z.ZodNullable<z.ZodNumber>;
42
- residenceLatitude: z.ZodNullable<z.ZodNumber>;
39
+ birthLocationId: z.ZodNullable<z.ZodString>;
40
+ residenceLocationId: z.ZodNullable<z.ZodString>;
43
41
  isInTrash: z.ZodBoolean;
44
42
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
45
43
  created_at: z.ZodDate;
@@ -60,10 +58,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
60
58
  mail: string | null;
61
59
  dni: string | null;
62
60
  alternativeNames: string[] | null;
63
- birthLongitude: number | null;
64
- birthLatitude: number | null;
65
- residenceLongitude: number | null;
66
- residenceLatitude: number | null;
61
+ birthLocationId: string | null;
62
+ residenceLocationId: string | null;
67
63
  isInTrash: boolean;
68
64
  movedToTrashDate: Date | null;
69
65
  }, {
@@ -82,10 +78,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
82
78
  mail: string | null;
83
79
  dni: string | null;
84
80
  alternativeNames: string[] | null;
85
- birthLongitude: number | null;
86
- birthLatitude: number | null;
87
- residenceLongitude: number | null;
88
- residenceLatitude: number | null;
81
+ birthLocationId: string | null;
82
+ residenceLocationId: string | null;
89
83
  isInTrash: boolean;
90
84
  movedToTrashDate: Date | null;
91
85
  }>, "many">;
@@ -106,10 +100,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
106
100
  mail: string | null;
107
101
  dni: string | null;
108
102
  alternativeNames: string[] | null;
109
- birthLongitude: number | null;
110
- birthLatitude: number | null;
111
- residenceLongitude: number | null;
112
- residenceLatitude: number | null;
103
+ birthLocationId: string | null;
104
+ residenceLocationId: string | null;
113
105
  isInTrash: boolean;
114
106
  movedToTrashDate: Date | null;
115
107
  }[];
@@ -130,10 +122,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
130
122
  mail: string | null;
131
123
  dni: string | null;
132
124
  alternativeNames: string[] | null;
133
- birthLongitude: number | null;
134
- birthLatitude: number | null;
135
- residenceLongitude: number | null;
136
- residenceLatitude: number | null;
125
+ birthLocationId: string | null;
126
+ residenceLocationId: string | null;
137
127
  isInTrash: boolean;
138
128
  movedToTrashDate: Date | null;
139
129
  }[];
@@ -147,18 +137,16 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
147
137
  fullName: z.ZodString;
148
138
  firstName: z.ZodNullable<z.ZodString>;
149
139
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodString>;
140
+ birthDate: z.ZodNullable<z.ZodDate>;
151
141
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
142
  instagram: z.ZodNullable<z.ZodString>;
153
143
  mail: z.ZodNullable<z.ZodString>;
154
144
  dni: z.ZodNullable<z.ZodString>;
155
145
  alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
156
- birthLongitude: z.ZodNullable<z.ZodNumber>;
157
- birthLatitude: z.ZodNullable<z.ZodNumber>;
158
- residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
- residenceLatitude: z.ZodNullable<z.ZodNumber>;
146
+ birthLocationId: z.ZodNullable<z.ZodString>;
147
+ residenceLocationId: z.ZodNullable<z.ZodString>;
160
148
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodString>;
149
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
162
150
  created_at: z.ZodString;
163
151
  updated_at: z.ZodString;
164
152
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,17 +160,15 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
172
160
  shortId: number;
173
161
  firstName: string | null;
174
162
  gender: string | null;
175
- birthDate: string | null;
163
+ birthDate: Date | null;
176
164
  instagram: string | null;
177
165
  mail: string | null;
178
166
  dni: string | null;
179
167
  alternativeNames: string[] | null;
180
- birthLongitude: number | null;
181
- birthLatitude: number | null;
182
- residenceLongitude: number | null;
183
- residenceLatitude: number | null;
168
+ birthLocationId: string | null;
169
+ residenceLocationId: string | null;
184
170
  isInTrash: boolean;
185
- movedToTrashDate: string | null;
171
+ movedToTrashDate: Date | null;
186
172
  }, {
187
173
  id: string;
188
174
  phoneNumber: string;
@@ -194,17 +180,15 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
194
180
  shortId: number;
195
181
  firstName: string | null;
196
182
  gender: string | null;
197
- birthDate: string | null;
183
+ birthDate: Date | null;
198
184
  instagram: string | null;
199
185
  mail: string | null;
200
186
  dni: string | null;
201
187
  alternativeNames: string[] | null;
202
- birthLongitude: number | null;
203
- birthLatitude: number | null;
204
- residenceLongitude: number | null;
205
- residenceLatitude: number | null;
188
+ birthLocationId: string | null;
189
+ residenceLocationId: string | null;
206
190
  isInTrash: boolean;
207
- movedToTrashDate: string | null;
191
+ movedToTrashDate: Date | null;
208
192
  }>, "many">;
209
193
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
194
  profiles: {
@@ -218,17 +202,15 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
218
202
  shortId: number;
219
203
  firstName: string | null;
220
204
  gender: string | null;
221
- birthDate: string | null;
205
+ birthDate: Date | null;
222
206
  instagram: string | null;
223
207
  mail: string | null;
224
208
  dni: string | null;
225
209
  alternativeNames: string[] | null;
226
- birthLongitude: number | null;
227
- birthLatitude: number | null;
228
- residenceLongitude: number | null;
229
- residenceLatitude: number | null;
210
+ birthLocationId: string | null;
211
+ residenceLocationId: string | null;
230
212
  isInTrash: boolean;
231
- movedToTrashDate: string | null;
213
+ movedToTrashDate: Date | null;
232
214
  }[];
233
215
  }, {
234
216
  profiles: {
@@ -242,17 +224,15 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
242
224
  shortId: number;
243
225
  firstName: string | null;
244
226
  gender: string | null;
245
- birthDate: string | null;
227
+ birthDate: Date | null;
246
228
  instagram: string | null;
247
229
  mail: string | null;
248
230
  dni: string | null;
249
231
  alternativeNames: string[] | null;
250
- birthLongitude: number | null;
251
- birthLatitude: number | null;
252
- residenceLongitude: number | null;
253
- residenceLatitude: number | null;
232
+ birthLocationId: string | null;
233
+ residenceLocationId: string | null;
254
234
  isInTrash: boolean;
255
- movedToTrashDate: string | null;
235
+ movedToTrashDate: Date | null;
256
236
  }[];
257
237
  }>>;
258
238
  export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {