expo-backend-types 0.30.0-EXPO-311-EB-Modificar-DB-schema.1 → 0.30.0-EXPO-308-auth.12
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/auth/dto/login-mi-expo.dto.d.ts +327 -0
- package/dist/src/auth/dto/login-mi-expo.dto.js +31 -0
- package/dist/src/exports.d.ts +2 -0
- package/dist/src/exports.js +2 -0
- package/dist/src/i18n/es.d.ts +19 -0
- package/dist/src/i18n/es.js +19 -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/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/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 +286 -0
- package/dist/src/otp/dto/verify-otp.dto.js +28 -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/prisma/dtos.dto.d.ts +74 -0
- package/dist/src/prisma/dtos.dto.js +133 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +26 -10
- package/dist/src/profile/dto/create-profile.dto.js +4 -4
- package/dist/src/profile/dto/delete-profile.dto.d.ts +28 -4
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +44 -4
- 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 +72 -8
- 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 +28 -4
- package/dist/src/profile/dto/find-by-id-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +28 -4
- 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 +44 -4
- 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 +44 -4
- 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 +44 -4
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +43 -29
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +32 -8
- package/dist/src/profile/dto/update-profile.dto.js +3 -3
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +44 -4
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +44 -4
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- 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 +3862 -511
- 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 +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 +177 -133
- 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 +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +277 -2
- package/package.json +27 -24
@@ -1,34 +1,41 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
shortId: import("zod").ZodNumber;
|
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").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
10
|
+
fullName: import("zod").ZodString;
|
11
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
12
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
13
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
14
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
15
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
16
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
17
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
18
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
19
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
20
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
21
|
+
isInTrash: import("zod").ZodBoolean;
|
22
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
23
|
+
created_at: import("zod").ZodString;
|
24
|
+
updated_at: import("zod").ZodString;
|
25
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
23
26
|
id: string;
|
27
|
+
username: string | null;
|
28
|
+
password: string | null;
|
24
29
|
phoneNumber: string;
|
25
30
|
secondaryPhoneNumber: string | null;
|
26
31
|
fullName: string;
|
27
32
|
profilePictureUrl: string | null;
|
28
33
|
mail: string | null;
|
29
|
-
created_at:
|
30
|
-
updated_at:
|
34
|
+
created_at: string;
|
35
|
+
updated_at: string;
|
31
36
|
shortId: number;
|
37
|
+
firstTimeMiExpo: boolean;
|
38
|
+
isPhoneVerified: boolean;
|
32
39
|
firstName: string | null;
|
33
40
|
gender: string | null;
|
34
41
|
birthDate: Date | null;
|
@@ -38,17 +45,21 @@ export declare const profileSchema: z.ZodObject<{
|
|
38
45
|
birthLocationId: string | null;
|
39
46
|
residenceLocationId: string | null;
|
40
47
|
isInTrash: boolean;
|
41
|
-
movedToTrashDate:
|
48
|
+
movedToTrashDate: string | null;
|
42
49
|
}, {
|
43
50
|
id: string;
|
51
|
+
username: string | null;
|
52
|
+
password: string | null;
|
44
53
|
phoneNumber: string;
|
45
54
|
secondaryPhoneNumber: string | null;
|
46
55
|
fullName: string;
|
47
56
|
profilePictureUrl: string | null;
|
48
57
|
mail: string | null;
|
49
|
-
created_at:
|
50
|
-
updated_at:
|
58
|
+
created_at: string;
|
59
|
+
updated_at: string;
|
51
60
|
shortId: number;
|
61
|
+
firstTimeMiExpo: boolean;
|
62
|
+
isPhoneVerified: boolean;
|
52
63
|
firstName: string | null;
|
53
64
|
gender: string | null;
|
54
65
|
birthDate: string | null;
|
@@ -58,5 +69,8 @@ export declare const profileSchema: z.ZodObject<{
|
|
58
69
|
birthLocationId: string | null;
|
59
70
|
residenceLocationId: string | null;
|
60
71
|
isInTrash: boolean;
|
61
|
-
movedToTrashDate:
|
62
|
-
}
|
72
|
+
movedToTrashDate: string | null;
|
73
|
+
}>>;
|
74
|
+
export declare class ProfileDto extends ProfileDto_base {
|
75
|
+
}
|
76
|
+
export {};
|
@@ -1,66 +1,9 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
const
|
8
|
-
const
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
message: (0, translate_1.translate)('model.profile.id.uuid'),
|
13
|
-
}),
|
14
|
-
shortId: zod_1.default.number(),
|
15
|
-
phoneNumber: zod_1.default
|
16
|
-
.string()
|
17
|
-
.min(1, {
|
18
|
-
message: (0, translate_1.translate)('model.profile.phoneNumber.required'),
|
19
|
-
})
|
20
|
-
.refine(validator_1.default.isMobilePhone, {
|
21
|
-
message: (0, translate_1.translate)('model.profile.phoneNumber.invalid'),
|
22
|
-
}),
|
23
|
-
secondaryPhoneNumber: zod_1.default
|
24
|
-
.string()
|
25
|
-
.nullable()
|
26
|
-
.refine((value) => {
|
27
|
-
if (value === null)
|
28
|
-
return true;
|
29
|
-
return validator_1.default.isMobilePhone(value);
|
30
|
-
}, {
|
31
|
-
message: (0, translate_1.translate)('model.profile.secondaryPhoneNumber.invalid'),
|
32
|
-
}),
|
33
|
-
fullName: zod_1.default.string().min(1, {
|
34
|
-
message: (0, translate_1.translate)('model.profile.fullName.required'),
|
35
|
-
}),
|
36
|
-
firstName: zod_1.default
|
37
|
-
.string()
|
38
|
-
.min(1, {
|
39
|
-
message: (0, translate_1.translate)('model.profile.fullName.required'),
|
40
|
-
})
|
41
|
-
.nullable(),
|
42
|
-
gender: zod_1.default.string().nullable(),
|
43
|
-
birthDate: zod_1.default.string().pipe(zod_1.default.coerce.date()).nullable(),
|
44
|
-
profilePictureUrl: zod_1.default
|
45
|
-
.string()
|
46
|
-
.url({
|
47
|
-
message: (0, translate_1.translate)('model.profile.profilePictureUrl.invalid'),
|
48
|
-
})
|
49
|
-
.nullable(),
|
50
|
-
instagram: zod_1.default.string().nullable(),
|
51
|
-
mail: zod_1.default
|
52
|
-
.string()
|
53
|
-
.email({
|
54
|
-
message: (0, translate_1.translate)('model.profile.mail.invalid'),
|
55
|
-
})
|
56
|
-
.nullable(),
|
57
|
-
dni: zod_1.default.string().nullable(),
|
58
|
-
alternativeNames: zod_1.default.array(zod_1.default.string()),
|
59
|
-
birthLocationId: zod_1.default.string().uuid().nullable(),
|
60
|
-
residenceLocationId: zod_1.default.string().uuid().nullable(),
|
61
|
-
isInTrash: zod_1.default.boolean(),
|
62
|
-
movedToTrashDate: zod_1.default.coerce.date().nullable(),
|
63
|
-
created_at: zod_1.default.date(),
|
64
|
-
updated_at: zod_1.default.date(),
|
65
|
-
});
|
3
|
+
exports.ProfileDto = void 0;
|
4
|
+
const dtos_dto_1 = require("../../prisma/dtos.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
class ProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(dtos_dto_1.profileSchema) {
|
7
|
+
}
|
8
|
+
exports.ProfileDto = ProfileDto;
|
66
9
|
//# sourceMappingURL=profile.dto.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
4
|
-
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
|
3
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
4
|
+
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
|
5
5
|
fullName: z.ZodOptional<z.ZodString>;
|
6
6
|
profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7
7
|
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -116,8 +116,8 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
116
116
|
} | undefined;
|
117
117
|
}>;
|
118
118
|
declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
119
|
-
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
120
|
-
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
|
119
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
120
|
+
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
|
121
121
|
fullName: z.ZodOptional<z.ZodString>;
|
122
122
|
profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
123
123
|
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -229,8 +229,12 @@ export declare class UpdateProfileDto extends UpdateProfileDto_base {
|
|
229
229
|
export declare const updateProfileResponseSchema: z.ZodObject<{
|
230
230
|
id: z.ZodString;
|
231
231
|
shortId: z.ZodNumber;
|
232
|
-
|
233
|
-
|
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.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
234
238
|
fullName: z.ZodString;
|
235
239
|
firstName: z.ZodNullable<z.ZodString>;
|
236
240
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -248,6 +252,8 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
248
252
|
updated_at: z.ZodDate;
|
249
253
|
}, "strip", z.ZodTypeAny, {
|
250
254
|
id: string;
|
255
|
+
username: string | null;
|
256
|
+
password: string | null;
|
251
257
|
phoneNumber: string;
|
252
258
|
secondaryPhoneNumber: string | null;
|
253
259
|
fullName: string;
|
@@ -256,6 +262,8 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
256
262
|
created_at: Date;
|
257
263
|
updated_at: Date;
|
258
264
|
shortId: number;
|
265
|
+
firstTimeMiExpo: boolean;
|
266
|
+
isPhoneVerified: boolean;
|
259
267
|
firstName: string | null;
|
260
268
|
gender: string | null;
|
261
269
|
birthDate: Date | null;
|
@@ -268,6 +276,8 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
268
276
|
movedToTrashDate: Date | null;
|
269
277
|
}, {
|
270
278
|
id: string;
|
279
|
+
username: string | null;
|
280
|
+
password: string | null;
|
271
281
|
phoneNumber: string;
|
272
282
|
secondaryPhoneNumber: string | null;
|
273
283
|
fullName: string;
|
@@ -276,6 +286,8 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
276
286
|
created_at: Date;
|
277
287
|
updated_at: Date;
|
278
288
|
shortId: number;
|
289
|
+
firstTimeMiExpo: boolean;
|
290
|
+
isPhoneVerified: boolean;
|
279
291
|
firstName: string | null;
|
280
292
|
gender: string | null;
|
281
293
|
birthDate: string | null;
|
@@ -290,8 +302,12 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
290
302
|
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
291
303
|
id: z.ZodString;
|
292
304
|
shortId: z.ZodNumber;
|
293
|
-
|
294
|
-
|
305
|
+
firstTimeMiExpo: z.ZodBoolean;
|
306
|
+
username: z.ZodNullable<z.ZodString>;
|
307
|
+
password: z.ZodNullable<z.ZodString>;
|
308
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
309
|
+
isPhoneVerified: z.ZodBoolean;
|
310
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
295
311
|
fullName: z.ZodString;
|
296
312
|
firstName: z.ZodNullable<z.ZodString>;
|
297
313
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -309,6 +325,8 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
309
325
|
updated_at: z.ZodString;
|
310
326
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
311
327
|
id: string;
|
328
|
+
username: string | null;
|
329
|
+
password: string | null;
|
312
330
|
phoneNumber: string;
|
313
331
|
secondaryPhoneNumber: string | null;
|
314
332
|
fullName: string;
|
@@ -317,6 +335,8 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
317
335
|
created_at: string;
|
318
336
|
updated_at: string;
|
319
337
|
shortId: number;
|
338
|
+
firstTimeMiExpo: boolean;
|
339
|
+
isPhoneVerified: boolean;
|
320
340
|
firstName: string | null;
|
321
341
|
gender: string | null;
|
322
342
|
birthDate: Date | null;
|
@@ -329,6 +349,8 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
329
349
|
movedToTrashDate: string | null;
|
330
350
|
}, {
|
331
351
|
id: string;
|
352
|
+
username: string | null;
|
353
|
+
password: string | null;
|
332
354
|
phoneNumber: string;
|
333
355
|
secondaryPhoneNumber: string | null;
|
334
356
|
fullName: string;
|
@@ -337,6 +359,8 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
337
359
|
created_at: string;
|
338
360
|
updated_at: string;
|
339
361
|
shortId: number;
|
362
|
+
firstTimeMiExpo: boolean;
|
363
|
+
isPhoneVerified: boolean;
|
340
364
|
firstName: string | null;
|
341
365
|
gender: string | null;
|
342
366
|
birthDate: string | null;
|
@@ -5,11 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.UpdateProfileResponseDto = exports.updateProfileResponseSchema = exports.UpdateProfileDto = exports.updateProfileSchema = void 0;
|
7
7
|
const location_dto_1 = require("../../location/dto/location.dto");
|
8
|
-
const
|
8
|
+
const dtos_dto_1 = require("../../prisma/dtos.dto");
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
11
|
const zod_1 = __importDefault(require("zod"));
|
12
|
-
exports.updateProfileSchema =
|
12
|
+
exports.updateProfileSchema = dtos_dto_1.profileSchema
|
13
13
|
.pick({
|
14
14
|
alternativeNames: true,
|
15
15
|
birthDate: true,
|
@@ -49,7 +49,7 @@ exports.updateProfileSchema = profile_dto_1.profileSchema
|
|
49
49
|
class UpdateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileSchema) {
|
50
50
|
}
|
51
51
|
exports.UpdateProfileDto = UpdateProfileDto;
|
52
|
-
exports.updateProfileResponseSchema =
|
52
|
+
exports.updateProfileResponseSchema = dtos_dto_1.profileSchema;
|
53
53
|
class UpdateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileResponseSchema) {
|
54
54
|
}
|
55
55
|
exports.UpdateProfileResponseDto = UpdateProfileResponseDto;
|
@@ -25,8 +25,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
|
29
|
-
|
28
|
+
firstTimeMiExpo: z.ZodBoolean;
|
29
|
+
username: z.ZodNullable<z.ZodString>;
|
30
|
+
password: z.ZodNullable<z.ZodString>;
|
31
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
32
|
+
isPhoneVerified: z.ZodBoolean;
|
33
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
30
34
|
fullName: z.ZodString;
|
31
35
|
firstName: z.ZodNullable<z.ZodString>;
|
32
36
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -44,6 +48,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
44
48
|
updated_at: z.ZodDate;
|
45
49
|
}, "strip", z.ZodTypeAny, {
|
46
50
|
id: string;
|
51
|
+
username: string | null;
|
52
|
+
password: string | null;
|
47
53
|
phoneNumber: string;
|
48
54
|
secondaryPhoneNumber: string | null;
|
49
55
|
fullName: string;
|
@@ -52,6 +58,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
52
58
|
created_at: Date;
|
53
59
|
updated_at: Date;
|
54
60
|
shortId: number;
|
61
|
+
firstTimeMiExpo: boolean;
|
62
|
+
isPhoneVerified: boolean;
|
55
63
|
firstName: string | null;
|
56
64
|
gender: string | null;
|
57
65
|
birthDate: Date | null;
|
@@ -64,6 +72,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
64
72
|
movedToTrashDate: Date | null;
|
65
73
|
}, {
|
66
74
|
id: string;
|
75
|
+
username: string | null;
|
76
|
+
password: string | null;
|
67
77
|
phoneNumber: string;
|
68
78
|
secondaryPhoneNumber: string | null;
|
69
79
|
fullName: string;
|
@@ -72,6 +82,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
72
82
|
created_at: Date;
|
73
83
|
updated_at: Date;
|
74
84
|
shortId: number;
|
85
|
+
firstTimeMiExpo: boolean;
|
86
|
+
isPhoneVerified: boolean;
|
75
87
|
firstName: string | null;
|
76
88
|
gender: string | null;
|
77
89
|
birthDate: string | null;
|
@@ -86,6 +98,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
86
98
|
}, "strip", z.ZodTypeAny, {
|
87
99
|
profiles: {
|
88
100
|
id: string;
|
101
|
+
username: string | null;
|
102
|
+
password: string | null;
|
89
103
|
phoneNumber: string;
|
90
104
|
secondaryPhoneNumber: string | null;
|
91
105
|
fullName: string;
|
@@ -94,6 +108,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
94
108
|
created_at: Date;
|
95
109
|
updated_at: Date;
|
96
110
|
shortId: number;
|
111
|
+
firstTimeMiExpo: boolean;
|
112
|
+
isPhoneVerified: boolean;
|
97
113
|
firstName: string | null;
|
98
114
|
gender: string | null;
|
99
115
|
birthDate: Date | null;
|
@@ -108,6 +124,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
108
124
|
}, {
|
109
125
|
profiles: {
|
110
126
|
id: string;
|
127
|
+
username: string | null;
|
128
|
+
password: string | null;
|
111
129
|
phoneNumber: string;
|
112
130
|
secondaryPhoneNumber: string | null;
|
113
131
|
fullName: string;
|
@@ -116,6 +134,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
116
134
|
created_at: Date;
|
117
135
|
updated_at: Date;
|
118
136
|
shortId: number;
|
137
|
+
firstTimeMiExpo: boolean;
|
138
|
+
isPhoneVerified: boolean;
|
119
139
|
firstName: string | null;
|
120
140
|
gender: string | null;
|
121
141
|
birthDate: string | null;
|
@@ -132,8 +152,12 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
132
152
|
profiles: z.ZodArray<z.ZodObject<{
|
133
153
|
id: z.ZodString;
|
134
154
|
shortId: z.ZodNumber;
|
135
|
-
|
136
|
-
|
155
|
+
firstTimeMiExpo: z.ZodBoolean;
|
156
|
+
username: z.ZodNullable<z.ZodString>;
|
157
|
+
password: z.ZodNullable<z.ZodString>;
|
158
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
159
|
+
isPhoneVerified: z.ZodBoolean;
|
160
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
137
161
|
fullName: z.ZodString;
|
138
162
|
firstName: z.ZodNullable<z.ZodString>;
|
139
163
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -151,6 +175,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
151
175
|
updated_at: z.ZodString;
|
152
176
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
153
177
|
id: string;
|
178
|
+
username: string | null;
|
179
|
+
password: string | null;
|
154
180
|
phoneNumber: string;
|
155
181
|
secondaryPhoneNumber: string | null;
|
156
182
|
fullName: string;
|
@@ -159,6 +185,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
159
185
|
created_at: string;
|
160
186
|
updated_at: string;
|
161
187
|
shortId: number;
|
188
|
+
firstTimeMiExpo: boolean;
|
189
|
+
isPhoneVerified: boolean;
|
162
190
|
firstName: string | null;
|
163
191
|
gender: string | null;
|
164
192
|
birthDate: Date | null;
|
@@ -171,6 +199,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
171
199
|
movedToTrashDate: string | null;
|
172
200
|
}, {
|
173
201
|
id: string;
|
202
|
+
username: string | null;
|
203
|
+
password: string | null;
|
174
204
|
phoneNumber: string;
|
175
205
|
secondaryPhoneNumber: string | null;
|
176
206
|
fullName: string;
|
@@ -179,6 +209,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
179
209
|
created_at: string;
|
180
210
|
updated_at: string;
|
181
211
|
shortId: number;
|
212
|
+
firstTimeMiExpo: boolean;
|
213
|
+
isPhoneVerified: boolean;
|
182
214
|
firstName: string | null;
|
183
215
|
gender: string | null;
|
184
216
|
birthDate: string | null;
|
@@ -193,6 +225,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
193
225
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
194
226
|
profiles: {
|
195
227
|
id: string;
|
228
|
+
username: string | null;
|
229
|
+
password: string | null;
|
196
230
|
phoneNumber: string;
|
197
231
|
secondaryPhoneNumber: string | null;
|
198
232
|
fullName: string;
|
@@ -201,6 +235,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
201
235
|
created_at: string;
|
202
236
|
updated_at: string;
|
203
237
|
shortId: number;
|
238
|
+
firstTimeMiExpo: boolean;
|
239
|
+
isPhoneVerified: boolean;
|
204
240
|
firstName: string | null;
|
205
241
|
gender: string | null;
|
206
242
|
birthDate: Date | null;
|
@@ -215,6 +251,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
215
251
|
}, {
|
216
252
|
profiles: {
|
217
253
|
id: string;
|
254
|
+
username: string | null;
|
255
|
+
password: string | null;
|
218
256
|
phoneNumber: string;
|
219
257
|
secondaryPhoneNumber: string | null;
|
220
258
|
fullName: string;
|
@@ -223,6 +261,8 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
223
261
|
created_at: string;
|
224
262
|
updated_at: string;
|
225
263
|
shortId: number;
|
264
|
+
firstTimeMiExpo: boolean;
|
265
|
+
isPhoneVerified: boolean;
|
226
266
|
firstName: string | null;
|
227
267
|
gender: string | null;
|
228
268
|
birthDate: string | null;
|
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveAllocationResponseDto = exports.massiveAllocationResponseSchema = exports.MassiveAllocationDto = exports.massiveAllocationSchema = void 0;
|
7
|
-
const
|
7
|
+
const dtos_dto_1 = require("../../prisma/dtos.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");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.massiveAllocationSchema = zod_1.default.object({
|
12
12
|
tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
13
|
-
profileIds: zod_1.default.array(
|
13
|
+
profileIds: zod_1.default.array(dtos_dto_1.profileSchema.shape.id),
|
14
14
|
});
|
15
15
|
class MassiveAllocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationSchema) {
|
16
16
|
}
|
17
17
|
exports.MassiveAllocationDto = MassiveAllocationDto;
|
18
18
|
exports.massiveAllocationResponseSchema = zod_1.default.object({
|
19
|
-
profiles: zod_1.default.array(
|
19
|
+
profiles: zod_1.default.array(dtos_dto_1.profileSchema),
|
20
20
|
});
|
21
21
|
class MassiveAllocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationResponseSchema) {
|
22
22
|
}
|