expo-backend-types 0.30.0-EXPO-308-auth.26 → 0.30.0-EXPO-309-Migrar-Configuracion.5
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 +1 -3
- package/dist/src/exports.js +1 -3
- package/dist/src/i18n/es.d.ts +0 -20
- package/dist/src/i18n/es.js +0 -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/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 +6 -30
- package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -5
- 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/types/prisma-schema/edge.js +24 -38
- package/dist/types/prisma-schema/index-browser.js +9 -18
- package/dist/types/prisma-schema/index.d.ts +553 -3904
- package/dist/types/prisma-schema/index.js +24 -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 -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 +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +133 -177
- package/dist/types/prisma-schema/runtime/library.js +51 -51
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +1 -22
- package/dist/types/prisma-schema/wasm.js +9 -18
- package/dist/types/schema.d.ts +6 -429
- package/package.json +17 -23
- 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/otp/exports.js +0 -19
- 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
@@ -3,12 +3,8 @@ 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
|
-
|
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>;
|
@@ -77,8 +73,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
77
73
|
}>, "many">;
|
78
74
|
}>, "strip", z.ZodTypeAny, {
|
79
75
|
id: string;
|
80
|
-
username: string | null;
|
81
|
-
password: string | null;
|
82
76
|
phoneNumber: string;
|
83
77
|
secondaryPhoneNumber: string | null;
|
84
78
|
fullName: string;
|
@@ -87,8 +81,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
87
81
|
created_at: Date;
|
88
82
|
updated_at: Date;
|
89
83
|
shortId: number;
|
90
|
-
firstTimeMiExpo: boolean;
|
91
|
-
isPhoneVerified: boolean;
|
92
84
|
firstName: string | null;
|
93
85
|
gender: string | null;
|
94
86
|
birthDate: Date | null;
|
@@ -113,8 +105,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
113
105
|
}[];
|
114
106
|
}, {
|
115
107
|
id: string;
|
116
|
-
username: string | null;
|
117
|
-
password: string | null;
|
118
108
|
phoneNumber: string;
|
119
109
|
secondaryPhoneNumber: string | null;
|
120
110
|
fullName: string;
|
@@ -123,8 +113,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
123
113
|
created_at: Date;
|
124
114
|
updated_at: Date;
|
125
115
|
shortId: number;
|
126
|
-
firstTimeMiExpo: boolean;
|
127
|
-
isPhoneVerified: boolean;
|
128
116
|
firstName: string | null;
|
129
117
|
gender: string | null;
|
130
118
|
birthDate: string | null;
|
@@ -151,8 +139,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
151
139
|
}, "strip", z.ZodTypeAny, {
|
152
140
|
profiles: {
|
153
141
|
id: string;
|
154
|
-
username: string | null;
|
155
|
-
password: string | null;
|
156
142
|
phoneNumber: string;
|
157
143
|
secondaryPhoneNumber: string | null;
|
158
144
|
fullName: string;
|
@@ -161,8 +147,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
161
147
|
created_at: Date;
|
162
148
|
updated_at: Date;
|
163
149
|
shortId: number;
|
164
|
-
firstTimeMiExpo: boolean;
|
165
|
-
isPhoneVerified: boolean;
|
166
150
|
firstName: string | null;
|
167
151
|
gender: string | null;
|
168
152
|
birthDate: Date | null;
|
@@ -189,8 +173,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
189
173
|
}, {
|
190
174
|
profiles: {
|
191
175
|
id: string;
|
192
|
-
username: string | null;
|
193
|
-
password: string | null;
|
194
176
|
phoneNumber: string;
|
195
177
|
secondaryPhoneNumber: string | null;
|
196
178
|
fullName: string;
|
@@ -199,8 +181,6 @@ export declare const findAllProfileResponseSchema: z.ZodObject<{
|
|
199
181
|
created_at: Date;
|
200
182
|
updated_at: Date;
|
201
183
|
shortId: number;
|
202
|
-
firstTimeMiExpo: boolean;
|
203
|
-
isPhoneVerified: boolean;
|
204
184
|
firstName: string | null;
|
205
185
|
gender: string | null;
|
206
186
|
birthDate: string | null;
|
@@ -229,16 +209,12 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
229
209
|
profiles: z.ZodArray<z.ZodObject<{
|
230
210
|
id: z.ZodString;
|
231
211
|
shortId: z.ZodNumber;
|
232
|
-
|
233
|
-
|
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>>;
|
212
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
213
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
238
214
|
fullName: z.ZodString;
|
239
215
|
firstName: z.ZodNullable<z.ZodString>;
|
240
216
|
gender: z.ZodNullable<z.ZodString>;
|
241
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
217
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
242
218
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
243
219
|
instagram: z.ZodNullable<z.ZodString>;
|
244
220
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -297,8 +273,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
297
273
|
}>, "many">;
|
298
274
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
299
275
|
id: string;
|
300
|
-
username: string | null;
|
301
|
-
password: string | null;
|
302
276
|
phoneNumber: string;
|
303
277
|
secondaryPhoneNumber: string | null;
|
304
278
|
fullName: string;
|
@@ -307,11 +281,9 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
307
281
|
created_at: string;
|
308
282
|
updated_at: string;
|
309
283
|
shortId: number;
|
310
|
-
firstTimeMiExpo: boolean;
|
311
|
-
isPhoneVerified: boolean;
|
312
284
|
firstName: string | null;
|
313
285
|
gender: string | null;
|
314
|
-
birthDate:
|
286
|
+
birthDate: Date | null;
|
315
287
|
instagram: string | null;
|
316
288
|
dni: string | null;
|
317
289
|
alternativeNames: string[];
|
@@ -333,8 +305,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
333
305
|
}[];
|
334
306
|
}, {
|
335
307
|
id: string;
|
336
|
-
username: string | null;
|
337
|
-
password: string | null;
|
338
308
|
phoneNumber: string;
|
339
309
|
secondaryPhoneNumber: string | null;
|
340
310
|
fullName: string;
|
@@ -343,8 +313,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
343
313
|
created_at: string;
|
344
314
|
updated_at: string;
|
345
315
|
shortId: number;
|
346
|
-
firstTimeMiExpo: boolean;
|
347
|
-
isPhoneVerified: boolean;
|
348
316
|
firstName: string | null;
|
349
317
|
gender: string | null;
|
350
318
|
birthDate: string | null;
|
@@ -371,8 +339,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
371
339
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
372
340
|
profiles: {
|
373
341
|
id: string;
|
374
|
-
username: string | null;
|
375
|
-
password: string | null;
|
376
342
|
phoneNumber: string;
|
377
343
|
secondaryPhoneNumber: string | null;
|
378
344
|
fullName: string;
|
@@ -381,11 +347,9 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
381
347
|
created_at: string;
|
382
348
|
updated_at: string;
|
383
349
|
shortId: number;
|
384
|
-
firstTimeMiExpo: boolean;
|
385
|
-
isPhoneVerified: boolean;
|
386
350
|
firstName: string | null;
|
387
351
|
gender: string | null;
|
388
|
-
birthDate:
|
352
|
+
birthDate: Date | null;
|
389
353
|
instagram: string | null;
|
390
354
|
dni: string | null;
|
391
355
|
alternativeNames: string[];
|
@@ -409,8 +373,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
409
373
|
}, {
|
410
374
|
profiles: {
|
411
375
|
id: string;
|
412
|
-
username: string | null;
|
413
|
-
password: string | null;
|
414
376
|
phoneNumber: string;
|
415
377
|
secondaryPhoneNumber: string | null;
|
416
378
|
fullName: string;
|
@@ -419,8 +381,6 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
419
381
|
created_at: string;
|
420
382
|
updated_at: string;
|
421
383
|
shortId: number;
|
422
|
-
firstTimeMiExpo: boolean;
|
423
|
-
isPhoneVerified: boolean;
|
424
384
|
firstName: string | null;
|
425
385
|
gender: string | null;
|
426
386
|
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_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.findAllProfileResponseSchema = 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
|
color: true,
|
@@ -3,12 +3,8 @@ 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
|
-
|
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>;
|
@@ -73,8 +69,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
73
69
|
}>, "many">;
|
74
70
|
}>, "strip", z.ZodTypeAny, {
|
75
71
|
id: string;
|
76
|
-
username: string | null;
|
77
|
-
password: string | null;
|
78
72
|
phoneNumber: string;
|
79
73
|
secondaryPhoneNumber: string | null;
|
80
74
|
fullName: string;
|
@@ -83,8 +77,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
83
77
|
created_at: Date;
|
84
78
|
updated_at: Date;
|
85
79
|
shortId: number;
|
86
|
-
firstTimeMiExpo: boolean;
|
87
|
-
isPhoneVerified: boolean;
|
88
80
|
firstName: string | null;
|
89
81
|
gender: string | null;
|
90
82
|
birthDate: Date | null;
|
@@ -108,8 +100,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
108
100
|
}[];
|
109
101
|
}, {
|
110
102
|
id: string;
|
111
|
-
username: string | null;
|
112
|
-
password: string | null;
|
113
103
|
phoneNumber: string;
|
114
104
|
secondaryPhoneNumber: string | null;
|
115
105
|
fullName: string;
|
@@ -118,8 +108,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
118
108
|
created_at: Date;
|
119
109
|
updated_at: Date;
|
120
110
|
shortId: number;
|
121
|
-
firstTimeMiExpo: boolean;
|
122
|
-
isPhoneVerified: boolean;
|
123
111
|
firstName: string | null;
|
124
112
|
gender: string | null;
|
125
113
|
birthDate: string | null;
|
@@ -145,8 +133,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
145
133
|
}, "strip", z.ZodTypeAny, {
|
146
134
|
profiles: {
|
147
135
|
id: string;
|
148
|
-
username: string | null;
|
149
|
-
password: string | null;
|
150
136
|
phoneNumber: string;
|
151
137
|
secondaryPhoneNumber: string | null;
|
152
138
|
fullName: string;
|
@@ -155,8 +141,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
155
141
|
created_at: Date;
|
156
142
|
updated_at: Date;
|
157
143
|
shortId: number;
|
158
|
-
firstTimeMiExpo: boolean;
|
159
|
-
isPhoneVerified: boolean;
|
160
144
|
firstName: string | null;
|
161
145
|
gender: string | null;
|
162
146
|
birthDate: Date | null;
|
@@ -182,8 +166,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
182
166
|
}, {
|
183
167
|
profiles: {
|
184
168
|
id: string;
|
185
|
-
username: string | null;
|
186
|
-
password: string | null;
|
187
169
|
phoneNumber: string;
|
188
170
|
secondaryPhoneNumber: string | null;
|
189
171
|
fullName: string;
|
@@ -192,8 +174,6 @@ export declare const findByDateRangeSchema: z.ZodObject<{
|
|
192
174
|
created_at: Date;
|
193
175
|
updated_at: Date;
|
194
176
|
shortId: number;
|
195
|
-
firstTimeMiExpo: boolean;
|
196
|
-
isPhoneVerified: boolean;
|
197
177
|
firstName: string | null;
|
198
178
|
gender: string | null;
|
199
179
|
birthDate: string | null;
|
@@ -221,16 +201,12 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
221
201
|
profiles: z.ZodArray<z.ZodObject<{
|
222
202
|
id: z.ZodString;
|
223
203
|
shortId: z.ZodNumber;
|
224
|
-
|
225
|
-
|
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>>;
|
204
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
205
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
230
206
|
fullName: z.ZodString;
|
231
207
|
firstName: z.ZodNullable<z.ZodString>;
|
232
208
|
gender: z.ZodNullable<z.ZodString>;
|
233
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
209
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
234
210
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
235
211
|
instagram: z.ZodNullable<z.ZodString>;
|
236
212
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -284,8 +260,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
284
260
|
}>, "many">;
|
285
261
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
286
262
|
id: string;
|
287
|
-
username: string | null;
|
288
|
-
password: string | null;
|
289
263
|
phoneNumber: string;
|
290
264
|
secondaryPhoneNumber: string | null;
|
291
265
|
fullName: string;
|
@@ -294,11 +268,9 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
294
268
|
created_at: string;
|
295
269
|
updated_at: string;
|
296
270
|
shortId: number;
|
297
|
-
firstTimeMiExpo: boolean;
|
298
|
-
isPhoneVerified: boolean;
|
299
271
|
firstName: string | null;
|
300
272
|
gender: string | null;
|
301
|
-
birthDate:
|
273
|
+
birthDate: Date | null;
|
302
274
|
instagram: string | null;
|
303
275
|
dni: string | null;
|
304
276
|
alternativeNames: string[];
|
@@ -319,8 +291,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
319
291
|
}[];
|
320
292
|
}, {
|
321
293
|
id: string;
|
322
|
-
username: string | null;
|
323
|
-
password: string | null;
|
324
294
|
phoneNumber: string;
|
325
295
|
secondaryPhoneNumber: string | null;
|
326
296
|
fullName: string;
|
@@ -329,8 +299,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
329
299
|
created_at: string;
|
330
300
|
updated_at: string;
|
331
301
|
shortId: number;
|
332
|
-
firstTimeMiExpo: boolean;
|
333
|
-
isPhoneVerified: boolean;
|
334
302
|
firstName: string | null;
|
335
303
|
gender: string | null;
|
336
304
|
birthDate: string | null;
|
@@ -356,8 +324,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
356
324
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
357
325
|
profiles: {
|
358
326
|
id: string;
|
359
|
-
username: string | null;
|
360
|
-
password: string | null;
|
361
327
|
phoneNumber: string;
|
362
328
|
secondaryPhoneNumber: string | null;
|
363
329
|
fullName: string;
|
@@ -366,11 +332,9 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
366
332
|
created_at: string;
|
367
333
|
updated_at: string;
|
368
334
|
shortId: number;
|
369
|
-
firstTimeMiExpo: boolean;
|
370
|
-
isPhoneVerified: boolean;
|
371
335
|
firstName: string | null;
|
372
336
|
gender: string | null;
|
373
|
-
birthDate:
|
337
|
+
birthDate: Date | null;
|
374
338
|
instagram: string | null;
|
375
339
|
dni: string | null;
|
376
340
|
alternativeNames: string[];
|
@@ -393,8 +357,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
393
357
|
}, {
|
394
358
|
profiles: {
|
395
359
|
id: string;
|
396
|
-
username: string | null;
|
397
|
-
password: string | null;
|
398
360
|
phoneNumber: string;
|
399
361
|
secondaryPhoneNumber: string | null;
|
400
362
|
fullName: string;
|
@@ -403,8 +365,6 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
403
365
|
created_at: string;
|
404
366
|
updated_at: string;
|
405
367
|
shortId: number;
|
406
|
-
firstTimeMiExpo: boolean;
|
407
|
-
isPhoneVerified: boolean;
|
408
368
|
firstName: string | null;
|
409
369
|
gender: string | null;
|
410
370
|
birthDate: string | null;
|
@@ -433,12 +393,8 @@ export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
|
|
433
393
|
export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
434
394
|
id: z.ZodString;
|
435
395
|
shortId: z.ZodNumber;
|
436
|
-
|
437
|
-
|
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>>;
|
396
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
397
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
442
398
|
fullName: z.ZodString;
|
443
399
|
firstName: z.ZodNullable<z.ZodString>;
|
444
400
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -503,8 +459,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
503
459
|
}>, "many">;
|
504
460
|
}>, "strip", z.ZodTypeAny, {
|
505
461
|
id: string;
|
506
|
-
username: string | null;
|
507
|
-
password: string | null;
|
508
462
|
phoneNumber: string;
|
509
463
|
secondaryPhoneNumber: string | null;
|
510
464
|
fullName: string;
|
@@ -513,8 +467,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
513
467
|
created_at: Date;
|
514
468
|
updated_at: Date;
|
515
469
|
shortId: number;
|
516
|
-
firstTimeMiExpo: boolean;
|
517
|
-
isPhoneVerified: boolean;
|
518
470
|
firstName: string | null;
|
519
471
|
gender: string | null;
|
520
472
|
birthDate: Date | null;
|
@@ -538,8 +490,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
538
490
|
}[];
|
539
491
|
}, {
|
540
492
|
id: string;
|
541
|
-
username: string | null;
|
542
|
-
password: string | null;
|
543
493
|
phoneNumber: string;
|
544
494
|
secondaryPhoneNumber: string | null;
|
545
495
|
fullName: string;
|
@@ -548,8 +498,6 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
548
498
|
created_at: Date;
|
549
499
|
updated_at: Date;
|
550
500
|
shortId: number;
|
551
|
-
firstTimeMiExpo: boolean;
|
552
|
-
isPhoneVerified: boolean;
|
553
501
|
firstName: string | null;
|
554
502
|
gender: string | null;
|
555
503
|
birthDate: string | null;
|
@@ -575,12 +523,8 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
575
523
|
declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
576
524
|
id: z.ZodString;
|
577
525
|
shortId: z.ZodNumber;
|
578
|
-
|
579
|
-
|
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>>;
|
526
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
527
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
584
528
|
fullName: z.ZodString;
|
585
529
|
firstName: z.ZodNullable<z.ZodString>;
|
586
530
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -645,8 +589,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
645
589
|
}>, "many">;
|
646
590
|
}>, "strip", z.ZodTypeAny, {
|
647
591
|
id: string;
|
648
|
-
username: string | null;
|
649
|
-
password: string | null;
|
650
592
|
phoneNumber: string;
|
651
593
|
secondaryPhoneNumber: string | null;
|
652
594
|
fullName: string;
|
@@ -655,8 +597,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
655
597
|
created_at: Date;
|
656
598
|
updated_at: Date;
|
657
599
|
shortId: number;
|
658
|
-
firstTimeMiExpo: boolean;
|
659
|
-
isPhoneVerified: boolean;
|
660
600
|
firstName: string | null;
|
661
601
|
gender: string | null;
|
662
602
|
birthDate: Date | null;
|
@@ -680,8 +620,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
680
620
|
}[];
|
681
621
|
}, {
|
682
622
|
id: string;
|
683
|
-
username: string | null;
|
684
|
-
password: string | null;
|
685
623
|
phoneNumber: string;
|
686
624
|
secondaryPhoneNumber: string | null;
|
687
625
|
fullName: string;
|
@@ -690,8 +628,6 @@ declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
690
628
|
created_at: Date;
|
691
629
|
updated_at: Date;
|
692
630
|
shortId: number;
|
693
|
-
firstTimeMiExpo: boolean;
|
694
|
-
isPhoneVerified: boolean;
|
695
631
|
firstName: string | null;
|
696
632
|
gender: string | null;
|
697
633
|
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_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,
|
@@ -2,12 +2,8 @@ import z from 'zod';
|
|
2
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>;
|
@@ -136,8 +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
|
-
password: string | null;
|
141
135
|
phoneNumber: string;
|
142
136
|
secondaryPhoneNumber: string | null;
|
143
137
|
fullName: string;
|
@@ -146,8 +140,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
146
140
|
created_at: Date;
|
147
141
|
updated_at: Date;
|
148
142
|
shortId: number;
|
149
|
-
firstTimeMiExpo: boolean;
|
150
|
-
isPhoneVerified: boolean;
|
151
143
|
firstName: string | null;
|
152
144
|
gender: string | null;
|
153
145
|
birthDate: Date | null;
|
@@ -193,8 +185,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
193
185
|
} | null;
|
194
186
|
}, {
|
195
187
|
id: string;
|
196
|
-
username: string | null;
|
197
|
-
password: string | null;
|
198
188
|
phoneNumber: string;
|
199
189
|
secondaryPhoneNumber: string | null;
|
200
190
|
fullName: string;
|
@@ -203,8 +193,6 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
203
193
|
created_at: Date;
|
204
194
|
updated_at: Date;
|
205
195
|
shortId: number;
|
206
|
-
firstTimeMiExpo: boolean;
|
207
|
-
isPhoneVerified: boolean;
|
208
196
|
firstName: string | null;
|
209
197
|
gender: string | null;
|
210
198
|
birthDate: string | null;
|
@@ -252,16 +240,12 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
252
240
|
declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
253
241
|
id: z.ZodString;
|
254
242
|
shortId: z.ZodNumber;
|
255
|
-
|
256
|
-
|
257
|
-
password: z.ZodNullable<z.ZodString>;
|
258
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
259
|
-
isPhoneVerified: z.ZodBoolean;
|
260
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
243
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
244
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
261
245
|
fullName: z.ZodString;
|
262
246
|
firstName: z.ZodNullable<z.ZodString>;
|
263
247
|
gender: z.ZodNullable<z.ZodString>;
|
264
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
248
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
265
249
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
266
250
|
instagram: z.ZodNullable<z.ZodString>;
|
267
251
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -381,8 +365,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
381
365
|
}>, "many">;
|
382
366
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
383
367
|
id: string;
|
384
|
-
username: string | null;
|
385
|
-
password: string | null;
|
386
368
|
phoneNumber: string;
|
387
369
|
secondaryPhoneNumber: string | null;
|
388
370
|
fullName: string;
|
@@ -391,11 +373,9 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
391
373
|
created_at: string;
|
392
374
|
updated_at: string;
|
393
375
|
shortId: number;
|
394
|
-
firstTimeMiExpo: boolean;
|
395
|
-
isPhoneVerified: boolean;
|
396
376
|
firstName: string | null;
|
397
377
|
gender: string | null;
|
398
|
-
birthDate:
|
378
|
+
birthDate: Date | null;
|
399
379
|
instagram: string | null;
|
400
380
|
dni: string | null;
|
401
381
|
alternativeNames: string[];
|
@@ -438,8 +418,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
438
418
|
} | null;
|
439
419
|
}, {
|
440
420
|
id: string;
|
441
|
-
username: string | null;
|
442
|
-
password: string | null;
|
443
421
|
phoneNumber: string;
|
444
422
|
secondaryPhoneNumber: string | null;
|
445
423
|
fullName: string;
|
@@ -448,8 +426,6 @@ declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
448
426
|
created_at: string;
|
449
427
|
updated_at: string;
|
450
428
|
shortId: number;
|
451
|
-
firstTimeMiExpo: boolean;
|
452
|
-
isPhoneVerified: boolean;
|
453
429
|
firstName: string | null;
|
454
430
|
gender: string | null;
|
455
431
|
birthDate: string | null;
|
@@ -4,15 +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
|
-
residenceLocation:
|
15
|
-
birthLocation:
|
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(),
|
16
16
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
17
17
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
18
18
|
id: true,
|