expo-backend-types 0.57.0-EXPO-377-Etapa-4-Paquete-02.7 → 0.57.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/dynamic-form/dto/create-dynamic-form.dto.d.ts +0 -10
- package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +0 -27
- package/dist/src/dynamic-form/dto/dynamic-form.dto.js +1 -8
- package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +0 -14
- package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +0 -19
- package/dist/src/dynamic-form/exports.d.ts +0 -2
- package/dist/src/dynamic-form/exports.js +0 -2
- package/dist/src/i18n/es.d.ts +0 -21
- package/dist/src/i18n/es.js +0 -21
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -20
- package/dist/src/mi-expo/exports.d.ts +0 -1
- package/dist/src/mi-expo/exports.js +0 -1
- package/dist/src/production/dto/create-production.dto.d.ts +1 -8
- package/dist/src/production/dto/create-production.dto.js +0 -1
- package/dist/src/production/dto/delete-production.dto.d.ts +0 -6
- package/dist/src/production/dto/get-all-production.dto.d.ts +0 -10
- package/dist/src/production/dto/production.dto.d.ts +0 -3
- package/dist/src/production/dto/production.dto.js +0 -3
- package/dist/src/production/dto/update-production.dto.d.ts +0 -12
- package/dist/src/production/dto/update-production.dto.js +0 -1
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -14
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -10
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +2 -141
- package/dist/src/profile/dto/find-by-phone-number.dto.js +1 -21
- package/dist/src/schema/profile.schema.js +2 -16
- package/dist/types/prisma-schema/edge.js +3 -11
- package/dist/types/prisma-schema/index-browser.js +0 -8
- package/dist/types/prisma-schema/index.d.ts +2 -150
- package/dist/types/prisma-schema/index.js +3 -11
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +3 -11
- package/dist/types/prisma-schema/wasm.js +0 -8
- package/dist/types/schema.d.ts +0 -274
- package/package.json +1 -1
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.d.ts +0 -266
- package/dist/src/dynamic-form/dto/find-by-id-dynamic-question.dto.js +0 -19
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.d.ts +0 -266
- package/dist/src/dynamic-form/dto/find-by-type-dynamic-form.dto.js +0 -18
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.d.ts +0 -350
- package/dist/src/dynamic-form/dto/submit-dynamic-form.dto.js +0 -23
- package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +0 -382
- package/dist/src/mi-expo/dto/update-me-first-time.dto.js +0 -35
@@ -1,19 +1,16 @@
|
|
1
1
|
export declare const deleteProductionResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
name: import("zod").ZodString;
|
4
|
-
description: import("zod").ZodString;
|
5
4
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
6
5
|
created_at: import("zod").ZodDate;
|
7
6
|
updated_at: import("zod").ZodDate;
|
8
7
|
}, "strip", import("zod").ZodTypeAny, {
|
9
|
-
description: string;
|
10
8
|
id: string;
|
11
9
|
name: string;
|
12
10
|
created_at: Date;
|
13
11
|
updated_at: Date;
|
14
12
|
administratorId: string | null;
|
15
13
|
}, {
|
16
|
-
description: string;
|
17
14
|
id: string;
|
18
15
|
name: string;
|
19
16
|
created_at: Date;
|
@@ -23,19 +20,16 @@ export declare const deleteProductionResponseSchema: import("zod").ZodObject<{
|
|
23
20
|
declare const DeleteProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
24
21
|
id: import("zod").ZodString;
|
25
22
|
name: import("zod").ZodString;
|
26
|
-
description: import("zod").ZodString;
|
27
23
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
28
24
|
created_at: import("zod").ZodString;
|
29
25
|
updated_at: import("zod").ZodString;
|
30
26
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
31
|
-
description: string;
|
32
27
|
id: string;
|
33
28
|
name: string;
|
34
29
|
created_at: string;
|
35
30
|
updated_at: string;
|
36
31
|
administratorId: string | null;
|
37
32
|
}, {
|
38
|
-
description: string;
|
39
33
|
id: string;
|
40
34
|
name: string;
|
41
35
|
created_at: string;
|
@@ -3,7 +3,6 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
|
|
3
3
|
productions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
4
|
id: z.ZodString;
|
5
5
|
name: z.ZodString;
|
6
|
-
description: z.ZodString;
|
7
6
|
administratorId: z.ZodNullable<z.ZodString>;
|
8
7
|
created_at: z.ZodDate;
|
9
8
|
updated_at: z.ZodDate;
|
@@ -94,7 +93,6 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
|
|
94
93
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
95
94
|
}>>;
|
96
95
|
}>, "strip", z.ZodTypeAny, {
|
97
|
-
description: string;
|
98
96
|
id: string;
|
99
97
|
name: string;
|
100
98
|
created_at: Date;
|
@@ -128,7 +126,6 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
|
|
128
126
|
movedToTrashDate: Date | null;
|
129
127
|
} | null;
|
130
128
|
}, {
|
131
|
-
description: string;
|
132
129
|
id: string;
|
133
130
|
name: string;
|
134
131
|
created_at: Date;
|
@@ -164,7 +161,6 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
|
|
164
161
|
}>, "many">;
|
165
162
|
}, "strip", z.ZodTypeAny, {
|
166
163
|
productions: {
|
167
|
-
description: string;
|
168
164
|
id: string;
|
169
165
|
name: string;
|
170
166
|
created_at: Date;
|
@@ -200,7 +196,6 @@ export declare const getAllProductionResponseSchema: z.ZodObject<{
|
|
200
196
|
}[];
|
201
197
|
}, {
|
202
198
|
productions: {
|
203
|
-
description: string;
|
204
199
|
id: string;
|
205
200
|
name: string;
|
206
201
|
created_at: Date;
|
@@ -239,7 +234,6 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
239
234
|
productions: z.ZodArray<z.ZodObject<{
|
240
235
|
id: z.ZodString;
|
241
236
|
name: z.ZodString;
|
242
|
-
description: z.ZodString;
|
243
237
|
administratorId: z.ZodNullable<z.ZodString>;
|
244
238
|
created_at: z.ZodString;
|
245
239
|
updated_at: z.ZodString;
|
@@ -329,7 +323,6 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
329
323
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
330
324
|
}>>;
|
331
325
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
332
|
-
description: string;
|
333
326
|
id: string;
|
334
327
|
name: string;
|
335
328
|
created_at: string;
|
@@ -363,7 +356,6 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
363
356
|
movedToTrashDate: string | null;
|
364
357
|
} | null;
|
365
358
|
}, {
|
366
|
-
description: string;
|
367
359
|
id: string;
|
368
360
|
name: string;
|
369
361
|
created_at: string;
|
@@ -399,7 +391,6 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
399
391
|
}>, "many">;
|
400
392
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
401
393
|
productions: {
|
402
|
-
description: string;
|
403
394
|
id: string;
|
404
395
|
name: string;
|
405
396
|
created_at: string;
|
@@ -435,7 +426,6 @@ declare const GetAllProductionResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
435
426
|
}[];
|
436
427
|
}, {
|
437
428
|
productions: {
|
438
|
-
description: string;
|
439
429
|
id: string;
|
440
430
|
name: string;
|
441
431
|
created_at: string;
|
@@ -2,19 +2,16 @@ import z from 'zod';
|
|
2
2
|
export declare const productionSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
4
|
name: z.ZodString;
|
5
|
-
description: z.ZodString;
|
6
5
|
administratorId: z.ZodNullable<z.ZodString>;
|
7
6
|
created_at: z.ZodDate;
|
8
7
|
updated_at: z.ZodDate;
|
9
8
|
}, "strip", z.ZodTypeAny, {
|
10
|
-
description: string;
|
11
9
|
id: string;
|
12
10
|
name: string;
|
13
11
|
created_at: Date;
|
14
12
|
updated_at: Date;
|
15
13
|
administratorId: string | null;
|
16
14
|
}, {
|
17
|
-
description: string;
|
18
15
|
id: string;
|
19
16
|
name: string;
|
20
17
|
created_at: Date;
|
@@ -14,9 +14,6 @@ exports.productionSchema = zod_1.default.object({
|
|
14
14
|
name: zod_1.default.string().min(1, {
|
15
15
|
message: (0, translate_1.translate)('model.production.name.min'),
|
16
16
|
}),
|
17
|
-
description: zod_1.default.string().min(1, {
|
18
|
-
message: (0, translate_1.translate)('model.production.description.min'),
|
19
|
-
}),
|
20
17
|
administratorId: profile_schema_1.profileSchema.shape.id.nullable(),
|
21
18
|
created_at: zod_1.default.date(),
|
22
19
|
updated_at: zod_1.default.date(),
|
@@ -1,26 +1,20 @@
|
|
1
1
|
export declare const updateProductionSchema: import("zod").ZodObject<{
|
2
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
3
2
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
4
3
|
administratorId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
5
4
|
}, "strip", import("zod").ZodTypeAny, {
|
6
|
-
description?: string | undefined;
|
7
5
|
name?: string | undefined;
|
8
6
|
administratorId?: string | null | undefined;
|
9
7
|
}, {
|
10
|
-
description?: string | undefined;
|
11
8
|
name?: string | undefined;
|
12
9
|
administratorId?: string | null | undefined;
|
13
10
|
}>;
|
14
11
|
declare const UpdateProductionDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
15
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
16
12
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
17
13
|
administratorId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
18
14
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
19
|
-
description?: string | undefined;
|
20
15
|
name?: string | undefined;
|
21
16
|
administratorId?: string | null | undefined;
|
22
17
|
}, {
|
23
|
-
description?: string | undefined;
|
24
18
|
name?: string | undefined;
|
25
19
|
administratorId?: string | null | undefined;
|
26
20
|
}>>;
|
@@ -29,19 +23,16 @@ export declare class UpdateProductionDto extends UpdateProductionDto_base {
|
|
29
23
|
export declare const updateProductionResponseSchema: import("zod").ZodObject<{
|
30
24
|
id: import("zod").ZodString;
|
31
25
|
name: import("zod").ZodString;
|
32
|
-
description: import("zod").ZodString;
|
33
26
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
34
27
|
created_at: import("zod").ZodDate;
|
35
28
|
updated_at: import("zod").ZodDate;
|
36
29
|
}, "strip", import("zod").ZodTypeAny, {
|
37
|
-
description: string;
|
38
30
|
id: string;
|
39
31
|
name: string;
|
40
32
|
created_at: Date;
|
41
33
|
updated_at: Date;
|
42
34
|
administratorId: string | null;
|
43
35
|
}, {
|
44
|
-
description: string;
|
45
36
|
id: string;
|
46
37
|
name: string;
|
47
38
|
created_at: Date;
|
@@ -51,19 +42,16 @@ export declare const updateProductionResponseSchema: import("zod").ZodObject<{
|
|
51
42
|
declare const UpdateProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
52
43
|
id: import("zod").ZodString;
|
53
44
|
name: import("zod").ZodString;
|
54
|
-
description: import("zod").ZodString;
|
55
45
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
56
46
|
created_at: import("zod").ZodString;
|
57
47
|
updated_at: import("zod").ZodString;
|
58
48
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
59
|
-
description: string;
|
60
49
|
id: string;
|
61
50
|
name: string;
|
62
51
|
created_at: string;
|
63
52
|
updated_at: string;
|
64
53
|
administratorId: string | null;
|
65
54
|
}, {
|
66
|
-
description: string;
|
67
55
|
id: string;
|
68
56
|
name: string;
|
69
57
|
created_at: string;
|
package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts
CHANGED
@@ -15,19 +15,16 @@ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObje
|
|
15
15
|
production: z.ZodObject<{
|
16
16
|
id: z.ZodString;
|
17
17
|
name: z.ZodString;
|
18
|
-
description: z.ZodString;
|
19
18
|
administratorId: z.ZodNullable<z.ZodString>;
|
20
19
|
created_at: z.ZodDate;
|
21
20
|
updated_at: z.ZodDate;
|
22
21
|
}, "strip", z.ZodTypeAny, {
|
23
|
-
description: string;
|
24
22
|
id: string;
|
25
23
|
name: string;
|
26
24
|
created_at: Date;
|
27
25
|
updated_at: Date;
|
28
26
|
administratorId: string | null;
|
29
27
|
}, {
|
30
|
-
description: string;
|
31
28
|
id: string;
|
32
29
|
name: string;
|
33
30
|
created_at: Date;
|
@@ -148,7 +145,6 @@ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObje
|
|
148
145
|
movedToTrashDate: Date | null;
|
149
146
|
};
|
150
147
|
production: {
|
151
|
-
description: string;
|
152
148
|
id: string;
|
153
149
|
name: string;
|
154
150
|
created_at: Date;
|
@@ -190,7 +186,6 @@ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObje
|
|
190
186
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
191
187
|
};
|
192
188
|
production: {
|
193
|
-
description: string;
|
194
189
|
id: string;
|
195
190
|
name: string;
|
196
191
|
created_at: Date;
|
@@ -234,7 +229,6 @@ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObje
|
|
234
229
|
movedToTrashDate: Date | null;
|
235
230
|
};
|
236
231
|
production: {
|
237
|
-
description: string;
|
238
232
|
id: string;
|
239
233
|
name: string;
|
240
234
|
created_at: Date;
|
@@ -278,7 +272,6 @@ export declare const findByProductionAffiliationRequestResponseSchema: z.ZodObje
|
|
278
272
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
279
273
|
};
|
280
274
|
production: {
|
281
|
-
description: string;
|
282
275
|
id: string;
|
283
276
|
name: string;
|
284
277
|
created_at: Date;
|
@@ -308,19 +301,16 @@ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anati
|
|
308
301
|
production: z.ZodObject<{
|
309
302
|
id: z.ZodString;
|
310
303
|
name: z.ZodString;
|
311
|
-
description: z.ZodString;
|
312
304
|
administratorId: z.ZodNullable<z.ZodString>;
|
313
305
|
created_at: z.ZodString;
|
314
306
|
updated_at: z.ZodString;
|
315
307
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
316
|
-
description: string;
|
317
308
|
id: string;
|
318
309
|
name: string;
|
319
310
|
created_at: string;
|
320
311
|
updated_at: string;
|
321
312
|
administratorId: string | null;
|
322
313
|
}, {
|
323
|
-
description: string;
|
324
314
|
id: string;
|
325
315
|
name: string;
|
326
316
|
created_at: string;
|
@@ -441,7 +431,6 @@ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anati
|
|
441
431
|
movedToTrashDate: string | null;
|
442
432
|
};
|
443
433
|
production: {
|
444
|
-
description: string;
|
445
434
|
id: string;
|
446
435
|
name: string;
|
447
436
|
created_at: string;
|
@@ -483,7 +472,6 @@ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anati
|
|
483
472
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
484
473
|
};
|
485
474
|
production: {
|
486
|
-
description: string;
|
487
475
|
id: string;
|
488
476
|
name: string;
|
489
477
|
created_at: string;
|
@@ -527,7 +515,6 @@ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anati
|
|
527
515
|
movedToTrashDate: string | null;
|
528
516
|
};
|
529
517
|
production: {
|
530
|
-
description: string;
|
531
518
|
id: string;
|
532
519
|
name: string;
|
533
520
|
created_at: string;
|
@@ -571,7 +558,6 @@ declare const FindByProductionAffiliationRequestResponseDto_base: import("@anati
|
|
571
558
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
572
559
|
};
|
573
560
|
production: {
|
574
|
-
description: string;
|
575
561
|
id: string;
|
576
562
|
name: string;
|
577
563
|
created_at: string;
|
package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts
CHANGED
@@ -13,19 +13,16 @@ export declare const updateProductionAffiliationRequestResponseSchema: import("z
|
|
13
13
|
production: import("zod").ZodObject<{
|
14
14
|
id: import("zod").ZodString;
|
15
15
|
name: import("zod").ZodString;
|
16
|
-
description: import("zod").ZodString;
|
17
16
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
18
17
|
created_at: import("zod").ZodDate;
|
19
18
|
updated_at: import("zod").ZodDate;
|
20
19
|
}, "strip", import("zod").ZodTypeAny, {
|
21
|
-
description: string;
|
22
20
|
id: string;
|
23
21
|
name: string;
|
24
22
|
created_at: Date;
|
25
23
|
updated_at: Date;
|
26
24
|
administratorId: string | null;
|
27
25
|
}, {
|
28
|
-
description: string;
|
29
26
|
id: string;
|
30
27
|
name: string;
|
31
28
|
created_at: Date;
|
@@ -146,7 +143,6 @@ export declare const updateProductionAffiliationRequestResponseSchema: import("z
|
|
146
143
|
movedToTrashDate: Date | null;
|
147
144
|
};
|
148
145
|
production: {
|
149
|
-
description: string;
|
150
146
|
id: string;
|
151
147
|
name: string;
|
152
148
|
created_at: Date;
|
@@ -188,7 +184,6 @@ export declare const updateProductionAffiliationRequestResponseSchema: import("z
|
|
188
184
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
189
185
|
};
|
190
186
|
production: {
|
191
|
-
description: string;
|
192
187
|
id: string;
|
193
188
|
name: string;
|
194
189
|
created_at: Date;
|
@@ -216,19 +211,16 @@ declare const UpdateProductionAffiliationRequestResponseDto_base: import("@anati
|
|
216
211
|
production: import("zod").ZodObject<{
|
217
212
|
id: import("zod").ZodString;
|
218
213
|
name: import("zod").ZodString;
|
219
|
-
description: import("zod").ZodString;
|
220
214
|
administratorId: import("zod").ZodNullable<import("zod").ZodString>;
|
221
215
|
created_at: import("zod").ZodString;
|
222
216
|
updated_at: import("zod").ZodString;
|
223
217
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
224
|
-
description: string;
|
225
218
|
id: string;
|
226
219
|
name: string;
|
227
220
|
created_at: string;
|
228
221
|
updated_at: string;
|
229
222
|
administratorId: string | null;
|
230
223
|
}, {
|
231
|
-
description: string;
|
232
224
|
id: string;
|
233
225
|
name: string;
|
234
226
|
created_at: string;
|
@@ -349,7 +341,6 @@ declare const UpdateProductionAffiliationRequestResponseDto_base: import("@anati
|
|
349
341
|
movedToTrashDate: string | null;
|
350
342
|
};
|
351
343
|
production: {
|
352
|
-
description: string;
|
353
344
|
id: string;
|
354
345
|
name: string;
|
355
346
|
created_at: string;
|
@@ -391,7 +382,6 @@ declare const UpdateProductionAffiliationRequestResponseDto_base: import("@anati
|
|
391
382
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
392
383
|
};
|
393
384
|
production: {
|
394
|
-
description: string;
|
395
385
|
id: string;
|
396
386
|
name: string;
|
397
387
|
created_at: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<
|
1
|
+
export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
4
|
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
@@ -30,52 +30,7 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<im
|
|
30
30
|
created_at: import("zod").ZodDate;
|
31
31
|
updated_at: import("zod").ZodDate;
|
32
32
|
referralCode: import("zod").ZodString;
|
33
|
-
}, {
|
34
|
-
residenceLocation: import("zod").ZodNullable<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
|
-
birthLocation: import("zod").ZodNullable<import("zod").ZodObject<Pick<{
|
57
|
-
id: import("zod").ZodString;
|
58
|
-
latitude: import("zod").ZodNumber;
|
59
|
-
longitude: import("zod").ZodNumber;
|
60
|
-
country: import("zod").ZodString;
|
61
|
-
state: import("zod").ZodString;
|
62
|
-
city: import("zod").ZodString;
|
63
|
-
created_at: import("zod").ZodDate;
|
64
|
-
updated_at: import("zod").ZodDate;
|
65
|
-
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", import("zod").ZodTypeAny, {
|
66
|
-
latitude: number;
|
67
|
-
longitude: number;
|
68
|
-
state: string;
|
69
|
-
country: string;
|
70
|
-
city: string;
|
71
|
-
}, {
|
72
|
-
latitude: number;
|
73
|
-
longitude: number;
|
74
|
-
state: string;
|
75
|
-
country: string;
|
76
|
-
city: string;
|
77
|
-
}>>;
|
78
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
33
|
+
}, "strip", import("zod").ZodTypeAny, {
|
79
34
|
id: string;
|
80
35
|
username: string | null;
|
81
36
|
password: string | null;
|
@@ -101,20 +56,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<im
|
|
101
56
|
residenceLocationId: string | null;
|
102
57
|
isInTrash: boolean;
|
103
58
|
movedToTrashDate: Date | null;
|
104
|
-
birthLocation: {
|
105
|
-
latitude: number;
|
106
|
-
longitude: number;
|
107
|
-
state: string;
|
108
|
-
country: string;
|
109
|
-
city: string;
|
110
|
-
} | null;
|
111
|
-
residenceLocation: {
|
112
|
-
latitude: number;
|
113
|
-
longitude: number;
|
114
|
-
state: string;
|
115
|
-
country: string;
|
116
|
-
city: string;
|
117
|
-
} | null;
|
118
59
|
}, {
|
119
60
|
id: string;
|
120
61
|
username: string | null;
|
@@ -140,20 +81,6 @@ export declare const findByPhoneNumberResponseSchema: import("zod").ZodObject<im
|
|
140
81
|
residenceLocationId: string | null;
|
141
82
|
isInTrash: boolean;
|
142
83
|
movedToTrashDate: Date | null;
|
143
|
-
birthLocation: {
|
144
|
-
latitude: number;
|
145
|
-
longitude: number;
|
146
|
-
state: string;
|
147
|
-
country: string;
|
148
|
-
city: string;
|
149
|
-
} | null;
|
150
|
-
residenceLocation: {
|
151
|
-
latitude: number;
|
152
|
-
longitude: number;
|
153
|
-
state: string;
|
154
|
-
country: string;
|
155
|
-
city: string;
|
156
|
-
} | null;
|
157
84
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
158
85
|
}>;
|
159
86
|
declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
@@ -188,44 +115,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
188
115
|
created_at: import("zod").ZodString;
|
189
116
|
updated_at: import("zod").ZodString;
|
190
117
|
referralCode: import("zod").ZodString;
|
191
|
-
residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
192
|
-
latitude: import("zod").ZodNumber;
|
193
|
-
longitude: import("zod").ZodNumber;
|
194
|
-
state: import("zod").ZodString;
|
195
|
-
country: import("zod").ZodString;
|
196
|
-
city: import("zod").ZodString;
|
197
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
198
|
-
latitude: number;
|
199
|
-
longitude: number;
|
200
|
-
state: string;
|
201
|
-
country: string;
|
202
|
-
city: string;
|
203
|
-
}, {
|
204
|
-
latitude: number;
|
205
|
-
longitude: number;
|
206
|
-
state: string;
|
207
|
-
country: string;
|
208
|
-
city: string;
|
209
|
-
}>>;
|
210
|
-
birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
|
211
|
-
latitude: import("zod").ZodNumber;
|
212
|
-
longitude: import("zod").ZodNumber;
|
213
|
-
state: import("zod").ZodString;
|
214
|
-
country: import("zod").ZodString;
|
215
|
-
city: import("zod").ZodString;
|
216
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
217
|
-
latitude: number;
|
218
|
-
longitude: number;
|
219
|
-
state: string;
|
220
|
-
country: string;
|
221
|
-
city: string;
|
222
|
-
}, {
|
223
|
-
latitude: number;
|
224
|
-
longitude: number;
|
225
|
-
state: string;
|
226
|
-
country: string;
|
227
|
-
city: string;
|
228
|
-
}>>;
|
229
118
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
230
119
|
id: string;
|
231
120
|
username: string | null;
|
@@ -252,20 +141,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
252
141
|
residenceLocationId: string | null;
|
253
142
|
isInTrash: boolean;
|
254
143
|
movedToTrashDate: string | null;
|
255
|
-
birthLocation: {
|
256
|
-
latitude: number;
|
257
|
-
longitude: number;
|
258
|
-
state: string;
|
259
|
-
country: string;
|
260
|
-
city: string;
|
261
|
-
} | null;
|
262
|
-
residenceLocation: {
|
263
|
-
latitude: number;
|
264
|
-
longitude: number;
|
265
|
-
state: string;
|
266
|
-
country: string;
|
267
|
-
city: string;
|
268
|
-
} | null;
|
269
144
|
}, {
|
270
145
|
id: string;
|
271
146
|
username: string | null;
|
@@ -291,20 +166,6 @@ declare const FindByPhoneNumberResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
291
166
|
residenceLocationId: string | null;
|
292
167
|
isInTrash: boolean;
|
293
168
|
movedToTrashDate: string | null;
|
294
|
-
birthLocation: {
|
295
|
-
latitude: number;
|
296
|
-
longitude: number;
|
297
|
-
state: string;
|
298
|
-
country: string;
|
299
|
-
city: string;
|
300
|
-
} | null;
|
301
|
-
residenceLocation: {
|
302
|
-
latitude: number;
|
303
|
-
longitude: number;
|
304
|
-
state: string;
|
305
|
-
country: string;
|
306
|
-
city: string;
|
307
|
-
} | null;
|
308
169
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
309
170
|
}>>;
|
310
171
|
export declare class FindByPhoneNumberResponseDto extends FindByPhoneNumberResponseDto_base {
|
@@ -1,29 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.FindByPhoneNumberResponseDto = exports.findByPhoneNumberResponseSchema = void 0;
|
4
|
-
const location_schema_1 = require("../../schema/location.schema");
|
5
4
|
const profile_schema_1 = require("../../schema/profile.schema");
|
6
5
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
7
|
-
exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema
|
8
|
-
residenceLocation: location_schema_1.locationSchema
|
9
|
-
.pick({
|
10
|
-
city: true,
|
11
|
-
state: true,
|
12
|
-
country: true,
|
13
|
-
latitude: true,
|
14
|
-
longitude: true,
|
15
|
-
})
|
16
|
-
.nullable(),
|
17
|
-
birthLocation: location_schema_1.locationSchema
|
18
|
-
.pick({
|
19
|
-
city: true,
|
20
|
-
state: true,
|
21
|
-
country: true,
|
22
|
-
latitude: true,
|
23
|
-
longitude: true,
|
24
|
-
})
|
25
|
-
.nullable(),
|
26
|
-
});
|
6
|
+
exports.findByPhoneNumberResponseSchema = profile_schema_1.profileSchema;
|
27
7
|
class FindByPhoneNumberResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByPhoneNumberResponseSchema) {
|
28
8
|
}
|
29
9
|
exports.FindByPhoneNumberResponseDto = FindByPhoneNumberResponseDto;
|
@@ -58,22 +58,8 @@ exports.profileSchema = zod_1.default.object({
|
|
58
58
|
shortId: zod_1.default.number(),
|
59
59
|
role: zod_1.default.nativeEnum(prisma_schema_1.Role).default(prisma_schema_1.Role.MI_EXPO),
|
60
60
|
firstTimeMiExpo: zod_1.default.boolean(),
|
61
|
-
username: zod_1.default
|
62
|
-
|
63
|
-
required_error: (0, translate_1.translate)('model.profile.username.required'),
|
64
|
-
})
|
65
|
-
.min(1, {
|
66
|
-
message: (0, translate_1.translate)('model.profile.username.required'),
|
67
|
-
})
|
68
|
-
.nullable(),
|
69
|
-
password: zod_1.default
|
70
|
-
.string({
|
71
|
-
required_error: (0, translate_1.translate)('model.profile.password.required'),
|
72
|
-
})
|
73
|
-
.min(1, {
|
74
|
-
message: (0, translate_1.translate)('model.profile.password.required'),
|
75
|
-
})
|
76
|
-
.nullable(),
|
61
|
+
username: zod_1.default.string().nullable(),
|
62
|
+
password: zod_1.default.string().nullable(),
|
77
63
|
phoneNumber: zod_1.default
|
78
64
|
.string()
|
79
65
|
.min(1, {
|