expo-backend-types 0.56.0-EXPO-379-EB-Rutas-necesarias.1 → 0.56.0-EXPO-379-EB-Rutas-necesarias.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.
@@ -1,4 +1,4 @@
1
- export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
1
+ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
4
  role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
@@ -30,7 +30,48 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
30
30
  created_at: import("zod").ZodDate;
31
31
  updated_at: import("zod").ZodDate;
32
32
  referralCode: import("zod").ZodString;
33
- }, "strip", import("zod").ZodTypeAny, {
33
+ }, {
34
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<Pick<{
35
+ id: import("zod").ZodString;
36
+ latitude: import("zod").ZodNumber;
37
+ longitude: import("zod").ZodNumber;
38
+ country: import("zod").ZodString;
39
+ state: import("zod").ZodString;
40
+ city: import("zod").ZodString;
41
+ created_at: import("zod").ZodDate;
42
+ updated_at: import("zod").ZodDate;
43
+ }, "latitude" | "longitude" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
44
+ latitude: number;
45
+ longitude: number;
46
+ country: string;
47
+ city: string;
48
+ }, {
49
+ latitude: number;
50
+ longitude: number;
51
+ country: string;
52
+ city: string;
53
+ }>>;
54
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<Pick<{
55
+ id: import("zod").ZodString;
56
+ latitude: import("zod").ZodNumber;
57
+ longitude: import("zod").ZodNumber;
58
+ country: import("zod").ZodString;
59
+ state: import("zod").ZodString;
60
+ city: import("zod").ZodString;
61
+ created_at: import("zod").ZodDate;
62
+ updated_at: import("zod").ZodDate;
63
+ }, "latitude" | "longitude" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
64
+ latitude: number;
65
+ longitude: number;
66
+ country: string;
67
+ city: string;
68
+ }, {
69
+ latitude: number;
70
+ longitude: number;
71
+ country: string;
72
+ city: string;
73
+ }>>;
74
+ }>, "strip", import("zod").ZodTypeAny, {
34
75
  id: string;
35
76
  username: string | null;
36
77
  password: string | null;
@@ -56,6 +97,18 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
56
97
  residenceLocationId: string | null;
57
98
  isInTrash: boolean;
58
99
  movedToTrashDate: Date | null;
100
+ birthLocation: {
101
+ latitude: number;
102
+ longitude: number;
103
+ country: string;
104
+ city: string;
105
+ } | null;
106
+ residenceLocation: {
107
+ latitude: number;
108
+ longitude: number;
109
+ country: string;
110
+ city: string;
111
+ } | null;
59
112
  }, {
60
113
  id: string;
61
114
  username: string | null;
@@ -81,6 +134,18 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
81
134
  residenceLocationId: string | null;
82
135
  isInTrash: boolean;
83
136
  movedToTrashDate: Date | null;
137
+ birthLocation: {
138
+ latitude: number;
139
+ longitude: number;
140
+ country: string;
141
+ city: string;
142
+ } | null;
143
+ residenceLocation: {
144
+ latitude: number;
145
+ longitude: number;
146
+ country: string;
147
+ city: string;
148
+ } | null;
84
149
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
85
150
  }>;
86
151
  declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -115,6 +180,38 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
115
180
  created_at: import("zod").ZodString;
116
181
  updated_at: import("zod").ZodString;
117
182
  referralCode: import("zod").ZodString;
183
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
184
+ latitude: import("zod").ZodNumber;
185
+ longitude: import("zod").ZodNumber;
186
+ country: import("zod").ZodString;
187
+ city: import("zod").ZodString;
188
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
189
+ latitude: number;
190
+ longitude: number;
191
+ country: string;
192
+ city: string;
193
+ }, {
194
+ latitude: number;
195
+ longitude: number;
196
+ country: string;
197
+ city: string;
198
+ }>>;
199
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
200
+ latitude: import("zod").ZodNumber;
201
+ longitude: import("zod").ZodNumber;
202
+ country: import("zod").ZodString;
203
+ city: import("zod").ZodString;
204
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
205
+ latitude: number;
206
+ longitude: number;
207
+ country: string;
208
+ city: string;
209
+ }, {
210
+ latitude: number;
211
+ longitude: number;
212
+ country: string;
213
+ city: string;
214
+ }>>;
118
215
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
119
216
  id: string;
120
217
  username: string | null;
@@ -141,6 +238,18 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
141
238
  residenceLocationId: string | null;
142
239
  isInTrash: boolean;
143
240
  movedToTrashDate: string | null;
241
+ birthLocation: {
242
+ latitude: number;
243
+ longitude: number;
244
+ country: string;
245
+ city: string;
246
+ } | null;
247
+ residenceLocation: {
248
+ latitude: number;
249
+ longitude: number;
250
+ country: string;
251
+ city: string;
252
+ } | null;
144
253
  }, {
145
254
  id: string;
146
255
  username: string | null;
@@ -166,6 +275,18 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
166
275
  residenceLocationId: string | null;
167
276
  isInTrash: boolean;
168
277
  movedToTrashDate: string | null;
278
+ birthLocation: {
279
+ latitude: number;
280
+ longitude: number;
281
+ country: string;
282
+ city: string;
283
+ } | null;
284
+ residenceLocation: {
285
+ latitude: number;
286
+ longitude: number;
287
+ country: string;
288
+ city: string;
289
+ } | null;
169
290
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
170
291
  }>>;
171
292
  export declare class FindByPhoneNumberResponseDto extends FindByPhoneNumberResponseDto_base {
@@ -1,9 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FindByPhoneNumberResponseDto = exports.findByPhoneNumberResponseSchema = void 0;
4
+ const location_schema_1 = require("../../schema/location.schema");
4
5
  const profile_schema_1 = require("../../schema/profile.schema");
5
6
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema;
7
+ exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema.extend({
8
+ residenceLocation: location_schema_1.locationSchema
9
+ .pick({
10
+ city: true,
11
+ country: true,
12
+ latitude: true,
13
+ longitude: true,
14
+ })
15
+ .nullable(),
16
+ birthLocation: location_schema_1.locationSchema
17
+ .pick({
18
+ city: true,
19
+ country: true,
20
+ latitude: true,
21
+ longitude: true,
22
+ })
23
+ .nullable(),
24
+ });
7
25
  class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
8
26
  }
9
27
  exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;
@@ -2989,6 +2989,18 @@ export interface components {
2989
2989
  created_at: string;
2990
2990
  updated_at: string;
2991
2991
  referralCode: string;
2992
+ residenceLocation: {
2993
+ city: string;
2994
+ country: string;
2995
+ latitude: number;
2996
+ longitude: number;
2997
+ } | null;
2998
+ birthLocation: {
2999
+ city: string;
3000
+ country: string;
3001
+ latitude: number;
3002
+ longitude: number;
3003
+ } | null;
2992
3004
  };
2993
3005
  FindTrashResponseDto: {
2994
3006
  profiles: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.56.0-EXPO-379-EB-Rutas-necesarias.1",
3
+ "version": "0.56.0-EXPO-379-EB-Rutas-necesarias.2",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,