expo-backend-types 0.30.0-EXPO-308-auth.23 → 0.30.0-EXPO-308-auth.25

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.
Files changed (32) hide show
  1. package/dist/src/mi-expo/dto/{me.dto.d.ts → get-me.dto.d.ts} +5 -5
  2. package/dist/src/mi-expo/dto/get-me.dto.js +10 -0
  3. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +2 -2
  4. package/dist/src/mi-expo/dto/login.dto.d.ts +2 -2
  5. package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
  6. package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
  7. package/dist/src/mi-expo/exports.d.ts +2 -1
  8. package/dist/src/mi-expo/exports.js +2 -1
  9. package/dist/src/otp/dto/verify-otp.dto.d.ts +2 -2
  10. package/dist/src/profile/dto/create-profile.dto.d.ts +5 -5
  11. package/dist/src/profile/dto/delete-profile.dto.d.ts +2 -2
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +2 -2
  13. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +4 -4
  14. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +2 -2
  15. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -2
  16. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +2 -2
  17. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +2 -2
  18. package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
  19. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +2 -2
  20. package/dist/src/profile/dto/profile.dto.d.ts +1 -1
  21. package/dist/src/profile/dto/update-profile.dto.d.ts +10 -4
  22. package/dist/src/profile/dto/update-profile.dto.js +1 -0
  23. package/dist/src/schema/profile.schema.d.ts +1 -1
  24. package/dist/src/schema/profile.schema.js +2 -2
  25. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +1 -3
  26. package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
  27. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  28. package/dist/src/tag/dto/massive-allocation.dto.d.ts +2 -2
  29. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +2 -2
  30. package/dist/types/schema.d.ts +53 -3
  31. package/package.json +2 -2
  32. package/dist/src/mi-expo/dto/me.dto.js +0 -10
@@ -1,4 +1,4 @@
1
- export declare const meResponseSchema: import("zod").ZodObject<Omit<{
1
+ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
4
  firstTimeMiExpo: import("zod").ZodBoolean;
@@ -6,7 +6,7 @@ export declare const meResponseSchema: import("zod").ZodObject<Omit<{
6
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
7
7
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
8
  isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
9
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
10
10
  fullName: import("zod").ZodString;
11
11
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
12
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -69,11 +69,11 @@ export declare const meResponseSchema: import("zod").ZodObject<Omit<{
69
69
  isInTrash: boolean;
70
70
  movedToTrashDate: Date | null;
71
71
  }>;
72
- declare const MiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
72
+ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
73
73
  id: import("zod").ZodString;
74
74
  username: import("zod").ZodNullable<import("zod").ZodString>;
75
75
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
76
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
76
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
77
77
  fullName: import("zod").ZodString;
78
78
  profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
79
79
  mail: import("zod").ZodNullable<import("zod").ZodString>;
@@ -139,6 +139,6 @@ declare const MiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
139
139
  isInTrash: boolean;
140
140
  movedToTrashDate: string | null;
141
141
  }>>;
142
- export declare class MiExpoMeResponseDto extends MiExpoMeResponseDto_base {
142
+ export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
143
143
  }
144
144
  export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
4
+ const profile_schema_1 = require("../../schema/profile.schema");
5
+ 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
+ class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
8
+ }
9
+ exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
10
+ //# sourceMappingURL=get-me.dto.js.map
@@ -37,7 +37,7 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
37
37
  password: z.ZodNullable<z.ZodString>;
38
38
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
39
39
  isPhoneVerified: z.ZodBoolean;
40
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
40
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
41
41
  fullName: z.ZodString;
42
42
  firstName: z.ZodNullable<z.ZodString>;
43
43
  gender: z.ZodNullable<z.ZodString>;
@@ -179,7 +179,7 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
179
179
  id: z.ZodString;
180
180
  username: z.ZodNullable<z.ZodString>;
181
181
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
182
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
182
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
183
183
  fullName: z.ZodString;
184
184
  profilePictureUrl: z.ZodNullable<z.ZodString>;
185
185
  mail: z.ZodNullable<z.ZodString>;
@@ -40,7 +40,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
40
40
  password: z.ZodNullable<z.ZodString>;
41
41
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
42
42
  isPhoneVerified: z.ZodBoolean;
