expo-backend-types 0.54.0 → 0.55.0-EXPO-366-EB-Schema-codigo-referido.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.
Files changed (55) hide show
  1. package/dist/src/event/dto/get-all-statistics.dto.d.ts +5 -0
  2. package/dist/src/i18n/es.d.ts +6 -0
  3. package/dist/src/i18n/es.js +6 -0
  4. package/dist/src/i18n/es.js.map +1 -1
  5. package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -0
  6. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -0
  7. package/dist/src/mi-expo/dto/login.dto.d.ts +10 -0
  8. package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -0
  9. package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -0
  10. package/dist/src/production/dto/get-all-production.dto.d.ts +14 -0
  11. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +14 -0
  12. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +10 -0
  13. package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
  14. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -0
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -0
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -0
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -0
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -0
  19. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -0
  20. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -0
  21. package/dist/src/profile/dto/find-referral-code-exists.dto.d.ts +18 -0
  22. package/dist/src/profile/dto/find-referral-code-exists.dto.js +15 -0
  23. package/dist/src/profile/dto/find-referral-code-usage.dto.d.ts +18 -0
  24. package/dist/src/profile/dto/find-referral-code-usage.dto.js +15 -0
  25. package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -0
  27. package/dist/src/profile/dto/profile.dto.d.ts +3 -0
  28. package/dist/src/profile/dto/update-profile.dto.d.ts +6 -0
  29. package/dist/src/schema/profile.schema.d.ts +3 -0
  30. package/dist/src/schema/profile.schema.js +1 -0
  31. package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -0
  32. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -0
  33. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +6 -0
  34. package/dist/src/ticket/dto/create-many-ticket.dto.js +2 -0
  35. package/dist/src/ticket/dto/create-ticket.dto.d.ts +6 -0
  36. package/dist/src/ticket/dto/create-ticket.dto.js +1 -0
  37. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -0
  38. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -0
  39. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -0
  40. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +7 -0
  41. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +6 -0
  42. package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +6 -0
  43. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +6 -0
  44. package/dist/src/ticket-group/dto/ticket-group.dto.js +1 -0
  45. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +12 -0
  46. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +1 -0
  47. package/dist/types/prisma-schema/edge.js +5 -3
  48. package/dist/types/prisma-schema/index-browser.js +2 -0
  49. package/dist/types/prisma-schema/index.d.ts +556 -25
  50. package/dist/types/prisma-schema/index.js +5 -3
  51. package/dist/types/prisma-schema/package.json +1 -1
  52. package/dist/types/prisma-schema/schema.prisma +8 -0
  53. package/dist/types/prisma-schema/wasm.js +2 -0
  54. package/dist/types/schema.d.ts +107 -0
  55. package/package.json +2 -1
