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
@@ -7,7 +7,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
|
10
|
+
TICKETS: "TICKETS";
|
11
11
|
}>;
|
12
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
13
13
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -17,7 +17,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
17
17
|
id: string;
|
18
18
|
username: string;
|
19
19
|
password: string;
|
20
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
20
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
21
21
|
isGlobalFilterActive: boolean;
|
22
22
|
fcmToken: string[];
|
23
23
|
created_at: Date;
|
@@ -26,7 +26,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
26
26
|
id: string;
|
27
27
|
username: string;
|
28
28
|
password: string;
|
29
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
29
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
30
30
|
created_at: Date;
|
31
31
|
updated_at: Date;
|
32
32
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -40,7 +40,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
40
40
|
USER: "USER";
|
41
41
|
ADMIN: "ADMIN";
|
42
42
|
FORM: "FORM";
|
43
|
-
|
43
|
+
TICKETS: "TICKETS";
|
44
44
|
}>;
|
45
45
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
46
46
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -50,7 +50,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
50
50
|
id: string;
|
51
51
|
username: string;
|
52
52
|
password: string;
|
53
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
53
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
54
54
|
isGlobalFilterActive: boolean;
|
55
55
|
fcmToken: string[];
|
56
56
|
created_at: string;
|
@@ -59,7 +59,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
59
59
|
id: string;
|
60
60
|
username: string;
|
61
61
|
password: string;
|
62
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
62
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
63
63
|
created_at: string;
|
64
64
|
updated_at: string;
|
65
65
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -6,7 +6,7 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
6
6
|
USER: "USER";
|
7
7
|
ADMIN: "ADMIN";
|
8
8
|
FORM: "FORM";
|
9
|
-
|
9
|
+
TICKETS: "TICKETS";
|
10
10
|
}>;
|
11
11
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
12
12
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -15,11 +15,11 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
15
15
|
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
16
16
|
username: string;
|
17
17
|
password: string;
|
18
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
18
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
19
19
|
}, {
|
20
20
|
username: string;
|
21
21
|
password: string;
|
22
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
22
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
23
23
|
}>;
|
24
24
|
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
25
25
|
username: import("zod").ZodString;
|
@@ -28,16 +28,16 @@ declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
28
28
|
USER: "USER";
|
29
29
|
ADMIN: "ADMIN";
|
30
30
|
FORM: "FORM";
|
31
|
-
|
31
|
+
TICKETS: "TICKETS";
|
32
32
|
}>;
|
33
33
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
34
34
|
username: string;
|
35
35
|
password: string;
|
36
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
36
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
37
37
|
}, {
|
38
38
|
username: string;
|
39
39
|
password: string;
|
40
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
40
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
41
41
|
}>>;
|
42
42
|
export declare class CreateAccountDto extends CreateAccountDto_base {
|
43
43
|
}
|
@@ -49,7 +49,7 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
49
49
|
USER: "USER";
|
50
50
|
ADMIN: "ADMIN";
|
51
51
|
FORM: "FORM";
|
52
|
-
|
52
|
+
TICKETS: "TICKETS";
|
53
53
|
}>;
|
54
54
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
55
55
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -58,13 +58,13 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
58
58
|
}, "password" | "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
|
59
59
|
id: string;
|
60
60
|
username: string;
|
61
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
61
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
62
62
|
isGlobalFilterActive: boolean;
|
63
63
|
fcmToken: string[];
|
64
64
|
}, {
|
65
65
|
id: string;
|
66
66
|
username: string;
|
67
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
67
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
68
68
|
isGlobalFilterActive?: boolean | undefined;
|
69
69
|
fcmToken?: string[] | undefined;
|
70
70
|
}>;
|
@@ -75,20 +75,20 @@ declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
75
75
|
USER: "USER";
|
76
76
|
ADMIN: "ADMIN";
|
77
77
|
FORM: "FORM";
|
78
|
-
|
78
|
+
TICKETS: "TICKETS";
|
79
79
|
}>;
|
80
80
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
81
81
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
82
82
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
83
83
|
id: string;
|
84
84
|
username: string;
|
85
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
85
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
86
86
|
isGlobalFilterActive: boolean;
|
87
87
|
fcmToken: string[];
|
88
88
|
}, {
|
89
89
|
id: string;
|
90
90
|
username: string;
|
91
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
91
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
92
92
|
isGlobalFilterActive?: boolean | undefined;
|
93
93
|
fcmToken?: string[] | undefined;
|
94
94
|
}>>;
|
@@ -7,7 +7,7 @@ export declare const getGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
|
10
|
+
TICKETS: "TICKETS";
|
11
11
|
}>;
|
12
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
13
13
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -7,7 +7,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
|
10
|
+
TICKETS: "TICKETS";
|
11
11
|
}>;
|
12
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
13
13
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -92,7 +92,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
92
92
|
}>, "strip", z.ZodTypeAny, {
|
93
93
|
id: string;
|
94
94
|
username: string;
|
95
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
95
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
96
96
|
isGlobalFilterActive: boolean;
|
97
97
|
fcmToken: string[];
|
98
98
|
created_at: Date;
|
@@ -118,7 +118,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
118
118
|
}, {
|
119
119
|
id: string;
|
120
120
|
username: string;
|
121
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
121
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
122
122
|
created_at: Date;
|
123
123
|
updated_at: Date;
|
124
124
|
globalFilter: {
|
@@ -149,7 +149,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
149
149
|
USER: "USER";
|
150
150
|
ADMIN: "ADMIN";
|
151
151
|
FORM: "FORM";
|
152
|
-
|
152
|
+
TICKETS: "TICKETS";
|
153
153
|
}>;
|
154
154
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
155
155
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -226,7 +226,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
226
226
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
227
227
|
id: string;
|
228
228
|
username: string;
|
229
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
229
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
230
230
|
isGlobalFilterActive: boolean;
|
231
231
|
fcmToken: string[];
|
232
232
|
created_at: string;
|
@@ -252,7 +252,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
252
252
|
}, {
|
253
253
|
id: string;
|
254
254
|
username: string;
|
255
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
255
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
256
256
|
created_at: string;
|
257
257
|
updated_at: string;
|
258
258
|
globalFilter: {
|
@@ -29,7 +29,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
29
29
|
USER: "USER";
|
30
30
|
ADMIN: "ADMIN";
|
31
31
|
FORM: "FORM";
|
32
|
-
|
32
|
+
TICKETS: "TICKETS";
|
33
33
|
}>;
|
34
34
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
35
35
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -67,7 +67,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
67
67
|
id: string;
|
68
68
|
username: string;
|
69
69
|
password: string;
|
70
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
70
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
71
71
|
isGlobalFilterActive: boolean;
|
72
72
|
fcmToken: string[];
|
73
73
|
created_at: Date;
|
@@ -84,7 +84,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
84
84
|
id: string;
|
85
85
|
username: string;
|
86
86
|
password: string;
|
87
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
87
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
88
88
|
created_at: Date;
|
89
89
|
updated_at: Date;
|
90
90
|
globalFilter: {
|
@@ -106,7 +106,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
106
106
|
USER: "USER";
|
107
107
|
ADMIN: "ADMIN";
|
108
108
|
FORM: "FORM";
|
109
|
-
|
109
|
+
TICKETS: "TICKETS";
|
110
110
|
}>;
|
111
111
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
112
112
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -143,7 +143,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
143
143
|
id: string;
|
144
144
|
username: string;
|
145
145
|
password: string;
|
146
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
146
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
147
147
|
isGlobalFilterActive: boolean;
|
148
148
|
fcmToken: string[];
|
149
149
|
created_at: string;
|
@@ -160,7 +160,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
160
160
|
id: string;
|
161
161
|
username: string;
|
162
162
|
password: string;
|
163
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
163
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
164
164
|
created_at: string;
|
165
165
|
updated_at: string;
|
166
166
|
globalFilter: {
|
@@ -7,7 +7,7 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
FORM: "FORM";
|
10
|
-
|
10
|
+
TICKETS: "TICKETS";
|
11
11
|
}>;
|
12
12
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
13
13
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -41,7 +41,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
41
41
|
USER: "USER";
|
42
42
|
ADMIN: "ADMIN";
|
43
43
|
FORM: "FORM";
|
44
|
-
|
44
|
+
TICKETS: "TICKETS";
|
45
45
|
}>;
|
46
46
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
47
47
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -50,7 +50,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
50
50
|
}, "password">, "strip", z.ZodTypeAny, {
|
51
51
|
id: string;
|
52
52
|
username: string;
|
53
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
53
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
54
54
|
isGlobalFilterActive: boolean;
|
55
55
|
fcmToken: string[];
|
56
56
|
created_at: Date;
|
@@ -58,7 +58,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
58
58
|
}, {
|
59
59
|
id: string;
|
60
60
|
username: string;
|
61
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
61
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
62
62
|
created_at: Date;
|
63
63
|
updated_at: Date;
|
64
64
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -81,7 +81,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
81
81
|
user: {
|
82
82
|
id: string;
|
83
83
|
username: string;
|
84
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
84
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
85
85
|
isGlobalFilterActive: boolean;
|
86
86
|
fcmToken: string[];
|
87
87
|
created_at: Date;
|
@@ -96,7 +96,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
96
96
|
user: {
|
97
97
|
id: string;
|
98
98
|
username: string;
|
99
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
99
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
100
100
|
created_at: Date;
|
101
101
|
updated_at: Date;
|
102
102
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -116,7 +116,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
116
116
|
USER: "USER";
|
117
117
|
ADMIN: "ADMIN";
|
118
118
|
FORM: "FORM";
|
119
|
-
|
119
|
+
TICKETS: "TICKETS";
|
120
120
|
}>;
|
121
121
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
122
122
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -125,7 +125,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
125
125
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
126
126
|
id: string;
|
127
127
|
username: string;
|
128
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
128
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
129
129
|
isGlobalFilterActive: boolean;
|
130
130
|
fcmToken: string[];
|
131
131
|
created_at: string;
|
@@ -133,7 +133,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
133
133
|
}, {
|
134
134
|
id: string;
|
135
135
|
username: string;
|
136
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
136
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
137
137
|
created_at: string;
|
138
138
|
updated_at: string;
|
139
139
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -156,7 +156,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
156
156
|
user: {
|
157
157
|
id: string;
|
158
158
|
username: string;
|
159
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
159
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
160
160
|
isGlobalFilterActive: boolean;
|
161
161
|
fcmToken: string[];
|
162
162
|
created_at: string;
|
@@ -171,7 +171,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
171
171
|
user: {
|
172
172
|
id: string;
|
173
173
|
username: string;
|
174
|
-
role: "USER" | "ADMIN" | "FORM" | "
|
174
|
+
role: "USER" | "ADMIN" | "FORM" | "TICKETS";
|
175
175
|
created_at: string;
|
176
176
|
updated_at: string;
|
177
177
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -20,7 +20,7 @@ export declare const getByProfileCommentResponseSchema: z.ZodObject<{
|
|
20
20
|
USER: "USER";
|
21
21
|
ADMIN: "ADMIN";
|
22
22
|
FORM: "FORM";
|
23
|
-
|
23
|
+
TICKETS: "TICKETS";
|
24
24
|
}>;
|
25
25
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
26
26
|
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.
|
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
|
}[];
|