43
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
43
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
44
44
  fullName: z.ZodString;
45
45
  firstName: z.ZodNullable<z.ZodString>;
46
46
  gender: z.ZodNullable<z.ZodString>;
@@ -182,7 +182,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
182
182
  id: z.ZodString;
183
183
  username: z.ZodNullable<z.ZodString>;
184
184
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
185
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
185
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
186
186
  fullName: z.ZodString;
187
187
  profilePictureUrl: z.ZodNullable<z.ZodString>;
188
188
  mail: z.ZodNullable<z.ZodString>;
@@ -0,0 +1,352 @@
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<{
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
+ }, "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: {
68
+ latitude: number;
69
+ longitude: number;
70
+ state: string;
71
+ country: string;
72
+ city: string;
73
+ };
74
+ birth: {
75
+ latitude: number;
76
+ longitude: number;
77
+ state: string;
78
+ country: string;
79
+ city: string;
80
+ };
81
+ }, {
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: {
93
+ latitude: number;
94
+ longitude: number;
95
+ state: string;
96
+ country: string;
97
+ city: string;
98
+ };
99
+ birth: {
100
+ latitude: number;
101
+ longitude: number;
102
+ state: string;
103
+ country: string;
104
+ city: string;
105
+ };
106
+ }>;
107
+ declare const UpdateMiExpoMeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<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<{
119
+ latitude: import("zod").ZodNumber;
120
+ longitude: import("zod").ZodNumber;
121
+ state: import("zod").ZodString;
122
+ country: import("zod").ZodString;
123
+ city: import("zod").ZodString;
124
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
125
+ latitude: number;
126
+ longitude: number;
127
+ state: string;
128
+ country: string;
129
+ city: string;
130
+ }, {
131
+ latitude: number;
132
+ longitude: number;
133
+ state: string;
134
+ country: string;
135
+ city: string;
136
+ }>;
137
+ birth: import("zod").ZodObject<{
138
+ latitude: import("zod").ZodNumber;
139
+ longitude: import("zod").ZodNumber;
140
+ state: import("zod").ZodString;
141
+ country: import("zod").ZodString;
142
+ city: import("zod").ZodString;
143
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
144
+ latitude: number;
145
+ longitude: number;
146
+ state: string;
147
+ country: string;
148
+ city: string;
149
+ }, {
150
+ latitude: number;
151
+ longitude: number;
152
+ state: string;
153
+ country: string;
154
+ city: string;
155
+ }>;
156
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
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: {
168
+ latitude: number;
169
+ longitude: number;
170
+ state: string;
171
+ country: string;
172
+ city: string;
173
+ };
174
+ birth: {
175
+ latitude: number;
176
+ longitude: number;
177
+ state: string;
178
+ country: string;
179
+ city: string;
180
+ };
181
+ }, {
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: {
193
+ latitude: number;
194
+ longitude: number;
195
+ state: string;
196
+ country: string;
197
+ city: string;
198
+ };
199
+ birth: {
200
+ latitude: number;
201
+ longitude: number;
202
+ state: string;
203
+ country: string;
204
+ city: string;
205
+ };
206
+ }>>;
207
+ export declare class UpdateMiExpoMeDto extends UpdateMiExpoMeDto_base {
208
+ }
209
+ export declare const updateMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
210
+ id: import("zod").ZodString;
211
+ shortId: import("zod").ZodNumber;
212
+ firstTimeMiExpo: import("zod").ZodBoolean;
213
+ username: import("zod").ZodNullable<import("zod").ZodString>;
214
+ password: import("zod").ZodNullable<import("zod").ZodString>;
215
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
216
+ isPhoneVerified: import("zod").ZodBoolean;
217
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
218
+ fullName: import("zod").ZodString;
219
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
220
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
221
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
222
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
223
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
224
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
225
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
226
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
227
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
228
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
229
+ isInTrash: import("zod").ZodBoolean;
230
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
231
+ created_at: import("zod").ZodDate;
232
+ updated_at: import("zod").ZodDate;
233
+ }, "password">, "strip", import("zod").ZodTypeAny, {
234
+ id: string;
235
+ username: string | null;
236
+ phoneNumber: string;
237
+ secondaryPhoneNumber: string | null;
238
+ fullName: string;
239
+ profilePictureUrl: string | null;
240
+ mail: string | null;
241
+ created_at: Date;
242
+ updated_at: Date;
243
+ shortId: number;
244
+ firstTimeMiExpo: boolean;
245
+ isPhoneVerified: boolean;
246
+ firstName: string | null;
247
+ gender: string | null;
248
+ birthDate: Date | null;
249
+ instagram: string | null;
250
+ dni: string | null;
251
+ alternativeNames: string[];
252
+ birthLocationId: string | null;
253
+ residenceLocationId: string | null;
254
+ isInTrash: boolean;
255
+ movedToTrashDate: Date | null;
256
+ }, {
257
+ id: string;
258
+ username: string | null;
259
+ phoneNumber: string;
260
+ secondaryPhoneNumber: string | null;
261
+ fullName: string;
262
+ profilePictureUrl: string | null;
263
+ mail: string | null;
264
+ created_at: Date;
265
+ updated_at: Date;
266
+ shortId: number;
267
+ firstTimeMiExpo: boolean;
268
+ isPhoneVerified: boolean;
269
+ firstName: string | null;
270
+ gender: string | null;
271
+ birthDate: string | null;
272
+ instagram: string | null;
273
+ dni: string | null;
274
+ alternativeNames: string[];
275
+ birthLocationId: string | null;
276
+ residenceLocationId: string | null;
277
+ isInTrash: boolean;
278
+ movedToTrashDate: Date | null;
279
+ }>;
280
+ declare const UpdateMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
281
+ id: import("zod").ZodString;
282
+ username: import("zod").ZodNullable<import("zod").ZodString>;
283
+ phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
284
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
285
+ fullName: import("zod").ZodString;
286
+ profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
287
+ mail: import("zod").ZodNullable<import("zod").ZodString>;
288
+ created_at: import("zod").ZodString;
289
+ updated_at: import("zod").ZodString;
290
+ shortId: import("zod").ZodNumber;
291
+ firstTimeMiExpo: import("zod").ZodBoolean;
292
+ isPhoneVerified: import("zod").ZodBoolean;
293
+ firstName: import("zod").ZodNullable<import("zod").ZodString>;
294
+ gender: import("zod").ZodNullable<import("zod").ZodString>;
295
+ birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
296
+ instagram: import("zod").ZodNullable<import("zod").ZodString>;
297
+ dni: import("zod").ZodNullable<import("zod").ZodString>;
298
+ alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
299
+ birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
300
+ residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
301
+ isInTrash: import("zod").ZodBoolean;
302
+ movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
303
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
304
+ id: string;
305
+ username: string | null;
306
+ phoneNumber: string;
307
+ secondaryPhoneNumber: string | null;
308
+ fullName: string;
309
+ profilePictureUrl: string | null;
310
+ mail: string | null;
311
+ created_at: string;
312
+ updated_at: string;
313
+ shortId: number;
314
+ firstTimeMiExpo: boolean;
315
+ isPhoneVerified: boolean;
316
+ firstName: string | null;
317
+ gender: string | null;
318
+ birthDate: string | null;
319
+ instagram: string | null;
320
+ dni: string | null;
321
+ alternativeNames: string[];
322
+ birthLocationId: string | null;
323
+ residenceLocationId: string | null;
324
+ isInTrash: boolean;
325
+ movedToTrashDate: string | null;
326
+ }, {
327
+ id: string;
328
+ username: string | null;
329
+ phoneNumber: string;
330
+ secondaryPhoneNumber: string | null;
331
+ fullName: string;
332
+ profilePictureUrl: string | null;
333
+ mail: string | null;
334
+ created_at: string;
335
+ updated_at: string;
336
+ shortId: number;
337
+ firstTimeMiExpo: boolean;
338
+ isPhoneVerified: boolean;
339
+ firstName: string | null;
340
+ gender: string | null;
341
+ birthDate: string | null;
342
+ instagram: string | null;
343
+ dni: string | null;
344
+ alternativeNames: string[];
345
+ birthLocationId: string | null;
346
+ residenceLocationId: string | null;
347
+ isInTrash: boolean;
348
+ movedToTrashDate: string | null;
349
+ }>>;
350
+ export declare class UpdateMiExpoMeResponseDto extends UpdateMiExpoMeResponseDto_base {
351
+ }
352
+ export {};
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMiExpoMeResponseDto = exports.updateMiExpoMeResponseSchema = exports.UpdateMiExpoMeDto = exports.updateMiExpoMeSchema = void 0;
4
+ const update_profile_dto_1 = require("../../profile/dto/update-profile.dto");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
+ exports.updateMiExpoMeSchema = update_profile_dto_1.updateProfileSchema
7
+ .pick({
8
+ birthDate: true,
9
+ dni: true,
10
+ fullName: true,
11
+ gender: true,
12
+ instagram: true,
13
+ mail: true,
14
+ password: true,
15
+ phoneNumber: true,
16
+ secondaryPhoneNumber: true,
17
+ username: true,
18
+ birth: true,
19
+ residence: true,
20
+ })
21
+ .required();
22
+ class UpdateMiExpoMeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeSchema) {
23
+ }
24
+ exports.UpdateMiExpoMeDto = UpdateMiExpoMeDto;
25
+ exports.updateMiExpoMeResponseSchema = update_profile_dto_1.updateProfileResponseSchema.omit({
26
+ password: true,
27
+ });
28
+ class UpdateMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeResponseSchema) {
29
+ }
30
+ exports.UpdateMiExpoMeResponseDto = UpdateMiExpoMeResponseDto;
31
+ //# sourceMappingURL=update-me.dto.js.map
@@ -1,3 +1,4 @@
1
+ export * from './dto/get-me.dto';
1
2
  export * from './dto/login-with-phone.dto';
