expo-backend-types 0.56.0 → 0.57.0-EXPO-379-EB-Rutas-necesarias.1

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.
@@ -0,0 +1,382 @@
1
+ export declare const updateMiExpoMeFirstTimeSchema: import("zod").ZodObject<{
2
+ username: import("zod").ZodNullable<import("zod").ZodString>;
3
+ password: import("zod").ZodNullable<import("zod").ZodString>;
4
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
5
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
6
+ fullName: import("zod").ZodString;
7
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
8
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
9
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
10
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
11
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
12
+ residence: import("zod").ZodObject<Pick<{
13
+ id: import("zod").ZodString;
14
+ latitude: import("zod").ZodNumber;
15
+ longitude: import("zod").ZodNumber;
16
+ country: import("zod").ZodString;
17
+ state: import("zod").ZodString;
18
+ city: import("zod").ZodString;
19
+ created_at: import("zod").ZodDate;
20
+ updated_at: import("zod").ZodDate;
21
+ }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
22
+ latitude: number;
23
+ longitude: number;
24
+ state: string;
25
+ country: string;
26
+ city: string;
27
+ }, {
28
+ latitude: number;
29
+ longitude: number;
30
+ state: string;
31
+ country: string;
32
+ city: string;
33
+ }>;
34
+ birth: 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" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
44
+ latitude: number;
45
+ longitude: number;
46
+ state: string;
47
+ country: string;
48
+ city: string;
49
+ }, {
50
+ latitude: number;
51
+ longitude: number;
52
+ state: string;
53
+ country: string;
54
+ city: string;
55
+ }>;
56
+ id: import("zod").ZodString;
57
+ }, "strip", import("zod").ZodTypeAny, {
58
+ id: string;
59
+ username: string | null;
60
+ password: string | null;
61
+ phoneNumber: string;
62
+ secondaryPhoneNumber: string | null;
63
+ fullName: string;
64
+ mail: string | null;
65
+ dni: string | null;
66
+ gender: string | null;
67
+ birthDate: Date | null;
68
+ instagram: string | null;
69
+ residence: {
70
+ latitude: number;
71
+ longitude: number;
72
+ state: string;
73
+ country: string;
74
+ city: string;
75
+ };
76
+ birth: {
77
+ latitude: number;
78
+ longitude: number;
79
+ state: string;
80
+ country: string;
81
+ city: string;
82
+ };
83
+ }, {
84
+ id: string;
85
+ username: string | null;
86
+ password: string | null;
87
+ phoneNumber: string;
88
+ secondaryPhoneNumber: string | null;
89
+ fullName: string;
90
+ mail: string | null;
91
+ dni: string | null;
92
+ gender: string | null;
93
+ birthDate: string | null;
94
+ instagram: string | null;
95
+ residence: {
96
+ latitude: number;
97
+ longitude: number;
98
+ state: string;
99
+ country: string;
100
+ city: string;
101
+ };
102
+ birth: {
103
+ latitude: number;
104
+ longitude: number;
105
+ state: string;
106
+ country: string;
107
+ city: string;
108
+ };
109
+ }>;
110
+ declare const UpdateMiExpoMeFirstTimeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
111
+ username: import("zod").ZodNullable<import("zod").ZodString>;
112
+ password: import("zod").ZodNullable<import("zod").ZodString>;
113
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
114
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
115
+ fullName: import("zod").ZodString;
116
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
117
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
118
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
119
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
120
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
121
+ residence: import("zod").ZodObject<{
122
+ latitude: import("zod").ZodNumber;
123
+ longitude: import("zod").ZodNumber;
124
+ state: import("zod").ZodString;
125
+ country: import("zod").ZodString;
126
+ city: import("zod").ZodString;
127
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
128
+ latitude: number;
129
+ longitude: number;
130
+ state: string;
131
+ country: string;
132
+ city: string;
133
+ }, {
134
+ latitude: number;
135
+ longitude: number;
136
+ state: string;
137
+ country: string;
138
+ city: string;
139
+ }>;
140
+ birth: import("zod").ZodObject<{
141
+ latitude: import("zod").ZodNumber;
142
+ longitude: import("zod").ZodNumber;
143
+ state: import("zod").ZodString;
144
+ country: import("zod").ZodString;
145
+ city: import("zod").ZodString;
146
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
147
+ latitude: number;
148
+ longitude: number;
149
+ state: string;
150
+ country: string;
151
+ city: string;
152
+ }, {
153
+ latitude: number;
154
+ longitude: number;
155
+ state: string;
156
+ country: string;
157
+ city: string;
158
+ }>;
159
+ id: import("zod").ZodString;
160
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
161
+ id: string;
162
+ username: string | null;
163
+ password: string | null;
164
+ phoneNumber: string;
165
+ secondaryPhoneNumber: string | null;
166
+ fullName: string;
167
+ mail: string | null;
168
+ dni: string | null;
169
+ gender: string | null;
170
+ birthDate: string | null;
171
+ instagram: string | null;
172
+ residence: {
173
+ latitude: number;
174
+ longitude: number;
175
+ state: string;
176
+ country: string;
177
+ city: string;
178
+ };
179
+ birth: {
180
+ latitude: number;
181
+ longitude: number;
182
+ state: string;
183
+ country: string;
184
+ city: string;
185
+ };
186
+ }, {
187
+ id: string;
188
+ username: string | null;
189
+ password: string | null;
190
+ phoneNumber: string;
191
+ secondaryPhoneNumber: string | null;
192
+ fullName: string;
193
+ mail: string | null;
194
+ dni: string | null;
195
+ gender: string | null;
196
+ birthDate: string | null;
197
+ instagram: string | null;
198
+ residence: {
199
+ latitude: number;
200
+ longitude: number;
201
+ state: string;
202
+ country: string;
203
+ city: string;
204
+ };
205
+ birth: {
206
+ latitude: number;
207
+ longitude: number;
208
+ state: string;
209
+ country: string;
210
+ city: string;
211
+ };
212
+ }>>;
213
+ export declare class UpdateMiExpoMeFirstTimeDto extends UpdateMiExpoMeFirstTimeDto_base {
214
+ }
215
+ export declare const updateMiExpoMeFirstTimeResponseSchema: import("zod").ZodObject<Omit<{
216
+ id: import("zod").ZodString;
217
+ shortId: import("zod").ZodNumber;
218
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
219
+ USER: "USER";
220
+ ADMIN: "ADMIN";
221
+ FORM: "FORM";
222
+ TICKETS: "TICKETS";
223
+ MI_EXPO: "MI_EXPO";
224
+ }>>;
225
+ firstTimeMiExpo: import("zod").ZodBoolean;
226
+ username: import("zod").ZodNullable<import("zod").ZodString>;
227
+ password: import("zod").ZodNullable<import("zod").ZodString>;
228
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
229
+ isPhoneVerified: import("zod").ZodBoolean;
230
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
231
+ fullName: import("zod").ZodString;
232
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
233
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
234
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
235
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
236
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
237
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
238
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
239
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
240
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
241
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
242
+ isInTrash: import("zod").ZodBoolean;
243
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
244
+ created_at: import("zod").ZodDate;
245
+ updated_at: import("zod").ZodDate;
246
+ referralCode: import("zod").ZodString;
247
+ }, "password">, "strip", import("zod").ZodTypeAny, {
248
+ id: string;
249
+ username: string | null;
250
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
251
+ phoneNumber: string;
252
+ secondaryPhoneNumber: string | null;
253
+ fullName: string;
254
+ profilePictureUrl: string | null;
255
+ mail: string | null;
256
+ dni: string | null;
257
+ created_at: Date;
258
+ updated_at: Date;
259
+ referralCode: string;
260
+ shortId: number;
261
+ firstTimeMiExpo: boolean;
262
+ isPhoneVerified: boolean;
263
+ firstName: string | null;
264
+ gender: string | null;
265
+ birthDate: Date | null;
266
+ instagram: string | null;
267
+ alternativeNames: string[];
268
+ birthLocationId: string | null;
269
+ residenceLocationId: string | null;
270
+ isInTrash: boolean;
271
+ movedToTrashDate: Date | null;
272
+ }, {
273
+ id: string;
274
+ username: string | null;
275
+ phoneNumber: string;
276
+ secondaryPhoneNumber: string | null;
277
+ fullName: string;
278
+ profilePictureUrl: string | null;
279
+ mail: string | null;
280
+ dni: string | null;
281
+ created_at: Date;
282
+ updated_at: Date;
283
+ referralCode: string;
284
+ shortId: number;
285
+ firstTimeMiExpo: boolean;
286
+ isPhoneVerified: boolean;
287
+ firstName: string | null;
288
+ gender: string | null;
289
+ birthDate: string | null;
290
+ instagram: string | null;
291
+ alternativeNames: string[];
292
+ birthLocationId: string | null;
293
+ residenceLocationId: string | null;
294
+ isInTrash: boolean;
295
+ movedToTrashDate: Date | null;
296
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
297
+ }>;
298
+ declare const UpdateMiExpoMeFirstTimeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
299
+ id: import("zod").ZodString;
300
+ username: import("zod").ZodNullable<import("zod").ZodString>;
301
+ role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
302
+ USER: "USER";
303
+ ADMIN: "ADMIN";
304
+ FORM: "FORM";
305
+ TICKETS: "TICKETS";
306
+ MI_EXPO: "MI_EXPO";
307
+ }>>;
308
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
309
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
310
+ fullName: import("zod").ZodString;
311
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
312
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
313
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
314
+ created_at: import("zod").ZodString;
315
+ updated_at: import("zod").ZodString;
316
+ referralCode: import("zod").ZodString;
317
+ shortId: import("zod").ZodNumber;
318
+ firstTimeMiExpo: import("zod").ZodBoolean;
319
+ isPhoneVerified: import("zod").ZodBoolean;
320
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
321
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
322
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
323
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
324
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
325
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
326
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
327
+ isInTrash: import("zod").ZodBoolean;
328
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
329
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
330
+ id: string;
331
+ username: string | null;
332
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
333
+ phoneNumber: string;
334
+ secondaryPhoneNumber: string | null;
335
+ fullName: string;
336
+ profilePictureUrl: string | null;
337
+ mail: string | null;
338
+ dni: string | null;
339
+ created_at: string;
340
+ updated_at: string;
341
+ referralCode: string;
342
+ shortId: number;
343
+ firstTimeMiExpo: boolean;
344
+ isPhoneVerified: boolean;
345
+ firstName: string | null;
346
+ gender: string | null;
347
+ birthDate: string | null;
348
+ instagram: string | null;
349
+ alternativeNames: string[];
350
+ birthLocationId: string | null;
351
+ residenceLocationId: string | null;
352
+ isInTrash: boolean;
353
+ movedToTrashDate: string | null;
354
+ }, {
355
+ id: string;
356
+ username: string | null;
357
+ phoneNumber: string;
358
+ secondaryPhoneNumber: string | null;
359
+ fullName: string;
360
+ profilePictureUrl: string | null;
361
+ mail: string | null;
362
+ dni: string | null;
363
+ created_at: string;
364
+ updated_at: string;
365
+ referralCode: string;
366
+ shortId: number;
367
+ firstTimeMiExpo: boolean;
368
+ isPhoneVerified: boolean;
369
+ firstName: string | null;
370
+ gender: string | null;
371
+ birthDate: string | null;
372
+ instagram: string | null;
373
+ alternativeNames: string[];
374
+ birthLocationId: string | null;
375
+ residenceLocationId: string | null;
376
+ isInTrash: boolean;
377
+ movedToTrashDate: string | null;
378
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
379
+ }>>;
380
+ export declare class UpdateMiExpoMeFirstTimeResponseDto extends UpdateMiExpoMeFirstTimeResponseDto_base {
381
+ }
382
+ export {};
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMiExpoMeFirstTimeResponseDto = exports.updateMiExpoMeFirstTimeResponseSchema = exports.UpdateMiExpoMeFirstTimeDto = exports.updateMiExpoMeFirstTimeSchema = void 0;
4
+ const update_profile_dto_1 = require("../../profile/dto/update-profile.dto");
5
+ const profile_schema_1 = require("../../schema/profile.schema");
6
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
+ exports.updateMiExpoMeFirstTimeSchema = update_profile_dto_1.updateProfileSchema
8
+ .pick({
9
+ birthDate: true,
10
+ dni: true,
11
+ fullName: true,
12
+ gender: true,
13
+ instagram: true,
14
+ mail: true,
15
+ password: true,
16
+ phoneNumber: true,
17
+ secondaryPhoneNumber: true,
18
+ username: true,
19
+ birth: true,
20
+ residence: true,
21
+ })
22
+ .extend({
23
+ id: profile_schema_1.profileSchema.shape.id,
24
+ })
25
+ .required();
26
+ class UpdateMiExpoMeFirstTimeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeFirstTimeSchema) {
27
+ }
28
+ exports.UpdateMiExpoMeFirstTimeDto = UpdateMiExpoMeFirstTimeDto;
29
+ exports.updateMiExpoMeFirstTimeResponseSchema = update_profile_dto_1.updateProfileResponseSchema.omit({
30
+ password: true,
31
+ });
32
+ class UpdateMiExpoMeFirstTimeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeFirstTimeResponseSchema) {
33
+ }
34
+ exports.UpdateMiExpoMeFirstTimeResponseDto = UpdateMiExpoMeFirstTimeResponseDto;
35
+ //# sourceMappingURL=update-me-first-time.dto.js.map
@@ -2,4 +2,5 @@ export * from './dto/get-invitations.dto';
2
2
  export * from './dto/get-me.dto';
