expo-backend-types 0.30.0-EXPO-308-auth.26 → 0.30.0-EXPO-309-Migrar-Configuracion.5

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.
Files changed (90) hide show
  1. package/dist/src/exports.d.ts +1 -3
  2. package/dist/src/exports.js +1 -3
  3. package/dist/src/i18n/es.d.ts +0 -20
  4. package/dist/src/i18n/es.js +0 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  15. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  16. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  17. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  18. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  19. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  22. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -30
  23. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -5
  24. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  25. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  28. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  30. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  31. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  32. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  33. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  34. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  35. package/dist/src/profile/dto/profile.dto.js +63 -6
  36. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  37. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  38. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  39. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  40. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  41. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  42. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  43. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  44. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  45. package/dist/types/prisma-schema/edge.js +24 -38
  46. package/dist/types/prisma-schema/index-browser.js +9 -18
  47. package/dist/types/prisma-schema/index.d.ts +553 -3904
  48. package/dist/types/prisma-schema/index.js +24 -38
  49. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  50. package/dist/types/prisma-schema/package.json +2 -2
  51. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  52. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  53. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -1
  54. package/dist/types/prisma-schema/runtime/library.d.ts +133 -177
  55. package/dist/types/prisma-schema/runtime/library.js +51 -51
  56. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  57. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  58. package/dist/types/prisma-schema/schema.prisma +1 -22
  59. package/dist/types/prisma-schema/wasm.js +9 -18
  60. package/dist/types/schema.d.ts +6 -429
  61. package/package.json +17 -23
  62. package/dist/src/image/constants.d.ts +0 -5
  63. package/dist/src/image/constants.js +0 -9
  64. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  65. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  66. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  67. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  68. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  69. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  70. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  71. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  72. package/dist/src/mi-expo/exports.d.ts +0 -4
  73. package/dist/src/mi-expo/exports.js +0 -21
  74. package/dist/src/otp/constants.d.ts +0 -2
  75. package/dist/src/otp/constants.js +0 -6
  76. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  77. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  78. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  79. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  80. package/dist/src/otp/exports.d.ts +0 -2
  81. package/dist/src/otp/exports.js +0 -19
  82. package/dist/src/prisma/constants.d.ts +0 -1
  83. package/dist/src/prisma/constants.js +0 -5
  84. package/dist/src/schema/exports.d.ts +0 -2
  85. package/dist/src/schema/exports.js +0 -19
  86. package/dist/src/schema/profile.schema.d.ts +0 -74
  87. package/dist/src/schema/profile.schema.js +0 -133
  88. package/dist/src/webhook/constants.d.ts +0 -1
  89. package/dist/src/webhook/constants.js +0 -5
  90. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -1,311 +0,0 @@
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 {};
@@ -1,29 +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.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
@@ -1,327 +0,0 @@
1
- import z from 'zod';
2
- export declare const loginMiExpoSchema: z.ZodObject<Pick<{
3
- id: z.ZodString;
4
- username: z.ZodString;
5
- password: z.ZodString;
6
- role: z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- }>;
11
- isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
12
- fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
13
- created_at: z.ZodDate;
14
- updated_at: z.ZodDate;
15
- }, "username" | "password">, "strip", z.ZodTypeAny, {
16
- username: string;
17
- password: string;
18
- }, {
19
- username: string;
20
- password: string;
21
- }>;
22
- declare const LoginMiExpoDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- }, z.UnknownKeysParam, z.ZodTypeAny, {
26
- username: string;
27
- password: string;
28
- }, {
29
- username: string;
30
- password: string;
31
- }>>;
32
- export declare class LoginMiExpoDto extends LoginMiExpoDto_base {
33
- }
34
- export declare const loginMiExpoResponseSchema: z.ZodObject<{
35
- user: z.ZodObject<Omit<{
36
- id: z.ZodString;
37
- shortId: z.ZodNumber;
38
- firstTimeMiExpo: z.ZodBoolean;
39
- username: z.ZodNullable<z.ZodString>;
40
- password: z.ZodNullable<z.ZodString>;
41
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
42
- isPhoneVerified: z.ZodBoolean;
43
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
44
- fullName: z.ZodString;
45
- firstName: z.ZodNullable<z.ZodString>;
46
- gender: z.ZodNullable<z.ZodString>;
47
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
48
- profilePictureUrl: z.ZodNullable<z.ZodString>;
49
- instagram: z.ZodNullable<z.ZodString>;
50
- mail: z.ZodNullable<z.ZodString>;
51
- dni: z.ZodNullable<z.ZodString>;
52
- alternativeNames: z.ZodArray<z.ZodString, "many">;
53
- birthLocationId: z.ZodNullable<z.ZodString>;
54
- residenceLocationId: z.ZodNullable<z.ZodString>;
55
- isInTrash: z.ZodBoolean;
56
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
57
- created_at: z.ZodDate;
58
- updated_at: z.ZodDate;
59
- }, "password">, "strip", z.ZodTypeAny, {
60
- id: string;
61
- username: string | null;
62
- phoneNumber: string;
63
- secondaryPhoneNumber: string | null;
64
- fullName: string;
65
- profilePictureUrl: string | null;
66
- mail: string | null;
67
- created_at: Date;
68
- updated_at: Date;
69
- shortId: number;
70
- firstTimeMiExpo: boolean;
71
- isPhoneVerified: boolean;
72
- firstName: string | null;
73
- gender: string | null;
74
- birthDate: Date | null;
75
- instagram: string | null;
76
- dni: string | null;
77
- alternativeNames: string[];
78
- birthLocationId: string | null;
79
- residenceLocationId: string | null;
80
- isInTrash: boolean;
81
- movedToTrashDate: Date | null;
82
- }, {
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: string | 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
- }>;
106
- backendTokens: z.ZodObject<{
107
- accessToken: z.ZodString;
108
- refreshToken: z.ZodString;
109
- expiresIn: z.ZodNumber;
110
- }, "strip", z.ZodTypeAny, {
111
- accessToken: string;
112
- refreshToken: string;
113
- expiresIn: number;
114
- }, {
115
- accessToken: string;
116
- refreshToken: string;
117
- expiresIn: number;
118
- }>;
119
- }, "strip", z.ZodTypeAny, {
120
- user: {
121
- id: string;
122
- username: string | null;
123
- phoneNumber: string;
124
- secondaryPhoneNumber: string | null;
125
- fullName: string;
126
- profilePictureUrl: string | null;
127
- mail: string | null;
128
- created_at: Date;
129
- updated_at: Date;
130
- shortId: number;
131
- firstTimeMiExpo: boolean;
132
- isPhoneVerified: boolean;
133
- firstName: string | null;
134
- gender: string | null;
135
- birthDate: Date | null;
136
- instagram: string | null;
137
- dni: string | null;
138
- alternativeNames: string[];
139
- birthLocationId: string | null;
140
- residenceLocationId: string | null;
141
- isInTrash: boolean;
142
- movedToTrashDate: Date | null;
143
- };
144
- backendTokens: {
145
- accessToken: string;
146
- refreshToken: string;
147
- expiresIn: number;
148
- };
149
- }, {
150
- user: {
151
- id: string;
152
- username: string | null;
153
- phoneNumber: string;
154
- secondaryPhoneNumber: string | null;
155
- fullName: string;
156
- profilePictureUrl: string | null;
157
- mail: string | null;
158
- created_at: Date;
159
- updated_at: Date;
160
- shortId: number;
161
- firstTimeMiExpo: boolean;
162
- isPhoneVerified: boolean;
163
- firstName: string | null;
164
- gender: string | null;
165
- birthDate: string | null;
166
- instagram: string | null;
167
- dni: string | null;
168
- alternativeNames: string[];
169
- birthLocationId: string | null;
170
- residenceLocationId: string | null;
171
- isInTrash: boolean;
172
- movedToTrashDate: Date | null;
173
- };
174
- backendTokens: {
175
- accessToken: string;
176
- refreshToken: string;
177
- expiresIn: number;
178
- };
179
- }>;
180
- declare const LoginMiExpoResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
181
- user: z.ZodObject<{
182
- id: z.ZodString;
183
- username: z.ZodNullable<z.ZodString>;
184
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
185
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
186
- fullName: z.ZodString;
187
- profilePictureUrl: z.ZodNullable<z.ZodString>;
188
- mail: z.ZodNullable<z.ZodString>;
189
- created_at: z.ZodString;
190
- updated_at: z.ZodString;
191
- shortId: z.ZodNumber;
192
- firstTimeMiExpo: z.ZodBoolean;
193
- isPhoneVerified: z.ZodBoolean;
194
- firstName: z.ZodNullable<z.ZodString>;
195
- gender: z.ZodNullable<z.ZodString>;
196
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
197
- instagram: z.ZodNullable<z.ZodString>;
198
- dni: z.ZodNullable<z.ZodString>;
199
- alternativeNames: z.ZodArray<z.ZodString, "many">;
200
- birthLocationId: z.ZodNullable<z.ZodString>;
201
- residenceLocationId: z.ZodNullable<z.ZodString>;
202
- isInTrash: z.ZodBoolean;
203
- movedToTrashDate: z.ZodNullable<z.ZodString>;
204
- }, z.UnknownKeysParam, z.ZodTypeAny, {
205
- id: string;
206
- username: string | null;
207
- phoneNumber: string;
208
- secondaryPhoneNumber: string | null;
209
- fullName: string;
210
- profilePictureUrl: string | null;
211
- mail: string | null;
212
- created_at: string;
213
- updated_at: string;
214
- shortId: number;
215
- firstTimeMiExpo: boolean;
216
- isPhoneVerified: boolean;
217
- firstName: string | null;
218
- gender: string | null;
219
- birthDate: string | null;
220
- instagram: string | null;
221
- dni: string | null;
222
- alternativeNames: string[];
223
- birthLocationId: string | null;
224
- residenceLocationId: string | null;
225
- isInTrash: boolean;
226
- movedToTrashDate: string | null;
227
- }, {
228
- id: string;
229
- username: string | null;
230
- phoneNumber: string;
231
- secondaryPhoneNumber: string | null;
232
- fullName: string;
233
- profilePictureUrl: string | null;
234
- mail: string | null;
235
- created_at: string;
236
- updated_at: string;
237
- shortId: number;
238
- firstTimeMiExpo: boolean;
239
- isPhoneVerified: boolean;
240
- firstName: string | null;
241
- gender: string | null;
242
- birthDate: string | null;
243
- instagram: string | null;
244
- dni: string | null;
245
- alternativeNames: string[];
246
- birthLocationId: string | null;
247
- residenceLocationId: string | null;
248
- isInTrash: boolean;
249
- movedToTrashDate: string | null;
250
- }>;
251
- backendTokens: z.ZodObject<{
252
- accessToken: z.ZodString;
253
- refreshToken: z.ZodString;
254
- expiresIn: z.ZodNumber;
255
- }, z.UnknownKeysParam, z.ZodTypeAny, {
256
- accessToken: string;
257
- refreshToken: string;
258
- expiresIn: number;
259
- }, {
260
- accessToken: string;
261
- refreshToken: string;
262
- expiresIn: number;
263
- }>;
264
- }, z.UnknownKeysParam, z.ZodTypeAny, {
265
- user: {
266
- id: string;
267
- username: string | null;
268
- phoneNumber: string;
269
- secondaryPhoneNumber: string | null;
270
- fullName: string;
271
- profilePictureUrl: string | null;
272
- mail: string | null;
273
- created_at: string;
274
- updated_at: string;
275
- shortId: number;
276
- firstTimeMiExpo: boolean;
277
- isPhoneVerified: boolean;
278
- firstName: string | null;
279
- gender: string | null;
280
- birthDate: string | null;
281
- instagram: string | null;
282
- dni: string | null;
283
- alternativeNames: string[];
284
- birthLocationId: string | null;
285
- residenceLocationId: string | null;
286
- isInTrash: boolean;
287
- movedToTrashDate: string | null;
288
- };
289
- backendTokens: {
290
- accessToken: string;
291
- refreshToken: string;
292
- expiresIn: number;
293
- };
294
- }, {
295
- user: {
296
- id: string;
297
- username: string | null;
298
- phoneNumber: string;
299
- secondaryPhoneNumber: string | null;
300
- fullName: string;
301
- profilePictureUrl: string | null;
302
- mail: string | null;
303
- created_at: string;
304
- updated_at: string;
305
- shortId: number;
306
- firstTimeMiExpo: boolean;
307
- isPhoneVerified: boolean;
308
- firstName: string | null;
309
- gender: string | null;
310
- birthDate: string | null;
311
- instagram: string | null;
312
- dni: string | null;
313
- alternativeNames: string[];
314
- birthLocationId: string | null;
315
- residenceLocationId: string | null;
316
- isInTrash: boolean;
317
- movedToTrashDate: string | null;
318
- };
319
- backendTokens: {
320
- accessToken: string;
321
- refreshToken: string;
322
- expiresIn: number;
323
- };
324
- }>>;
325
- export declare class LoginMiExpoResponseDto extends LoginMiExpoResponseDto_base {
326
- }
327
- export {};
@@ -1,31 +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.LoginMiExpoResponseDto = exports.loginMiExpoResponseSchema = exports.LoginMiExpoDto = exports.loginMiExpoSchema = void 0;
7
- const account_dto_1 = require("../../account/dto/account.dto");
8
- const profile_schema_1 = require("../../schema/profile.schema");
9
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
- const zod_1 = __importDefault(require("zod"));
11
- exports.loginMiExpoSchema = account_dto_1.accountSchema.pick({
12
- username: true,
13
- password: true,
14
- });
15
- class LoginMiExpoDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginMiExpoSchema) {
16
- }
17
- exports.LoginMiExpoDto = LoginMiExpoDto;
18
- exports.loginMiExpoResponseSchema = zod_1.default.object({
19
- user: profile_schema_1.profileSchema.omit({
20
- password: true,
21
- }),
22
- backendTokens: zod_1.default.object({
23
- accessToken: zod_1.default.string(),
24
- refreshToken: zod_1.default.string(),
25
- expiresIn: zod_1.default.number(),
26
- }),
27
- });
28
- class LoginMiExpoResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginMiExpoResponseSchema) {
29
- }
30
- exports.LoginMiExpoResponseDto = LoginMiExpoResponseDto;
31
- //# sourceMappingURL=login.dto.js.map