2
3
  export * from './dto/login.dto';
3
- export * from './dto/me.dto';
4
+ export * from './dto/update-me.dto';
@@ -14,7 +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/get-me.dto"), exports);
17
18
  __exportStar(require("./dto/login-with-phone.dto"), exports);
18
19
  __exportStar(require("./dto/login.dto"), exports);
19
- __exportStar(require("./dto/me.dto"), exports);
20
+ __exportStar(require("./dto/update-me.dto"), exports);
20
21
  //# sourceMappingURL=exports.js.map
@@ -31,7 +31,7 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
31
31
  password: z.ZodNullable<z.ZodString>;
32
32
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
33
33
  isPhoneVerified: z.ZodBoolean;
34
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
34
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
35
35
  fullName: z.ZodString;
36
36
  firstName: z.ZodNullable<z.ZodString>;
37
37
  gender: z.ZodNullable<z.ZodString>;
@@ -250,7 +250,7 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
250
250
  password: z.ZodNullable<z.ZodString>;
251
251
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
252
252
  isPhoneVerified: z.ZodBoolean;
253
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
253
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
254
254
  fullName: z.ZodString;
255
255
  firstName: z.ZodNullable<z.ZodString>;
256
256
  gender: z.ZodNullable<z.ZodString>;
@@ -8,7 +8,7 @@ export declare const createProfileSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -230,7 +230,7 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
230
230
  username: z.ZodNullable<z.ZodString>;
