expo-backend-types 0.30.0-EXPO-308-auth.5 → 0.30.0-EXPO-308-auth.6
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/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/otp/dto/send-otp.dto.d.ts +2 -2
- package/dist/src/otp/dto/verify-otp.dto.d.ts +6 -6
- package/dist/src/profile/dto/create-profile.dto.d.ts +10 -10
- package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +8 -8
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-trash.dto.d.ts +3 -3
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +4 -4
- package/dist/src/profile/dto/profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/profile.dto.js +66 -3
- package/dist/src/profile/dto/update-profile.dto.d.ts +8 -8
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +4 -4
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +4 -4
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const nonReadMessagesSchema: z.ZodObject<{
|
3
3
|
messages: z.ZodArray<z.ZodObject<{
|
4
|
-
profilePhoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
4
|
+
profilePhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
5
5
|
_count: z.ZodObject<{
|
6
6
|
id: z.ZodNumber;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
@@ -37,7 +37,7 @@ export declare const nonReadMessagesSchema: z.ZodObject<{
|
|
37
37
|
}>;
|
38
38
|
declare const NonReadMessagesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
39
39
|
messages: z.ZodArray<z.ZodObject<{
|
40
|
-
profilePhoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
40
|
+
profilePhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
41
41
|
_count: z.ZodObject<{
|
42
42
|
id: z.ZodNumber;
|
43
43
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const sendMessageToPhoneSchema: z.ZodObject<{
|
3
|
-
phone: z.ZodEffects<z.ZodString, string, string>;
|
3
|
+
phone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
4
4
|
message: z.ZodString;
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
6
6
|
message: string;
|
@@ -10,7 +10,7 @@ export declare const sendMessageToPhoneSchema: z.ZodObject<{
|
|
10
10
|
phone: string;
|
11
11
|
}>;
|
12
12
|
declare const SendMessageToPhoneDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
phone: z.ZodEffects<z.ZodString, string, string>;
|
13
|
+
phone: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
14
14
|
message: z.ZodString;
|
15
15
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
16
|
message: string;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const sendOtpSchema: z.ZodObject<{
|
3
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
3
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
5
5
|
phoneNumber: string;
|
6
6
|
}, {
|
7
7
|
phoneNumber: string;
|
8
8
|
}>;
|
9
9
|
declare const SendOtpDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
10
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
11
11
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
12
|
phoneNumber: string;
|
13
13
|
}, {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const verifyOtpSchema: z.ZodObject<{
|
3
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
3
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
4
4
|
code: z.ZodString;
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
6
6
|
phoneNumber: string;
|
@@ -10,7 +10,7 @@ export declare const verifyOtpSchema: z.ZodObject<{
|
|
10
10
|
code: string;
|
11
11
|
}>;
|
12
12
|
declare const VerifyOtpDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
13
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
14
14
|
code: z.ZodString;
|
15
15
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
16
|
phoneNumber: string;
|
@@ -26,9 +26,9 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
26
26
|
profile: z.ZodObject<{
|
27
27
|
id: z.ZodString;
|
28
28
|
shortId: z.ZodNumber;
|
29
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
29
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
30
30
|
isPhoneVerified: z.ZodBoolean;
|
31
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
31
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
32
32
|
fullName: z.ZodString;
|
33
33
|
firstName: z.ZodNullable<z.ZodString>;
|
34
34
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -146,9 +146,9 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
146
146
|
profile: z.ZodObject<{
|
147
147
|
id: z.ZodString;
|
148
148
|
shortId: z.ZodNumber;
|
149
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
149
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
150
150
|
isPhoneVerified: z.ZodBoolean;
|
151
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
151
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
152
152
|
fullName: z.ZodString;
|
153
153
|
firstName: z.ZodNullable<z.ZodString>;
|
154
154
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -3,9 +3,9 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
3
3
|
profile: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -217,8 +217,8 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
217
217
|
}>;
|
218
218
|
declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
219
219
|
profile: z.ZodObject<{
|
220
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
221
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
220
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
221
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
222
222
|
fullName: z.ZodString;
|
223
223
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
224
224
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -411,9 +411,9 @@ declare const similarProfileSchema: z.ZodObject<{
|
|
411
411
|
profile: z.ZodObject<Pick<{
|
412
412
|
id: z.ZodString;
|
413
413
|
shortId: z.ZodNumber;
|
414
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
414
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
415
415
|
isPhoneVerified: z.ZodBoolean;
|
416
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
416
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
417
417
|
fullName: z.ZodString;
|
418
418
|
firstName: z.ZodNullable<z.ZodString>;
|
419
419
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -464,9 +464,9 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
464
464
|
profile: z.ZodObject<Pick<{
|
465
465
|
id: z.ZodString;
|
466
466
|
shortId: z.ZodNumber;
|
467
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
467
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
468
468
|
isPhoneVerified: z.ZodBoolean;
|
469
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
469
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
470
470
|
fullName: z.ZodString;
|
471
471
|
firstName: z.ZodNullable<z.ZodString>;
|
472
472
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -585,9 +585,9 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
585
585
|
profile: z.ZodObject<Pick<{
|
586
586
|
id: z.ZodString;
|
587
587
|
shortId: z.ZodNumber;
|
588
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
588
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
589
589
|
isPhoneVerified: z.ZodBoolean;
|
590
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
590
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
591
591
|
fullName: z.ZodString;
|
592
592
|
firstName: z.ZodNullable<z.ZodString>;
|
593
593
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
4
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
5
5
|
isPhoneVerified: import("zod").ZodBoolean;
|
6
|
-
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
6
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
7
7
|
fullName: import("zod").ZodString;
|
8
8
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
9
9
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -68,9 +68,9 @@ export declare const deleteProfileResponseSchema: import("zod").ZodObject<{
|
|
68
68
|
declare const DeleteProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
69
69
|
id: import("zod").ZodString;
|
70
70
|
shortId: import("zod").ZodNumber;
|
71
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
71
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
72
72
|
isPhoneVerified: import("zod").ZodBoolean;
|
73
|
-
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
73
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
74
74
|
fullName: import("zod").ZodString;
|
75
75
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
76
76
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -3,9 +3,9 @@ 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
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -219,9 +219,9 @@ declare const FindAllProfileResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
219
219
|
profiles: z.ZodArray<z.ZodObject<{
|
220
220
|
id: z.ZodString;
|
221
221
|
shortId: z.ZodNumber;
|
222
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
222
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
223
223
|
isPhoneVerified: z.ZodBoolean;
|
224
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
224
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
225
225
|
fullName: z.ZodString;
|
226
226
|
firstName: z.ZodNullable<z.ZodString>;
|
227
227
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -3,9 +3,9 @@ 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
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -211,9 +211,9 @@ declare const FindByDateRangeDto_base: import("@anatine/zod-nestjs").ZodDtoStati
|
|
211
211
|
profiles: z.ZodArray<z.ZodObject<{
|
212
212
|
id: z.ZodString;
|
213
213
|
shortId: z.ZodNumber;
|
214
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
214
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
215
215
|
isPhoneVerified: z.ZodBoolean;
|
216
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
216
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
217
217
|
fullName: z.ZodString;
|
218
218
|
firstName: z.ZodNullable<z.ZodString>;
|
219
219
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -413,9 +413,9 @@ export declare class FindByDateRangeDto extends FindByDateRangeDto_base {
|
|
413
413
|
export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
414
414
|
id: z.ZodString;
|
415
415
|
shortId: z.ZodNumber;
|
416
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
416
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
417
417
|
isPhoneVerified: z.ZodBoolean;
|
418
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
418
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
419
419
|
fullName: z.ZodString;
|
420
420
|
firstName: z.ZodNullable<z.ZodString>;
|
421
421
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -549,9 +549,9 @@ export declare const findByDateRangeResponseSchema: z.ZodRecord<z.ZodString, z.Z
|
|
549
549
|
declare const FindByDateRangeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
550
550
|
id: z.ZodString;
|
551
551
|
shortId: z.ZodNumber;
|
552
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
552
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
553
553
|
isPhoneVerified: z.ZodBoolean;
|
554
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
554
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
555
555
|
fullName: z.ZodString;
|
556
556
|
firstName: z.ZodNullable<z.ZodString>;
|
557
557
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -2,9 +2,9 @@ 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
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
5
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
6
6
|
isPhoneVerified: z.ZodBoolean;
|
7
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
7
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
8
8
|
fullName: z.ZodString;
|
9
9
|
firstName: z.ZodNullable<z.ZodString>;
|
10
10
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -246,9 +246,9 @@ export declare const findByIdProfileResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
246
246
|
declare const FindByIdProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
247
247
|
id: z.ZodString;
|
248
248
|
shortId: z.ZodNumber;
|
249
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
249
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
250
250
|
isPhoneVerified: z.ZodBoolean;
|
251
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
251
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
252
252
|
fullName: z.ZodString;
|
253
253
|
firstName: z.ZodNullable<z.ZodString>;
|
254
254
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
4
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
5
5
|
isPhoneVerified: import("zod").ZodBoolean;
|
6
|
-
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
6
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
7
7
|
fullName: import("zod").ZodString;
|
8
8
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
9
9
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -68,9 +68,9 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
|
68
68
|
declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
69
69
|
id: import("zod").ZodString;
|
70
70
|
shortId: import("zod").ZodNumber;
|
71
|
-
phoneNumber: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
71
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
72
72
|
isPhoneVerified: import("zod").ZodBoolean;
|
73
|
-
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>;
|
73
|
+
secondaryPhoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodNullable<import("zod").ZodString>, string | null, string | null>, string | null, string | null>;
|
74
74
|
fullName: import("zod").ZodString;
|
75
75
|
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
76
76
|
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -3,9 +3,9 @@ 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
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -180,9 +180,9 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
180
180
|
profiles: z.ZodArray<z.ZodObject<{
|
181
181
|
id: z.ZodString;
|
182
182
|
shortId: z.ZodNumber;
|
183
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
183
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
184
184
|
isPhoneVerified: z.ZodBoolean;
|
185
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
185
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
186
186
|
fullName: z.ZodString;
|
187
187
|
firstName: z.ZodNullable<z.ZodString>;
|
188
188
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -3,9 +3,9 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -211,9 +211,9 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
211
211
|
profiles: z.ZodArray<z.ZodObject<{
|
212
212
|
id: z.ZodString;
|
213
213
|
shortId: z.ZodNumber;
|
214
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
214
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
215
215
|
isPhoneVerified: z.ZodBoolean;
|
216
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
216
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
217
217
|
fullName: z.ZodString;
|
218
218
|
firstName: z.ZodNullable<z.ZodString>;
|
219
219
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -3,9 +3,9 @@ export declare const findTrashResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -63,7 +63,7 @@ export declare const findTrashResponseSchema: z.ZodObject<{
|
|
63
63
|
declare const FindTrashResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
64
64
|
profiles: z.ZodArray<z.ZodObject<{
|
65
65
|
id: z.ZodString;
|
66
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
66
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
67
67
|
fullName: z.ZodString;
|
68
68
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
69
69
|
created_at: z.ZodString;
|
@@ -3,9 +3,9 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
6
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
7
7
|
isPhoneVerified: z.ZodBoolean;
|
8
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
8
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
9
9
|
fullName: z.ZodString;
|
10
10
|
firstName: z.ZodNullable<z.ZodString>;
|
11
11
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -377,9 +377,9 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
377
377
|
profiles: z.ZodArray<z.ZodObject<{
|
378
378
|
id: z.ZodString;
|
379
379
|
shortId: z.ZodNumber;
|
380
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
380
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
381
381
|
isPhoneVerified: z.ZodBoolean;
|
382
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
382
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
383
383
|
fullName: z.ZodString;
|
384
384
|
firstName: z.ZodNullable<z.ZodString>;
|
385
385
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -2,9 +2,9 @@ import z from 'zod';
|
|
2
2
|
export declare const profileSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
4
|
shortId: z.ZodNumber;
|
5
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
5
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
6
6
|
isPhoneVerified: z.ZodBoolean;
|
7
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
7
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
8
8
|
fullName: z.ZodString;
|
9
9
|
firstName: z.ZodNullable<z.ZodString>;
|
10
10
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -1,12 +1,45 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
15
|
+
}) : function(o, v) {
|
16
|
+
o["default"] = v;
|
17
|
+
});
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
19
|
+
if (mod && mod.__esModule) return mod;
|
20
|
+
var result = {};
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
22
|
+
__setModuleDefault(result, mod);
|
23
|
+
return result;
|
24
|
+
};
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
27
|
};
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
29
|
exports.profileSchema = void 0;
|
7
30
|
const translate_1 = require("../../i18n/translate");
|
8
|
-
const
|
31
|
+
const libphonenumber_js_1 = __importStar(require("libphonenumber-js"));
|
9
32
|
const zod_1 = __importDefault(require("zod"));
|
33
|
+
function formatArgNumber(phoneNumber, value) {
|
34
|
+
const prefixes9 = ['11', '15'];
|
35
|
+
const prefix = prefixes9.includes(phoneNumber?.nationalNumber?.slice(0, 2) ?? '')
|
36
|
+
? '9'
|
37
|
+
: '';
|
38
|
+
if (phoneNumber?.country === 'AR') {
|
39
|
+
return `${phoneNumber.countryCallingCode}${prefix}${phoneNumber.nationalNumber}`;
|
40
|
+
}
|
41
|
+
return value;
|
42
|
+
}
|
10
43
|
exports.profileSchema = zod_1.default.object({
|
11
44
|
id: zod_1.default.string().uuid({
|
12
45
|
message: (0, translate_1.translate)('model.profile.id.uuid'),
|
@@ -17,8 +50,23 @@ exports.profileSchema = zod_1.default.object({
|
|
17
50
|
.min(1, {
|
18
51
|
message: (0, translate_1.translate)('model.profile.phoneNumber.required'),
|
19
52
|
})
|
20
|
-
.refine(
|
53
|
+
.refine((value) => (0, libphonenumber_js_1.isValidPhoneNumber)(value, 'AR'), {
|
21
54
|
message: (0, translate_1.translate)('model.profile.phoneNumber.invalid'),
|
55
|
+
})
|
56
|
+
.transform((value, ctx) => {
|
57
|
+
if (!value)
|
58
|
+
return value;
|
59
|
+
const phoneNumber = (0, libphonenumber_js_1.default)(value, {
|
60
|
+
defaultCountry: 'AR',
|
61
|
+
});
|
62
|
+
if (!phoneNumber) {
|
63
|
+
ctx.addIssue({
|
64
|
+
code: zod_1.default.ZodIssueCode.custom,
|
65
|
+
message: (0, translate_1.translate)('model.profile.phoneNumber.invalid'),
|
66
|
+
});
|
67
|
+
return value;
|
68
|
+
}
|
69
|
+
return formatArgNumber(phoneNumber, value);
|
22
70
|
}),
|
23
71
|
isPhoneVerified: zod_1.default.boolean(),
|
24
72
|
secondaryPhoneNumber: zod_1.default
|
@@ -27,9 +75,24 @@ exports.profileSchema = zod_1.default.object({
|
|
27
75
|
.refine((value) => {
|
28
76
|
if (value === null)
|
29
77
|
return true;
|
30
|
-
return
|
78
|
+
return (0, libphonenumber_js_1.isValidPhoneNumber)(value, 'AR');
|
31
79
|
}, {
|
32
80
|
message: (0, translate_1.translate)('model.profile.secondaryPhoneNumber.invalid'),
|
81
|
+
})
|
82
|
+
.transform((value, ctx) => {
|
83
|
+
if (!value)
|
84
|
+
return value;
|
85
|
+
const phoneNumber = (0, libphonenumber_js_1.default)(value, {
|
86
|
+
defaultCountry: 'AR',
|
87
|
+
});
|
88
|
+
if (!phoneNumber) {
|
89
|
+
ctx.addIssue({
|
90
|
+
code: zod_1.default.ZodIssueCode.custom,
|
91
|
+
message: (0, translate_1.translate)('model.profile.phoneNumber.invalid'),
|
92
|
+
});
|
93
|
+
return value;
|
94
|
+
}
|
95
|
+
return formatArgNumber(phoneNumber, value);
|
33
96
|
}),
|
34
97
|
fullName: zod_1.default.string().min(1, {
|
35
98
|
message: (0, translate_1.translate)('model.profile.fullName.required'),
|
@@ -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,9 +229,9 @@ 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
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
232
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
233
233
|
isPhoneVerified: z.ZodBoolean;
|
234
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
234
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
235
235
|
fullName: z.ZodString;
|
236
236
|
firstName: z.ZodNullable<z.ZodString>;
|
237
237
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -296,9 +296,9 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
296
296
|
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
297
297
|
id: z.ZodString;
|
298
298
|
shortId: z.ZodNumber;
|
299
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
299
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
300
300
|
isPhoneVerified: z.ZodBoolean;
|
301
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
301
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
302
302
|
fullName: z.ZodString;
|
303
303
|
firstName: z.ZodNullable<z.ZodString>;
|
304
304
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -25,9 +25,9 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
29
29
|
isPhoneVerified: z.ZodBoolean;
|
30
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
30
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
31
31
|
fullName: z.ZodString;
|
32
32
|
firstName: z.ZodNullable<z.ZodString>;
|
33
33
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -142,9 +142,9 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
142
142
|
profiles: z.ZodArray<z.ZodObject<{
|
143
143
|
id: z.ZodString;
|
144
144
|
shortId: z.ZodNumber;
|
145
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
145
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
146
146
|
isPhoneVerified: z.ZodBoolean;
|
147
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
147
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
148
148
|
fullName: z.ZodString;
|
149
149
|
firstName: z.ZodNullable<z.ZodString>;
|
150
150
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -25,9 +25,9 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
29
29
|
isPhoneVerified: z.ZodBoolean;
|
30
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
30
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
31
31
|
fullName: z.ZodString;
|
32
32
|
firstName: z.ZodNullable<z.ZodString>;
|
33
33
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -142,9 +142,9 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
142
142
|
profiles: z.ZodArray<z.ZodObject<{
|
143
143
|
id: z.ZodString;
|
144
144
|
shortId: z.ZodNumber;
|
145
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
145
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
146
146
|
isPhoneVerified: z.ZodBoolean;
|
147
|
-
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
147
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
148
148
|
fullName: z.ZodString;
|
149
149
|
firstName: z.ZodNullable<z.ZodString>;
|
150
150
|
gender: z.ZodNullable<z.ZodString>;
|