3
3
  export * from './dto/login-with-phone.dto';
4
4
  export * from './dto/login.dto';
5
+ export * from './dto/update-me-first-time.dto';
5
6
  export * from './dto/update-me.dto';
@@ -18,5 +18,6 @@ __exportStar(require("./dto/get-invitations.dto"), exports);
18
18
  __exportStar(require("./dto/get-me.dto"), exports);
19
19
  __exportStar(require("./dto/login-with-phone.dto"), exports);
20
20
  __exportStar(require("./dto/login.dto"), exports);
21
+ __exportStar(require("./dto/update-me-first-time.dto"), exports);
21
22
  __exportStar(require("./dto/update-me.dto"), exports);
22
23
  //# sourceMappingURL=exports.js.map
@@ -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,52 @@ 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" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
44
+ latitude: number;
45
+ longitude: number;
46
+ state: string;
47
+ country: string;
48
+ city: string;
49
+ }, {
50
+ latitude: number;
51
+ longitude: number;
52
+ state: string;
53
+ country: string;
54
+ city: string;
55
+ }>>;
56
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<Pick<{
57
+ id: import("zod").ZodString;
58
+ latitude: import("zod").ZodNumber;
59
+ longitude: import("zod").ZodNumber;
60
+ country: import("zod").ZodString;
61
+ state: import("zod").ZodString;
62
+ city: import("zod").ZodString;
63
+ created_at: import("zod").ZodDate;
64
+ updated_at: import("zod").ZodDate;
65
+ }, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
66
+ latitude: number;
67
+ longitude: number;
68
+ state: string;
69
+ country: string;
70
+ city: string;
71
+ }, {
72
+ latitude: number;
73
+ longitude: number;
74
+ state: string;
75
+ country: string;
76
+ city: string;
77
+ }>>;
78
+ }>, "strip", import("zod").ZodTypeAny, {
34
79
  id: string;
35
80
  username: string | null;
36
81
  password: string | null;
@@ -56,6 +101,20 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
56
101
  residenceLocationId: string | null;
57
102
  isInTrash: boolean;
58
103
  movedToTrashDate: Date | null;
104
+ birthLocation: {
105
+ latitude: number;
106
+ longitude: number;
107
+ state: string;
108
+ country: string;
109
+ city: string;
110
+ } | null;
111
+ residenceLocation: {
112
+ latitude: number;
113
+ longitude: number;
114
+ state: string;
115
+ country: string;
116
+ city: string;
117
+ } | null;
59
118
  }, {
60
119
  id: string;
61
120
  username: string | null;
@@ -81,6 +140,20 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
81
140
  residenceLocationId: string | null;
82
141
  isInTrash: boolean;
83
142
  movedToTrashDate: Date | null;
143
+ birthLocation: {
144
+ latitude: number;
145
+ longitude: number;
146
+ state: string;
147
+ country: string;
148
+ city: string;
149
+ } | null;
150
+ residenceLocation: {
151
+ latitude: number;
152
+ longitude: number;
153
+ state: string;
154
+ country: string;
155
+ city: string;
156
+ } | null;
84
157
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
85
158
  }>;
