expo-backend-types 0.30.0-EXPO-308-auth.24 → 0.30.0-EXPO-308-auth.26

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 getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
1
+ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
4
  firstTimeMiExpo: import("zod").ZodBoolean;
@@ -22,7 +22,64 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
22
22
  movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
23
23
  created_at: import("zod").ZodDate;
24
24
  updated_at: import("zod").ZodDate;
25
- }, "password">, "strip", import("zod").ZodTypeAny, {
25
+ }, "password">, {
26
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ latitude: import("zod").ZodNumber;
29
+ longitude: import("zod").ZodNumber;
30
+ country: import("zod").ZodString;
31
+ state: import("zod").ZodString;
32
+ city: import("zod").ZodString;
33
+ created_at: import("zod").ZodDate;
34
+ updated_at: import("zod").ZodDate;
35
+ }, "strip", import("zod").ZodTypeAny, {
36
+ id: string;
37
+ latitude: number;
38
+ longitude: number;
39
+ created_at: Date;
40
+ updated_at: Date;
41
+ state: string;
42
+ country: string;
43
+ city: string;
44
+ }, {
45
+ id: string;
46
+ latitude: number;
47
+ longitude: number;
48
+ created_at: Date;
49
+ updated_at: Date;
50
+ state: string;
51
+ country: string;
52
+ city: string;
53
+ }>>;
54
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
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
+ }, "strip", import("zod").ZodTypeAny, {
64
+ id: string;
65
+ latitude: number;
66
+ longitude: number;
67
+ created_at: Date;
68
+ updated_at: Date;
69
+ state: string;
70
+ country: string;
71
+ city: string;
72
+ }, {
73
+ id: string;
74
+ latitude: number;
75
+ longitude: number;
76
+ created_at: Date;
77
+ updated_at: Date;
78
+ state: string;
79
+ country: string;
80
+ city: string;
81
+ }>>;
82
+ }>, "strip", import("zod").ZodTypeAny, {
26
83
  id: string;
27
84
  username: string | null;
28
85
  phoneNumber: string;
@@ -45,6 +102,26 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
45
102
  residenceLocationId: string | null;
46
103
  isInTrash: boolean;
47
104
  movedToTrashDate: Date | null;
105
+ birthLocation: {
106
+ id: string;
107
+ latitude: number;
108
+ longitude: number;
109
+ created_at: Date;
110
+ updated_at: Date;
111
+ state: string;
112
+ country: string;
113
+ city: string;
114
+ } | null;
115
+ residenceLocation: {
116
+ id: string;
117
+ latitude: number;
118
+ longitude: number;
119
+ created_at: Date;
120
+ updated_at: Date;
121
+ state: string;
122
+ country: string;
123
+ city: string;
124
+ } | null;
48
125
  }, {
49
126
  id: string;
50
127
  username: string | null;
@@ -68,6 +145,26 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
68
145
  residenceLocationId: string | null;
69
146
  isInTrash: boolean;
70
147
  movedToTrashDate: Date | null;
148
+ birthLocation: {
149
+ id: string;
150
+ latitude: number;
151
+ longitude: number;
152
+ created_at: Date;
153
+ updated_at: Date;
154
+ state: string;
155
+ country: string;
156
+ city: string;
157
+ } | null;
158
+ residenceLocation: {
159
+ id: string;
160
+ latitude: number;
161
+ longitude: number;
162
+ created_at: Date;
163
+ updated_at: Date;
164
+ state: string;
165
+ country: string;
166
+ city: string;
167
+ } | null;
71
168
  }>;
72
169
  declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
73
170
  id: import("zod").ZodString;
@@ -92,6 +189,62 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
92
189
  residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
93
190
  isInTrash: import("zod").ZodBoolean;
94
191
  movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
192
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
193
+ id: import("zod").ZodString;
194
+ latitude: import("zod").ZodNumber;
195
+ longitude: import("zod").ZodNumber;
196
+ country: import("zod").ZodString;
197
+ state: import("zod").ZodString;
198
+ city: import("zod").ZodString;
199
+ created_at: import("zod").ZodString;
200
+ updated_at: import("zod").ZodString;
201
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
202
+ id: string;
203
+ latitude: number;
204
+ longitude: number;
205
+ created_at: string;
206
+ updated_at: string;
207
+ state: string;
208
+ country: string;
209
+ city: string;
210
+ }, {
211
+ id: string;
212
+ latitude: number;
213
+ longitude: number;
214
+ created_at: string;
215
+ updated_at: string;
216
+ state: string;
217
+ country: string;
218
+ city: string;
219
+ }>>;
220
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
221
+ id: import("zod").ZodString;
222
+ latitude: import("zod").ZodNumber;
223
+ longitude: import("zod").ZodNumber;
224
+ country: import("zod").ZodString;
225
+ state: import("zod").ZodString;
226
+ city: import("zod").ZodString;
227
+ created_at: import("zod").ZodString;
228
+ updated_at: import("zod").ZodString;
229
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
230
+ id: string;
231
+ latitude: number;
232
+ longitude: number;
233
+ created_at: string;
234
+ updated_at: string;
235
+ state: string;
236
+ country: string;
237
+ city: string;
238
+ }, {
239
+ id: string;
240
+ latitude: number;
241
+ longitude: number;
242
+ created_at: string;
243
+ updated_at: string;
244
+ state: string;
245
+ country: string;
246
+ city: string;
247
+ }>>;
95
248
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
96
249
  id: string;
