expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/exports.d.ts +2 -3
- package/dist/src/exports.js +2 -3
- package/dist/src/i18n/es.d.ts +63 -20
- package/dist/src/i18n/es.js +63 -20
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
- package/dist/src/location/exports.d.ts +1 -0
- package/dist/src/location/exports.js +1 -0
- 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/message/dto/template.dto.d.ts +2 -2
- package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
- package/dist/src/profile/dto/create-profile.dto.js +7 -9
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
- 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 +11 -75
- 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 +13 -32
- package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
- 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 +7 -47
- 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 +7 -47
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +30 -44
- package/dist/src/profile/dto/profile.dto.js +63 -6
- package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
- package/dist/src/profile/dto/update-profile.dto.js +6 -9
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
- package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +130 -0
- package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +73 -0
- package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +73 -0
- package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
- package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +74 -0
- package/dist/src/ticket/dto/ticket.dto.js +29 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +121 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
- package/dist/src/ticket/exports.d.ts +10 -0
- package/dist/src/{otp → ticket}/exports.js +10 -2
- package/dist/types/prisma-schema/edge.js +47 -38
- package/dist/types/prisma-schema/index-browser.js +32 -18
- package/dist/types/prisma-schema/index.d.ts +4311 -5988
- package/dist/types/prisma-schema/index.js +47 -38
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +2 -8
- 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 +1 -3
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
- 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 +32 -23
- package/dist/types/prisma-schema/wasm.js +32 -18
- package/dist/types/schema.d.ts +334 -316
- package/package.json +41 -32
- package/dist/src/image/constants.d.ts +0 -5
- package/dist/src/image/constants.js +0 -9
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
- package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
- package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
- package/dist/src/mi-expo/dto/login.dto.js +0 -31
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
- package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
- package/dist/src/mi-expo/exports.d.ts +0 -4
- package/dist/src/mi-expo/exports.js +0 -21
- package/dist/src/otp/constants.d.ts +0 -2
- package/dist/src/otp/constants.js +0 -6
- package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
- package/dist/src/otp/dto/send-otp.dto.js +0 -35
- package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
- package/dist/src/otp/dto/verify-otp.dto.js +0 -46
- package/dist/src/otp/exports.d.ts +0 -2
- package/dist/src/prisma/constants.d.ts +0 -1
- package/dist/src/prisma/constants.js +0 -5
- package/dist/src/schema/exports.d.ts +0 -2
- package/dist/src/schema/exports.js +0 -19
- package/dist/src/schema/profile.schema.d.ts +0 -74
- package/dist/src/schema/profile.schema.js +0 -133
- package/dist/src/webhook/constants.d.ts +0 -1
- package/dist/src/webhook/constants.js +0 -5
- /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -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_dto_1 = require("./profile.dto");
|
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_dto_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_dto_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,13 +1,9 @@
|
|
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<{
|
3
3
|
id: z.ZodString;
|
4
4
|
shortId: z.ZodNumber;
|
5
|
-
|
6
|
-
|
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>>;
|
5
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
11
7
|
fullName: z.ZodString;
|
12
8
|
firstName: z.ZodNullable<z.ZodString>;
|
13
9
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -23,7 +19,7 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
23
19
|
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
24
20
|
created_at: z.ZodDate;
|
25
21
|
updated_at: z.ZodDate;
|
26
|
-
},
|
22
|
+
}, {
|
27
23
|
residenceLocation: z.ZodNullable<z.ZodObject<{
|
28
24
|
id: z.ZodString;
|
29
25
|
latitude: z.ZodNumber;
|
@@ -136,7 +132,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
136
132
|
}>, "many">;
|
137
133
|
}>, "strip", z.ZodTypeAny, {
|
138
134
|
id: string;
|
139
|
-
username: string | null;
|
140
135
|
phoneNumber: string;
|
141
136
|
secondaryPhoneNumber: string | null;
|
142
137
|
fullName: string;
|
@@ -145,8 +140,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
145
140
|
created_at: Date;
|
146
141
|
updated_at: Date;
|
147
142
|
shortId: number;
|
148
|
-
firstTimeMiExpo: boolean;
|
149
|
-
isPhoneVerified: boolean;
|
150
143
|
firstName: string | null;
|
151
144
|
gender: string | null;
|
152
145
|
birthDate: Date | null;
|
@@ -192,7 +185,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
192
185
|
} | null;
|
193
186
|
}, {
|
194
187
|
id: string;
|
195
|
-
username: string | null;
|
196
188
|
phoneNumber: string;
|
197
189
|
secondaryPhoneNumber: string | null;
|
198
190
|
fullName: string;
|
@@ -201,8 +193,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
201
193
|
created_at: Date;
|
202
194
|
updated_at: Date;
|
203
195
|
shortId: number;
|
204
|
-
firstTimeMiExpo: boolean;
|
205
|
-
isPhoneVerified: boolean;
|
206
196
|
firstName: string | null;
|
207
197
|
gender: string | null;
|
208
198
|
birthDate: string | null;
|
@@ -249,27 +239,24 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
249
239
|
}>;
|
250
240
|
declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
251
241
|
id: z.ZodString;
|
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>>;
|
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
242
|
shortId: z.ZodNumber;
|
261
|
-
|
262
|
-
|
243
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
244
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
245
|
+
fullName: z.ZodString;
|
263
246
|
firstName: z.ZodNullable<z.ZodString>;
|
264
247
|
gender: z.ZodNullable<z.ZodString>;
|
265
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
248
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
249
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
266
250
|
instagram: z.ZodNullable<z.ZodString>;
|
251
|
+
mail: z.ZodNullable<z.ZodString>;
|
267
252
|
dni: z.ZodNullable<z.ZodString>;
|
268
253
|
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
269
254
|
birthLocationId: z.ZodNullable<z.ZodString>;
|
270
255
|
residenceLocationId: z.ZodNullable<z.ZodString>;
|
271
256
|
isInTrash: z.ZodBoolean;
|
272
257
|
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
258
|
+
created_at: z.ZodString;
|
259
|
+
updated_at: z.ZodString;
|
273
260
|
residenceLocation: z.ZodNullable<z.ZodObject<{
|
274
261
|
id: z.ZodString;
|
275
262
|
latitude: z.ZodNumber;
|
@@ -378,7 +365,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
378
365
|
}>, "many">;
|
379
366
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
380
367
|
id: string;
|
381
|
-
username: string | null;
|
382
368
|
phoneNumber: string;
|
383
369
|
secondaryPhoneNumber: string | null;
|
384
370
|
fullName: string;
|
@@ -387,11 +373,9 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
387
373
|
created_at: string;
|
388
374
|
updated_at: string;
|
389
375
|
shortId: number;
|
390
|
-
firstTimeMiExpo: boolean;
|
391
|
-
isPhoneVerified: boolean;
|
392
376
|
firstName: string | null;
|
393
377
|
gender: string | null;
|
394
|
-
birthDate:
|
378
|
+
birthDate: Date | null;
|
395
379
|
instagram: string | null;
|
396
380
|
dni: string | null;
|
397
381
|
alternativeNames: string[];
|
@@ -434,7 +418,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
434
418
|
} | null;
|
435
419
|
}, {
|
436
420
|
id: string;
|
437
|
-
username: string | null;
|
438
421
|
phoneNumber: string;
|
439
422
|
secondaryPhoneNumber: string | null;
|
440
423
|
fullName: string;
|
@@ -443,8 +426,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
443
426
|
created_at: string;
|
444
427
|
updated_at: string;
|
445
428
|
shortId: number;
|
446
|
-
firstTimeMiExpo: boolean;
|
447
|
-
isPhoneVerified: boolean;
|
448
429
|
firstName: string | null;
|
449
430
|
gender: string | null;
|
450
431
|
birthDate: string | null;
|
@@ -4,17 +4,15 @@ 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_dto_1 = require("../../location/dto/location.dto");
|
8
|
+
const profile_dto_1 = require("./profile.dto");
|
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
|
-
.
|
16
|
-
residenceLocation: location_schema_1.locationSchema.nullable(),
|
17
|
-
birthLocation: location_schema_1.locationSchema.nullable(),
|
13
|
+
exports.findByIdProfileResponseSchema = profile_dto_1.profileSchema.merge(zod_1.default.object({
|
14
|
+
residenceLocation: location_dto_1.locationSchema.nullable(),
|
15
|
+
birthLocation: location_dto_1.locationSchema.nullable(),
|
18
16
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
19
17
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
20
18
|
id: true,
|
@@ -1,12 +1,8 @@
|
|
1
1
|
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
|
5
|
-
|
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>>;
|
4
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
5
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
10
6
|
fullName: import("zod").ZodString;
|
11
7
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
12
8
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -24,8 +20,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
24
20
|
updated_at: import("zod").ZodDate;
|
25
21
|
}, "strip", import("zod").ZodTypeAny, {
|
26
22
|
id: string;
|
27
|
-
username: string | null;
|
28
|
-
password: string | null;
|
29
23
|
phoneNumber: string;
|
30
24
|
secondaryPhoneNumber: string | null;
|
31
25
|
fullName: string;
|
@@ -34,8 +28,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
34
28
|
created_at: Date;
|
35
29
|
updated_at: Date;
|
36
30
|
shortId: number;
|
37
|
-
firstTimeMiExpo: boolean;
|
38
|
-
isPhoneVerified: boolean;
|
39
31
|
firstName: string | null;
|
40
32
|
gender: string | null;
|
41
33
|
birthDate: Date | null;
|
@@ -48,8 +40,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
48
40
|
movedToTrashDate: Date | null;
|
49
41
|
}, {
|
50
42
|
id: string;
|
51
|
-
username: string | null;
|
52
|
-
password: string | null;
|
53
43
|
phoneNumber: string;
|
54
44
|
secondaryPhoneNumber: string | null;
|
55
45
|
fullName: string;
|
@@ -58,8 +48,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
58
48
|
created_at: Date;
|
59
49
|
updated_at: Date;
|
60
50
|
shortId: number;
|
61
|
-
firstTimeMiExpo: boolean;
|
62
|
-
isPhoneVerified: boolean;
|
63
51
|
firstName: string | null;
|
64
52
|
gender: string | null;
|
65
53
|
birthDate: string | null;
|
@@ -74,16 +62,12 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
74
62
|
declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
75
63
|
id: import("zod").ZodString;
|
76
64
|
shortId: import("zod").ZodNumber;
|
77
|
-
|
78
|
-
|
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>>;
|
65
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
66
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
83
67
|
fullName: import("zod").ZodString;
|
84
68
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
85
69
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
86
|
-
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").
|
70
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
87
71
|
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
88
72
|
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
89
73
|
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -97,8 +81,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
97
81
|
updated_at: import("zod").ZodString;
|
98
82
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
99
83
|
id: string;
|
100
|
-
username: string | null;
|
101
|
-
password: string | null;
|
102
84
|
phoneNumber: string;
|
103
85
|
secondaryPhoneNumber: string | null;
|
104
86
|
fullName: string;
|
@@ -107,11 +89,9 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
107
89
|
created_at: string;
|
108
90
|
updated_at: string;
|
109
91
|
shortId: number;
|
110
|
-
firstTimeMiExpo: boolean;
|
111
|
-
isPhoneVerified: boolean;
|
112
92
|
firstName: string | null;
|
113
93
|
gender: string | null;
|
114
|
-
birthDate:
|
94
|
+
birthDate: Date | null;
|
115
95
|
instagram: string | null;
|
116
96
|
dni: string | null;
|
117
97
|
alternativeNames: string[];
|
@@ -121,8 +101,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
121
101
|
movedToTrashDate: string | null;
|
122
102
|
}, {
|
123
103
|
id: string;
|
124
|
-
username: string | null;
|
125
|
-
password: string | null;
|
126
104
|
phoneNumber: string;
|
127
105
|
secondaryPhoneNumber: string | null;
|
128
106
|
fullName: string;
|
@@ -131,8 +109,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
131
109
|
created_at: string;
|
132
110
|
updated_at: string;
|
133
111
|
shortId: number;
|
134
|
-
firstTimeMiExpo: boolean;
|
135
|
-
isPhoneVerified: boolean;
|
136
112
|
firstName: string | null;
|
137
113
|
gender: string | null;
|
138
114
|
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_dto_1 = require("./profile.dto");
|
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_dto_1.profileSchema;
|
7
7
|
class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
|
8
8
|
}
|
9
9
|
exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;
|
@@ -3,12 +3,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
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>>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
7
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
12
8
|
fullName: z.ZodString;
|
13
9
|
firstName: z.ZodNullable<z.ZodString>;
|
14
10
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -54,8 +50,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
54
50
|
}>, "many">;
|
55
51
|
}>, "strip", z.ZodTypeAny, {
|
56
52
|
id: string;
|
57
|
-
username: string | null;
|
58
|
-
password: string | null;
|
59
53
|
phoneNumber: string;
|
60
54
|
secondaryPhoneNumber: string | null;
|
61
55
|
fullName: string;
|
@@ -64,8 +58,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
64
58
|
created_at: Date;
|
65
59
|
updated_at: Date;
|
66
60
|
shortId: number;
|
67
|
-
firstTimeMiExpo: boolean;
|
68
|
-
isPhoneVerified: boolean;
|
69
61
|
firstName: string | null;
|
70
62
|
gender: string | null;
|
71
63
|
birthDate: Date | null;
|
@@ -86,8 +78,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
86
78
|
}[];
|
87
79
|
}, {
|
88
80
|
id: string;
|
89
|
-
username: string | null;
|
90
|
-
password: string | null;
|
91
81
|
phoneNumber: string;
|
92
82
|
secondaryPhoneNumber: string | null;
|
93
83
|
fullName: string;
|
@@ -96,8 +86,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
96
86
|
created_at: Date;
|
97
87
|
updated_at: Date;
|
98
88
|
shortId: number;
|
99
|
-
firstTimeMiExpo: boolean;
|
100
|
-
isPhoneVerified: boolean;
|
101
89
|
firstName: string | null;
|
102
90
|
gender: string | null;
|
103
91
|
birthDate: string | null;
|
@@ -120,8 +108,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
120
108
|
}, "strip", z.ZodTypeAny, {
|
121
109
|
profiles: {
|
122
110
|
id: string;
|
123
|
-
username: string | null;
|
124
|
-
password: string | null;
|
125
111
|
phoneNumber: string;
|
126
112
|
secondaryPhoneNumber: string | null;
|
127
113
|
fullName: string;
|
@@ -130,8 +116,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
130
116
|
created_at: Date;
|
131
117
|
updated_at: Date;
|
132
118
|
shortId: number;
|
133
|
-
firstTimeMiExpo: boolean;
|
134
|
-
isPhoneVerified: boolean;
|
135
119
|
firstName: string | null;
|
136
120
|
gender: string | null;
|
137
121
|
birthDate: Date | null;
|
@@ -154,8 +138,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
154
138
|
}, {
|
155
139
|
profiles: {
|
156
140
|
id: string;
|
157
|
-
username: string | null;
|
158
|
-
password: string | null;
|
159
141
|
phoneNumber: string;
|
160
142
|
secondaryPhoneNumber: string | null;
|
161
143
|
fullName: string;
|
@@ -164,8 +146,6 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
164
146
|
created_at: Date;
|
165
147
|
updated_at: Date;
|
166
148
|
shortId: number;
|
167
|
-
firstTimeMiExpo: boolean;
|
168
|
-
isPhoneVerified: boolean;
|
169
149
|
firstName: string | null;
|
170
150
|
gender: string | null;
|
171
151
|
birthDate: string | null;
|
@@ -190,16 +170,12 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
190
170
|
profiles: z.ZodArray<z.ZodObject<{
|
191
171
|
id: z.ZodString;
|
192
172
|
shortId: z.ZodNumber;
|
193
|
-
|
194
|
-
|
195
|
-
password: z.ZodNullable<z.ZodString>;
|
196
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
197
|
-
isPhoneVerified: z.ZodBoolean;
|
198
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
173
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
174
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
199
175
|
fullName: z.ZodString;
|
200
176
|
firstName: z.ZodNullable<z.ZodString>;
|
201
177
|
gender: z.ZodNullable<z.ZodString>;
|
202
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
178
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
203
179
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
204
180
|
instagram: z.ZodNullable<z.ZodString>;
|
205
181
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -240,8 +216,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
240
216
|
}>, "many">;
|
241
217
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
242
218
|
id: string;
|
243
|
-
username: string | null;
|
244
|
-
password: string | null;
|
245
219
|
phoneNumber: string;
|
246
220
|
secondaryPhoneNumber: string | null;
|
247
221
|
fullName: string;
|
@@ -250,11 +224,9 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
250
224
|
created_at: string;
|
251
225
|
updated_at: string;
|
252
226
|
shortId: number;
|
253
|
-
firstTimeMiExpo: boolean;
|
254
|
-
isPhoneVerified: boolean;
|
255
227
|
firstName: string | null;
|
256
228
|
gender: string | null;
|
257
|
-
birthDate:
|
229
|
+
birthDate: Date | null;
|
258
230
|
instagram: string | null;
|
259
231
|
dni: string | null;
|
260
232
|
alternativeNames: string[];
|
@@ -272,8 +244,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
272
244
|
}[];
|
273
245
|
}, {
|
274
246
|
id: string;
|
275
|
-
username: string | null;
|
276
|
-
password: string | null;
|
277
247
|
phoneNumber: string;
|
278
248
|
secondaryPhoneNumber: string | null;
|
279
249
|
fullName: string;
|
@@ -282,8 +252,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
282
252
|
created_at: string;
|
283
253
|
updated_at: string;
|
284
254
|
shortId: number;
|
285
|
-
firstTimeMiExpo: boolean;
|
286
|
-
isPhoneVerified: boolean;
|
287
255
|
firstName: string | null;
|
288
256
|
gender: string | null;
|
289
257
|
birthDate: string | null;
|
@@ -306,8 +274,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
306
274
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
307
275
|
profiles: {
|
308
276
|
id: string;
|
309
|
-
username: string | null;
|
310
|
-
password: string | null;
|
311
277
|
phoneNumber: string;
|
312
278
|
secondaryPhoneNumber: string | null;
|
313
279
|
fullName: string;
|
@@ -316,11 +282,9 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
316
282
|
created_at: string;
|
317
283
|
updated_at: string;
|
318
284
|
shortId: number;
|
319
|
-
firstTimeMiExpo: boolean;
|
320
|
-
isPhoneVerified: boolean;
|
321
285
|
firstName: string | null;
|
322
286
|
gender: string | null;
|
323
|
-
birthDate:
|
287
|
+
birthDate: Date | null;
|
324
288
|
instagram: string | null;
|
325
289
|
dni: string | null;
|
326
290
|
alternativeNames: string[];
|
@@ -340,8 +304,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
340
304
|
}, {
|
341
305
|
profiles: {
|
342
306
|
id: string;
|
343
|
-
username: string | null;
|
344
|
-
password: string | null;
|
345
307
|
phoneNumber: string;
|
346
308
|
secondaryPhoneNumber: string | null;
|
347
309
|
fullName: string;
|
@@ -350,8 +312,6 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
350
312
|
created_at: string;
|
351
313
|
updated_at: string;
|
352
314
|
shortId: number;
|
353
|
-
firstTimeMiExpo: boolean;
|
354
|
-
isPhoneVerified: boolean;
|
355
315
|
firstName: string | null;
|
356
316
|
gender: string | null;
|
357
317
|
birthDate: string | null;
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByTagGroupsProfileResponseDto = exports.findByTagGroupsProfileResponseSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_dto_1 = require("./profile.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
|
12
|
-
profiles: zod_1.default.array(
|
12
|
+
profiles: zod_1.default.array(profile_dto_1.profileSchema.merge(zod_1.default.object({
|
13
13
|
tags: zod_1.default.array(tag_dto_1.tagSchema),
|
14
14
|
}))),
|
15
15
|
});
|