86
159
  declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -115,6 +188,44 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
115
188
  created_at: import("zod").ZodString;
116
189
  updated_at: import("zod").ZodString;
117
190
  referralCode: import("zod").ZodString;
191
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
192
+ latitude: import("zod").ZodNumber;
193
+ longitude: import("zod").ZodNumber;
194
+ state: import("zod").ZodString;
195
+ country: import("zod").ZodString;
196
+ city: import("zod").ZodString;
197
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
198
+ latitude: number;
199
+ longitude: number;
200
+ state: string;
201
+ country: string;
202
+ city: string;
203
+ }, {
204
+ latitude: number;
205
+ longitude: number;
206
+ state: string;
207
+ country: string;
208
+ city: string;
209
+ }>>;
210
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
211
+ latitude: import("zod").ZodNumber;
212
+ longitude: import("zod").ZodNumber;
213
+ state: import("zod").ZodString;
214
+ country: import("zod").ZodString;
215
+ city: import("zod").ZodString;
216
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
217
+ latitude: number;
218
+ longitude: number;
219
+ state: string;
220
+ country: string;
221
+ city: string;
222
+ }, {
223
+ latitude: number;
224
+ longitude: number;
225
+ state: string;
226
+ country: string;
227
+ city: string;
228
+ }>>;
118
229
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
119
230
  id: string;
