expo-backend-types 0.33.0 → 0.34.0
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.
- package/dist/src/exports.d.ts +3 -0
- package/dist/src/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +20 -0
- package/dist/src/i18n/es.js +20 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +38 -24
- package/dist/types/prisma-schema/index-browser.js +18 -9
- package/dist/types/prisma-schema/index.d.ts +4093 -456
- package/dist/types/prisma-schema/index.js +38 -24
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +506 -2
- package/package.json +41 -40
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -3,8 +3,12 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
8
12
|
fullName: z.ZodString;
|
9
13
|
firstName: z.ZodNullable<z.ZodString>;
|
10
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -69,6 +73,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
69
73
|
}>, "many">;
|
70
74
|
}>, "strip", z.ZodTypeAny, {
|
71
75
|
id: string;
|
76
|
+
username: string | null;
|
77
|
+
password: string | null;
|
72
78
|
phoneNumber: string;
|
73
79
|
secondaryPhoneNumber: string | null;
|
74
80
|
fullName: string;
|
@@ -77,6 +83,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
77
83
|
created_at: Date;
|
78
84
|
updated_at: Date;
|
79
85
|
shortId: number;
|
86
|
+
firstTimeMiExpo: boolean;
|
87
|
+
isPhoneVerified: boolean;
|
80
88
|
firstName: string | null;
|
81
89
|
gender: string | null;
|
82
90
|
birthDate: Date | null;
|
@@ -100,6 +108,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
100
108
|
}[];
|
101
109
|
}, {
|
102
110
|
id: string;
|
111
|
+
username: string | null;
|
112
|
+
password: string | null;
|
103
113
|
phoneNumber: string;
|
104
114
|
secondaryPhoneNumber: string | null;
|
105
115
|
fullName: string;
|
@@ -108,6 +118,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
108
118
|
created_at: Date;
|
109
119
|
updated_at: Date;
|
110
120
|
shortId: number;
|
121
|
+
firstTimeMiExpo: boolean;
|
122
|
+
isPhoneVerified: boolean;
|
111
123
|
firstName: string | null;
|
112
124
|
gender: string | null;
|
113
125
|
birthDate: string | null;
|
@@ -133,6 +145,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
133
145
|
}, "strip", z.ZodTypeAny, {
|
134
146
|
profiles: {
|
135
147
|
id: string;
|
148
|
+
username: string | null;
|
149
|
+
password: string | null;
|
136
150
|
phoneNumber: string;
|
137
151
|
secondaryPhoneNumber: string | null;
|
138
152
|
fullName: string;
|
@@ -141,6 +155,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
141
155
|
created_at: Date;
|
142
156
|
updated_at: Date;
|
143
157
|
shortId: number;
|
158
|
+
firstTimeMiExpo: boolean;
|
159
|
+
isPhoneVerified: boolean;
|
144
160
|
firstName: string | null;
|
145
161
|
gender: string | null;
|
146
162
|
birthDate: Date | null;
|
@@ -166,6 +182,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
166
182
|
}, {
|
167
183
|
profiles: {
|
168
184
|
id: string;
|
185
|
+
username: string | null;
|
186
|
+
password: string | null;
|
169
187
|
phoneNumber: string;
|
170
188
|
secondaryPhoneNumber: string | null;
|
171
189
|
fullName: string;
|
@@ -174,6 +192,8 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
174
192
|
created_at: Date;
|
175
193
|
updated_at: Date;
|
176
194
|
shortId: number;
|
195
|
+
firstTimeMiExpo: boolean;
|
196
|
+
isPhoneVerified: boolean;
|
177
197
|
firstName: string | null;
|
178
198
|
gender: string | null;
|
179
199
|
birthDate: string | null;
|
@@ -201,12 +221,16 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
201
221
|
profiles: z.ZodArray<z.ZodObject<{
|
202
222
|
id: z.ZodString;
|
203
223
|
shortId: z.ZodNumber;
|
204
|
-
|
205
|
-
|
224
|
+
firstTimeMiExpo: z.ZodBoolean;
|
225
|
+
username: z.ZodNullable<z.ZodString>;
|
226
|
+
password: z.ZodNullable<z.ZodString>;
|
227
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
228
|
+
isPhoneVerified: z.ZodBoolean;
|
229
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
206
230
|
fullName: z.ZodString;
|
207
231
|
firstName: z.ZodNullable<z.ZodString>;
|
208
232
|
gender: z.ZodNullable<z.ZodString>;
|
209
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
233
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
210
234
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
211
235
|
instagram: z.ZodNullable<z.ZodString>;
|
212
236
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -260,6 +284,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
260
284
|
}>, "many">;
|
261
285
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
262
286
|
id: string;
|
287
|
+
username: string | null;
|
288
|
+
password: string | null;
|
263
289
|
phoneNumber: string;
|
264
290
|
secondaryPhoneNumber: string | null;
|
265
291
|
fullName: string;
|
@@ -268,9 +294,11 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
268
294
|
created_at: string;
|
269
295
|
updated_at: string;
|
270
296
|
shortId: number;
|
297
|
+
firstTimeMiExpo: boolean;
|
298
|
+
isPhoneVerified: boolean;
|
271
299
|
firstName: string | null;
|
272
300
|
gender: string | null;
|
273
|
-
birthDate:
|
301
|
+
birthDate: string | null;
|
274
302
|
instagram: string | null;
|
275
303
|
dni: string | null;
|
276
304
|
alternativeNames: string[];
|
@@ -291,6 +319,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
291
319
|
}[];
|
292
320
|
}, {
|
293
321
|
id: string;
|
322
|
+
username: string | null;
|
323
|
+
password: string | null;
|
294
324
|
phoneNumber: string;
|
295
325
|
secondaryPhoneNumber: string | null;
|
296
326
|
fullName: string;
|
@@ -299,6 +329,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
299
329
|
created_at: string;
|
300
330
|
updated_at: string;
|
301
331
|
shortId: number;
|
332
|
+
firstTimeMiExpo: boolean;
|
333
|
+
isPhoneVerified: boolean;
|
302
334
|
firstName: string | null;
|
303
335
|
gender: string | null;
|
304
336
|
birthDate: string | null;
|
@@ -324,6 +356,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
324
356
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
325
357
|
profiles: {
|
326
358
|
id: string;
|
359
|
+
username: string | null;
|
360
|
+
password: string | null;
|
327
361
|
phoneNumber: string;
|
328
362
|
secondaryPhoneNumber: string | null;
|
329
363
|
fullName: string;
|
@@ -332,9 +366,11 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
332
366
|
created_at: string;
|
333
367
|
updated_at: string;
|
334
368
|
shortId: number;
|
369
|
+
firstTimeMiExpo: boolean;
|
370
|
+
isPhoneVerified: boolean;
|
335
371
|
firstName: string | null;
|
336
372
|
gender: string | null;
|
337
|
-
birthDate:
|
373
|
+
birthDate: string | null;
|
338
374
|
instagram: string | null;
|
339
375
|
dni: string | null;
|
340
376
|
alternativeNames: string[];
|
@@ -357,6 +393,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
357
393
|
}, {
|
358
394
|
profiles: {
|
359
395
|
id: string;
|
396
|
+
username: string | null;
|
397
|
+
password: string | null;
|
360
398
|
phoneNumber: string;
|
361
399
|
secondaryPhoneNumber: string | null;
|
362
400
|
fullName: string;
|
@@ -365,6 +403,8 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
365
403
|
created_at: string;
|
366
404
|
updated_at: string;
|
367
405
|
shortId: number;
|
406
|
+
firstTimeMiExpo: boolean;
|
407
|
+
isPhoneVerified: boolean;
|
368
408
|
firstName: string | null;
|
369
409
|
gender: string | null;
|
370
410
|
birthDate: string | null;
|
@@ -393,8 +433,12 @@ export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
|
|
393
433
|
export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
394
434
|
id: z.ZodString;
|
395
435
|
shortId: z.ZodNumber;
|
396
|
-
|
397
|
-
|
436
|
+
firstTimeMiExpo: z.ZodBoolean;
|
437
|
+
username: z.ZodNullable<z.ZodString>;
|
438
|
+
password: z.ZodNullable<z.ZodString>;
|
439
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
440
|
+
isPhoneVerified: z.ZodBoolean;
|
441
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
398
442
|
fullName: z.ZodString;
|
399
443
|
firstName: z.ZodNullable<z.ZodString>;
|
400
444
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -459,6 +503,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
459
503
|
}>, "many">;
|
460
504
|
}>, "strip", z.ZodTypeAny, {
|
461
505
|
id: string;
|
506
|
+
username: string | null;
|
507
|
+
password: string | null;
|
462
508
|
phoneNumber: string;
|
463
509
|
secondaryPhoneNumber: string | null;
|
464
510
|
fullName: string;
|
@@ -467,6 +513,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
467
513
|
created_at: Date;
|
468
514
|
updated_at: Date;
|
469
515
|
shortId: number;
|
516
|
+
firstTimeMiExpo: boolean;
|
517
|
+
isPhoneVerified: boolean;
|
470
518
|
firstName: string | null;
|
471
519
|
gender: string | null;
|
472
520
|
birthDate: Date | null;
|
@@ -490,6 +538,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
490
538
|
}[];
|
491
539
|
}, {
|
492
540
|
id: string;
|
541
|
+
username: string | null;
|
542
|
+
password: string | null;
|
493
543
|
phoneNumber: string;
|
494
544
|
secondaryPhoneNumber: string | null;
|
495
545
|
fullName: string;
|
@@ -498,6 +548,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
498
548
|
created_at: Date;
|
499
549
|
updated_at: Date;
|
500
550
|
shortId: number;
|
551
|
+
firstTimeMiExpo: boolean;
|
552
|
+
isPhoneVerified: boolean;
|
501
553
|
firstName: string | null;
|
502
554
|
gender: string | null;
|
503
555
|
birthDate: string | null;
|
@@ -523,8 +575,12 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
523
575
|
declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
524
576
|
id: z.ZodString;
|
525
577
|
shortId: z.ZodNumber;
|
526
|
-
|
527
|
-
|
578
|
+
firstTimeMiExpo: z.ZodBoolean;
|
579
|
+
username: z.ZodNullable<z.ZodString>;
|
580
|
+
password: z.ZodNullable<z.ZodString>;
|
581
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
582
|
+
isPhoneVerified: z.ZodBoolean;
|
583
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
528
584
|
fullName: z.ZodString;
|
529
585
|
firstName: z.ZodNullable<z.ZodString>;
|
530
586
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -589,6 +645,8 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
589
645
|
}>, "many">;
|
590
646
|
}>, "strip", z.ZodTypeAny, {
|
591
647
|
id: string;
|
648
|
+
username: string | null;
|
649
|
+
password: string | null;
|
592
650
|
phoneNumber: string;
|
593
651
|
secondaryPhoneNumber: string | null;
|
594
652
|
fullName: string;
|
@@ -597,6 +655,8 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
597
655
|
created_at: Date;
|
598
656
|
updated_at: Date;
|
599
657
|
shortId: number;
|
658
|
+
firstTimeMiExpo: boolean;
|
659
|
+
isPhoneVerified: boolean;
|
600
660
|
firstName: string | null;
|
601
661
|
gender: string | null;
|
602
662
|
birthDate: Date | null;
|
@@ -620,6 +680,8 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
620
680
|
}[];
|
621
681
|
}, {
|
622
682
|
id: string;
|
683
|
+
username: string | null;
|
684
|
+
password: string | null;
|
623
685
|
phoneNumber: string;
|
624
686
|
secondaryPhoneNumber: string | null;
|
625
687
|
fullName: string;
|
@@ -628,6 +690,8 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
628
690
|
created_at: Date;
|
629
691
|
updated_at: Date;
|
630
692
|
shortId: number;
|
693
|
+
firstTimeMiExpo: boolean;
|
694
|
+
isPhoneVerified: boolean;
|
631
695
|
firstName: string | null;
|
632
696
|
gender: string | null;
|
633
697
|
birthDate: string | null;
|
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByDateRangeResponseDto = exports.findByDateRangeResponseSchema = exports.FindByDateRangeDto = exports.findByDateRangeSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
10
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
11
|
const zod_1 = __importDefault(require("zod"));
|
12
12
|
exports.findByDateRangeSchema = zod_1.default.object({
|
13
|
-
profiles: zod_1.default.array(
|
13
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
|
14
14
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
15
15
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
16
16
|
id: true,
|
@@ -21,7 +21,7 @@ exports.findByDateRangeSchema = zod_1.default.object({
|
|
21
21
|
class FindByDateRangeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByDateRangeSchema) {
|
22
22
|
}
|
23
23
|
exports.FindByDateRangeDto = FindByDateRangeDto;
|
24
|
-
exports.findByDateRangeResponseSchema = zod_1.default.record(zod_1.default.string(), zod_1.default.array(
|
24
|
+
exports.findByDateRangeResponseSchema = zod_1.default.record(zod_1.default.string(), zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
|
25
25
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
26
26
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
27
27
|
id: true,
|
@@ -1,9 +1,13 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
2
|
+
export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
3
3
|
id: z.ZodString;
|
4
4
|
shortId: z.ZodNumber;
|
5
|
-
|
6
|
-
|
5
|
+
firstTimeMiExpo: z.ZodBoolean;
|
6
|
+
username: z.ZodNullable<z.ZodString>;
|
7
|
+
password: z.ZodNullable<z.ZodString>;
|
8
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
9
|
+
isPhoneVerified: z.ZodBoolean;
|
10
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
7
11
|
fullName: z.ZodString;
|
8
12
|
firstName: z.ZodNullable<z.ZodString>;
|
9
13
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -19,7 +23,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
19
23
|
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
20
24
|
created_at: z.ZodDate;
|
21
25
|
updated_at: z.ZodDate;
|
22
|
-
}, {
|
26
|
+
}, "password">, {
|
23
27
|
residenceLocation: z.ZodNullable<z.ZodObject<{
|
24
28
|
id: z.ZodString;
|
25
29
|
latitude: z.ZodNumber;
|
@@ -132,6 +136,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
132
136
|
}>, "many">;
|
133
137
|
}>, "strip", z.ZodTypeAny, {
|
134
138
|
id: string;
|
139
|
+
username: string | null;
|
135
140
|
phoneNumber: string;
|
136
141
|
secondaryPhoneNumber: string | null;
|
137
142
|
fullName: string;
|
@@ -140,6 +145,8 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
140
145
|
created_at: Date;
|
141
146
|
updated_at: Date;
|
142
147
|
shortId: number;
|
148
|
+
firstTimeMiExpo: boolean;
|
149
|
+
isPhoneVerified: boolean;
|
143
150
|
firstName: string | null;
|
144
151
|
gender: string | null;
|
145
152
|
birthDate: Date | null;
|
@@ -185,6 +192,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
185
192
|
} | null;
|
186
193
|
}, {
|
187
194
|
id: string;
|
195
|
+
username: string | null;
|
188
196
|
phoneNumber: string;
|
189
197
|
secondaryPhoneNumber: string | null;
|
190
198
|
fullName: string;
|
@@ -193,6 +201,8 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
193
201
|
created_at: Date;
|
194
202
|
updated_at: Date;
|
195
203
|
shortId: number;
|
204
|
+
firstTimeMiExpo: boolean;
|
205
|
+
isPhoneVerified: boolean;
|
196
206
|
firstName: string | null;
|
197
207
|
gender: string | null;
|
198
208
|
birthDate: string | null;
|
@@ -239,24 +249,27 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
239
249
|
}>;
|
240
250
|
declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
241
251
|
id: z.ZodString;
|
242
|
-
|
243
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
244
|
-
secondaryPhoneNumber: z.ZodEffects<z.
|
252
|
+
username: z.ZodNullable<z.ZodString>;
|
253
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
254
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
245
255
|
fullName: z.ZodString;
|
256
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
257
|
+
mail: z.ZodNullable<z.ZodString>;
|
258
|
+
created_at: z.ZodString;
|
259
|
+
updated_at: z.ZodString;
|
260
|
+
shortId: z.ZodNumber;
|
261
|
+
firstTimeMiExpo: z.ZodBoolean;
|
262
|
+
isPhoneVerified: z.ZodBoolean;
|
246
263
|
firstName: z.ZodNullable<z.ZodString>;
|
247
264
|
gender: z.ZodNullable<z.ZodString>;
|
248
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
249
|
-
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
265
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
250
266
|
instagram: z.ZodNullable<z.ZodString>;
|
251
|
-
mail: z.ZodNullable<z.ZodString>;
|
252
267
|
dni: z.ZodNullable<z.ZodString>;
|
253
268
|
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
254
269
|
birthLocationId: z.ZodNullable<z.ZodString>;
|
255
270
|
residenceLocationId: z.ZodNullable<z.ZodString>;
|
256
271
|
isInTrash: z.ZodBoolean;
|
257
272
|
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
258
|
-
created_at: z.ZodString;
|
259
|
-
updated_at: z.ZodString;
|
260
273
|
residenceLocation: z.ZodNullable<z.ZodObject<{
|
261
274
|
id: z.ZodString;
|
262
275
|
latitude: z.ZodNumber;
|
@@ -365,6 +378,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
365
378
|
}>, "many">;
|
366
379
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
367
380
|
id: string;
|
381
|
+
username: string | null;
|
368
382
|
phoneNumber: string;
|
369
383
|
secondaryPhoneNumber: string | null;
|
370
384
|
fullName: string;
|
@@ -373,9 +387,11 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
373
387
|
created_at: string;
|
374
388
|
updated_at: string;
|
375
389
|
shortId: number;
|
390
|
+
firstTimeMiExpo: boolean;
|
391
|
+
isPhoneVerified: boolean;
|
376
392
|
firstName: string | null;
|
377
393
|
gender: string | null;
|
378
|
-
birthDate:
|
394
|
+
birthDate: string | null;
|
379
395
|
instagram: string | null;
|
380
396
|
dni: string | null;
|
381
397
|
alternativeNames: string[];
|
@@ -418,6 +434,7 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
418
434
|
} | null;
|
419
435
|
}, {
|
420
436
|
id: string;
|
437
|
+
username: string | null;
|
421
438
|
phoneNumber: string;
|
422
439
|
secondaryPhoneNumber: string | null;
|
423
440
|
fullName: string;
|
@@ -426,6 +443,8 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
426
443
|
created_at: string;
|
427
444
|
updated_at: string;
|
428
445
|
shortId: number;
|
446
|
+
firstTimeMiExpo: boolean;
|
447
|
+
isPhoneVerified: boolean;
|
429
448
|
firstName: string | null;
|
430
449
|
gender: string | null;
|
431
450
|
birthDate: string | null;
|
@@ -4,15 +4,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByIdProfileResponseDto = exports.findByIdProfileResponseSchema = void 0;
|
7
|
-
const
|
8
|
-
const
|
7
|
+
const location_schema_1 = require("../../schema/location.schema");
|
8
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
10
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
11
11
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
12
|
const zod_1 = __importDefault(require("zod"));
|
13
|
-
exports.findByIdProfileResponseSchema =
|
14
|
-
|
15
|
-
|
13
|
+
exports.findByIdProfileResponseSchema = profile_schema_1.profileSchema
|
14
|
+
.omit({ password: true })
|
15
|
+
.merge(zod_1.default.object({
|
16
|
+
residenceLocation: location_schema_1.locationSchema.nullable(),
|
17
|
+
birthLocation: location_schema_1.locationSchema.nullable(),
|
16
18
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
17
19
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
18
20
|
id: true,
|
@@ -1,8 +1,12 @@
|
|
1
1
|
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
|
5
|
-
|
4
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
5
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
6
|
+
password: import("zod").ZodNullable<import("zod").ZodString>;
|
7
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
8
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
9
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
6
10
|
fullName: import("zod").ZodString;
|
7
11
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
8
12
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -20,6 +24,8 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
20
24
|
updated_at: import("zod").ZodDate;
|
21
25
|
}, "strip", import("zod").ZodTypeAny, {
|
22
26
|
id: string;
|
27
|
+
username: string | null;
|
28
|
+
password: string | null;
|
23
29
|
phoneNumber: string;
|
24
30
|
secondaryPhoneNumber: string | null;
|
25
31
|
fullName: string;
|
@@ -28,6 +34,8 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
28
34
|
created_at: Date;
|
29
35
|
updated_at: Date;
|
30
36
|
shortId: number;
|
37
|
+
firstTimeMiExpo: boolean;
|
38
|
+
isPhoneVerified: boolean;
|
31
39
|
firstName: string | null;
|
32
40
|
gender: string | null;
|
33
41
|
birthDate: Date | null;
|
@@ -40,6 +48,8 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
40
48
|
movedToTrashDate: Date | null;
|
41
49
|
}, {
|
42
50
|
id: string;
|
51
|
+
username: string | null;
|
52
|
+
password: string | null;
|
43
53
|
phoneNumber: string;
|
44
54
|
secondaryPhoneNumber: string | null;
|
45
55
|
fullName: string;
|
@@ -48,6 +58,8 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
48
58
|
created_at: Date;
|
49
59
|
updated_at: Date;
|
50
60
|
shortId: number;
|
61
|
+
firstTimeMiExpo: boolean;
|
62
|
+
isPhoneVerified: boolean;
|
51
63
|
firstName: string | null;
|
52
64
|
gender: string | null;
|
53
65
|
birthDate: string | null;
|
@@ -62,12 +74,16 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
62
74
|
declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
63
75
|
id: import("zod").ZodString;
|
64
76
|
shortId: import("zod").ZodNumber;
|
65
|
-
|
66
|
-
|
77
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
78
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
79
|
+
password: import("zod").ZodNullable<import("zod").ZodString>;
|
80
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
81
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
82
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
67
83
|
fullName: import("zod").ZodString;
|
68
84
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
69
85
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
70
|
-
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").
|
86
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
|
71
87
|
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
72
88
|
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
73
89
|
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -81,6 +97,8 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
81
97
|
updated_at: import("zod").ZodString;
|
82
98
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
83
99
|
id: string;
|
100
|
+
username: string | null;
|
101
|
+
password: string | null;
|
84
102
|
phoneNumber: string;
|
85
103
|
secondaryPhoneNumber: string | null;
|
86
104
|
fullName: string;
|
@@ -89,9 +107,11 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
89
107
|
created_at: string;
|
90
108
|
updated_at: string;
|
91
109
|
shortId: number;
|
110
|
+
firstTimeMiExpo: boolean;
|
111
|
+
isPhoneVerified: boolean;
|
92
112
|
firstName: string | null;
|
93
113
|
gender: string | null;
|
94
|
-
birthDate:
|
114
|
+
birthDate: string | null;
|
95
115
|
instagram: string | null;
|
96
116
|
dni: string | null;
|
97
117
|
alternativeNames: string[];
|
@@ -101,6 +121,8 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
101
121
|
movedToTrashDate: string | null;
|
102
122
|
}, {
|
103
123
|
id: string;
|
124
|
+
username: string | null;
|
125
|
+
password: string | null;
|
104
126
|
phoneNumber: string;
|
105
127
|
secondaryPhoneNumber: string | null;
|
106
128
|
fullName: string;
|
@@ -109,6 +131,8 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
109
131
|
created_at: string;
|
110
132
|
updated_at: string;
|
111
133
|
shortId: number;
|
134
|
+
firstTimeMiExpo: boolean;
|
135
|
+
isPhoneVerified: boolean;
|
112
136
|
firstName: string | null;
|
113
137
|
gender: string | null;
|
114
138
|
birthDate: string | null;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.FindByPhoneNumberResponseDto = exports.findByPhoneNumberResponseSchema = void 0;
|
4
|
-
const
|
4
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
5
5
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
exports.findByPhoneNumberResponseSchema =
|
6
|
+
exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema;
|
7
7
|
class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
|
8
8
|
}
|
9
9
|
exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;
|