expo-backend-types 0.30.0-EXPO-308-auth.22 → 0.30.0-EXPO-308-auth.24
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/mi-expo/dto/get-me.dto.d.ts +144 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +10 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +2 -2
- package/dist/src/mi-expo/dto/login.dto.d.ts +2 -2
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +358 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +30 -0
- package/dist/src/mi-expo/exports.d.ts +1 -0
- package/dist/src/mi-expo/exports.js +1 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +2 -2
- package/dist/src/profile/dto/create-profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/delete-profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +4 -4
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +1 -1
- package/dist/src/profile/dto/update-profile.dto.d.ts +10 -4
- package/dist/src/profile/dto/update-profile.dto.js +1 -0
- package/dist/src/schema/profile.schema.d.ts +1 -1
- package/dist/src/schema/profile.schema.js +2 -2
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +1 -3
- package/dist/src/shared/dto-modification/zod-without-dates.js +17 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +2 -2
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +2 -2
- package/dist/types/schema.d.ts +64 -438
- package/package.json +1 -1
@@ -0,0 +1,144 @@
|
|
1
|
+
export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
|
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").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
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").ZodDate>;
|
23
|
+
created_at: import("zod").ZodDate;
|
24
|
+
updated_at: import("zod").ZodDate;
|
25
|
+
}, "password">, "strip", import("zod").ZodTypeAny, {
|
26
|
+
id: string;
|
27
|
+
username: string | null;
|
28
|
+
phoneNumber: string;
|
29
|
+
secondaryPhoneNumber: string | null;
|
30
|
+
fullName: string;
|
31
|
+
profilePictureUrl: string | null;
|
32
|
+
mail: string | null;
|
33
|
+
created_at: Date;
|
34
|
+
updated_at: Date;
|
35
|
+
shortId: number;
|
36
|
+
firstTimeMiExpo: boolean;
|
37
|
+
isPhoneVerified: boolean;
|
38
|
+
firstName: string | null;
|
39
|
+
gender: string | null;
|
40
|
+
birthDate: Date | null;
|
41
|
+
instagram: string | null;
|
42
|
+
dni: string | null;
|
43
|
+
alternativeNames: string[];
|
44
|
+
birthLocationId: string | null;
|
45
|
+
residenceLocationId: string | null;
|
46
|
+
isInTrash: boolean;
|
47
|
+
movedToTrashDate: Date | null;
|
48
|
+
}, {
|
49
|
+
id: string;
|
50
|
+
username: string | null;
|
51
|
+
phoneNumber: string;
|
52
|
+
secondaryPhoneNumber: string | null;
|
53
|
+
fullName: string;
|
54
|
+
profilePictureUrl: string | null;
|
55
|
+
mail: string | null;
|
56
|
+
created_at: Date;
|
57
|
+
updated_at: Date;
|
58
|
+
shortId: number;
|
59
|
+
firstTimeMiExpo: boolean;
|
60
|
+
isPhoneVerified: boolean;
|
61
|
+
firstName: string | null;
|
62
|
+
gender: string | null;
|
63
|
+
birthDate: string | null;
|
64
|
+
instagram: string | null;
|
65
|
+
dni: string | null;
|
66
|
+
alternativeNames: string[];
|
67
|
+
birthLocationId: string | null;
|
68
|
+
residenceLocationId: string | null;
|
69
|
+
isInTrash: boolean;
|
70
|
+
movedToTrashDate: Date | null;
|
71
|
+
}>;
|
72
|
+
declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
73
|
+
id: import("zod").ZodString;
|
74
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
75
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
76
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
77
|
+
fullName: import("zod").ZodString;
|
78
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
79
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
80
|
+
created_at: import("zod").ZodString;
|
81
|
+
updated_at: import("zod").ZodString;
|
82
|
+
shortId: import("zod").ZodNumber;
|
83
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
84
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
85
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
86
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
87
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
|
88
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
89
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
90
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
91
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
92
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
93
|
+
isInTrash: import("zod").ZodBoolean;
|
94
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
95
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
96
|
+
id: string;
|
97
|
+
username: string | null;
|
98
|
+
phoneNumber: string;
|
99
|
+
secondaryPhoneNumber: string | null;
|
100
|
+
fullName: string;
|
101
|
+
profilePictureUrl: string | null;
|
102
|
+
mail: string | null;
|
103
|
+
created_at: string;
|
104
|
+
updated_at: string;
|
105
|
+
shortId: number;
|
106
|
+
firstTimeMiExpo: boolean;
|
107
|
+
isPhoneVerified: boolean;
|
108
|
+
firstName: string | null;
|
109
|
+
gender: string | null;
|
110
|
+
birthDate: string | null;
|
111
|
+
instagram: string | null;
|
112
|
+
dni: string | null;
|
113
|
+
alternativeNames: string[];
|
114
|
+
birthLocationId: string | null;
|
115
|
+
residenceLocationId: string | null;
|
116
|
+
isInTrash: boolean;
|
117
|
+
movedToTrashDate: string | null;
|
118
|
+
}, {
|
119
|
+
id: string;
|
120
|
+
username: string | null;
|
121
|
+
phoneNumber: string;
|
122
|
+
secondaryPhoneNumber: string | null;
|
123
|
+
fullName: string;
|
124
|
+
profilePictureUrl: string | null;
|
125
|
+
mail: string | null;
|
126
|
+
created_at: string;
|
127
|
+
updated_at: string;
|
128
|
+
shortId: number;
|
129
|
+
firstTimeMiExpo: boolean;
|
130
|
+
isPhoneVerified: boolean;
|
131
|
+
firstName: string | null;
|
132
|
+
gender: string | null;
|
133
|
+
birthDate: string | null;
|
134
|
+
instagram: string | null;
|
135
|
+
dni: string | null;
|
136
|
+
alternativeNames: string[];
|
137
|
+
birthLocationId: string | null;
|
138
|
+
residenceLocationId: string | null;
|
139
|
+
isInTrash: boolean;
|
140
|
+
movedToTrashDate: string | null;
|
141
|
+
}>>;
|
142
|
+
export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
|
143
|
+
}
|
144
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
|
4
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema.omit({ password: true });
|
7
|
+
class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
|
10
|
+
//# sourceMappingURL=get-me.dto.js.map
|
@@ -37,7 +37,7 @@ export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
|
37
37
|
password: z.ZodNullable<z.ZodString>;
|
38
38
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
39
39
|
isPhoneVerified: z.ZodBoolean;
|
40
|
-
secondaryPhoneNumber: z.
|
40
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
41
41
|
fullName: z.ZodString;
|
42
42
|
firstName: z.ZodNullable<z.ZodString>;
|
43
43
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -179,7 +179,7 @@ declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
179
179
|
id: z.ZodString;
|
180
180
|
username: z.ZodNullable<z.ZodString>;
|
181
181
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
182
|
-
secondaryPhoneNumber: z.
|
182
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
183
183
|
fullName: z.ZodString;
|
184
184
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
185
185
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -40,7 +40,7 @@ export declare const loginMiExpoResponseSchema: z.ZodObject<{
|
|
40
40
|
password: z.ZodNullable<z.ZodString>;
|
41
41
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
42
42
|
isPhoneVerified: z.ZodBoolean;
|
43
|
-
secondaryPhoneNumber: z.
|
43
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
44
44
|
fullName: z.ZodString;
|
45
45
|
firstName: z.ZodNullable<z.ZodString>;
|
46
46
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -182,7 +182,7 @@ declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
182
182
|
id: z.ZodString;
|
183
183
|
username: z.ZodNullable<z.ZodString>;
|
184
184
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
185
|
-
secondaryPhoneNumber: z.
|
185
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
186
186
|
fullName: z.ZodString;
|
187
187
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
188
188
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -0,0 +1,358 @@
|
|
1
|
+
export declare const updateMiExpoMeSchema: import("zod").ZodObject<Pick<{
|
2
|
+
username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
3
|
+
password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
4
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
5
|
+
secondaryPhoneNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>>;
|
6
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
7
|
+
profilePictureUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
8
|
+
mail: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
9
|
+
firstTimeMiExpo: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
10
|
+
gender: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
11
|
+
birthDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>>;
|
12
|
+
instagram: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
13
|
+
dni: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
14
|
+
alternativeNames: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
15
|
+
isInTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
16
|
+
movedToTrashDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
|
17
|
+
residence: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
|
18
|
+
id: import("zod").ZodString;
|
19
|
+
latitude: import("zod").ZodNumber;
|
20
|
+
longitude: import("zod").ZodNumber;
|
21
|
+
country: import("zod").ZodString;
|
22
|
+
state: import("zod").ZodString;
|
23
|
+
city: import("zod").ZodString;
|
24
|
+
created_at: import("zod").ZodDate;
|
25
|
+
updated_at: import("zod").ZodDate;
|
26
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
|
27
|
+
latitude: number;
|
28
|
+
longitude: number;
|
29
|
+
state: string;
|
30
|
+
country: string;
|
31
|
+
city: string;
|
32
|
+
}, {
|
33
|
+
latitude: number;
|
34
|
+
longitude: number;
|
35
|
+
state: string;
|
36
|
+
country: string;
|
37
|
+
city: string;
|
38
|
+
}>>;
|
39
|
+
birth: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
|
40
|
+
id: import("zod").ZodString;
|
41
|
+
latitude: import("zod").ZodNumber;
|
42
|
+
longitude: import("zod").ZodNumber;
|
43
|
+
country: import("zod").ZodString;
|
44
|
+
state: import("zod").ZodString;
|
45
|
+
city: import("zod").ZodString;
|
46
|
+
created_at: import("zod").ZodDate;
|
47
|
+
updated_at: import("zod").ZodDate;
|
48
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
|
49
|
+
latitude: number;
|
50
|
+
longitude: number;
|
51
|
+
state: string;
|
52
|
+
country: string;
|
53
|
+
city: string;
|
54
|
+
}, {
|
55
|
+
latitude: number;
|
56
|
+
longitude: number;
|
57
|
+
state: string;
|
58
|
+
country: string;
|
59
|
+
city: string;
|
60
|
+
}>>;
|
61
|
+
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
62
|
+
}, "username" | "password" | "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "mail" | "gender" | "birthDate" | "instagram" | "dni" | "residence" | "birth">, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
63
|
+
username?: string | null | undefined;
|
64
|
+
password?: string | null | undefined;
|
65
|
+
phoneNumber?: string | undefined;
|
66
|
+
secondaryPhoneNumber?: string | null | undefined;
|
67
|
+
fullName?: string | undefined;
|
68
|
+
mail?: string | null | undefined;
|
69
|
+
gender?: string | null | undefined;
|
70
|
+
birthDate?: Date | null | undefined;
|
71
|
+
instagram?: string | null | undefined;
|
72
|
+
dni?: string | null | undefined;
|
73
|
+
residence?: {
|
74
|
+
latitude: number;
|
75
|
+
longitude: number;
|
76
|
+
state: string;
|
77
|
+
country: string;
|
78
|
+
city: string;
|
79
|
+
} | undefined;
|
80
|
+
birth?: {
|
81
|
+
latitude: number;
|
82
|
+
longitude: number;
|
83
|
+
state: string;
|
84
|
+
country: string;
|
85
|
+
city: string;
|
86
|
+
} | undefined;
|
87
|
+
}, {
|
88
|
+
username?: string | null | undefined;
|
89
|
+
password?: string | null | undefined;
|
90
|
+
phoneNumber?: string | undefined;
|
91
|
+
secondaryPhoneNumber?: string | null | undefined;
|
92
|
+
fullName?: string | undefined;
|
93
|
+
mail?: string | null | undefined;
|
94
|
+
gender?: string | null | undefined;
|
95
|
+
birthDate?: string | null | undefined;
|
96
|
+
instagram?: string | null | undefined;
|
97
|
+
dni?: string | null | undefined;
|
98
|
+
residence?: {
|
99
|
+
latitude: number;
|
100
|
+
longitude: number;
|
101
|
+
state: string;
|
102
|
+
country: string;
|
103
|
+
city: string;
|
104
|
+
} | undefined;
|
105
|
+
birth?: {
|
106
|
+
latitude: number;
|
107
|
+
longitude: number;
|
108
|
+
state: string;
|
109
|
+
country: string;
|
110
|
+
city: string;
|
111
|
+
} | undefined;
|
112
|
+
}>;
|
113
|
+
declare const UpdateMiExpoMeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
114
|
+
username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
115
|
+
password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
116
|
+
phoneNumber: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
117
|
+
secondaryPhoneNumber: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>>;
|
118
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
119
|
+
mail: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
120
|
+
gender: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
121
|
+
birthDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>>;
|
122
|
+
instagram: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
123
|
+
dni: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
124
|
+
residence: import("zod").ZodOptional<import("zod").ZodObject<{
|
125
|
+
latitude: import("zod").ZodNumber;
|
126
|
+
longitude: import("zod").ZodNumber;
|
127
|
+
state: import("zod").ZodString;
|
128
|
+
country: import("zod").ZodString;
|
129
|
+
city: import("zod").ZodString;
|
130
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
131
|
+
latitude: number;
|
132
|
+
longitude: number;
|
133
|
+
state: string;
|
134
|
+
country: string;
|
135
|
+
city: string;
|
136
|
+
}, {
|
137
|
+
latitude: number;
|
138
|
+
longitude: number;
|
139
|
+
state: string;
|
140
|
+
country: string;
|
141
|
+
city: string;
|
142
|
+
}>>;
|
143
|
+
birth: import("zod").ZodOptional<import("zod").ZodObject<{
|
144
|
+
latitude: import("zod").ZodNumber;
|
145
|
+
longitude: import("zod").ZodNumber;
|
146
|
+
state: import("zod").ZodString;
|
147
|
+
country: import("zod").ZodString;
|
148
|
+
city: import("zod").ZodString;
|
149
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
150
|
+
latitude: number;
|
151
|
+
longitude: number;
|
152
|
+
state: string;
|
153
|
+
country: string;
|
154
|
+
city: string;
|
155
|
+
}, {
|
156
|
+
latitude: number;
|
157
|
+
longitude: number;
|
158
|
+
state: string;
|
159
|
+
country: string;
|
160
|
+
city: string;
|
161
|
+
}>>;
|
162
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
163
|
+
username?: string | null | undefined;
|
164
|
+
password?: string | null | undefined;
|
165
|
+
phoneNumber?: string | undefined;
|
166
|
+
secondaryPhoneNumber?: string | null | undefined;
|
167
|
+
fullName?: string | undefined;
|
168
|
+
mail?: string | null | undefined;
|
169
|
+
gender?: string | null | undefined;
|
170
|
+
birthDate?: string | null | undefined;
|
171
|
+
instagram?: string | null | undefined;
|
172
|
+
dni?: string | null | undefined;
|
173
|
+
residence?: {
|
174
|
+
latitude: number;
|
175
|
+
longitude: number;
|
176
|
+
state: string;
|
177
|
+
country: string;
|
178
|
+
city: string;
|
179
|
+
} | undefined;
|
180
|
+
birth?: {
|
181
|
+
latitude: number;
|
182
|
+
longitude: number;
|
183
|
+
state: string;
|
184
|
+
country: string;
|
185
|
+
city: string;
|
186
|
+
} | undefined;
|
187
|
+
}, {
|
188
|
+
username?: string | null | undefined;
|
189
|
+
password?: string | null | undefined;
|
190
|
+
phoneNumber?: string | undefined;
|
191
|
+
secondaryPhoneNumber?: string | null | undefined;
|
192
|
+
fullName?: string | undefined;
|
193
|
+
mail?: string | null | undefined;
|
194
|
+
gender?: string | null | undefined;
|
195
|
+
birthDate?: string | null | undefined;
|
196
|
+
instagram?: string | null | undefined;
|
197
|
+
dni?: string | null | undefined;
|
198
|
+
residence?: {
|
199
|
+
latitude: number;
|
200
|
+
longitude: number;
|
201
|
+
state: string;
|
202
|
+
country: string;
|
203
|
+
city: string;
|
204
|
+
} | undefined;
|
205
|
+
birth?: {
|
206
|
+
latitude: number;
|
207
|
+
longitude: number;
|
208
|
+
state: string;
|
209
|
+
country: string;
|
210
|
+
city: string;
|
211
|
+
} | undefined;
|
212
|
+
}>>;
|
213
|
+
export declare class UpdateMiExpoMeDto extends UpdateMiExpoMeDto_base {
|
214
|
+
}
|
215
|
+
export declare const updateMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
|
216
|
+
id: import("zod").ZodString;
|
217
|
+
shortId: import("zod").ZodNumber;
|
218
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
219
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
220
|
+
password: import("zod").ZodNullable<import("zod").ZodString>;
|
221
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
222
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
223
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
224
|
+
fullName: import("zod").ZodString;
|
225
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
226
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
227
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
|
228
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
229
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
230
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
231
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
232
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
233
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
234
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
235
|
+
isInTrash: import("zod").ZodBoolean;
|
236
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
|
237
|
+
created_at: import("zod").ZodDate;
|
238
|
+
updated_at: import("zod").ZodDate;
|
239
|
+
}, "password">, "strip", import("zod").ZodTypeAny, {
|
240
|
+
id: string;
|
241
|
+
username: string | null;
|
242
|
+
phoneNumber: string;
|
243
|
+
secondaryPhoneNumber: string | null;
|
244
|
+
fullName: string;
|
245
|
+
profilePictureUrl: string | null;
|
246
|
+
mail: string | null;
|
247
|
+
created_at: Date;
|
248
|
+
updated_at: Date;
|
249
|
+
shortId: number;
|
250
|
+
firstTimeMiExpo: boolean;
|
251
|
+
isPhoneVerified: boolean;
|
252
|
+
firstName: string | null;
|
253
|
+
gender: string | null;
|
254
|
+
birthDate: Date | null;
|
255
|
+
instagram: string | null;
|
256
|
+
dni: string | null;
|
257
|
+
alternativeNames: string[];
|
258
|
+
birthLocationId: string | null;
|
259
|
+
residenceLocationId: string | null;
|
260
|
+
isInTrash: boolean;
|
261
|
+
movedToTrashDate: Date | null;
|
262
|
+
}, {
|
263
|
+
id: string;
|
264
|
+
username: string | null;
|
265
|
+
phoneNumber: string;
|
266
|
+
secondaryPhoneNumber: string | null;
|
267
|
+
fullName: string;
|
268
|
+
profilePictureUrl: string | null;
|
269
|
+
mail: string | null;
|
270
|
+
created_at: Date;
|
271
|
+
updated_at: Date;
|
272
|
+
shortId: number;
|
273
|
+
firstTimeMiExpo: boolean;
|
274
|
+
isPhoneVerified: boolean;
|
275
|
+
firstName: string | null;
|
276
|
+
gender: string | null;
|
277
|
+
birthDate: string | null;
|
278
|
+
instagram: string | null;
|
279
|
+
dni: string | null;
|
280
|
+
alternativeNames: string[];
|
281
|
+
birthLocationId: string | null;
|
282
|
+
residenceLocationId: string | null;
|
283
|
+
isInTrash: boolean;
|
284
|
+
movedToTrashDate: Date | null;
|
285
|
+
}>;
|
286
|
+
declare const UpdateMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
287
|
+
id: import("zod").ZodString;
|
288
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
289
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
290
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
291
|
+
fullName: import("zod").ZodString;
|
292
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
293
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
294
|
+
created_at: import("zod").ZodString;
|
295
|
+
updated_at: import("zod").ZodString;
|
296
|
+
shortId: import("zod").ZodNumber;
|
297
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
298
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
299
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
300
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
301
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
|
302
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
303
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
304
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
305
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
306
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
307
|
+
isInTrash: import("zod").ZodBoolean;
|
308
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
309
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
310
|
+
id: string;
|
311
|
+
username: string | null;
|
312
|
+
phoneNumber: string;
|
313
|
+
secondaryPhoneNumber: string | null;
|
314
|
+
fullName: string;
|
315
|
+
profilePictureUrl: string | null;
|
316
|
+
mail: string | null;
|
317
|
+
created_at: string;
|
318
|
+
updated_at: string;
|
319
|
+
shortId: number;
|
320
|
+
firstTimeMiExpo: boolean;
|
321
|
+
isPhoneVerified: boolean;
|
322
|
+
firstName: string | null;
|
323
|
+
gender: string | null;
|
324
|
+
birthDate: string | null;
|
325
|
+
instagram: string | null;
|
326
|
+
dni: string | null;
|
327
|
+
alternativeNames: string[];
|
328
|
+
birthLocationId: string | null;
|
329
|
+
residenceLocationId: string | null;
|
330
|
+
isInTrash: boolean;
|
331
|
+
movedToTrashDate: string | null;
|
332
|
+
}, {
|
333
|
+
id: string;
|
334
|
+
username: string | null;
|
335
|
+
phoneNumber: string;
|
336
|
+
secondaryPhoneNumber: string | null;
|
337
|
+
fullName: string;
|
338
|
+
profilePictureUrl: string | null;
|
339
|
+
mail: string | null;
|
340
|
+
created_at: string;
|
341
|
+
updated_at: string;
|
342
|
+
shortId: number;
|
343
|
+
firstTimeMiExpo: boolean;
|
344
|
+
isPhoneVerified: boolean;
|
345
|
+
firstName: string | null;
|
346
|
+
gender: string | null;
|
347
|
+
birthDate: string | null;
|
348
|
+
instagram: string | null;
|
349
|
+
dni: string | null;
|
350
|
+
alternativeNames: string[];
|
351
|
+
birthLocationId: string | null;
|
352
|
+
residenceLocationId: string | null;
|
353
|
+
isInTrash: boolean;
|
354
|
+
movedToTrashDate: string | null;
|
355
|
+
}>>;
|
356
|
+
export declare class UpdateMiExpoMeResponseDto extends UpdateMiExpoMeResponseDto_base {
|
357
|
+
}
|
358
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateMiExpoMeResponseDto = exports.updateMiExpoMeResponseSchema = exports.UpdateMiExpoMeDto = exports.updateMiExpoMeSchema = void 0;
|
4
|
+
const update_profile_dto_1 = require("../../profile/dto/update-profile.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
const zod_1 = require("../../shared/utils/zod");
|
7
|
+
exports.updateMiExpoMeSchema = (0, zod_1.removeNullableValidation)(update_profile_dto_1.updateProfileSchema).pick({
|
8
|
+
birthDate: true,
|
9
|
+
dni: true,
|
10
|
+
fullName: true,
|
11
|
+
gender: true,
|
12
|
+
instagram: true,
|
13
|
+
mail: true,
|
14
|
+
password: true,
|
15
|
+
phoneNumber: true,
|
16
|
+
secondaryPhoneNumber: true,
|
17
|
+
username: true,
|
18
|
+
birth: true,
|
19
|
+
residence: true,
|
20
|
+
});
|
21
|
+
class UpdateMiExpoMeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeSchema) {
|
22
|
+
}
|
23
|
+
exports.UpdateMiExpoMeDto = UpdateMiExpoMeDto;
|
24
|
+
exports.updateMiExpoMeResponseSchema = update_profile_dto_1.updateProfileResponseSchema.omit({
|
25
|
+
password: true,
|
26
|
+
});
|
27
|
+
class UpdateMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMiExpoMeResponseSchema) {
|
28
|
+
}
|
29
|
+
exports.UpdateMiExpoMeResponseDto = UpdateMiExpoMeResponseDto;
|
30
|
+
//# sourceMappingURL=update-me.dto.js.map
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/get-me.dto"), exports);
|
17
18
|
__exportStar(require("./dto/login-with-phone.dto"), exports);
|
18
19
|
__exportStar(require("./dto/login.dto"), exports);
|
19
20
|
//# sourceMappingURL=exports.js.map
|
@@ -31,7 +31,7 @@ export declare const verifyOtpResponseSchema: z.ZodObject<{
|
|
31
31
|
password: z.ZodNullable<z.ZodString>;
|
32
32
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
33
33
|
isPhoneVerified: z.ZodBoolean;
|
34
|
-
secondaryPhoneNumber: z.
|
34
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
35
35
|
fullName: z.ZodString;
|
36
36
|
firstName: z.ZodNullable<z.ZodString>;
|
37
37
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -250,7 +250,7 @@ declare const VerifyOtpResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
|
|
250
250
|
password: z.ZodNullable<z.ZodString>;
|
251
251
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
252
252
|
isPhoneVerified: z.ZodBoolean;
|
253
|
-
secondaryPhoneNumber: z.
|
253
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
254
254
|
fullName: z.ZodString;
|
255
255
|
firstName: z.ZodNullable<z.ZodString>;
|
256
256
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -8,7 +8,7 @@ export declare const createProfileSchema: z.ZodObject<{
|
|
8
8
|
password: z.ZodNullable<z.ZodString>;
|
9
9
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
10
|
isPhoneVerified: z.ZodBoolean;
|
11
|
-
secondaryPhoneNumber: z.
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
12
12
|
fullName: z.ZodString;
|
13
13
|
firstName: z.ZodNullable<z.ZodString>;
|
14
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -230,7 +230,7 @@ declare const CreateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
230
230
|
username: z.ZodNullable<z.ZodString>;
|
231
231
|
password: z.ZodNullable<z.ZodString>;
|
232
232
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
233
|
-
secondaryPhoneNumber: z.
|
233
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
234
234
|
fullName: z.ZodString;
|
235
235
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
236
236
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -436,7 +436,7 @@ declare const similarProfileSchema: z.ZodObject<{
|
|
436
436
|
password: z.ZodNullable<z.ZodString>;
|
437
437
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
438
438
|
isPhoneVerified: z.ZodBoolean;
|
439
|
-
secondaryPhoneNumber: z.
|
439
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
440
440
|
fullName: z.ZodString;
|
441
441
|
firstName: z.ZodNullable<z.ZodString>;
|
442
442
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -491,7 +491,7 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
491
491
|
password: z.ZodNullable<z.ZodString>;
|
492
492
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
493
493
|
isPhoneVerified: z.ZodBoolean;
|
494
|
-
secondaryPhoneNumber: z.
|
494
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
495
495
|
fullName: z.ZodString;
|
496
496
|
firstName: z.ZodNullable<z.ZodString>;
|
497
497
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -614,7 +614,7 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
614
614
|
password: z.ZodNullable<z.ZodString>;
|
615
615
|
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
616
616
|
isPhoneVerified: z.ZodBoolean;
|
617
|
-
secondaryPhoneNumber: z.
|
617
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
618
618
|
fullName: z.ZodString;
|
619
619
|
firstName: z.ZodNullable<z.ZodString>;
|
620
620
|
gender: z.ZodNullable<z.ZodString>;
|