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.
- package/dist/src/exports.d.ts +1 -3
- package/dist/src/exports.js +1 -3
- package/dist/src/i18n/es.d.ts +0 -20
- package/dist/src/i18n/es.js +0 -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/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 +6 -30
- package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -5
- 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/types/prisma-schema/edge.js +24 -38
- package/dist/types/prisma-schema/index-browser.js +9 -18
- package/dist/types/prisma-schema/index.d.ts +553 -3904
- package/dist/types/prisma-schema/index.js +24 -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 -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 +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +133 -177
- package/dist/types/prisma-schema/runtime/library.js +51 -51
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +1 -22
- package/dist/types/prisma-schema/wasm.js +9 -18
- package/dist/types/schema.d.ts +6 -429
- package/package.json +17 -23
- 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/otp/exports.js +0 -19
- 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 +1 @@
|
|
1
|
-
{"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BAWa;AAwBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
|
@@ -25,12 +25,8 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
|
29
|
-
|
30
|
-
password: z.ZodNullable<z.ZodString>;
|
31
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
32
|
-
isPhoneVerified: z.ZodBoolean;
|
33
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
29
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
34
30
|
fullName: z.ZodString;
|
35
31
|
firstName: z.ZodNullable<z.ZodString>;
|
36
32
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -48,8 +44,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
48
44
|
updated_at: z.ZodDate;
|
49
45
|
}, "strip", z.ZodTypeAny, {
|
50
46
|
id: string;
|
51
|
-
username: string | null;
|
52
|
-
password: string | null;
|
53
47
|
phoneNumber: string;
|
54
48
|
secondaryPhoneNumber: string | null;
|
55
49
|
fullName: string;
|
@@ -58,8 +52,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
58
52
|
created_at: Date;
|
59
53
|
updated_at: Date;
|
60
54
|
shortId: number;
|
61
|
-
firstTimeMiExpo: boolean;
|
62
|
-
isPhoneVerified: boolean;
|
63
55
|
firstName: string | null;
|
64
56
|
gender: string | null;
|
65
57
|
birthDate: Date | null;
|
@@ -72,8 +64,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
72
64
|
movedToTrashDate: Date | null;
|
73
65
|
}, {
|
74
66
|
id: string;
|
75
|
-
username: string | null;
|
76
|
-
password: string | null;
|
77
67
|
phoneNumber: string;
|
78
68
|
secondaryPhoneNumber: string | null;
|
79
69
|
fullName: string;
|
@@ -82,8 +72,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
82
72
|
created_at: Date;
|
83
73
|
updated_at: Date;
|
84
74
|
shortId: number;
|
85
|
-
firstTimeMiExpo: boolean;
|
86
|
-
isPhoneVerified: boolean;
|
87
75
|
firstName: string | null;
|
88
76
|
gender: string | null;
|
89
77
|
birthDate: string | null;
|
@@ -98,8 +86,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
98
86
|
}, "strip", z.ZodTypeAny, {
|
99
87
|
profiles: {
|
100
88
|
id: string;
|
101
|
-
username: string | null;
|
102
|
-
password: string | null;
|
103
89
|
phoneNumber: string;
|
104
90
|
secondaryPhoneNumber: string | null;
|
105
91
|
fullName: string;
|
@@ -108,8 +94,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
108
94
|
created_at: Date;
|
109
95
|
updated_at: Date;
|
110
96
|
shortId: number;
|
111
|
-
firstTimeMiExpo: boolean;
|
112
|
-
isPhoneVerified: boolean;
|
113
97
|
firstName: string | null;
|
114
98
|
gender: string | null;
|
115
99
|
birthDate: Date | null;
|
@@ -124,8 +108,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
124
108
|
}, {
|
125
109
|
profiles: {
|
126
110
|
id: string;
|
127
|
-
username: string | null;
|
128
|
-
password: string | null;
|
129
111
|
phoneNumber: string;
|
130
112
|
secondaryPhoneNumber: string | null;
|
131
113
|
fullName: string;
|
@@ -134,8 +116,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
134
116
|
created_at: Date;
|
135
117
|
updated_at: Date;
|
136
118
|
shortId: number;
|
137
|
-
firstTimeMiExpo: boolean;
|
138
|
-
isPhoneVerified: boolean;
|
139
119
|
firstName: string | null;
|
140
120
|
gender: string | null;
|
141
121
|
birthDate: string | null;
|
@@ -152,16 +132,12 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
152
132
|
profiles: z.ZodArray<z.ZodObject<{
|
153
133
|
id: z.ZodString;
|
154
134
|
shortId: z.ZodNumber;
|
155
|
-
|
156
|
-
|
157
|
-
password: z.ZodNullable<z.ZodString>;
|
158
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
159
|
-
isPhoneVerified: z.ZodBoolean;
|
160
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
135
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
136
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
161
137
|
fullName: z.ZodString;
|
162
138
|
firstName: z.ZodNullable<z.ZodString>;
|
163
139
|
gender: z.ZodNullable<z.ZodString>;
|
164
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
140
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
165
141
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
166
142
|
instagram: z.ZodNullable<z.ZodString>;
|
167
143
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -175,8 +151,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
175
151
|
updated_at: z.ZodString;
|
176
152
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
177
153
|
id: string;
|
178
|
-
username: string | null;
|
179
|
-
password: string | null;
|
180
154
|
phoneNumber: string;
|
181
155
|
secondaryPhoneNumber: string | null;
|
182
156
|
fullName: string;
|
@@ -185,11 +159,9 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
185
159
|
created_at: string;
|
186
160
|
updated_at: string;
|
187
161
|
shortId: number;
|
188
|
-
firstTimeMiExpo: boolean;
|
189
|
-
isPhoneVerified: boolean;
|
190
162
|
firstName: string | null;
|
191
163
|
gender: string | null;
|
192
|
-
birthDate:
|
164
|
+
birthDate: Date | null;
|
193
165
|
instagram: string | null;
|
194
166
|
dni: string | null;
|
195
167
|
alternativeNames: string[];
|
@@ -199,8 +171,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
199
171
|
movedToTrashDate: string | null;
|
200
172
|
}, {
|
201
173
|
id: string;
|
202
|
-
username: string | null;
|
203
|
-
password: string | null;
|
204
174
|
phoneNumber: string;
|
205
175
|
secondaryPhoneNumber: string | null;
|
206
176
|
fullName: string;
|
@@ -209,8 +179,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
209
179
|
created_at: string;
|
210
180
|
updated_at: string;
|
211
181
|
shortId: number;
|
212
|
-
firstTimeMiExpo: boolean;
|
213
|
-
isPhoneVerified: boolean;
|
214
182
|
firstName: string | null;
|
215
183
|
gender: string | null;
|
216
184
|
birthDate: string | null;
|
@@ -225,8 +193,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
225
193
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
226
194
|
profiles: {
|
227
195
|
id: string;
|
228
|
-
username: string | null;
|
229
|
-
password: string | null;
|
230
196
|
phoneNumber: string;
|
231
197
|
secondaryPhoneNumber: string | null;
|
232
198
|
fullName: string;
|
@@ -235,11 +201,9 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
235
201
|
created_at: string;
|
236
202
|
updated_at: string;
|
237
203
|
shortId: number;
|
238
|
-
firstTimeMiExpo: boolean;
|
239
|
-
isPhoneVerified: boolean;
|
240
204
|
firstName: string | null;
|
241
205
|
gender: string | null;
|
242
|
-
birthDate:
|
206
|
+
birthDate: Date | null;
|
243
207
|
instagram: string | null;
|
244
208
|
dni: string | null;
|
245
209
|
alternativeNames: string[];
|
@@ -251,8 +215,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
251
215
|
}, {
|
252
216
|
profiles: {
|
253
217
|
id: string;
|
254
|
-
username: string | null;
|
255
|
-
password: string | null;
|
256
218
|
phoneNumber: string;
|
257
219
|
secondaryPhoneNumber: string | null;
|
258
220
|
fullName: string;
|
@@ -261,8 +223,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
261
223
|
created_at: string;
|
262
224
|
updated_at: string;
|
263
225
|
shortId: number;
|
264
|
-
firstTimeMiExpo: boolean;
|
265
|
-
isPhoneVerified: boolean;
|
266
226
|
firstName: string | null;
|
267
227
|
gender: string | null;
|
268
228
|
birthDate: string | null;
|
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveAllocationResponseDto = exports.massiveAllocationResponseSchema = exports.MassiveAllocationDto = exports.massiveAllocationSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.massiveAllocationSchema = zod_1.default.object({
|
12
12
|
tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
13
|
-
profileIds: zod_1.default.array(
|
13
|
+
profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
|
14
14
|
});
|
15
15
|
class MassiveAllocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationSchema) {
|
16
16
|
}
|
17
17
|
exports.MassiveAllocationDto = MassiveAllocationDto;
|
18
18
|
exports.massiveAllocationResponseSchema = zod_1.default.object({
|
19
|
-
profiles: zod_1.default.array(
|
19
|
+
profiles: zod_1.default.array(profile_dto_1.profileSchema),
|
20
20
|
});
|
21
21
|
class MassiveAllocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationResponseSchema) {
|
22
22
|
}
|
@@ -25,12 +25,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
|
29
|
-
|
30
|
-
password: z.ZodNullable<z.ZodString>;
|
31
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
32
|
-
isPhoneVerified: z.ZodBoolean;
|
33
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
29
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
34
30
|
fullName: z.ZodString;
|
35
31
|
firstName: z.ZodNullable<z.ZodString>;
|
36
32
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -48,8 +44,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
48
44
|
updated_at: z.ZodDate;
|
49
45
|
}, "strip", z.ZodTypeAny, {
|
50
46
|
id: string;
|
51
|
-
username: string | null;
|
52
|
-
password: string | null;
|
53
47
|
phoneNumber: string;
|
54
48
|
secondaryPhoneNumber: string | null;
|
55
49
|
fullName: string;
|
@@ -58,8 +52,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
58
52
|
created_at: Date;
|
59
53
|
updated_at: Date;
|
60
54
|
shortId: number;
|
61
|
-
firstTimeMiExpo: boolean;
|
62
|
-
isPhoneVerified: boolean;
|
63
55
|
firstName: string | null;
|
64
56
|
gender: string | null;
|
65
57
|
birthDate: Date | null;
|
@@ -72,8 +64,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
72
64
|
movedToTrashDate: Date | null;
|
73
65
|
}, {
|
74
66
|
id: string;
|
75
|
-
username: string | null;
|
76
|
-
password: string | null;
|
77
67
|
phoneNumber: string;
|
78
68
|
secondaryPhoneNumber: string | null;
|
79
69
|
fullName: string;
|
@@ -82,8 +72,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
82
72
|
created_at: Date;
|
83
73
|
updated_at: Date;
|
84
74
|
shortId: number;
|
85
|
-
firstTimeMiExpo: boolean;
|
86
|
-
isPhoneVerified: boolean;
|
87
75
|
firstName: string | null;
|
88
76
|
gender: string | null;
|
89
77
|
birthDate: string | null;
|
@@ -98,8 +86,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
98
86
|
}, "strip", z.ZodTypeAny, {
|
99
87
|
profiles: {
|
100
88
|
id: string;
|
101
|
-
username: string | null;
|
102
|
-
password: string | null;
|
103
89
|
phoneNumber: string;
|
104
90
|
secondaryPhoneNumber: string | null;
|
105
91
|
fullName: string;
|
@@ -108,8 +94,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
108
94
|
created_at: Date;
|
109
95
|
updated_at: Date;
|
110
96
|
shortId: number;
|
111
|
-
firstTimeMiExpo: boolean;
|
112
|
-
isPhoneVerified: boolean;
|
113
97
|
firstName: string | null;
|
114
98
|
gender: string | null;
|
115
99
|
birthDate: Date | null;
|
@@ -124,8 +108,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
124
108
|
}, {
|
125
109
|
profiles: {
|
126
110
|
id: string;
|
127
|
-
username: string | null;
|
128
|
-
password: string | null;
|
129
111
|
phoneNumber: string;
|
130
112
|
secondaryPhoneNumber: string | null;
|
131
113
|
fullName: string;
|
@@ -134,8 +116,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
134
116
|
created_at: Date;
|
135
117
|
updated_at: Date;
|
136
118
|
shortId: number;
|
137
|
-
firstTimeMiExpo: boolean;
|
138
|
-
isPhoneVerified: boolean;
|
139
119
|
firstName: string | null;
|
140
120
|
gender: string | null;
|
141
121
|
birthDate: string | null;
|
@@ -152,16 +132,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
152
132
|
profiles: z.ZodArray<z.ZodObject<{
|
153
133
|
id: z.ZodString;
|
154
134
|
shortId: z.ZodNumber;
|
155
|
-
|
156
|
-
|
157
|
-
password: z.ZodNullable<z.ZodString>;
|
158
|
-
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
159
|
-
isPhoneVerified: z.ZodBoolean;
|
160
|
-
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
135
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
136
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
161
137
|
fullName: z.ZodString;
|
162
138
|
firstName: z.ZodNullable<z.ZodString>;
|
163
139
|
gender: z.ZodNullable<z.ZodString>;
|
164
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
140
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
165
141
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
166
142
|
instagram: z.ZodNullable<z.ZodString>;
|
167
143
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -175,8 +151,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
175
151
|
updated_at: z.ZodString;
|
176
152
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
177
153
|
id: string;
|
178
|
-
username: string | null;
|
179
|
-
password: string | null;
|
180
154
|
phoneNumber: string;
|
181
155
|
secondaryPhoneNumber: string | null;
|
182
156
|
fullName: string;
|
@@ -185,11 +159,9 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
185
159
|
created_at: string;
|
186
160
|
updated_at: string;
|
187
161
|
shortId: number;
|
188
|
-
firstTimeMiExpo: boolean;
|
189
|
-
isPhoneVerified: boolean;
|
190
162
|
firstName: string | null;
|
191
163
|
gender: string | null;
|
192
|
-
birthDate:
|
164
|
+
birthDate: Date | null;
|
193
165
|
instagram: string | null;
|
194
166
|
dni: string | null;
|
195
167
|
alternativeNames: string[];
|
@@ -199,8 +171,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
199
171
|
movedToTrashDate: string | null;
|
200
172
|
}, {
|
201
173
|
id: string;
|
202
|
-
username: string | null;
|
203
|
-
password: string | null;
|
204
174
|
phoneNumber: string;
|
205
175
|
secondaryPhoneNumber: string | null;
|
206
176
|
fullName: string;
|
@@ -209,8 +179,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
209
179
|
created_at: string;
|
210
180
|
updated_at: string;
|
211
181
|
shortId: number;
|
212
|
-
firstTimeMiExpo: boolean;
|
213
|
-
isPhoneVerified: boolean;
|
214
182
|
firstName: string | null;
|
215
183
|
gender: string | null;
|
216
184
|
birthDate: string | null;
|
@@ -225,8 +193,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
225
193
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
226
194
|
profiles: {
|
227
195
|
id: string;
|
228
|
-
username: string | null;
|
229
|
-
password: string | null;
|
230
196
|
phoneNumber: string;
|
231
197
|
secondaryPhoneNumber: string | null;
|
232
198
|
fullName: string;
|
@@ -235,11 +201,9 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
235
201
|
created_at: string;
|
236
202
|
updated_at: string;
|
237
203
|
shortId: number;
|
238
|
-
firstTimeMiExpo: boolean;
|
239
|
-
isPhoneVerified: boolean;
|
240
204
|
firstName: string | null;
|
241
205
|
gender: string | null;
|
242
|
-
birthDate:
|
206
|
+
birthDate: Date | null;
|
243
207
|
instagram: string | null;
|
244
208
|
dni: string | null;
|
245
209
|
alternativeNames: string[];
|
@@ -251,8 +215,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
251
215
|
}, {
|
252
216
|
profiles: {
|
253
217
|
id: string;
|
254
|
-
username: string | null;
|
255
|
-
password: string | null;
|
256
218
|
phoneNumber: string;
|
257
219
|
secondaryPhoneNumber: string | null;
|
258
220
|
fullName: string;
|
@@ -261,8 +223,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
261
223
|
created_at: string;
|
262
224
|
updated_at: string;
|
263
225
|
shortId: number;
|
264
|
-
firstTimeMiExpo: boolean;
|
265
|
-
isPhoneVerified: boolean;
|
266
226
|
firstName: string | null;
|
267
227
|
gender: string | null;
|
268
228
|
birthDate: string | null;
|
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.massiveDeallocationSchema = zod_1.default.object({
|
12
12
|
tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
13
|
-
profileIds: zod_1.default.array(
|
13
|
+
profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
|
14
14
|
});
|
15
15
|
class MassiveDeallocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationSchema) {
|
16
16
|
}
|
17
17
|
exports.MassiveDeallocationDto = MassiveDeallocationDto;
|
18
18
|
exports.massiveDeallocationResponseSchema = zod_1.default.object({
|
19
|
-
profiles: zod_1.default.array(
|
19
|
+
profiles: zod_1.default.array(profile_dto_1.profileSchema),
|
20
20
|
});
|
21
21
|
class MassiveDeallocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationResponseSchema) {
|
22
22
|
}
|