expo-backend-types 0.33.0 → 0.34.0
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 +3 -0
- package/dist/src/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +20 -0
- package/dist/src/i18n/es.js +20 -0
- 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/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +38 -24
- package/dist/types/prisma-schema/index-browser.js +18 -9
- package/dist/types/prisma-schema/index.d.ts +4093 -456
- package/dist/types/prisma-schema/index.js +38 -24
- 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 +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +506 -2
- package/package.json +41 -40
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -3,8 +3,12 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
8
12
|
fullName: z.ZodString;
|
9
13
|
firstName: z.ZodNullable<z.ZodString>;
|
10
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -50,6 +54,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
50
54
|
}>, "many">;
|
51
55
|
}>, "strip", z.ZodTypeAny, {
|
52
56
|
id: string;
|
57
|
+
username: string | null;
|
58
|
+
password: string | null;
|
53
59
|
phoneNumber: string;
|
54
60
|
secondaryPhoneNumber: string | null;
|
55
61
|
fullName: string;
|
@@ -58,6 +64,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
58
64
|
created_at: Date;
|
59
65
|
updated_at: Date;
|
60
66
|
shortId: number;
|
67
|
+
firstTimeMiExpo: boolean;
|
68
|
+
isPhoneVerified: boolean;
|
61
69
|
firstName: string | null;
|
62
70
|
gender: string | null;
|
63
71
|
birthDate: Date | null;
|
@@ -78,6 +86,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
78
86
|
}[];
|
79
87
|
}, {
|
80
88
|
id: string;
|
89
|
+
username: string | null;
|
90
|
+
password: string | null;
|
81
91
|
phoneNumber: string;
|
82
92
|
secondaryPhoneNumber: string | null;
|
83
93
|
fullName: string;
|
@@ -86,6 +96,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
86
96
|
created_at: Date;
|
87
97
|
updated_at: Date;
|
88
98
|
shortId: number;
|
99
|
+
firstTimeMiExpo: boolean;
|
100
|
+
isPhoneVerified: boolean;
|
89
101
|
firstName: string | null;
|
90
102
|
gender: string | null;
|
91
103
|
birthDate: string | null;
|
@@ -108,6 +120,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
108
120
|
}, "strip", z.ZodTypeAny, {
|
109
121
|
profiles: {
|
110
122
|
id: string;
|
123
|
+
username: string | null;
|
124
|
+
password: string | null;
|
111
125
|
phoneNumber: string;
|
112
126
|
secondaryPhoneNumber: string | null;
|
113
127
|
fullName: string;
|
@@ -116,6 +130,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
116
130
|
created_at: Date;
|
117
131
|
updated_at: Date;
|
118
132
|
shortId: number;
|
133
|
+
firstTimeMiExpo: boolean;
|
134
|
+
isPhoneVerified: boolean;
|
119
135
|
firstName: string | null;
|
120
136
|
gender: string | null;
|
121
137
|
birthDate: Date | null;
|
@@ -138,6 +154,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
138
154
|
}, {
|
139
155
|
profiles: {
|
140
156
|
id: string;
|
157
|
+
username: string | null;
|
158
|
+
password: string | null;
|
141
159
|
phoneNumber: string;
|
142
160
|
secondaryPhoneNumber: string | null;
|
143
161
|
fullName: string;
|
@@ -146,6 +164,8 @@ export declare const findByTagGroupsProfileResponseSchema: z.ZodObject<{
|
|
146
164
|
created_at: Date;
|
147
165
|
updated_at: Date;
|
148
166
|
shortId: number;
|
167
|
+
firstTimeMiExpo: boolean;
|
168
|
+
isPhoneVerified: boolean;
|
149
169
|
firstName: string | null;
|
150
170
|
gender: string | null;
|
151
171
|
birthDate: string | null;
|
@@ -170,12 +190,16 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
170
190
|
profiles: z.ZodArray<z.ZodObject<{
|
171
191
|
id: z.ZodString;
|
172
192
|
shortId: z.ZodNumber;
|
173
|
-
|
174
|
-
|
193
|
+
firstTimeMiExpo: z.ZodBoolean;
|
194
|
+
username: z.ZodNullable<z.ZodString>;
|
195
|
+
password: z.ZodNullable<z.ZodString>;
|
196
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
197
|
+
isPhoneVerified: z.ZodBoolean;
|
198
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
175
199
|
fullName: z.ZodString;
|
176
200
|
firstName: z.ZodNullable<z.ZodString>;
|
177
201
|
gender: z.ZodNullable<z.ZodString>;
|
178
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
202
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
179
203
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
180
204
|
instagram: z.ZodNullable<z.ZodString>;
|
181
205
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -216,6 +240,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
216
240
|
}>, "many">;
|
217
241
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
218
242
|
id: string;
|
243
|
+
username: string | null;
|
244
|
+
password: string | null;
|
219
245
|
phoneNumber: string;
|
220
246
|
secondaryPhoneNumber: string | null;
|
221
247
|
fullName: string;
|
@@ -224,9 +250,11 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
224
250
|
created_at: string;
|
225
251
|
updated_at: string;
|
226
252
|
shortId: number;
|
253
|
+
firstTimeMiExpo: boolean;
|
254
|
+
isPhoneVerified: boolean;
|
227
255
|
firstName: string | null;
|
228
256
|
gender: string | null;
|
229
|
-
birthDate:
|
257
|
+
birthDate: string | null;
|
230
258
|
instagram: string | null;
|
231
259
|
dni: string | null;
|
232
260
|
alternativeNames: string[];
|
@@ -244,6 +272,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
244
272
|
}[];
|
245
273
|
}, {
|
246
274
|
id: string;
|
275
|
+
username: string | null;
|
276
|
+
password: string | null;
|
247
277
|
phoneNumber: string;
|
248
278
|
secondaryPhoneNumber: string | null;
|
249
279
|
fullName: string;
|
@@ -252,6 +282,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
252
282
|
created_at: string;
|
253
283
|
updated_at: string;
|
254
284
|
shortId: number;
|
285
|
+
firstTimeMiExpo: boolean;
|
286
|
+
isPhoneVerified: boolean;
|
255
287
|
firstName: string | null;
|
256
288
|
gender: string | null;
|
257
289
|
birthDate: string | null;
|
@@ -274,6 +306,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
274
306
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
275
307
|
profiles: {
|
276
308
|
id: string;
|
309
|
+
username: string | null;
|
310
|
+
password: string | null;
|
277
311
|
phoneNumber: string;
|
278
312
|
secondaryPhoneNumber: string | null;
|
279
313
|
fullName: string;
|
@@ -282,9 +316,11 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
282
316
|
created_at: string;
|
283
317
|
updated_at: string;
|
284
318
|
shortId: number;
|
319
|
+
firstTimeMiExpo: boolean;
|
320
|
+
isPhoneVerified: boolean;
|
285
321
|
firstName: string | null;
|
286
322
|
gender: string | null;
|
287
|
-
birthDate:
|
323
|
+
birthDate: string | null;
|
288
324
|
instagram: string | null;
|
289
325
|
dni: string | null;
|
290
326
|
alternativeNames: string[];
|
@@ -304,6 +340,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
304
340
|
}, {
|
305
341
|
profiles: {
|
306
342
|
id: string;
|
343
|
+
username: string | null;
|
344
|
+
password: string | null;
|
307
345
|
phoneNumber: string;
|
308
346
|
secondaryPhoneNumber: string | null;
|
309
347
|
fullName: string;
|
@@ -312,6 +350,8 @@ declare const FindByTagGroupsProfileResponseDto_base: import("@anatine/zod-nestj
|
|
312
350
|
created_at: string;
|
313
351
|
updated_at: string;
|
314
352
|
shortId: number;
|
353
|
+
firstTimeMiExpo: boolean;
|
354
|
+
isPhoneVerified: boolean;
|
315
355
|
firstName: string | null;
|
316
356
|
gender: string | null;
|
317
357
|
birthDate: string | null;
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByTagGroupsProfileResponseDto = exports.findByTagGroupsProfileResponseSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
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/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.findByTagGroupsProfileResponseSchema = zod_1.default.object({
|
12
|
-
profiles: zod_1.default.array(
|
12
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
|
13
13
|
tags: zod_1.default.array(tag_dto_1.tagSchema),
|
14
14
|
}))),
|
15
15
|
});
|
@@ -3,8 +3,12 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
8
12
|
fullName: z.ZodString;
|
9
13
|
firstName: z.ZodNullable<z.ZodString>;
|
10
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -69,6 +73,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
69
73
|
}>, "many">;
|
70
74
|
}>, "strip", z.ZodTypeAny, {
|
71
75
|
id: string;
|
76
|
+
username: string | null;
|
77
|
+
password: string | null;
|
72
78
|
phoneNumber: string;
|
73
79
|
secondaryPhoneNumber: string | null;
|
74
80
|
fullName: string;
|
@@ -77,6 +83,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
77
83
|
created_at: Date;
|
78
84
|
updated_at: Date;
|
79
85
|
shortId: number;
|
86
|
+
firstTimeMiExpo: boolean;
|
87
|
+
isPhoneVerified: boolean;
|
80
88
|
firstName: string | null;
|
81
89
|
gender: string | null;
|
82
90
|
birthDate: Date | null;
|
@@ -100,6 +108,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
100
108
|
}[];
|
101
109
|
}, {
|
102
110
|
id: string;
|
111
|
+
username: string | null;
|
112
|
+
password: string | null;
|
103
113
|
phoneNumber: string;
|
104
114
|
secondaryPhoneNumber: string | null;
|
105
115
|
fullName: string;
|
@@ -108,6 +118,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
108
118
|
created_at: Date;
|
109
119
|
updated_at: Date;
|
110
120
|
shortId: number;
|
121
|
+
firstTimeMiExpo: boolean;
|
122
|
+
isPhoneVerified: boolean;
|
111
123
|
firstName: string | null;
|
112
124
|
gender: string | null;
|
113
125
|
birthDate: string | null;
|
@@ -133,6 +145,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
133
145
|
}, "strip", z.ZodTypeAny, {
|
134
146
|
profiles: {
|
135
147
|
id: string;
|
148
|
+
username: string | null;
|
149
|
+
password: string | null;
|
136
150
|
phoneNumber: string;
|
137
151
|
secondaryPhoneNumber: string | null;
|
138
152
|
fullName: string;
|
@@ -141,6 +155,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
141
155
|
created_at: Date;
|
142
156
|
updated_at: Date;
|
143
157
|
shortId: number;
|
158
|
+
firstTimeMiExpo: boolean;
|
159
|
+
isPhoneVerified: boolean;
|
144
160
|
firstName: string | null;
|
145
161
|
gender: string | null;
|
146
162
|
birthDate: Date | null;
|
@@ -166,6 +182,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
166
182
|
}, {
|
167
183
|
profiles: {
|
168
184
|
id: string;
|
185
|
+
username: string | null;
|
186
|
+
password: string | null;
|
169
187
|
phoneNumber: string;
|
170
188
|
secondaryPhoneNumber: string | null;
|
171
189
|
fullName: string;
|
@@ -174,6 +192,8 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
|
|
174
192
|
created_at: Date;
|
175
193
|
updated_at: Date;
|
176
194
|
shortId: number;
|
195
|
+
firstTimeMiExpo: boolean;
|
196
|
+
isPhoneVerified: boolean;
|
177
197
|
firstName: string | null;
|
178
198
|
gender: string | null;
|
179
199
|
birthDate: string | null;
|
@@ -201,12 +221,16 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
201
221
|
profiles: z.ZodArray<z.ZodObject<{
|
202
222
|
id: z.ZodString;
|
203
223
|
shortId: z.ZodNumber;
|
204
|
-
|
205
|
-
|
224
|
+
firstTimeMiExpo: z.ZodBoolean;
|
225
|
+
username: z.ZodNullable<z.ZodString>;
|
226
|
+
password: z.ZodNullable<z.ZodString>;
|
227
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
228
|
+
isPhoneVerified: z.ZodBoolean;
|
229
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
206
230
|
fullName: z.ZodString;
|
207
231
|
firstName: z.ZodNullable<z.ZodString>;
|
208
232
|
gender: z.ZodNullable<z.ZodString>;
|
209
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
233
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
210
234
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
211
235
|
instagram: z.ZodNullable<z.ZodString>;
|
212
236
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -260,6 +284,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
260
284
|
}>, "many">;
|
261
285
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
262
286
|
id: string;
|
287
|
+
username: string | null;
|
288
|
+
password: string | null;
|
263
289
|
phoneNumber: string;
|
264
290
|
secondaryPhoneNumber: string | null;
|
265
291
|
fullName: string;
|
@@ -268,9 +294,11 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
268
294
|
created_at: string;
|
269
295
|
updated_at: string;
|
270
296
|
shortId: number;
|
297
|
+
firstTimeMiExpo: boolean;
|
298
|
+
isPhoneVerified: boolean;
|
271
299
|
firstName: string | null;
|
272
300
|
gender: string | null;
|
273
|
-
birthDate:
|
301
|
+
birthDate: string | null;
|
274
302
|
instagram: string | null;
|
275
303
|
dni: string | null;
|
276
304
|
alternativeNames: string[];
|
@@ -291,6 +319,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
291
319
|
}[];
|
292
320
|
}, {
|
293
321
|
id: string;
|
322
|
+
username: string | null;
|
323
|
+
password: string | null;
|
294
324
|
phoneNumber: string;
|
295
325
|
secondaryPhoneNumber: string | null;
|
296
326
|
fullName: string;
|
@@ -299,6 +329,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
299
329
|
created_at: string;
|
300
330
|
updated_at: string;
|
301
331
|
shortId: number;
|
332
|
+
firstTimeMiExpo: boolean;
|
333
|
+
isPhoneVerified: boolean;
|
302
334
|
firstName: string | null;
|
303
335
|
gender: string | null;
|
304
336
|
birthDate: string | null;
|
@@ -324,6 +356,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
324
356
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
325
357
|
profiles: {
|
326
358
|
id: string;
|
359
|
+
username: string | null;
|
360
|
+
password: string | null;
|
327
361
|
phoneNumber: string;
|
328
362
|
secondaryPhoneNumber: string | null;
|
329
363
|
fullName: string;
|
@@ -332,9 +366,11 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
332
366
|
created_at: string;
|
333
367
|
updated_at: string;
|
334
368
|
shortId: number;
|
369
|
+
firstTimeMiExpo: boolean;
|
370
|
+
isPhoneVerified: boolean;
|
335
371
|
firstName: string | null;
|
336
372
|
gender: string | null;
|
337
|
-
birthDate:
|
373
|
+
birthDate: string | null;
|
338
374
|
instagram: string | null;
|
339
375
|
dni: string | null;
|
340
376
|
alternativeNames: string[];
|
@@ -357,6 +393,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
357
393
|
}, {
|
358
394
|
profiles: {
|
359
395
|
id: string;
|
396
|
+
username: string | null;
|
397
|
+
password: string | null;
|
360
398
|
phoneNumber: string;
|
361
399
|
secondaryPhoneNumber: string | null;
|
362
400
|
fullName: string;
|
@@ -365,6 +403,8 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
365
403
|
created_at: string;
|
366
404
|
updated_at: string;
|
367
405
|
shortId: number;
|
406
|
+
firstTimeMiExpo: boolean;
|
407
|
+
isPhoneVerified: boolean;
|
368
408
|
firstName: string | null;
|
369
409
|
gender: string | null;
|
370
410
|
birthDate: string | null;
|
@@ -4,13 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByTagsProfileResponseDto = exports.findByTagsProfileResponseSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
10
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
11
|
const zod_1 = __importDefault(require("zod"));
|
12
12
|
exports.findByTagsProfileResponseSchema = zod_1.default.object({
|
13
|
-
profiles: zod_1.default.array(
|
13
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
|
14
14
|
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
15
15
|
group: tag_group_dto_1.tagGroupSchema.pick({
|
16
16
|
isExclusive: true,
|
@@ -3,8 +3,12 @@ export declare const findTrashResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
8
12
|
fullName: z.ZodString;
|
9
13
|
firstName: z.ZodNullable<z.ZodString>;
|
10
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -61,7 +65,7 @@ export declare const findTrashResponseSchema: z.ZodObject<{
|
|
61
65
|
declare const FindTrashResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
62
66
|
profiles: z.ZodArray<z.ZodObject<{
|
63
67
|
id: z.ZodString;
|
64
|
-
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
68
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
65
69
|
fullName: z.ZodString;
|
66
70
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
67
71
|
created_at: z.ZodString;
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindTrashResponseDto = exports.findTrashResponseSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
exports.findTrashResponseSchema = zod_1.default.object({
|
11
|
-
profiles: zod_1.default.array(
|
11
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema.pick({
|
12
12
|
id: true,
|
13
13
|
fullName: true,
|
14
14
|
profilePictureUrl: true,
|
@@ -3,8 +3,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
3
3
|
profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
shortId: z.ZodNumber;
|
6
|
-
|
7
|
-
|
6
|
+
firstTimeMiExpo: z.ZodBoolean;
|
7
|
+
username: z.ZodNullable<z.ZodString>;
|
8
|
+
password: z.ZodNullable<z.ZodString>;
|
9
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
10
|
+
isPhoneVerified: z.ZodBoolean;
|
11
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
8
12
|
fullName: z.ZodString;
|
9
13
|
firstName: z.ZodNullable<z.ZodString>;
|
10
14
|
gender: z.ZodNullable<z.ZodString>;
|
@@ -159,6 +163,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
159
163
|
}>, "many">;
|
160
164
|
}>, "strip", z.ZodTypeAny, {
|
161
165
|
id: string;
|
166
|
+
username: string | null;
|
167
|
+
password: string | null;
|
162
168
|
phoneNumber: string;
|
163
169
|
secondaryPhoneNumber: string | null;
|
164
170
|
fullName: string;
|
@@ -167,6 +173,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
167
173
|
created_at: Date;
|
168
174
|
updated_at: Date;
|
169
175
|
shortId: number;
|
176
|
+
firstTimeMiExpo: boolean;
|
177
|
+
isPhoneVerified: boolean;
|
170
178
|
firstName: string | null;
|
171
179
|
gender: string | null;
|
172
180
|
birthDate: Date | null;
|
@@ -209,6 +217,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
209
217
|
inChat: boolean;
|
210
218
|
}, {
|
211
219
|
id: string;
|
220
|
+
username: string | null;
|
221
|
+
password: string | null;
|
212
222
|
phoneNumber: string;
|
213
223
|
secondaryPhoneNumber: string | null;
|
214
224
|
fullName: string;
|
@@ -217,6 +227,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
217
227
|
created_at: Date;
|
218
228
|
updated_at: Date;
|
219
229
|
shortId: number;
|
230
|
+
firstTimeMiExpo: boolean;
|
231
|
+
isPhoneVerified: boolean;
|
220
232
|
firstName: string | null;
|
221
233
|
gender: string | null;
|
222
234
|
birthDate: string | null;
|
@@ -261,6 +273,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
261
273
|
}, "strip", z.ZodTypeAny, {
|
262
274
|
profiles: {
|
263
275
|
id: string;
|
276
|
+
username: string | null;
|
277
|
+
password: string | null;
|
264
278
|
phoneNumber: string;
|
265
279
|
secondaryPhoneNumber: string | null;
|
266
280
|
fullName: string;
|
@@ -269,6 +283,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
269
283
|
created_at: Date;
|
270
284
|
updated_at: Date;
|
271
285
|
shortId: number;
|
286
|
+
firstTimeMiExpo: boolean;
|
287
|
+
isPhoneVerified: boolean;
|
272
288
|
firstName: string | null;
|
273
289
|
gender: string | null;
|
274
290
|
birthDate: Date | null;
|
@@ -313,6 +329,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
313
329
|
}, {
|
314
330
|
profiles: {
|
315
331
|
id: string;
|
332
|
+
username: string | null;
|
333
|
+
password: string | null;
|
316
334
|
phoneNumber: string;
|
317
335
|
secondaryPhoneNumber: string | null;
|
318
336
|
fullName: string;
|
@@ -321,6 +339,8 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
321
339
|
created_at: Date;
|
322
340
|
updated_at: Date;
|
323
341
|
shortId: number;
|
342
|
+
firstTimeMiExpo: boolean;
|
343
|
+
isPhoneVerified: boolean;
|
324
344
|
firstName: string | null;
|
325
345
|
gender: string | null;
|
326
346
|
birthDate: string | null;
|
@@ -367,12 +387,16 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
367
387
|
profiles: z.ZodArray<z.ZodObject<{
|
368
388
|
id: z.ZodString;
|
369
389
|
shortId: z.ZodNumber;
|
370
|
-
|
371
|
-
|
390
|
+
firstTimeMiExpo: z.ZodBoolean;
|
391
|
+
username: z.ZodNullable<z.ZodString>;
|
392
|
+
password: z.ZodNullable<z.ZodString>;
|
393
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
394
|
+
isPhoneVerified: z.ZodBoolean;
|
395
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
372
396
|
fullName: z.ZodString;
|
373
397
|
firstName: z.ZodNullable<z.ZodString>;
|
374
398
|
gender: z.ZodNullable<z.ZodString>;
|
375
|
-
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.
|
399
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
376
400
|
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
377
401
|
instagram: z.ZodNullable<z.ZodString>;
|
378
402
|
mail: z.ZodNullable<z.ZodString>;
|
@@ -519,6 +543,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
519
543
|
}>, "many">;
|
520
544
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
521
545
|
id: string;
|
546
|
+
username: string | null;
|
547
|
+
password: string | null;
|
522
548
|
phoneNumber: string;
|
523
549
|
secondaryPhoneNumber: string | null;
|
524
550
|
fullName: string;
|
@@ -527,9 +553,11 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
527
553
|
created_at: string;
|
528
554
|
updated_at: string;
|
529
555
|
shortId: number;
|
556
|
+
firstTimeMiExpo: boolean;
|
557
|
+
isPhoneVerified: boolean;
|
530
558
|
firstName: string | null;
|
531
559
|
gender: string | null;
|
532
|
-
birthDate:
|
560
|
+
birthDate: string | null;
|
533
561
|
instagram: string | null;
|
534
562
|
dni: string | null;
|
535
563
|
alternativeNames: string[];
|
@@ -569,6 +597,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
569
597
|
inChat: boolean;
|
570
598
|
}, {
|
571
599
|
id: string;
|
600
|
+
username: string | null;
|
601
|
+
password: string | null;
|
572
602
|
phoneNumber: string;
|
573
603
|
secondaryPhoneNumber: string | null;
|
574
604
|
fullName: string;
|
@@ -577,6 +607,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
577
607
|
created_at: string;
|
578
608
|
updated_at: string;
|
579
609
|
shortId: number;
|
610
|
+
firstTimeMiExpo: boolean;
|
611
|
+
isPhoneVerified: boolean;
|
580
612
|
firstName: string | null;
|
581
613
|
gender: string | null;
|
582
614
|
birthDate: string | null;
|
@@ -621,6 +653,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
621
653
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
622
654
|
profiles: {
|
623
655
|
id: string;
|
656
|
+
username: string | null;
|
657
|
+
password: string | null;
|
624
658
|
phoneNumber: string;
|
625
659
|
secondaryPhoneNumber: string | null;
|
626
660
|
fullName: string;
|
@@ -629,9 +663,11 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
629
663
|
created_at: string;
|
630
664
|
updated_at: string;
|
631
665
|
shortId: number;
|
666
|
+
firstTimeMiExpo: boolean;
|
667
|
+
isPhoneVerified: boolean;
|
632
668
|
firstName: string | null;
|
633
669
|
gender: string | null;
|
634
|
-
birthDate:
|
670
|
+
birthDate: string | null;
|
635
671
|
instagram: string | null;
|
636
672
|
dni: string | null;
|
637
673
|
alternativeNames: string[];
|
@@ -673,6 +709,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
673
709
|
}, {
|
674
710
|
profiles: {
|
675
711
|
id: string;
|
712
|
+
username: string | null;
|
713
|
+
password: string | null;
|
676
714
|
phoneNumber: string;
|
677
715
|
secondaryPhoneNumber: string | null;
|
678
716
|
fullName: string;
|
@@ -681,6 +719,8 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
681
719
|
created_at: string;
|
682
720
|
updated_at: string;
|
683
721
|
shortId: number;
|
722
|
+
firstTimeMiExpo: boolean;
|
723
|
+
isPhoneVerified: boolean;
|
684
724
|
firstName: string | null;
|
685
725
|
gender: string | null;
|
686
726
|
birthDate: string | null;
|
@@ -5,12 +5,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindWithActiveChatResponseDto = exports.findWithActiveChatResponseSchema = void 0;
|
7
7
|
const message_dto_1 = require("../../message/dto/message.dto");
|
8
|
-
const
|
8
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
11
|
const zod_1 = __importDefault(require("zod"));
|
12
12
|
exports.findWithActiveChatResponseSchema = zod_1.default.object({
|
13
|
-
profiles: zod_1.default.array(
|
13
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema.merge(zod_1.default.object({
|
14
14
|
tags: zod_1.default.array(tag_dto_1.tagSchema),
|
15
15
|
inChat: zod_1.default.boolean(),
|
16
16
|
messages: zod_1.default.array(message_dto_1.messageSchema.pick({
|