expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.1 → 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/account/dto/account.dto.d.ts +6 -6
- package/dist/src/account/dto/create-account.dto.d.ts +12 -12
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -1
- package/dist/src/account/dto/get-me.dto.d.ts +6 -6
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -6
- package/dist/src/auth/dto/login.dto.d.ts +11 -11
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -1
- package/dist/src/event/dto/create-event.dto.d.ts +10 -10
- package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
- package/dist/src/event/dto/event-tickets.dto.js +2 -5
- package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -616
- package/dist/src/event/dto/get-all-event.dto.js +8 -29
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -317
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -4
- package/dist/src/event/dto/update-event.dto.d.ts +20 -26
- package/dist/src/event/dto/update-event.dto.js +0 -1
- package/dist/src/i18n/es.d.ts +0 -14
- package/dist/src/i18n/es.js +0 -14
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -16
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -20
- package/dist/src/mi-expo/dto/login.dto.d.ts +1 -21
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -16
- package/dist/src/mi-expo/exports.d.ts +0 -1
- package/dist/src/mi-expo/exports.js +0 -1
- package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -20
- package/dist/src/profile/dto/create-profile.dto.d.ts +0 -24
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -16
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -20
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -36
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -16
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -16
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -20
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -55
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +0 -6
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -20
- package/dist/src/profile/dto/profile.dto.d.ts +0 -8
- package/dist/src/profile/dto/update-profile.dto.d.ts +0 -16
- package/dist/src/schema/profile.schema.d.ts +0 -8
- package/dist/src/schema/profile.schema.js +0 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -20
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -20
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +4 -158
- package/dist/src/ticket/dto/create-ticket.dto.js +2 -10
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -370
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -2
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -370
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -2
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -370
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -2
- package/dist/src/ticket/exports.d.ts +0 -1
- package/dist/src/ticket/exports.js +0 -1
- package/dist/types/prisma-schema/edge.js +4 -6
- package/dist/types/prisma-schema/index-browser.js +1 -3
- package/dist/types/prisma-schema/index.d.ts +48 -586
- package/dist/types/prisma-schema/index.js +4 -6
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -9
- package/dist/types/prisma-schema/wasm.js +1 -3
- package/dist/types/schema.d.ts +10 -342
- package/package.json +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -104
- package/dist/src/mi-expo/dto/get-invitations.dto.js +0 -24
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -331
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +0 -19
@@ -3,12 +3,6 @@ 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
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
7
|
-
USER: "USER";
|
8
|
-
ADMIN: "ADMIN";
|
9
|
-
FORM: "FORM";
|
10
|
-
MI_EXPO: "MI_EXPO";
|
11
|
-
}>>;
|
12
6
|
firstTimeMiExpo: z.ZodBoolean;
|
13
7
|
username: z.ZodNullable<z.ZodString>;
|
14
8
|
password: z.ZodNullable<z.ZodString>;
|
@@ -171,7 +165,6 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
171
165
|
id: string;
|
172
166
|
username: string | null;
|
173
167
|
password: string | null;
|
174
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
175
168
|
phoneNumber: string;
|
176
169
|
secondaryPhoneNumber: string | null;
|
177
170
|
fullName: string;
|
@@ -276,14 +269,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
276
269
|
groupId: string;
|
277
270
|
}[];
|
278
271
|
inChat: boolean;
|
279
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
280
272
|
}>, "many">;
|
281
273
|
}, "strip", z.ZodTypeAny, {
|
282
274
|
profiles: {
|
283
275
|
id: string;
|
284
276
|
username: string | null;
|
285
277
|
password: string | null;
|
286
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
287
278
|
phoneNumber: string;
|
288
279
|
secondaryPhoneNumber: string | null;
|
289
280
|
fullName: string;
|
@@ -390,19 +381,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
|
|
390
381
|
groupId: string;
|
391
382
|
}[];
|
392
383
|
inChat: boolean;
|
393
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
394
384
|
}[];
|
395
385
|
}>;
|
396
386
|
declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
397
387
|
profiles: z.ZodArray<z.ZodObject<{
|
398
388
|
id: z.ZodString;
|
399
389
|
shortId: z.ZodNumber;
|
400
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
401
|
-
USER: "USER";
|
402
|
-
ADMIN: "ADMIN";
|
403
|
-
FORM: "FORM";
|
404
|
-
MI_EXPO: "MI_EXPO";
|
405
|
-
}>>;
|
406
390
|
firstTimeMiExpo: z.ZodBoolean;
|
407
391
|
username: z.ZodNullable<z.ZodString>;
|
408
392
|
password: z.ZodNullable<z.ZodString>;
|
@@ -561,7 +545,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
561
545
|
id: string;
|
562
546
|
username: string | null;
|
563
547
|
password: string | null;
|
564
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
565
548
|
phoneNumber: string;
|
566
549
|
secondaryPhoneNumber: string | null;
|
567
550
|
fullName: string;
|
@@ -666,14 +649,12 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
666
649
|
groupId: string;
|
667
650
|
}[];
|
668
651
|
inChat: boolean;
|
669
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
670
652
|
}>, "many">;
|
671
653
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
672
654
|
profiles: {
|
673
655
|
id: string;
|
674
656
|
username: string | null;
|
675
657
|
password: string | null;
|
676
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
677
658
|
phoneNumber: string;
|
678
659
|
secondaryPhoneNumber: string | null;
|
679
660
|
fullName: string;
|
@@ -780,7 +761,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
|
|
780
761
|
groupId: string;
|
781
762
|
}[];
|
782
763
|
inChat: boolean;
|
783
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
784
764
|
}[];
|
785
765
|
}>>;
|
786
766
|
export declare class FindWithActiveChatResponseDto extends FindWithActiveChatResponseDto_base {
|
@@ -1,12 +1,6 @@
|
|
1
1
|
declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
shortId: import("zod").ZodNumber;
|
4
|
-
role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
|
5
|
-
USER: "USER";
|
6
|
-
ADMIN: "ADMIN";
|
7
|
-
FORM: "FORM";
|
8
|
-
MI_EXPO: "MI_EXPO";
|
9
|
-
}>>;
|
10
4
|
firstTimeMiExpo: import("zod").ZodBoolean;
|
11
5
|
username: import("zod").ZodNullable<import("zod").ZodString>;
|
12
6
|
password: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -32,7 +26,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
|
|
32
26
|
id: string;
|
33
27
|
username: string | null;
|
34
28
|
password: string | null;
|
35
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
36
29
|
phoneNumber: string;
|
37
30
|
secondaryPhoneNumber: string | null;
|
38
31
|
fullName: string;
|
@@ -77,7 +70,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
|
|
77
70
|
residenceLocationId: string | null;
|
78
71
|
isInTrash: boolean;
|
79
72
|
movedToTrashDate: string | null;
|
80
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
81
73
|
}>>;
|
82
74
|
export declare class ProfileDto extends ProfileDto_base {
|
83
75
|
}
|
@@ -247,12 +247,6 @@ export declare class UpdateProfileDto extends UpdateProfileDto_base {
|
|
247
247
|
export declare const updateProfileResponseSchema: z.ZodObject<{
|
248
248
|
id: z.ZodString;
|
249
249
|
shortId: z.ZodNumber;
|
250
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
251
|
-
USER: "USER";
|
252
|
-
ADMIN: "ADMIN";
|
253
|
-
FORM: "FORM";
|
254
|
-
MI_EXPO: "MI_EXPO";
|
255
|
-
}>>;
|
256
250
|
firstTimeMiExpo: z.ZodBoolean;
|
257
251
|
username: z.ZodNullable<z.ZodString>;
|
258
252
|
password: z.ZodNullable<z.ZodString>;
|
@@ -278,7 +272,6 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
278
272
|
id: string;
|
279
273
|
username: string | null;
|
280
274
|
password: string | null;
|
281
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
282
275
|
phoneNumber: string;
|
283
276
|
secondaryPhoneNumber: string | null;
|
284
277
|
fullName: string;
|
@@ -323,17 +316,10 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
|
|
323
316
|
residenceLocationId: string | null;
|
324
317
|
isInTrash: boolean;
|
325
318
|
movedToTrashDate: Date | null;
|
326
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
327
319
|
}>;
|
328
320
|
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
329
321
|
id: z.ZodString;
|
330
322
|
shortId: z.ZodNumber;
|
331
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
332
|
-
USER: "USER";
|
333
|
-
ADMIN: "ADMIN";
|
334
|
-
FORM: "FORM";
|
335
|
-
MI_EXPO: "MI_EXPO";
|
336
|
-
}>>;
|
337
323
|
firstTimeMiExpo: z.ZodBoolean;
|
338
324
|
username: z.ZodNullable<z.ZodString>;
|
339
325
|
password: z.ZodNullable<z.ZodString>;
|
@@ -359,7 +345,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
359
345
|
id: string;
|
360
346
|
username: string | null;
|
361
347
|
password: string | null;
|
362
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
363
348
|
phoneNumber: string;
|
364
349
|
secondaryPhoneNumber: string | null;
|
365
350
|
fullName: string;
|
@@ -404,7 +389,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
404
389
|
residenceLocationId: string | null;
|
405
390
|
isInTrash: boolean;
|
406
391
|
movedToTrashDate: string | null;
|
407
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
408
392
|
}>>;
|
409
393
|
export declare class UpdateProfileResponseDto extends UpdateProfileResponseDto_base {
|
410
394
|
}
|
@@ -2,12 +2,6 @@ import z from 'zod';
|
|
2
2
|
export declare const profileSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
4
|
shortId: z.ZodNumber;
|
5
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
6
|
-
USER: "USER";
|
7
|
-
ADMIN: "ADMIN";
|
8
|
-
FORM: "FORM";
|
9
|
-
MI_EXPO: "MI_EXPO";
|
10
|
-
}>>;
|
11
5
|
firstTimeMiExpo: z.ZodBoolean;
|
12
6
|
username: z.ZodNullable<z.ZodString>;
|
13
7
|
password: z.ZodNullable<z.ZodString>;
|
@@ -33,7 +27,6 @@ export declare const profileSchema: z.ZodObject<{
|
|
33
27
|
id: string;
|
34
28
|
username: string | null;
|
35
29
|
password: string | null;
|
36
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
37
30
|
phoneNumber: string;
|
38
31
|
secondaryPhoneNumber: string | null;
|
39
32
|
fullName: string;
|
@@ -78,5 +71,4 @@ export declare const profileSchema: z.ZodObject<{
|
|
78
71
|
residenceLocationId: string | null;
|
79
72
|
isInTrash: boolean;
|
80
73
|
movedToTrashDate: Date | null;
|
81
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
82
74
|
}>;
|
@@ -30,7 +30,6 @@ exports.profileSchema = void 0;
|
|
30
30
|
const translate_1 = require("../i18n/translate");
|
31
31
|
const libphonenumber_js_1 = __importStar(require("libphonenumber-js"));
|
32
32
|
const zod_1 = __importDefault(require("zod"));
|
33
|
-
const prisma_schema_1 = require("../../types/prisma-schema/index.js");
|
34
33
|
function formatArgNumber(phoneNumber, value) {
|
35
34
|
const prefixes9 = ['11', '15'];
|
36
35
|
const prefix = prefixes9.includes(phoneNumber?.nationalNumber?.slice(0, 2) ?? '')
|
@@ -46,7 +45,6 @@ exports.profileSchema = zod_1.default.object({
|
|
46
45
|
message: (0, translate_1.translate)('model.profile.id.uuid'),
|
47
46
|
}),
|
48
47
|
shortId: zod_1.default.number(),
|
49
|
-
role: zod_1.default.nativeEnum(prisma_schema_1.Role).default(prisma_schema_1.Role.MI_EXPO),
|
50
48
|
firstTimeMiExpo: zod_1.default.boolean(),
|
51
49
|
username: zod_1.default.string().nullable(),
|
52
50
|
password: zod_1.default.string().nullable(),
|
@@ -25,12 +25,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
29
|
-
USER: "USER";
|
30
|
-
ADMIN: "ADMIN";
|
31
|
-
FORM: "FORM";
|
32
|
-
MI_EXPO: "MI_EXPO";
|
33
|
-
}>>;
|
34
28
|
firstTimeMiExpo: z.ZodBoolean;
|
35
29
|
username: z.ZodNullable<z.ZodString>;
|
36
30
|
password: z.ZodNullable<z.ZodString>;
|
@@ -56,7 +50,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
56
50
|
id: string;
|
57
51
|
username: string | null;
|
58
52
|
password: string | null;
|
59
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
60
53
|
phoneNumber: string;
|
61
54
|
secondaryPhoneNumber: string | null;
|
62
55
|
fullName: string;
|
@@ -101,14 +94,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
101
94
|
residenceLocationId: string | null;
|
102
95
|
isInTrash: boolean;
|
103
96
|
movedToTrashDate: Date | null;
|
104
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
105
97
|
}>, "many">;
|
106
98
|
}, "strip", z.ZodTypeAny, {
|
107
99
|
profiles: {
|
108
100
|
id: string;
|
109
101
|
username: string | null;
|
110
102
|
password: string | null;
|
111
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
112
103
|
phoneNumber: string;
|
113
104
|
secondaryPhoneNumber: string | null;
|
114
105
|
fullName: string;
|
@@ -155,19 +146,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
|
155
146
|
residenceLocationId: string | null;
|
156
147
|
isInTrash: boolean;
|
157
148
|
movedToTrashDate: Date | null;
|
158
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
159
149
|
}[];
|
160
150
|
}>;
|
161
151
|
declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
162
152
|
profiles: z.ZodArray<z.ZodObject<{
|
163
153
|
id: z.ZodString;
|
164
154
|
shortId: z.ZodNumber;
|
165
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
166
|
-
USER: "USER";
|
167
|
-
ADMIN: "ADMIN";
|
168
|
-
FORM: "FORM";
|
169
|
-
MI_EXPO: "MI_EXPO";
|
170
|
-
}>>;
|
171
155
|
firstTimeMiExpo: z.ZodBoolean;
|
172
156
|
username: z.ZodNullable<z.ZodString>;
|
173
157
|
password: z.ZodNullable<z.ZodString>;
|
@@ -193,7 +177,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
193
177
|
id: string;
|
194
178
|
username: string | null;
|
195
179
|
password: string | null;
|
196
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
197
180
|
phoneNumber: string;
|
198
181
|
secondaryPhoneNumber: string | null;
|
199
182
|
fullName: string;
|
@@ -238,14 +221,12 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
238
221
|
residenceLocationId: string | null;
|
239
222
|
isInTrash: boolean;
|
240
223
|
movedToTrashDate: string | null;
|
241
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
242
224
|
}>, "many">;
|
243
225
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
244
226
|
profiles: {
|
245
227
|
id: string;
|
246
228
|
username: string | null;
|
247
229
|
password: string | null;
|
248
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
249
230
|
phoneNumber: string;
|
250
231
|
secondaryPhoneNumber: string | null;
|
251
232
|
fullName: string;
|
@@ -292,7 +273,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
292
273
|
residenceLocationId: string | null;
|
293
274
|
isInTrash: boolean;
|
294
275
|
movedToTrashDate: string | null;
|
295
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
296
276
|
}[];
|
297
277
|
}>>;
|
298
278
|
export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
|
@@ -25,12 +25,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
25
25
|
profiles: z.ZodArray<z.ZodObject<{
|
26
26
|
id: z.ZodString;
|
27
27
|
shortId: z.ZodNumber;
|
28
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
29
|
-
USER: "USER";
|
30
|
-
ADMIN: "ADMIN";
|
31
|
-
FORM: "FORM";
|
32
|
-
MI_EXPO: "MI_EXPO";
|
33
|
-
}>>;
|
34
28
|
firstTimeMiExpo: z.ZodBoolean;
|
35
29
|
username: z.ZodNullable<z.ZodString>;
|
36
30
|
password: z.ZodNullable<z.ZodString>;
|
@@ -56,7 +50,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
56
50
|
id: string;
|
57
51
|
username: string | null;
|
58
52
|
password: string | null;
|
59
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
60
53
|
phoneNumber: string;
|
61
54
|
secondaryPhoneNumber: string | null;
|
62
55
|
fullName: string;
|
@@ -101,14 +94,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
101
94
|
residenceLocationId: string | null;
|
102
95
|
isInTrash: boolean;
|
103
96
|
movedToTrashDate: Date | null;
|
104
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
105
97
|
}>, "many">;
|
106
98
|
}, "strip", z.ZodTypeAny, {
|
107
99
|
profiles: {
|
108
100
|
id: string;
|
109
101
|
username: string | null;
|
110
102
|
password: string | null;
|
111
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
112
103
|
phoneNumber: string;
|
113
104
|
secondaryPhoneNumber: string | null;
|
114
105
|
fullName: string;
|
@@ -155,19 +146,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
|
155
146
|
residenceLocationId: string | null;
|
156
147
|
isInTrash: boolean;
|
157
148
|
movedToTrashDate: Date | null;
|
158
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
159
149
|
}[];
|
160
150
|
}>;
|
161
151
|
declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
162
152
|
profiles: z.ZodArray<z.ZodObject<{
|
163
153
|
id: z.ZodString;
|
164
154
|
shortId: z.ZodNumber;
|
165
|
-
role: z.ZodDefault<z.ZodNativeEnum<{
|
166
|
-
USER: "USER";
|
167
|
-
ADMIN: "ADMIN";
|
168
|
-
FORM: "FORM";
|
169
|
-
MI_EXPO: "MI_EXPO";
|
170
|
-
}>>;
|
171
155
|
firstTimeMiExpo: z.ZodBoolean;
|
172
156
|
username: z.ZodNullable<z.ZodString>;
|
173
157
|
password: z.ZodNullable<z.ZodString>;
|
@@ -193,7 +177,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
193
177
|
id: string;
|
194
178
|
username: string | null;
|
195
179
|
password: string | null;
|
196
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
197
180
|
phoneNumber: string;
|
198
181
|
secondaryPhoneNumber: string | null;
|
199
182
|
fullName: string;
|
@@ -238,14 +221,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
238
221
|
residenceLocationId: string | null;
|
239
222
|
isInTrash: boolean;
|
240
223
|
movedToTrashDate: string | null;
|
241
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
242
224
|
}>, "many">;
|
243
225
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
244
226
|
profiles: {
|
245
227
|
id: string;
|
246
228
|
username: string | null;
|
247
229
|
password: string | null;
|
248
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
249
230
|
phoneNumber: string;
|
250
231
|
secondaryPhoneNumber: string | null;
|
251
232
|
fullName: string;
|
@@ -292,7 +273,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
|
|
292
273
|
residenceLocationId: string | null;
|
293
274
|
isInTrash: boolean;
|
294
275
|
movedToTrashDate: string | null;
|
295
|
-
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
296
276
|
}[];
|
297
277
|
}>>;
|
298
278
|
export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const createTicketSchema: import("zod").ZodObject<
|
1
|
+
export declare const createTicketSchema: import("zod").ZodObject<Pick<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
eventId: import("zod").ZodString;
|
4
4
|
type: import("zod").ZodNativeEnum<{
|
@@ -15,22 +15,18 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
15
15
|
mail: import("zod").ZodString;
|
16
16
|
created_at: import("zod").ZodDate;
|
17
17
|
updated_at: import("zod").ZodDate;
|
18
|
-
}, "type" | "fullName" | "mail" | "eventId" | "status">, {
|
19
|
-
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
20
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
18
|
+
}, "type" | "fullName" | "mail" | "eventId" | "status">, "strip", import("zod").ZodTypeAny, {
|
21
19
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
22
20
|
fullName: string;
|
23
21
|
mail: string;
|
24
22
|
eventId: string;
|
25
23
|
status: "BOOKED" | "PAID" | "FREE";
|
26
|
-
profileId?: string | undefined;
|
27
24
|
}, {
|
28
25
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
29
26
|
fullName: string;
|
30
27
|
mail: string;
|
31
28
|
eventId: string;
|
32
29
|
status: "BOOKED" | "PAID" | "FREE";
|
33
|
-
profileId?: string | undefined;
|
34
30
|
}>;
|
35
31
|
declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
36
32
|
type: import("zod").ZodNativeEnum<{
|
@@ -46,25 +42,22 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
46
42
|
PAID: "PAID";
|
47
43
|
FREE: "FREE";
|
48
44
|
}>;
|
49
|
-
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
50
45
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
51
46
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
52
47
|
fullName: string;
|
53
48
|
mail: string;
|
54
49
|
eventId: string;
|
55
50
|
status: "BOOKED" | "PAID" | "FREE";
|
56
|
-
profileId?: string | undefined;
|
57
51
|
}, {
|
58
52
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
59
53
|
fullName: string;
|
60
54
|
mail: string;
|
61
55
|
eventId: string;
|
62
56
|
status: "BOOKED" | "PAID" | "FREE";
|
63
|
-
profileId?: string | undefined;
|
64
57
|
}>>;
|
65
58
|
export declare class CreateTicketDto extends CreateTicketDto_base {
|
66
59
|
}
|
67
|
-
export declare const createTicketResponseSchema: import("zod").ZodObject<
|
60
|
+
export declare const createTicketResponseSchema: import("zod").ZodObject<{
|
68
61
|
id: import("zod").ZodString;
|
69
62
|
eventId: import("zod").ZodString;
|
70
63
|
type: import("zod").ZodNativeEnum<{
|
@@ -81,66 +74,7 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
81
74
|
mail: import("zod").ZodString;
|
82
75
|
created_at: import("zod").ZodDate;
|
83
76
|
updated_at: import("zod").ZodDate;
|
84
|
-
}, {
|
85
|
-
event: import("zod").ZodObject<{
|
86
|
-
id: import("zod").ZodString;
|
87
|
-
name: import("zod").ZodString;
|
88
|
-
date: import("zod").ZodDate;
|
89
|
-
startingDate: import("zod").ZodDate;
|
90
|
-
endingDate: import("zod").ZodDate;
|
91
|
-
location: import("zod").ZodString;
|
92
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
93
|
-
tagAssistedId: import("zod").ZodString;
|
94
|
-
tagConfirmedId: import("zod").ZodString;
|
95
|
-
active: import("zod").ZodBoolean;
|
96
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
97
|
-
created_at: import("zod").ZodDate;
|
98
|
-
updated_at: import("zod").ZodDate;
|
99
|
-
}, "strip", import("zod").ZodTypeAny, {
|
100
|
-
location: string;
|
101
|
-
id: string;
|
102
|
-
name: string;
|
103
|
-
date: Date;
|
104
|
-
startingDate: Date;
|
105
|
-
endingDate: Date;
|
106
|
-
created_at: Date;
|
107
|
-
updated_at: Date;
|
108
|
-
active: boolean;
|
109
|
-
folderId: string | null;
|
110
|
-
tagAssistedId: string;
|
111
|
-
tagConfirmedId: string;
|
112
|
-
supraEventId: string | null;
|
113
|
-
}, {
|
114
|
-
location: string;
|
115
|
-
id: string;
|
116
|
-
name: string;
|
117
|
-
date: Date;
|
118
|
-
startingDate: Date;
|
119
|
-
endingDate: Date;
|
120
|
-
created_at: Date;
|
121
|
-
updated_at: Date;
|
122
|
-
active: boolean;
|
123
|
-
folderId: string | null;
|
124
|
-
tagAssistedId: string;
|
125
|
-
tagConfirmedId: string;
|
126
|
-
supraEventId: string | null;
|
127
|
-
}>;
|
128
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
129
|
-
event: {
|
130
|
-
location: string;
|
131
|
-
id: string;
|
132
|
-
name: string;
|
133
|
-
date: Date;
|
134
|
-
startingDate: Date;
|
135
|
-
endingDate: Date;
|
136
|
-
created_at: Date;
|
137
|
-
updated_at: Date;
|
138
|
-
active: boolean;
|
139
|
-
folderId: string | null;
|
140
|
-
tagAssistedId: string;
|
141
|
-
tagConfirmedId: string;
|
142
|
-
supraEventId: string | null;
|
143
|
-
};
|
77
|
+
}, "strip", import("zod").ZodTypeAny, {
|
144
78
|
id: string;
|
145
79
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
146
80
|
fullName: string;
|
@@ -150,21 +84,6 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
150
84
|
created_at: Date;
|
151
85
|
updated_at: Date;
|
152
86
|
}, {
|
153
|
-
event: {
|
154
|
-
location: string;
|
155
|
-
id: string;
|
156
|
-
name: string;
|
157
|
-
date: Date;
|
158
|
-
startingDate: Date;
|
159
|
-
endingDate: Date;
|
160
|
-
created_at: Date;
|
161
|
-
updated_at: Date;
|
162
|
-
active: boolean;
|
163
|
-
folderId: string | null;
|
164
|
-
tagAssistedId: string;
|
165
|
-
tagConfirmedId: string;
|
166
|
-
supraEventId: string | null;
|
167
|
-
};
|
168
87
|
id: string;
|
169
88
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
170
89
|
fullName: string;
|
@@ -191,65 +110,7 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
191
110
|
mail: import("zod").ZodString;
|
192
111
|
created_at: import("zod").ZodString;
|
193
112
|
updated_at: import("zod").ZodString;
|
194
|
-
event: import("zod").ZodObject<{
|
195
|
-
id: import("zod").ZodString;
|
196
|
-
name: import("zod").ZodString;
|
197
|
-
date: import("zod").ZodString;
|
198
|
-
startingDate: import("zod").ZodString;
|
199
|
-
endingDate: import("zod").ZodString;
|
200
|
-
location: import("zod").ZodString;
|
201
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
202
|
-
tagAssistedId: import("zod").ZodString;
|
203
|
-
tagConfirmedId: import("zod").ZodString;
|
204
|
-
active: import("zod").ZodBoolean;
|
205
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
206
|
-
created_at: import("zod").ZodString;
|
207
|
-
updated_at: import("zod").ZodString;
|
208
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
209
|
-
location: string;
|
210
|
-
id: string;
|
211
|
-
name: string;
|
212
|
-
date: string;
|
213
|
-
startingDate: string;
|
214
|
-
endingDate: string;
|
215
|
-
created_at: string;
|
216
|
-
updated_at: string;
|
217
|
-
active: boolean;
|
218
|
-
folderId: string | null;
|
219
|
-
tagAssistedId: string;
|
220
|
-
tagConfirmedId: string;
|
221
|
-
supraEventId: string | null;
|
222
|
-
}, {
|
223
|
-
location: string;
|
224
|
-
id: string;
|
225
|
-
name: string;
|
226
|
-
date: string;
|
227
|
-
startingDate: string;
|
228
|
-
endingDate: string;
|
229
|
-
created_at: string;
|
230
|
-
updated_at: string;
|
231
|
-
active: boolean;
|
232
|
-
folderId: string | null;
|
233
|
-
tagAssistedId: string;
|
234
|
-
tagConfirmedId: string;
|
235
|
-
supraEventId: string | null;
|
236
|
-
}>;
|
237
113
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
238
|
-
event: {
|
239
|
-
location: string;
|
240
|
-
id: string;
|
241
|
-
name: string;
|
242
|
-
date: string;
|
243
|
-
startingDate: string;
|
244
|
-
endingDate: string;
|
245
|
-
created_at: string;
|
246
|
-
updated_at: string;
|
247
|
-
active: boolean;
|
248
|
-
folderId: string | null;
|
249
|
-
tagAssistedId: string;
|
250
|
-
tagConfirmedId: string;
|
251
|
-
supraEventId: string | null;
|
252
|
-
};
|
253
114
|
id: string;
|
254
115
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
255
116
|
fullName: string;
|
@@ -259,21 +120,6 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
259
120
|
created_at: string;
|
260
121
|
updated_at: string;
|
261
122
|
}, {
|
262
|
-
event: {
|
263
|
-
location: string;
|
264
|
-
id: string;
|
265
|
-
name: string;
|
266
|
-
date: string;
|
267
|
-
startingDate: string;
|
268
|
-
endingDate: string;
|
269
|
-
created_at: string;
|
270
|
-
updated_at: string;
|
271
|
-
active: boolean;
|
272
|
-
folderId: string | null;
|
273
|
-
tagAssistedId: string;
|
274
|
-
tagConfirmedId: string;
|
275
|
-
supraEventId: string | null;
|
276
|
-
};
|
277
123
|
id: string;
|
278
124
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
279
125
|
fullName: string;
|
@@ -1,27 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateTicketResponseDto = exports.createTicketResponseSchema = exports.CreateTicketDto = exports.createTicketSchema = void 0;
|
4
|
-
const event_dto_1 = require("../../event/dto/event.dto");
|
5
|
-
const profile_schema_1 = require("../../schema/profile.schema");
|
6
4
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
7
5
|
const ticket_dto_1 = require("./ticket.dto");
|
8
|
-
exports.createTicketSchema = ticket_dto_1.ticketSchema
|
9
|
-
.pick({
|
6
|
+
exports.createTicketSchema = ticket_dto_1.ticketSchema.pick({
|
10
7
|
eventId: true,
|
11
8
|
type: true,
|
12
9
|
status: true,
|
13
10
|
fullName: true,
|
14
11
|
mail: true,
|
15
|
-
})
|
16
|
-
.extend({
|
17
|
-
profileId: profile_schema_1.profileSchema.shape.id.optional(),
|
18
12
|
});
|
19
13
|
class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
|
20
14
|
}
|
21
15
|
exports.CreateTicketDto = CreateTicketDto;
|
22
|
-
exports.createTicketResponseSchema = ticket_dto_1.ticketSchema
|
23
|
-
event: event_dto_1.eventSchema,
|
24
|
-
});
|
16
|
+
exports.createTicketResponseSchema = ticket_dto_1.ticketSchema;
|
25
17
|
class CreateTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketResponseSchema) {
|
26
18
|
}
|
27
19
|
exports.CreateTicketResponseDto = CreateTicketResponseDto;
|