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 createProfileSchema: z.ZodObject<{
|
|
3
3
|
profile: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
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>;
|
@@ -20,7 +24,7 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
20
24
|
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
21
25
|
created_at: z.ZodDate;
|
22
26
|
updated_at: z.ZodDate;
|
23
|
-
}, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "alternativeNames">, {
|
27
|
+
}, "username" | "password" | "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "alternativeNames">, {
|
24
28
|
comments: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
25
29
|
id: z.ZodString;
|
26
30
|
content: z.ZodString;
|
@@ -85,6 +89,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
85
89
|
}>>;
|
86
90
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
87
91
|
}>, "strip", z.ZodTypeAny, {
|
92
|
+
username: string | null;
|
93
|
+
password: string | null;
|
88
94
|
phoneNumber: string;
|
89
95
|
secondaryPhoneNumber: string | null;
|
90
96
|
fullName: string;
|
@@ -115,6 +121,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
115
121
|
city: string;
|
116
122
|
} | undefined;
|
117
123
|
}, {
|
124
|
+
username: string | null;
|
125
|
+
password: string | null;
|
118
126
|
phoneNumber: string;
|
119
127
|
secondaryPhoneNumber: string | null;
|
120
128
|
fullName: string;
|
@@ -148,6 +156,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
148
156
|
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
149
157
|
}, "strip", z.ZodTypeAny, {
|
150
158
|
profile: {
|
159
|
+
username: string | null;
|
160
|
+
password: string | null;
|
151
161
|
phoneNumber: string;
|
152
162
|
secondaryPhoneNumber: string | null;
|
153
163
|
fullName: string;
|
@@ -181,6 +191,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
181
191
|
checkForSimilarity?: boolean | undefined;
|
182
192
|
}, {
|
183
193
|
profile: {
|
194
|
+
username: string | null;
|
195
|
+
password: string | null;
|
184
196
|
phoneNumber: string;
|
185
197
|
secondaryPhoneNumber: string | null;
|
186
198
|
fullName: string;
|
@@ -215,13 +227,15 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
215
227
|
}>;
|
216
228
|
declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
217
229
|
profile: z.ZodObject<{
|
218
|
-
|
219
|
-
|
230
|
+
username: z.ZodNullable<z.ZodString>;
|
231
|
+
password: z.ZodNullable<z.ZodString>;
|
232
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
233
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
220
234
|
fullName: z.ZodString;
|
221
235
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
222
236
|
mail: z.ZodNullable<z.ZodString>;
|
223
237
|
gender: z.ZodNullable<z.ZodString>;
|
224
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
238
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
225
239
|
instagram: z.ZodNullable<z.ZodString>;
|
226
240
|
dni: z.ZodNullable<z.ZodString>;
|
227
241
|
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
@@ -275,13 +289,15 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
275
289
|
}>>;
|
276
290
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
277
291
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
292
|
+
username: string | null;
|
293
|
+
password: string | null;
|
278
294
|
phoneNumber: string;
|
279
295
|
secondaryPhoneNumber: string | null;
|
280
296
|
fullName: string;
|
281
297
|
profilePictureUrl: string | null;
|
282
298
|
mail: string | null;
|
283
299
|
gender: string | null;
|
284
|
-
birthDate:
|
300
|
+
birthDate: string | null;
|
285
301
|
instagram: string | null;
|
286
302
|
dni: string | null;
|
287
303
|
alternativeNames: string[];
|
@@ -305,6 +321,8 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
305
321
|
city: string;
|
306
322
|
} | undefined;
|
307
323
|
}, {
|
324
|
+
username: string | null;
|
325
|
+
password: string | null;
|
308
326
|
phoneNumber: string;
|
309
327
|
secondaryPhoneNumber: string | null;
|
310
328
|
fullName: string;
|
@@ -338,13 +356,15 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
338
356
|
checkForSimilarity: z.ZodOptional<z.ZodBoolean>;
|
339
357
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
340
358
|
profile: {
|
359
|
+
username: string | null;
|
360
|
+
password: string | null;
|
341
361
|
phoneNumber: string;
|
342
362
|
secondaryPhoneNumber: string | null;
|
343
363
|
fullName: string;
|
344
364
|
profilePictureUrl: string | null;
|
345
365
|
mail: string | null;
|
346
366
|
gender: string | null;
|
347
|
-
birthDate:
|
367
|
+
birthDate: string | null;
|
348
368
|
instagram: string | null;
|
349
369
|
dni: string | null;
|
350
370
|
alternativeNames: string[];
|
@@ -371,6 +391,8 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
371
391
|
checkForSimilarity?: boolean | undefined;
|
372
392
|
}, {
|
373
393
|
profile: {
|
394
|
+
username: string | null;
|
395
|
+
password: string | null;
|
374
396
|
phoneNumber: string;
|
375
397
|
secondaryPhoneNumber: string | null;
|
376
398
|
fullName: string;
|
@@ -409,8 +431,12 @@ declare const similarProfileSchema: z.ZodObject<{
|
|
409
431
|
profile: z.ZodObject<Pick<{
|
410
432
|
id: z.ZodString;
|
411
433
|
shortId: z.ZodNumber;
|
412
|
-
|
413
|
-
|
434
|
+
firstTimeMiExpo: z.ZodBoolean;
|
435
|
+
username: z.ZodNullable<z.ZodString>;
|
436
|
+
password: z.ZodNullable<z.ZodString>;
|
437
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
438
|
+
isPhoneVerified: z.ZodBoolean;
|
439
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
414
440
|
fullName: z.ZodString;
|
415
441
|
firstName: z.ZodNullable<z.ZodString>;
|
416
442
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -460,8 +486,12 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
460
486
|
profile: z.ZodObject<Pick<{
|
461
487
|
id: z.ZodString;
|
462
488
|
shortId: z.ZodNumber;
|
463
|
-
|
464
|
-
|
489
|
+
firstTimeMiExpo: z.ZodBoolean;
|
490
|
+
username: z.ZodNullable<z.ZodString>;
|
491
|
+
password: z.ZodNullable<z.ZodString>;
|
492
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
493
|
+
isPhoneVerified: z.ZodBoolean;
|
494
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
465
495
|
fullName: z.ZodString;
|
466
496
|
firstName: z.ZodNullable<z.ZodString>;
|
467
497
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -579,8 +609,12 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
579
609
|
profile: z.ZodObject<Pick<{
|
580
610
|
id: z.ZodString;
|
581
611
|
shortId: z.ZodNumber;
|
582
|
-
|
583
|
-
|
612
|
+
firstTimeMiExpo: z.ZodBoolean;
|
613
|
+
username: z.ZodNullable<z.ZodString>;
|
614
|
+
password: z.ZodNullable<z.ZodString>;
|
615
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
616
|
+
isPhoneVerified: z.ZodBoolean;
|
617
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
584
618
|
fullName: z.ZodString;
|
585
619
|
firstName: z.ZodNullable<z.ZodString>;
|
586
620
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.CreateProfileResponseDto = exports.createProfileResponseSchema = exports.CreateProfileDto = exports.createProfileSchema = void 0;
|
7
7
|
const comment_dto_1 = require("../../comment/dto/comment.dto");
|
8
|
-
const
|
9
|
-
const
|
8
|
+
const location_schema_1 = require("../../schema/location.schema");
|
9
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
10
10
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
11
11
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
12
|
const zod_1 = __importDefault(require("zod"));
|
13
13
|
exports.createProfileSchema = zod_1.default.object({
|
14
|
-
profile:
|
14
|
+
profile: profile_schema_1.profileSchema
|
15
15
|
.pick({
|
16
16
|
alternativeNames: true,
|
17
17
|
birthDate: true,
|
@@ -23,6 +23,8 @@ exports.createProfileSchema = zod_1.default.object({
|
|
23
23
|
phoneNumber: true,
|
24
24
|
profilePictureUrl: true,
|
25
25
|
secondaryPhoneNumber: true,
|
26
|
+
username: true,
|
27
|
+
password: true,
|
26
28
|
})
|
27
29
|
.merge(zod_1.default.object({
|
28
30
|
comments: zod_1.default
|
@@ -31,7 +33,7 @@ exports.createProfileSchema = zod_1.default.object({
|
|
31
33
|
isSolvable: true,
|
32
34
|
}))
|
33
35
|
.optional(),
|
34
|
-
residence:
|
36
|
+
residence: location_schema_1.locationSchema
|
35
37
|
.pick({
|
36
38
|
city: true,
|
37
39
|
country: true,
|
@@ -40,7 +42,7 @@ exports.createProfileSchema = zod_1.default.object({
|
|
40
42
|
state: true,
|
41
43
|
})
|
42
44
|
.optional(),
|
43
|
-
birth:
|
45
|
+
birth: location_schema_1.locationSchema
|
44
46
|
.pick({
|
45
47
|
city: true,
|
46
48
|
country: true,
|
@@ -57,7 +59,7 @@ class CreateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWit
|
|
57
59
|
}
|
58
60
|
exports.CreateProfileDto = CreateProfileDto;
|
59
61
|
const similarProfileSchema = zod_1.default.object({
|
60
|
-
profile:
|
62
|
+
profile: profile_schema_1.profileSchema.pick({
|
61
63
|
fullName: true,
|
62
64
|
phoneNumber: true,
|
63
65
|
id: true,
|
@@ -69,7 +71,7 @@ const similarityProfileSchema = zod_1.default.object({
|
|
69
71
|
similarProfiles: zod_1.default.array(similarProfileSchema),
|
70
72
|
});
|
71
73
|
const createdProfileSchema = zod_1.default.object({
|
72
|
-
id:
|
74
|
+
id: profile_schema_1.profileSchema.shape.id,
|
73
75
|
});
|
74
76
|
const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
|
75
77
|
similarityProfileSchema.extend({
|
@@ -1,8 +1,12 @@
|
|
1
1
|
export declare const deleteProfileResponseSchema: 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 deleteProfileResponseSchema: 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 deleteProfileResponseSchema: 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 deleteProfileResponseSchema: 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 deleteProfileResponseSchema: 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 deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
62
74
|
declare const DeleteProfileResponseDto_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 DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
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 DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
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 DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
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 DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
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.DeleteProfileResponseDto = exports.deleteProfileResponseSchema = 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.deleteProfileResponseSchema =
|
6
|
+
exports.deleteProfileResponseSchema = profile_schema_1.profileSchema;
|
7
7
|
class DeleteProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProfileResponseSchema) {
|
8
8
|
}
|
9
9
|
exports.DeleteProfileResponseDto = DeleteProfileResponseDto;
|
@@ -3,8 +3,12 @@ export declare const findAllProfileResponseSchema: 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>;
|
@@ -73,6 +77,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
73
77
|
}>, "many">;
|
74
78
|
}>, "strip", z.ZodTypeAny, {
|
75
79
|
id: string;
|
80
|
+
username: string | null;
|
81
|
+
password: string | null;
|
76
82
|
phoneNumber: string;
|
77
83
|
secondaryPhoneNumber: string | null;
|
78
84
|
fullName: string;
|
@@ -81,6 +87,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
81
87
|
created_at: Date;
|
82
88
|
updated_at: Date;
|
83
89
|
shortId: number;
|
90
|
+
firstTimeMiExpo: boolean;
|
91
|
+
isPhoneVerified: boolean;
|
84
92
|
firstName: string | null;
|
85
93
|
gender: string | null;
|
86
94
|
birthDate: Date | null;
|
@@ -105,6 +113,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
105
113
|
}[];
|
106
114
|
}, {
|
107
115
|
id: string;
|
116
|
+
username: string | null;
|
117
|
+
password: string | null;
|
108
118
|
phoneNumber: string;
|
109
119
|
secondaryPhoneNumber: string | null;
|
110
120
|
fullName: string;
|
@@ -113,6 +123,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
113
123
|
created_at: Date;
|
114
124
|
updated_at: Date;
|
115
125
|
shortId: number;
|
126
|
+
firstTimeMiExpo: boolean;
|
127
|
+
isPhoneVerified: boolean;
|
116
128
|
firstName: string | null;
|
117
129
|
gender: string | null;
|
118
130
|
birthDate: string | null;
|
@@ -139,6 +151,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
139
151
|
}, "strip", z.ZodTypeAny, {
|
140
152
|
profiles: {
|
141
153
|
id: string;
|
154
|
+
username: string | null;
|
155
|
+
password: string | null;
|
142
156
|
phoneNumber: string;
|
143
157
|
secondaryPhoneNumber: string | null;
|
144
158
|
fullName: string;
|
@@ -147,6 +161,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
147
161
|
created_at: Date;
|
148
162
|
updated_at: Date;
|
149
163
|
shortId: number;
|
164
|
+
firstTimeMiExpo: boolean;
|
165
|
+
isPhoneVerified: boolean;
|
150
166
|
firstName: string | null;
|
151
167
|
gender: string | null;
|
152
168
|
birthDate: Date | null;
|
@@ -173,6 +189,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
173
189
|
}, {
|
174
190
|
profiles: {
|
175
191
|
id: string;
|
192
|
+
username: string | null;
|
193
|
+
password: string | null;
|
176
194
|
phoneNumber: string;
|
177
195
|
secondaryPhoneNumber: string | null;
|
178
196
|
fullName: string;
|
@@ -181,6 +199,8 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
181
199
|
created_at: Date;
|
182
200
|
updated_at: Date;
|
183
201
|
shortId: number;
|
202
|
+
firstTimeMiExpo: boolean;
|
203
|
+
isPhoneVerified: boolean;
|
184
204
|
firstName: string | null;
|
185
205
|
gender: string | null;
|
186
206
|
birthDate: string | null;
|
@@ -209,12 +229,16 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
209
229
|
profiles: z.ZodArray<z.ZodObject<{
|
210
230
|
id: z.ZodString;
|
211
231
|
shortId: z.ZodNumber;
|
212
|
-
|
213
|
-
|
232
|
+
firstTimeMiExpo: z.ZodBoolean;
|
233
|
+
username: z.ZodNullable<z.ZodString>;
|
234
|
+
password: z.ZodNullable<z.ZodString>;
|
235
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
236
|
+
isPhoneVerified: z.ZodBoolean;
|
237
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
214
238
|
fullName: z.ZodString;
|
215
239
|
firstName: z.ZodNullable<z.ZodString>;
|
216
240
|
gender: z.ZodNullable<z.ZodString>;
|
217
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
241
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
218
242
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
219
243
|
instagram: z.ZodNullable<z.ZodString>;
|
220
244
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -273,6 +297,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
273
297
|
}>, "many">;
|
274
298
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
275
299
|
id: string;
|
300
|
+
username: string | null;
|
301
|
+
password: string | null;
|
276
302
|
phoneNumber: string;
|
277
303
|
secondaryPhoneNumber: string | null;
|
278
304
|
fullName: string;
|
@@ -281,9 +307,11 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
281
307
|
created_at: string;
|
282
308
|
updated_at: string;
|
283
309
|
shortId: number;
|
310
|
+
firstTimeMiExpo: boolean;
|
311
|
+
isPhoneVerified: boolean;
|
284
312
|
firstName: string | null;
|
285
313
|
gender: string | null;
|
286
|
-
birthDate:
|
314
|
+
birthDate: string | null;
|
287
315
|
instagram: string | null;
|
288
316
|
dni: string | null;
|
289
317
|
alternativeNames: string[];
|
@@ -305,6 +333,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
305
333
|
}[];
|
306
334
|
}, {
|
307
335
|
id: string;
|
336
|
+
username: string | null;
|
337
|
+
password: string | null;
|
308
338
|
phoneNumber: string;
|
309
339
|
secondaryPhoneNumber: string | null;
|
310
340
|
fullName: string;
|
@@ -313,6 +343,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
313
343
|
created_at: string;
|
314
344
|
updated_at: string;
|
315
345
|
shortId: number;
|
346
|
+
firstTimeMiExpo: boolean;
|
347
|
+
isPhoneVerified: boolean;
|
316
348
|
firstName: string | null;
|
317
349
|
gender: string | null;
|
318
350
|
birthDate: string | null;
|
@@ -339,6 +371,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
339
371
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
340
372
|
profiles: {
|
341
373
|
id: string;
|
374
|
+
username: string | null;
|
375
|
+
password: string | null;
|
342
376
|
phoneNumber: string;
|
343
377
|
secondaryPhoneNumber: string | null;
|
344
378
|
fullName: string;
|
@@ -347,9 +381,11 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
347
381
|
created_at: string;
|
348
382
|
updated_at: string;
|
349
383
|
shortId: number;
|
384
|
+
firstTimeMiExpo: boolean;
|
385
|
+
isPhoneVerified: boolean;
|
350
386
|
firstName: string | null;
|
351
387
|
gender: string | null;
|
352
|
-
birthDate:
|
388
|
+
birthDate: string | null;
|
353
389
|
instagram: string | null;
|
354
390
|
dni: string | null;
|
355
391
|
alternativeNames: string[];
|
@@ -373,6 +409,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
373
409
|
}, {
|
374
410
|
profiles: {
|
375
411
|
id: string;
|
412
|
+
username: string | null;
|
413
|
+
password: string | null;
|
376
414
|
phoneNumber: string;
|
377
415
|
secondaryPhoneNumber: string | null;
|
378
416
|
fullName: string;
|
@@ -381,6 +419,8 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
381
419
|
created_at: string;
|
382
420
|
updated_at: string;
|
383
421
|
shortId: number;
|
422
|
+
firstTimeMiExpo: boolean;
|
423
|
+
isPhoneVerified: boolean;
|
384
424
|
firstName: string | null;
|
385
425
|
gender: string | null;
|
386
426
|
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.FindAllProfileResponseDto = exports.findAllProfileResponseSchema = 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.findAllProfileResponseSchema = 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
|
color: true,
|