231
231
  password: z.ZodNullable<z.ZodString>;
232
232
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
233
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
233
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
234
234
  fullName: z.ZodString;
235
235
  profilePictureUrl: z.ZodNullable<z.ZodString>;
236
236
  mail: z.ZodNullable<z.ZodString>;
@@ -436,7 +436,7 @@ declare const similarProfileSchema: z.ZodObject<{
436
436
  password: z.ZodNullable<z.ZodString>;
437
437
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
438
438
  isPhoneVerified: z.ZodBoolean;
439
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
439
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
440
440
  fullName: z.ZodString;
441
441
  firstName: z.ZodNullable<z.ZodString>;
442
442
  gender: z.ZodNullable<z.ZodString>;
@@ -491,7 +491,7 @@ export declare const createProfileResponseSchema: z.ZodObject<{
491
491
  password: z.ZodNullable<z.ZodString>;
492
492
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
493
493
  isPhoneVerified: z.ZodBoolean;
494
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
494
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
495
495
  fullName: z.ZodString;
496
496
  firstName: z.ZodNullable<z.ZodString>;
497
497
  gender: z.ZodNullable<z.ZodString>;
@@ -614,7 +614,7 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
614
614
  password: z.ZodNullable<z.ZodString>;
615
615
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
616
616
  isPhoneVerified: z.ZodBoolean;
617
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
617
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
618
618
  fullName: z.ZodString;
619
619
  firstName: z.ZodNullable<z.ZodString>;
620
620
  gender: z.ZodNullable<z.ZodString>;
@@ -6,7 +6,7 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
6
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
7
7
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
8
  isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
9
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
10
10
  fullName: import("zod").ZodString;
11
11
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
12
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -79,7 +79,7 @@ declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
79
79
  password: import("zod").ZodNullable<import("zod").ZodString>;
80
80
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
81
81
  isPhoneVerified: import("zod").ZodBoolean;
82
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
82
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
83
83
  fullName: import("zod").ZodString;
84
84
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
85
85
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -8,7 +8,7 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -234,7 +234,7 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
234
234
  password: z.ZodNullable<z.ZodString>;
235
235
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
236
236
  isPhoneVerified: z.ZodBoolean;
237
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
237
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
238
238
  fullName: z.ZodString;
239
239
  firstName: z.ZodNullable<z.ZodString>;
240
240
  gender: z.ZodNullable<z.ZodString>;
@@ -8,7 +8,7 @@ export declare const findByDateRangeSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -226,7 +226,7 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
226
226
  password: z.ZodNullable<z.ZodString>;
227
227
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
228
  isPhoneVerified: z.ZodBoolean;
229
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
229
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
230
230
  fullName: z.ZodString;
231
231
  firstName: z.ZodNullable<z.ZodString>;
232
232
  gender: z.ZodNullable<z.ZodString>;
@@ -438,7 +438,7 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
438
438
  password: z.ZodNullable<z.ZodString>;
439
439
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
440
440
  isPhoneVerified: z.ZodBoolean;
441
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
441
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
442
442
  fullName: z.ZodString;
443
443
  firstName: z.ZodNullable<z.ZodString>;
444
444
  gender: z.ZodNullable<z.ZodString>;
@@ -580,7 +580,7 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
580
580
  password: z.ZodNullable<z.ZodString>;
581
581
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
582
582
  isPhoneVerified: z.ZodBoolean;
583
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
583
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
584
584
  fullName: z.ZodString;
585
585
  firstName: z.ZodNullable<z.ZodString>;
586
586
  gender: z.ZodNullable<z.ZodString>;
@@ -7,7 +7,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
7
7
  password: z.ZodNullable<z.ZodString>;
8
8
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9
9
  isPhoneVerified: z.ZodBoolean;
10
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
10
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
11
11
  fullName: z.ZodString;
12
12
  firstName: z.ZodNullable<z.ZodString>;
13
13
  gender: z.ZodNullable<z.ZodString>;
@@ -257,7 +257,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
257
257
  password: z.ZodNullable<z.ZodString>;
258
258
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
259
259
  isPhoneVerified: z.ZodBoolean;
260
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
260
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
261
261
  fullName: z.ZodString;
262
262
  firstName: z.ZodNullable<z.ZodString>;
263
263
  gender: z.ZodNullable<z.ZodString>;
@@ -6,7 +6,7 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
6
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
7
7
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
8
  isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
9
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
10
10
  fullName: import("zod").ZodString;
11
11
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
12
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -79,7 +79,7 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
79
79
  password: import("zod").ZodNullable<import("zod").ZodString>;
80
80
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
81
81
  isPhoneVerified: import("zod").ZodBoolean;
82
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
82
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
83
83
  fullName: import("zod").ZodString;
84
84
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
85
85
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -8,7 +8,7 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -195,7 +195,7 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
195
195
  password: z.ZodNullable<z.ZodString>;
196
196
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
197
197
  isPhoneVerified: z.ZodBoolean;
198
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
198
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
199
199
  fullName: z.ZodString;
200
200
  firstName: z.ZodNullable<z.ZodString>;
201
201
  gender: z.ZodNullable<z.ZodString>;
@@ -8,7 +8,7 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -226,7 +226,7 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
226
226
  password: z.ZodNullable<z.ZodString>;
227
227
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
228
  isPhoneVerified: z.ZodBoolean;
229
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
229
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
230
230
  fullName: z.ZodString;
231
231
  firstName: z.ZodNullable<z.ZodString>;
232
232
  gender: z.ZodNullable<z.ZodString>;
@@ -8,7 +8,7 @@ export declare const findTrashResponseSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -8,7 +8,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
8
8
  password: z.ZodNullable<z.ZodString>;
9
9
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
10
10
  isPhoneVerified: z.ZodBoolean;
11
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
11
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
12
12
  fullName: z.ZodString;
13
13
  firstName: z.ZodNullable<z.ZodString>;
14
14
  gender: z.ZodNullable<z.ZodString>;
@@ -392,7 +392,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
392
392
  password: z.ZodNullable<z.ZodString>;
393
393
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
394
394
  isPhoneVerified: z.ZodBoolean;
395
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
395
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
396
396
  fullName: z.ZodString;
397
397
  firstName: z.ZodNullable<z.ZodString>;
398
398
  gender: z.ZodNullable<z.ZodString>;
@@ -6,7 +6,7 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
6
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
7
7
  phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
8
  isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
9
+ secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
10
10
  fullName: import("zod").ZodString;
11
11
  firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
12
  gender: import("zod").ZodNullable<import("zod").ZodString>;
@@ -3,10 +3,11 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
3
3
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
4
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6
- secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
6
+ secondaryPhoneNumber: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
7
7
  fullName: z.ZodOptional<z.ZodString>;
8
8
  profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ firstTimeMiExpo: z.ZodOptional<z.ZodBoolean>;
10
11
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
12
  birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
12
13
  instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -68,6 +69,7 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
68
69
  fullName?: string | undefined;
69
70
  profilePictureUrl?: string | null | undefined;
70
71
  mail?: string | null | undefined;
72
+ firstTimeMiExpo?: boolean | undefined;
71
73
  gender?: string | null | undefined;
72
74
  birthDate?: Date | null | undefined;
73
75
  instagram?: string | null | undefined;
@@ -98,6 +100,7 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
98
100
  fullName?: string | undefined;
99
101
  profilePictureUrl?: string | null | undefined;
100
102
  mail?: string | null | undefined;
103
+ firstTimeMiExpo?: boolean | undefined;
101
104
  gender?: string | null | undefined;
102
105
  birthDate?: string | null | undefined;
103
106
  instagram?: string | null | undefined;
@@ -125,10 +128,11 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
125
128
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
129
  password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
130
  phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
128
- secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
131
+ secondaryPhoneNumber: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
129
132
  fullName: z.ZodOptional<z.ZodString>;
130
133
  profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
134
  mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ firstTimeMiExpo: z.ZodOptional<z.ZodBoolean>;
132
136
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
137
  birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>>;
134
138
  instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -183,6 +187,7 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
183
187
  fullName?: string | undefined;
184
188
  profilePictureUrl?: string | null | undefined;
185
189
  mail?: string | null | undefined;
190
+ firstTimeMiExpo?: boolean | undefined;
186
191
  gender?: string | null | undefined;
187
192
  birthDate?: string | null | undefined;
188
193
  instagram?: string | null | undefined;
@@ -213,6 +218,7 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
213
218
  fullName?: string | undefined;
214
219
  profilePictureUrl?: string | null | undefined;
215
220
  mail?: string | null | undefined;
221
+ firstTimeMiExpo?: boolean | undefined;
216
222
  gender?: string | null | undefined;
217
223
  birthDate?: string | null | undefined;
218
224
  instagram?: string | null | undefined;
@@ -246,7 +252,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
246
252
  password: z.ZodNullable<z.ZodString>;
247
253
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
248
254
  isPhoneVerified: z.ZodBoolean;
249
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
255
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
250
256
  fullName: z.ZodString;
251
257
  firstName: z.ZodNullable<z.ZodString>;
252
258
  gender: z.ZodNullable<z.ZodString>;
@@ -319,7 +325,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
319
325
  password: z.ZodNullable<z.ZodString>;
320
326
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
321
327
  isPhoneVerified: z.ZodBoolean;
322
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
328
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
323
329
  fullName: z.ZodString;
324
330
  firstName: z.ZodNullable<z.ZodString>;
325
331
  gender: z.ZodNullable<z.ZodString>;
@@ -25,6 +25,7 @@ exports.updateProfileSchema = profile_schema_1.profileSchema
25
25
  movedToTrashDate: true,
26
26
  username: true,
27
27
  password: true,
28
+ firstTimeMiExpo: true,
28
29
  })
