expo-backend-types 0.36.0-EXPO-323-Enviar-mail-ticket.5 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.11

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 (88) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +9 -9
  4. package/dist/src/account/dto/get-me.dto.d.ts +22 -22
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +14 -14
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -1
  8. package/dist/src/event/dto/create-event.dto.d.ts +8 -8
  9. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  10. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  11. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  12. package/dist/src/event/dto/get-by-id-event.dto.d.ts +40 -78
  13. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  14. package/dist/src/exports.d.ts +1 -0
  15. package/dist/src/exports.js +1 -0
  16. package/dist/src/i18n/es.d.ts +31 -22
  17. package/dist/src/i18n/es.js +31 -22
  18. package/dist/src/i18n/es.js.map +1 -1
  19. package/dist/src/mi-expo/dto/get-me.dto.d.ts +11 -11
  20. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +19 -19
  21. package/dist/src/mi-expo/dto/login.dto.d.ts +20 -20
  22. package/dist/src/mi-expo/dto/update-me.dto.d.ts +17 -17
  23. package/dist/src/otp/dto/verify-otp.dto.d.ts +18 -18
  24. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -14
  25. package/dist/src/profile/dto/delete-profile.dto.d.ts +10 -10
  26. package/dist/src/profile/dto/find-all-profile.dto.d.ts +30 -30
  27. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +48 -48
  28. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +19 -19
  29. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +10 -10
  30. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +30 -30
  31. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +30 -30
  32. package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +30 -30
  34. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  35. package/dist/src/profile/dto/update-profile.dto.d.ts +16 -16
  36. package/dist/src/schema/profile.schema.d.ts +5 -5
  37. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  38. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  39. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  40. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  41. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  42. package/dist/src/tag/dto/massive-allocation.dto.d.ts +18 -18
  43. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +18 -18
  44. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  45. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  46. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  47. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  48. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  49. package/dist/src/ticket/constants.d.ts +14 -12
  50. package/dist/src/ticket/constants.js +248 -355
  51. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +678 -0
  52. package/dist/src/ticket/dto/create-many-ticket.dto.js +57 -0
  53. package/dist/src/ticket/dto/create-ticket.dto.d.ts +9 -56
  54. package/dist/src/ticket/dto/create-ticket.dto.js +0 -2
  55. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +4 -30
  56. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +8 -46
  57. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +34 -72
  58. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +34 -72
  59. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +34 -72
  60. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +8 -46
  61. package/dist/src/ticket/dto/find-ticket.dto.d.ts +4 -30
  62. package/dist/src/ticket/dto/ticket.dto.d.ts +4 -30
  63. package/dist/src/ticket/dto/ticket.dto.js +0 -5
  64. package/dist/src/ticket/dto/update-ticket.dto.d.ts +8 -48
  65. package/dist/src/ticket/dto/update-ticket.dto.js +0 -1
  66. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +336 -0
  67. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
  68. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
  69. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
  70. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +2 -0
  71. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +9 -0
  72. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
  73. package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
  74. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
  75. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
  76. package/dist/src/ticket-group/exports.d.ts +4 -0
  77. package/dist/src/ticket-group/exports.js +21 -0
  78. package/dist/types/prisma-schema/edge.js +17 -9
  79. package/dist/types/prisma-schema/index-browser.js +14 -6
  80. package/dist/types/prisma-schema/index.d.ts +2233 -362
  81. package/dist/types/prisma-schema/index.js +17 -9
  82. package/dist/types/prisma-schema/package.json +1 -1
  83. package/dist/types/prisma-schema/schema.prisma +23 -8
  84. package/dist/types/prisma-schema/wasm.js +14 -6
  85. package/dist/types/schema.d.ts +315 -62
  86. package/package.json +6 -6
  87. package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
  88. package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -73,6 +73,11 @@ export type CannedResponse = $Result.DefaultSelection<Prisma.$CannedResponsePayl
73
73
  *
74
74
  */
75
75
  export type Ticket = $Result.DefaultSelection<Prisma.$TicketPayload>
76
+ /**
77
+ * Model TicketGroup
78
+ *
79
+ */
80
+ export type TicketGroup = $Result.DefaultSelection<Prisma.$TicketGroupPayload>
76
81
  /**
77
82
  * Model Enums
78
83
  *
@@ -92,8 +97,8 @@ export namespace $Enums {
92
97
  USER: 'USER',
93
98
  ADMIN: 'ADMIN',
94
99
  FORM: 'FORM',
95
- MI_EXPO: 'MI_EXPO',
96
- TICKETS: 'TICKETS'
100
+ TICKETS: 'TICKETS',
101
+ MI_EXPO: 'MI_EXPO'
97
102
  };
98
103
 
99
104
  export type Role = (typeof Role)[keyof typeof Role]
@@ -145,13 +150,13 @@ export const TicketType: {
145
150
  export type TicketType = (typeof TicketType)[keyof typeof TicketType]
146
151
 
147
152
 
148
- export const TicketStatus: {
153
+ export const TicketGroupStatus: {
149
154
  BOOKED: 'BOOKED',
150
155
  PAID: 'PAID',
151
156
  FREE: 'FREE'
152
157
  };
153
158
 
154
- export type TicketStatus = (typeof TicketStatus)[keyof typeof TicketStatus]
159
+ export type TicketGroupStatus = (typeof TicketGroupStatus)[keyof typeof TicketGroupStatus]
155
160
 
156
161
  }
157
162
 
@@ -179,9 +184,9 @@ export type TicketType = $Enums.TicketType
179
184
 
180
185
  export const TicketType: typeof $Enums.TicketType
181
186
 
182
- export type TicketStatus = $Enums.TicketStatus
187
+ export type TicketGroupStatus = $Enums.TicketGroupStatus
183
188
 
184
- export const TicketStatus: typeof $Enums.TicketStatus
189
+ export const TicketGroupStatus: typeof $Enums.TicketGroupStatus
185
190
 
186
191
  /**
187
192
  * ## Prisma Client ʲˢ
@@ -428,6 +433,16 @@ export class PrismaClient<
428
433
  */
429
434
  get ticket(): Prisma.TicketDelegate<ExtArgs, ClientOptions>;
430
435
 
436
+ /**
437
+ * `prisma.ticketGroup`: Exposes CRUD operations for the **TicketGroup** model.
438
+ * Example usage:
439
+ * ```ts
440
+ * // Fetch zero or more TicketGroups
441
+ * const ticketGroups = await prisma.ticketGroup.findMany()
442
+ * ```
443
+ */
444
+ get ticketGroup(): Prisma.TicketGroupDelegate<ExtArgs, ClientOptions>;
445
+
431
446
  /**
432
447
  * `prisma.enums`: Exposes CRUD operations for the **Enums** model.
433
448
  * Example usage:
@@ -899,6 +914,7 @@ export namespace Prisma {
899
914
  Message: 'Message',
900
915
  CannedResponse: 'CannedResponse',
901
916
  Ticket: 'Ticket',
917
+ TicketGroup: 'TicketGroup',
902
918
  Enums: 'Enums',
903
919
  EventTicket: 'EventTicket'
904
920
  };
@@ -916,7 +932,7 @@ export namespace Prisma {
916
932
 
917
933
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
918
934
  meta: {
919
- modelProps: "account" | "profile" | "otp" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "ticket" | "enums" | "eventTicket"
935
+ modelProps: "account" | "profile" | "otp" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "ticket" | "ticketGroup" | "enums" | "eventTicket"
920
936
  txIsolationLevel: Prisma.TransactionIsolationLevel
921
937
  }
922
938
  model: {
@@ -1808,6 +1824,80 @@ export namespace Prisma {
1808
1824
  }
1809
1825
  }
1810
1826
  }
1827
+ TicketGroup: {
1828
+ payload: Prisma.$TicketGroupPayload<ExtArgs>
1829
+ fields: Prisma.TicketGroupFieldRefs
1830
+ operations: {
1831
+ findUnique: {
1832
+ args: Prisma.TicketGroupFindUniqueArgs<ExtArgs>
1833
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload> | null
1834
+ }
1835
+ findUniqueOrThrow: {
1836
+ args: Prisma.TicketGroupFindUniqueOrThrowArgs<ExtArgs>
1837
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1838
+ }
1839
+ findFirst: {
1840
+ args: Prisma.TicketGroupFindFirstArgs<ExtArgs>
1841
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload> | null
1842
+ }
1843
+ findFirstOrThrow: {
1844
+ args: Prisma.TicketGroupFindFirstOrThrowArgs<ExtArgs>
1845
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1846
+ }
1847
+ findMany: {
1848
+ args: Prisma.TicketGroupFindManyArgs<ExtArgs>
1849
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>[]
1850
+ }
1851
+ create: {
1852
+ args: Prisma.TicketGroupCreateArgs<ExtArgs>
1853
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1854
+ }
1855
+ createMany: {
1856
+ args: Prisma.TicketGroupCreateManyArgs<ExtArgs>
1857
+ result: BatchPayload
1858
+ }
1859
+ createManyAndReturn: {
1860
+ args: Prisma.TicketGroupCreateManyAndReturnArgs<ExtArgs>
1861
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>[]
1862
+ }
1863
+ delete: {
1864
+ args: Prisma.TicketGroupDeleteArgs<ExtArgs>
1865
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1866
+ }
1867
+ update: {
1868
+ args: Prisma.TicketGroupUpdateArgs<ExtArgs>
1869
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1870
+ }
1871
+ deleteMany: {
1872
+ args: Prisma.TicketGroupDeleteManyArgs<ExtArgs>
1873
+ result: BatchPayload
1874
+ }
1875
+ updateMany: {
1876
+ args: Prisma.TicketGroupUpdateManyArgs<ExtArgs>
1877
+ result: BatchPayload
1878
+ }
1879
+ updateManyAndReturn: {
1880
+ args: Prisma.TicketGroupUpdateManyAndReturnArgs<ExtArgs>
1881
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>[]
1882
+ }
1883
+ upsert: {
1884
+ args: Prisma.TicketGroupUpsertArgs<ExtArgs>
1885
+ result: $Utils.PayloadToResult<Prisma.$TicketGroupPayload>
1886
+ }
1887
+ aggregate: {
1888
+ args: Prisma.TicketGroupAggregateArgs<ExtArgs>
1889
+ result: $Utils.Optional<AggregateTicketGroup>
1890
+ }
1891
+ groupBy: {
1892
+ args: Prisma.TicketGroupGroupByArgs<ExtArgs>
1893
+ result: $Utils.Optional<TicketGroupGroupByOutputType>[]
1894
+ }
1895
+ count: {
1896
+ args: Prisma.TicketGroupCountArgs<ExtArgs>
1897
+ result: $Utils.Optional<TicketGroupCountAggregateOutputType> | number
1898
+ }
1899
+ }
1900
+ }
1811
1901
  Enums: {
1812
1902
  payload: Prisma.$EnumsPayload<ExtArgs>
1813
1903
  fields: Prisma.EnumsFieldRefs
@@ -2052,6 +2142,7 @@ export namespace Prisma {
2052
2142
  message?: MessageOmit
2053
2143
  cannedResponse?: CannedResponseOmit
2054
2144
  ticket?: TicketOmit
2145
+ ticketGroup?: TicketGroupOmit
2055
2146
  enums?: EnumsOmit
2056
2147
  eventTicket?: EventTicketOmit
2057
2148
  }
@@ -2403,6 +2494,7 @@ export namespace Prisma {
2403
2494
 
2404
2495
  export type EventCountOutputType = {
2405
2496
  tickets: number
2497
+ ticketGroups: number
2406
2498
  subEvents: number
2407
2499
  tags: number
2408
2500
  eventTickets: number
@@ -2410,6 +2502,7 @@ export namespace Prisma {
2410
2502
 
2411
2503
  export type EventCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2412
2504
  tickets?: boolean | EventCountOutputTypeCountTicketsArgs
2505
+ ticketGroups?: boolean | EventCountOutputTypeCountTicketGroupsArgs
2413
2506
  subEvents?: boolean | EventCountOutputTypeCountSubEventsArgs
2414
2507
  tags?: boolean | EventCountOutputTypeCountTagsArgs
2415
2508
  eventTickets?: boolean | EventCountOutputTypeCountEventTicketsArgs
@@ -2433,6 +2526,13 @@ export namespace Prisma {
2433
2526
  where?: TicketWhereInput
2434
2527
  }
2435
2528
 
2529
+ /**
2530
+ * EventCountOutputType without action
2531
+ */
2532
+ export type EventCountOutputTypeCountTicketGroupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2533
+ where?: TicketGroupWhereInput
2534
+ }
2535
+
2436
2536
  /**
2437
2537
  * EventCountOutputType without action
2438
2538
  */
@@ -2486,6 +2586,37 @@ export namespace Prisma {
2486
2586
  }
2487
2587
 
2488
2588
 
2589
+ /**
2590
+ * Count Type TicketGroupCountOutputType
2591
+ */
2592
+
2593
+ export type TicketGroupCountOutputType = {
2594
+ tickets: number
2595
+ }
2596
+
2597
+ export type TicketGroupCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2598
+ tickets?: boolean | TicketGroupCountOutputTypeCountTicketsArgs
2599
+ }
2600
+
2601
+ // Custom InputTypes
2602
+ /**
2603
+ * TicketGroupCountOutputType without action
2604
+ */
2605
+ export type TicketGroupCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2606
+ /**
2607
+ * Select specific fields to fetch from the TicketGroupCountOutputType
2608
+ */
2609
+ select?: TicketGroupCountOutputTypeSelect<ExtArgs> | null
2610
+ }
2611
+
2612
+ /**
2613
+ * TicketGroupCountOutputType without action
2614
+ */
2615
+ export type TicketGroupCountOutputTypeCountTicketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2616
+ where?: TicketWhereInput
2617
+ }
2618
+
2619
+
2489
2620
  /**
2490
2621
  * Models
2491
2622
  */
