expo-backend-types 0.32.0 → 0.33.0-EXPO-308-auth.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/event/dto/create-event.dto.d.ts +2 -115
- package/dist/src/event/dto/create-event.dto.js +0 -8
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
- package/dist/src/event/dto/event.dto.d.ts +0 -9
- package/dist/src/event/dto/event.dto.js +0 -9
- package/dist/src/event/dto/get-all-event.dto.d.ts +160 -424
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -208
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -2
- package/dist/src/event/dto/update-event.dto.d.ts +22 -193
- package/dist/src/event/dto/update-event.dto.js +0 -9
- package/dist/src/event/exports.d.ts +0 -3
- package/dist/src/event/exports.js +0 -3
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
- package/dist/src/exports.d.ts +3 -1
- package/dist/src/exports.js +3 -1
- package/dist/src/i18n/es.d.ts +20 -24
- package/dist/src/i18n/es.js +20 -24
- 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/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- 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/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- 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 +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -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/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- 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 +75 -11
- 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 +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- 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 +47 -7
- 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 +47 -7
- 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 +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- 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 +37 -43
- package/dist/types/prisma-schema/index-browser.js +19 -30
- package/dist/types/prisma-schema/index.d.ts +6249 -5155
- package/dist/types/prisma-schema/index.js +37 -43
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -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 +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +27 -33
- package/dist/types/prisma-schema/wasm.js +19 -30
- package/dist/types/schema.d.ts +510 -198
- package/package.json +32 -38
- package/dist/src/event/dto/event-tickets.dto.d.ts +0 -21
- package/dist/src/event/dto/event-tickets.dto.js +0 -21
- package/dist/src/event/dto/get-active-events.dto.d.ts +0 -247
- package/dist/src/event/dto/get-active-events.dto.js +0 -19
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -43
- package/dist/src/event/dto/toggle-active-event.dto.js +0 -6
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -0,0 +1,337 @@
|
|
1
|
+
export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<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">, {
|
26
|
+
residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
27
|
+
id: import("zod").ZodString;
|
28
|
+
latitude: import("zod").ZodNumber;
|
29
|
+
longitude: import("zod").ZodNumber;
|
30
|
+
country: import("zod").ZodString;
|
31
|
+
state: import("zod").ZodString;
|
32
|
+
city: import("zod").ZodString;
|
33
|
+
created_at: import("zod").ZodDate;
|
34
|
+
updated_at: import("zod").ZodDate;
|
35
|
+
}, "strip", import("zod").ZodTypeAny, {
|
36
|
+
id: string;
|
37
|
+
latitude: number;
|
38
|
+
longitude: number;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
state: string;
|
42
|
+
country: string;
|
43
|
+
city: string;
|
44
|
+
}, {
|
45
|
+
id: string;
|
46
|
+
latitude: number;
|
47
|
+
longitude: number;
|
48
|
+
created_at: Date;
|
49
|
+
updated_at: Date;
|
50
|
+
state: string;
|
51
|
+
country: string;
|
52
|
+
city: string;
|
53
|
+
}>>;
|
54
|
+
birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
55
|
+
id: import("zod").ZodString;
|
56
|
+
latitude: import("zod").ZodNumber;
|
57
|
+
longitude: import("zod").ZodNumber;
|
58
|
+
country: import("zod").ZodString;
|
59
|
+
state: import("zod").ZodString;
|
60
|
+
city: import("zod").ZodString;
|
61
|
+
created_at: import("zod").ZodDate;
|
62
|
+
updated_at: import("zod").ZodDate;
|
63
|
+
}, "strip", import("zod").ZodTypeAny, {
|
64
|
+
id: string;
|
65
|
+
latitude: number;
|
66
|
+
longitude: number;
|
67
|
+
created_at: Date;
|
68
|
+
updated_at: Date;
|
69
|
+
state: string;
|
70
|
+
country: string;
|
71
|
+
city: string;
|
72
|
+
}, {
|
73
|
+
id: string;
|
74
|
+
latitude: number;
|
75
|
+
longitude: number;
|
76
|
+
created_at: Date;
|
77
|
+
updated_at: Date;
|
78
|
+
state: string;
|
79
|
+
country: string;
|
80
|
+
city: string;
|
81
|
+
}>>;
|
82
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
83
|
+
id: string;
|
84
|
+
username: string | null;
|
85
|
+
phoneNumber: string;
|
86
|
+
secondaryPhoneNumber: string | null;
|
87
|
+
fullName: string;
|
88
|
+
profilePictureUrl: string | null;
|
89
|
+
mail: string | null;
|
90
|
+
created_at: Date;
|
91
|
+
updated_at: Date;
|
92
|
+
shortId: number;
|
93
|
+
firstTimeMiExpo: boolean;
|
94
|
+
isPhoneVerified: boolean;
|
95
|
+
firstName: string | null;
|
96
|
+
gender: string | null;
|
97
|
+
birthDate: Date | null;
|
98
|
+
instagram: string | null;
|
99
|
+
dni: string | null;
|
100
|
+
alternativeNames: string[];
|
101
|
+
birthLocationId: string | null;
|
102
|
+
residenceLocationId: string | null;
|
103
|
+
isInTrash: boolean;
|
104
|
+
movedToTrashDate: Date | null;
|
105
|
+
birthLocation: {
|
106
|
+
id: string;
|
107
|
+
latitude: number;
|
108
|
+
longitude: number;
|
109
|
+
created_at: Date;
|
110
|
+
updated_at: Date;
|
111
|
+
state: string;
|
112
|
+
country: string;
|
113
|
+
city: string;
|
114
|
+
} | null;
|
115
|
+
residenceLocation: {
|
116
|
+
id: string;
|
117
|
+
latitude: number;
|
118
|
+
longitude: number;
|
119
|
+
created_at: Date;
|
120
|
+
updated_at: Date;
|
121
|
+
state: string;
|
122
|
+
country: string;
|
123
|
+
city: string;
|
124
|
+
} | null;
|
125
|
+
}, {
|
126
|
+
id: string;
|
127
|
+
username: string | null;
|
128
|
+
phoneNumber: string;
|
129
|
+
secondaryPhoneNumber: string | null;
|
130
|
+
fullName: string;
|
131
|
+
profilePictureUrl: string | null;
|
132
|
+
mail: string | null;
|
133
|
+
created_at: Date;
|
134
|
+
updated_at: Date;
|
135
|
+
shortId: number;
|
136
|
+
firstTimeMiExpo: boolean;
|
137
|
+
isPhoneVerified: boolean;
|
138
|
+
firstName: string | null;
|
139
|
+
gender: string | null;
|
140
|
+
birthDate: string | null;
|
141
|
+
instagram: string | null;
|
142
|
+
dni: string | null;
|
143
|
+
alternativeNames: string[];
|
144
|
+
birthLocationId: string | null;
|
145
|
+
residenceLocationId: string | null;
|
146
|
+
isInTrash: boolean;
|
147
|
+
movedToTrashDate: Date | null;
|
148
|
+
birthLocation: {
|
149
|
+
id: string;
|
150
|
+
latitude: number;
|
151
|
+
longitude: number;
|
152
|
+
created_at: Date;
|
153
|
+
updated_at: Date;
|
154
|
+
state: string;
|
155
|
+
country: string;
|
156
|
+
city: string;
|
157
|
+
} | null;
|
158
|
+
residenceLocation: {
|
159
|
+
id: string;
|
160
|
+
latitude: number;
|
161
|
+
longitude: number;
|
162
|
+
created_at: Date;
|
163
|
+
updated_at: Date;
|
164
|
+
state: string;
|
165
|
+
country: string;
|
166
|
+
city: string;
|
167
|
+
} | null;
|
168
|
+
}>;
|
169
|
+
declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
170
|
+
id: import("zod").ZodString;
|
171
|
+
username: import("zod").ZodNullable<import("zod").ZodString>;
|
172
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
173
|
+
secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
174
|
+
fullName: import("zod").ZodString;
|
175
|
+
profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
176
|
+
mail: import("zod").ZodNullable<import("zod").ZodString>;
|
177
|
+
created_at: import("zod").ZodString;
|
178
|
+
updated_at: import("zod").ZodString;
|
179
|
+
shortId: import("zod").ZodNumber;
|
180
|
+
firstTimeMiExpo: import("zod").ZodBoolean;
|
181
|
+
isPhoneVerified: import("zod").ZodBoolean;
|
182
|
+
firstName: import("zod").ZodNullable<import("zod").ZodString>;
|
183
|
+
gender: import("zod").ZodNullable<import("zod").ZodString>;
|
184
|
+
birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
|
185
|
+
instagram: import("zod").ZodNullable<import("zod").ZodString>;
|
186
|
+
dni: import("zod").ZodNullable<import("zod").ZodString>;
|
187
|
+
alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
|
188
|
+
birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
189
|
+
residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
|
190
|
+
isInTrash: import("zod").ZodBoolean;
|
191
|
+
movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
|
192
|
+
residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
193
|
+
id: import("zod").ZodString;
|
194
|
+
latitude: import("zod").ZodNumber;
|
195
|
+
longitude: import("zod").ZodNumber;
|
196
|
+
country: import("zod").ZodString;
|
197
|
+
state: import("zod").ZodString;
|
198
|
+
city: import("zod").ZodString;
|
199
|
+
created_at: import("zod").ZodString;
|
200
|
+
updated_at: import("zod").ZodString;
|
201
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
202
|
+
id: string;
|
203
|
+
latitude: number;
|
204
|
+
longitude: number;
|
205
|
+
created_at: string;
|
206
|
+
updated_at: string;
|
207
|
+
state: string;
|
208
|
+
country: string;
|
209
|
+
city: string;
|
210
|
+
}, {
|
211
|
+
id: string;
|
212
|
+
latitude: number;
|
213
|
+
longitude: number;
|
214
|
+
created_at: string;
|
215
|
+
updated_at: string;
|
216
|
+
state: string;
|
217
|
+
country: string;
|
218
|
+
city: string;
|
219
|
+
}>>;
|
220
|
+
birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
221
|
+
id: import("zod").ZodString;
|
222
|
+
latitude: import("zod").ZodNumber;
|
223
|
+
longitude: import("zod").ZodNumber;
|
224
|
+
country: import("zod").ZodString;
|
225
|
+
state: import("zod").ZodString;
|
226
|
+
city: import("zod").ZodString;
|
227
|
+
created_at: import("zod").ZodString;
|
228
|
+
updated_at: import("zod").ZodString;
|
229
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
230
|
+
id: string;
|
231
|
+
latitude: number;
|
232
|
+
longitude: number;
|
233
|
+
created_at: string;
|
234
|
+
updated_at: string;
|
235
|
+
state: string;
|
236
|
+
country: string;
|
237
|
+
city: string;
|
238
|
+
}, {
|
239
|
+
id: string;
|
240
|
+
latitude: number;
|
241
|
+
longitude: number;
|
242
|
+
created_at: string;
|
243
|
+
updated_at: string;
|
244
|
+
state: string;
|
245
|
+
country: string;
|
246
|
+
city: string;
|
247
|
+
}>>;
|
248
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
249
|
+
id: string;
|
250
|
+
username: string | null;
|
251
|
+
phoneNumber: string;
|
252
|
+
secondaryPhoneNumber: string | null;
|
253
|
+
fullName: string;
|
254
|
+
profilePictureUrl: string | null;
|
255
|
+
mail: string | null;
|
256
|
+
created_at: string;
|
257
|
+
updated_at: string;
|
258
|
+
shortId: number;
|
259
|
+
firstTimeMiExpo: boolean;
|
260
|
+
isPhoneVerified: boolean;
|
261
|
+
firstName: string | null;
|
262
|
+
gender: string | null;
|
263
|
+
birthDate: string | null;
|
264
|
+
instagram: string | null;
|
265
|
+
dni: string | null;
|
266
|
+
alternativeNames: string[];
|
267
|
+
birthLocationId: string | null;
|
268
|
+
residenceLocationId: string | null;
|
269
|
+
isInTrash: boolean;
|
270
|
+
movedToTrashDate: string | null;
|
271
|
+
birthLocation: {
|
272
|
+
id: string;
|
273
|
+
latitude: number;
|
274
|
+
longitude: number;
|
275
|
+
created_at: string;
|
276
|
+
updated_at: string;
|
277
|
+
state: string;
|
278
|
+
country: string;
|
279
|
+
city: string;
|
280
|
+
} | null;
|
281
|
+
residenceLocation: {
|
282
|
+
id: string;
|
283
|
+
latitude: number;
|
284
|
+
longitude: number;
|
285
|
+
created_at: string;
|
286
|
+
updated_at: string;
|
287
|
+
state: string;
|
288
|
+
country: string;
|
289
|
+
city: string;
|
290
|
+
} | null;
|
291
|
+
}, {
|
292
|
+
id: string;
|
293
|
+
username: string | null;
|
294
|
+
phoneNumber: string;
|
295
|
+
secondaryPhoneNumber: string | null;
|
296
|
+
fullName: string;
|
297
|
+
profilePictureUrl: string | null;
|
298
|
+
mail: string | null;
|
299
|
+
created_at: string;
|
300
|
+
updated_at: string;
|
301
|
+
shortId: number;
|
302
|
+
firstTimeMiExpo: boolean;
|
303
|
+
isPhoneVerified: boolean;
|
304
|
+
firstName: string | null;
|
305
|
+
gender: string | null;
|
306
|
+
birthDate: string | null;
|
307
|
+
instagram: string | null;
|
308
|
+
dni: string | null;
|
309
|
+
alternativeNames: string[];
|
310
|
+
birthLocationId: string | null;
|
311
|
+
residenceLocationId: string | null;
|
312
|
+
isInTrash: boolean;
|
313
|
+
movedToTrashDate: string | null;
|
314
|
+
birthLocation: {
|
315
|
+
id: string;
|
316
|
+
latitude: number;
|
317
|
+
longitude: number;
|
318
|
+
created_at: string;
|
319
|
+
updated_at: string;
|
320
|
+
state: string;
|
321
|
+
country: string;
|
322
|
+
city: string;
|
323
|
+
} | null;
|
324
|
+
residenceLocation: {
|
325
|
+
id: string;
|
326
|
+
latitude: number;
|
327
|
+
longitude: number;
|
328
|
+
created_at: string;
|
329
|
+
updated_at: string;
|
330
|
+
state: string;
|
331
|
+
country: string;
|
332
|
+
city: string;
|
333
|
+
} | null;
|
334
|
+
}>>;
|
335
|
+
export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
|
336
|
+
}
|
337
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
|
4
|
+
const location_schema_1 = require("../../schema/location.schema");
|
5
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
6
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
7
|
+
exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema
|
8
|
+
.omit({ password: true })
|
9
|
+
.extend({
|
10
|
+
residenceLocation: location_schema_1.locationSchema.nullable(),
|
11
|
+
birthLocation: location_schema_1.locationSchema.nullable(),
|
12
|
+
});
|
13
|
+
class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
|
14
|
+
}
|
15
|
+
exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
|
16
|
+
//# sourceMappingURL=get-me.dto.js.map
|
@@ -0,0 +1,311 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const loginWithPhoneSchema: z.ZodObject<{
|
3
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
phoneNumber: string;
|
6
|
+
}, {
|
7
|
+
phoneNumber: string;
|
8
|
+
}>;
|
9
|
+
declare const LoginWithPhoneDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
phoneNumber: string;
|
13
|
+
}, {
|
14
|
+
phoneNumber: string;
|
15
|
+
}>>;
|
16
|
+
export declare class LoginWithPhoneDto extends LoginWithPhoneDto_base {
|
17
|
+
}
|
18
|
+
export declare const loginWithPhoneResponseSchema: z.ZodObject<{
|
19
|
+
tokens: z.ZodObject<{
|
20
|
+
accessToken: z.ZodString;
|
21
|
+
refreshToken: z.ZodString;
|
22
|
+
expiresIn: z.ZodNumber;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
accessToken: string;
|
25
|
+
refreshToken: string;
|
26
|
+
expiresIn: number;
|
27
|
+
}, {
|
28
|
+
accessToken: string;
|
29
|
+
refreshToken: string;
|
30
|
+
expiresIn: number;
|
31
|
+
}>;
|
32
|
+
profile: z.ZodObject<Omit<{
|
33
|
+
id: z.ZodString;
|
34
|
+
shortId: z.ZodNumber;
|
35
|
+
firstTimeMiExpo: z.ZodBoolean;
|
36
|
+
username: z.ZodNullable<z.ZodString>;
|
37
|
+
password: z.ZodNullable<z.ZodString>;
|
38
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
39
|
+
isPhoneVerified: z.ZodBoolean;
|
40
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
41
|
+
fullName: z.ZodString;
|
42
|
+
firstName: z.ZodNullable<z.ZodString>;
|
43
|
+
gender: z.ZodNullable<z.ZodString>;
|
44
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
45
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
46
|
+
instagram: z.ZodNullable<z.ZodString>;
|
47
|
+
mail: z.ZodNullable<z.ZodString>;
|
48
|
+
dni: z.ZodNullable<z.ZodString>;
|
49
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
50
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
51
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
52
|
+
isInTrash: z.ZodBoolean;
|
53
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
54
|
+
created_at: z.ZodDate;
|
55
|
+
updated_at: z.ZodDate;
|
56
|
+
}, "password">, "strip", z.ZodTypeAny, {
|
57
|
+
id: string;
|
58
|
+
username: string | null;
|
59
|
+
phoneNumber: string;
|
60
|
+
secondaryPhoneNumber: string | null;
|
61
|
+
fullName: string;
|
62
|
+
profilePictureUrl: string | null;
|
63
|
+
mail: string | null;
|
64
|
+
created_at: Date;
|
65
|
+
updated_at: Date;
|
66
|
+
shortId: number;
|
67
|
+
firstTimeMiExpo: boolean;
|
68
|
+
isPhoneVerified: boolean;
|
69
|
+
firstName: string | null;
|
70
|
+
gender: string | null;
|
71
|
+
birthDate: Date | null;
|
72
|
+
instagram: string | null;
|
73
|
+
dni: string | null;
|
74
|
+
alternativeNames: string[];
|
75
|
+
birthLocationId: string | null;
|
76
|
+
residenceLocationId: string | null;
|
77
|
+
isInTrash: boolean;
|
78
|
+
movedToTrashDate: Date | null;
|
79
|
+
}, {
|
80
|
+
id: string;
|
81
|
+
username: string | null;
|
82
|
+
phoneNumber: string;
|
83
|
+
secondaryPhoneNumber: string | null;
|
84
|
+
fullName: string;
|
85
|
+
profilePictureUrl: string | null;
|
86
|
+
mail: string | null;
|
87
|
+
created_at: Date;
|
88
|
+
updated_at: Date;
|
89
|
+
shortId: number;
|
90
|
+
firstTimeMiExpo: boolean;
|
91
|
+
isPhoneVerified: boolean;
|
92
|
+
firstName: string | null;
|
93
|
+
gender: string | null;
|
94
|
+
birthDate: string | null;
|
95
|
+
instagram: string | null;
|
96
|
+
dni: string | null;
|
97
|
+
alternativeNames: string[];
|
98
|
+
birthLocationId: string | null;
|
99
|
+
residenceLocationId: string | null;
|
100
|
+
isInTrash: boolean;
|
101
|
+
movedToTrashDate: Date | null;
|
102
|
+
}>;
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
104
|
+
profile: {
|
105
|
+
id: string;
|
106
|
+
username: string | null;
|
107
|
+
phoneNumber: string;
|
108
|
+
secondaryPhoneNumber: string | null;
|
109
|
+
fullName: string;
|
110
|
+
profilePictureUrl: string | null;
|
111
|
+
mail: string | null;
|
112
|
+
created_at: Date;
|
113
|
+
updated_at: Date;
|
114
|
+
shortId: number;
|
115
|
+
firstTimeMiExpo: boolean;
|
116
|
+
isPhoneVerified: boolean;
|
117
|
+
firstName: string | null;
|
118
|
+
gender: string | null;
|
119
|
+
birthDate: Date | null;
|
120
|
+
instagram: string | null;
|
121
|
+
dni: string | null;
|
122
|
+
alternativeNames: string[];
|
123
|
+
birthLocationId: string | null;
|
124
|
+
residenceLocationId: string | null;
|
125
|
+
isInTrash: boolean;
|
126
|
+
movedToTrashDate: Date | null;
|
127
|
+
};
|
128
|
+
tokens: {
|
129
|
+
accessToken: string;
|
130
|
+
refreshToken: string;
|
131
|
+
expiresIn: number;
|
132
|
+
};
|
133
|
+
}, {
|
134
|
+
profile: {
|
135
|
+
id: string;
|
136
|
+
username: string | null;
|
137
|
+
phoneNumber: string;
|
138
|
+
secondaryPhoneNumber: string | null;
|
139
|
+
fullName: string;
|
140
|
+
profilePictureUrl: string | null;
|
141
|
+
mail: string | null;
|
142
|
+
created_at: Date;
|
143
|
+
updated_at: Date;
|
144
|
+
shortId: number;
|
145
|
+
firstTimeMiExpo: boolean;
|
146
|
+
isPhoneVerified: boolean;
|
147
|
+
firstName: string | null;
|
148
|
+
gender: string | null;
|
149
|
+
birthDate: string | null;
|
150
|
+
instagram: string | null;
|
151
|
+
dni: string | null;
|
152
|
+
alternativeNames: string[];
|
153
|
+
birthLocationId: string | null;
|
154
|
+
residenceLocationId: string | null;
|
155
|
+
isInTrash: boolean;
|
156
|
+
movedToTrashDate: Date | null;
|
157
|
+
};
|
158
|
+
tokens: {
|
159
|
+
accessToken: string;
|
160
|
+
refreshToken: string;
|
161
|
+
expiresIn: number;
|
162
|
+
};
|
163
|
+
}>;
|
164
|
+
declare const LoginWithPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
165
|
+
tokens: z.ZodObject<{
|
166
|
+
accessToken: z.ZodString;
|
167
|
+
refreshToken: z.ZodString;
|
168
|
+
expiresIn: z.ZodNumber;
|
169
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
170
|
+
accessToken: string;
|
171
|
+
refreshToken: string;
|
172
|
+
expiresIn: number;
|
173
|
+
}, {
|
174
|
+
accessToken: string;
|
175
|
+
refreshToken: string;
|
176
|
+
expiresIn: number;
|
177
|
+
}>;
|
178
|
+
profile: z.ZodObject<{
|
179
|
+
id: z.ZodString;
|
180
|
+
username: z.ZodNullable<z.ZodString>;
|
181
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
182
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
183
|
+
fullName: z.ZodString;
|
184
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
185
|
+
mail: z.ZodNullable<z.ZodString>;
|
186
|
+
created_at: z.ZodString;
|
187
|
+
updated_at: z.ZodString;
|
188
|
+
shortId: z.ZodNumber;
|
189
|
+
firstTimeMiExpo: z.ZodBoolean;
|
190
|
+
isPhoneVerified: z.ZodBoolean;
|
191
|
+
firstName: z.ZodNullable<z.ZodString>;
|
192
|
+
gender: z.ZodNullable<z.ZodString>;
|
193
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
194
|
+
instagram: z.ZodNullable<z.ZodString>;
|
195
|
+
dni: z.ZodNullable<z.ZodString>;
|
196
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
197
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
198
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
199
|
+
isInTrash: z.ZodBoolean;
|
200
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
201
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
202
|
+
id: string;
|
203
|
+
username: string | null;
|
204
|
+
phoneNumber: string;
|
205
|
+
secondaryPhoneNumber: string | null;
|
206
|
+
fullName: string;
|
207
|
+
profilePictureUrl: string | null;
|
208
|
+
mail: string | null;
|
209
|
+
created_at: string;
|
210
|
+
updated_at: string;
|
211
|
+
shortId: number;
|
212
|
+
firstTimeMiExpo: boolean;
|
213
|
+
isPhoneVerified: boolean;
|
214
|
+
firstName: string | null;
|
215
|
+
gender: string | null;
|
216
|
+
birthDate: string | null;
|
217
|
+
instagram: string | null;
|
218
|
+
dni: string | null;
|
219
|
+
alternativeNames: string[];
|
220
|
+
birthLocationId: string | null;
|
221
|
+
residenceLocationId: string | null;
|
222
|
+
isInTrash: boolean;
|
223
|
+
movedToTrashDate: string | null;
|
224
|
+
}, {
|
225
|
+
id: string;
|
226
|
+
username: string | null;
|
227
|
+
phoneNumber: string;
|
228
|
+
secondaryPhoneNumber: string | null;
|
229
|
+
fullName: string;
|
230
|
+
profilePictureUrl: string | null;
|
231
|
+
mail: string | null;
|
232
|
+
created_at: string;
|
233
|
+
updated_at: string;
|
234
|
+
shortId: number;
|
235
|
+
firstTimeMiExpo: boolean;
|
236
|
+
isPhoneVerified: boolean;
|
237
|
+
firstName: string | null;
|
238
|
+
gender: string | null;
|
239
|
+
birthDate: string | null;
|
240
|
+
instagram: string | null;
|
241
|
+
dni: string | null;
|
242
|
+
alternativeNames: string[];
|
243
|
+
birthLocationId: string | null;
|
244
|
+
residenceLocationId: string | null;
|
245
|
+
isInTrash: boolean;
|
246
|
+
movedToTrashDate: string | null;
|
247
|
+
}>;
|
248
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
249
|
+
profile: {
|
250
|
+
id: string;
|
251
|
+
username: string | null;
|
252
|
+
phoneNumber: string;
|
253
|
+
secondaryPhoneNumber: string | null;
|
254
|
+
fullName: string;
|
255
|
+
profilePictureUrl: string | null;
|
256
|
+
mail: string | null;
|
257
|
+
created_at: string;
|
258
|
+
updated_at: string;
|
259
|
+
shortId: number;
|
260
|
+
firstTimeMiExpo: boolean;
|
261
|
+
isPhoneVerified: boolean;
|
262
|
+
firstName: string | null;
|
263
|
+
gender: string | null;
|
264
|
+
birthDate: string | null;
|
265
|
+
instagram: string | null;
|
266
|
+
dni: string | null;
|
267
|
+
alternativeNames: string[];
|
268
|
+
birthLocationId: string | null;
|
269
|
+
residenceLocationId: string | null;
|
270
|
+
isInTrash: boolean;
|
271
|
+
movedToTrashDate: string | null;
|
272
|
+
};
|
273
|
+
tokens: {
|
274
|
+
accessToken: string;
|
275
|
+
refreshToken: string;
|
276
|
+
expiresIn: number;
|
277
|
+
};
|
278
|
+
}, {
|
279
|
+
profile: {
|
280
|
+
id: string;
|
281
|
+
username: string | null;
|
282
|
+
phoneNumber: string;
|
283
|
+
secondaryPhoneNumber: string | null;
|
284
|
+
fullName: string;
|
285
|
+
profilePictureUrl: string | null;
|
286
|
+
mail: string | null;
|
287
|
+
created_at: string;
|
288
|
+
updated_at: string;
|
289
|
+
shortId: number;
|
290
|
+
firstTimeMiExpo: boolean;
|
291
|
+
isPhoneVerified: boolean;
|
292
|
+
firstName: string | null;
|
293
|
+
gender: string | null;
|
294
|
+
birthDate: string | null;
|
295
|
+
instagram: string | null;
|
296
|
+
dni: string | null;
|
297
|
+
alternativeNames: string[];
|
298
|
+
birthLocationId: string | null;
|
299
|
+
residenceLocationId: string | null;
|
300
|
+
isInTrash: boolean;
|
301
|
+
movedToTrashDate: string | null;
|
302
|
+
};
|
303
|
+
tokens: {
|
304
|
+
accessToken: string;
|
305
|
+
refreshToken: string;
|
306
|
+
expiresIn: number;
|
307
|
+
};
|
308
|
+
}>>;
|
309
|
+
export declare class LoginWithPhoneResponseDto extends LoginWithPhoneResponseDto_base {
|
310
|
+
}
|
311
|
+
export {};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.LoginWithPhoneResponseDto = exports.loginWithPhoneResponseSchema = exports.LoginWithPhoneDto = exports.loginWithPhoneSchema = void 0;
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
exports.loginWithPhoneSchema = zod_1.default.object({
|
11
|
+
phoneNumber: profile_schema_1.profileSchema.shape.phoneNumber,
|
12
|
+
});
|
13
|
+
class LoginWithPhoneDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginWithPhoneSchema) {
|
14
|
+
}
|
15
|
+
exports.LoginWithPhoneDto = LoginWithPhoneDto;
|
16
|
+
exports.loginWithPhoneResponseSchema = zod_1.default.object({
|
17
|
+
tokens: zod_1.default.object({
|
18
|
+
accessToken: zod_1.default.string(),
|
19
|
+
refreshToken: zod_1.default.string(),
|
20
|
+
expiresIn: zod_1.default.number(),
|
21
|
+
}),
|
22
|
+
profile: profile_schema_1.profileSchema.omit({
|
23
|
+
password: true,
|
24
|
+
}),
|
25
|
+
});
|
26
|
+
class LoginWithPhoneResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginWithPhoneResponseSchema) {
|
27
|
+
}
|
28
|
+
exports.LoginWithPhoneResponseDto = LoginWithPhoneResponseDto;
|
29
|
+
//# sourceMappingURL=login-with-phone.dto.js.map
|