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