@@ -31,6 +31,7 @@ export declare const findTrashResponseSchema: z.ZodObject<{
31
31
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
32
32
  created_at: z.ZodDate;
33
33
  updated_at: z.ZodDate;
34
+ referralCode: z.ZodString;
34
35
  }, "id" | "phoneNumber" | "fullName" | "profilePictureUrl" | "created_at" | "isInTrash" | "movedToTrashDate">, "strip", z.ZodTypeAny, {
35
36
  id: string;
36
37
  phoneNumber: string;
@@ -31,6 +31,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
31
31
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
32
32
  created_at: z.ZodDate;
33
33
  updated_at: z.ZodDate;
34
+ referralCode: z.ZodString;
34
35
  }, {
35
36
  tags: z.ZodArray<z.ZodObject<{
36
37
  id: z.ZodString;
@@ -182,6 +183,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
182
183
  dni: string | null;
183
184
  created_at: Date;
184
185
  updated_at: Date;
186
+ referralCode: string;
185
187
  shortId: number;
186
188
  firstTimeMiExpo: boolean;
187
189
  isPhoneVerified: boolean;
@@ -236,6 +238,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
236
238
  dni: string | null;
237
239
  created_at: Date;
238
240
  updated_at: Date;
241
+ referralCode: string;
239
242
  shortId: number;
240
243
  firstTimeMiExpo: boolean;
241
244
  isPhoneVerified: boolean;
@@ -294,6 +297,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
294
297
  dni: string | null;
295
298
  created_at: Date;
296
299
  updated_at: Date;
300
+ referralCode: string;
297
301
  shortId: number;
298
302
  firstTimeMiExpo: boolean;
299
303
  isPhoneVerified: boolean;
@@ -350,6 +354,7 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
350
354
  dni: string | null;
351
355
  created_at: Date;
352
356
  updated_at: Date;
357
+ referralCode: string;
353
358
  shortId: number;
354
359
  firstTimeMiExpo: boolean;
355
360
  isPhoneVerified: boolean;
@@ -427,6 +432,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
427
432
  movedToTrashDate: z.ZodNullable<z.ZodString>;
428
433
  created_at: z.ZodString;
429
434
  updated_at: z.ZodString;
435
+ referralCode: z.ZodString;
430
436
  tags: z.ZodArray<z.ZodObject<{
431
437
  id: z.ZodString;
432
438
  name: z.ZodString;
@@ -574,6 +580,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
574
580
  dni: string | null;
575
581
  created_at: string;
576
582
  updated_at: string;
583
+ referralCode: string;
577
584
  shortId: number;
578
585
  firstTimeMiExpo: boolean;
579
586
  isPhoneVerified: boolean;
@@ -628,6 +635,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
628
635
  dni: string | null;
629
636
  created_at: string;
630
637
  updated_at: string;
638
+ referralCode: string;
631
639
  shortId: number;
632
640
  firstTimeMiExpo: boolean;
633
641
  isPhoneVerified: boolean;
@@ -686,6 +694,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
686
694
  dni: string | null;
687
695
  created_at: string;
688
696
  updated_at: string;
697
+ referralCode: string;
689
698
  shortId: number;
690
699
  firstTimeMiExpo: boolean;
691
700
  isPhoneVerified: boolean;
@@ -742,6 +751,7 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
742
751
  dni: string | null;
743
752
  created_at: string;
744
753
  updated_at: string;
754
+ referralCode: string;
745
755
  shortId: number;
746
756
  firstTimeMiExpo: boolean;
747
757
  isPhoneVerified: boolean;
@@ -29,6 +29,7 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
29
29
  movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
30
30
  created_at: import("zod").ZodString;
31
31
  updated_at: import("zod").ZodString;
32
+ referralCode: import("zod").ZodString;
32
33
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
33
34
  id: string;
34
35
  username: string | null;
@@ -42,6 +43,7 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
42
43
  dni: string | null;
43
44
  created_at: string;
44
45
  updated_at: string;
46
+ referralCode: string;
45
47
  shortId: number;
46
48
  firstTimeMiExpo: boolean;
47
49
  isPhoneVerified: boolean;
@@ -66,6 +68,7 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
66
68
  dni: string | null;
67
69
  created_at: string;
68
70
  updated_at: string;
71
+ referralCode: string;
69
72
  shortId: number;
70
73
  firstTimeMiExpo: boolean;
71
74
  isPhoneVerified: boolean;
@@ -275,6 +275,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
275
275
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
276
276
  created_at: z.ZodDate;
277
277
  updated_at: z.ZodDate;
278
+ referralCode: z.ZodString;
278
279
  }, "strip", z.ZodTypeAny, {
279
280
  id: string;
280
281
  username: string | null;
@@ -288,6 +289,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
288
289
  dni: string | null;
289
290
  created_at: Date;
290
291
  updated_at: Date;
292
+ referralCode: string;
291
293
  shortId: number;
292
294
  firstTimeMiExpo: boolean;
293
295
  isPhoneVerified: boolean;
@@ -312,6 +314,7 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
312
314
  dni: string | null;
313
315
  created_at: Date;
314
316
  updated_at: Date;
317
+ referralCode: string;
315
318
  shortId: number;
316
319
  firstTimeMiExpo: boolean;
317
320
  isPhoneVerified: boolean;
@@ -357,6 +360,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
357
360
  movedToTrashDate: z.ZodNullable<z.ZodString>;
358
361
  created_at: z.ZodString;
359
362
  updated_at: z.ZodString;
363
+ referralCode: z.ZodString;
360
364
  }, z.UnknownKeysParam, z.ZodTypeAny, {
361
365
  id: string;
362
366
  username: string | null;
@@ -370,6 +374,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
370
374
  dni: string | null;
371
375
  created_at: string;
372
376
  updated_at: string;
377
+ referralCode: string;
373
378
  shortId: number;
374
379
  firstTimeMiExpo: boolean;
375
380
  isPhoneVerified: boolean;
@@ -394,6 +399,7 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
394
399
  dni: string | null;
395
400
  created_at: string;
396
401
  updated_at: string;
402
+ referralCode: string;
397
403
  shortId: number;
398
404
  firstTimeMiExpo: boolean;
399
405
  isPhoneVerified: boolean;
@@ -30,6 +30,7 @@ export declare const profileSchema: z.ZodObject<{
30
30
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
31
31
  created_at: z.ZodDate;
32
32
  updated_at: z.ZodDate;
33
+ referralCode: z.ZodString;
33
34
  }, "strip", z.ZodTypeAny, {
34
35
  id: string;
35
36
  username: string | null;
@@ -43,6 +44,7 @@ export declare const profileSchema: z.ZodObject<{
43
44
  dni: string | null;
44
45
  created_at: Date;
45
46
  updated_at: Date;
47
+ referralCode: string;
46
48
  shortId: number;
47
49
  firstTimeMiExpo: boolean;
48
50
  isPhoneVerified: boolean;
@@ -67,6 +69,7 @@ export declare const profileSchema: z.ZodObject<{
67
69
  dni: string | null;
68
70
  created_at: Date;
69
71
  updated_at: Date;
72
+ referralCode: string;
70
73
  shortId: number;
71
74
  firstTimeMiExpo: boolean;
72
75
  isPhoneVerified: boolean;
@@ -141,5 +141,6 @@ exports.profileSchema = zod_1.default.object({
141
141
  movedToTrashDate: zod_1.default.coerce.date().nullable(),
142
142
  created_at: zod_1.default.date(),
143
143
  updated_at: zod_1.default.date(),
144
+ referralCode: zod_1.default.string(),
144
145
  });
145
146
  //# sourceMappingURL=profile.schema.js.map
@@ -53,6 +53,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
53
53
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
54
54
  created_at: z.ZodDate;
55
55
  updated_at: z.ZodDate;
56
+ referralCode: z.ZodString;
56
57
  }, "strip", z.ZodTypeAny, {
57
58
  id: string;
58
59
  username: string | null;
@@ -66,6 +67,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
66
67
  dni: string | null;
67
68
  created_at: Date;
68
69
  updated_at: Date;
70
+ referralCode: string;
69
71
  shortId: number;
70
72
  firstTimeMiExpo: boolean;
71
73
  isPhoneVerified: boolean;
@@ -90,6 +92,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
90
92
  dni: string | null;
91
93
  created_at: Date;
92
94
  updated_at: Date;
95
+ referralCode: string;
93
96
  shortId: number;
94
97
  firstTimeMiExpo: boolean;
95
98
  isPhoneVerified: boolean;
@@ -118,6 +121,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
118
121
  dni: string | null;
119
122
  created_at: Date;
120
123
  updated_at: Date;
124
+ referralCode: string;
121
125
  shortId: number;
122
126
  firstTimeMiExpo: boolean;
123
127
  isPhoneVerified: boolean;
@@ -144,6 +148,7 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
144
148
  dni: string | null;
145
149
  created_at: Date;
146
150
  updated_at: Date;
151
+ referralCode: string;
147
152
  shortId: number;
148
153
  firstTimeMiExpo: boolean;
149
154
  isPhoneVerified: boolean;
@@ -191,6 +196,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
191
196
  movedToTrashDate: z.ZodNullable<z.ZodString>;
192
197
  created_at: z.ZodString;
193
198
  updated_at: z.ZodString;
199
+ referralCode: z.ZodString;
194
200
  }, z.UnknownKeysParam, z.ZodTypeAny, {
195
201
  id: string;
196
202
  username: string | null;
@@ -204,6 +210,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
204
210
  dni: string | null;
205
211
  created_at: string;
206
212
  updated_at: string;
213
+ referralCode: string;
207
214
  shortId: number;
208
215
  firstTimeMiExpo: boolean;
209
216
  isPhoneVerified: boolean;
@@ -228,6 +235,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
228
235
  dni: string | null;
229
236
  created_at: string;
230
237
  updated_at: string;
238
+ referralCode: string;
231
239
  shortId: number;
232
240
  firstTimeMiExpo: boolean;
233
241
  isPhoneVerified: boolean;
@@ -256,6 +264,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
256
264
  dni: string | null;
257
265
  created_at: string;
258
266
  updated_at: string;
267
+ referralCode: string;
259
268
  shortId: number;
260
269
  firstTimeMiExpo: boolean;
261
270
  isPhoneVerified: boolean;
@@ -282,6 +291,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
282
291
  dni: string | null;
283
292
  created_at: string;
284
293
  updated_at: string;
294
+ referralCode: string;
285
295
  shortId: number;
286
296
  firstTimeMiExpo: boolean;
287
297
  isPhoneVerified: boolean;
@@ -53,6 +53,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
53
53
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
54
54
  created_at: z.ZodDate;
55
55
  updated_at: z.ZodDate;
56
+ referralCode: z.ZodString;
56
57
  }, "strip", z.ZodTypeAny, {
57
58
  id: string;
58
59
  username: string | null;
@@ -66,6 +67,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
66
67
  dni: string | null;
67
68
  created_at: Date;
68
69
  updated_at: Date;
70
+ referralCode: string;
69
71
  shortId: number;
70
72
  firstTimeMiExpo: boolean;
71
73
  isPhoneVerified: boolean;
@@ -90,6 +92,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
90
92
  dni: string | null;
91
93
  created_at: Date;
92
94
  updated_at: Date;
95
+ referralCode: string;
93
96
  shortId: number;
94
97
  firstTimeMiExpo: boolean;
95
98
  isPhoneVerified: boolean;
@@ -118,6 +121,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
118
121
  dni: string | null;
119
122
  created_at: Date;
120
123
  updated_at: Date;
124
+ referralCode: string;
121
125
  shortId: number;
122
126
  firstTimeMiExpo: boolean;
123
127
  isPhoneVerified: boolean;
@@ -144,6 +148,7 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
144
148
  dni: string | null;
145
149
  created_at: Date;
146
150
  updated_at: Date;
151
+ referralCode: string;
147
152
  shortId: number;
148
153
  firstTimeMiExpo: boolean;
149
154
  isPhoneVerified: boolean;
@@ -191,6 +196,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
191
196
  movedToTrashDate: z.ZodNullable<z.ZodString>;
192
197
  created_at: z.ZodString;
193
198
  updated_at: z.ZodString;
199
+ referralCode: z.ZodString;
194
200
  }, z.UnknownKeysParam, z.ZodTypeAny, {
195
201
  id: string;
196
202
  username: string | null;
@@ -204,6 +210,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
204
210
  dni: string | null;
205
211
  created_at: string;
206
212
  updated_at: string;
213
+ referralCode: string;
207
214
  shortId: number;
208
215
  firstTimeMiExpo: boolean;
209
216
  isPhoneVerified: boolean;
@@ -228,6 +235,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
228
235
  dni: string | null;
229
236
  created_at: string;
230
237
  updated_at: string;
238
+ referralCode: string;
231
239
  shortId: number;
232
240
  firstTimeMiExpo: boolean;
233
241
  isPhoneVerified: boolean;
@@ -256,6 +264,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
256
264
  dni: string | null;
257
265
  created_at: string;
258
266
  updated_at: string;
267
+ referralCode: string;
259
268
  shortId: number;
260
269
  firstTimeMiExpo: boolean;
261
270
  isPhoneVerified: boolean;
@@ -282,6 +291,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
282
291
  dni: string | null;
283
292
  created_at: string;
284
293
  updated_at: string;
294
+ referralCode: string;
285
295
  shortId: number;
286
296
  firstTimeMiExpo: boolean;
287
297
  isPhoneVerified: boolean;
@@ -36,6 +36,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
36
36
  ticketGroupId: string | null;
37
37
  profileId?: string | undefined;
38
38
  }>, "many">;
39
+ referralCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
40
  }, "strip", z.ZodTypeAny, {
40
41
  tickets: {
41
42
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -46,6 +47,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
46
47
  ticketGroupId: string | null;
47
48
  profileId?: string | undefined;
48
49
  }[];
50
+ referralCode?: string | null | undefined;
49
51
  }, {
50
52
  tickets: {
51
53
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -56,6 +58,7 @@ export declare const createManyTicketSchema: z.ZodObject<{
56
58
  ticketGroupId: string | null;
57
59
  profileId?: string | undefined;
58
60
  }[];
61
+ referralCode?: string | null | undefined;
59
62
  }>;
60
63
  declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
61
64
  tickets: z.ZodArray<z.ZodObject<{
@@ -87,6 +90,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
87
90
  ticketGroupId: string | null;
88
91
  profileId?: string | undefined;
89
92
  }>, "many">;
93
+ referralCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
94
  }, z.UnknownKeysParam, z.ZodTypeAny, {
91
95
  tickets: {
92
96
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -97,6 +101,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
97
101
  ticketGroupId: string | null;
98
102
  profileId?: string | undefined;
99
103
  }[];
104
+ referralCode?: string | null | undefined;
100
105
  }, {
101
106
  tickets: {
102
107
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -107,6 +112,7 @@ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStat
107
112
  ticketGroupId: string | null;
108
113
  profileId?: string | undefined;
109
114
  }[];
115
+ referralCode?: string | null | undefined;
110
116
  }>>;
111
117
  export declare class CreateManyTicketDto extends CreateManyTicketDto_base {
112
118
  }
@@ -7,6 +7,7 @@ exports.CreateManyTicketResponseDto = exports.createManyTicketResponseSchema = e
7
7
  const event_dto_1 = require("../../event/dto/event.dto");
8
8
  const profile_schema_1 = require("../../schema/profile.schema");
9
9
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
10
11
  const zod_1 = __importDefault(require("zod"));
11
12
  const ticket_dto_1 = require("./ticket.dto");
12
13
  exports.createManyTicketSchema = zod_1.default.object({
@@ -22,6 +23,7 @@ exports.createManyTicketSchema = zod_1.default.object({
22
23
  .extend({
23
24
  profileId: profile_schema_1.profileSchema.shape.id.optional(),
24
25
  })),
26
+ referralCode: ticket_group_dto_1.ticketGroupSchema.shape.referralCode.optional(),
25
27
  });
26
28
  class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
27
29
  }
@@ -18,6 +18,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
18
18
  }, "type" | "fullName" | "mail" | "eventId" | "dni">, {
19
19
  profileId: import("zod").ZodOptional<import("zod").ZodString>;
20
20
  ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
21
+ referralCode: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
21
22
  }>, "strip", import("zod").ZodTypeAny, {
22
23
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
23
24
  fullName: string;
@@ -25,6 +26,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
25
26
  eventId: string;
26
27
  dni: string;
27
28
  profileId?: string | undefined;
29
+ referralCode?: string | null | undefined;
28
30
  ticketGroupId?: string | undefined;
29
31
  }, {
30
32
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -33,6 +35,7 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
33
35
  eventId: string;
34
36
  dni: string;
35
37
  profileId?: string | undefined;
38
+ referralCode?: string | null | undefined;
36
39
  ticketGroupId?: string | undefined;
37
40
  }>;
38
41
  declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -47,6 +50,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
47
50
  dni: import("zod").ZodString;
48
51
  profileId: import("zod").ZodOptional<import("zod").ZodString>;
49
52
  ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
53
+ referralCode: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
50
54
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
51
55
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
52
56
  fullName: string;
@@ -54,6 +58,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
54
58
  eventId: string;
55
59
  dni: string;
56
60
  profileId?: string | undefined;
61
+ referralCode?: string | null | undefined;
57
62
  ticketGroupId?: string | undefined;
58
63
  }, {
59
64
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
@@ -62,6 +67,7 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
62
67
  eventId: string;
63
68
  dni: string;
64
69
  profileId?: string | undefined;
70
+ referralCode?: string | null | undefined;
65
71
  ticketGroupId?: string | undefined;
66
72
  }>>;
67
73
  export declare class CreateTicketDto extends CreateTicketDto_base {
@@ -17,6 +17,7 @@ exports.createTicketSchema = ticket_dto_1.ticketSchema
17
17
  .extend({
18
18
  profileId: profile_schema_1.profileSchema.shape.id.optional(),
19
19
  ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.optional(),
20
+ referralCode: ticket_group_dto_1.ticketGroupSchema.shape.referralCode.optional(),
20
21
  });
21
22
  class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
22
23
  }
@@ -75,6 +75,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
75
75
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
76
76
  created_at: z.ZodDate;
77
77
  updated_at: z.ZodDate;
78
+ referralCode: z.ZodString;
78
79
  }, "strip", z.ZodTypeAny, {
79
80
  id: string;
80
81
  username: string | null;
@@ -88,6 +89,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
88
89
  dni: string | null;
89
90
  created_at: Date;
90
91
  updated_at: Date;
92
+ referralCode: string;
91
93
  shortId: number;
92
94
  firstTimeMiExpo: boolean;
93
95
  isPhoneVerified: boolean;
@@ -112,6 +114,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
112
114
  dni: string | null;
113
115
  created_at: Date;
114
116
  updated_at: Date;
117
+ referralCode: string;
115
118
  shortId: number;
116
119
  firstTimeMiExpo: boolean;
117
120
  isPhoneVerified: boolean;
@@ -145,6 +148,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
145
148
  dni: string | null;
146
149
  created_at: Date;
147
150
  updated_at: Date;
151
+ referralCode: string;
148
152
  shortId: number;
149
153
  firstTimeMiExpo: boolean;
150
154
  isPhoneVerified: boolean;
@@ -188,6 +192,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
188
192
  dni: string | null;
189
193
  created_at: Date;
190
194
  updated_at: Date;
195
+ referralCode: string;
191
196
  shortId: number;
192
197
  firstTimeMiExpo: boolean;
193
198
  isPhoneVerified: boolean;
@@ -235,6 +240,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
235
240
  dni: string | null;
236
241
  created_at: Date;
237
242
  updated_at: Date;
243
+ referralCode: string;
238
244
  shortId: number;
239
245
  firstTimeMiExpo: boolean;
240
246
  isPhoneVerified: boolean;
@@ -280,6 +286,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
280
286
  dni: string | null;
281
287
  created_at: Date;
282
288
  updated_at: Date;
289
+ referralCode: string;
283
290
  shortId: number;
284
291
  firstTimeMiExpo: boolean;
285
292
  isPhoneVerified: boolean;
@@ -370,6 +377,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
370
377
  movedToTrashDate: z.ZodNullable<z.ZodString>;
371
378
  created_at: z.ZodString;
372
379
  updated_at: z.ZodString;
380
+ referralCode: z.ZodString;
373
381
  }, z.UnknownKeysParam, z.ZodTypeAny, {
374
382
  id: string;
375
383
  username: string | null;
@@ -383,6 +391,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
383
391
  dni: string | null;
384
392
  created_at: string;
385
393
  updated_at: string;
394
+ referralCode: string;
386
395
  shortId: number;
387
396
  firstTimeMiExpo: boolean;
388
397
  isPhoneVerified: boolean;
@@ -407,6 +416,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
407
416
  dni: string | null;
408
417
  created_at: string;
409
418
  updated_at: string;
419
+ referralCode: string;
410
420
  shortId: number;
411
421
  firstTimeMiExpo: boolean;
412
422
  isPhoneVerified: boolean;
@@ -440,6 +450,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
440
450
  dni: string | null;
441
451
  created_at: string;
442
452
  updated_at: string;
453
+ referralCode: string;
443
454
  shortId: number;
444
455
  firstTimeMiExpo: boolean;
445
456
  isPhoneVerified: boolean;
@@ -483,6 +494,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
483
494
  dni: string | null;
484
495
  created_at: string;
485
496
  updated_at: string;
497
+ referralCode: string;
486
498
  shortId: number;
487
499
  firstTimeMiExpo: boolean;
488
500
  isPhoneVerified: boolean;
@@ -530,6 +542,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
530
542
  dni: string | null;
531
543
  created_at: string;
532
544
  updated_at: string;
545
+ referralCode: string;
533
546
  shortId: number;
534
547
  firstTimeMiExpo: boolean;
535
548
  isPhoneVerified: boolean;
@@ -575,6 +588,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
575
588
  dni: string | null;
576
589
  created_at: string;
577
590
  updated_at: string;
591
+ referralCode: string;
578
592
  shortId: number;
579
593
  firstTimeMiExpo: boolean;
580
594
  isPhoneVerified: boolean;
@@ -101,6 +101,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
101
101
  movedToTrashDate: z.ZodNullable<z.ZodDate>;
102
102
  created_at: z.ZodDate;
103
103
  updated_at: z.ZodDate;
104
+ referralCode: z.ZodString;
104
105
  }, "strip", z.ZodTypeAny, {
105
106
  id: string;
106
107
  username: string | null;
@@ -114,6 +115,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
114
115
  dni: string | null;
115
116
  created_at: Date;
116
117
  updated_at: Date;
118
+ referralCode: string;
117
119
  shortId: number;
118
120
  firstTimeMiExpo: boolean;
119
121
  isPhoneVerified: boolean;
@@ -138,6 +140,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
138
140
  dni: string | null;
139
141
  created_at: Date;
140
142
  updated_at: Date;
143
+ referralCode: string;
141
144
  shortId: number;
142
145
  firstTimeMiExpo: boolean;
143
146
  isPhoneVerified: boolean;
@@ -185,6 +188,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
185
188
  dni: string | null;
186
189
  created_at: Date;
187
190
  updated_at: Date;
191
+ referralCode: string;
188
192
  shortId: number;
189
193
  firstTimeMiExpo: boolean;
190
194
  isPhoneVerified: boolean;
@@ -242,6 +246,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
242
246
  dni: string | null;
243
247
  created_at: Date;
244
248
  updated_at: Date;
249
+ referralCode: string;
245
250
  shortId: number;
246
251
  firstTimeMiExpo: boolean;
247
252
  isPhoneVerified: boolean;
@@ -303,6 +308,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
303
308
  dni: string | null;
304
309
  created_at: Date;
305
310
  updated_at: Date;
311
+ referralCode: string;
306
312
  shortId: number;
307
313
  firstTimeMiExpo: boolean;
308
314
  isPhoneVerified: boolean;
@@ -362,6 +368,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
362
368
  dni: string | null;
363
369
  created_at: Date;
364
370
  updated_at: Date;
371
+ referralCode: string;
365
372
  shortId: number;
366
373
  firstTimeMiExpo: boolean;
367
374
  isPhoneVerified: boolean;
@@ -492,6 +499,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
492
499
  movedToTrashDate: z.ZodNullable<z.ZodString>;
493
500
  created_at: z.ZodString;
494
501
  updated_at: z.ZodString;
502
+ referralCode: z.ZodString;
495
503
  }, z.UnknownKeysParam, z.ZodTypeAny, {
496
504
  id: string;
497
505
  username: string | null;
@@ -505,6 +513,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
505
513
  dni: string | null;
506
514
  created_at: string;
507
515
  updated_at: string;
516
+ referralCode: string;
508
517
  shortId: number;
509
518
  firstTimeMiExpo: boolean;
510
519
  isPhoneVerified: boolean;
@@ -529,6 +538,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
529
538
  dni: string | null;
530
539
  created_at: string;
531
540
  updated_at: string;
541
+ referralCode: string;
532
542
  shortId: number;
533
543
  firstTimeMiExpo: boolean;
534
544
  isPhoneVerified: boolean;
@@ -576,6 +586,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
576
586
  dni: string | null;
577
587
  created_at: string;
578
588
  updated_at: string;
589
+ referralCode: string;
579
590
  shortId: number;
580
591
  firstTimeMiExpo: boolean;
581
592
  isPhoneVerified: boolean;
@@ -633,6 +644,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
633
644
  dni: string | null;
634
645
  created_at: string;
635
646
  updated_at: string;
647
+ referralCode: string;
636
648
  shortId: number;
637
649
  firstTimeMiExpo: boolean;
638
650
  isPhoneVerified: boolean;
@@ -694,6 +706,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
694
706
  dni: string | null;
695
707
  created_at: string;
696
708
  updated_at: string;
709
+ referralCode: string;
697
710
  shortId: number;
698
711
  firstTimeMiExpo: boolean;
699
712
  isPhoneVerified: boolean;
@@ -753,6 +766,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
753
766
  dni: string | null;
754
767
  created_at: string;
755
768
  updated_at: string;
769
+ referralCode: string;
756
770
  shortId: number;
757
771
  firstTimeMiExpo: boolean;
758
772
  isPhoneVerified: boolean;