97
250
  username: string | null;
@@ -115,6 +268,26 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
115
268
  residenceLocationId: string | null;
116
269
  isInTrash: boolean;
117
270
  movedToTrashDate: string | null;
271
+ birthLocation: {
272
+ id: string;
273
+ latitude: number;
274
+ longitude: number;
275
+ created_at: string;
276
+ updated_at: string;
277
+ state: string;
278
+ country: string;
279
+ city: string;
280
+ } | null;
281
+ residenceLocation: {
282
+ id: string;
283
+ latitude: number;
284
+ longitude: number;
285
+ created_at: string;
286
+ updated_at: string;
287
+ state: string;
288
+ country: string;
289
+ city: string;
290
+ } | null;
118
291
  }, {
119
292
  id: string;
120
293
  username: string | null;
@@ -138,6 +311,26 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
138
311
  residenceLocationId: string | null;
139
312
  isInTrash: boolean;
140
313
  movedToTrashDate: string | null;
314
+ birthLocation: {
315
+ id: string;
316
+ latitude: number;
317
+ longitude: number;
318
+ created_at: string;
319
+ updated_at: string;
320
+ state: string;
321
+ country: string;
322
+ city: string;
323
+ } | null;
324
+ residenceLocation: {
325
+ id: string;
326
+ latitude: number;
327
+ longitude: number;
328
+ created_at: string;
329
+ updated_at: string;
330
+ state: string;
331
+ country: string;
332
+ city: string;
333
+ } | null;
141
334
  }>>;
142
335
  export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
143
336
  }
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = 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.getMiExpoMeResponseSchema = profile_schema_1.profileSchema.omit({ password: true });
7
+ exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema
8
+ .omit({ password: true })
9
+ .extend({
10
+ residenceLocation: location_schema_1.locationSchema.nullable(),
11
+ birthLocation: location_schema_1.locationSchema.nullable(),
12
+ });
7
13
  class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
8
14
  }
9
15
  exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
@@ -1,20 +1,15 @@
1
- export declare const updateMiExpoMeSchema: import("zod").ZodObject<Pick<{
2
- username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
3
- password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
4
- phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
5
- secondaryPhoneNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>>;
6
- fullName: import("zod").ZodOptional<import("zod").ZodString>;
7
- profilePictureUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
8
- mail: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
9
- firstTimeMiExpo: import("zod").ZodOptional<import("zod").ZodBoolean>;
10
- gender: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
11
- birthDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>>;
12
- instagram: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
13
- dni: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14
- alternativeNames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
15
- isInTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
16
- movedToTrashDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
17
- residence: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
1
+ export declare const updateMiExpoMeSchema: 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
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
9
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
10
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
11
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
12
+ residence: import("zod").ZodObject<Pick<{
18
13
  id: import("zod").ZodString;
19
14
  latitude: import("zod").ZodNumber;
20
15
  longitude: import("zod").ZodNumber;
@@ -35,8 +30,8 @@ export declare const updateMiExpoMeSchema: import("zod").ZodObject<Pick<{
35
30
  state: string;
36
31
  country: string;
37
32
  city: string;
38
- }>>;
39
- birth: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
33
+ }>;
34
+ birth: import("zod").ZodObject<Pick<{
40
35
  id: import("zod").ZodString;
41
36
  latitude: import("zod").ZodNumber;
42
37
  longitude: import("zod").ZodNumber;
@@ -57,71 +52,70 @@ export declare const updateMiExpoMeSchema: import("zod").ZodObject<Pick<{
57
52
  state: string;
58
53
  country: string;
59
54
  city: string;
60
- }>>;
61
- tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
62
- }, "username" | "password" | "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "residence" | "birth">, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
63
- username?: string | null | undefined;
64
- password?: string | null | undefined;
65
- phoneNumber?: string | undefined;
66
- secondaryPhoneNumber?: string | null | undefined;
67
- fullName?: string | undefined;
68
- mail?: string | null | undefined;
69
- gender?: string | null | undefined;
70
- birthDate?: Date | null | undefined;
71
- instagram?: string | null | undefined;
72
- dni?: string | null | undefined;
73
- residence?: {
55
+ }>;
56
+ }, "strip", import("zod").ZodTypeAny, {
57
+ username: string | null;
58
+ password: string | null;
59
+ phoneNumber: string;
60
+ secondaryPhoneNumber: string | null;
61
+ fullName: string;
62
+ mail: string | null;
63
+ gender: string | null;
64
+ birthDate: Date | null;
65
+ instagram: string | null;
66
+ dni: string | null;
67
+ residence: {
74
68
  latitude: number;
75
69
  longitude: number;
76
70
  state: string;
77
71
  country: string;
78
72
  city: string;
79
- } | undefined;
80
- birth?: {
73
+ };
74
+ birth: {
81
75
  latitude: number;
82
76
  longitude: number;
83
77
  state: string;
84
78
  country: string;
85
79
  city: string;
86
- } | undefined;
80
+ };
87
81
  }, {
88
- username?: string | null | undefined;
89
- password?: string | null | undefined;
90
- phoneNumber?: string | undefined;
91
- secondaryPhoneNumber?: string | null | undefined;
92
- fullName?: string | undefined;
93
- mail?: string | null | undefined;
94
- gender?: string | null | undefined;
95
- birthDate?: string | null | undefined;
96
- instagram?: string | null | undefined;
97
- dni?: string | null | undefined;
98
- residence?: {
82
+ username: string | null;
83
+ password: string | null;
84
+ phoneNumber: string;
85
+ secondaryPhoneNumber: string | null;
86
+ fullName: string;
87
+ mail: string | null;
88
+ gender: string | null;
89
+ birthDate: string | null;
90
+ instagram: string | null;
91
+ dni: string | null;
92
+ residence: {
99
93
  latitude: number;
100
94
  longitude: number;
101
95
  state: string;
102
96
  country: string;
103
97
  city: string;
104
- } | undefined;
105
- birth?: {
98
+ };
99
+ birth: {
106
100
  latitude: number;
107
101
  longitude: number;
108
102
  state: string;
109
103
  country: string;
110
104
  city: string;
111
- } | undefined;
105
+ };
112
106
  }>;