@@ -11153,6 +11284,7 @@ export namespace Prisma {
11153
11284
  tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
11154
11285
  supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
11155
11286
  tickets?: boolean | Event$ticketsArgs<ExtArgs>
11287
+ ticketGroups?: boolean | Event$ticketGroupsArgs<ExtArgs>
11156
11288
  subEvents?: boolean | Event$subEventsArgs<ExtArgs>
11157
11289
  tags?: boolean | Event$tagsArgs<ExtArgs>
11158
11290
  eventTickets?: boolean | Event$eventTicketsArgs<ExtArgs>
@@ -11222,6 +11354,7 @@ export namespace Prisma {
11222
11354
  tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
11223
11355
  supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
11224
11356
  tickets?: boolean | Event$ticketsArgs<ExtArgs>
11357
+ ticketGroups?: boolean | Event$ticketGroupsArgs<ExtArgs>
11225
11358
  subEvents?: boolean | Event$subEventsArgs<ExtArgs>
11226
11359
  tags?: boolean | Event$tagsArgs<ExtArgs>
11227
11360
  eventTickets?: boolean | Event$eventTicketsArgs<ExtArgs>
@@ -11248,6 +11381,7 @@ export namespace Prisma {
11248
11381
  tagConfirmed: Prisma.$TagPayload<ExtArgs>
11249
11382
  supraEvent: Prisma.$EventPayload<ExtArgs> | null
11250
11383
  tickets: Prisma.$TicketPayload<ExtArgs>[]
11384
+ ticketGroups: Prisma.$TicketGroupPayload<ExtArgs>[]
11251
11385
  subEvents: Prisma.$EventPayload<ExtArgs>[]
11252
11386
  tags: Prisma.$TagPayload<ExtArgs>[]
11253
11387
  eventTickets: Prisma.$EventTicketPayload<ExtArgs>[]
@@ -11665,6 +11799,7 @@ export namespace Prisma {
11665
11799
  tagConfirmed<T extends TagDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TagDefaultArgs<ExtArgs>>): Prisma__TagClient<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
11666
11800
  supraEvent<T extends Event$supraEventArgs<ExtArgs> = {}>(args?: Subset<T, Event$supraEventArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
11667
11801
  tickets<T extends Event$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, Event$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
11802
+ ticketGroups<T extends Event$ticketGroupsArgs<ExtArgs> = {}>(args?: Subset<T, Event$ticketGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
11668
11803
  subEvents<T extends Event$subEventsArgs<ExtArgs> = {}>(args?: Subset<T, Event$subEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
11669
11804
  tags<T extends Event$tagsArgs<ExtArgs> = {}>(args?: Subset<T, Event$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
11670
11805
  eventTickets<T extends Event$eventTicketsArgs<ExtArgs> = {}>(args?: Subset<T, Event$eventTicketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventTicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
@@ -12167,6 +12302,30 @@ export namespace Prisma {
12167
12302
  distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
12168
12303
  }
12169
12304
 
12305
+ /**
12306
+ * Event.ticketGroups
12307
+ */
12308
+ export type Event$ticketGroupsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12309
+ /**
12310
+ * Select specific fields to fetch from the TicketGroup
12311
+ */
12312
+ select?: TicketGroupSelect<ExtArgs> | null
12313
+ /**
12314
+ * Omit specific fields from the TicketGroup
12315
+ */
12316
+ omit?: TicketGroupOmit<ExtArgs> | null
12317
+ /**
12318
+ * Choose, which related nodes to fetch as well
12319
+ */
12320
+ include?: TicketGroupInclude<ExtArgs> | null
12321
+ where?: TicketGroupWhereInput
12322
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
12323
+ cursor?: TicketGroupWhereUniqueInput
12324
+ take?: number
12325
+ skip?: number
12326
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
12327
+ }
12328
+
12170
12329
  /**
12171
12330
  * Event.subEvents
12172
12331
  */
@@ -15409,30 +15568,18 @@ export namespace Prisma {
15409
15568
 
15410
15569
  export type AggregateTicket = {
15411
15570
  _count: TicketCountAggregateOutputType | null
15412
- _avg: TicketAvgAggregateOutputType | null
15413
- _sum: TicketSumAggregateOutputType | null
15414
15571
  _min: TicketMinAggregateOutputType | null
15415
15572
  _max: TicketMaxAggregateOutputType | null
15416
15573
  }
15417
15574
 
15418
- export type TicketAvgAggregateOutputType = {
15419
- seat: number | null
15420
- }
15421
-
15422
- export type TicketSumAggregateOutputType = {
15423
- seat: number | null
15424
- }
15425
-
15426
15575
  export type TicketMinAggregateOutputType = {
15427
15576
  id: string | null
15428
15577
  eventId: string | null
15429
15578
  type: $Enums.TicketType | null
15430
- status: $Enums.TicketStatus | null
15431
15579
  fullName: string | null
15432
15580
  mail: string | null
15433
- dni: string | null
15434
- seat: number | null
15435
15581
  profileId: string | null
15582
+ ticketGroupId: string | null
15436
15583
  created_at: Date | null
15437
15584
  updated_at: Date | null
15438
15585
  }
@@ -15441,12 +15588,10 @@ export namespace Prisma {
15441
15588
  id: string | null
15442
15589
  eventId: string | null
15443
15590
  type: $Enums.TicketType | null
15444
- status: $Enums.TicketStatus | null
15445
15591
  fullName: string | null
15446
15592
  mail: string | null
15447
- dni: string | null
15448
- seat: number | null
15449
15593
  profileId: string | null
15594
+ ticketGroupId: string | null
15450
15595
  created_at: Date | null
15451
15596
  updated_at: Date | null
15452
15597
  }
@@ -15455,36 +15600,24 @@ export namespace Prisma {
15455
15600
  id: number
15456
15601
  eventId: number
15457
15602
  type: number
15458
- status: number
15459
15603
  fullName: number
15460
15604
  mail: number
15461
- dni: number
15462
- seat: number
15463
15605
  profileId: number
15606
+ ticketGroupId: number
15464
15607
  created_at: number
15465
15608
  updated_at: number
15466
15609
  _all: number
15467
15610
  }
15468
15611
 
15469
15612
 
15470
- export type TicketAvgAggregateInputType = {
15471
- seat?: true
15472
- }
15473
-
15474
- export type TicketSumAggregateInputType = {
15475
- seat?: true
15476
- }
15477
-
15478
15613
  export type TicketMinAggregateInputType = {
15479
15614
  id?: true
15480
15615
  eventId?: true
15481
15616
  type?: true
15482
- status?: true
15483
15617
  fullName?: true
15484
15618
  mail?: true
15485
- dni?: true
15486
- seat?: true
15487
15619
  profileId?: true
15620
+ ticketGroupId?: true
15488
15621
  created_at?: true
15489
15622
  updated_at?: true
15490
15623
  }
@@ -15493,12 +15626,10 @@ export namespace Prisma {
15493
15626
  id?: true
15494
15627
  eventId?: true
15495
15628
  type?: true
15496
- status?: true
15497
15629
  fullName?: true
15498
15630
  mail?: true
15499
- dni?: true
15500
- seat?: true
15501
15631
  profileId?: true
15632
+ ticketGroupId?: true
15502
15633
  created_at?: true
15503
15634
  updated_at?: true
15504
15635
  }
@@ -15507,12 +15638,10 @@ export namespace Prisma {
15507
15638
  id?: true
15508
15639
  eventId?: true
15509
15640
  type?: true
15510
- status?: true
15511
15641
  fullName?: true
15512
15642
  mail?: true
15513
- dni?: true
15514
- seat?: true
15515
15643
  profileId?: true
15644
+ ticketGroupId?: true
15516
15645
  created_at?: true
15517
15646
  updated_at?: true
15518
15647
  _all?: true
@@ -15553,18 +15682,6 @@ export namespace Prisma {
15553
15682
  * Count returned Tickets
15554
15683
  **/
15555
15684
  _count?: true | TicketCountAggregateInputType
15556
- /**
15557
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
15558
- *
15559
- * Select which fields to average
15560
- **/
15561
- _avg?: TicketAvgAggregateInputType
15562
- /**
15563
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
15564
- *
15565
- * Select which fields to sum
15566
- **/
15567
- _sum?: TicketSumAggregateInputType
15568
15685
  /**
15569
15686
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
15570
15687
  *
@@ -15598,8 +15715,6 @@ export namespace Prisma {
15598
15715
  take?: number
15599
15716
  skip?: number
15600
15717
  _count?: TicketCountAggregateInputType | true
15601
- _avg?: TicketAvgAggregateInputType
15602
- _sum?: TicketSumAggregateInputType
15603
15718
  _min?: TicketMinAggregateInputType
15604
15719
  _max?: TicketMaxAggregateInputType
15605
15720
  }
@@ -15608,17 +15723,13 @@ export namespace Prisma {
15608
15723
  id: string
15609
15724
  eventId: string
15610
15725
  type: $Enums.TicketType
15611
- status: $Enums.TicketStatus
15612
15726
  fullName: string
15613
15727
  mail: string
15614
- dni: string
15615
- seat: number | null
15616
15728
  profileId: string | null
15729
+ ticketGroupId: string | null
15617
15730
  created_at: Date
15618
15731
  updated_at: Date
15619
15732
  _count: TicketCountAggregateOutputType | null
15620
- _avg: TicketAvgAggregateOutputType | null
15621
- _sum: TicketSumAggregateOutputType | null
15622
15733
  _min: TicketMinAggregateOutputType | null
15623
15734
  _max: TicketMaxAggregateOutputType | null
15624
15735
  }
@@ -15641,76 +15752,74 @@ export namespace Prisma {
15641
15752
  id?: boolean
15642
15753
  eventId?: boolean
15643
15754
  type?: boolean
15644
- status?: boolean
15645
15755
  fullName?: boolean
15646
15756
  mail?: boolean
15647
- dni?: boolean
15648
- seat?: boolean
15649
15757
  profileId?: boolean
15758
+ ticketGroupId?: boolean
15650
15759
  created_at?: boolean
15651
15760
  updated_at?: boolean
15652
15761
  event?: boolean | EventDefaultArgs<ExtArgs>
15653
15762
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15763
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15654
15764
  }, ExtArgs["result"]["ticket"]>
15655
15765
 
15656
15766
  export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15657
15767
  id?: boolean
15658
15768
  eventId?: boolean
15659
15769
  type?: boolean
15660
- status?: boolean
15661
15770
  fullName?: boolean
15662
15771
  mail?: boolean
15663
- dni?: boolean
15664
- seat?: boolean
15665
15772
  profileId?: boolean
15773
+ ticketGroupId?: boolean
15666
15774
  created_at?: boolean
15667
15775
  updated_at?: boolean
15668
15776
  event?: boolean | EventDefaultArgs<ExtArgs>
15669
15777
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15778
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15670
15779
  }, ExtArgs["result"]["ticket"]>
15671
15780
 
15672
15781
  export type TicketSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15673
15782
  id?: boolean
15674
15783
  eventId?: boolean
15675
15784
  type?: boolean
15676
- status?: boolean
15677
15785
  fullName?: boolean
15678
15786
  mail?: boolean
15679
- dni?: boolean
15680
- seat?: boolean
15681
15787
  profileId?: boolean
15788
+ ticketGroupId?: boolean
15682
15789
  created_at?: boolean
15683
15790
  updated_at?: boolean
15684
15791
  event?: boolean | EventDefaultArgs<ExtArgs>
15685
15792
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15793
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15686
15794
  }, ExtArgs["result"]["ticket"]>
15687
15795
 
15688
15796
  export type TicketSelectScalar = {
15689
15797
  id?: boolean
15690
15798
  eventId?: boolean
15691
15799
  type?: boolean
15692
- status?: boolean
15693
15800
  fullName?: boolean
15694
15801
  mail?: boolean
15695
- dni?: boolean
15696
- seat?: boolean
15697
15802
  profileId?: boolean
15803
+ ticketGroupId?: boolean
15698
15804
  created_at?: boolean
15699
15805
  updated_at?: boolean
15700
15806
  }
15701
15807
 
15702
- export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "status" | "fullName" | "mail" | "dni" | "seat" | "profileId" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
15808
+ export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "fullName" | "mail" | "profileId" | "ticketGroupId" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
15703
15809
  export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15704
15810
  event?: boolean | EventDefaultArgs<ExtArgs>
15705
15811
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15812
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15706
15813
  }
15707
15814
  export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15708
15815
  event?: boolean | EventDefaultArgs<ExtArgs>
15709
15816
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15817
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15710
15818
  }
15711
15819
  export type TicketIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15712
15820
  event?: boolean | EventDefaultArgs<ExtArgs>
15713
15821
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15822
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15714
15823
  }
15715
15824
 
15716
15825
  export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -15718,17 +15827,16 @@ export namespace Prisma {
15718
15827
  objects: {
15719
15828
  event: Prisma.$EventPayload<ExtArgs>
15720
15829
  profile: Prisma.$ProfilePayload<ExtArgs> | null
15830
+ ticketGroup: Prisma.$TicketGroupPayload<ExtArgs> | null
15721
15831
  }
15722
15832
  scalars: $Extensions.GetPayloadResult<{
15723
15833
  id: string
15724
15834
  eventId: string
15725
15835
  type: $Enums.TicketType
15726
- status: $Enums.TicketStatus
15727
15836
  fullName: string
15728
15837
  mail: string
15729
- dni: string
15730
- seat: number | null
15731
15838
  profileId: string | null
15839
+ ticketGroupId: string | null
15732
15840
  created_at: Date
15733
15841
  updated_at: Date
15734
15842
  }, ExtArgs["result"]["ticket"]>
@@ -16127,6 +16235,7 @@ export namespace Prisma {
16127
16235
  readonly [Symbol.toStringTag]: "PrismaPromise"
16128
16236
  event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
16129
16237
  profile<T extends Ticket$profileArgs<ExtArgs> = {}>(args?: Subset<T, Ticket$profileArgs<ExtArgs>>): Prisma__ProfileClient<$Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
16238
+ ticketGroup<T extends Ticket$ticketGroupArgs<ExtArgs> = {}>(args?: Subset<T, Ticket$ticketGroupArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
16130
16239
  /**
16131
16240
  * Attaches callbacks for the resolution and/or rejection of the Promise.
16132
16241
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -16159,12 +16268,10 @@ export namespace Prisma {
16159
16268
  readonly id: FieldRef<"Ticket", 'String'>
16160
16269
  readonly eventId: FieldRef<"Ticket", 'String'>
16161
16270
  readonly type: FieldRef<"Ticket", 'TicketType'>
16162
- readonly status: FieldRef<"Ticket", 'TicketStatus'>
16163
16271
  readonly fullName: FieldRef<"Ticket", 'String'>
16164
16272
  readonly mail: FieldRef<"Ticket", 'String'>
16165
- readonly dni: FieldRef<"Ticket", 'String'>
16166
- readonly seat: FieldRef<"Ticket", 'Int'>
16167
16273
  readonly profileId: FieldRef<"Ticket", 'String'>
16274
+ readonly ticketGroupId: FieldRef<"Ticket", 'String'>
16168
16275
  readonly created_at: FieldRef<"Ticket", 'DateTime'>
16169
16276
  readonly updated_at: FieldRef<"Ticket", 'DateTime'>
16170
16277
  }
@@ -16581,6 +16688,25 @@ export namespace Prisma {
16581
16688
  where?: ProfileWhereInput
16582
16689
  }
16583
16690
 
16691
+ /**
16692
+ * Ticket.ticketGroup
16693
+ */
16694
+ export type Ticket$ticketGroupArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16695
+ /**
16696
+ * Select specific fields to fetch from the TicketGroup
16697
+ */
16698
+ select?: TicketGroupSelect<ExtArgs> | null
16699
+ /**
16700
+ * Omit specific fields from the TicketGroup
16701
+ */
16702
+ omit?: TicketGroupOmit<ExtArgs> | null
16703
+ /**
16704
+ * Choose, which related nodes to fetch as well
16705
+ */
16706
+ include?: TicketGroupInclude<ExtArgs> | null
16707
+ where?: TicketGroupWhereInput
16708
+ }
16709
+
16584
16710
  /**
16585
16711
  * Ticket without action
16586
16712
  */
@@ -16601,164 +16727,1299 @@ export namespace Prisma {
16601
16727
 
16602
16728
 
16603
16729
  /**
16604
- * Model Enums
16730
+ * Model TicketGroup
16605
16731
  */
16606
16732
 
16607
- export type AggregateEnums = {
16608
- _count: EnumsCountAggregateOutputType | null
16609
- _min: EnumsMinAggregateOutputType | null
16610
- _max: EnumsMaxAggregateOutputType | null
16733
+ export type AggregateTicketGroup = {
16734
+ _count: TicketGroupCountAggregateOutputType | null
16735
+ _avg: TicketGroupAvgAggregateOutputType | null
16736
+ _sum: TicketGroupSumAggregateOutputType | null
16737
+ _min: TicketGroupMinAggregateOutputType | null
16738
+ _max: TicketGroupMaxAggregateOutputType | null
16611
16739
  }
16612
16740
 
16613
- export type EnumsMinAggregateOutputType = {
16741
+ export type TicketGroupAvgAggregateOutputType = {
16742
+ amountTickets: number | null
16743
+ }
16744
+
16745
+ export type TicketGroupSumAggregateOutputType = {
16746
+ amountTickets: number | null
16747
+ }
16748
+
16749
+ export type TicketGroupMinAggregateOutputType = {
16614
16750
  id: string | null
16615
- templateStatus: $Enums.TemplateStatus | null
16616
- templateCategory: $Enums.TemplateCategory | null
16751
+ status: $Enums.TicketGroupStatus | null
16752
+ amountTickets: number | null
16753
+ eventId: string | null
16754
+ created_at: Date | null
16755
+ updated_at: Date | null
16617
16756
  }
16618
16757
 
16619
- export type EnumsMaxAggregateOutputType = {
16758
+ export type TicketGroupMaxAggregateOutputType = {
16620
16759
  id: string | null
16621
- templateStatus: $Enums.TemplateStatus | null
16622
- templateCategory: $Enums.TemplateCategory | null
16760
+ status: $Enums.TicketGroupStatus | null
16761
+ amountTickets: number | null
16762
+ eventId: string | null
16763
+ created_at: Date | null
16764
+ updated_at: Date | null
16623
16765
  }
16624
16766
 
16625
- export type EnumsCountAggregateOutputType = {
16767
+ export type TicketGroupCountAggregateOutputType = {
16626
16768
  id: number
16627
- templateStatus: number
16628
- templateCategory: number
16769
+ status: number
16770
+ amountTickets: number
16771
+ eventId: number
16772
+ created_at: number
16773
+ updated_at: number
16629
16774
  _all: number
16630
16775
  }
16631
16776
 
16632
16777
 
16633
- export type EnumsMinAggregateInputType = {
16778
+ export type TicketGroupAvgAggregateInputType = {
16779
+ amountTickets?: true
16780
+ }
16781
+
16782
+ export type TicketGroupSumAggregateInputType = {
16783
+ amountTickets?: true
16784
+ }
16785
+
16786
+ export type TicketGroupMinAggregateInputType = {
16634
16787
  id?: true
16635
- templateStatus?: true
16636
- templateCategory?: true
16788
+ status?: true
16789
+ amountTickets?: true
16790
+ eventId?: true
16791
+ created_at?: true
16792
+ updated_at?: true
16637
16793
  }
16638
16794
 
16639
- export type EnumsMaxAggregateInputType = {
16795
+ export type TicketGroupMaxAggregateInputType = {
16640
16796
  id?: true
16641
- templateStatus?: true
16642
- templateCategory?: true
16797
+ status?: true
16798
+ amountTickets?: true
16799
+ eventId?: true
16800
+ created_at?: true
16801
+ updated_at?: true
16643
16802
  }
16644
16803
 
16645
- export type EnumsCountAggregateInputType = {
16804
+ export type TicketGroupCountAggregateInputType = {
16646
16805
  id?: true
16647
- templateStatus?: true
16648
- templateCategory?: true
16806
+ status?: true
16807
+ amountTickets?: true
16808
+ eventId?: true
16809
+ created_at?: true
16810
+ updated_at?: true
16649
16811
  _all?: true
16650
16812
  }
16651
16813
 
16652
- export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16814
+ export type TicketGroupAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16653
16815
  /**
16654
- * Filter which Enums to aggregate.
16816
+ * Filter which TicketGroup to aggregate.
16655
16817
  */
16656
- where?: EnumsWhereInput
16818
+ where?: TicketGroupWhereInput
16657
16819
  /**
16658
16820
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
16659
16821
  *
16660
- * Determine the order of Enums to fetch.
16822
+ * Determine the order of TicketGroups to fetch.
16661
16823
  */
16662
- orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
16824
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
16663
16825
  /**
16664
16826
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
16665
16827
  *
16666
16828
  * Sets the start position
16667
16829
  */
16668
- cursor?: EnumsWhereUniqueInput
16830
+ cursor?: TicketGroupWhereUniqueInput
16669
16831
  /**
16670
16832
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16671
16833
  *
16672
- * Take `±n` Enums from the position of the cursor.
16834
+ * Take `±n` TicketGroups from the position of the cursor.
16673
16835
  */
16674
16836
  take?: number
16675
16837
  /**
16676
16838
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16677
16839
  *
16678
- * Skip the first `n` Enums.
16840
+ * Skip the first `n` TicketGroups.
16679
16841
  */
16680
16842
  skip?: number
16681
16843
  /**
16682
16844
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16683
16845
  *
16684
- * Count returned Enums
16846
+ * Count returned TicketGroups
16685
16847
  **/
16686
- _count?: true | EnumsCountAggregateInputType
16848
+ _count?: true | TicketGroupCountAggregateInputType
16849
+ /**
16850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16851
+ *
16852
+ * Select which fields to average
16853
+ **/
16854
+ _avg?: TicketGroupAvgAggregateInputType
16855
+ /**
16856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16857
+ *
16858
+ * Select which fields to sum
16859
+ **/
16860
+ _sum?: TicketGroupSumAggregateInputType
16687
16861
  /**
16688
16862
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16689
16863
  *
16690
16864
  * Select which fields to find the minimum value
16691
16865
  **/
16692
- _min?: EnumsMinAggregateInputType
16866
+ _min?: TicketGroupMinAggregateInputType
16693
16867
  /**
16694
16868
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16695
16869
  *
16696
16870
  * Select which fields to find the maximum value
16697
16871
  **/
16698
- _max?: EnumsMaxAggregateInputType
16872
+ _max?: TicketGroupMaxAggregateInputType
16699
16873
  }
16700
16874
 
16701
- export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
16702
- [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
16875
+ export type GetTicketGroupAggregateType<T extends TicketGroupAggregateArgs> = {
16876
+ [P in keyof T & keyof AggregateTicketGroup]: P extends '_count' | 'count'
16703
16877
  ? T[P] extends true
16704
16878
  ? number
16705
- : GetScalarType<T[P], AggregateEnums[P]>
16706
- : GetScalarType<T[P], AggregateEnums[P]>
16879
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16880
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16707
16881
  }
16708
16882
 
16709
16883
 
16710
16884
 
16711
16885
 
16712
- export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16713
- where?: EnumsWhereInput
16714
- orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
16715
- by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
16716
- having?: EnumsScalarWhereWithAggregatesInput
16886
+ export type TicketGroupGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16887
+ where?: TicketGroupWhereInput
16888
+ orderBy?: TicketGroupOrderByWithAggregationInput | TicketGroupOrderByWithAggregationInput[]
16889
+ by: TicketGroupScalarFieldEnum[] | TicketGroupScalarFieldEnum
16890
+ having?: TicketGroupScalarWhereWithAggregatesInput
16717
16891
  take?: number
16718
16892
  skip?: number
16719
- _count?: EnumsCountAggregateInputType | true
16720
- _min?: EnumsMinAggregateInputType
16721
- _max?: EnumsMaxAggregateInputType
16893
+ _count?: TicketGroupCountAggregateInputType | true
16894
+ _avg?: TicketGroupAvgAggregateInputType
16895
+ _sum?: TicketGroupSumAggregateInputType
16896
+ _min?: TicketGroupMinAggregateInputType
16897
+ _max?: TicketGroupMaxAggregateInputType
16722
16898
  }
16723
16899
 
16724
- export type EnumsGroupByOutputType = {
16900
+ export type TicketGroupGroupByOutputType = {
16725
16901
  id: string
16726
- templateStatus: $Enums.TemplateStatus
16727
- templateCategory: $Enums.TemplateCategory
16728
- _count: EnumsCountAggregateOutputType | null
16729
- _min: EnumsMinAggregateOutputType | null
16730
- _max: EnumsMaxAggregateOutputType | null
16902
+ status: $Enums.TicketGroupStatus
16903
+ amountTickets: number
16904
+ eventId: string
16905
+ created_at: Date
16906
+ updated_at: Date
16907
+ _count: TicketGroupCountAggregateOutputType | null
16908
+ _avg: TicketGroupAvgAggregateOutputType | null
16909
+ _sum: TicketGroupSumAggregateOutputType | null
16910
+ _min: TicketGroupMinAggregateOutputType | null
16911
+ _max: TicketGroupMaxAggregateOutputType | null
16731
16912
  }
16732
16913
 
16733
- type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
16914
+ type GetTicketGroupGroupByPayload<T extends TicketGroupGroupByArgs> = Prisma.PrismaPromise<
16734
16915
  Array<
16735
- PickEnumerable<EnumsGroupByOutputType, T['by']> &
16916
+ PickEnumerable<TicketGroupGroupByOutputType, T['by']> &
16736
16917
  {
16737
- [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
16918
+ [P in ((keyof T) & (keyof TicketGroupGroupByOutputType))]: P extends '_count'
16738
16919
  ? T[P] extends boolean
16739
16920
  ? number
16740
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16741
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16921
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16922
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16742
16923
  }
16743
16924
  >
16744
16925
  >
16745
16926
 
16746
16927
 
16747
- export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16928
+ export type TicketGroupSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16748
16929
  id?: boolean
16749
- templateStatus?: boolean
16750
- templateCategory?: boolean
16751
- }, ExtArgs["result"]["enums"]>
16930
+ status?: boolean
16931
+ amountTickets?: boolean
16932
+ eventId?: boolean
16933
+ created_at?: boolean
16934
+ updated_at?: boolean
16935
+ event?: boolean | EventDefaultArgs<ExtArgs>
16936
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
16937
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
16938
+ }, ExtArgs["result"]["ticketGroup"]>
16752
16939
 
16753
- export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16940
+ export type TicketGroupSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16754
16941
  id?: boolean
16755
- templateStatus?: boolean
16756
- templateCategory?: boolean
16757
- }, ExtArgs["result"]["enums"]>
16942
+ status?: boolean
16943
+ amountTickets?: boolean
16944
+ eventId?: boolean
16945
+ created_at?: boolean
16946
+ updated_at?: boolean
16947
+ event?: boolean | EventDefaultArgs<ExtArgs>
16948
+ }, ExtArgs["result"]["ticketGroup"]>
16758
16949
 
16759
- export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16950
+ export type TicketGroupSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16760
16951
  id?: boolean
16761
- templateStatus?: boolean
16952
+ status?: boolean
16953
+ amountTickets?: boolean
16954
+ eventId?: boolean
16955
+ created_at?: boolean
16956
+ updated_at?: boolean
16957
+ event?: boolean | EventDefaultArgs<ExtArgs>
16958
+ }, ExtArgs["result"]["ticketGroup"]>
16959
+
16960
+ export type TicketGroupSelectScalar = {
16961
+ id?: boolean
16962
+ status?: boolean
16963
+ amountTickets?: boolean
16964
+ eventId?: boolean
16965
+ created_at?: boolean
16966
+ updated_at?: boolean
16967
+ }
16968
+
16969
+ export type TicketGroupOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "status" | "amountTickets" | "eventId" | "created_at" | "updated_at", ExtArgs["result"]["ticketGroup"]>
16970
+ export type TicketGroupInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16971
+ event?: boolean | EventDefaultArgs<ExtArgs>
16972
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
16973
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
16974
+ }
16975
+ export type TicketGroupIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16976
+ event?: boolean | EventDefaultArgs<ExtArgs>
16977
+ }
16978
+ export type TicketGroupIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16979
+ event?: boolean | EventDefaultArgs<ExtArgs>
16980
+ }
16981
+
16982
+ export type $TicketGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16983
+ name: "TicketGroup"
16984
+ objects: {
16985
+ event: Prisma.$EventPayload<ExtArgs>
16986
+ tickets: Prisma.$TicketPayload<ExtArgs>[]
16987
+ }
16988
+ scalars: $Extensions.GetPayloadResult<{
16989
+ id: string
16990
+ status: $Enums.TicketGroupStatus
16991
+ amountTickets: number
16992
+ eventId: string
16993
+ created_at: Date
16994
+ updated_at: Date
16995
+ }, ExtArgs["result"]["ticketGroup"]>
16996
+ composites: {}
16997
+ }
16998
+
16999
+ type TicketGroupGetPayload<S extends boolean | null | undefined | TicketGroupDefaultArgs> = $Result.GetResult<Prisma.$TicketGroupPayload, S>
17000
+
17001
+ type TicketGroupCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
17002
+ Omit<TicketGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
17003
+ select?: TicketGroupCountAggregateInputType | true
17004
+ }
17005
+
17006
+ export interface TicketGroupDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
17007
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TicketGroup'], meta: { name: 'TicketGroup' } }
17008
+ /**
17009
+ * Find zero or one TicketGroup that matches the filter.
17010
+ * @param {TicketGroupFindUniqueArgs} args - Arguments to find a TicketGroup
17011
+ * @example
17012
+ * // Get one TicketGroup
17013
+ * const ticketGroup = await prisma.ticketGroup.findUnique({
17014
+ * where: {
17015
+ * // ... provide filter here
17016
+ * }
17017
+ * })
17018
+ */
17019
+ findUnique<T extends TicketGroupFindUniqueArgs>(args: SelectSubset<T, TicketGroupFindUniqueArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
17020
+
17021
+ /**
17022
+ * Find one TicketGroup that matches the filter or throw an error with `error.code='P2025'`
17023
+ * if no matches were found.
17024
+ * @param {TicketGroupFindUniqueOrThrowArgs} args - Arguments to find a TicketGroup
17025
+ * @example
17026
+ * // Get one TicketGroup
17027
+ * const ticketGroup = await prisma.ticketGroup.findUniqueOrThrow({
17028
+ * where: {
17029
+ * // ... provide filter here
17030
+ * }
17031
+ * })
17032
+ */
17033
+ findUniqueOrThrow<T extends TicketGroupFindUniqueOrThrowArgs>(args: SelectSubset<T, TicketGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17034
+
17035
+ /**
17036
+ * Find the first TicketGroup that matches the filter.
17037
+ * Note, that providing `undefined` is treated as the value not being there.
17038
+ * Read more here: https://pris.ly/d/null-undefined
17039
+ * @param {TicketGroupFindFirstArgs} args - Arguments to find a TicketGroup
17040
+ * @example
17041
+ * // Get one TicketGroup
17042
+ * const ticketGroup = await prisma.ticketGroup.findFirst({
17043
+ * where: {
17044
+ * // ... provide filter here
17045
+ * }
17046
+ * })
17047
+ */
17048
+ findFirst<T extends TicketGroupFindFirstArgs>(args?: SelectSubset<T, TicketGroupFindFirstArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
17049
+
17050
+ /**
17051
+ * Find the first TicketGroup that matches the filter or
17052
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
17053
+ * Note, that providing `undefined` is treated as the value not being there.
17054
+ * Read more here: https://pris.ly/d/null-undefined
17055
+ * @param {TicketGroupFindFirstOrThrowArgs} args - Arguments to find a TicketGroup
17056
+ * @example
17057
+ * // Get one TicketGroup
17058
+ * const ticketGroup = await prisma.ticketGroup.findFirstOrThrow({
17059
+ * where: {
17060
+ * // ... provide filter here
17061
+ * }
17062
+ * })
17063
+ */
17064
+ findFirstOrThrow<T extends TicketGroupFindFirstOrThrowArgs>(args?: SelectSubset<T, TicketGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17065
+
17066
+ /**
17067
+ * Find zero or more TicketGroups that matches the filter.
17068
+ * Note, that providing `undefined` is treated as the value not being there.
17069
+ * Read more here: https://pris.ly/d/null-undefined
17070
+ * @param {TicketGroupFindManyArgs} args - Arguments to filter and select certain fields only.
17071
+ * @example
17072
+ * // Get all TicketGroups
17073
+ * const ticketGroups = await prisma.ticketGroup.findMany()
17074
+ *
17075
+ * // Get first 10 TicketGroups
17076
+ * const ticketGroups = await prisma.ticketGroup.findMany({ take: 10 })
17077
+ *
17078
+ * // Only select the `id`
17079
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.findMany({ select: { id: true } })
17080
+ *
17081
+ */
17082
+ findMany<T extends TicketGroupFindManyArgs>(args?: SelectSubset<T, TicketGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findMany", ClientOptions>>
17083
+
17084
+ /**
17085
+ * Create a TicketGroup.
17086
+ * @param {TicketGroupCreateArgs} args - Arguments to create a TicketGroup.
17087
+ * @example
17088
+ * // Create one TicketGroup
17089
+ * const TicketGroup = await prisma.ticketGroup.create({
17090
+ * data: {
17091
+ * // ... data to create a TicketGroup
17092
+ * }
17093
+ * })
17094
+ *
17095
+ */
17096
+ create<T extends TicketGroupCreateArgs>(args: SelectSubset<T, TicketGroupCreateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
17097
+
17098
+ /**
17099
+ * Create many TicketGroups.
17100
+ * @param {TicketGroupCreateManyArgs} args - Arguments to create many TicketGroups.
17101
+ * @example
17102
+ * // Create many TicketGroups
17103
+ * const ticketGroup = await prisma.ticketGroup.createMany({
17104
+ * data: [
17105
+ * // ... provide data here
17106
+ * ]
17107
+ * })
17108
+ *
17109
+ */
17110
+ createMany<T extends TicketGroupCreateManyArgs>(args?: SelectSubset<T, TicketGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17111
+
17112
+ /**
17113
+ * Create many TicketGroups and returns the data saved in the database.
17114
+ * @param {TicketGroupCreateManyAndReturnArgs} args - Arguments to create many TicketGroups.
17115
+ * @example
17116
+ * // Create many TicketGroups
17117
+ * const ticketGroup = await prisma.ticketGroup.createManyAndReturn({
17118
+ * data: [
17119
+ * // ... provide data here
17120
+ * ]
17121
+ * })
17122
+ *
17123
+ * // Create many TicketGroups and only return the `id`
17124
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.createManyAndReturn({
17125
+ * select: { id: true },
17126
+ * data: [
17127
+ * // ... provide data here
17128
+ * ]
17129
+ * })
17130
+ * Note, that providing `undefined` is treated as the value not being there.
17131
+ * Read more here: https://pris.ly/d/null-undefined
17132
+ *
17133
+ */
17134
+ createManyAndReturn<T extends TicketGroupCreateManyAndReturnArgs>(args?: SelectSubset<T, TicketGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
17135
+
17136
+ /**
17137
+ * Delete a TicketGroup.
17138
+ * @param {TicketGroupDeleteArgs} args - Arguments to delete one TicketGroup.
17139
+ * @example
17140
+ * // Delete one TicketGroup
17141
+ * const TicketGroup = await prisma.ticketGroup.delete({
17142
+ * where: {
17143
+ * // ... filter to delete one TicketGroup
17144
+ * }
17145
+ * })
17146
+ *
17147
+ */
17148
+ delete<T extends TicketGroupDeleteArgs>(args: SelectSubset<T, TicketGroupDeleteArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
17149
+
17150
+ /**
17151
+ * Update one TicketGroup.
17152
+ * @param {TicketGroupUpdateArgs} args - Arguments to update one TicketGroup.
17153
+ * @example
17154
+ * // Update one TicketGroup
17155
+ * const ticketGroup = await prisma.ticketGroup.update({
17156
+ * where: {
17157
+ * // ... provide filter here
17158
+ * },
17159
+ * data: {
17160
+ * // ... provide data here
17161
+ * }
17162
+ * })
17163
+ *
17164
+ */
17165
+ update<T extends TicketGroupUpdateArgs>(args: SelectSubset<T, TicketGroupUpdateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
17166
+
17167
+ /**
17168
+ * Delete zero or more TicketGroups.
17169
+ * @param {TicketGroupDeleteManyArgs} args - Arguments to filter TicketGroups to delete.
17170
+ * @example
17171
+ * // Delete a few TicketGroups
17172
+ * const { count } = await prisma.ticketGroup.deleteMany({
17173
+ * where: {
17174
+ * // ... provide filter here
17175
+ * }
17176
+ * })
17177
+ *
17178
+ */
17179
+ deleteMany<T extends TicketGroupDeleteManyArgs>(args?: SelectSubset<T, TicketGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17180
+
17181
+ /**
17182
+ * Update zero or more TicketGroups.
17183
+ * Note, that providing `undefined` is treated as the value not being there.
17184
+ * Read more here: https://pris.ly/d/null-undefined
17185
+ * @param {TicketGroupUpdateManyArgs} args - Arguments to update one or more rows.
17186
+ * @example
17187
+ * // Update many TicketGroups
17188
+ * const ticketGroup = await prisma.ticketGroup.updateMany({
17189
+ * where: {
17190
+ * // ... provide filter here
17191
+ * },
17192
+ * data: {
17193
+ * // ... provide data here
17194
+ * }
17195
+ * })
17196
+ *
17197
+ */
17198
+ updateMany<T extends TicketGroupUpdateManyArgs>(args: SelectSubset<T, TicketGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17199
+
17200
+ /**
17201
+ * Update zero or more TicketGroups and returns the data updated in the database.
17202
+ * @param {TicketGroupUpdateManyAndReturnArgs} args - Arguments to update many TicketGroups.
17203
+ * @example
17204
+ * // Update many TicketGroups
17205
+ * const ticketGroup = await prisma.ticketGroup.updateManyAndReturn({
17206
+ * where: {
17207
+ * // ... provide filter here
17208
+ * },
17209
+ * data: [
17210
+ * // ... provide data here
17211
+ * ]
17212
+ * })
17213
+ *
17214
+ * // Update zero or more TicketGroups and only return the `id`
17215
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.updateManyAndReturn({
17216
+ * select: { id: true },
17217
+ * where: {
17218
+ * // ... provide filter here
17219
+ * },
17220
+ * data: [
17221
+ * // ... provide data here
17222
+ * ]
17223
+ * })
17224
+ * Note, that providing `undefined` is treated as the value not being there.
17225
+ * Read more here: https://pris.ly/d/null-undefined
17226
+ *
17227
+ */
17228
+ updateManyAndReturn<T extends TicketGroupUpdateManyAndReturnArgs>(args: SelectSubset<T, TicketGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
17229
+
17230
+ /**
17231
+ * Create or update one TicketGroup.
17232
+ * @param {TicketGroupUpsertArgs} args - Arguments to update or create a TicketGroup.
17233
+ * @example
17234
+ * // Update or create a TicketGroup
17235
+ * const ticketGroup = await prisma.ticketGroup.upsert({
17236
+ * create: {
17237
+ * // ... data to create a TicketGroup
17238
+ * },
17239
+ * update: {
17240
+ * // ... in case it already exists, update
17241
+ * },
17242
+ * where: {
17243
+ * // ... the filter for the TicketGroup we want to update
17244
+ * }
17245
+ * })
17246
+ */
17247
+ upsert<T extends TicketGroupUpsertArgs>(args: SelectSubset<T, TicketGroupUpsertArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
17248
+
17249
+
17250
+ /**
17251
+ * Count the number of TicketGroups.
17252
+ * Note, that providing `undefined` is treated as the value not being there.
17253
+ * Read more here: https://pris.ly/d/null-undefined
17254
+ * @param {TicketGroupCountArgs} args - Arguments to filter TicketGroups to count.
17255
+ * @example
17256
+ * // Count the number of TicketGroups
17257
+ * const count = await prisma.ticketGroup.count({
17258
+ * where: {
17259
+ * // ... the filter for the TicketGroups we want to count
17260
+ * }
17261
+ * })
17262
+ **/
17263
+ count<T extends TicketGroupCountArgs>(
17264
+ args?: Subset<T, TicketGroupCountArgs>,
17265
+ ): Prisma.PrismaPromise<
17266
+ T extends $Utils.Record<'select', any>
17267
+ ? T['select'] extends true
17268
+ ? number
17269
+ : GetScalarType<T['select'], TicketGroupCountAggregateOutputType>
17270
+ : number
17271
+ >
17272
+
17273
+ /**
17274
+ * Allows you to perform aggregations operations on a TicketGroup.
17275
+ * Note, that providing `undefined` is treated as the value not being there.
17276
+ * Read more here: https://pris.ly/d/null-undefined
17277
+ * @param {TicketGroupAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
17278
+ * @example
17279
+ * // Ordered by age ascending
17280
+ * // Where email contains prisma.io
17281
+ * // Limited to the 10 users
17282
+ * const aggregations = await prisma.user.aggregate({
17283
+ * _avg: {
17284
+ * age: true,
17285
+ * },
17286
+ * where: {
17287
+ * email: {
17288
+ * contains: "prisma.io",
17289
+ * },
17290
+ * },
17291
+ * orderBy: {
17292
+ * age: "asc",
17293
+ * },
17294
+ * take: 10,
17295
+ * })
17296
+ **/
17297
+ aggregate<T extends TicketGroupAggregateArgs>(args: Subset<T, TicketGroupAggregateArgs>): Prisma.PrismaPromise<GetTicketGroupAggregateType<T>>
17298
+
17299
+ /**
17300
+ * Group by TicketGroup.
17301
+ * Note, that providing `undefined` is treated as the value not being there.
17302
+ * Read more here: https://pris.ly/d/null-undefined
17303
+ * @param {TicketGroupGroupByArgs} args - Group by arguments.
17304
+ * @example
17305
+ * // Group by city, order by createdAt, get count
17306
+ * const result = await prisma.user.groupBy({
17307
+ * by: ['city', 'createdAt'],
17308
+ * orderBy: {
17309
+ * createdAt: true
17310
+ * },
17311
+ * _count: {
17312
+ * _all: true
17313
+ * },
17314
+ * })
17315
+ *
17316
+ **/
17317
+ groupBy<
17318
+ T extends TicketGroupGroupByArgs,
17319
+ HasSelectOrTake extends Or<
17320
+ Extends<'skip', Keys<T>>,
17321
+ Extends<'take', Keys<T>>
17322
+ >,
17323
+ OrderByArg extends True extends HasSelectOrTake
17324
+ ? { orderBy: TicketGroupGroupByArgs['orderBy'] }
17325
+ : { orderBy?: TicketGroupGroupByArgs['orderBy'] },
17326
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
17327
+ ByFields extends MaybeTupleToUnion<T['by']>,
17328
+ ByValid extends Has<ByFields, OrderFields>,
17329
+ HavingFields extends GetHavingFields<T['having']>,
17330
+ HavingValid extends Has<ByFields, HavingFields>,
17331
+ ByEmpty extends T['by'] extends never[] ? True : False,
17332
+ InputErrors extends ByEmpty extends True
17333
+ ? `Error: "by" must not be empty.`
17334
+ : HavingValid extends False
17335
+ ? {
17336
+ [P in HavingFields]: P extends ByFields
17337
+ ? never
17338
+ : P extends string
17339
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
17340
+ : [
17341
+ Error,
17342
+ 'Field ',
17343
+ P,
17344
+ ` in "having" needs to be provided in "by"`,
17345
+ ]
17346
+ }[HavingFields]
17347
+ : 'take' extends Keys<T>
17348
+ ? 'orderBy' extends Keys<T>
17349
+ ? ByValid extends True
17350
+ ? {}
17351
+ : {
17352
+ [P in OrderFields]: P extends ByFields
17353
+ ? never
17354
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17355
+ }[OrderFields]
17356
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
17357
+ : 'skip' extends Keys<T>
17358
+ ? 'orderBy' extends Keys<T>
17359
+ ? ByValid extends True
17360
+ ? {}
17361
+ : {
17362
+ [P in OrderFields]: P extends ByFields
17363
+ ? never
17364
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17365
+ }[OrderFields]
17366
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
17367
+ : ByValid extends True
17368
+ ? {}
17369
+ : {
17370
+ [P in OrderFields]: P extends ByFields
17371
+ ? never
17372
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17373
+ }[OrderFields]
17374
+ >(args: SubsetIntersection<T, TicketGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
17375
+ /**
17376
+ * Fields of the TicketGroup model
17377
+ */
17378
+ readonly fields: TicketGroupFieldRefs;
17379
+ }
17380
+
17381
+ /**
17382
+ * The delegate class that acts as a "Promise-like" for TicketGroup.
17383
+ * Why is this prefixed with `Prisma__`?
17384
+ * Because we want to prevent naming conflicts as mentioned in
17385
+ * https://github.com/prisma/prisma-client-js/issues/707
17386
+ */
17387
+ export interface Prisma__TicketGroupClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
17388
+ readonly [Symbol.toStringTag]: "PrismaPromise"
17389
+ event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
17390
+ tickets<T extends TicketGroup$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
17391
+ /**
17392
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
17393
+ * @param onfulfilled The callback to execute when the Promise is resolved.
17394
+ * @param onrejected The callback to execute when the Promise is rejected.
17395
+ * @returns A Promise for the completion of which ever callback is executed.
17396
+ */
17397
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
17398
+ /**
17399
+ * Attaches a callback for only the rejection of the Promise.
17400
+ * @param onrejected The callback to execute when the Promise is rejected.
17401
+ * @returns A Promise for the completion of the callback.
17402
+ */
17403
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
17404
+ /**
17405
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
17406
+ * resolved value cannot be modified from the callback.
17407
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
17408
+ * @returns A Promise for the completion of the callback.
17409
+ */
17410
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
17411
+ }
17412
+
17413
+
17414
+
17415
+
17416
+ /**
17417
+ * Fields of the TicketGroup model
17418
+ */
17419
+ interface TicketGroupFieldRefs {
17420
+ readonly id: FieldRef<"TicketGroup", 'String'>
17421
+ readonly status: FieldRef<"TicketGroup", 'TicketGroupStatus'>
17422
+ readonly amountTickets: FieldRef<"TicketGroup", 'Int'>
17423
+ readonly eventId: FieldRef<"TicketGroup", 'String'>
17424
+ readonly created_at: FieldRef<"TicketGroup", 'DateTime'>
17425
+ readonly updated_at: FieldRef<"TicketGroup", 'DateTime'>
17426
+ }
17427
+
17428
+
17429
+ // Custom InputTypes
17430
+ /**
17431
+ * TicketGroup findUnique
17432
+ */
17433
+ export type TicketGroupFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17434
+ /**
17435
+ * Select specific fields to fetch from the TicketGroup
17436
+ */
17437
+ select?: TicketGroupSelect<ExtArgs> | null
17438
+ /**
17439
+ * Omit specific fields from the TicketGroup
17440
+ */
17441
+ omit?: TicketGroupOmit<ExtArgs> | null
17442
+ /**
17443
+ * Choose, which related nodes to fetch as well
17444
+ */
17445
+ include?: TicketGroupInclude<ExtArgs> | null
17446
+ /**
17447
+ * Filter, which TicketGroup to fetch.
17448
+ */
17449
+ where: TicketGroupWhereUniqueInput
17450
+ }
17451
+
17452
+ /**
17453
+ * TicketGroup findUniqueOrThrow
17454
+ */
17455
+ export type TicketGroupFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17456
+ /**
17457
+ * Select specific fields to fetch from the TicketGroup
17458
+ */
17459
+ select?: TicketGroupSelect<ExtArgs> | null
17460
+ /**
17461
+ * Omit specific fields from the TicketGroup
17462
+ */
17463
+ omit?: TicketGroupOmit<ExtArgs> | null
17464
+ /**
17465
+ * Choose, which related nodes to fetch as well
17466
+ */
17467
+ include?: TicketGroupInclude<ExtArgs> | null
17468
+ /**
17469
+ * Filter, which TicketGroup to fetch.
17470
+ */
17471
+ where: TicketGroupWhereUniqueInput
17472
+ }
17473
+
17474
+ /**
17475
+ * TicketGroup findFirst
17476
+ */
17477
+ export type TicketGroupFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17478
+ /**
17479
+ * Select specific fields to fetch from the TicketGroup
17480
+ */
17481
+ select?: TicketGroupSelect<ExtArgs> | null
17482
+ /**
17483
+ * Omit specific fields from the TicketGroup
17484
+ */
17485
+ omit?: TicketGroupOmit<ExtArgs> | null
17486
+ /**
17487
+ * Choose, which related nodes to fetch as well
17488
+ */
17489
+ include?: TicketGroupInclude<ExtArgs> | null
17490
+ /**
17491
+ * Filter, which TicketGroup to fetch.
17492
+ */
17493
+ where?: TicketGroupWhereInput
17494
+ /**
17495
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17496
+ *
17497
+ * Determine the order of TicketGroups to fetch.
17498
+ */
17499
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17500
+ /**
17501
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17502
+ *
17503
+ * Sets the position for searching for TicketGroups.
17504
+ */
17505
+ cursor?: TicketGroupWhereUniqueInput
17506
+ /**
17507
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17508
+ *
17509
+ * Take `±n` TicketGroups from the position of the cursor.
17510
+ */
17511
+ take?: number
17512
+ /**
17513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17514
+ *
17515
+ * Skip the first `n` TicketGroups.
17516
+ */
17517
+ skip?: number
17518
+ /**
17519
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17520
+ *
17521
+ * Filter by unique combinations of TicketGroups.
17522
+ */
17523
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17524
+ }
17525
+
17526
+ /**
17527
+ * TicketGroup findFirstOrThrow
17528
+ */
17529
+ export type TicketGroupFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17530
+ /**
17531
+ * Select specific fields to fetch from the TicketGroup
17532
+ */
17533
+ select?: TicketGroupSelect<ExtArgs> | null
17534
+ /**
17535
+ * Omit specific fields from the TicketGroup
17536
+ */
17537
+ omit?: TicketGroupOmit<ExtArgs> | null
17538
+ /**
17539
+ * Choose, which related nodes to fetch as well
17540
+ */
17541
+ include?: TicketGroupInclude<ExtArgs> | null
17542
+ /**
17543
+ * Filter, which TicketGroup to fetch.
17544
+ */
17545
+ where?: TicketGroupWhereInput
17546
+ /**
17547
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17548
+ *
17549
+ * Determine the order of TicketGroups to fetch.
17550
+ */
17551
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17552
+ /**
17553
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17554
+ *
17555
+ * Sets the position for searching for TicketGroups.
17556
+ */
17557
+ cursor?: TicketGroupWhereUniqueInput
17558
+ /**
17559
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17560
+ *
17561
+ * Take `±n` TicketGroups from the position of the cursor.
17562
+ */
17563
+ take?: number
17564
+ /**
17565
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17566
+ *
17567
+ * Skip the first `n` TicketGroups.
17568
+ */
17569
+ skip?: number
17570
+ /**
17571
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17572
+ *
17573
+ * Filter by unique combinations of TicketGroups.
17574
+ */
17575
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17576
+ }
17577
+
17578
+ /**
17579
+ * TicketGroup findMany
17580
+ */
17581
+ export type TicketGroupFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17582
+ /**
17583
+ * Select specific fields to fetch from the TicketGroup
17584
+ */
17585
+ select?: TicketGroupSelect<ExtArgs> | null
17586
+ /**
17587
+ * Omit specific fields from the TicketGroup
17588
+ */
17589
+ omit?: TicketGroupOmit<ExtArgs> | null
17590
+ /**
17591
+ * Choose, which related nodes to fetch as well
17592
+ */
17593
+ include?: TicketGroupInclude<ExtArgs> | null
17594
+ /**
17595
+ * Filter, which TicketGroups to fetch.
17596
+ */
17597
+ where?: TicketGroupWhereInput
17598
+ /**
17599
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17600
+ *
17601
+ * Determine the order of TicketGroups to fetch.
17602
+ */
17603
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17604
+ /**
17605
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17606
+ *
17607
+ * Sets the position for listing TicketGroups.
17608
+ */
17609
+ cursor?: TicketGroupWhereUniqueInput
17610
+ /**
17611
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17612
+ *
17613
+ * Take `±n` TicketGroups from the position of the cursor.
17614
+ */
17615
+ take?: number
17616
+ /**
17617
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17618
+ *
17619
+ * Skip the first `n` TicketGroups.
17620
+ */
17621
+ skip?: number
17622
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17623
+ }
17624
+
17625
+ /**
17626
+ * TicketGroup create
17627
+ */
17628
+ export type TicketGroupCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17629
+ /**
17630
+ * Select specific fields to fetch from the TicketGroup
17631
+ */
17632
+ select?: TicketGroupSelect<ExtArgs> | null
17633
+ /**
17634
+ * Omit specific fields from the TicketGroup
17635
+ */
17636
+ omit?: TicketGroupOmit<ExtArgs> | null
17637
+ /**
17638
+ * Choose, which related nodes to fetch as well
17639
+ */
17640
+ include?: TicketGroupInclude<ExtArgs> | null
17641
+ /**
17642
+ * The data needed to create a TicketGroup.
17643
+ */
17644
+ data: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17645
+ }
17646
+
17647
+ /**
17648
+ * TicketGroup createMany
17649
+ */
17650
+ export type TicketGroupCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17651
+ /**
17652
+ * The data used to create many TicketGroups.
17653
+ */
17654
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17655
+ skipDuplicates?: boolean
17656
+ }
17657
+
17658
+ /**
17659
+ * TicketGroup createManyAndReturn
17660
+ */
17661
+ export type TicketGroupCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17662
+ /**
17663
+ * Select specific fields to fetch from the TicketGroup
17664
+ */
17665
+ select?: TicketGroupSelectCreateManyAndReturn<ExtArgs> | null
17666
+ /**
17667
+ * Omit specific fields from the TicketGroup
17668
+ */
17669
+ omit?: TicketGroupOmit<ExtArgs> | null
17670
+ /**
17671
+ * The data used to create many TicketGroups.
17672
+ */
17673
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17674
+ skipDuplicates?: boolean
17675
+ /**
17676
+ * Choose, which related nodes to fetch as well
17677
+ */
17678
+ include?: TicketGroupIncludeCreateManyAndReturn<ExtArgs> | null
17679
+ }
17680
+
17681
+ /**
17682
+ * TicketGroup update
17683
+ */
17684
+ export type TicketGroupUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17685
+ /**
17686
+ * Select specific fields to fetch from the TicketGroup
17687
+ */
17688
+ select?: TicketGroupSelect<ExtArgs> | null
17689
+ /**
17690
+ * Omit specific fields from the TicketGroup
17691
+ */
17692
+ omit?: TicketGroupOmit<ExtArgs> | null
17693
+ /**
17694
+ * Choose, which related nodes to fetch as well
17695
+ */
17696
+ include?: TicketGroupInclude<ExtArgs> | null
17697
+ /**
17698
+ * The data needed to update a TicketGroup.
17699
+ */
17700
+ data: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17701
+ /**
17702
+ * Choose, which TicketGroup to update.
17703
+ */
17704
+ where: TicketGroupWhereUniqueInput
17705
+ }
17706
+
17707
+ /**
17708
+ * TicketGroup updateMany
17709
+ */
17710
+ export type TicketGroupUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17711
+ /**
17712
+ * The data used to update TicketGroups.
17713
+ */
17714
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17715
+ /**
17716
+ * Filter which TicketGroups to update
17717
+ */
17718
+ where?: TicketGroupWhereInput
17719
+ /**
17720
+ * Limit how many TicketGroups to update.
17721
+ */
17722
+ limit?: number
17723
+ }
17724
+
17725
+ /**
17726
+ * TicketGroup updateManyAndReturn
17727
+ */
17728
+ export type TicketGroupUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17729
+ /**
17730
+ * Select specific fields to fetch from the TicketGroup
17731
+ */
17732
+ select?: TicketGroupSelectUpdateManyAndReturn<ExtArgs> | null
17733
+ /**
17734
+ * Omit specific fields from the TicketGroup
17735
+ */
17736
+ omit?: TicketGroupOmit<ExtArgs> | null
17737
+ /**
17738
+ * The data used to update TicketGroups.
17739
+ */
17740
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17741
+ /**
17742
+ * Filter which TicketGroups to update
17743
+ */
17744
+ where?: TicketGroupWhereInput
17745
+ /**
17746
+ * Limit how many TicketGroups to update.
17747
+ */
17748
+ limit?: number
17749
+ /**
17750
+ * Choose, which related nodes to fetch as well
17751
+ */
17752
+ include?: TicketGroupIncludeUpdateManyAndReturn<ExtArgs> | null
17753
+ }
17754
+
17755
+ /**
17756
+ * TicketGroup upsert
17757
+ */
17758
+ export type TicketGroupUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17759
+ /**
17760
+ * Select specific fields to fetch from the TicketGroup
17761
+ */
17762
+ select?: TicketGroupSelect<ExtArgs> | null
17763
+ /**
17764
+ * Omit specific fields from the TicketGroup
17765
+ */
17766
+ omit?: TicketGroupOmit<ExtArgs> | null
17767
+ /**
17768
+ * Choose, which related nodes to fetch as well
17769
+ */
17770
+ include?: TicketGroupInclude<ExtArgs> | null
17771
+ /**
17772
+ * The filter to search for the TicketGroup to update in case it exists.
17773
+ */
17774
+ where: TicketGroupWhereUniqueInput
17775
+ /**
17776
+ * In case the TicketGroup found by the `where` argument doesn't exist, create a new TicketGroup with this data.
17777
+ */
17778
+ create: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17779
+ /**
17780
+ * In case the TicketGroup was found with the provided `where` argument, update it with this data.
17781
+ */
17782
+ update: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17783
+ }
17784
+
17785
+ /**
17786
+ * TicketGroup delete
17787
+ */
17788
+ export type TicketGroupDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17789
+ /**
17790
+ * Select specific fields to fetch from the TicketGroup
17791
+ */
17792
+ select?: TicketGroupSelect<ExtArgs> | null
17793
+ /**
17794
+ * Omit specific fields from the TicketGroup
17795
+ */
17796
+ omit?: TicketGroupOmit<ExtArgs> | null
17797
+ /**
17798
+ * Choose, which related nodes to fetch as well
17799
+ */
17800
+ include?: TicketGroupInclude<ExtArgs> | null
17801
+ /**
17802
+ * Filter which TicketGroup to delete.
17803
+ */
17804
+ where: TicketGroupWhereUniqueInput
17805
+ }
17806
+
17807
+ /**
17808
+ * TicketGroup deleteMany
17809
+ */
17810
+ export type TicketGroupDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17811
+ /**
17812
+ * Filter which TicketGroups to delete
17813
+ */
17814
+ where?: TicketGroupWhereInput
17815
+ /**
17816
+ * Limit how many TicketGroups to delete.
17817
+ */
17818
+ limit?: number
17819
+ }
17820
+
17821
+ /**
17822
+ * TicketGroup.tickets
17823
+ */
17824
+ export type TicketGroup$ticketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17825
+ /**
17826
+ * Select specific fields to fetch from the Ticket
17827
+ */
17828
+ select?: TicketSelect<ExtArgs> | null
17829
+ /**
17830
+ * Omit specific fields from the Ticket
17831
+ */
17832
+ omit?: TicketOmit<ExtArgs> | null
17833
+ /**
17834
+ * Choose, which related nodes to fetch as well
17835
+ */
17836
+ include?: TicketInclude<ExtArgs> | null
17837
+ where?: TicketWhereInput
17838
+ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
17839
+ cursor?: TicketWhereUniqueInput
17840
+ take?: number
17841
+ skip?: number
17842
+ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
17843
+ }
17844
+
17845
+ /**
17846
+ * TicketGroup without action
17847
+ */
17848
+ export type TicketGroupDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17849
+ /**
17850
+ * Select specific fields to fetch from the TicketGroup
17851
+ */
17852
+ select?: TicketGroupSelect<ExtArgs> | null
17853
+ /**
17854
+ * Omit specific fields from the TicketGroup
17855
+ */
17856
+ omit?: TicketGroupOmit<ExtArgs> | null
17857
+ /**
17858
+ * Choose, which related nodes to fetch as well
17859
+ */
17860
+ include?: TicketGroupInclude<ExtArgs> | null
17861
+ }
17862
+
17863
+
17864
+ /**
17865
+ * Model Enums
17866
+ */
17867
+
17868
+ export type AggregateEnums = {
17869
+ _count: EnumsCountAggregateOutputType | null
17870
+ _min: EnumsMinAggregateOutputType | null
17871
+ _max: EnumsMaxAggregateOutputType | null
17872
+ }
17873
+
17874
+ export type EnumsMinAggregateOutputType = {
17875
+ id: string | null
17876
+ templateStatus: $Enums.TemplateStatus | null
17877
+ templateCategory: $Enums.TemplateCategory | null
17878
+ }
17879
+
17880
+ export type EnumsMaxAggregateOutputType = {
17881
+ id: string | null
17882
+ templateStatus: $Enums.TemplateStatus | null
17883
+ templateCategory: $Enums.TemplateCategory | null
17884
+ }
17885
+
17886
+ export type EnumsCountAggregateOutputType = {
17887
+ id: number
17888
+ templateStatus: number
17889
+ templateCategory: number
17890
+ _all: number
17891
+ }
17892
+
17893
+
17894
+ export type EnumsMinAggregateInputType = {
17895
+ id?: true
17896
+ templateStatus?: true
17897
+ templateCategory?: true
17898
+ }
17899
+
17900
+ export type EnumsMaxAggregateInputType = {
17901
+ id?: true
17902
+ templateStatus?: true
17903
+ templateCategory?: true
17904
+ }
17905
+
17906
+ export type EnumsCountAggregateInputType = {
17907
+ id?: true
17908
+ templateStatus?: true
17909
+ templateCategory?: true
17910
+ _all?: true
17911
+ }
17912
+
17913
+ export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17914
+ /**
17915
+ * Filter which Enums to aggregate.
17916
+ */
17917
+ where?: EnumsWhereInput
17918
+ /**
17919
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17920
+ *
17921
+ * Determine the order of Enums to fetch.
17922
+ */
17923
+ orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
17924
+ /**
17925
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17926
+ *
17927
+ * Sets the start position
17928
+ */
17929
+ cursor?: EnumsWhereUniqueInput
17930
+ /**
17931
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17932
+ *
17933
+ * Take `±n` Enums from the position of the cursor.
17934
+ */
17935
+ take?: number
17936
+ /**
17937
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17938
+ *
17939
+ * Skip the first `n` Enums.
17940
+ */
17941
+ skip?: number
17942
+ /**
17943
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17944
+ *
17945
+ * Count returned Enums
17946
+ **/
17947
+ _count?: true | EnumsCountAggregateInputType
17948
+ /**
17949
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17950
+ *
17951
+ * Select which fields to find the minimum value
17952
+ **/
17953
+ _min?: EnumsMinAggregateInputType
17954
+ /**
17955
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17956
+ *
17957
+ * Select which fields to find the maximum value
17958
+ **/
17959
+ _max?: EnumsMaxAggregateInputType
17960
+ }
17961
+
17962
+ export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
17963
+ [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
17964
+ ? T[P] extends true
17965
+ ? number
17966
+ : GetScalarType<T[P], AggregateEnums[P]>
17967
+ : GetScalarType<T[P], AggregateEnums[P]>
17968
+ }
17969
+
17970
+
17971
+
17972
+
17973
+ export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17974
+ where?: EnumsWhereInput
17975
+ orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
17976
+ by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
17977
+ having?: EnumsScalarWhereWithAggregatesInput
17978
+ take?: number
17979
+ skip?: number
17980
+ _count?: EnumsCountAggregateInputType | true
17981
+ _min?: EnumsMinAggregateInputType
17982
+ _max?: EnumsMaxAggregateInputType
17983
+ }
17984
+
17985
+ export type EnumsGroupByOutputType = {
17986
+ id: string
17987
+ templateStatus: $Enums.TemplateStatus
17988
+ templateCategory: $Enums.TemplateCategory
17989
+ _count: EnumsCountAggregateOutputType | null
17990
+ _min: EnumsMinAggregateOutputType | null
17991
+ _max: EnumsMaxAggregateOutputType | null
17992
+ }
17993
+
17994
+ type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
17995
+ Array<
17996
+ PickEnumerable<EnumsGroupByOutputType, T['by']> &
17997
+ {
17998
+ [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
17999
+ ? T[P] extends boolean
18000
+ ? number
18001
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
18002
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
18003
+ }
18004
+ >
18005
+ >
18006
+
18007
+
18008
+ export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18009
+ id?: boolean
18010
+ templateStatus?: boolean
18011
+ templateCategory?: boolean
18012
+ }, ExtArgs["result"]["enums"]>
18013
+
18014
+ export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18015
+ id?: boolean
18016
+ templateStatus?: boolean
18017
+ templateCategory?: boolean
18018
+ }, ExtArgs["result"]["enums"]>
18019
+
18020
+ export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18021
+ id?: boolean
18022
+ templateStatus?: boolean
16762
18023
  templateCategory?: boolean
16763
18024
  }, ExtArgs["result"]["enums"]>
16764
18025
 
@@ -18873,12 +20134,10 @@ export namespace Prisma {
18873
20134
  id: 'id',
18874
20135
  eventId: 'eventId',
18875
20136
  type: 'type',
18876
- status: 'status',
18877
20137
  fullName: 'fullName',
18878
20138
  mail: 'mail',
18879
- dni: 'dni',
18880
- seat: 'seat',
18881
20139
  profileId: 'profileId',
20140
+ ticketGroupId: 'ticketGroupId',
18882
20141
  created_at: 'created_at',
18883
20142
  updated_at: 'updated_at'
18884
20143
  };
@@ -18886,6 +20145,18 @@ export namespace Prisma {
18886
20145
  export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum]
18887
20146
 
18888
20147
 
20148
+ export const TicketGroupScalarFieldEnum: {
20149
+ id: 'id',
20150
+ status: 'status',
20151
+ amountTickets: 'amountTickets',
20152
+ eventId: 'eventId',
20153
+ created_at: 'created_at',
20154
+ updated_at: 'updated_at'
20155
+ };
20156
+
20157
+ export type TicketGroupScalarFieldEnum = (typeof TicketGroupScalarFieldEnum)[keyof typeof TicketGroupScalarFieldEnum]
20158
+
20159
+
18889
20160
  export const EnumsScalarFieldEnum: {
18890
20161
  id: 'id',
18891
20162
  templateStatus: 'templateStatus',
@@ -19087,16 +20358,16 @@ export namespace Prisma {
19087
20358
 
19088
20359
 
19089
20360
  /**
19090
- * Reference to a field of type 'TicketStatus'
20361
+ * Reference to a field of type 'TicketGroupStatus'
19091
20362
  */
19092
- export type EnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus'>
20363
+ export type EnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus'>
19093
20364
 
19094
20365
 
19095
20366
 
19096
20367
  /**
19097
- * Reference to a field of type 'TicketStatus[]'
20368
+ * Reference to a field of type 'TicketGroupStatus[]'
19098
20369
  */
19099
- export type ListEnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus[]'>
20370
+ export type ListEnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus[]'>
19100
20371
 
19101
20372
 
19102
20373
 
@@ -19762,6 +21033,7 @@ export namespace Prisma {
19762
21033
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19763
21034
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19764
21035
  tickets?: TicketListRelationFilter
21036
+ ticketGroups?: TicketGroupListRelationFilter
19765
21037
  subEvents?: EventListRelationFilter
19766
21038
  tags?: TagListRelationFilter
19767
21039
  eventTickets?: EventTicketListRelationFilter
@@ -19786,6 +21058,7 @@ export namespace Prisma {
19786
21058
  tagConfirmed?: TagOrderByWithRelationInput
19787
21059
  supraEvent?: EventOrderByWithRelationInput
19788
21060
  tickets?: TicketOrderByRelationAggregateInput
21061
+ ticketGroups?: TicketGroupOrderByRelationAggregateInput
19789
21062
  subEvents?: EventOrderByRelationAggregateInput
19790
21063
  tags?: TagOrderByRelationAggregateInput
19791
21064
  eventTickets?: EventTicketOrderByRelationAggregateInput
@@ -19813,6 +21086,7 @@ export namespace Prisma {
19813
21086
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19814
21087
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19815
21088
  tickets?: TicketListRelationFilter
21089
+ ticketGroups?: TicketGroupListRelationFilter
19816
21090
  subEvents?: EventListRelationFilter
19817
21091
  tags?: TagListRelationFilter
19818
21092
  eventTickets?: EventTicketListRelationFilter
@@ -20035,32 +21309,30 @@ export namespace Prisma {
20035
21309
  id?: StringFilter<"Ticket"> | string
20036
21310
  eventId?: StringFilter<"Ticket"> | string
20037
21311
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20038
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20039
21312
  fullName?: StringFilter<"Ticket"> | string
20040
21313
  mail?: StringFilter<"Ticket"> | string
20041
- dni?: StringFilter<"Ticket"> | string
20042
- seat?: IntNullableFilter<"Ticket"> | number | null
20043
21314
  profileId?: StringNullableFilter<"Ticket"> | string | null
21315
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
20044
21316
  created_at?: DateTimeFilter<"Ticket"> | Date | string
20045
21317
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
20046
21318
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20047
21319
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21320
+ ticketGroup?: XOR<TicketGroupNullableScalarRelationFilter, TicketGroupWhereInput> | null
20048
21321
  }
20049
21322
 
20050
21323
  export type TicketOrderByWithRelationInput = {
20051
21324
  id?: SortOrder
20052
21325
  eventId?: SortOrder
20053
21326
  type?: SortOrder
20054
- status?: SortOrder
20055
21327
  fullName?: SortOrder
20056
21328
  mail?: SortOrder
20057
- dni?: SortOrder
20058
- seat?: SortOrderInput | SortOrder
20059
21329
  profileId?: SortOrderInput | SortOrder
21330
+ ticketGroupId?: SortOrderInput | SortOrder
20060
21331
  created_at?: SortOrder
20061
21332
  updated_at?: SortOrder
20062
21333
  event?: EventOrderByWithRelationInput
20063
21334
  profile?: ProfileOrderByWithRelationInput
21335
+ ticketGroup?: TicketGroupOrderByWithRelationInput
20064
21336
  }
20065
21337
 
20066
21338
  export type TicketWhereUniqueInput = Prisma.AtLeast<{
@@ -20070,52 +21342,110 @@ export namespace Prisma {
20070
21342
  NOT?: TicketWhereInput | TicketWhereInput[]
20071
21343
  eventId?: StringFilter<"Ticket"> | string
20072
21344
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20073
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20074
21345
  fullName?: StringFilter<"Ticket"> | string
20075
21346
  mail?: StringFilter<"Ticket"> | string
20076
- dni?: StringFilter<"Ticket"> | string
20077
- seat?: IntNullableFilter<"Ticket"> | number | null
20078
21347
  profileId?: StringNullableFilter<"Ticket"> | string | null
21348
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
20079
21349
  created_at?: DateTimeFilter<"Ticket"> | Date | string
20080
21350
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
20081
21351
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20082
21352
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21353
+ ticketGroup?: XOR<TicketGroupNullableScalarRelationFilter, TicketGroupWhereInput> | null
20083
21354
  }, "id">
20084
21355
 
20085
21356
  export type TicketOrderByWithAggregationInput = {
20086
21357
  id?: SortOrder
20087
21358
  eventId?: SortOrder
20088
21359
  type?: SortOrder
20089
- status?: SortOrder
20090
21360
  fullName?: SortOrder
20091
21361
  mail?: SortOrder
20092
- dni?: SortOrder
20093
- seat?: SortOrderInput | SortOrder
20094
21362
  profileId?: SortOrderInput | SortOrder
21363
+ ticketGroupId?: SortOrderInput | SortOrder
20095
21364
  created_at?: SortOrder
20096
21365
  updated_at?: SortOrder
20097
21366
  _count?: TicketCountOrderByAggregateInput
20098
- _avg?: TicketAvgOrderByAggregateInput
20099
21367
  _max?: TicketMaxOrderByAggregateInput
20100
21368
  _min?: TicketMinOrderByAggregateInput
20101
- _sum?: TicketSumOrderByAggregateInput
20102
21369
  }
20103
21370
 
20104
- export type TicketScalarWhereWithAggregatesInput = {
20105
- AND?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
20106
- OR?: TicketScalarWhereWithAggregatesInput[]
20107
- NOT?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
20108
- id?: StringWithAggregatesFilter<"Ticket"> | string
20109
- eventId?: StringWithAggregatesFilter<"Ticket"> | string
20110
- type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
20111
- status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
20112
- fullName?: StringWithAggregatesFilter<"Ticket"> | string
20113
- mail?: StringWithAggregatesFilter<"Ticket"> | string
20114
- dni?: StringWithAggregatesFilter<"Ticket"> | string
20115
- seat?: IntNullableWithAggregatesFilter<"Ticket"> | number | null
20116
- profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
20117
- created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
20118
- updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
21371
+ export type TicketScalarWhereWithAggregatesInput = {
21372
+ AND?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
21373
+ OR?: TicketScalarWhereWithAggregatesInput[]
21374
+ NOT?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
21375
+ id?: StringWithAggregatesFilter<"Ticket"> | string
21376
+ eventId?: StringWithAggregatesFilter<"Ticket"> | string
21377
+ type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
21378
+ fullName?: StringWithAggregatesFilter<"Ticket"> | string
21379
+ mail?: StringWithAggregatesFilter<"Ticket"> | string
21380
+ profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
21381
+ ticketGroupId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
21382
+ created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
21383
+ updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
21384
+ }
21385
+
21386
+ export type TicketGroupWhereInput = {
21387
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21388
+ OR?: TicketGroupWhereInput[]
21389
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21390
+ id?: StringFilter<"TicketGroup"> | string
21391
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21392
+ amountTickets?: IntFilter<"TicketGroup"> | number
21393
+ eventId?: StringFilter<"TicketGroup"> | string
21394
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21395
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21396
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21397
+ tickets?: TicketListRelationFilter
21398
+ }
21399
+
21400
+ export type TicketGroupOrderByWithRelationInput = {
21401
+ id?: SortOrder
21402
+ status?: SortOrder
21403
+ amountTickets?: SortOrder
21404
+ eventId?: SortOrder
21405
+ created_at?: SortOrder
21406
+ updated_at?: SortOrder
21407
+ event?: EventOrderByWithRelationInput
21408
+ tickets?: TicketOrderByRelationAggregateInput
21409
+ }
21410
+
21411
+ export type TicketGroupWhereUniqueInput = Prisma.AtLeast<{
21412
+ id?: string
21413
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21414
+ OR?: TicketGroupWhereInput[]
21415
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21416
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21417
+ amountTickets?: IntFilter<"TicketGroup"> | number
21418
+ eventId?: StringFilter<"TicketGroup"> | string
21419
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21420
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21421
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21422
+ tickets?: TicketListRelationFilter
21423
+ }, "id">
21424
+
21425
+ export type TicketGroupOrderByWithAggregationInput = {
21426
+ id?: SortOrder
21427
+ status?: SortOrder
21428
+ amountTickets?: SortOrder
21429
+ eventId?: SortOrder
21430
+ created_at?: SortOrder
21431
+ updated_at?: SortOrder
21432
+ _count?: TicketGroupCountOrderByAggregateInput
21433
+ _avg?: TicketGroupAvgOrderByAggregateInput
21434
+ _max?: TicketGroupMaxOrderByAggregateInput
21435
+ _min?: TicketGroupMinOrderByAggregateInput
21436
+ _sum?: TicketGroupSumOrderByAggregateInput
21437
+ }
21438
+
21439
+ export type TicketGroupScalarWhereWithAggregatesInput = {
21440
+ AND?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21441
+ OR?: TicketGroupScalarWhereWithAggregatesInput[]
21442
+ NOT?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21443
+ id?: StringWithAggregatesFilter<"TicketGroup"> | string
21444
+ status?: EnumTicketGroupStatusWithAggregatesFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21445
+ amountTickets?: IntWithAggregatesFilter<"TicketGroup"> | number
21446
+ eventId?: StringWithAggregatesFilter<"TicketGroup"> | string
21447
+ created_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
21448
+ updated_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
20119
21449
  }
20120
21450
 
20121
21451
  export type EnumsWhereInput = {
@@ -20930,6 +22260,7 @@ export namespace Prisma {
20930
22260
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20931
22261
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20932
22262
  tickets?: TicketCreateNestedManyWithoutEventInput
22263
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
20933
22264
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
20934
22265
  tags?: TagCreateNestedManyWithoutEventInput
20935
22266
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -20950,6 +22281,7 @@ export namespace Prisma {
20950
22281
  created_at?: Date | string
20951
22282
  updated_at?: Date | string
20952
22283
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
22284
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
20953
22285
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20954
22286
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
20955
22287
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -20970,6 +22302,7 @@ export namespace Prisma {
20970
22302
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
20971
22303
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
20972
22304
  tickets?: TicketUpdateManyWithoutEventNestedInput
22305
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
20973
22306
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
20974
22307
  tags?: TagUpdateManyWithoutEventNestedInput
20975
22308
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -20990,6 +22323,7 @@ export namespace Prisma {
20990
22323
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20991
22324
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20992
22325
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
22326
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
20993
22327
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
20994
22328
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
20995
22329
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -21227,27 +22561,23 @@ export namespace Prisma {
21227
22561
  export type TicketCreateInput = {
21228
22562
  id?: string
21229
22563
  type: $Enums.TicketType
21230
- status: $Enums.TicketStatus
21231
22564
  fullName: string
21232
22565
  mail: string
21233
- dni: string
21234
- seat?: number | null
21235
22566
  created_at?: Date | string
21236
22567
  updated_at?: Date | string
21237
22568
  event: EventCreateNestedOneWithoutTicketsInput
21238
22569
  profile?: ProfileCreateNestedOneWithoutTicketInput
22570
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
21239
22571
  }
21240
22572
 
21241
22573
  export type TicketUncheckedCreateInput = {
21242
22574
  id?: string
21243
22575
  eventId: string
21244
22576
  type: $Enums.TicketType
21245
- status: $Enums.TicketStatus
21246
22577
  fullName: string
21247
22578
  mail: string
21248
- dni: string
21249
- seat?: number | null
21250
22579
  profileId?: string | null
22580
+ ticketGroupId?: string | null
21251
22581
  created_at?: Date | string
21252
22582
  updated_at?: Date | string
21253
22583
  }
@@ -21255,27 +22585,23 @@ export namespace Prisma {
21255
22585
  export type TicketUpdateInput = {
21256
22586
  id?: StringFieldUpdateOperationsInput | string
21257
22587
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21258
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21259
22588
  fullName?: StringFieldUpdateOperationsInput | string
21260
22589
  mail?: StringFieldUpdateOperationsInput | string
21261
- dni?: StringFieldUpdateOperationsInput | string
21262
- seat?: NullableIntFieldUpdateOperationsInput | number | null
21263
22590
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21264
22591
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21265
22592
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
21266
22593
  profile?: ProfileUpdateOneWithoutTicketNestedInput
22594
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
21267
22595
  }
21268
22596
 
21269
22597
  export type TicketUncheckedUpdateInput = {
21270
22598
  id?: StringFieldUpdateOperationsInput | string
21271
22599
  eventId?: StringFieldUpdateOperationsInput | string
21272
22600
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21273
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21274
22601
  fullName?: StringFieldUpdateOperationsInput | string
21275
22602
  mail?: StringFieldUpdateOperationsInput | string
21276
- dni?: StringFieldUpdateOperationsInput | string
21277
- seat?: NullableIntFieldUpdateOperationsInput | number | null
21278
22603
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22604
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
21279
22605
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21280
22606
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21281
22607
  }
@@ -21284,12 +22610,10 @@ export namespace Prisma {
21284
22610
  id?: string
21285
22611
  eventId: string
21286
22612
  type: $Enums.TicketType
21287
- status: $Enums.TicketStatus
21288
22613
  fullName: string
21289
22614
  mail: string
21290
- dni: string
21291
- seat?: number | null
21292
22615
  profileId?: string | null
22616
+ ticketGroupId?: string | null
21293
22617
  created_at?: Date | string
21294
22618
  updated_at?: Date | string
21295
22619
  }
@@ -21297,11 +22621,8 @@ export namespace Prisma {
21297
22621
  export type TicketUpdateManyMutationInput = {
21298
22622
  id?: StringFieldUpdateOperationsInput | string
21299
22623
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21300
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21301
22624
  fullName?: StringFieldUpdateOperationsInput | string
21302
22625
  mail?: StringFieldUpdateOperationsInput | string
21303
- dni?: StringFieldUpdateOperationsInput | string
21304
- seat?: NullableIntFieldUpdateOperationsInput | number | null
21305
22626
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21306
22627
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21307
22628
  }
@@ -21310,12 +22631,76 @@ export namespace Prisma {
21310
22631
  id?: StringFieldUpdateOperationsInput | string
21311
22632
  eventId?: StringFieldUpdateOperationsInput | string
21312
22633
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21313
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21314
22634
  fullName?: StringFieldUpdateOperationsInput | string
21315
22635
  mail?: StringFieldUpdateOperationsInput | string
21316
- dni?: StringFieldUpdateOperationsInput | string
21317
- seat?: NullableIntFieldUpdateOperationsInput | number | null
21318
22636
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22637
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
22638
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22639
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22640
+ }
22641
+
22642
+ export type TicketGroupCreateInput = {
22643
+ id?: string
22644
+ status: $Enums.TicketGroupStatus
22645
+ amountTickets?: number
22646
+ created_at?: Date | string
22647
+ updated_at?: Date | string
22648
+ event: EventCreateNestedOneWithoutTicketGroupsInput
22649
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
22650
+ }
22651
+
22652
+ export type TicketGroupUncheckedCreateInput = {
22653
+ id?: string
22654
+ status: $Enums.TicketGroupStatus
22655
+ amountTickets?: number
22656
+ eventId: string
22657
+ created_at?: Date | string
22658
+ updated_at?: Date | string
22659
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
22660
+ }
22661
+
22662
+ export type TicketGroupUpdateInput = {
22663
+ id?: StringFieldUpdateOperationsInput | string
22664
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22665
+ amountTickets?: IntFieldUpdateOperationsInput | number
22666
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22667
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22668
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
22669
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
22670
+ }
22671
+
22672
+ export type TicketGroupUncheckedUpdateInput = {
22673
+ id?: StringFieldUpdateOperationsInput | string
22674
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22675
+ amountTickets?: IntFieldUpdateOperationsInput | number
22676
+ eventId?: StringFieldUpdateOperationsInput | string
22677
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22678
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22679
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
22680
+ }
22681
+
22682
+ export type TicketGroupCreateManyInput = {
22683
+ id?: string
22684
+ status: $Enums.TicketGroupStatus
22685
+ amountTickets?: number
22686
+ eventId: string
22687
+ created_at?: Date | string
22688
+ updated_at?: Date | string
22689
+ }
22690
+
22691
+ export type TicketGroupUpdateManyMutationInput = {
22692
+ id?: StringFieldUpdateOperationsInput | string
22693
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22694
+ amountTickets?: IntFieldUpdateOperationsInput | number
22695
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22696
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22697
+ }
22698
+
22699
+ export type TicketGroupUncheckedUpdateManyInput = {
22700
+ id?: StringFieldUpdateOperationsInput | string
22701
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22702
+ amountTickets?: IntFieldUpdateOperationsInput | number
22703
+ eventId?: StringFieldUpdateOperationsInput | string
21319
22704
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21320
22705
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21321
22706
  }
@@ -22067,12 +23452,22 @@ export namespace Prisma {
22067
23452
  isNot?: TagWhereInput
22068
23453
  }
22069
23454
 
23455
+ export type TicketGroupListRelationFilter = {
23456
+ every?: TicketGroupWhereInput
23457
+ some?: TicketGroupWhereInput
23458
+ none?: TicketGroupWhereInput
23459
+ }
23460
+
22070
23461
  export type EventTicketListRelationFilter = {
22071
23462
  every?: EventTicketWhereInput
22072
23463
  some?: EventTicketWhereInput
22073
23464
  none?: EventTicketWhereInput
22074
23465
  }
22075
23466
 
23467
+ export type TicketGroupOrderByRelationAggregateInput = {
23468
+ _count?: SortOrder
23469
+ }
23470
+
22076
23471
  export type EventTicketOrderByRelationAggregateInput = {
22077
23472
  _count?: SortOrder
22078
23473
  }
@@ -22274,24 +23669,6 @@ export namespace Prisma {
22274
23669
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
22275
23670
  }
22276
23671
 
22277
- export type EnumTicketStatusFilter<$PrismaModel = never> = {
22278
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
22279
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22280
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22281
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
22282
- }
22283
-
22284
- export type IntNullableFilter<$PrismaModel = never> = {
22285
- equals?: number | IntFieldRefInput<$PrismaModel> | null
22286
- in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22287
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22288
- lt?: number | IntFieldRefInput<$PrismaModel>
22289
- lte?: number | IntFieldRefInput<$PrismaModel>
22290
- gt?: number | IntFieldRefInput<$PrismaModel>
22291
- gte?: number | IntFieldRefInput<$PrismaModel>
22292
- not?: NestedIntNullableFilter<$PrismaModel> | number | null
22293
- }
22294
-
22295
23672
  export type EventScalarRelationFilter = {
22296
23673
  is?: EventWhereInput
22297
23674
  isNot?: EventWhereInput
@@ -22302,34 +23679,31 @@ export namespace Prisma {
22302
23679
  isNot?: ProfileWhereInput | null
22303
23680
  }
22304
23681
 
23682
+ export type TicketGroupNullableScalarRelationFilter = {
23683
+ is?: TicketGroupWhereInput | null
23684
+ isNot?: TicketGroupWhereInput | null
23685
+ }
23686
+
22305
23687
  export type TicketCountOrderByAggregateInput = {
22306
23688
  id?: SortOrder
22307
23689
  eventId?: SortOrder
22308
23690
  type?: SortOrder
22309
- status?: SortOrder
22310
23691
  fullName?: SortOrder
22311
23692
  mail?: SortOrder
22312
- dni?: SortOrder
22313
- seat?: SortOrder
22314
23693
  profileId?: SortOrder
23694
+ ticketGroupId?: SortOrder
22315
23695
  created_at?: SortOrder
22316
23696
  updated_at?: SortOrder
22317
23697
  }
22318
23698
 
22319
- export type TicketAvgOrderByAggregateInput = {
22320
- seat?: SortOrder
22321
- }
22322
-
22323
23699
  export type TicketMaxOrderByAggregateInput = {
22324
23700
  id?: SortOrder
22325
23701
  eventId?: SortOrder
22326
23702
  type?: SortOrder
22327
- status?: SortOrder
22328
23703
  fullName?: SortOrder
22329
23704
  mail?: SortOrder
22330
- dni?: SortOrder
22331
- seat?: SortOrder
22332
23705
  profileId?: SortOrder
23706
+ ticketGroupId?: SortOrder
22333
23707
  created_at?: SortOrder
22334
23708
  updated_at?: SortOrder
22335
23709
  }
@@ -22338,20 +23712,14 @@ export namespace Prisma {
22338
23712
  id?: SortOrder
22339
23713
  eventId?: SortOrder
22340
23714
  type?: SortOrder
22341
- status?: SortOrder
22342
23715
  fullName?: SortOrder
22343
23716
  mail?: SortOrder
22344
- dni?: SortOrder
22345
- seat?: SortOrder
22346
23717
  profileId?: SortOrder
23718
+ ticketGroupId?: SortOrder
22347
23719
  created_at?: SortOrder
22348
23720
  updated_at?: SortOrder
22349
23721
  }
22350
23722
 
22351
- export type TicketSumOrderByAggregateInput = {
22352
- seat?: SortOrder
22353
- }
22354
-
22355
23723
  export type EnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
22356
23724
  equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
22357
23725
  in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
@@ -22362,30 +23730,56 @@ export namespace Prisma {
22362
23730
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
22363
23731
  }
22364
23732
 
22365
- export type EnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
22366
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
22367
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22368
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22369
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
22370
- _count?: NestedIntFilter<$PrismaModel>
22371
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
22372
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
23733
+ export type EnumTicketGroupStatusFilter<$PrismaModel = never> = {
23734
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23735
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23736
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23737
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
22373
23738
  }
22374
23739
 
22375
- export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
22376
- equals?: number | IntFieldRefInput<$PrismaModel> | null
22377
- in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22378
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
22379
- lt?: number | IntFieldRefInput<$PrismaModel>
22380
- lte?: number | IntFieldRefInput<$PrismaModel>
22381
- gt?: number | IntFieldRefInput<$PrismaModel>
22382
- gte?: number | IntFieldRefInput<$PrismaModel>
22383
- not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
22384
- _count?: NestedIntNullableFilter<$PrismaModel>
22385
- _avg?: NestedFloatNullableFilter<$PrismaModel>
22386
- _sum?: NestedIntNullableFilter<$PrismaModel>
22387
- _min?: NestedIntNullableFilter<$PrismaModel>
22388
- _max?: NestedIntNullableFilter<$PrismaModel>
23740
+ export type TicketGroupCountOrderByAggregateInput = {
23741
+ id?: SortOrder
23742
+ status?: SortOrder
23743
+ amountTickets?: SortOrder
23744
+ eventId?: SortOrder
23745
+ created_at?: SortOrder
23746
+ updated_at?: SortOrder
23747
+ }
23748
+
23749
+ export type TicketGroupAvgOrderByAggregateInput = {
23750
+ amountTickets?: SortOrder
23751
+ }
23752
+
23753
+ export type TicketGroupMaxOrderByAggregateInput = {
23754
+ id?: SortOrder
23755
+ status?: SortOrder
23756
+ amountTickets?: SortOrder
23757
+ eventId?: SortOrder
23758
+ created_at?: SortOrder
23759
+ updated_at?: SortOrder
23760
+ }
23761
+
23762
+ export type TicketGroupMinOrderByAggregateInput = {
23763
+ id?: SortOrder
23764
+ status?: SortOrder
23765
+ amountTickets?: SortOrder
23766
+ eventId?: SortOrder
23767
+ created_at?: SortOrder
23768
+ updated_at?: SortOrder
23769
+ }
23770
+
23771
+ export type TicketGroupSumOrderByAggregateInput = {
23772
+ amountTickets?: SortOrder
23773
+ }
23774
+
23775
+ export type EnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
23776
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23777
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23778
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23779
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
23780
+ _count?: NestedIntFilter<$PrismaModel>
23781
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
23782
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
22389
23783
  }
22390
23784
 
22391
23785
  export type EnumTemplateStatusFilter<$PrismaModel = never> = {
@@ -22440,6 +23834,17 @@ export namespace Prisma {
22440
23834
  _max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
22441
23835
  }
22442
23836
 
23837
+ export type IntNullableFilter<$PrismaModel = never> = {
23838
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
23839
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23840
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23841
+ lt?: number | IntFieldRefInput<$PrismaModel>
23842
+ lte?: number | IntFieldRefInput<$PrismaModel>
23843
+ gt?: number | IntFieldRefInput<$PrismaModel>
23844
+ gte?: number | IntFieldRefInput<$PrismaModel>
23845
+ not?: NestedIntNullableFilter<$PrismaModel> | number | null
23846
+ }
23847
+
22443
23848
  export type FloatNullableFilter<$PrismaModel = never> = {
22444
23849
  equals?: number | FloatFieldRefInput<$PrismaModel> | null
22445
23850
  in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
@@ -22491,6 +23896,22 @@ export namespace Prisma {
22491
23896
  price?: SortOrder
22492
23897
  }
22493
23898
 
23899
+ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
23900
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
23901
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23902
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
23903
+ lt?: number | IntFieldRefInput<$PrismaModel>
23904
+ lte?: number | IntFieldRefInput<$PrismaModel>
23905
+ gt?: number | IntFieldRefInput<$PrismaModel>
23906
+ gte?: number | IntFieldRefInput<$PrismaModel>
23907
+ not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
23908
+ _count?: NestedIntNullableFilter<$PrismaModel>
23909
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
23910
+ _sum?: NestedIntNullableFilter<$PrismaModel>
23911
+ _min?: NestedIntNullableFilter<$PrismaModel>
23912
+ _max?: NestedIntNullableFilter<$PrismaModel>
23913
+ }
23914
+
22494
23915
  export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
22495
23916
  equals?: number | FloatFieldRefInput<$PrismaModel> | null
22496
23917
  in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
@@ -23412,6 +24833,13 @@ export namespace Prisma {
23412
24833
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23413
24834
  }
23414
24835
 
24836
+ export type TicketGroupCreateNestedManyWithoutEventInput = {
24837
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24838
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24839
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24840
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24841
+ }
24842
+
23415
24843
  export type EventCreateNestedManyWithoutSupraEventInput = {
23416
24844
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23417
24845
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23439,6 +24867,13 @@ export namespace Prisma {
23439
24867
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23440
24868
  }
23441
24869
 
24870
+ export type TicketGroupUncheckedCreateNestedManyWithoutEventInput = {
24871
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24872
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24873
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24874
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24875
+ }
24876
+
23442
24877
  export type EventUncheckedCreateNestedManyWithoutSupraEventInput = {
23443
24878
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23444
24879
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23509,6 +24944,20 @@ export namespace Prisma {
23509
24944
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23510
24945
  }
23511
24946
 
24947
+ export type TicketGroupUpdateManyWithoutEventNestedInput = {
24948
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24949
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24950
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
24951
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24952
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24953
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24954
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24955
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24956
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
24957
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
24958
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
24959
+ }
24960
+
23512
24961
  export type EventUpdateManyWithoutSupraEventNestedInput = {
23513
24962
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23514
24963
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23564,6 +25013,20 @@ export namespace Prisma {
23564
25013
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23565
25014
  }
23566
25015
 
25016
+ export type TicketGroupUncheckedUpdateManyWithoutEventNestedInput = {
25017
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
25018
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
25019
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
25020
+ createMany?: TicketGroupCreateManyEventInputEnvelope
25021
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25022
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25023
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25024
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25025
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
25026
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
25027
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
25028
+ }
25029
+
23567
25030
  export type EventUncheckedUpdateManyWithoutSupraEventNestedInput = {
23568
25031
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23569
25032
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23677,20 +25140,14 @@ export namespace Prisma {
23677
25140
  connect?: ProfileWhereUniqueInput
23678
25141
  }
23679
25142
 
23680
- export type EnumTicketTypeFieldUpdateOperationsInput = {
23681
- set?: $Enums.TicketType
23682
- }
23683
-
23684
- export type EnumTicketStatusFieldUpdateOperationsInput = {
23685
- set?: $Enums.TicketStatus
25143
+ export type TicketGroupCreateNestedOneWithoutTicketsInput = {
25144
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25145
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25146
+ connect?: TicketGroupWhereUniqueInput
23686
25147
  }
23687
25148
 
23688
- export type NullableIntFieldUpdateOperationsInput = {
23689
- set?: number | null
23690
- increment?: number
23691
- decrement?: number
23692
- multiply?: number
23693
- divide?: number
25149
+ export type EnumTicketTypeFieldUpdateOperationsInput = {
25150
+ set?: $Enums.TicketType
23694
25151
  }
23695
25152
 
23696
25153
  export type EventUpdateOneRequiredWithoutTicketsNestedInput = {
@@ -23711,6 +25168,76 @@ export namespace Prisma {
23711
25168
  update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutTicketInput, ProfileUpdateWithoutTicketInput>, ProfileUncheckedUpdateWithoutTicketInput>
23712
25169
  }
23713
25170
 
25171
+ export type TicketGroupUpdateOneWithoutTicketsNestedInput = {
25172
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25173
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25174
+ upsert?: TicketGroupUpsertWithoutTicketsInput
25175
+ disconnect?: TicketGroupWhereInput | boolean
25176
+ delete?: TicketGroupWhereInput | boolean
25177
+ connect?: TicketGroupWhereUniqueInput
25178
+ update?: XOR<XOR<TicketGroupUpdateToOneWithWhereWithoutTicketsInput, TicketGroupUpdateWithoutTicketsInput>, TicketGroupUncheckedUpdateWithoutTicketsInput>
25179
+ }
25180
+
25181
+ export type EventCreateNestedOneWithoutTicketGroupsInput = {
25182
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25183
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25184
+ connect?: EventWhereUniqueInput
25185
+ }
25186
+
25187
+ export type TicketCreateNestedManyWithoutTicketGroupInput = {
25188
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25189
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25190
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25191
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25192
+ }
25193
+
25194
+ export type TicketUncheckedCreateNestedManyWithoutTicketGroupInput = {
25195
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25196
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25197
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25198
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25199
+ }
25200
+
25201
+ export type EnumTicketGroupStatusFieldUpdateOperationsInput = {
25202
+ set?: $Enums.TicketGroupStatus
25203
+ }
25204
+
25205
+ export type EventUpdateOneRequiredWithoutTicketGroupsNestedInput = {
25206
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25207
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25208
+ upsert?: EventUpsertWithoutTicketGroupsInput
25209
+ connect?: EventWhereUniqueInput
25210
+ update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketGroupsInput, EventUpdateWithoutTicketGroupsInput>, EventUncheckedUpdateWithoutTicketGroupsInput>
25211
+ }
25212
+
25213
+ export type TicketUpdateManyWithoutTicketGroupNestedInput = {
25214
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25215
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25216
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25217
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25218
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25219
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25220
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25221
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25222
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25223
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25224
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
25225
+ }
25226
+
25227
+ export type TicketUncheckedUpdateManyWithoutTicketGroupNestedInput = {
25228
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25229
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25230
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25231
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25232
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25233
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25234
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25235
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25236
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25237
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25238
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
25239
+ }
25240
+
23714
25241
  export type EnumTemplateStatusFieldUpdateOperationsInput = {
23715
25242
  set?: $Enums.TemplateStatus
23716
25243
  }
@@ -23725,6 +25252,14 @@ export namespace Prisma {
23725
25252
  connect?: EventWhereUniqueInput
23726
25253
  }
23727
25254
 
25255
+ export type NullableIntFieldUpdateOperationsInput = {
25256
+ set?: number | null
25257
+ increment?: number
25258
+ decrement?: number
25259
+ multiply?: number
25260
+ divide?: number
25261
+ }
25262
+
23728
25263
  export type NullableFloatFieldUpdateOperationsInput = {
23729
25264
  set?: number | null
23730
25265
  increment?: number
@@ -24012,13 +25547,6 @@ export namespace Prisma {
24012
25547
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
24013
25548
  }
24014
25549
 
24015
- export type NestedEnumTicketStatusFilter<$PrismaModel = never> = {
24016
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
24017
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
24018
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
24019
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
24020
- }
24021
-
24022
25550
  export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
24023
25551
  equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
24024
25552
  in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
@@ -24029,41 +25557,21 @@ export namespace Prisma {
24029
25557
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
24030
25558
  }
24031
25559
 
24032
- export type NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
24033
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
24034
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
24035
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
24036
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
24037
- _count?: NestedIntFilter<$PrismaModel>
24038
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
24039
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
24040
- }
24041
-
24042
- export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
24043
- equals?: number | IntFieldRefInput<$PrismaModel> | null
24044
- in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
24045
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
24046
- lt?: number | IntFieldRefInput<$PrismaModel>
24047
- lte?: number | IntFieldRefInput<$PrismaModel>
24048
- gt?: number | IntFieldRefInput<$PrismaModel>
24049
- gte?: number | IntFieldRefInput<$PrismaModel>
24050
- not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
24051
- _count?: NestedIntNullableFilter<$PrismaModel>
24052
- _avg?: NestedFloatNullableFilter<$PrismaModel>
24053
- _sum?: NestedIntNullableFilter<$PrismaModel>
24054
- _min?: NestedIntNullableFilter<$PrismaModel>
24055
- _max?: NestedIntNullableFilter<$PrismaModel>
25560
+ export type NestedEnumTicketGroupStatusFilter<$PrismaModel = never> = {
25561
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25562
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25563
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25564
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
24056
25565
  }
24057
25566
 
24058
- export type NestedFloatNullableFilter<$PrismaModel = never> = {
24059
- equals?: number | FloatFieldRefInput<$PrismaModel> | null
24060
- in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
24061
- notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
24062
- lt?: number | FloatFieldRefInput<$PrismaModel>
24063
- lte?: number | FloatFieldRefInput<$PrismaModel>
24064
- gt?: number | FloatFieldRefInput<$PrismaModel>
24065
- gte?: number | FloatFieldRefInput<$PrismaModel>
24066
- not?: NestedFloatNullableFilter<$PrismaModel> | number | null
25567
+ export type NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
25568
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25569
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25570
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25571
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
25572
+ _count?: NestedIntFilter<$PrismaModel>
25573
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
25574
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
24067
25575
  }
24068
25576
 
24069
25577
  export type NestedEnumTemplateStatusFilter<$PrismaModel = never> = {
@@ -24090,14 +25598,41 @@ export namespace Prisma {
24090
25598
  _max?: NestedEnumTemplateStatusFilter<$PrismaModel>
24091
25599
  }
24092
25600
 
24093
- export type NestedEnumTemplateCategoryWithAggregatesFilter<$PrismaModel = never> = {
24094
- equals?: $Enums.TemplateCategory | EnumTemplateCategoryFieldRefInput<$PrismaModel>
24095
- in?: $Enums.TemplateCategory[] | ListEnumTemplateCategoryFieldRefInput<$PrismaModel>
24096
- notIn?: $Enums.TemplateCategory[] | ListEnumTemplateCategoryFieldRefInput<$PrismaModel>
24097
- not?: NestedEnumTemplateCategoryWithAggregatesFilter<$PrismaModel> | $Enums.TemplateCategory
24098
- _count?: NestedIntFilter<$PrismaModel>
24099
- _min?: NestedEnumTemplateCategoryFilter<$PrismaModel>
24100
- _max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
25601
+ export type NestedEnumTemplateCategoryWithAggregatesFilter<$PrismaModel = never> = {
25602
+ equals?: $Enums.TemplateCategory | EnumTemplateCategoryFieldRefInput<$PrismaModel>
25603
+ in?: $Enums.TemplateCategory[] | ListEnumTemplateCategoryFieldRefInput<$PrismaModel>
25604
+ notIn?: $Enums.TemplateCategory[] | ListEnumTemplateCategoryFieldRefInput<$PrismaModel>
25605
+ not?: NestedEnumTemplateCategoryWithAggregatesFilter<$PrismaModel> | $Enums.TemplateCategory
25606
+ _count?: NestedIntFilter<$PrismaModel>
25607
+ _min?: NestedEnumTemplateCategoryFilter<$PrismaModel>
25608
+ _max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
25609
+ }
25610
+
25611
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
25612
+ equals?: number | FloatFieldRefInput<$PrismaModel> | null
25613
+ in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
25614
+ notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
25615
+ lt?: number | FloatFieldRefInput<$PrismaModel>
25616
+ lte?: number | FloatFieldRefInput<$PrismaModel>
25617
+ gt?: number | FloatFieldRefInput<$PrismaModel>
25618
+ gte?: number | FloatFieldRefInput<$PrismaModel>
25619
+ not?: NestedFloatNullableFilter<$PrismaModel> | number | null
25620
+ }
25621
+
25622
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
25623
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
25624
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
25625
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
25626
+ lt?: number | IntFieldRefInput<$PrismaModel>
25627
+ lte?: number | IntFieldRefInput<$PrismaModel>
25628
+ gt?: number | IntFieldRefInput<$PrismaModel>
25629
+ gte?: number | IntFieldRefInput<$PrismaModel>
25630
+ not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
25631
+ _count?: NestedIntNullableFilter<$PrismaModel>
25632
+ _avg?: NestedFloatNullableFilter<$PrismaModel>
25633
+ _sum?: NestedIntNullableFilter<$PrismaModel>
25634
+ _min?: NestedIntNullableFilter<$PrismaModel>
25635
+ _max?: NestedIntNullableFilter<$PrismaModel>
24101
25636
  }
24102
25637
 
24103
25638
  export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
@@ -24524,25 +26059,21 @@ export namespace Prisma {
24524
26059
  export type TicketCreateWithoutProfileInput = {
24525
26060
  id?: string
24526
26061
  type: $Enums.TicketType
24527
- status: $Enums.TicketStatus
24528
26062
  fullName: string
24529
26063
  mail: string
24530
- dni: string
24531
- seat?: number | null
24532
26064
  created_at?: Date | string
24533
26065
  updated_at?: Date | string
24534
26066
  event: EventCreateNestedOneWithoutTicketsInput
26067
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
24535
26068
  }
24536
26069
 
24537
26070
  export type TicketUncheckedCreateWithoutProfileInput = {
24538
26071
  id?: string
24539
26072
  eventId: string
24540
26073
  type: $Enums.TicketType
24541
- status: $Enums.TicketStatus
24542
26074
  fullName: string
24543
26075
  mail: string
24544
- dni: string
24545
- seat?: number | null
26076
+ ticketGroupId?: string | null
24546
26077
  created_at?: Date | string
24547
26078
  updated_at?: Date | string
24548
26079
  }
@@ -24739,12 +26270,10 @@ export namespace Prisma {
24739
26270
  id?: StringFilter<"Ticket"> | string
24740
26271
  eventId?: StringFilter<"Ticket"> | string
24741
26272
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
24742
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
24743
26273
  fullName?: StringFilter<"Ticket"> | string
24744
26274
  mail?: StringFilter<"Ticket"> | string
24745
- dni?: StringFilter<"Ticket"> | string
24746
- seat?: IntNullableFilter<"Ticket"> | number | null
24747
26275
  profileId?: StringNullableFilter<"Ticket"> | string | null
26276
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
24748
26277
  created_at?: DateTimeFilter<"Ticket"> | Date | string
24749
26278
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
24750
26279
  }
@@ -25416,6 +26945,7 @@ export namespace Prisma {
25416
26945
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25417
26946
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25418
26947
  tickets?: TicketCreateNestedManyWithoutEventInput
26948
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25419
26949
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25420
26950
  tags?: TagCreateNestedManyWithoutEventInput
25421
26951
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25435,6 +26965,7 @@ export namespace Prisma {
25435
26965
  created_at?: Date | string
25436
26966
  updated_at?: Date | string
25437
26967
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
26968
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25438
26969
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25439
26970
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25440
26971
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25459,6 +26990,7 @@ export namespace Prisma {
25459
26990
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
25460
26991
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25461
26992
  tickets?: TicketCreateNestedManyWithoutEventInput
26993
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25462
26994
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25463
26995
  tags?: TagCreateNestedManyWithoutEventInput
25464
26996
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25478,6 +27010,7 @@ export namespace Prisma {
25478
27010
  created_at?: Date | string
25479
27011
  updated_at?: Date | string
25480
27012
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27013
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25481
27014
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25482
27015
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25483
27016
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25636,6 +27169,7 @@ export namespace Prisma {
25636
27169
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25637
27170
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25638
27171
  tickets?: TicketCreateNestedManyWithoutEventInput
27172
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25639
27173
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25640
27174
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
25641
27175
  }
@@ -25655,6 +27189,7 @@ export namespace Prisma {
25655
27189
  created_at?: Date | string
25656
27190
  updated_at?: Date | string
25657
27191
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27192
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25658
27193
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25659
27194
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
25660
27195
  }
@@ -25718,6 +27253,7 @@ export namespace Prisma {
25718
27253
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
25719
27254
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25720
27255
  tickets?: TicketUpdateManyWithoutEventNestedInput
27256
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25721
27257
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25722
27258
  tags?: TagUpdateManyWithoutEventNestedInput
25723
27259
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25737,6 +27273,7 @@ export namespace Prisma {
25737
27273
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25738
27274
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25739
27275
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27276
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25740
27277
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25741
27278
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25742
27279
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -25767,6 +27304,7 @@ export namespace Prisma {
25767
27304
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
25768
27305
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25769
27306
  tickets?: TicketUpdateManyWithoutEventNestedInput
27307
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25770
27308
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25771
27309
  tags?: TagUpdateManyWithoutEventNestedInput
25772
27310
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25786,6 +27324,7 @@ export namespace Prisma {
25786
27324
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25787
27325
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25788
27326
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27327
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25789
27328
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25790
27329
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25791
27330
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -26044,6 +27583,7 @@ export namespace Prisma {
26044
27583
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26045
27584
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26046
27585
  tickets?: TicketCreateNestedManyWithoutEventInput
27586
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26047
27587
  tags?: TagCreateNestedManyWithoutEventInput
26048
27588
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
26049
27589
  }
@@ -26063,6 +27603,7 @@ export namespace Prisma {
26063
27603
  created_at?: Date | string
26064
27604
  updated_at?: Date | string
26065
27605
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27606
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26066
27607
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26067
27608
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
26068
27609
  }
@@ -26075,25 +27616,21 @@ export namespace Prisma {
26075
27616
  export type TicketCreateWithoutEventInput = {
26076
27617
  id?: string
26077
27618
  type: $Enums.TicketType
26078
- status: $Enums.TicketStatus
26079
27619
  fullName: string
26080
27620
  mail: string
26081
- dni: string
26082
- seat?: number | null
26083
27621
  created_at?: Date | string
26084
27622
  updated_at?: Date | string
26085
27623
  profile?: ProfileCreateNestedOneWithoutTicketInput
27624
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
26086
27625
  }
26087
27626
 
26088
27627
  export type TicketUncheckedCreateWithoutEventInput = {
26089
27628
  id?: string
26090
27629
  type: $Enums.TicketType
26091
- status: $Enums.TicketStatus
26092
27630
  fullName: string
26093
27631
  mail: string
26094
- dni: string
26095
- seat?: number | null
26096
27632
  profileId?: string | null
27633
+ ticketGroupId?: string | null
26097
27634
  created_at?: Date | string
26098
27635
  updated_at?: Date | string
26099
27636
  }
@@ -26108,6 +27645,34 @@ export namespace Prisma {
26108
27645
  skipDuplicates?: boolean
26109
27646
  }
26110
27647
 
27648
+ export type TicketGroupCreateWithoutEventInput = {
27649
+ id?: string
27650
+ status: $Enums.TicketGroupStatus
27651
+ amountTickets?: number
27652
+ created_at?: Date | string
27653
+ updated_at?: Date | string
27654
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
27655
+ }
27656
+
27657
+ export type TicketGroupUncheckedCreateWithoutEventInput = {
27658
+ id?: string
27659
+ status: $Enums.TicketGroupStatus
27660
+ amountTickets?: number
27661
+ created_at?: Date | string
27662
+ updated_at?: Date | string
27663
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
27664
+ }
27665
+
27666
+ export type TicketGroupCreateOrConnectWithoutEventInput = {
27667
+ where: TicketGroupWhereUniqueInput
27668
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
27669
+ }
27670
+
27671
+ export type TicketGroupCreateManyEventInputEnvelope = {
27672
+ data: TicketGroupCreateManyEventInput | TicketGroupCreateManyEventInput[]
27673
+ skipDuplicates?: boolean
27674
+ }
27675
+
26111
27676
  export type EventCreateWithoutSupraEventInput = {
26112
27677
  id?: string
26113
27678
  name: string
@@ -26122,6 +27687,7 @@ export namespace Prisma {
26122
27687
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26123
27688
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26124
27689
  tickets?: TicketCreateNestedManyWithoutEventInput
27690
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26125
27691
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26126
27692
  tags?: TagCreateNestedManyWithoutEventInput
26127
27693
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26141,6 +27707,7 @@ export namespace Prisma {
26141
27707
  created_at?: Date | string
26142
27708
  updated_at?: Date | string
26143
27709
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27710
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26144
27711
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26145
27712
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26146
27713
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26348,6 +27915,7 @@ export namespace Prisma {
26348
27915
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26349
27916
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26350
27917
  tickets?: TicketUpdateManyWithoutEventNestedInput
27918
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26351
27919
  tags?: TagUpdateManyWithoutEventNestedInput
26352
27920
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
26353
27921
  }
@@ -26367,6 +27935,7 @@ export namespace Prisma {
26367
27935
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26368
27936
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26369
27937
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27938
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26370
27939
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26371
27940
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
26372
27941
  }
@@ -26387,6 +27956,34 @@ export namespace Prisma {
26387
27956
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
26388
27957
  }
26389
27958
 
27959
+ export type TicketGroupUpsertWithWhereUniqueWithoutEventInput = {
27960
+ where: TicketGroupWhereUniqueInput
27961
+ update: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
27962
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
27963
+ }
27964
+
27965
+ export type TicketGroupUpdateWithWhereUniqueWithoutEventInput = {
27966
+ where: TicketGroupWhereUniqueInput
27967
+ data: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
27968
+ }
27969
+
27970
+ export type TicketGroupUpdateManyWithWhereWithoutEventInput = {
27971
+ where: TicketGroupScalarWhereInput
27972
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutEventInput>
27973
+ }
27974
+
27975
+ export type TicketGroupScalarWhereInput = {
27976
+ AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27977
+ OR?: TicketGroupScalarWhereInput[]
27978
+ NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27979
+ id?: StringFilter<"TicketGroup"> | string
27980
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
27981
+ amountTickets?: IntFilter<"TicketGroup"> | number
27982
+ eventId?: StringFilter<"TicketGroup"> | string
27983
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
27984
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
27985
+ }
27986
+
26390
27987
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
26391
27988
  where: EventWhereUniqueInput
26392
27989
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -26462,6 +28059,7 @@ export namespace Prisma {
26462
28059
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26463
28060
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26464
28061
  tickets?: TicketCreateNestedManyWithoutEventInput
28062
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26465
28063
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26466
28064
  tags?: TagCreateNestedManyWithoutEventInput
26467
28065
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26481,6 +28079,7 @@ export namespace Prisma {
26481
28079
  created_at?: Date | string
26482
28080
  updated_at?: Date | string
26483
28081
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28082
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26484
28083
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26485
28084
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26486
28085
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26666,6 +28265,7 @@ export namespace Prisma {
26666
28265
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26667
28266
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26668
28267
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28268
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26669
28269
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26670
28270
  tags?: TagCreateNestedManyWithoutEventInput
26671
28271
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26685,6 +28285,7 @@ export namespace Prisma {
26685
28285
  active?: boolean
26686
28286
  created_at?: Date | string
26687
28287
  updated_at?: Date | string
28288
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26688
28289
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26689
28290
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26690
28291
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26762,6 +28363,29 @@ export namespace Prisma {
26762
28363
  create: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
26763
28364
  }
26764
28365
 
28366
+ export type TicketGroupCreateWithoutTicketsInput = {
28367
+ id?: string
28368
+ status: $Enums.TicketGroupStatus
28369
+ amountTickets?: number
28370
+ created_at?: Date | string
28371
+ updated_at?: Date | string
28372
+ event: EventCreateNestedOneWithoutTicketGroupsInput
28373
+ }
28374
+
28375
+ export type TicketGroupUncheckedCreateWithoutTicketsInput = {
28376
+ id?: string
28377
+ status: $Enums.TicketGroupStatus
28378
+ amountTickets?: number
28379
+ eventId: string
28380
+ created_at?: Date | string
28381
+ updated_at?: Date | string
28382
+ }
28383
+
28384
+ export type TicketGroupCreateOrConnectWithoutTicketsInput = {
28385
+ where: TicketGroupWhereUniqueInput
28386
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28387
+ }
28388
+
26765
28389
  export type EventUpsertWithoutTicketsInput = {
26766
28390
  update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
26767
28391
  create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
@@ -26787,6 +28411,7 @@ export namespace Prisma {
26787
28411
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
26788
28412
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26789
28413
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28414
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26790
28415
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26791
28416
  tags?: TagUpdateManyWithoutEventNestedInput
26792
28417
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -26806,6 +28431,7 @@ export namespace Prisma {
26806
28431
  active?: BoolFieldUpdateOperationsInput | boolean
26807
28432
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26808
28433
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28434
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26809
28435
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26810
28436
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26811
28437
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -26884,6 +28510,179 @@ export namespace Prisma {
26884
28510
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
26885
28511
  }
26886
28512
 
28513
+ export type TicketGroupUpsertWithoutTicketsInput = {
28514
+ update: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28515
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28516
+ where?: TicketGroupWhereInput
28517
+ }
28518
+
28519
+ export type TicketGroupUpdateToOneWithWhereWithoutTicketsInput = {
28520
+ where?: TicketGroupWhereInput
28521
+ data: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28522
+ }
28523
+
28524
+ export type TicketGroupUpdateWithoutTicketsInput = {
28525
+ id?: StringFieldUpdateOperationsInput | string
28526
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28527
+ amountTickets?: IntFieldUpdateOperationsInput | number
28528
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28529
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28530
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
28531
+ }
28532
+
28533
+ export type TicketGroupUncheckedUpdateWithoutTicketsInput = {
28534
+ id?: StringFieldUpdateOperationsInput | string
28535
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28536
+ amountTickets?: IntFieldUpdateOperationsInput | number
28537
+ eventId?: StringFieldUpdateOperationsInput | string
28538
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28539
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28540
+ }
28541
+
28542
+ export type EventCreateWithoutTicketGroupsInput = {
28543
+ id?: string
28544
+ name: string
28545
+ date: Date | string
28546
+ startingDate?: Date | string
28547
+ endingDate?: Date | string
28548
+ location: string
28549
+ active?: boolean
28550
+ created_at?: Date | string
28551
+ updated_at?: Date | string
28552
+ folder?: EventFolderCreateNestedOneWithoutEventsInput
28553
+ tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
28554
+ tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
28555
+ supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28556
+ tickets?: TicketCreateNestedManyWithoutEventInput
28557
+ subEvents?: EventCreateNestedManyWithoutSupraEventInput
28558
+ tags?: TagCreateNestedManyWithoutEventInput
28559
+ eventTickets?: EventTicketCreateNestedManyWithoutEventInput
28560
+ }
28561
+
28562
+ export type EventUncheckedCreateWithoutTicketGroupsInput = {
28563
+ id?: string
28564
+ name: string
28565
+ date: Date | string
28566
+ startingDate?: Date | string
28567
+ endingDate?: Date | string
28568
+ location: string
28569
+ folderId?: string | null
28570
+ tagAssistedId: string
28571
+ tagConfirmedId: string
28572
+ supraEventId?: string | null
28573
+ active?: boolean
28574
+ created_at?: Date | string
28575
+ updated_at?: Date | string
28576
+ tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28577
+ subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
28578
+ tags?: TagUncheckedCreateNestedManyWithoutEventInput
28579
+ eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
28580
+ }
28581
+
28582
+ export type EventCreateOrConnectWithoutTicketGroupsInput = {
28583
+ where: EventWhereUniqueInput
28584
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28585
+ }
28586
+
28587
+ export type TicketCreateWithoutTicketGroupInput = {
28588
+ id?: string
28589
+ type: $Enums.TicketType
28590
+ fullName: string
28591
+ mail: string
28592
+ created_at?: Date | string
28593
+ updated_at?: Date | string
28594
+ event: EventCreateNestedOneWithoutTicketsInput
28595
+ profile?: ProfileCreateNestedOneWithoutTicketInput
28596
+ }
28597
+
28598
+ export type TicketUncheckedCreateWithoutTicketGroupInput = {
28599
+ id?: string
28600
+ eventId: string
28601
+ type: $Enums.TicketType
28602
+ fullName: string
28603
+ mail: string
28604
+ profileId?: string | null
28605
+ created_at?: Date | string
28606
+ updated_at?: Date | string
28607
+ }
28608
+
28609
+ export type TicketCreateOrConnectWithoutTicketGroupInput = {
28610
+ where: TicketWhereUniqueInput
28611
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28612
+ }
28613
+
28614
+ export type TicketCreateManyTicketGroupInputEnvelope = {
28615
+ data: TicketCreateManyTicketGroupInput | TicketCreateManyTicketGroupInput[]
28616
+ skipDuplicates?: boolean
28617
+ }
28618
+
28619
+ export type EventUpsertWithoutTicketGroupsInput = {
28620
+ update: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28621
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28622
+ where?: EventWhereInput
28623
+ }
28624
+
28625
+ export type EventUpdateToOneWithWhereWithoutTicketGroupsInput = {
28626
+ where?: EventWhereInput
28627
+ data: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28628
+ }
28629
+
28630
+ export type EventUpdateWithoutTicketGroupsInput = {
28631
+ id?: StringFieldUpdateOperationsInput | string
28632
+ name?: StringFieldUpdateOperationsInput | string
28633
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28634
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28635
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28636
+ location?: StringFieldUpdateOperationsInput | string
28637
+ active?: BoolFieldUpdateOperationsInput | boolean
28638
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28639
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28640
+ folder?: EventFolderUpdateOneWithoutEventsNestedInput
28641
+ tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
28642
+ tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
28643
+ supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28644
+ tickets?: TicketUpdateManyWithoutEventNestedInput
28645
+ subEvents?: EventUpdateManyWithoutSupraEventNestedInput
28646
+ tags?: TagUpdateManyWithoutEventNestedInput
28647
+ eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
28648
+ }
28649
+
28650
+ export type EventUncheckedUpdateWithoutTicketGroupsInput = {
28651
+ id?: StringFieldUpdateOperationsInput | string
28652
+ name?: StringFieldUpdateOperationsInput | string
28653
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28654
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28655
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28656
+ location?: StringFieldUpdateOperationsInput | string
28657
+ folderId?: NullableStringFieldUpdateOperationsInput | string | null
28658
+ tagAssistedId?: StringFieldUpdateOperationsInput | string
28659
+ tagConfirmedId?: StringFieldUpdateOperationsInput | string
28660
+ supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
28661
+ active?: BoolFieldUpdateOperationsInput | boolean
28662
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28663
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28664
+ tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28665
+ subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
28666
+ tags?: TagUncheckedUpdateManyWithoutEventNestedInput
28667
+ eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
28668
+ }
28669
+
28670
+ export type TicketUpsertWithWhereUniqueWithoutTicketGroupInput = {
28671
+ where: TicketWhereUniqueInput
28672
+ update: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28673
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28674
+ }
28675
+
28676
+ export type TicketUpdateWithWhereUniqueWithoutTicketGroupInput = {
28677
+ where: TicketWhereUniqueInput
28678
+ data: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28679
+ }
28680
+
28681
+ export type TicketUpdateManyWithWhereWithoutTicketGroupInput = {
28682
+ where: TicketScalarWhereInput
28683
+ data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutTicketGroupInput>
28684
+ }
28685
+
26887
28686
  export type EventCreateWithoutEventTicketsInput = {
26888
28687
  id?: string
26889
28688
  name: string
@@ -26899,6 +28698,7 @@ export namespace Prisma {
26899
28698
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26900
28699
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26901
28700
  tickets?: TicketCreateNestedManyWithoutEventInput
28701
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26902
28702
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26903
28703
  tags?: TagCreateNestedManyWithoutEventInput
26904
28704
  }
@@ -26918,6 +28718,7 @@ export namespace Prisma {
26918
28718
  created_at?: Date | string
26919
28719
  updated_at?: Date | string
26920
28720
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28721
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26921
28722
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26922
28723
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26923
28724
  }
@@ -26953,6 +28754,7 @@ export namespace Prisma {
26953
28754
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26954
28755
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26955
28756
  tickets?: TicketUpdateManyWithoutEventNestedInput
28757
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26956
28758
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26957
28759
  tags?: TagUpdateManyWithoutEventNestedInput
26958
28760
  }
@@ -26972,6 +28774,7 @@ export namespace Prisma {
26972
28774
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26973
28775
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26974
28776
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28777
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26975
28778
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26976
28779
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26977
28780
  }
@@ -27179,11 +28982,9 @@ export namespace Prisma {
27179
28982
  id?: string
27180
28983
  eventId: string
27181
28984
  type: $Enums.TicketType
27182
- status: $Enums.TicketStatus
27183
28985
  fullName: string
27184
28986
  mail: string
27185
- dni: string
27186
- seat?: number | null
28987
+ ticketGroupId?: string | null
27187
28988
  created_at?: Date | string
27188
28989
  updated_at?: Date | string
27189
28990
  }
@@ -27315,25 +29116,21 @@ export namespace Prisma {
27315
29116
  export type TicketUpdateWithoutProfileInput = {
27316
29117
  id?: StringFieldUpdateOperationsInput | string
27317
29118
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27318
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27319
29119
  fullName?: StringFieldUpdateOperationsInput | string
27320
29120
  mail?: StringFieldUpdateOperationsInput | string
27321
- dni?: StringFieldUpdateOperationsInput | string
27322
- seat?: NullableIntFieldUpdateOperationsInput | number | null
27323
29121
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27324
29122
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27325
29123
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
29124
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
27326
29125
  }
27327
29126
 
27328
29127
  export type TicketUncheckedUpdateWithoutProfileInput = {
27329
29128
  id?: StringFieldUpdateOperationsInput | string
27330
29129
  eventId?: StringFieldUpdateOperationsInput | string
27331
29130
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27332
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27333
29131
  fullName?: StringFieldUpdateOperationsInput | string
27334
29132
  mail?: StringFieldUpdateOperationsInput | string
27335
- dni?: StringFieldUpdateOperationsInput | string
27336
- seat?: NullableIntFieldUpdateOperationsInput | number | null
29133
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27337
29134
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27338
29135
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27339
29136
  }
@@ -27342,11 +29139,9 @@ export namespace Prisma {
27342
29139
  id?: StringFieldUpdateOperationsInput | string
27343
29140
  eventId?: StringFieldUpdateOperationsInput | string
27344
29141
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27345
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27346
29142
  fullName?: StringFieldUpdateOperationsInput | string
27347
29143
  mail?: StringFieldUpdateOperationsInput | string
27348
- dni?: StringFieldUpdateOperationsInput | string
27349
- seat?: NullableIntFieldUpdateOperationsInput | number | null
29144
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27350
29145
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27351
29146
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27352
29147
  }
@@ -27761,6 +29556,7 @@ export namespace Prisma {
27761
29556
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27762
29557
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
27763
29558
  tickets?: TicketUpdateManyWithoutEventNestedInput
29559
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27764
29560
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27765
29561
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
27766
29562
  }
@@ -27780,6 +29576,7 @@ export namespace Prisma {
27780
29576
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27781
29577
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27782
29578
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29579
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27783
29580
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27784
29581
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
27785
29582
  }
@@ -27847,12 +29644,18 @@ export namespace Prisma {
27847
29644
  export type TicketCreateManyEventInput = {
27848
29645
  id?: string
27849
29646
  type: $Enums.TicketType
27850
- status: $Enums.TicketStatus
27851
29647
  fullName: string
27852
29648
  mail: string
27853
- dni: string
27854
- seat?: number | null
27855
29649
  profileId?: string | null
29650
+ ticketGroupId?: string | null
29651
+ created_at?: Date | string
29652
+ updated_at?: Date | string
29653
+ }
29654
+
29655
+ export type TicketGroupCreateManyEventInput = {
29656
+ id?: string
29657
+ status: $Enums.TicketGroupStatus
29658
+ amountTickets?: number
27856
29659
  created_at?: Date | string
27857
29660
  updated_at?: Date | string
27858
29661
  }
@@ -27884,25 +29687,21 @@ export namespace Prisma {
27884
29687
  export type TicketUpdateWithoutEventInput = {
27885
29688
  id?: StringFieldUpdateOperationsInput | string
27886
29689
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27887
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27888
29690
  fullName?: StringFieldUpdateOperationsInput | string
27889
29691
  mail?: StringFieldUpdateOperationsInput | string
27890
- dni?: StringFieldUpdateOperationsInput | string
27891
- seat?: NullableIntFieldUpdateOperationsInput | number | null
27892
29692
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27893
29693
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27894
29694
  profile?: ProfileUpdateOneWithoutTicketNestedInput
29695
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
27895
29696
  }
27896
29697
 
27897
29698
  export type TicketUncheckedUpdateWithoutEventInput = {
27898
29699
  id?: StringFieldUpdateOperationsInput | string
27899
29700
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27900
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27901
29701
  fullName?: StringFieldUpdateOperationsInput | string
27902
29702
  mail?: StringFieldUpdateOperationsInput | string
27903
- dni?: StringFieldUpdateOperationsInput | string
27904
- seat?: NullableIntFieldUpdateOperationsInput | number | null
27905
29703
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29704
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27906
29705
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27907
29706
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27908
29707
  }
@@ -27910,12 +29709,36 @@ export namespace Prisma {
27910
29709
  export type TicketUncheckedUpdateManyWithoutEventInput = {
27911
29710
  id?: StringFieldUpdateOperationsInput | string
27912
29711
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27913
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27914
29712
  fullName?: StringFieldUpdateOperationsInput | string
27915
29713
  mail?: StringFieldUpdateOperationsInput | string
27916
- dni?: StringFieldUpdateOperationsInput | string
27917
- seat?: NullableIntFieldUpdateOperationsInput | number | null
27918
29714
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29715
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
29716
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29717
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29718
+ }
29719
+
29720
+ export type TicketGroupUpdateWithoutEventInput = {
29721
+ id?: StringFieldUpdateOperationsInput | string
29722
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29723
+ amountTickets?: IntFieldUpdateOperationsInput | number
29724
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29725
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29726
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
29727
+ }
29728
+
29729
+ export type TicketGroupUncheckedUpdateWithoutEventInput = {
29730
+ id?: StringFieldUpdateOperationsInput | string
29731
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29732
+ amountTickets?: IntFieldUpdateOperationsInput | number
29733
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29734
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29735
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
29736
+ }
29737
+
29738
+ export type TicketGroupUncheckedUpdateManyWithoutEventInput = {
29739
+ id?: StringFieldUpdateOperationsInput | string
29740
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29741
+ amountTickets?: IntFieldUpdateOperationsInput | number
27919
29742
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27920
29743
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27921
29744
  }
@@ -27934,6 +29757,7 @@ export namespace Prisma {
27934
29757
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
27935
29758
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27936
29759
  tickets?: TicketUpdateManyWithoutEventNestedInput
29760
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27937
29761
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27938
29762
  tags?: TagUpdateManyWithoutEventNestedInput
27939
29763
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -27953,6 +29777,7 @@ export namespace Prisma {
27953
29777
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27954
29778
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27955
29779
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29780
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27956
29781
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27957
29782
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
27958
29783
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -28066,6 +29891,7 @@ export namespace Prisma {
28066
29891
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
28067
29892
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28068
29893
  tickets?: TicketUpdateManyWithoutEventNestedInput
29894
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
28069
29895
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
28070
29896
  tags?: TagUpdateManyWithoutEventNestedInput
28071
29897
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -28085,6 +29911,7 @@ export namespace Prisma {
28085
29911
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28086
29912
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28087
29913
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29914
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
28088
29915
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
28089
29916
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
28090
29917
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -28105,6 +29932,50 @@ export namespace Prisma {
28105
29932
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28106
29933
  }
28107
29934
 
29935
+ export type TicketCreateManyTicketGroupInput = {
29936
+ id?: string
29937
+ eventId: string
29938
+ type: $Enums.TicketType
29939
+ fullName: string
29940
+ mail: string
29941
+ profileId?: string | null
29942
+ created_at?: Date | string
29943
+ updated_at?: Date | string
29944
+ }
29945
+
29946
+ export type TicketUpdateWithoutTicketGroupInput = {
29947
+ id?: StringFieldUpdateOperationsInput | string
29948
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29949
+ fullName?: StringFieldUpdateOperationsInput | string
29950
+ mail?: StringFieldUpdateOperationsInput | string
29951
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29952
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29953
+ event?: EventUpdateOneRequiredWithoutTicketsNestedInput
29954
+ profile?: ProfileUpdateOneWithoutTicketNestedInput
29955
+ }
29956
+
29957
+ export type TicketUncheckedUpdateWithoutTicketGroupInput = {
29958
+ id?: StringFieldUpdateOperationsInput | string
29959
+ eventId?: StringFieldUpdateOperationsInput | string
29960
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29961
+ fullName?: StringFieldUpdateOperationsInput | string
29962
+ mail?: StringFieldUpdateOperationsInput | string
29963
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
29964
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29965
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29966
+ }
29967
+
29968
+ export type TicketUncheckedUpdateManyWithoutTicketGroupInput = {
29969
+ id?: StringFieldUpdateOperationsInput | string
29970
+ eventId?: StringFieldUpdateOperationsInput | string
29971
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29972
+ fullName?: StringFieldUpdateOperationsInput | string
29973
+ mail?: StringFieldUpdateOperationsInput | string
29974
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
29975
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29976
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29977
+ }
29978
+
28108
29979
 
28109
29980
 
28110
29981
  /**