expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.2 → 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 +4 -6
- package/dist/src/account/dto/create-account.dto.d.ts +8 -12
- package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
- package/dist/src/account/dto/get-me.dto.d.ts +4 -6
- package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
- package/dist/src/auth/dto/login.dto.d.ts +8 -11
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -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 -24
- package/dist/src/i18n/es.js +0 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -18
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -22
- package/dist/src/mi-expo/dto/login.dto.d.ts +0 -23
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -18
- 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 -22
- package/dist/src/profile/dto/create-profile.dto.d.ts +0 -28
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -22
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -40
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -22
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -57
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +0 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -22
- package/dist/src/profile/dto/profile.dto.d.ts +0 -9
- package/dist/src/profile/dto/update-profile.dto.d.ts +0 -18
- package/dist/src/schema/profile.schema.d.ts +0 -9
- package/dist/src/schema/profile.schema.js +0 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -22
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -22
- 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 -372
- 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 -372
- 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 -372
- 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 +3 -6
- package/dist/types/prisma-schema/index-browser.js +0 -3
- package/dist/types/prisma-schema/index.d.ts +47 -586
- package/dist/types/prisma-schema/index.js +3 -6
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -9
- package/dist/types/prisma-schema/wasm.js +0 -3
- package/dist/types/schema.d.ts +10 -398
- package/package.json +2 -3
- 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
- package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
- package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -7,7 +7,6 @@ export declare const accountSchema: z.ZodObject<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
MI_EXPO: "MI_EXPO";
|
11
10
|
TICKETS: "TICKETS";
|
12
11
|
}>;
|
13
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -18,7 +17,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
18
17
|
id: string;
|
19
18
|
username: string;
|
20
19
|
password: string;
|
21
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
20
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
22
21
|
isGlobalFilterActive: boolean;
|
23
22
|
fcmToken: string[];
|
24
23
|
created_at: Date;
|
@@ -27,7 +26,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
27
26
|
id: string;
|
28
27
|
username: string;
|
29
28
|
password: string;
|
30
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
29
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
31
30
|
created_at: Date;
|
32
31
|
updated_at: Date;
|
33
32
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -41,7 +40,6 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
41
40
|
USER: "USER";
|
42
41
|
ADMIN: "ADMIN";
|
43
42
|
FORM: "FORM";
|
44
|
-
MI_EXPO: "MI_EXPO";
|
45
43
|
TICKETS: "TICKETS";
|
46
44
|
}>;
|
47
45
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -52,7 +50,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
52
50
|
id: string;
|
53
51
|
username: string;
|
54
52
|
password: string;
|
55
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
53
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
56
54
|
isGlobalFilterActive: boolean;
|
57
55
|
fcmToken: string[];
|
58
56
|
created_at: string;
|
@@ -61,7 +59,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
61
59
|
id: string;
|
62
60
|
username: string;
|
63
61
|
password: string;
|
64
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
62
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
65
63
|
created_at: string;
|
66
64
|
updated_at: string;
|
67
65
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -6,7 +6,6 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
6
6
|
USER: "USER";
|
7
7
|
ADMIN: "ADMIN";
|
8
8
|
FORM: "FORM";
|
9
|
-
MI_EXPO: "MI_EXPO";
|
10
9
|
TICKETS: "TICKETS";
|
11
10
|
}>;
|
12
11
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
@@ -16,11 +15,11 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
16
15
|
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
17
16
|
username: string;
|
18
17
|
password: string;
|
19
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
18
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
20
19
|
}, {
|
21
20
|
username: string;
|
22
21
|
password: string;
|
23
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
22
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
24
23
|
}>;
|
25
24
|
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
26
25
|
username: import("zod").ZodString;
|
@@ -29,17 +28,16 @@ declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
29
28
|
USER: "USER";
|
30
29
|
ADMIN: "ADMIN";
|
31
30
|
FORM: "FORM";
|
32
|
-
MI_EXPO: "MI_EXPO";
|
33
31
|
TICKETS: "TICKETS";
|
34
32
|
}>;
|
35
33
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
36
34
|
username: string;
|
37
35
|
password: string;
|
38
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
36
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
39
37
|
}, {
|
40
38
|
username: string;
|
41
39
|
password: string;
|
42
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
40
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
43
41
|
}>>;
|
44
42
|
export declare class CreateAccountDto extends CreateAccountDto_base {
|
45
43
|
}
|
@@ -51,7 +49,6 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
51
49
|
USER: "USER";
|
52
50
|
ADMIN: "ADMIN";
|
53
51
|
FORM: "FORM";
|
54
|
-
MI_EXPO: "MI_EXPO";
|
55
52
|
TICKETS: "TICKETS";
|
56
53
|
}>;
|
57
54
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
@@ -61,13 +58,13 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
61
58
|
}, "password" | "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
|
62
59
|
id: string;
|
63
60
|
username: string;
|
64
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
61
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
65
62
|
isGlobalFilterActive: boolean;
|
66
63
|
fcmToken: string[];
|
67
64
|
}, {
|
68
65
|
id: string;
|
69
66
|
username: string;
|
70
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
67
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
71
68
|
isGlobalFilterActive?: boolean | undefined;
|
72
69
|
fcmToken?: string[] | undefined;
|
73
70
|
}>;
|
@@ -78,7 +75,6 @@ declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
78
75
|
USER: "USER";
|
79
76
|
ADMIN: "ADMIN";
|
80
77
|
FORM: "FORM";
|
81
|
-
MI_EXPO: "MI_EXPO";
|
82
78
|
TICKETS: "TICKETS";
|
83
79
|
}>;
|
84
80
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
@@ -86,13 +82,13 @@ declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
86
82
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
87
83
|
id: string;
|
88
84
|
username: string;
|
89
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
85
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
90
86
|
isGlobalFilterActive: boolean;
|
91
87
|
fcmToken: string[];
|
92
88
|
}, {
|
93
89
|
id: string;
|
94
90
|
username: string;
|
95
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
91
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
96
92
|
isGlobalFilterActive?: boolean | undefined;
|
97
93
|
fcmToken?: string[] | undefined;
|
98
94
|
}>>;
|
@@ -7,7 +7,6 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
MI_EXPO: "MI_EXPO";
|
11
10
|
TICKETS: "TICKETS";
|
12
11
|
}>;
|
13
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -93,7 +92,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
93
92
|
}>, "strip", z.ZodTypeAny, {
|
94
93
|
id: string;
|
95
94
|
username: string;
|
96
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
95
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
97
96
|
isGlobalFilterActive: boolean;
|
98
97
|
fcmToken: string[];
|
99
98
|
created_at: Date;
|
@@ -119,7 +118,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
119
118
|
}, {
|
120
119
|
id: string;
|
121
120
|
username: string;
|
122
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
121
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
123
122
|
created_at: Date;
|
124
123
|
updated_at: Date;
|
125
124
|
globalFilter: {
|
@@ -150,7 +149,6 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
150
149
|
USER: "USER";
|
151
150
|
ADMIN: "ADMIN";
|
152
151
|
FORM: "FORM";
|
153
|
-
MI_EXPO: "MI_EXPO";
|
154
152
|
TICKETS: "TICKETS";
|
155
153
|
}>;
|
156
154
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -228,7 +226,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
228
226
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
229
227
|
id: string;
|
230
228
|
username: string;
|
231
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
229
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
232
230
|
isGlobalFilterActive: boolean;
|
233
231
|
fcmToken: string[];
|
234
232
|
created_at: string;
|
@@ -254,7 +252,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
254
252
|
}, {
|
255
253
|
id: string;
|
256
254
|
username: string;
|
257
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
255
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
258
256
|
created_at: string;
|
259
257
|
updated_at: string;
|
260
258
|
globalFilter: {
|
@@ -29,7 +29,6 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
29
29
|
USER: "USER";
|
30
30
|
ADMIN: "ADMIN";
|
31
31
|
FORM: "FORM";
|
32
|
-
MI_EXPO: "MI_EXPO";
|
33
32
|
TICKETS: "TICKETS";
|
34
33
|
}>;
|
35
34
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -68,7 +67,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
68
67
|
id: string;
|
69
68
|
username: string;
|
70
69
|
password: string;
|
71
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
70
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
72
71
|
isGlobalFilterActive: boolean;
|
73
72
|
fcmToken: string[];
|
74
73
|
created_at: Date;
|
@@ -85,7 +84,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
85
84
|
id: string;
|
86
85
|
username: string;
|
87
86
|
password: string;
|
88
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
87
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
89
88
|
created_at: Date;
|
90
89
|
updated_at: Date;
|
91
90
|
globalFilter: {
|
@@ -107,7 +106,6 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
107
106
|
USER: "USER";
|
108
107
|
ADMIN: "ADMIN";
|
109
108
|
FORM: "FORM";
|
110
|
-
MI_EXPO: "MI_EXPO";
|
111
109
|
TICKETS: "TICKETS";
|
112
110
|
}>;
|
113
111
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -145,7 +143,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
145
143
|
id: string;
|
146
144
|
username: string;
|
147
145
|
password: string;
|
148
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
146
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
149
147
|
isGlobalFilterActive: boolean;
|
150
148
|
fcmToken: string[];
|
151
149
|
created_at: string;
|
@@ -162,7 +160,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
162
160
|
id: string;
|
163
161
|
username: string;
|
164
162
|
password: string;
|
165
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
163
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
166
164
|
created_at: string;
|
167
165
|
updated_at: string;
|
168
166
|
globalFilter: {
|
@@ -7,7 +7,6 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
MI_EXPO: "MI_EXPO";
|
11
10
|
TICKETS: "TICKETS";
|
12
11
|
}>;
|
13
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -42,7 +41,6 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
42
41
|
USER: "USER";
|
43
42
|
ADMIN: "ADMIN";
|
44
43
|
FORM: "FORM";
|
45
|
-
MI_EXPO: "MI_EXPO";
|
46
44
|
TICKETS: "TICKETS";
|
47
45
|
}>;
|
48
46
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -52,7 +50,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
52
50
|
}, "password">, "strip", z.ZodTypeAny, {
|
53
51
|
id: string;
|
54
52
|
username: string;
|
55
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
53
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
56
54
|
isGlobalFilterActive: boolean;
|
57
55
|
fcmToken: string[];
|
58
56
|
created_at: Date;
|
@@ -60,7 +58,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
60
58
|
}, {
|
61
59
|
id: string;
|
62
60
|
username: string;
|
63
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
61
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
64
62
|
created_at: Date;
|
65
63
|
updated_at: Date;
|
66
64
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -83,7 +81,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
83
81
|
user: {
|
84
82
|
id: string;
|
85
83
|
username: string;
|
86
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
84
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
87
85
|
isGlobalFilterActive: boolean;
|
88
86
|
fcmToken: string[];
|
89
87
|
created_at: Date;
|
@@ -98,7 +96,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
98
96
|
user: {
|
99
97
|
id: string;
|
100
98
|
username: string;
|
101
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
99
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
102
100
|
created_at: Date;
|
103
101
|
updated_at: Date;
|
104
102
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -118,7 +116,6 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
118
116
|
USER: "USER";
|
119
117
|
ADMIN: "ADMIN";
|
120
118
|
FORM: "FORM";
|
121
|
-
MI_EXPO: "MI_EXPO";
|
122
119
|
TICKETS: "TICKETS";
|
123
120
|
}>;
|
124
121
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
@@ -128,7 +125,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
128
125
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
129
126
|
id: string;
|
130
127
|
username: string;
|
131
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
128
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
132
129
|
isGlobalFilterActive: boolean;
|
133
130
|
fcmToken: string[];
|
134
131
|
created_at: string;
|
@@ -136,7 +133,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
136
133
|
}, {
|
137
134
|
id: string;
|
138
135
|
username: string;
|
139
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
136
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
140
137
|
created_at: string;
|
141
138
|
updated_at: string;
|
142
139
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -159,7 +156,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
159
156
|
user: {
|
160
157
|
id: string;
|
161
158
|
username: string;
|
162
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
159
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
163
160
|
isGlobalFilterActive: boolean;
|
164
161
|
fcmToken: string[];
|
165
162
|
created_at: string;
|
@@ -174,7 +171,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
174
171
|
user: {
|
175
172
|
id: string;
|
176
173
|
username: string;
|
177
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
174
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
178
175
|
created_at: string;
|
179
176
|
updated_at: string;
|
180
177
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -44,7 +44,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
44
44
|
tagsId: z.ZodArray<z.ZodString, "many">;
|
45
45
|
eventTickets: z.ZodArray<z.ZodObject<Omit<{
|
46
46
|
id: z.ZodString;
|
47
|
-
amount: z.
|
47
|
+
amount: z.ZodNumber;
|
48
48
|
type: z.ZodNativeEnum<{
|
49
49
|
PARTICIPANT: "PARTICIPANT";
|
50
50
|
STAFF: "STAFF";
|
@@ -53,11 +53,11 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
53
53
|
price: z.ZodNullable<z.ZodNumber>;
|
54
54
|
}, "id">, "strip", z.ZodTypeAny, {
|
55
55
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
56
|
-
amount: number
|
56
|
+
amount: number;
|
57
57
|
price: number | null;
|
58
58
|
}, {
|
59
59
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
60
|
-
amount: number
|
60
|
+
amount: number;
|
61
61
|
price: number | null;
|
62
62
|
}>, "many">;
|
63
63
|
}>, "strip", z.ZodTypeAny, {
|
@@ -70,7 +70,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
70
70
|
tagsId: string[];
|
71
71
|
eventTickets: {
|
72
72
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
73
|
-
amount: number
|
73
|
+
amount: number;
|
74
74
|
price: number | null;
|
75
75
|
}[];
|
76
76
|
subEvents?: {
|
@@ -90,7 +90,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
90
90
|
tagsId: string[];
|
91
91
|
eventTickets: {
|
92
92
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
93
|
-
amount: number
|
93
|
+
amount: number;
|
94
94
|
price: number | null;
|
95
95
|
}[];
|
96
96
|
subEvents?: {
|
@@ -134,15 +134,15 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
134
134
|
STAFF: "STAFF";
|
135
135
|
SPECTATOR: "SPECTATOR";
|
136
136
|
}>;
|
137
|
-
amount: z.
|
137
|
+
amount: z.ZodNumber;
|
138
138
|
price: z.ZodNullable<z.ZodNumber>;
|
139
139
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
140
140
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
141
|
-
amount: number
|
141
|
+
amount: number;
|
142
142
|
price: number | null;
|
143
143
|
}, {
|
144
144
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
145
|
-
amount: number
|
145
|
+
amount: number;
|
146
146
|
price: number | null;
|
147
147
|
}>, "many">;
|
148
148
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -155,7 +155,7 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
155
155
|
tagsId: string[];
|
156
156
|
eventTickets: {
|
157
157
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
158
|
-
amount: number
|
158
|
+
amount: number;
|
159
159
|
price: number | null;
|
160
160
|
}[];
|
161
161
|
subEvents?: {
|
@@ -175,7 +175,7 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
175
175
|
tagsId: string[];
|
176
176
|
eventTickets: {
|
177
177
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
178
|
-
amount: number
|
178
|
+
amount: number;
|
179
179
|
price: number | null;
|
180
180
|
}[];
|
181
181
|
subEvents?: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const eventTicketsSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
|
-
amount: z.
|
4
|
+
amount: z.ZodNumber;
|
5
5
|
type: z.ZodNativeEnum<{
|
6
6
|
PARTICIPANT: "PARTICIPANT";
|
7
7
|
STAFF: "STAFF";
|
@@ -11,11 +11,11 @@ export declare const eventTicketsSchema: z.ZodObject<{
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
12
12
|
id: string;
|
13
13
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
14
|
-
amount: number
|
14
|
+
amount: number;
|
15
15
|
price: number | null;
|
16
16
|
}, {
|
17
17
|
id: string;
|
18
18
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
19
|
-
amount: number
|
19
|
+
amount: number;
|
20
20
|
price: number | null;
|
21
21
|
}>;
|
@@ -9,12 +9,9 @@ const zod_1 = __importDefault(require("zod"));
|
|
9
9
|
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
10
10
|
exports.eventTicketsSchema = zod_1.default.object({
|
11
11
|
id: zod_1.default.string().uuid(),
|
12
|
-
amount: zod_1.default
|
13
|
-
.number()
|
14
|
-
.min(1, {
|
12
|
+
amount: zod_1.default.number().min(1, {
|
15
13
|
message: (0, translate_1.translate)('model.eventTicket.amount.min'),
|
16
|
-
})
|
17
|
-
.nullable(),
|
14
|
+
}),
|
18
15
|
type: zod_1.default.nativeEnum(prisma_schema_1.TicketType),
|
19
16
|
price: zod_1.default
|
20
17
|
.number()
|
@@ -17,7 +17,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
17
17
|
}, {
|
18
18
|
eventTickets: z.ZodArray<z.ZodObject<{
|
19
19
|
id: z.ZodString;
|
20
|
-
amount: z.
|
20
|
+
amount: z.ZodNumber;
|
21
21
|
type: z.ZodNativeEnum<{
|
22
22
|
PARTICIPANT: "PARTICIPANT";
|
23
23
|
STAFF: "STAFF";
|
@@ -27,12 +27,12 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
28
28
|
id: string;
|
29
29
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
30
|
-
amount: number
|
30
|
+
amount: number;
|
31
31
|
price: number | null;
|
32
32
|
}, {
|
33
33
|
id: string;
|
34
34
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
35
|
-
amount: number
|
35
|
+
amount: number;
|
36
36
|
price: number | null;
|
37
37
|
}>, "many">;
|
38
38
|
}>, "strip", z.ZodTypeAny, {
|
@@ -52,7 +52,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
52
52
|
eventTickets: {
|
53
53
|
id: string;
|
54
54
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
55
|
-
amount: number
|
55
|
+
amount: number;
|
56
56
|
price: number | null;
|
57
57
|
}[];
|
58
58
|
}, {
|
@@ -72,7 +72,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
72
72
|
eventTickets: {
|
73
73
|
id: string;
|
74
74
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
75
|
-
amount: number
|
75
|
+
amount: number;
|
76
76
|
price: number | null;
|
77
77
|
}[];
|
78
78
|
}>, "many">;
|
@@ -94,7 +94,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
94
94
|
eventTickets: {
|
95
95
|
id: string;
|
96
96
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
97
|
-
amount: number
|
97
|
+
amount: number;
|
98
98
|
price: number | null;
|
99
99
|
}[];
|
100
100
|
}[];
|
@@ -116,7 +116,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
|
|
116
116
|
eventTickets: {
|
117
117
|
id: string;
|
118
118
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
119
|
-
amount: number
|
119
|
+
amount: number;
|
120
120
|
price: number | null;
|
121
121
|
}[];
|
122
122
|
}[];
|
@@ -138,7 +138,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
138
138
|
updated_at: z.ZodString;
|
139
139
|
eventTickets: z.ZodArray<z.ZodObject<{
|
140
140
|
id: z.ZodString;
|
141
|
-
amount: z.
|
141
|
+
amount: z.ZodNumber;
|
142
142
|
type: z.ZodNativeEnum<{
|
143
143
|
PARTICIPANT: "PARTICIPANT";
|
144
144
|
STAFF: "STAFF";
|
@@ -148,12 +148,12 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
148
148
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
149
149
|
id: string;
|
150
150
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
151
|
-
amount: number
|
151
|
+
amount: number;
|
152
152
|
price: number | null;
|
153
153
|
}, {
|
154
154
|
id: string;
|
155
155
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
156
|
-
amount: number
|
156
|
+
amount: number;
|
157
157
|
price: number | null;
|
158
158
|
}>, "many">;
|
159
159
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -173,7 +173,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
173
173
|
eventTickets: {
|
174
174
|
id: string;
|
175
175
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
176
|
-
amount: number
|
176
|
+
amount: number;
|
177
177
|
price: number | null;
|
178
178
|
}[];
|
179
179
|
}, {
|
@@ -193,7 +193,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
193
193
|
eventTickets: {
|
194
194
|
id: string;
|
195
195
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
196
|
-
amount: number
|
196
|
+
amount: number;
|
197
197
|
price: number | null;
|
198
198
|
}[];
|
199
199
|
}>, "many">;
|
@@ -215,7 +215,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
215
215
|
eventTickets: {
|
216
216
|
id: string;
|
217
217
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
218
|
-
amount: number
|
218
|
+
amount: number;
|
219
219
|
price: number | null;
|
220
220
|
}[];
|
221
221
|
}[];
|
@@ -237,7 +237,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
237
237
|
eventTickets: {
|
238
238
|
id: string;
|
239
239
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
240
|
-
amount: number
|
240
|
+
amount: number;
|
241
241
|
price: number | null;
|
242
242
|
}[];
|
243
243
|
}[];
|