113
107
  declare const UpdateMiExpoMeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
114
- username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
115
- password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
116
- phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
117
- secondaryPhoneNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>>;
118
- fullName: import("zod").ZodOptional<import("zod").ZodString>;
119
- mail: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
120
- gender: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
121
- birthDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>>;
122
- instagram: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
123
- dni: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
124
- residence: import("zod").ZodOptional<import("zod").ZodObject<{
108
+ username: import("zod").ZodNullable<import("zod").ZodString>;
109
+ password: import("zod").ZodNullable<import("zod").ZodString>;
110
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
111
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
112
+ fullName: import("zod").ZodString;
113
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
114
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
115
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
116
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
117
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
118
+ residence: import("zod").ZodObject<{
125
119
  latitude: import("zod").ZodNumber;
126
120
  longitude: import("zod").ZodNumber;
127
121
  state: import("zod").ZodString;
@@ -139,8 +133,8 @@ declare const UpdateMiExpoMeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic
139
133
  state: string;
140
134
  country: string;
141
135
  city: string;
142
- }>>;
143
- birth: import("zod").ZodOptional<import("zod").ZodObject<{
136
+ }>;
137
+ birth: import("zod").ZodObject<{
144
138
  latitude: import("zod").ZodNumber;
145
139
  longitude: import("zod").ZodNumber;
146
140
  state: import("zod").ZodString;
@@ -158,57 +152,57 @@ declare const UpdateMiExpoMeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic
158
152
  state: string;
159
153
  country: string;
160
154
  city: string;
161
- }>>;
155
+ }>;
162
156
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
163
- username?: string | null | undefined;
164
- password?: string | null | undefined;
165
- phoneNumber?: string | undefined;
166
- secondaryPhoneNumber?: string | null | undefined;
167
- fullName?: string | undefined;
168
- mail?: string | null | undefined;
169
- gender?: string | null | undefined;
170
- birthDate?: string | null | undefined;
171
- instagram?: string | null | undefined;
172
- dni?: string | null | undefined;
173
- residence?: {
157
+ username: string | null;
158
+ password: string | null;
159
+ phoneNumber: string;
160
+ secondaryPhoneNumber: string | null;
161
+ fullName: string;
162
+ mail: string | null;
163
+ gender: string | null;
164
+ birthDate: string | null;
165
+ instagram: string | null;
166
+ dni: string | null;
167
+ residence: {
174
168
  latitude: number;
175
169
  longitude: number;
176
170
  state: string;
177
171
  country: string;
178
172
  city: string;
179
- } | undefined;
180
- birth?: {
173
+ };
174
+ birth: {
181
175
  latitude: number;
182
176
  longitude: number;
183
177
  state: string;
184
178
  country: string;
185
179
  city: string;
186
- } | undefined;
180
+ };
187
181
  }, {
188
- username?: string | null | undefined;
189
- password?: string | null | undefined;
190
- phoneNumber?: string | undefined;
191
- secondaryPhoneNumber?: string | null | undefined;
192
- fullName?: string | undefined;
193
- mail?: string | null | undefined;
194
- gender?: string | null | undefined;
195
- birthDate?: string | null | undefined;
196
- instagram?: string | null | undefined;
197
- dni?: string | null | undefined;
198
- residence?: {
182
+ username: string | null;
183
+ password: string | null;
184
+ phoneNumber: string;
185
+ secondaryPhoneNumber: string | null;
186
+ fullName: string;
187
+ mail: string | null;
188
+ gender: string | null;
189
+ birthDate: string | null;
190
+ instagram: string | null;
191
+ dni: string | null;
192
+ residence: {
199
193
  latitude: number;
200
194
  longitude: number;
201
195
  state: string;
202
196
  country: string;
203
197
  city: string;
204
- } | undefined;
205
- birth?: {
198
+ };
199
+ birth: {
206
200
  latitude: number;
207
201
  longitude: number;
208
202
  state: string;
209
203
  country: string;
210
204
  city: string;
211
- } | undefined;
205
+ };
212
206
  }>>;
