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