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