213
207
  export declare class UpdateMiExpoMeDto extends UpdateMiExpoMeDto_base {
214
208
  }
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateMiExpoMeResponseDto = exports.updateMiExpoMeResponseSchema = exports.UpdateMiExpoMeDto = exports.updateMiExpoMeSchema = void 0;
4
4
  const update_profile_dto_1 = require("../../profile/dto/update-profile.dto");
5
5
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- const zod_1 = require("../../shared/utils/zod");
7
- exports.updateMiExpoMeSchema = (0, zod_1.removeNullableValidation)(update_profile_dto_1.updateProfileSchema).pick({
6
+ exports.updateMiExpoMeSchema = update_profile_dto_1.updateProfileSchema
7
+ .pick({
8
8
  birthDate: true,
9
9
  dni: true,
10
10
  fullName: true,
@@ -17,7 +17,8 @@ exports.updateMiExpoMeSchema = (0, zod_1.removeNullableValidation)(update_profil
17
17
  username: true,
18
18
  birth: true,
19
19
  residence: true,
20
- });
20
+ })
21
+ .required();
21
22
  class UpdateMiExpoMeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeSchema) {
22
23
  }
23
24
  exports.UpdateMiExpoMeDto = UpdateMiExpoMeDto;
@@ -1,3 +1,4 @@
1
1
  export * from './dto/get-me.dto';
2
2
  export * from './dto/login-with-phone.dto';
3
3
  export * from './dto/login.dto';
4
+ export * from './dto/update-me.dto';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/get-me.dto"), exports);
18
18
  __exportStar(require("./dto/login-with-phone.dto"), exports);
19
19
  __exportStar(require("./dto/login.dto"), exports);
20
+ __exportStar(require("./dto/update-me.dto"), exports);
20
21
  //# sourceMappingURL=exports.js.map
@@ -30,15 +30,6 @@ const replaceDatesWithStrings = (schema) => {
30
30
  if (schema instanceof zod_1.ZodIntersection) {
31
31
  return zod_1.z.intersection((0, exports.replaceDatesWithStrings)(schema._def.left), (0, exports.replaceDatesWithStrings)(schema._def.right));
32
32
  }
33
- if (schema instanceof zod_1.ZodNullable) {
34
- return zod_1.z.nullable((0, exports.replaceDatesWithStrings)(schema._def.innerType));
35
- }
36
- if (schema instanceof zod_1.ZodPipeline) {
37
- return zod_1.z
38
- .string()
39
- .datetime()
40
- .pipe((0, exports.replaceDatesWithStrings)(schema._def.out));
41
- }
42
33
  return schema;
43
34
  };
44
35
  exports.replaceDatesWithStrings = replaceDatesWithStrings;