29
30
  .partial()
30
31
  .merge(zod_1.default.object({
@@ -7,7 +7,7 @@ export declare const profileSchema: z.ZodObject<{
7
7
  password: z.ZodNullable<z.ZodString>;
8
8
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9
9
  isPhoneVerified: z.ZodBoolean;
10
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
10
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
11
11
  fullName: z.ZodString;
12
12
  firstName: z.ZodNullable<z.ZodString>;
13
13
  gender: z.ZodNullable<z.ZodString>;
@@ -74,7 +74,6 @@ exports.profileSchema = zod_1.default.object({
74
74
  isPhoneVerified: zod_1.default.boolean(),
75
75
  secondaryPhoneNumber: zod_1.default
76
76
  .string()
77
- .nullable()
78
77
  .refine((value) => {
79
78
  if (value === null)
80
79
  return true;
@@ -96,7 +95,8 @@ exports.profileSchema = zod_1.default.object({
96
95
  return value;
97
96
  }
98
97
  return formatArgNumber(phoneNumber, value);
99
- }),
98
+ })
99
+ .nullable(),
100
100
  fullName: zod_1.default.string().min(1, {
101
101
  message: (0, translate_1.translate)('model.profile.fullName.required'),
102
102
  }),
@@ -2,7 +2,5 @@ import { type OpenApiZodAny } from '@anatine/zod-openapi';
2
2
  import { z, ZodArray, ZodDate, ZodIntersection, ZodNullable, ZodObject, ZodOptional, ZodPipeline, 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
- }> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options> ? ZodUnion<{
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 extends ZodPipeline<infer A, infer B> ? ZodPipeline<ReplaceDatesWithStrings<A>, ReplaceDatesWithStrings<B>> : T;
5
+ }> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options extends [ZodTypeAny, ...ZodTypeAny[]]> ? ZodUnion<Options> : 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 extends ZodPipeline<infer In, infer Out> ? ZodPipeline<ReplaceDatesWithStrings<In>, ReplaceDatesWithStrings<Out>> : T;
8
6
  export declare const replaceDatesWithStrings: <T extends OpenApiZodAny>(schema: T) => ReplaceDatesWithStrings<T>;
@@ -6,6 +6,14 @@ const replaceDatesWithStrings = (schema) => {
6
6
  if (schema instanceof zod_1.ZodDate) {
7
7
  return zod_1.z.string().datetime();
8
8
  }
9
+ if (schema instanceof zod_1.ZodPipeline) {
10
+ if (schema._def.output instanceof zod_1.ZodDate) {
11
+ return zod_1.z.string().datetime();
12
+ }
13
+ else {
14
+ return (0, exports.replaceDatesWithStrings)(schema._def.input);
15
+ }
16
+ }
9
17
  if (schema instanceof zod_1.ZodObject) {
10
18
  const newShape = {};
11
19
  for (const key in schema.shape) {
@@ -1 +1 @@
1
- {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAYa;AA6BN,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,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"}
@@ -30,7 +30,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
30
30
  password: z.ZodNullable<z.ZodString>;
31
31
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
32
  isPhoneVerified: z.ZodBoolean;
33
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
33
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
34
34
  fullName: z.ZodString;
35
35
  firstName: z.ZodNullable<z.ZodString>;
36
36
  gender: z.ZodNullable<z.ZodString>;
@@ -157,7 +157,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
157
157
  password: z.ZodNullable<z.ZodString>;
158
158
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
159
  isPhoneVerified: z.ZodBoolean;
160
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
160
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
161
161
  fullName: z.ZodString;
162
162
  firstName: z.ZodNullable<z.ZodString>;
163
163
  gender: z.ZodNullable<z.ZodString>;
@@ -30,7 +30,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
30
30
  password: z.ZodNullable<z.ZodString>;
31
31
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
32
  isPhoneVerified: z.ZodBoolean;
33
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
33
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
34
34
  fullName: z.ZodString;
35
35
  firstName: z.ZodNullable<z.ZodString>;
36
36
  gender: z.ZodNullable<z.ZodString>;
@@ -157,7 +157,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
157
157
  password: z.ZodNullable<z.ZodString>;
158
158
  phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
159
  isPhoneVerified: z.ZodBoolean;
160
- secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
160
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
161
161
  fullName: z.ZodString;
162
162
  firstName: z.ZodNullable<z.ZodString>;
163
163
  gender: z.ZodNullable<z.ZodString>;
@@ -1004,7 +1004,7 @@ export interface paths {
1004
1004
  delete?: never;
1005
1005
  options?: never;
1006
1006
  head?: never;
1007
- patch?: never;
1007
+ patch: operations["MiExpoController_updateMe"];
1008
1008
  trace?: never;
1009
1009
  };
1010
1010
  }
@@ -2137,6 +2137,7 @@ export interface components {
2137
2137
  movedToTrashDate?: string | null;
2138
2138
  username?: string | null;
2139
2139
  password?: string | null;
2140
+ firstTimeMiExpo?: boolean;
2140
2141
  residence?: {
2141
2142
  city: string;
2142
2143
  country: string;
@@ -2356,7 +2357,7 @@ export interface components {
2356
2357
  updated_at: string;
2357
2358
  };
2358
2359
  };
2359
- MiExpoMeResponseDto: {
2360
+ GetMiExpoMeResponseDto: {
2360
2361
  id: string;
2361
2362
  shortId: number;
2362
2363
  firstTimeMiExpo: boolean;
@@ -2380,6 +2381,32 @@ export interface components {
2380
2381
  created_at: string;
2381
2382
  updated_at: string;
2382
2383
  };
2384
+ UpdateMiExpoMeDto: {
2385
+ birthDate: string | null;
2386
+ dni: string | null;
2387
+ fullName: string;
2388
+ gender: string | null;
2389
+ instagram: string | null;
2390
+ mail: string | null;
2391
+ password: string | null;
2392
+ phoneNumber: string;
2393
+ secondaryPhoneNumber: string | null;
2394
+ username: string | null;
2395
+ birth: {
2396
+ city: string;
2397
+ country: string;
2398
+ latitude: number;
2399
+ longitude: number;
2400
+ state: string;
2401
+ };
2402
+ residence: {
2403
+ city: string;
2404
+ country: string;
2405
+ latitude: number;
2406
+ longitude: number;
2407
+ state: string;
2408
+ };
2409
+ };
2383
2410
  };
2384
2411
  responses: never;
2385
2412
  parameters: never;
@@ -4419,7 +4446,30 @@ export interface operations {
4419
4446
  [name: string]: unknown;
4420
4447
  };
4421
4448
  content: {
4422
- "application/json": components["schemas"]["MiExpoMeResponseDto"];
4449
+ "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4450
+ };
4451
+ };
4452
+ };
4453
+ };
4454
+ MiExpoController_updateMe: {
4455
+ parameters: {
4456
+ query?: never;
4457
+ header?: never;
4458
+ path?: never;
4459
+ cookie?: never;
4460
+ };
4461
+ requestBody: {
4462
+ content: {
4463
+ "application/json": components["schemas"]["UpdateMiExpoMeDto"];
4464
+ };
4465
+ };
4466
+ responses: {
4467
+ 200: {
4468
+ headers: {
4469
+ [name: string]: unknown;
4470
+ };
4471
+ content: {
4472
+ "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4423
4473
  };
4424
4474
  };
4425
4475
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.30.0-EXPO-308-auth.23",
3
+ "version": "0.30.0-EXPO-308-auth.25",
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",
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MiExpoMeResponseDto = exports.meResponseSchema = void 0;
4
- const profile_schema_1 = require("../../schema/profile.schema");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.meResponseSchema = profile_schema_1.profileSchema.omit({ password: true });
7
- class MiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.meResponseSchema) {
8
- }
9
- exports.MiExpoMeResponseDto = MiExpoMeResponseDto;
10
- //# sourceMappingURL=me.dto.js.map