expo-backend-types 0.34.0 → 0.35.0

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