@@ -1 +1 @@
1
- {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAYa;AA2BN,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,iBAAW,EAAE,CAAC;QAClC,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,YAAY,aAAO,EAAE,CAAC;YAC1C,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,IAAA,+BAAuB,EAC5B,MAAM,CAAC,IAAI,CAAC,KAAK,CACY,CAAC;QAClC,CAAC;IACH,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;IAED,IAAI,MAAM,YAAY,iBAAW,EAAE,CAAC;QAClC,OAAO,OAAC,CAAC,QAAQ,CACf,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CACjB,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,iBAAW,EAAE,CAAC;QAClC,OAAO,OAAC;aACL,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,IAAI,CACH,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACX,CAAC;IACpC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AA7DW,QAAA,uBAAuB,2BA6DlC"}
1
+ {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAYa;AA2BN,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,iBAAW,EAAE,CAAC;QAClC,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,YAAY,aAAO,EAAE,CAAC;YAC1C,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,OAAO,IAAA,+BAAuB,EAC5B,MAAM,CAAC,IAAI,CAAC,KAAK,CACY,CAAC;QAClC,CAAC;IACH,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;AA9CW,QAAA,uBAAuB,2BA8ClC"}
@@ -1128,14 +1128,62 @@ export interface components {
1128
1128
  profileIds: string[];
1129
1129
  };
1130
1130
  MassiveAllocationResponseDto: {
1131
- profiles: unknown[];
1131
+ profiles: {
1132
+ id: string;
1133
+ shortId: number;
1134
+ firstTimeMiExpo: boolean;
1135
+ username: string | null;
1136
+ password: string | null;
1137
+ phoneNumber: string;
1138
+ isPhoneVerified: boolean;
1139
+ secondaryPhoneNumber: string | null;
1140
+ fullName: string;
1141
+ firstName: string | null;
1142
+ gender: string | null;
1143
+ birthDate: string | null;
1144
+ profilePictureUrl: string | null;
1145
+ instagram: string | null;
1146
+ mail: string | null;
1147
+ dni: string | null;
1148
+ alternativeNames: string[];
1149
+ birthLocationId: string | null;
1150
+ residenceLocationId: string | null;
1151
+ isInTrash: boolean;
1152
+ movedToTrashDate: string | null;
1153
+ created_at: string;
1154
+ updated_at: string;
1155
+ }[];
1132
1156
  };
1133
1157
  MassiveDeallocationDto: {
1134
1158
  tagIds: string[];
1135
1159
  profileIds: string[];
1136
1160
  };
1137
1161
  MassiveDeallocationResponseDto: {
1138
- profiles: unknown[];
1162
+ profiles: {
1163
+ id: string;
1164
+ shortId: number;
1165
+ firstTimeMiExpo: boolean;
1166
+ username: string | null;
1167
+ password: string | null;
1168
+ phoneNumber: string;
1169
+ isPhoneVerified: boolean;
1170
+ secondaryPhoneNumber: string | null;
1171
+ fullName: string;
1172
+ firstName: string | null;
1173
+ gender: string | null;
1174
+ birthDate: string | null;
1175
+ profilePictureUrl: string | null;
1176
+ instagram: string | null;
1177
+ mail: string | null;
1178
+ dni: string | null;
1179
+ alternativeNames: string[];
1180
+ birthLocationId: string | null;
1181
+ residenceLocationId: string | null;
1182
+ isInTrash: boolean;
1183
+ movedToTrashDate: string | null;
1184
+ created_at: string;
1185
+ updated_at: string;
1186
+ }[];
1139
1187
  };
1140
1188
  CreateAccountDto: {
1141
1189
  username: string;
@@ -1696,16 +1744,173 @@ export interface components {
1696
1744
  updated_at: string;
1697
1745
  };
1698
1746
  FindAllProfileResponseDto: {
1699
- profiles: unknown[];
1747
+ profiles: {
1748
+ id: string;
1749
+ shortId: number;
1750
+ firstTimeMiExpo: boolean;
1751
+ username: string | null;
1752
+ password: string | null;
1753
+ phoneNumber: string;
1754
+ isPhoneVerified: boolean;
1755
+ secondaryPhoneNumber: string | null;
1756
+ fullName: string;
1757
+ firstName: string | null;
1758
+ gender: string | null;
1759
+ birthDate: string | null;
1760
+ profilePictureUrl: string | null;
1761
+ instagram: string | null;
1762
+ mail: string | null;
1763
+ dni: string | null;
1764
+ alternativeNames: string[];
1765
+ birthLocationId: string | null;
1766
+ residenceLocationId: string | null;
1767
+ isInTrash: boolean;
1768
+ movedToTrashDate: string | null;
1769
+ created_at: string;
1770
+ updated_at: string;
1771
+ tags: {
1772
+ id: string;
1773
+ name: string;
1774
+ groupId: string;
1775
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1776
+ created_at: string;
1777
+ updated_at: string;
1778
+ group: {
1779
+ color: string;
1780
+ isExclusive: boolean;
1781
+ };
1782
+ }[];
1783
+ }[];
1700
1784
  };
1701
1785
  FindWithActiveChatResponseDto: {
1702
- profiles: unknown[];
1786
+ profiles: {
1787
+ id: string;
1788
+ shortId: number;
1789
+ firstTimeMiExpo: boolean;
1790
+ username: string | null;
1791
+ password: string | null;
1792
+ phoneNumber: string;
1793
+ isPhoneVerified: boolean;
1794
+ secondaryPhoneNumber: string | null;
1795
+ fullName: string;
1796
+ firstName: string | null;
1797
+ gender: string | null;
1798
+ birthDate: string | null;
1799
+ profilePictureUrl: string | null;
1800
+ instagram: string | null;
1801
+ mail: string | null;
1802
+ dni: string | null;
1803
+ alternativeNames: string[];
1804
+ birthLocationId: string | null;
1805
+ residenceLocationId: string | null;
1806
+ isInTrash: boolean;
1807
+ movedToTrashDate: string | null;
1808
+ created_at: string;
1809
+ updated_at: string;
1810
+ tags: {
1811
+ id: string;
1812
+ name: string;
1813
+ groupId: string;
1814
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1815
+ created_at: string;
1816
+ updated_at: string;
1817
+ }[];
1818
+ inChat: boolean;
1819
+ messages: {
1820
+ state: "SENT" | "RECEIVED" | "SEEN";
1821
+ message: {
1822
+ id: string;
1823
+ from?: string;
1824
+ to?: string;
1825
+ timestamp: string;
1826
+ text: {
1827
+ body: string;
1828
+ };
1829
+ type: "text";
1830
+ } | {
1831
+ id: string;
1832
+ from?: string;
1833
+ to?: string;
1834
+ timestamp: string;
1835
+ templateName: string;
1836
+ type: "template";
1837
+ };
1838
+ created_at: string;
1839
+ }[];
1840
+ }[];
1703
1841
  };
1704
1842
  FindByTagsProfileResponseDto: {
1705
- profiles: unknown[];
1843
+ profiles: {
1844
+ id: string;
1845
+ shortId: number;
1846
+ firstTimeMiExpo: boolean;
1847
+ username: string | null;
1848
+ password: string | null;
1849
+ phoneNumber: string;
1850
+ isPhoneVerified: boolean;
1851
+ secondaryPhoneNumber: string | null;
1852
+ fullName: string;
1853
+ firstName: string | null;
1854
+ gender: string | null;
1855
+ birthDate: string | null;
1856
+ profilePictureUrl: string | null;
1857
+ instagram: string | null;
1858
+ mail: string | null;
1859
+ dni: string | null;
1860
+ alternativeNames: string[];
1861
+ birthLocationId: string | null;
1862
+ residenceLocationId: string | null;
1863
+ isInTrash: boolean;
1864
+ movedToTrashDate: string | null;
1865
+ created_at: string;
1866
+ updated_at: string;
1867
+ tags: {
1868
+ id: string;
1869
+ name: string;
1870
+ groupId: string;
1871
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1872
+ created_at: string;
1873
+ updated_at: string;
1874
+ group: {
1875
+ isExclusive: boolean;
1876
+ };
1877
+ }[];
1878
+ }[];
1706
1879
  };
1707
1880
  FindByTagGroupsProfileResponseDto: {
1708
- profiles: unknown[];
1881
+ profiles: {
1882
+ id: string;
1883
+ shortId: number;
1884
+ firstTimeMiExpo: boolean;
1885
+ username: string | null;
1886
+ password: string | null;
1887
+ phoneNumber: string;
1888
+ isPhoneVerified: boolean;
1889
+ secondaryPhoneNumber: string | null;
1890
+ fullName: string;
1891
+ firstName: string | null;
1892
+ gender: string | null;
1893
+ birthDate: string | null;
1894
+ profilePictureUrl: string | null;
1895
+ instagram: string | null;
1896
+ mail: string | null;
1897
+ dni: string | null;
1898
+ alternativeNames: string[];
1899
+ birthLocationId: string | null;
1900
+ residenceLocationId: string | null;
1901
+ isInTrash: boolean;
1902
+ movedToTrashDate: string | null;
1903
+ created_at: string;
1904
+ updated_at: string;
1905
+ tags: {
1906
+ id: string;
1907
+ name: string;
1908
+ groupId: string;
1909
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1910
+ created_at: string;
1911
+ updated_at: string;
1912
+ }[];
1913
+ }[];
1709
1914
  };
1710
1915
  FindByDateRangeResponseDto: {
1711
1916
  [key: string]: {
@@ -1745,7 +1950,31 @@ export interface components {
1745
1950
  }[];
1746
1951
  }[] | undefined;
1747
1952
  };
1748
- FindByPhoneNumberResponseDto: unknown;
1953
+ FindByPhoneNumberResponseDto: {
1954
+ id: string;
1955
+ shortId: number;
1956
+ firstTimeMiExpo: boolean;
1957
+ username: string | null;
1958
+ password: string | null;
1959
+ phoneNumber: string;
1960
+ isPhoneVerified: boolean;
1961
+ secondaryPhoneNumber: string | null;
1962
+ fullName: string;
1963
+ firstName: string | null;
1964
+ gender: string | null;
1965
+ birthDate: string | null;
1966
+ profilePictureUrl: string | null;
1967
+ instagram: string | null;
1968
+ mail: string | null;
1969
+ dni: string | null;
1970
+ alternativeNames: string[];
1971
+ birthLocationId: string | null;
1972
+ residenceLocationId: string | null;
1973
+ isInTrash: boolean;
1974
+ movedToTrashDate: string | null;
1975
+ created_at: string;
1976
+ updated_at: string;
1977
+ };
1749
1978
  FindTrashResponseDto: {
1750
1979
  profiles: {
1751
1980
  id: string;
@@ -1758,7 +1987,39 @@ export interface components {
1758
1987
  }[];
1759
1988
  };
1760
1989
  CreateProfileDto: {
1761
- profile: unknown;
1990
+ profile: {
1991
+ alternativeNames: string[];
1992
+ birthDate: string | null;
1993
+ dni: string | null;
1994
+ fullName: string;
1995
+ gender: string | null;
1996
+ instagram: string | null;
1997
+ mail: string | null;
1998
+ phoneNumber: string;
1999
+ profilePictureUrl: string | null;
2000
+ secondaryPhoneNumber: string | null;
2001
+ username: string | null;
2002
+ password: string | null;
2003
+ comments?: {
2004
+ content: string;
2005
+ isSolvable: boolean;
2006
+ }[];
2007
+ residence?: {
2008
+ city: string;
2009
+ country: string;
2010
+ latitude: number;
2011
+ longitude: number;
2012
+ state: string;
2013
+ };
2014
+ birth?: {
2015
+ city: string;
2016
+ country: string;
2017
+ latitude: number;
2018
+ longitude: number;
2019
+ state: string;
2020
+ };
2021
+ tags?: string[];
2022
+ };
1762
2023
  checkForSimilarity?: boolean;
1763
2024
  };
1764
2025
  CreateProfileResponseDto: {
@@ -1778,8 +2039,89 @@ export interface components {
1778
2039
  type: "created";
1779
2040
  };
1780
2041
  };
1781
- FindByIdProfileResponseDto: unknown;
1782
- DeleteProfileResponseDto: unknown;
2042
+ FindByIdProfileResponseDto: {
2043
+ id: string;
2044
+ shortId: number;
2045
+ firstTimeMiExpo: boolean;
2046
+ username: string | null;
2047
+ password: string | null;
2048
+ phoneNumber: string;
2049
+ isPhoneVerified: boolean;
2050
+ secondaryPhoneNumber: string | null;
2051
+ fullName: string;
2052
+ firstName: string | null;
2053
+ gender: string | null;
2054
+ birthDate: string | null;
2055
+ profilePictureUrl: string | null;
2056
+ instagram: string | null;
2057
+ mail: string | null;
2058
+ dni: string | null;
2059
+ alternativeNames: string[];
2060
+ birthLocationId: string | null;
2061
+ residenceLocationId: string | null;
2062
+ isInTrash: boolean;
2063
+ movedToTrashDate: string | null;
2064
+ created_at: string;
2065
+ updated_at: string;
2066
+ residenceLocation: {
2067
+ id: string;
2068
+ latitude: number;
2069
+ longitude: number;
2070
+ country: string;
2071
+ state: string;
2072
+ city: string;
2073
+ created_at: string;
2074
+ updated_at: string;
2075
+ } | null;
2076
+ birthLocation: {
2077
+ id: string;
2078
+ latitude: number;
2079
+ longitude: number;
2080
+ country: string;
2081
+ state: string;
2082
+ city: string;
2083
+ created_at: string;
2084
+ updated_at: string;
2085
+ } | null;
2086
+ tags: {
2087
+ id: string;
2088
+ name: string;
2089
+ groupId: string;
2090
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2091
+ created_at: string;
2092
+ updated_at: string;
2093
+ group: {
2094
+ id: string;
2095
+ color: string;
2096
+ isExclusive: boolean;
2097
+ };
2098
+ }[];
2099
+ };
2100
+ DeleteProfileResponseDto: {
2101
+ id: string;
2102
+ shortId: number;
2103
+ firstTimeMiExpo: boolean;
2104
+ username: string | null;
2105
+ password: string | null;
2106
+ phoneNumber: string;
2107
+ isPhoneVerified: boolean;
2108
+ secondaryPhoneNumber: string | null;
2109
+ fullName: string;
2110
+ firstName: string | null;
2111
+ gender: string | null;
2112
+ birthDate: string | null;
2113
+ profilePictureUrl: string | null;
2114
+ instagram: string | null;
2115
+ mail: string | null;
2116
+ dni: string | null;
2117
+ alternativeNames: string[];
2118
+ birthLocationId: string | null;
2119
+ residenceLocationId: string | null;
2120
+ isInTrash: boolean;
2121
+ movedToTrashDate: string | null;
2122
+ created_at: string;
2123
+ updated_at: string;
2124
+ };
1783
2125
  UpdateProfileDto: {
1784
2126
  alternativeNames?: string[];
1785
2127
  birthDate?: string | null;
@@ -1943,7 +2285,43 @@ export interface components {
1943
2285
  };
1944
2286
  VerifyOtpResponseDto: {
1945
2287
  success: boolean;
1946
- profile: unknown;
2288
+ profile: {
2289
+ id: string;
2290
+ shortId: number;
2291
+ firstTimeMiExpo: boolean;
2292
+ username: string | null;
2293
+ password: string | null;
2294
+ phoneNumber: string;
2295
+ isPhoneVerified: boolean;
2296
+ secondaryPhoneNumber: string | null;
2297
+ fullName: string;
2298
+ firstName: string | null;
2299
+ gender: string | null;
2300
+ birthDate: string | null;
2301
+ profilePictureUrl: string | null;
2302
+ instagram: string | null;
2303
+ mail: string | null;
2304
+ dni: string | null;
2305
+ alternativeNames: string[];
2306
+ birthLocationId: string | null;
2307
+ residenceLocationId: string | null;
2308
+ isInTrash: boolean;
2309
+ movedToTrashDate: string | null;
2310
+ created_at: string;
2311
+ updated_at: string;
2312
+ residenceLocation: {
2313
+ city: string;
2314
+ country: string;
2315
+ latitude: number;
2316
+ longitude: number;
2317
+ } | null;
2318
+ birthLocation: {
2319
+ city: string;
2320
+ country: string;
2321
+ latitude: number;
2322
+ longitude: number;
2323
+ } | null;
2324
+ };
1947
2325
  };
1948
2326
  LoginWithPhoneDto: {
1949
2327
  phoneNumber: string;
@@ -1954,28 +2332,94 @@ export interface components {
1954
2332
  refreshToken: string;
1955
2333
  expiresIn: number;
1956
2334
  };
1957
- profile: unknown;
2335
+ profile: {
2336
+ id: string;
2337
+ shortId: number;
2338
+ firstTimeMiExpo: boolean;
2339
+ username: string | null;
2340
+ phoneNumber: string;
2341
+ isPhoneVerified: boolean;
2342
+ secondaryPhoneNumber: string | null;
2343
+ fullName: string;
2344
+ firstName: string | null;
2345
+ gender: string | null;
2346
+ birthDate: string | null;
2347
+ profilePictureUrl: string | null;
2348
+ instagram: string | null;
2349
+ mail: string | null;
2350
+ dni: string | null;
2351
+ alternativeNames: string[];
2352
+ birthLocationId: string | null;
2353
+ residenceLocationId: string | null;
2354
+ isInTrash: boolean;
2355
+ movedToTrashDate: string | null;
2356
+ created_at: string;
2357
+ updated_at: string;
2358
+ };
2359
+ };
2360
+ GetMiExpoMeResponseDto: {
2361
+ id: string;
2362
+ shortId: number;
2363
+ firstTimeMiExpo: boolean;
2364
+ username: string | null;
2365
+ phoneNumber: string;
2366
+ isPhoneVerified: boolean;
2367
+ secondaryPhoneNumber: string | null;
2368
+ fullName: string;
2369
+ firstName: string | null;
2370
+ gender: string | null;
2371
+ birthDate: string | null;
2372
+ profilePictureUrl: string | null;
2373
+ instagram: string | null;
2374
+ mail: string | null;
2375
+ dni: string | null;
2376
+ alternativeNames: string[];
2377
+ birthLocationId: string | null;
2378
+ residenceLocationId: string | null;
2379
+ isInTrash: boolean;
2380
+ movedToTrashDate: string | null;
2381
+ created_at: string;
2382
+ updated_at: string;
2383
+ residenceLocation: {
2384
+ id: string;
2385
+ latitude: number;
2386
+ longitude: number;
2387
+ country: string;
2388
+ state: string;
2389
+ city: string;
2390
+ created_at: string;
2391
+ updated_at: string;
2392
+ } | null;
2393
+ birthLocation: {
2394
+ id: string;
2395
+ latitude: number;
2396
+ longitude: number;
2397
+ country: string;
2398
+ state: string;
2399
+ city: string;
2400
+ created_at: string;
2401
+ updated_at: string;
2402
+ } | null;
1958
2403
  };
1959
- GetMiExpoMeResponseDto: unknown;
1960
2404
  UpdateMiExpoMeDto: {
1961
- birthDate?: string | null;
1962
- dni?: string | null;
1963
- fullName?: string;
1964
- gender?: string | null;
1965
- instagram?: string | null;
1966
- mail?: string | null;
1967
- password?: string | null;
1968
- phoneNumber?: string;
1969
- secondaryPhoneNumber?: string | null;
1970
- username?: string | null;
1971
- birth?: {
2405
+ birthDate: string | null;
2406
+ dni: string | null;
2407
+ fullName: string;
2408
+ gender: string | null;
2409
+ instagram: string | null;
2410
+ mail: string | null;
2411
+ password: string | null;
2412
+ phoneNumber: string;
2413
+ secondaryPhoneNumber: string | null;
2414
+ username: string | null;
2415
+ birth: {
1972
2416
  city: string;
1973
2417
  country: string;
1974
2418
  latitude: number;
1975
2419
  longitude: number;
1976
2420
  state: string;
1977
2421
  };
1978
- residence?: {
2422
+ residence: {
1979
2423
  city: string;
1980
2424
  country: string;
1981
2425
  latitude: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.30.0-EXPO-308-auth.24",
3
+ "version": "0.30.0-EXPO-308-auth.26",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -24,7 +24,7 @@
24
24
  "local-release": "changeset version && changeset publish",
25
25
  "commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
26
26
  "start": "npx prisma generate && npx nest start",
27
- "dev": "npx prisma generate && nest start --watch",
27
+ "dev": "rm -r ./dist && npx prisma generate && nest start --watch",
28
28
  "start:debug": "nest start --debug --watch",
29
29
  "start:prod": "node dist/src/main",
30
30
  "lint": "eslint \"{src,apps,libs,test,types}/**/*.ts\" --fix",