120
231
  username: string | null;
@@ -141,6 +252,20 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
141
252
  residenceLocationId: string | null;
142
253
  isInTrash: boolean;
143
254
  movedToTrashDate: string | null;
255
+ birthLocation: {
256
+ latitude: number;
257
+ longitude: number;
258
+ state: string;
259
+ country: string;
260
+ city: string;
261
+ } | null;
262
+ residenceLocation: {
263
+ latitude: number;
264
+ longitude: number;
265
+ state: string;
266
+ country: string;
267
+ city: string;
268
+ } | null;
144
269
  }, {
145
270
  id: string;
146
271
  username: string | null;
@@ -166,6 +291,20 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
166
291
  residenceLocationId: string | null;
167
292
  isInTrash: boolean;
168
293
  movedToTrashDate: string | null;
294
+ birthLocation: {
295
+ latitude: number;
296
+ longitude: number;
297
+ state: string;
298
+ country: string;
299
+ city: string;
300
+ } | null;
301
+ residenceLocation: {
302
+ latitude: number;
303
+ longitude: number;
304
+ state: string;
305
+ country: string;
306
+ city: string;
307
+ } | null;
169
308
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
170
309
  }>>;
171
310
  export declare class FindByPhoneNumberResponseDto extends FindByPhoneNumberResponseDto_base {
@@ -1,9 +1,29 @@
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
+ state: true,
12
+ country: true,
13
+ latitude: true,
14
+ longitude: true,
15
+ })
16
+ .nullable(),
17
+ birthLocation: location_schema_1.locationSchema
18
+ .pick({
19
+ city: true,
20
+ state: true,
21
+ country: true,
22
+ latitude: true,
23
+ longitude: true,
24
+ })
25
+ .nullable(),
26
+ });
7
27
  class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
8
28
  }
9
29
  exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;