expo-backend-types 0.36.0 → 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -18
  2. package/dist/src/exports.d.ts +1 -0
  3. package/dist/src/exports.js +1 -0
  4. package/dist/src/i18n/es.d.ts +37 -0
  5. package/dist/src/i18n/es.js +37 -0
  6. package/dist/src/i18n/es.js.map +1 -1
  7. package/dist/src/ticket/constants.js +0 -19
  8. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +704 -0
  9. package/dist/src/ticket/dto/create-many-ticket.dto.js +58 -0
  10. package/dist/src/ticket/dto/create-ticket.dto.d.ts +13 -29
  11. package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
  12. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +6 -14
  13. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +10 -18
  14. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +10 -18
  15. package/dist/src/ticket/dto/find-by-event-type-ticket.dto.d.ts +48 -0
  16. package/dist/src/ticket/dto/find-by-event-type-ticket.dto.js +20 -0
  17. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +10 -18
  18. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +10 -18
  19. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +10 -18
  20. package/dist/src/ticket/dto/find-ticket.dto.d.ts +6 -14
  21. package/dist/src/ticket/dto/ticket.dto.d.ts +6 -14
  22. package/dist/src/ticket/dto/ticket.dto.js +2 -3
  23. package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -28
  24. package/dist/src/ticket/dto/update-ticket.dto.js +1 -1
  25. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +346 -0
  26. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
  27. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
  28. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
  29. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +32 -0
  30. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +20 -0
  31. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
  32. package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
  33. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
  34. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
  35. package/dist/src/ticket-group/exports.d.ts +5 -0
  36. package/dist/src/ticket-group/exports.js +22 -0
  37. package/dist/types/prisma-schema/edge.js +15 -5
  38. package/dist/types/prisma-schema/index-browser.js +12 -2
  39. package/dist/types/prisma-schema/index.d.ts +2156 -178
  40. package/dist/types/prisma-schema/index.js +15 -5
  41. package/dist/types/prisma-schema/package.json +1 -1
  42. package/dist/types/prisma-schema/schema.prisma +22 -3
  43. package/dist/types/prisma-schema/wasm.js +12 -2
  44. package/dist/types/schema.d.ts +362 -12
  45. package/package.json +3 -2
@@ -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
  *
@@ -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
  */
@@ -15417,10 +15576,10 @@ export namespace Prisma {
15417
15576
  id: string | null
15418
15577
  eventId: string | null
15419
15578
  type: $Enums.TicketType | null
15420
- status: $Enums.TicketStatus | null
15421
15579
  fullName: string | null
15422
15580
  mail: string | null
15423
15581
  profileId: string | null
15582
+ ticketGroupId: string | null
15424
15583
  created_at: Date | null
15425
15584
  updated_at: Date | null
15426
15585
  }
@@ -15429,10 +15588,10 @@ export namespace Prisma {
15429
15588
  id: string | null
15430
15589
  eventId: string | null
15431
15590
  type: $Enums.TicketType | null
15432
- status: $Enums.TicketStatus | null
15433
15591
  fullName: string | null
15434
15592
  mail: string | null
15435
15593
  profileId: string | null
15594
+ ticketGroupId: string | null
15436
15595
  created_at: Date | null
15437
15596
  updated_at: Date | null
15438
15597
  }
@@ -15441,10 +15600,10 @@ export namespace Prisma {
15441
15600
  id: number
15442
15601
  eventId: number
15443
15602
  type: number
15444
- status: number
15445
15603
  fullName: number
15446
15604
  mail: number
15447
15605
  profileId: number
15606
+ ticketGroupId: number
15448
15607
  created_at: number
15449
15608
  updated_at: number
15450
15609
  _all: number
@@ -15455,10 +15614,10 @@ export namespace Prisma {
15455
15614
  id?: true
15456
15615
  eventId?: true
15457
15616
  type?: true
15458
- status?: true
15459
15617
  fullName?: true
15460
15618
  mail?: true
15461
15619
  profileId?: true
15620
+ ticketGroupId?: true
15462
15621
  created_at?: true
15463
15622
  updated_at?: true
15464
15623
  }
@@ -15467,10 +15626,10 @@ export namespace Prisma {
15467
15626
  id?: true
15468
15627
  eventId?: true
15469
15628
  type?: true
15470
- status?: true
15471
15629
  fullName?: true
15472
15630
  mail?: true
15473
15631
  profileId?: true
15632
+ ticketGroupId?: true
15474
15633
  created_at?: true
15475
15634
  updated_at?: true
15476
15635
  }
@@ -15479,10 +15638,10 @@ export namespace Prisma {
15479
15638
  id?: true
15480
15639
  eventId?: true
15481
15640
  type?: true
15482
- status?: true
15483
15641
  fullName?: true
15484
15642
  mail?: true
15485
15643
  profileId?: true
15644
+ ticketGroupId?: true
15486
15645
  created_at?: true
15487
15646
  updated_at?: true
15488
15647
  _all?: true
@@ -15564,10 +15723,10 @@ export namespace Prisma {
15564
15723
  id: string
15565
15724
  eventId: string
15566
15725
  type: $Enums.TicketType
15567
- status: $Enums.TicketStatus
15568
15726
  fullName: string
15569
15727
  mail: string
15570
15728
  profileId: string | null
15729
+ ticketGroupId: string
15571
15730
  created_at: Date
15572
15731
  updated_at: Date
15573
15732
  _count: TicketCountAggregateOutputType | null
@@ -15593,68 +15752,74 @@ export namespace Prisma {
15593
15752
  id?: boolean
15594
15753
  eventId?: boolean
15595
15754
  type?: boolean
15596
- status?: boolean
15597
15755
  fullName?: boolean
15598
15756
  mail?: boolean
15599
15757
  profileId?: boolean
15758
+ ticketGroupId?: boolean
15600
15759
  created_at?: boolean
15601
15760
  updated_at?: boolean
15602
15761
  event?: boolean | EventDefaultArgs<ExtArgs>
15603
15762
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15763
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15604
15764
  }, ExtArgs["result"]["ticket"]>
15605
15765
 
15606
15766
  export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15607
15767
  id?: boolean
15608
15768
  eventId?: boolean
15609
15769
  type?: boolean
15610
- status?: boolean
15611
15770
  fullName?: boolean
15612
15771
  mail?: boolean
15613
15772
  profileId?: boolean
15773
+ ticketGroupId?: boolean
15614
15774
  created_at?: boolean
15615
15775
  updated_at?: boolean
15616
15776
  event?: boolean | EventDefaultArgs<ExtArgs>
15617
15777
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15778
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15618
15779
  }, ExtArgs["result"]["ticket"]>
15619
15780
 
15620
15781
  export type TicketSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15621
15782
  id?: boolean
15622
15783
  eventId?: boolean
15623
15784
  type?: boolean
15624
- status?: boolean
15625
15785
  fullName?: boolean
15626
15786
  mail?: boolean
15627
15787
  profileId?: boolean
15788
+ ticketGroupId?: boolean
15628
15789
  created_at?: boolean
15629
15790
  updated_at?: boolean
15630
15791
  event?: boolean | EventDefaultArgs<ExtArgs>
15631
15792
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15793
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15632
15794
  }, ExtArgs["result"]["ticket"]>
15633
15795
 
15634
15796
  export type TicketSelectScalar = {
15635
15797
  id?: boolean
15636
15798
  eventId?: boolean
15637
15799
  type?: boolean
15638
- status?: boolean
15639
15800
  fullName?: boolean
15640
15801
  mail?: boolean
15641
15802
  profileId?: boolean
15803
+ ticketGroupId?: boolean
15642
15804
  created_at?: boolean
15643
15805
  updated_at?: boolean
15644
15806
  }
15645
15807
 
15646
- export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "status" | "fullName" | "mail" | "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"]>
15647
15809
  export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15648
15810
  event?: boolean | EventDefaultArgs<ExtArgs>
15649
15811
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15812
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15650
15813
  }
15651
15814
  export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15652
15815
  event?: boolean | EventDefaultArgs<ExtArgs>
15653
15816
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15817
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15654
15818
  }
15655
15819
  export type TicketIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15656
15820
  event?: boolean | EventDefaultArgs<ExtArgs>
15657
15821
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15822
+ ticketGroup?: boolean | TicketGroupDefaultArgs<ExtArgs>
15658
15823
  }
15659
15824
 
15660
15825
  export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -15662,15 +15827,16 @@ export namespace Prisma {
15662
15827
  objects: {
15663
15828
  event: Prisma.$EventPayload<ExtArgs>
15664
15829
  profile: Prisma.$ProfilePayload<ExtArgs> | null
15830
+ ticketGroup: Prisma.$TicketGroupPayload<ExtArgs>
15665
15831
  }
15666
15832
  scalars: $Extensions.GetPayloadResult<{
15667
15833
  id: string
15668
15834
  eventId: string
15669
15835
  type: $Enums.TicketType
15670
- status: $Enums.TicketStatus
15671
15836
  fullName: string
15672
15837
  mail: string
15673
15838
  profileId: string | null
15839
+ ticketGroupId: string
15674
15840
  created_at: Date
15675
15841
  updated_at: Date
15676
15842
  }, ExtArgs["result"]["ticket"]>
@@ -16069,6 +16235,7 @@ export namespace Prisma {
16069
16235
  readonly [Symbol.toStringTag]: "PrismaPromise"
16070
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>
16071
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 TicketGroupDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroupDefaultArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
16072
16239
  /**
16073
16240
  * Attaches callbacks for the resolution and/or rejection of the Promise.
16074
16241
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -16101,10 +16268,10 @@ export namespace Prisma {
16101
16268
  readonly id: FieldRef<"Ticket", 'String'>
16102
16269
  readonly eventId: FieldRef<"Ticket", 'String'>
16103
16270
  readonly type: FieldRef<"Ticket", 'TicketType'>
16104
- readonly status: FieldRef<"Ticket", 'TicketStatus'>
16105
16271
  readonly fullName: FieldRef<"Ticket", 'String'>
16106
16272
  readonly mail: FieldRef<"Ticket", 'String'>
16107
16273
  readonly profileId: FieldRef<"Ticket", 'String'>
16274
+ readonly ticketGroupId: FieldRef<"Ticket", 'String'>
16108
16275
  readonly created_at: FieldRef<"Ticket", 'DateTime'>
16109
16276
  readonly updated_at: FieldRef<"Ticket", 'DateTime'>
16110
16277
  }
@@ -16541,194 +16708,1329 @@ export namespace Prisma {
16541
16708
 
16542
16709
 
16543
16710
  /**
16544
- * Model Enums
16711
+ * Model TicketGroup
16545
16712
  */
16546
16713
 
16547
- export type AggregateEnums = {
16548
- _count: EnumsCountAggregateOutputType | null
16549
- _min: EnumsMinAggregateOutputType | null
16550
- _max: EnumsMaxAggregateOutputType | null
16714
+ export type AggregateTicketGroup = {
16715
+ _count: TicketGroupCountAggregateOutputType | null
16716
+ _avg: TicketGroupAvgAggregateOutputType | null
16717
+ _sum: TicketGroupSumAggregateOutputType | null
16718
+ _min: TicketGroupMinAggregateOutputType | null
16719
+ _max: TicketGroupMaxAggregateOutputType | null
16551
16720
  }
16552
16721
 
16553
- export type EnumsMinAggregateOutputType = {
16722
+ export type TicketGroupAvgAggregateOutputType = {
16723
+ amountTickets: number | null
16724
+ }
16725
+
16726
+ export type TicketGroupSumAggregateOutputType = {
16727
+ amountTickets: number | null
16728
+ }
16729
+
16730
+ export type TicketGroupMinAggregateOutputType = {
16554
16731
  id: string | null
16555
- templateStatus: $Enums.TemplateStatus | null
16556
- templateCategory: $Enums.TemplateCategory | null
16732
+ status: $Enums.TicketGroupStatus | null
16733
+ amountTickets: number | null
16734
+ eventId: string | null
16735
+ created_at: Date | null
16736
+ updated_at: Date | null
16557
16737
  }
16558
16738
 
16559
- export type EnumsMaxAggregateOutputType = {
16739
+ export type TicketGroupMaxAggregateOutputType = {
16560
16740
  id: string | null
16561
- templateStatus: $Enums.TemplateStatus | null
16562
- templateCategory: $Enums.TemplateCategory | null
16741
+ status: $Enums.TicketGroupStatus | null
16742
+ amountTickets: number | null
16743
+ eventId: string | null
16744
+ created_at: Date | null
16745
+ updated_at: Date | null
16563
16746
  }
16564
16747
 
16565
- export type EnumsCountAggregateOutputType = {
16748
+ export type TicketGroupCountAggregateOutputType = {
16566
16749
  id: number
16567
- templateStatus: number
16568
- templateCategory: number
16750
+ status: number
16751
+ amountTickets: number
16752
+ eventId: number
16753
+ created_at: number
16754
+ updated_at: number
16569
16755
  _all: number
16570
16756
  }
16571
16757
 
16572
16758
 
16573
- export type EnumsMinAggregateInputType = {
16759
+ export type TicketGroupAvgAggregateInputType = {
16760
+ amountTickets?: true
16761
+ }
16762
+
16763
+ export type TicketGroupSumAggregateInputType = {
16764
+ amountTickets?: true
16765
+ }
16766
+
16767
+ export type TicketGroupMinAggregateInputType = {
16574
16768
  id?: true
16575
- templateStatus?: true
16576
- templateCategory?: true
16769
+ status?: true
16770
+ amountTickets?: true
16771
+ eventId?: true
16772
+ created_at?: true
16773
+ updated_at?: true
16577
16774
  }
16578
16775
 
16579
- export type EnumsMaxAggregateInputType = {
16776
+ export type TicketGroupMaxAggregateInputType = {
16580
16777
  id?: true
16581
- templateStatus?: true
16582
- templateCategory?: true
16778
+ status?: true
16779
+ amountTickets?: true
16780
+ eventId?: true
16781
+ created_at?: true
16782
+ updated_at?: true
16583
16783
  }
16584
16784
 
16585
- export type EnumsCountAggregateInputType = {
16785
+ export type TicketGroupCountAggregateInputType = {
16586
16786
  id?: true
16587
- templateStatus?: true
16588
- templateCategory?: true
16787
+ status?: true
16788
+ amountTickets?: true
16789
+ eventId?: true
16790
+ created_at?: true
16791
+ updated_at?: true
16589
16792
  _all?: true
16590
16793
  }
16591
16794
 
16592
- export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16795
+ export type TicketGroupAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16593
16796
  /**
16594
- * Filter which Enums to aggregate.
16797
+ * Filter which TicketGroup to aggregate.
16595
16798
  */
16596
- where?: EnumsWhereInput
16799
+ where?: TicketGroupWhereInput
16597
16800
  /**
16598
16801
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
16599
16802
  *
16600
- * Determine the order of Enums to fetch.
16803
+ * Determine the order of TicketGroups to fetch.
16601
16804
  */
16602
- orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
16805
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
16603
16806
  /**
16604
16807
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
16605
16808
  *
16606
16809
  * Sets the start position
16607
16810
  */
16608
- cursor?: EnumsWhereUniqueInput
16811
+ cursor?: TicketGroupWhereUniqueInput
16609
16812
  /**
16610
16813
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16611
16814
  *
16612
- * Take `±n` Enums from the position of the cursor.
16815
+ * Take `±n` TicketGroups from the position of the cursor.
16613
16816
  */
16614
16817
  take?: number
16615
16818
  /**
16616
16819
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16617
16820
  *
16618
- * Skip the first `n` Enums.
16821
+ * Skip the first `n` TicketGroups.
16619
16822
  */
16620
16823
  skip?: number
16621
16824
  /**
16622
16825
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16623
16826
  *
16624
- * Count returned Enums
16827
+ * Count returned TicketGroups
16625
16828
  **/
16626
- _count?: true | EnumsCountAggregateInputType
16829
+ _count?: true | TicketGroupCountAggregateInputType
16830
+ /**
16831
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16832
+ *
16833
+ * Select which fields to average
16834
+ **/
16835
+ _avg?: TicketGroupAvgAggregateInputType
16836
+ /**
16837
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16838
+ *
16839
+ * Select which fields to sum
16840
+ **/
16841
+ _sum?: TicketGroupSumAggregateInputType
16627
16842
  /**
16628
16843
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16629
16844
  *
16630
16845
  * Select which fields to find the minimum value
16631
16846
  **/
16632
- _min?: EnumsMinAggregateInputType
16847
+ _min?: TicketGroupMinAggregateInputType
16633
16848
  /**
16634
16849
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16635
16850
  *
16636
16851
  * Select which fields to find the maximum value
16637
16852
  **/
16638
- _max?: EnumsMaxAggregateInputType
16853
+ _max?: TicketGroupMaxAggregateInputType
16639
16854
  }
16640
16855
 
16641
- export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
16642
- [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
16856
+ export type GetTicketGroupAggregateType<T extends TicketGroupAggregateArgs> = {
16857
+ [P in keyof T & keyof AggregateTicketGroup]: P extends '_count' | 'count'
16643
16858
  ? T[P] extends true
16644
16859
  ? number
16645
- : GetScalarType<T[P], AggregateEnums[P]>
16646
- : GetScalarType<T[P], AggregateEnums[P]>
16860
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16861
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16647
16862
  }
16648
16863
 
16649
16864
 
16650
16865
 
16651
16866
 
16652
- export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16653
- where?: EnumsWhereInput
16654
- orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
16655
- by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
16656
- having?: EnumsScalarWhereWithAggregatesInput
16867
+ export type TicketGroupGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16868
+ where?: TicketGroupWhereInput
16869
+ orderBy?: TicketGroupOrderByWithAggregationInput | TicketGroupOrderByWithAggregationInput[]
16870
+ by: TicketGroupScalarFieldEnum[] | TicketGroupScalarFieldEnum
16871
+ having?: TicketGroupScalarWhereWithAggregatesInput
16657
16872
  take?: number
16658
16873
  skip?: number
16659
- _count?: EnumsCountAggregateInputType | true
16660
- _min?: EnumsMinAggregateInputType
16661
- _max?: EnumsMaxAggregateInputType
16874
+ _count?: TicketGroupCountAggregateInputType | true
16875
+ _avg?: TicketGroupAvgAggregateInputType
16876
+ _sum?: TicketGroupSumAggregateInputType
16877
+ _min?: TicketGroupMinAggregateInputType
16878
+ _max?: TicketGroupMaxAggregateInputType
16662
16879
  }
16663
16880
 
16664
- export type EnumsGroupByOutputType = {
16881
+ export type TicketGroupGroupByOutputType = {
16665
16882
  id: string
16666
- templateStatus: $Enums.TemplateStatus
16667
- templateCategory: $Enums.TemplateCategory
16668
- _count: EnumsCountAggregateOutputType | null
16669
- _min: EnumsMinAggregateOutputType | null
16670
- _max: EnumsMaxAggregateOutputType | null
16883
+ status: $Enums.TicketGroupStatus
16884
+ amountTickets: number
16885
+ eventId: string
16886
+ created_at: Date
16887
+ updated_at: Date
16888
+ _count: TicketGroupCountAggregateOutputType | null
16889
+ _avg: TicketGroupAvgAggregateOutputType | null
16890
+ _sum: TicketGroupSumAggregateOutputType | null
16891
+ _min: TicketGroupMinAggregateOutputType | null
16892
+ _max: TicketGroupMaxAggregateOutputType | null
16671
16893
  }
16672
16894
 
16673
- type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
16895
+ type GetTicketGroupGroupByPayload<T extends TicketGroupGroupByArgs> = Prisma.PrismaPromise<
16674
16896
  Array<
16675
- PickEnumerable<EnumsGroupByOutputType, T['by']> &
16897
+ PickEnumerable<TicketGroupGroupByOutputType, T['by']> &
16676
16898
  {
16677
- [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
16899
+ [P in ((keyof T) & (keyof TicketGroupGroupByOutputType))]: P extends '_count'
16678
16900
  ? T[P] extends boolean
16679
16901
  ? number
16680
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16681
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16902
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16903
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16682
16904
  }
16683
16905
  >
16684
16906
  >
16685
16907
 
16686
16908
 
16687
- export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16909
+ export type TicketGroupSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16688
16910
  id?: boolean
16689
- templateStatus?: boolean
16690
- templateCategory?: boolean
16691
- }, ExtArgs["result"]["enums"]>
16911
+ status?: boolean
16912
+ amountTickets?: boolean
16913
+ eventId?: boolean
16914
+ created_at?: boolean
16915
+ updated_at?: boolean
16916
+ event?: boolean | EventDefaultArgs<ExtArgs>
16917
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
16918
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
16919
+ }, ExtArgs["result"]["ticketGroup"]>
16692
16920
 
16693
- export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16921
+ export type TicketGroupSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16694
16922
  id?: boolean
16695
- templateStatus?: boolean
16696
- templateCategory?: boolean
16697
- }, ExtArgs["result"]["enums"]>
16923
+ status?: boolean
16924
+ amountTickets?: boolean
16925
+ eventId?: boolean
16926
+ created_at?: boolean
16927
+ updated_at?: boolean
16928
+ event?: boolean | EventDefaultArgs<ExtArgs>
16929
+ }, ExtArgs["result"]["ticketGroup"]>
16698
16930
 
16699
- export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16931
+ export type TicketGroupSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16700
16932
  id?: boolean
16701
- templateStatus?: boolean
16702
- templateCategory?: boolean
16703
- }, ExtArgs["result"]["enums"]>
16933
+ status?: boolean
16934
+ amountTickets?: boolean
16935
+ eventId?: boolean
16936
+ created_at?: boolean
16937
+ updated_at?: boolean
16938
+ event?: boolean | EventDefaultArgs<ExtArgs>
16939
+ }, ExtArgs["result"]["ticketGroup"]>
16704
16940
 
16705
- export type EnumsSelectScalar = {
16941
+ export type TicketGroupSelectScalar = {
16706
16942
  id?: boolean
16707
- templateStatus?: boolean
16708
- templateCategory?: boolean
16943
+ status?: boolean
16944
+ amountTickets?: boolean
16945
+ eventId?: boolean
16946
+ created_at?: boolean
16947
+ updated_at?: boolean
16709
16948
  }
16710
16949
 
16711
- export type EnumsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "templateStatus" | "templateCategory", ExtArgs["result"]["enums"]>
16950
+ export type TicketGroupOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "status" | "amountTickets" | "eventId" | "created_at" | "updated_at", ExtArgs["result"]["ticketGroup"]>
16951
+ export type TicketGroupInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16952
+ event?: boolean | EventDefaultArgs<ExtArgs>
16953
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
16954
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
16955
+ }
16956
+ export type TicketGroupIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16957
+ event?: boolean | EventDefaultArgs<ExtArgs>
16958
+ }
16959
+ export type TicketGroupIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16960
+ event?: boolean | EventDefaultArgs<ExtArgs>
16961
+ }
16712
16962
 
16713
- export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16714
- name: "Enums"
16715
- objects: {}
16963
+ export type $TicketGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16964
+ name: "TicketGroup"
16965
+ objects: {
16966
+ event: Prisma.$EventPayload<ExtArgs>
16967
+ tickets: Prisma.$TicketPayload<ExtArgs>[]
16968
+ }
16716
16969
  scalars: $Extensions.GetPayloadResult<{
16717
16970
  id: string
16718
- templateStatus: $Enums.TemplateStatus
16719
- templateCategory: $Enums.TemplateCategory
16720
- }, ExtArgs["result"]["enums"]>
16971
+ status: $Enums.TicketGroupStatus
16972
+ amountTickets: number
16973
+ eventId: string
16974
+ created_at: Date
16975
+ updated_at: Date
16976
+ }, ExtArgs["result"]["ticketGroup"]>
16721
16977
  composites: {}
16722
16978
  }
16723
16979
 
16724
- type EnumsGetPayload<S extends boolean | null | undefined | EnumsDefaultArgs> = $Result.GetResult<Prisma.$EnumsPayload, S>
16980
+ type TicketGroupGetPayload<S extends boolean | null | undefined | TicketGroupDefaultArgs> = $Result.GetResult<Prisma.$TicketGroupPayload, S>
16725
16981
 
16726
- type EnumsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
16727
- Omit<EnumsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
16728
- select?: EnumsCountAggregateInputType | true
16982
+ type TicketGroupCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
16983
+ Omit<TicketGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
16984
+ select?: TicketGroupCountAggregateInputType | true
16729
16985
  }
16730
16986
 
16731
- export interface EnumsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
16987
+ export interface TicketGroupDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
16988
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TicketGroup'], meta: { name: 'TicketGroup' } }
16989
+ /**
16990
+ * Find zero or one TicketGroup that matches the filter.
16991
+ * @param {TicketGroupFindUniqueArgs} args - Arguments to find a TicketGroup
16992
+ * @example
16993
+ * // Get one TicketGroup
16994
+ * const ticketGroup = await prisma.ticketGroup.findUnique({
16995
+ * where: {
16996
+ * // ... provide filter here
16997
+ * }
16998
+ * })
16999
+ */
17000
+ findUnique<T extends TicketGroupFindUniqueArgs>(args: SelectSubset<T, TicketGroupFindUniqueArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
17001
+
17002
+ /**
17003
+ * Find one TicketGroup that matches the filter or throw an error with `error.code='P2025'`
17004
+ * if no matches were found.
17005
+ * @param {TicketGroupFindUniqueOrThrowArgs} args - Arguments to find a TicketGroup
17006
+ * @example
17007
+ * // Get one TicketGroup
17008
+ * const ticketGroup = await prisma.ticketGroup.findUniqueOrThrow({
17009
+ * where: {
17010
+ * // ... provide filter here
17011
+ * }
17012
+ * })
17013
+ */
17014
+ findUniqueOrThrow<T extends TicketGroupFindUniqueOrThrowArgs>(args: SelectSubset<T, TicketGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17015
+
17016
+ /**
17017
+ * Find the first TicketGroup that matches the filter.
17018
+ * Note, that providing `undefined` is treated as the value not being there.
17019
+ * Read more here: https://pris.ly/d/null-undefined
17020
+ * @param {TicketGroupFindFirstArgs} args - Arguments to find a TicketGroup
17021
+ * @example
17022
+ * // Get one TicketGroup
17023
+ * const ticketGroup = await prisma.ticketGroup.findFirst({
17024
+ * where: {
17025
+ * // ... provide filter here
17026
+ * }
17027
+ * })
17028
+ */
17029
+ findFirst<T extends TicketGroupFindFirstArgs>(args?: SelectSubset<T, TicketGroupFindFirstArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
17030
+
17031
+ /**
17032
+ * Find the first TicketGroup that matches the filter or
17033
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
17034
+ * Note, that providing `undefined` is treated as the value not being there.
17035
+ * Read more here: https://pris.ly/d/null-undefined
17036
+ * @param {TicketGroupFindFirstOrThrowArgs} args - Arguments to find a TicketGroup
17037
+ * @example
17038
+ * // Get one TicketGroup
17039
+ * const ticketGroup = await prisma.ticketGroup.findFirstOrThrow({
17040
+ * where: {
17041
+ * // ... provide filter here
17042
+ * }
17043
+ * })
17044
+ */
17045
+ findFirstOrThrow<T extends TicketGroupFindFirstOrThrowArgs>(args?: SelectSubset<T, TicketGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17046
+
17047
+ /**
17048
+ * Find zero or more TicketGroups that matches the filter.
17049
+ * Note, that providing `undefined` is treated as the value not being there.
17050
+ * Read more here: https://pris.ly/d/null-undefined
17051
+ * @param {TicketGroupFindManyArgs} args - Arguments to filter and select certain fields only.
17052
+ * @example
17053
+ * // Get all TicketGroups
17054
+ * const ticketGroups = await prisma.ticketGroup.findMany()
17055
+ *
17056
+ * // Get first 10 TicketGroups
17057
+ * const ticketGroups = await prisma.ticketGroup.findMany({ take: 10 })
17058
+ *
17059
+ * // Only select the `id`
17060
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.findMany({ select: { id: true } })
17061
+ *
17062
+ */
17063
+ findMany<T extends TicketGroupFindManyArgs>(args?: SelectSubset<T, TicketGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findMany", ClientOptions>>
17064
+
17065
+ /**
17066
+ * Create a TicketGroup.
17067
+ * @param {TicketGroupCreateArgs} args - Arguments to create a TicketGroup.
17068
+ * @example
17069
+ * // Create one TicketGroup
17070
+ * const TicketGroup = await prisma.ticketGroup.create({
17071
+ * data: {
17072
+ * // ... data to create a TicketGroup
17073
+ * }
17074
+ * })
17075
+ *
17076
+ */
17077
+ create<T extends TicketGroupCreateArgs>(args: SelectSubset<T, TicketGroupCreateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
17078
+
17079
+ /**
17080
+ * Create many TicketGroups.
17081
+ * @param {TicketGroupCreateManyArgs} args - Arguments to create many TicketGroups.
17082
+ * @example
17083
+ * // Create many TicketGroups
17084
+ * const ticketGroup = await prisma.ticketGroup.createMany({
17085
+ * data: [
17086
+ * // ... provide data here
17087
+ * ]
17088
+ * })
17089
+ *
17090
+ */
17091
+ createMany<T extends TicketGroupCreateManyArgs>(args?: SelectSubset<T, TicketGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17092
+
17093
+ /**
17094
+ * Create many TicketGroups and returns the data saved in the database.
17095
+ * @param {TicketGroupCreateManyAndReturnArgs} args - Arguments to create many TicketGroups.
17096
+ * @example
17097
+ * // Create many TicketGroups
17098
+ * const ticketGroup = await prisma.ticketGroup.createManyAndReturn({
17099
+ * data: [
17100
+ * // ... provide data here
17101
+ * ]
17102
+ * })
17103
+ *
17104
+ * // Create many TicketGroups and only return the `id`
17105
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.createManyAndReturn({
17106
+ * select: { id: true },
17107
+ * data: [
17108
+ * // ... provide data here
17109
+ * ]
17110
+ * })
17111
+ * Note, that providing `undefined` is treated as the value not being there.
17112
+ * Read more here: https://pris.ly/d/null-undefined
17113
+ *
17114
+ */
17115
+ createManyAndReturn<T extends TicketGroupCreateManyAndReturnArgs>(args?: SelectSubset<T, TicketGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
17116
+
17117
+ /**
17118
+ * Delete a TicketGroup.
17119
+ * @param {TicketGroupDeleteArgs} args - Arguments to delete one TicketGroup.
17120
+ * @example
17121
+ * // Delete one TicketGroup
17122
+ * const TicketGroup = await prisma.ticketGroup.delete({
17123
+ * where: {
17124
+ * // ... filter to delete one TicketGroup
17125
+ * }
17126
+ * })
17127
+ *
17128
+ */
17129
+ delete<T extends TicketGroupDeleteArgs>(args: SelectSubset<T, TicketGroupDeleteArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
17130
+
17131
+ /**
17132
+ * Update one TicketGroup.
17133
+ * @param {TicketGroupUpdateArgs} args - Arguments to update one TicketGroup.
17134
+ * @example
17135
+ * // Update one TicketGroup
17136
+ * const ticketGroup = await prisma.ticketGroup.update({
17137
+ * where: {
17138
+ * // ... provide filter here
17139
+ * },
17140
+ * data: {
17141
+ * // ... provide data here
17142
+ * }
17143
+ * })
17144
+ *
17145
+ */
17146
+ update<T extends TicketGroupUpdateArgs>(args: SelectSubset<T, TicketGroupUpdateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
17147
+
17148
+ /**
17149
+ * Delete zero or more TicketGroups.
17150
+ * @param {TicketGroupDeleteManyArgs} args - Arguments to filter TicketGroups to delete.
17151
+ * @example
17152
+ * // Delete a few TicketGroups
17153
+ * const { count } = await prisma.ticketGroup.deleteMany({
17154
+ * where: {
17155
+ * // ... provide filter here
17156
+ * }
17157
+ * })
17158
+ *
17159
+ */
17160
+ deleteMany<T extends TicketGroupDeleteManyArgs>(args?: SelectSubset<T, TicketGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17161
+
17162
+ /**
17163
+ * Update zero or more TicketGroups.
17164
+ * Note, that providing `undefined` is treated as the value not being there.
17165
+ * Read more here: https://pris.ly/d/null-undefined
17166
+ * @param {TicketGroupUpdateManyArgs} args - Arguments to update one or more rows.
17167
+ * @example
17168
+ * // Update many TicketGroups
17169
+ * const ticketGroup = await prisma.ticketGroup.updateMany({
17170
+ * where: {
17171
+ * // ... provide filter here
17172
+ * },
17173
+ * data: {
17174
+ * // ... provide data here
17175
+ * }
17176
+ * })
17177
+ *
17178
+ */
17179
+ updateMany<T extends TicketGroupUpdateManyArgs>(args: SelectSubset<T, TicketGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17180
+
17181
+ /**
17182
+ * Update zero or more TicketGroups and returns the data updated in the database.
17183
+ * @param {TicketGroupUpdateManyAndReturnArgs} args - Arguments to update many TicketGroups.
17184
+ * @example
17185
+ * // Update many TicketGroups
17186
+ * const ticketGroup = await prisma.ticketGroup.updateManyAndReturn({
17187
+ * where: {
17188
+ * // ... provide filter here
17189
+ * },
17190
+ * data: [
17191
+ * // ... provide data here
17192
+ * ]
17193
+ * })
17194
+ *
17195
+ * // Update zero or more TicketGroups and only return the `id`
17196
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.updateManyAndReturn({
17197
+ * select: { id: true },
17198
+ * where: {
17199
+ * // ... provide filter here
17200
+ * },
17201
+ * data: [
17202
+ * // ... provide data here
17203
+ * ]
17204
+ * })
17205
+ * Note, that providing `undefined` is treated as the value not being there.
17206
+ * Read more here: https://pris.ly/d/null-undefined
17207
+ *
17208
+ */
17209
+ updateManyAndReturn<T extends TicketGroupUpdateManyAndReturnArgs>(args: SelectSubset<T, TicketGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
17210
+
17211
+ /**
17212
+ * Create or update one TicketGroup.
17213
+ * @param {TicketGroupUpsertArgs} args - Arguments to update or create a TicketGroup.
17214
+ * @example
17215
+ * // Update or create a TicketGroup
17216
+ * const ticketGroup = await prisma.ticketGroup.upsert({
17217
+ * create: {
17218
+ * // ... data to create a TicketGroup
17219
+ * },
17220
+ * update: {
17221
+ * // ... in case it already exists, update
17222
+ * },
17223
+ * where: {
17224
+ * // ... the filter for the TicketGroup we want to update
17225
+ * }
17226
+ * })
17227
+ */
17228
+ upsert<T extends TicketGroupUpsertArgs>(args: SelectSubset<T, TicketGroupUpsertArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
17229
+
17230
+
17231
+ /**
17232
+ * Count the number of TicketGroups.
17233
+ * Note, that providing `undefined` is treated as the value not being there.
17234
+ * Read more here: https://pris.ly/d/null-undefined
17235
+ * @param {TicketGroupCountArgs} args - Arguments to filter TicketGroups to count.
17236
+ * @example
17237
+ * // Count the number of TicketGroups
17238
+ * const count = await prisma.ticketGroup.count({
17239
+ * where: {
17240
+ * // ... the filter for the TicketGroups we want to count
17241
+ * }
17242
+ * })
17243
+ **/
17244
+ count<T extends TicketGroupCountArgs>(
17245
+ args?: Subset<T, TicketGroupCountArgs>,
17246
+ ): Prisma.PrismaPromise<
17247
+ T extends $Utils.Record<'select', any>
17248
+ ? T['select'] extends true
17249
+ ? number
17250
+ : GetScalarType<T['select'], TicketGroupCountAggregateOutputType>
17251
+ : number
17252
+ >
17253
+
17254
+ /**
17255
+ * Allows you to perform aggregations operations on a TicketGroup.
17256
+ * Note, that providing `undefined` is treated as the value not being there.
17257
+ * Read more here: https://pris.ly/d/null-undefined
17258
+ * @param {TicketGroupAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
17259
+ * @example
17260
+ * // Ordered by age ascending
17261
+ * // Where email contains prisma.io
17262
+ * // Limited to the 10 users
17263
+ * const aggregations = await prisma.user.aggregate({
17264
+ * _avg: {
17265
+ * age: true,
17266
+ * },
17267
+ * where: {
17268
+ * email: {
17269
+ * contains: "prisma.io",
17270
+ * },
17271
+ * },
17272
+ * orderBy: {
17273
+ * age: "asc",
17274
+ * },
17275
+ * take: 10,
17276
+ * })
17277
+ **/
17278
+ aggregate<T extends TicketGroupAggregateArgs>(args: Subset<T, TicketGroupAggregateArgs>): Prisma.PrismaPromise<GetTicketGroupAggregateType<T>>
17279
+
17280
+ /**
17281
+ * Group by TicketGroup.
17282
+ * Note, that providing `undefined` is treated as the value not being there.
17283
+ * Read more here: https://pris.ly/d/null-undefined
17284
+ * @param {TicketGroupGroupByArgs} args - Group by arguments.
17285
+ * @example
17286
+ * // Group by city, order by createdAt, get count
17287
+ * const result = await prisma.user.groupBy({
17288
+ * by: ['city', 'createdAt'],
17289
+ * orderBy: {
17290
+ * createdAt: true
17291
+ * },
17292
+ * _count: {
17293
+ * _all: true
17294
+ * },
17295
+ * })
17296
+ *
17297
+ **/
17298
+ groupBy<
17299
+ T extends TicketGroupGroupByArgs,
17300
+ HasSelectOrTake extends Or<
17301
+ Extends<'skip', Keys<T>>,
17302
+ Extends<'take', Keys<T>>
17303
+ >,
17304
+ OrderByArg extends True extends HasSelectOrTake
17305
+ ? { orderBy: TicketGroupGroupByArgs['orderBy'] }
17306
+ : { orderBy?: TicketGroupGroupByArgs['orderBy'] },
17307
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
17308
+ ByFields extends MaybeTupleToUnion<T['by']>,
17309
+ ByValid extends Has<ByFields, OrderFields>,
17310
+ HavingFields extends GetHavingFields<T['having']>,
17311
+ HavingValid extends Has<ByFields, HavingFields>,
17312
+ ByEmpty extends T['by'] extends never[] ? True : False,
17313
+ InputErrors extends ByEmpty extends True
17314
+ ? `Error: "by" must not be empty.`
17315
+ : HavingValid extends False
17316
+ ? {
17317
+ [P in HavingFields]: P extends ByFields
17318
+ ? never
17319
+ : P extends string
17320
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
17321
+ : [
17322
+ Error,
17323
+ 'Field ',
17324
+ P,
17325
+ ` in "having" needs to be provided in "by"`,
17326
+ ]
17327
+ }[HavingFields]
17328
+ : 'take' extends Keys<T>
17329
+ ? 'orderBy' extends Keys<T>
17330
+ ? ByValid extends True
17331
+ ? {}
17332
+ : {
17333
+ [P in OrderFields]: P extends ByFields
17334
+ ? never
17335
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17336
+ }[OrderFields]
17337
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
17338
+ : 'skip' extends Keys<T>
17339
+ ? 'orderBy' extends Keys<T>
17340
+ ? ByValid extends True
17341
+ ? {}
17342
+ : {
17343
+ [P in OrderFields]: P extends ByFields
17344
+ ? never
17345
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17346
+ }[OrderFields]
17347
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
17348
+ : ByValid extends True
17349
+ ? {}
17350
+ : {
17351
+ [P in OrderFields]: P extends ByFields
17352
+ ? never
17353
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17354
+ }[OrderFields]
17355
+ >(args: SubsetIntersection<T, TicketGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
17356
+ /**
17357
+ * Fields of the TicketGroup model
17358
+ */
17359
+ readonly fields: TicketGroupFieldRefs;
17360
+ }
17361
+
17362
+ /**
17363
+ * The delegate class that acts as a "Promise-like" for TicketGroup.
17364
+ * Why is this prefixed with `Prisma__`?
17365
+ * Because we want to prevent naming conflicts as mentioned in
17366
+ * https://github.com/prisma/prisma-client-js/issues/707
17367
+ */
17368
+ export interface Prisma__TicketGroupClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
17369
+ readonly [Symbol.toStringTag]: "PrismaPromise"
17370
+ event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
17371
+ tickets<T extends TicketGroup$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
17372
+ /**
17373
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
17374
+ * @param onfulfilled The callback to execute when the Promise is resolved.
17375
+ * @param onrejected The callback to execute when the Promise is rejected.
17376
+ * @returns A Promise for the completion of which ever callback is executed.
17377
+ */
17378
+ 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>
17379
+ /**
17380
+ * Attaches a callback for only the rejection of the Promise.
17381
+ * @param onrejected The callback to execute when the Promise is rejected.
17382
+ * @returns A Promise for the completion of the callback.
17383
+ */
17384
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
17385
+ /**
17386
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
17387
+ * resolved value cannot be modified from the callback.
17388
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
17389
+ * @returns A Promise for the completion of the callback.
17390
+ */
17391
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
17392
+ }
17393
+
17394
+
17395
+
17396
+
17397
+ /**
17398
+ * Fields of the TicketGroup model
17399
+ */
17400
+ interface TicketGroupFieldRefs {
17401
+ readonly id: FieldRef<"TicketGroup", 'String'>
17402
+ readonly status: FieldRef<"TicketGroup", 'TicketGroupStatus'>
17403
+ readonly amountTickets: FieldRef<"TicketGroup", 'Int'>
17404
+ readonly eventId: FieldRef<"TicketGroup", 'String'>
17405
+ readonly created_at: FieldRef<"TicketGroup", 'DateTime'>
17406
+ readonly updated_at: FieldRef<"TicketGroup", 'DateTime'>
17407
+ }
17408
+
17409
+
17410
+ // Custom InputTypes
17411
+ /**
17412
+ * TicketGroup findUnique
17413
+ */
17414
+ export type TicketGroupFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17415
+ /**
17416
+ * Select specific fields to fetch from the TicketGroup
17417
+ */
17418
+ select?: TicketGroupSelect<ExtArgs> | null
17419
+ /**
17420
+ * Omit specific fields from the TicketGroup
17421
+ */
17422
+ omit?: TicketGroupOmit<ExtArgs> | null
17423
+ /**
17424
+ * Choose, which related nodes to fetch as well
17425
+ */
17426
+ include?: TicketGroupInclude<ExtArgs> | null
17427
+ /**
17428
+ * Filter, which TicketGroup to fetch.
17429
+ */
17430
+ where: TicketGroupWhereUniqueInput
17431
+ }
17432
+
17433
+ /**
17434
+ * TicketGroup findUniqueOrThrow
17435
+ */
17436
+ export type TicketGroupFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17437
+ /**
17438
+ * Select specific fields to fetch from the TicketGroup
17439
+ */
17440
+ select?: TicketGroupSelect<ExtArgs> | null
17441
+ /**
17442
+ * Omit specific fields from the TicketGroup
17443
+ */
17444
+ omit?: TicketGroupOmit<ExtArgs> | null
17445
+ /**
17446
+ * Choose, which related nodes to fetch as well
17447
+ */
17448
+ include?: TicketGroupInclude<ExtArgs> | null
17449
+ /**
17450
+ * Filter, which TicketGroup to fetch.
17451
+ */
17452
+ where: TicketGroupWhereUniqueInput
17453
+ }
17454
+
17455
+ /**
17456
+ * TicketGroup findFirst
17457
+ */
17458
+ export type TicketGroupFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17459
+ /**
17460
+ * Select specific fields to fetch from the TicketGroup
17461
+ */
17462
+ select?: TicketGroupSelect<ExtArgs> | null
17463
+ /**
17464
+ * Omit specific fields from the TicketGroup
17465
+ */
17466
+ omit?: TicketGroupOmit<ExtArgs> | null
17467
+ /**
17468
+ * Choose, which related nodes to fetch as well
17469
+ */
17470
+ include?: TicketGroupInclude<ExtArgs> | null
17471
+ /**
17472
+ * Filter, which TicketGroup to fetch.
17473
+ */
17474
+ where?: TicketGroupWhereInput
17475
+ /**
17476
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17477
+ *
17478
+ * Determine the order of TicketGroups to fetch.
17479
+ */
17480
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17481
+ /**
17482
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17483
+ *
17484
+ * Sets the position for searching for TicketGroups.
17485
+ */
17486
+ cursor?: TicketGroupWhereUniqueInput
17487
+ /**
17488
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17489
+ *
17490
+ * Take `±n` TicketGroups from the position of the cursor.
17491
+ */
17492
+ take?: number
17493
+ /**
17494
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17495
+ *
17496
+ * Skip the first `n` TicketGroups.
17497
+ */
17498
+ skip?: number
17499
+ /**
17500
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17501
+ *
17502
+ * Filter by unique combinations of TicketGroups.
17503
+ */
17504
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17505
+ }
17506
+
17507
+ /**
17508
+ * TicketGroup findFirstOrThrow
17509
+ */
17510
+ export type TicketGroupFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17511
+ /**
17512
+ * Select specific fields to fetch from the TicketGroup
17513
+ */
17514
+ select?: TicketGroupSelect<ExtArgs> | null
17515
+ /**
17516
+ * Omit specific fields from the TicketGroup
17517
+ */
17518
+ omit?: TicketGroupOmit<ExtArgs> | null
17519
+ /**
17520
+ * Choose, which related nodes to fetch as well
17521
+ */
17522
+ include?: TicketGroupInclude<ExtArgs> | null
17523
+ /**
17524
+ * Filter, which TicketGroup to fetch.
17525
+ */
17526
+ where?: TicketGroupWhereInput
17527
+ /**
17528
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17529
+ *
17530
+ * Determine the order of TicketGroups to fetch.
17531
+ */
17532
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17533
+ /**
17534
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17535
+ *
17536
+ * Sets the position for searching for TicketGroups.
17537
+ */
17538
+ cursor?: TicketGroupWhereUniqueInput
17539
+ /**
17540
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17541
+ *
17542
+ * Take `±n` TicketGroups from the position of the cursor.
17543
+ */
17544
+ take?: number
17545
+ /**
17546
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17547
+ *
17548
+ * Skip the first `n` TicketGroups.
17549
+ */
17550
+ skip?: number
17551
+ /**
17552
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17553
+ *
17554
+ * Filter by unique combinations of TicketGroups.
17555
+ */
17556
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17557
+ }
17558
+
17559
+ /**
17560
+ * TicketGroup findMany
17561
+ */
17562
+ export type TicketGroupFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17563
+ /**
17564
+ * Select specific fields to fetch from the TicketGroup
17565
+ */
17566
+ select?: TicketGroupSelect<ExtArgs> | null
17567
+ /**
17568
+ * Omit specific fields from the TicketGroup
17569
+ */
17570
+ omit?: TicketGroupOmit<ExtArgs> | null
17571
+ /**
17572
+ * Choose, which related nodes to fetch as well
17573
+ */
17574
+ include?: TicketGroupInclude<ExtArgs> | null
17575
+ /**
17576
+ * Filter, which TicketGroups to fetch.
17577
+ */
17578
+ where?: TicketGroupWhereInput
17579
+ /**
17580
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17581
+ *
17582
+ * Determine the order of TicketGroups to fetch.
17583
+ */
17584
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17585
+ /**
17586
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17587
+ *
17588
+ * Sets the position for listing TicketGroups.
17589
+ */
17590
+ cursor?: TicketGroupWhereUniqueInput
17591
+ /**
17592
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17593
+ *
17594
+ * Take `±n` TicketGroups from the position of the cursor.
17595
+ */
17596
+ take?: number
17597
+ /**
17598
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17599
+ *
17600
+ * Skip the first `n` TicketGroups.
17601
+ */
17602
+ skip?: number
17603
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17604
+ }
17605
+
17606
+ /**
17607
+ * TicketGroup create
17608
+ */
17609
+ export type TicketGroupCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17610
+ /**
17611
+ * Select specific fields to fetch from the TicketGroup
17612
+ */
17613
+ select?: TicketGroupSelect<ExtArgs> | null
17614
+ /**
17615
+ * Omit specific fields from the TicketGroup
17616
+ */
17617
+ omit?: TicketGroupOmit<ExtArgs> | null
17618
+ /**
17619
+ * Choose, which related nodes to fetch as well
17620
+ */
17621
+ include?: TicketGroupInclude<ExtArgs> | null
17622
+ /**
17623
+ * The data needed to create a TicketGroup.
17624
+ */
17625
+ data: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17626
+ }
17627
+
17628
+ /**
17629
+ * TicketGroup createMany
17630
+ */
17631
+ export type TicketGroupCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17632
+ /**
17633
+ * The data used to create many TicketGroups.
17634
+ */
17635
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17636
+ skipDuplicates?: boolean
17637
+ }
17638
+
17639
+ /**
17640
+ * TicketGroup createManyAndReturn
17641
+ */
17642
+ export type TicketGroupCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17643
+ /**
17644
+ * Select specific fields to fetch from the TicketGroup
17645
+ */
17646
+ select?: TicketGroupSelectCreateManyAndReturn<ExtArgs> | null
17647
+ /**
17648
+ * Omit specific fields from the TicketGroup
17649
+ */
17650
+ omit?: TicketGroupOmit<ExtArgs> | null
17651
+ /**
17652
+ * The data used to create many TicketGroups.
17653
+ */
17654
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17655
+ skipDuplicates?: boolean
17656
+ /**
17657
+ * Choose, which related nodes to fetch as well
17658
+ */
17659
+ include?: TicketGroupIncludeCreateManyAndReturn<ExtArgs> | null
17660
+ }
17661
+
17662
+ /**
17663
+ * TicketGroup update
17664
+ */
17665
+ export type TicketGroupUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17666
+ /**
17667
+ * Select specific fields to fetch from the TicketGroup
17668
+ */
17669
+ select?: TicketGroupSelect<ExtArgs> | null
17670
+ /**
17671
+ * Omit specific fields from the TicketGroup
17672
+ */
17673
+ omit?: TicketGroupOmit<ExtArgs> | null
17674
+ /**
17675
+ * Choose, which related nodes to fetch as well
17676
+ */
17677
+ include?: TicketGroupInclude<ExtArgs> | null
17678
+ /**
17679
+ * The data needed to update a TicketGroup.
17680
+ */
17681
+ data: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17682
+ /**
17683
+ * Choose, which TicketGroup to update.
17684
+ */
17685
+ where: TicketGroupWhereUniqueInput
17686
+ }
17687
+
17688
+ /**
17689
+ * TicketGroup updateMany
17690
+ */
17691
+ export type TicketGroupUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17692
+ /**
17693
+ * The data used to update TicketGroups.
17694
+ */
17695
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17696
+ /**
17697
+ * Filter which TicketGroups to update
17698
+ */
17699
+ where?: TicketGroupWhereInput
17700
+ /**
17701
+ * Limit how many TicketGroups to update.
17702
+ */
17703
+ limit?: number
17704
+ }
17705
+
17706
+ /**
17707
+ * TicketGroup updateManyAndReturn
17708
+ */
17709
+ export type TicketGroupUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17710
+ /**
17711
+ * Select specific fields to fetch from the TicketGroup
17712
+ */
17713
+ select?: TicketGroupSelectUpdateManyAndReturn<ExtArgs> | null
17714
+ /**
17715
+ * Omit specific fields from the TicketGroup
17716
+ */
17717
+ omit?: TicketGroupOmit<ExtArgs> | null
17718
+ /**
17719
+ * The data used to update TicketGroups.
17720
+ */
17721
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17722
+ /**
17723
+ * Filter which TicketGroups to update
17724
+ */
17725
+ where?: TicketGroupWhereInput
17726
+ /**
17727
+ * Limit how many TicketGroups to update.
17728
+ */
17729
+ limit?: number
17730
+ /**
17731
+ * Choose, which related nodes to fetch as well
17732
+ */
17733
+ include?: TicketGroupIncludeUpdateManyAndReturn<ExtArgs> | null
17734
+ }
17735
+
17736
+ /**
17737
+ * TicketGroup upsert
17738
+ */
17739
+ export type TicketGroupUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17740
+ /**
17741
+ * Select specific fields to fetch from the TicketGroup
17742
+ */
17743
+ select?: TicketGroupSelect<ExtArgs> | null
17744
+ /**
17745
+ * Omit specific fields from the TicketGroup
17746
+ */
17747
+ omit?: TicketGroupOmit<ExtArgs> | null
17748
+ /**
17749
+ * Choose, which related nodes to fetch as well
17750
+ */
17751
+ include?: TicketGroupInclude<ExtArgs> | null
17752
+ /**
17753
+ * The filter to search for the TicketGroup to update in case it exists.
17754
+ */
17755
+ where: TicketGroupWhereUniqueInput
17756
+ /**
17757
+ * In case the TicketGroup found by the `where` argument doesn't exist, create a new TicketGroup with this data.
17758
+ */
17759
+ create: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17760
+ /**
17761
+ * In case the TicketGroup was found with the provided `where` argument, update it with this data.
17762
+ */
17763
+ update: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17764
+ }
17765
+
17766
+ /**
17767
+ * TicketGroup delete
17768
+ */
17769
+ export type TicketGroupDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17770
+ /**
17771
+ * Select specific fields to fetch from the TicketGroup
17772
+ */
17773
+ select?: TicketGroupSelect<ExtArgs> | null
17774
+ /**
17775
+ * Omit specific fields from the TicketGroup
17776
+ */
17777
+ omit?: TicketGroupOmit<ExtArgs> | null
17778
+ /**
17779
+ * Choose, which related nodes to fetch as well
17780
+ */
17781
+ include?: TicketGroupInclude<ExtArgs> | null
17782
+ /**
17783
+ * Filter which TicketGroup to delete.
17784
+ */
17785
+ where: TicketGroupWhereUniqueInput
17786
+ }
17787
+
17788
+ /**
17789
+ * TicketGroup deleteMany
17790
+ */
17791
+ export type TicketGroupDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17792
+ /**
17793
+ * Filter which TicketGroups to delete
17794
+ */
17795
+ where?: TicketGroupWhereInput
17796
+ /**
17797
+ * Limit how many TicketGroups to delete.
17798
+ */
17799
+ limit?: number
17800
+ }
17801
+
17802
+ /**
17803
+ * TicketGroup.tickets
17804
+ */
17805
+ export type TicketGroup$ticketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17806
+ /**
17807
+ * Select specific fields to fetch from the Ticket
17808
+ */
17809
+ select?: TicketSelect<ExtArgs> | null
17810
+ /**
17811
+ * Omit specific fields from the Ticket
17812
+ */
17813
+ omit?: TicketOmit<ExtArgs> | null
17814
+ /**
17815
+ * Choose, which related nodes to fetch as well
17816
+ */
17817
+ include?: TicketInclude<ExtArgs> | null
17818
+ where?: TicketWhereInput
17819
+ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
17820
+ cursor?: TicketWhereUniqueInput
17821
+ take?: number
17822
+ skip?: number
17823
+ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
17824
+ }
17825
+
17826
+ /**
17827
+ * TicketGroup without action
17828
+ */
17829
+ export type TicketGroupDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17830
+ /**
17831
+ * Select specific fields to fetch from the TicketGroup
17832
+ */
17833
+ select?: TicketGroupSelect<ExtArgs> | null
17834
+ /**
17835
+ * Omit specific fields from the TicketGroup
17836
+ */
17837
+ omit?: TicketGroupOmit<ExtArgs> | null
17838
+ /**
17839
+ * Choose, which related nodes to fetch as well
17840
+ */
17841
+ include?: TicketGroupInclude<ExtArgs> | null
17842
+ }
17843
+
17844
+
17845
+ /**
17846
+ * Model Enums
17847
+ */
17848
+
17849
+ export type AggregateEnums = {
17850
+ _count: EnumsCountAggregateOutputType | null
17851
+ _min: EnumsMinAggregateOutputType | null
17852
+ _max: EnumsMaxAggregateOutputType | null
17853
+ }
17854
+
17855
+ export type EnumsMinAggregateOutputType = {
17856
+ id: string | null
17857
+ templateStatus: $Enums.TemplateStatus | null
17858
+ templateCategory: $Enums.TemplateCategory | null
17859
+ }
17860
+
17861
+ export type EnumsMaxAggregateOutputType = {
17862
+ id: string | null
17863
+ templateStatus: $Enums.TemplateStatus | null
17864
+ templateCategory: $Enums.TemplateCategory | null
17865
+ }
17866
+
17867
+ export type EnumsCountAggregateOutputType = {
17868
+ id: number
17869
+ templateStatus: number
17870
+ templateCategory: number
17871
+ _all: number
17872
+ }
17873
+
17874
+
17875
+ export type EnumsMinAggregateInputType = {
17876
+ id?: true
17877
+ templateStatus?: true
17878
+ templateCategory?: true
17879
+ }
17880
+
17881
+ export type EnumsMaxAggregateInputType = {
17882
+ id?: true
17883
+ templateStatus?: true
17884
+ templateCategory?: true
17885
+ }
17886
+
17887
+ export type EnumsCountAggregateInputType = {
17888
+ id?: true
17889
+ templateStatus?: true
17890
+ templateCategory?: true
17891
+ _all?: true
17892
+ }
17893
+
17894
+ export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17895
+ /**
17896
+ * Filter which Enums to aggregate.
17897
+ */
17898
+ where?: EnumsWhereInput
17899
+ /**
17900
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17901
+ *
17902
+ * Determine the order of Enums to fetch.
17903
+ */
17904
+ orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
17905
+ /**
17906
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17907
+ *
17908
+ * Sets the start position
17909
+ */
17910
+ cursor?: EnumsWhereUniqueInput
17911
+ /**
17912
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17913
+ *
17914
+ * Take `±n` Enums from the position of the cursor.
17915
+ */
17916
+ take?: number
17917
+ /**
17918
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17919
+ *
17920
+ * Skip the first `n` Enums.
17921
+ */
17922
+ skip?: number
17923
+ /**
17924
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17925
+ *
17926
+ * Count returned Enums
17927
+ **/
17928
+ _count?: true | EnumsCountAggregateInputType
17929
+ /**
17930
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17931
+ *
17932
+ * Select which fields to find the minimum value
17933
+ **/
17934
+ _min?: EnumsMinAggregateInputType
17935
+ /**
17936
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17937
+ *
17938
+ * Select which fields to find the maximum value
17939
+ **/
17940
+ _max?: EnumsMaxAggregateInputType
17941
+ }
17942
+
17943
+ export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
17944
+ [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
17945
+ ? T[P] extends true
17946
+ ? number
17947
+ : GetScalarType<T[P], AggregateEnums[P]>
17948
+ : GetScalarType<T[P], AggregateEnums[P]>
17949
+ }
17950
+
17951
+
17952
+
17953
+
17954
+ export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17955
+ where?: EnumsWhereInput
17956
+ orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
17957
+ by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
17958
+ having?: EnumsScalarWhereWithAggregatesInput
17959
+ take?: number
17960
+ skip?: number
17961
+ _count?: EnumsCountAggregateInputType | true
17962
+ _min?: EnumsMinAggregateInputType
17963
+ _max?: EnumsMaxAggregateInputType
17964
+ }
17965
+
17966
+ export type EnumsGroupByOutputType = {
17967
+ id: string
17968
+ templateStatus: $Enums.TemplateStatus
17969
+ templateCategory: $Enums.TemplateCategory
17970
+ _count: EnumsCountAggregateOutputType | null
17971
+ _min: EnumsMinAggregateOutputType | null
17972
+ _max: EnumsMaxAggregateOutputType | null
17973
+ }
17974
+
17975
+ type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
17976
+ Array<
17977
+ PickEnumerable<EnumsGroupByOutputType, T['by']> &
17978
+ {
17979
+ [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
17980
+ ? T[P] extends boolean
17981
+ ? number
17982
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
17983
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
17984
+ }
17985
+ >
17986
+ >
17987
+
17988
+
17989
+ export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17990
+ id?: boolean
17991
+ templateStatus?: boolean
17992
+ templateCategory?: boolean
17993
+ }, ExtArgs["result"]["enums"]>
17994
+
17995
+ export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17996
+ id?: boolean
17997
+ templateStatus?: boolean
17998
+ templateCategory?: boolean
17999
+ }, ExtArgs["result"]["enums"]>
18000
+
18001
+ export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18002
+ id?: boolean
18003
+ templateStatus?: boolean
18004
+ templateCategory?: boolean
18005
+ }, ExtArgs["result"]["enums"]>
18006
+
18007
+ export type EnumsSelectScalar = {
18008
+ id?: boolean
18009
+ templateStatus?: boolean
18010
+ templateCategory?: boolean
18011
+ }
18012
+
18013
+ export type EnumsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "templateStatus" | "templateCategory", ExtArgs["result"]["enums"]>
18014
+
18015
+ export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18016
+ name: "Enums"
18017
+ objects: {}
18018
+ scalars: $Extensions.GetPayloadResult<{
18019
+ id: string
18020
+ templateStatus: $Enums.TemplateStatus
18021
+ templateCategory: $Enums.TemplateCategory
18022
+ }, ExtArgs["result"]["enums"]>
18023
+ composites: {}
18024
+ }
18025
+
18026
+ type EnumsGetPayload<S extends boolean | null | undefined | EnumsDefaultArgs> = $Result.GetResult<Prisma.$EnumsPayload, S>
18027
+
18028
+ type EnumsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
18029
+ Omit<EnumsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
18030
+ select?: EnumsCountAggregateInputType | true
18031
+ }
18032
+
18033
+ export interface EnumsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
16732
18034
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Enums'], meta: { name: 'Enums' } }
16733
18035
  /**
16734
18036
  * Find zero or one Enums that matches the filter.
@@ -18813,10 +20115,10 @@ export namespace Prisma {
18813
20115
  id: 'id',
18814
20116
  eventId: 'eventId',
18815
20117
  type: 'type',
18816
- status: 'status',
18817
20118
  fullName: 'fullName',
18818
20119
  mail: 'mail',
18819
20120
  profileId: 'profileId',
20121
+ ticketGroupId: 'ticketGroupId',
18820
20122
  created_at: 'created_at',
18821
20123
  updated_at: 'updated_at'
18822
20124
  };
@@ -18824,6 +20126,18 @@ export namespace Prisma {
18824
20126
  export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum]
18825
20127
 
18826
20128
 
20129
+ export const TicketGroupScalarFieldEnum: {
20130
+ id: 'id',
20131
+ status: 'status',
20132
+ amountTickets: 'amountTickets',
20133
+ eventId: 'eventId',
20134
+ created_at: 'created_at',
20135
+ updated_at: 'updated_at'
20136
+ };
20137
+
20138
+ export type TicketGroupScalarFieldEnum = (typeof TicketGroupScalarFieldEnum)[keyof typeof TicketGroupScalarFieldEnum]
20139
+
20140
+
18827
20141
  export const EnumsScalarFieldEnum: {
18828
20142
  id: 'id',
18829
20143
  templateStatus: 'templateStatus',
@@ -19025,16 +20339,16 @@ export namespace Prisma {
19025
20339
 
19026
20340
 
19027
20341
  /**
19028
- * Reference to a field of type 'TicketStatus'
20342
+ * Reference to a field of type 'TicketGroupStatus'
19029
20343
  */
19030
- export type EnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus'>
20344
+ export type EnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus'>
19031
20345
 
19032
20346
 
19033
20347
 
19034
20348
  /**
19035
- * Reference to a field of type 'TicketStatus[]'
20349
+ * Reference to a field of type 'TicketGroupStatus[]'
19036
20350
  */
19037
- export type ListEnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus[]'>
20351
+ export type ListEnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus[]'>
19038
20352
 
19039
20353
 
19040
20354
 
@@ -19700,6 +21014,7 @@ export namespace Prisma {
19700
21014
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19701
21015
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19702
21016
  tickets?: TicketListRelationFilter
21017
+ ticketGroups?: TicketGroupListRelationFilter
19703
21018
  subEvents?: EventListRelationFilter
19704
21019
  tags?: TagListRelationFilter
19705
21020
  eventTickets?: EventTicketListRelationFilter
@@ -19724,6 +21039,7 @@ export namespace Prisma {
19724
21039
  tagConfirmed?: TagOrderByWithRelationInput
19725
21040
  supraEvent?: EventOrderByWithRelationInput
19726
21041
  tickets?: TicketOrderByRelationAggregateInput
21042
+ ticketGroups?: TicketGroupOrderByRelationAggregateInput
19727
21043
  subEvents?: EventOrderByRelationAggregateInput
19728
21044
  tags?: TagOrderByRelationAggregateInput
19729
21045
  eventTickets?: EventTicketOrderByRelationAggregateInput
@@ -19751,6 +21067,7 @@ export namespace Prisma {
19751
21067
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19752
21068
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19753
21069
  tickets?: TicketListRelationFilter
21070
+ ticketGroups?: TicketGroupListRelationFilter
19754
21071
  subEvents?: EventListRelationFilter
19755
21072
  tags?: TagListRelationFilter
19756
21073
  eventTickets?: EventTicketListRelationFilter
@@ -19973,28 +21290,30 @@ export namespace Prisma {
19973
21290
  id?: StringFilter<"Ticket"> | string
19974
21291
  eventId?: StringFilter<"Ticket"> | string
19975
21292
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
19976
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
19977
21293
  fullName?: StringFilter<"Ticket"> | string
19978
21294
  mail?: StringFilter<"Ticket"> | string
19979
21295
  profileId?: StringNullableFilter<"Ticket"> | string | null
21296
+ ticketGroupId?: StringFilter<"Ticket"> | string
19980
21297
  created_at?: DateTimeFilter<"Ticket"> | Date | string
19981
21298
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
19982
21299
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
19983
21300
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21301
+ ticketGroup?: XOR<TicketGroupScalarRelationFilter, TicketGroupWhereInput>
19984
21302
  }
19985
21303
 
19986
21304
  export type TicketOrderByWithRelationInput = {
19987
21305
  id?: SortOrder
19988
21306
  eventId?: SortOrder
19989
21307
  type?: SortOrder
19990
- status?: SortOrder
19991
21308
  fullName?: SortOrder
19992
21309
  mail?: SortOrder
19993
21310
  profileId?: SortOrderInput | SortOrder
21311
+ ticketGroupId?: SortOrder
19994
21312
  created_at?: SortOrder
19995
21313
  updated_at?: SortOrder
19996
21314
  event?: EventOrderByWithRelationInput
19997
21315
  profile?: ProfileOrderByWithRelationInput
21316
+ ticketGroup?: TicketGroupOrderByWithRelationInput
19998
21317
  }
19999
21318
 
20000
21319
  export type TicketWhereUniqueInput = Prisma.AtLeast<{
@@ -20004,24 +21323,25 @@ export namespace Prisma {
20004
21323
  NOT?: TicketWhereInput | TicketWhereInput[]
20005
21324
  eventId?: StringFilter<"Ticket"> | string
20006
21325
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20007
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20008
21326
  fullName?: StringFilter<"Ticket"> | string
20009
21327
  mail?: StringFilter<"Ticket"> | string
20010
21328
  profileId?: StringNullableFilter<"Ticket"> | string | null
21329
+ ticketGroupId?: StringFilter<"Ticket"> | string
20011
21330
  created_at?: DateTimeFilter<"Ticket"> | Date | string
20012
21331
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
20013
21332
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20014
21333
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21334
+ ticketGroup?: XOR<TicketGroupScalarRelationFilter, TicketGroupWhereInput>
20015
21335
  }, "id">
20016
21336
 
20017
21337
  export type TicketOrderByWithAggregationInput = {
20018
21338
  id?: SortOrder
20019
21339
  eventId?: SortOrder
20020
21340
  type?: SortOrder
20021
- status?: SortOrder
20022
21341
  fullName?: SortOrder
20023
21342
  mail?: SortOrder
20024
21343
  profileId?: SortOrderInput | SortOrder
21344
+ ticketGroupId?: SortOrder
20025
21345
  created_at?: SortOrder
20026
21346
  updated_at?: SortOrder
20027
21347
  _count?: TicketCountOrderByAggregateInput
@@ -20036,14 +21356,79 @@ export namespace Prisma {
20036
21356
  id?: StringWithAggregatesFilter<"Ticket"> | string
20037
21357
  eventId?: StringWithAggregatesFilter<"Ticket"> | string
20038
21358
  type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
20039
- status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
20040
21359
  fullName?: StringWithAggregatesFilter<"Ticket"> | string
20041
21360
  mail?: StringWithAggregatesFilter<"Ticket"> | string
20042
21361
  profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
21362
+ ticketGroupId?: StringWithAggregatesFilter<"Ticket"> | string
20043
21363
  created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
20044
21364
  updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
20045
21365
  }
20046
21366
 
21367
+ export type TicketGroupWhereInput = {
21368
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21369
+ OR?: TicketGroupWhereInput[]
21370
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21371
+ id?: StringFilter<"TicketGroup"> | string
21372
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21373
+ amountTickets?: IntFilter<"TicketGroup"> | number
21374
+ eventId?: StringFilter<"TicketGroup"> | string
21375
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21376
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21377
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21378
+ tickets?: TicketListRelationFilter
21379
+ }
21380
+
21381
+ export type TicketGroupOrderByWithRelationInput = {
21382
+ id?: SortOrder
21383
+ status?: SortOrder
21384
+ amountTickets?: SortOrder
21385
+ eventId?: SortOrder
21386
+ created_at?: SortOrder
21387
+ updated_at?: SortOrder
21388
+ event?: EventOrderByWithRelationInput
21389
+ tickets?: TicketOrderByRelationAggregateInput
21390
+ }
21391
+
21392
+ export type TicketGroupWhereUniqueInput = Prisma.AtLeast<{
21393
+ id?: string
21394
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21395
+ OR?: TicketGroupWhereInput[]
21396
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21397
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21398
+ amountTickets?: IntFilter<"TicketGroup"> | number
21399
+ eventId?: StringFilter<"TicketGroup"> | string
21400
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21401
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21402
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21403
+ tickets?: TicketListRelationFilter
21404
+ }, "id">
21405
+
21406
+ export type TicketGroupOrderByWithAggregationInput = {
21407
+ id?: SortOrder
21408
+ status?: SortOrder
21409
+ amountTickets?: SortOrder
21410
+ eventId?: SortOrder
21411
+ created_at?: SortOrder
21412
+ updated_at?: SortOrder
21413
+ _count?: TicketGroupCountOrderByAggregateInput
21414
+ _avg?: TicketGroupAvgOrderByAggregateInput
21415
+ _max?: TicketGroupMaxOrderByAggregateInput
21416
+ _min?: TicketGroupMinOrderByAggregateInput
21417
+ _sum?: TicketGroupSumOrderByAggregateInput
21418
+ }
21419
+
21420
+ export type TicketGroupScalarWhereWithAggregatesInput = {
21421
+ AND?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21422
+ OR?: TicketGroupScalarWhereWithAggregatesInput[]
21423
+ NOT?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21424
+ id?: StringWithAggregatesFilter<"TicketGroup"> | string
21425
+ status?: EnumTicketGroupStatusWithAggregatesFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21426
+ amountTickets?: IntWithAggregatesFilter<"TicketGroup"> | number
21427
+ eventId?: StringWithAggregatesFilter<"TicketGroup"> | string
21428
+ created_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
21429
+ updated_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
21430
+ }
21431
+
20047
21432
  export type EnumsWhereInput = {
20048
21433
  AND?: EnumsWhereInput | EnumsWhereInput[]
20049
21434
  OR?: EnumsWhereInput[]
@@ -20856,6 +22241,7 @@ export namespace Prisma {
20856
22241
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20857
22242
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20858
22243
  tickets?: TicketCreateNestedManyWithoutEventInput
22244
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
20859
22245
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
20860
22246
  tags?: TagCreateNestedManyWithoutEventInput
20861
22247
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -20876,6 +22262,7 @@ export namespace Prisma {
20876
22262
  created_at?: Date | string
20877
22263
  updated_at?: Date | string
20878
22264
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
22265
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
20879
22266
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20880
22267
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
20881
22268
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -20896,6 +22283,7 @@ export namespace Prisma {
20896
22283
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
20897
22284
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
20898
22285
  tickets?: TicketUpdateManyWithoutEventNestedInput
22286
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
20899
22287
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
20900
22288
  tags?: TagUpdateManyWithoutEventNestedInput
20901
22289
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -20916,6 +22304,7 @@ export namespace Prisma {
20916
22304
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20917
22305
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20918
22306
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
22307
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
20919
22308
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
20920
22309
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
20921
22310
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -21153,23 +22542,23 @@ export namespace Prisma {
21153
22542
  export type TicketCreateInput = {
21154
22543
  id?: string
21155
22544
  type: $Enums.TicketType
21156
- status: $Enums.TicketStatus
21157
22545
  fullName: string
21158
22546
  mail: string
21159
22547
  created_at?: Date | string
21160
22548
  updated_at?: Date | string
21161
22549
  event: EventCreateNestedOneWithoutTicketsInput
21162
22550
  profile?: ProfileCreateNestedOneWithoutTicketInput
22551
+ ticketGroup: TicketGroupCreateNestedOneWithoutTicketsInput
21163
22552
  }
21164
22553
 
21165
22554
  export type TicketUncheckedCreateInput = {
21166
22555
  id?: string
21167
22556
  eventId: string
21168
22557
  type: $Enums.TicketType
21169
- status: $Enums.TicketStatus
21170
22558
  fullName: string
21171
22559
  mail: string
21172
22560
  profileId?: string | null
22561
+ ticketGroupId: string
21173
22562
  created_at?: Date | string
21174
22563
  updated_at?: Date | string
21175
22564
  }
@@ -21177,23 +22566,23 @@ export namespace Prisma {
21177
22566
  export type TicketUpdateInput = {
21178
22567
  id?: StringFieldUpdateOperationsInput | string
21179
22568
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21180
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21181
22569
  fullName?: StringFieldUpdateOperationsInput | string
21182
22570
  mail?: StringFieldUpdateOperationsInput | string
21183
22571
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21184
22572
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21185
22573
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
21186
22574
  profile?: ProfileUpdateOneWithoutTicketNestedInput
22575
+ ticketGroup?: TicketGroupUpdateOneRequiredWithoutTicketsNestedInput
21187
22576
  }
21188
22577
 
21189
22578
  export type TicketUncheckedUpdateInput = {
21190
22579
  id?: StringFieldUpdateOperationsInput | string
21191
22580
  eventId?: StringFieldUpdateOperationsInput | string
21192
22581
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21193
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21194
22582
  fullName?: StringFieldUpdateOperationsInput | string
21195
22583
  mail?: StringFieldUpdateOperationsInput | string
21196
22584
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22585
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
21197
22586
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21198
22587
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21199
22588
  }
@@ -21202,10 +22591,10 @@ export namespace Prisma {
21202
22591
  id?: string
21203
22592
  eventId: string
21204
22593
  type: $Enums.TicketType
21205
- status: $Enums.TicketStatus
21206
22594
  fullName: string
21207
22595
  mail: string
21208
22596
  profileId?: string | null
22597
+ ticketGroupId: string
21209
22598
  created_at?: Date | string
21210
22599
  updated_at?: Date | string
21211
22600
  }
@@ -21213,7 +22602,6 @@ export namespace Prisma {
21213
22602
  export type TicketUpdateManyMutationInput = {
21214
22603
  id?: StringFieldUpdateOperationsInput | string
21215
22604
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21216
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21217
22605
  fullName?: StringFieldUpdateOperationsInput | string
21218
22606
  mail?: StringFieldUpdateOperationsInput | string
21219
22607
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -21224,10 +22612,76 @@ export namespace Prisma {
21224
22612
  id?: StringFieldUpdateOperationsInput | string
21225
22613
  eventId?: StringFieldUpdateOperationsInput | string
21226
22614
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21227
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21228
22615
  fullName?: StringFieldUpdateOperationsInput | string
21229
22616
  mail?: StringFieldUpdateOperationsInput | string
21230
22617
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22618
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
22619
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22620
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22621
+ }
22622
+
22623
+ export type TicketGroupCreateInput = {
22624
+ id?: string
22625
+ status: $Enums.TicketGroupStatus
22626
+ amountTickets?: number
22627
+ created_at?: Date | string
22628
+ updated_at?: Date | string
22629
+ event: EventCreateNestedOneWithoutTicketGroupsInput
22630
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
22631
+ }
22632
+
22633
+ export type TicketGroupUncheckedCreateInput = {
22634
+ id?: string
22635
+ status: $Enums.TicketGroupStatus
22636
+ amountTickets?: number
22637
+ eventId: string
22638
+ created_at?: Date | string
22639
+ updated_at?: Date | string
22640
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
22641
+ }
22642
+
22643
+ export type TicketGroupUpdateInput = {
22644
+ id?: StringFieldUpdateOperationsInput | string
22645
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22646
+ amountTickets?: IntFieldUpdateOperationsInput | number
22647
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22648
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22649
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
22650
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
22651
+ }
22652
+
22653
+ export type TicketGroupUncheckedUpdateInput = {
22654
+ id?: StringFieldUpdateOperationsInput | string
22655
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22656
+ amountTickets?: IntFieldUpdateOperationsInput | number
22657
+ eventId?: StringFieldUpdateOperationsInput | string
22658
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22659
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22660
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
22661
+ }
22662
+
22663
+ export type TicketGroupCreateManyInput = {
22664
+ id?: string
22665
+ status: $Enums.TicketGroupStatus
22666
+ amountTickets?: number
22667
+ eventId: string
22668
+ created_at?: Date | string
22669
+ updated_at?: Date | string
22670
+ }
22671
+
22672
+ export type TicketGroupUpdateManyMutationInput = {
22673
+ id?: StringFieldUpdateOperationsInput | string
22674
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22675
+ amountTickets?: IntFieldUpdateOperationsInput | number
22676
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22677
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22678
+ }
22679
+
22680
+ export type TicketGroupUncheckedUpdateManyInput = {
22681
+ id?: StringFieldUpdateOperationsInput | string
22682
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22683
+ amountTickets?: IntFieldUpdateOperationsInput | number
22684
+ eventId?: StringFieldUpdateOperationsInput | string
21231
22685
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21232
22686
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21233
22687
  }
@@ -21979,12 +23433,22 @@ export namespace Prisma {
21979
23433
  isNot?: TagWhereInput
21980
23434
  }
21981
23435
 
23436
+ export type TicketGroupListRelationFilter = {
23437
+ every?: TicketGroupWhereInput
23438
+ some?: TicketGroupWhereInput
23439
+ none?: TicketGroupWhereInput
23440
+ }
23441
+
21982
23442
  export type EventTicketListRelationFilter = {
21983
23443
  every?: EventTicketWhereInput
21984
23444
  some?: EventTicketWhereInput
21985
23445
  none?: EventTicketWhereInput
21986
23446
  }
21987
23447
 
23448
+ export type TicketGroupOrderByRelationAggregateInput = {
23449
+ _count?: SortOrder
23450
+ }
23451
+
21988
23452
  export type EventTicketOrderByRelationAggregateInput = {
21989
23453
  _count?: SortOrder
21990
23454
  }
@@ -22186,13 +23650,6 @@ export namespace Prisma {
22186
23650
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
22187
23651
  }
22188
23652
 
22189
- export type EnumTicketStatusFilter<$PrismaModel = never> = {
22190
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
22191
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22192
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22193
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
22194
- }
22195
-
22196
23653
  export type EventScalarRelationFilter = {
22197
23654
  is?: EventWhereInput
22198
23655
  isNot?: EventWhereInput
@@ -22203,14 +23660,19 @@ export namespace Prisma {
22203
23660
  isNot?: ProfileWhereInput | null
22204
23661
  }
22205
23662
 
23663
+ export type TicketGroupScalarRelationFilter = {
23664
+ is?: TicketGroupWhereInput
23665
+ isNot?: TicketGroupWhereInput
23666
+ }
23667
+
22206
23668
  export type TicketCountOrderByAggregateInput = {
22207
23669
  id?: SortOrder
22208
23670
  eventId?: SortOrder
22209
23671
  type?: SortOrder
22210
- status?: SortOrder
22211
23672
  fullName?: SortOrder
22212
23673
  mail?: SortOrder
22213
23674
  profileId?: SortOrder
23675
+ ticketGroupId?: SortOrder
22214
23676
  created_at?: SortOrder
22215
23677
  updated_at?: SortOrder
22216
23678
  }
@@ -22219,10 +23681,10 @@ export namespace Prisma {
22219
23681
  id?: SortOrder
22220
23682
  eventId?: SortOrder
22221
23683
  type?: SortOrder
22222
- status?: SortOrder
22223
23684
  fullName?: SortOrder
22224
23685
  mail?: SortOrder
22225
23686
  profileId?: SortOrder
23687
+ ticketGroupId?: SortOrder
22226
23688
  created_at?: SortOrder
22227
23689
  updated_at?: SortOrder
22228
23690
  }
@@ -22231,10 +23693,10 @@ export namespace Prisma {
22231
23693
  id?: SortOrder
22232
23694
  eventId?: SortOrder
22233
23695
  type?: SortOrder
22234
- status?: SortOrder
22235
23696
  fullName?: SortOrder
22236
23697
  mail?: SortOrder
22237
23698
  profileId?: SortOrder
23699
+ ticketGroupId?: SortOrder
22238
23700
  created_at?: SortOrder
22239
23701
  updated_at?: SortOrder
22240
23702
  }
@@ -22249,14 +23711,56 @@ export namespace Prisma {
22249
23711
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
22250
23712
  }
22251
23713
 
22252
- export type EnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
22253
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
22254
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22255
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
22256
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
23714
+ export type EnumTicketGroupStatusFilter<$PrismaModel = never> = {
23715
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23716
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23717
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23718
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
23719
+ }
23720
+
23721
+ export type TicketGroupCountOrderByAggregateInput = {
23722
+ id?: SortOrder
23723
+ status?: SortOrder
23724
+ amountTickets?: SortOrder
23725
+ eventId?: SortOrder
23726
+ created_at?: SortOrder
23727
+ updated_at?: SortOrder
23728
+ }
23729
+
23730
+ export type TicketGroupAvgOrderByAggregateInput = {
23731
+ amountTickets?: SortOrder
23732
+ }
23733
+
23734
+ export type TicketGroupMaxOrderByAggregateInput = {
23735
+ id?: SortOrder
23736
+ status?: SortOrder
23737
+ amountTickets?: SortOrder
23738
+ eventId?: SortOrder
23739
+ created_at?: SortOrder
23740
+ updated_at?: SortOrder
23741
+ }
23742
+
23743
+ export type TicketGroupMinOrderByAggregateInput = {
23744
+ id?: SortOrder
23745
+ status?: SortOrder
23746
+ amountTickets?: SortOrder
23747
+ eventId?: SortOrder
23748
+ created_at?: SortOrder
23749
+ updated_at?: SortOrder
23750
+ }
23751
+
23752
+ export type TicketGroupSumOrderByAggregateInput = {
23753
+ amountTickets?: SortOrder
23754
+ }
23755
+
23756
+ export type EnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
23757
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23758
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23759
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23760
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
22257
23761
  _count?: NestedIntFilter<$PrismaModel>
22258
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
22259
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
23762
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
23763
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
22260
23764
  }
22261
23765
 
22262
23766
  export type EnumTemplateStatusFilter<$PrismaModel = never> = {
@@ -23310,6 +24814,13 @@ export namespace Prisma {
23310
24814
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23311
24815
  }
23312
24816
 
24817
+ export type TicketGroupCreateNestedManyWithoutEventInput = {
24818
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24819
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24820
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24821
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24822
+ }
24823
+
23313
24824
  export type EventCreateNestedManyWithoutSupraEventInput = {
23314
24825
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23315
24826
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23337,6 +24848,13 @@ export namespace Prisma {
23337
24848
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23338
24849
  }
23339
24850
 
24851
+ export type TicketGroupUncheckedCreateNestedManyWithoutEventInput = {
24852
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24853
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24854
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24855
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24856
+ }
24857
+
23340
24858
  export type EventUncheckedCreateNestedManyWithoutSupraEventInput = {
23341
24859
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23342
24860
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23407,6 +24925,20 @@ export namespace Prisma {
23407
24925
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23408
24926
  }
23409
24927
 
24928
+ export type TicketGroupUpdateManyWithoutEventNestedInput = {
24929
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24930
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24931
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
24932
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24933
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24934
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24935
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24936
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24937
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
24938
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
24939
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
24940
+ }
24941
+
23410
24942
  export type EventUpdateManyWithoutSupraEventNestedInput = {
23411
24943
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23412
24944
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23462,6 +24994,20 @@ export namespace Prisma {
23462
24994
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23463
24995
  }
23464
24996
 
24997
+ export type TicketGroupUncheckedUpdateManyWithoutEventNestedInput = {
24998
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24999
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
25000
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
25001
+ createMany?: TicketGroupCreateManyEventInputEnvelope
25002
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25003
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25004
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25005
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25006
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
25007
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
25008
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
25009
+ }
25010
+
23465
25011
  export type EventUncheckedUpdateManyWithoutSupraEventNestedInput = {
23466
25012
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23467
25013
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23575,12 +25121,14 @@ export namespace Prisma {
23575
25121
  connect?: ProfileWhereUniqueInput
23576
25122
  }
23577
25123
 
23578
- export type EnumTicketTypeFieldUpdateOperationsInput = {
23579
- set?: $Enums.TicketType
25124
+ export type TicketGroupCreateNestedOneWithoutTicketsInput = {
25125
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25126
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25127
+ connect?: TicketGroupWhereUniqueInput
23580
25128
  }
23581
25129
 
23582
- export type EnumTicketStatusFieldUpdateOperationsInput = {
23583
- set?: $Enums.TicketStatus
25130
+ export type EnumTicketTypeFieldUpdateOperationsInput = {
25131
+ set?: $Enums.TicketType
23584
25132
  }
23585
25133
 
23586
25134
  export type EventUpdateOneRequiredWithoutTicketsNestedInput = {
@@ -23588,17 +25136,85 @@ export namespace Prisma {
23588
25136
  connectOrCreate?: EventCreateOrConnectWithoutTicketsInput
23589
25137
  upsert?: EventUpsertWithoutTicketsInput
23590
25138
  connect?: EventWhereUniqueInput
23591
- update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketsInput, EventUpdateWithoutTicketsInput>, EventUncheckedUpdateWithoutTicketsInput>
25139
+ update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketsInput, EventUpdateWithoutTicketsInput>, EventUncheckedUpdateWithoutTicketsInput>
25140
+ }
25141
+
25142
+ export type ProfileUpdateOneWithoutTicketNestedInput = {
25143
+ create?: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
25144
+ connectOrCreate?: ProfileCreateOrConnectWithoutTicketInput
25145
+ upsert?: ProfileUpsertWithoutTicketInput
25146
+ disconnect?: ProfileWhereInput | boolean
25147
+ delete?: ProfileWhereInput | boolean
25148
+ connect?: ProfileWhereUniqueInput
25149
+ update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutTicketInput, ProfileUpdateWithoutTicketInput>, ProfileUncheckedUpdateWithoutTicketInput>
25150
+ }
25151
+
25152
+ export type TicketGroupUpdateOneRequiredWithoutTicketsNestedInput = {
25153
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25154
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25155
+ upsert?: TicketGroupUpsertWithoutTicketsInput
25156
+ connect?: TicketGroupWhereUniqueInput
25157
+ update?: XOR<XOR<TicketGroupUpdateToOneWithWhereWithoutTicketsInput, TicketGroupUpdateWithoutTicketsInput>, TicketGroupUncheckedUpdateWithoutTicketsInput>
25158
+ }
25159
+
25160
+ export type EventCreateNestedOneWithoutTicketGroupsInput = {
25161
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25162
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25163
+ connect?: EventWhereUniqueInput
25164
+ }
25165
+
25166
+ export type TicketCreateNestedManyWithoutTicketGroupInput = {
25167
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25168
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25169
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25170
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25171
+ }
25172
+
25173
+ export type TicketUncheckedCreateNestedManyWithoutTicketGroupInput = {
25174
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25175
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25176
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25177
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25178
+ }
25179
+
25180
+ export type EnumTicketGroupStatusFieldUpdateOperationsInput = {
25181
+ set?: $Enums.TicketGroupStatus
25182
+ }
25183
+
25184
+ export type EventUpdateOneRequiredWithoutTicketGroupsNestedInput = {
25185
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25186
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25187
+ upsert?: EventUpsertWithoutTicketGroupsInput
25188
+ connect?: EventWhereUniqueInput
25189
+ update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketGroupsInput, EventUpdateWithoutTicketGroupsInput>, EventUncheckedUpdateWithoutTicketGroupsInput>
23592
25190
  }
23593
25191
 
23594
- export type ProfileUpdateOneWithoutTicketNestedInput = {
23595
- create?: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
23596
- connectOrCreate?: ProfileCreateOrConnectWithoutTicketInput
23597
- upsert?: ProfileUpsertWithoutTicketInput
23598
- disconnect?: ProfileWhereInput | boolean
23599
- delete?: ProfileWhereInput | boolean
23600
- connect?: ProfileWhereUniqueInput
23601
- update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutTicketInput, ProfileUpdateWithoutTicketInput>, ProfileUncheckedUpdateWithoutTicketInput>
25192
+ export type TicketUpdateManyWithoutTicketGroupNestedInput = {
25193
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25194
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25195
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25196
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25197
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25198
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25199
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25200
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25201
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25202
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25203
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
25204
+ }
25205
+
25206
+ export type TicketUncheckedUpdateManyWithoutTicketGroupNestedInput = {
25207
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25208
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25209
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25210
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25211
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25212
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25213
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25214
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25215
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25216
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25217
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23602
25218
  }
23603
25219
 
23604
25220
  export type EnumTemplateStatusFieldUpdateOperationsInput = {
@@ -23910,13 +25526,6 @@ export namespace Prisma {
23910
25526
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
23911
25527
  }
23912
25528
 
23913
- export type NestedEnumTicketStatusFilter<$PrismaModel = never> = {
23914
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
23915
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
23916
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
23917
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
23918
- }
23919
-
23920
25529
  export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
23921
25530
  equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
23922
25531
  in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
@@ -23927,14 +25536,21 @@ export namespace Prisma {
23927
25536
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
23928
25537
  }
23929
25538
 
23930
- export type NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
23931
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
23932
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
23933
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
23934
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
25539
+ export type NestedEnumTicketGroupStatusFilter<$PrismaModel = never> = {
25540
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25541
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25542
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25543
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
25544
+ }
25545
+
25546
+ export type NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
25547
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25548
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25549
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25550
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
23935
25551
  _count?: NestedIntFilter<$PrismaModel>
23936
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
23937
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
25552
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
25553
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
23938
25554
  }
23939
25555
 
23940
25556
  export type NestedEnumTemplateStatusFilter<$PrismaModel = never> = {
@@ -24422,21 +26038,21 @@ export namespace Prisma {
24422
26038
  export type TicketCreateWithoutProfileInput = {
24423
26039
  id?: string
24424
26040
  type: $Enums.TicketType
24425
- status: $Enums.TicketStatus
24426
26041
  fullName: string
24427
26042
  mail: string
24428
26043
  created_at?: Date | string
24429
26044
  updated_at?: Date | string
24430
26045
  event: EventCreateNestedOneWithoutTicketsInput
26046
+ ticketGroup: TicketGroupCreateNestedOneWithoutTicketsInput
24431
26047
  }
24432
26048
 
24433
26049
  export type TicketUncheckedCreateWithoutProfileInput = {
24434
26050
  id?: string
24435
26051
  eventId: string
24436
26052
  type: $Enums.TicketType
24437
- status: $Enums.TicketStatus
24438
26053
  fullName: string
24439
26054
  mail: string
26055
+ ticketGroupId: string
24440
26056
  created_at?: Date | string
24441
26057
  updated_at?: Date | string
24442
26058
  }
@@ -24633,10 +26249,10 @@ export namespace Prisma {
24633
26249
  id?: StringFilter<"Ticket"> | string
24634
26250
  eventId?: StringFilter<"Ticket"> | string
24635
26251
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
24636
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
24637
26252
  fullName?: StringFilter<"Ticket"> | string
24638
26253
  mail?: StringFilter<"Ticket"> | string
24639
26254
  profileId?: StringNullableFilter<"Ticket"> | string | null
26255
+ ticketGroupId?: StringFilter<"Ticket"> | string
24640
26256
  created_at?: DateTimeFilter<"Ticket"> | Date | string
24641
26257
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
24642
26258
  }
@@ -25308,6 +26924,7 @@ export namespace Prisma {
25308
26924
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25309
26925
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25310
26926
  tickets?: TicketCreateNestedManyWithoutEventInput
26927
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25311
26928
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25312
26929
  tags?: TagCreateNestedManyWithoutEventInput
25313
26930
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25327,6 +26944,7 @@ export namespace Prisma {
25327
26944
  created_at?: Date | string
25328
26945
  updated_at?: Date | string
25329
26946
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
26947
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25330
26948
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25331
26949
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25332
26950
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25351,6 +26969,7 @@ export namespace Prisma {
25351
26969
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
25352
26970
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25353
26971
  tickets?: TicketCreateNestedManyWithoutEventInput
26972
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25354
26973
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25355
26974
  tags?: TagCreateNestedManyWithoutEventInput
25356
26975
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25370,6 +26989,7 @@ export namespace Prisma {
25370
26989
  created_at?: Date | string
25371
26990
  updated_at?: Date | string
25372
26991
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
26992
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25373
26993
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25374
26994
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25375
26995
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25528,6 +27148,7 @@ export namespace Prisma {
25528
27148
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25529
27149
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25530
27150
  tickets?: TicketCreateNestedManyWithoutEventInput
27151
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25531
27152
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25532
27153
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
25533
27154
  }
@@ -25547,6 +27168,7 @@ export namespace Prisma {
25547
27168
  created_at?: Date | string
25548
27169
  updated_at?: Date | string
25549
27170
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27171
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25550
27172
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25551
27173
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
25552
27174
  }
@@ -25610,6 +27232,7 @@ export namespace Prisma {
25610
27232
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
25611
27233
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25612
27234
  tickets?: TicketUpdateManyWithoutEventNestedInput
27235
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25613
27236
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25614
27237
  tags?: TagUpdateManyWithoutEventNestedInput
25615
27238
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25629,6 +27252,7 @@ export namespace Prisma {
25629
27252
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25630
27253
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25631
27254
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27255
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25632
27256
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25633
27257
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25634
27258
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -25659,6 +27283,7 @@ export namespace Prisma {
25659
27283
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
25660
27284
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25661
27285
  tickets?: TicketUpdateManyWithoutEventNestedInput
27286
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25662
27287
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25663
27288
  tags?: TagUpdateManyWithoutEventNestedInput
25664
27289
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25678,6 +27303,7 @@ export namespace Prisma {
25678
27303
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25679
27304
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25680
27305
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27306
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25681
27307
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25682
27308
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25683
27309
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -25936,6 +27562,7 @@ export namespace Prisma {
25936
27562
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25937
27563
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25938
27564
  tickets?: TicketCreateNestedManyWithoutEventInput
27565
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25939
27566
  tags?: TagCreateNestedManyWithoutEventInput
25940
27567
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
25941
27568
  }
@@ -25955,6 +27582,7 @@ export namespace Prisma {
25955
27582
  created_at?: Date | string
25956
27583
  updated_at?: Date | string
25957
27584
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27585
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25958
27586
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25959
27587
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
25960
27588
  }
@@ -25967,21 +27595,21 @@ export namespace Prisma {
25967
27595
  export type TicketCreateWithoutEventInput = {
25968
27596
  id?: string
25969
27597
  type: $Enums.TicketType
25970
- status: $Enums.TicketStatus
25971
27598
  fullName: string
25972
27599
  mail: string
25973
27600
  created_at?: Date | string
25974
27601
  updated_at?: Date | string
25975
27602
  profile?: ProfileCreateNestedOneWithoutTicketInput
27603
+ ticketGroup: TicketGroupCreateNestedOneWithoutTicketsInput
25976
27604
  }
25977
27605
 
25978
27606
  export type TicketUncheckedCreateWithoutEventInput = {
25979
27607
  id?: string
25980
27608
  type: $Enums.TicketType
25981
- status: $Enums.TicketStatus
25982
27609
  fullName: string
25983
27610
  mail: string
25984
27611
  profileId?: string | null
27612
+ ticketGroupId: string
25985
27613
  created_at?: Date | string
25986
27614
  updated_at?: Date | string
25987
27615
  }
@@ -25996,6 +27624,34 @@ export namespace Prisma {
25996
27624
  skipDuplicates?: boolean
25997
27625
  }
25998
27626
 
27627
+ export type TicketGroupCreateWithoutEventInput = {
27628
+ id?: string
27629
+ status: $Enums.TicketGroupStatus
27630
+ amountTickets?: number
27631
+ created_at?: Date | string
27632
+ updated_at?: Date | string
27633
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
27634
+ }
27635
+
27636
+ export type TicketGroupUncheckedCreateWithoutEventInput = {
27637
+ id?: string
27638
+ status: $Enums.TicketGroupStatus
27639
+ amountTickets?: number
27640
+ created_at?: Date | string
27641
+ updated_at?: Date | string
27642
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
27643
+ }
27644
+
27645
+ export type TicketGroupCreateOrConnectWithoutEventInput = {
27646
+ where: TicketGroupWhereUniqueInput
27647
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
27648
+ }
27649
+
27650
+ export type TicketGroupCreateManyEventInputEnvelope = {
27651
+ data: TicketGroupCreateManyEventInput | TicketGroupCreateManyEventInput[]
27652
+ skipDuplicates?: boolean
27653
+ }
27654
+
25999
27655
  export type EventCreateWithoutSupraEventInput = {
26000
27656
  id?: string
26001
27657
  name: string
@@ -26010,6 +27666,7 @@ export namespace Prisma {
26010
27666
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26011
27667
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26012
27668
  tickets?: TicketCreateNestedManyWithoutEventInput
27669
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26013
27670
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26014
27671
  tags?: TagCreateNestedManyWithoutEventInput
26015
27672
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26029,6 +27686,7 @@ export namespace Prisma {
26029
27686
  created_at?: Date | string
26030
27687
  updated_at?: Date | string
26031
27688
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27689
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26032
27690
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26033
27691
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26034
27692
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26236,6 +27894,7 @@ export namespace Prisma {
26236
27894
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26237
27895
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26238
27896
  tickets?: TicketUpdateManyWithoutEventNestedInput
27897
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26239
27898
  tags?: TagUpdateManyWithoutEventNestedInput
26240
27899
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
26241
27900
  }
@@ -26255,6 +27914,7 @@ export namespace Prisma {
26255
27914
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26256
27915
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26257
27916
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27917
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26258
27918
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26259
27919
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
26260
27920
  }
@@ -26275,6 +27935,34 @@ export namespace Prisma {
26275
27935
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
26276
27936
  }
26277
27937
 
27938
+ export type TicketGroupUpsertWithWhereUniqueWithoutEventInput = {
27939
+ where: TicketGroupWhereUniqueInput
27940
+ update: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
27941
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
27942
+ }
27943
+
27944
+ export type TicketGroupUpdateWithWhereUniqueWithoutEventInput = {
27945
+ where: TicketGroupWhereUniqueInput
27946
+ data: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
27947
+ }
27948
+
27949
+ export type TicketGroupUpdateManyWithWhereWithoutEventInput = {
27950
+ where: TicketGroupScalarWhereInput
27951
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutEventInput>
27952
+ }
27953
+
27954
+ export type TicketGroupScalarWhereInput = {
27955
+ AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27956
+ OR?: TicketGroupScalarWhereInput[]
27957
+ NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
27958
+ id?: StringFilter<"TicketGroup"> | string
27959
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
27960
+ amountTickets?: IntFilter<"TicketGroup"> | number
27961
+ eventId?: StringFilter<"TicketGroup"> | string
27962
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
27963
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
27964
+ }
27965
+
26278
27966
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
26279
27967
  where: EventWhereUniqueInput
26280
27968
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -26350,6 +28038,7 @@ export namespace Prisma {
26350
28038
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26351
28039
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26352
28040
  tickets?: TicketCreateNestedManyWithoutEventInput
28041
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26353
28042
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26354
28043
  tags?: TagCreateNestedManyWithoutEventInput
26355
28044
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26369,6 +28058,7 @@ export namespace Prisma {
26369
28058
  created_at?: Date | string
26370
28059
  updated_at?: Date | string
26371
28060
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28061
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26372
28062
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26373
28063
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26374
28064
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26554,6 +28244,7 @@ export namespace Prisma {
26554
28244
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26555
28245
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26556
28246
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28247
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26557
28248
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26558
28249
  tags?: TagCreateNestedManyWithoutEventInput
26559
28250
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26573,6 +28264,7 @@ export namespace Prisma {
26573
28264
  active?: boolean
26574
28265
  created_at?: Date | string
26575
28266
  updated_at?: Date | string
28267
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26576
28268
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26577
28269
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26578
28270
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26650,6 +28342,29 @@ export namespace Prisma {
26650
28342
  create: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
26651
28343
  }
26652
28344
 
28345
+ export type TicketGroupCreateWithoutTicketsInput = {
28346
+ id?: string
28347
+ status: $Enums.TicketGroupStatus
28348
+ amountTickets?: number
28349
+ created_at?: Date | string
28350
+ updated_at?: Date | string
28351
+ event: EventCreateNestedOneWithoutTicketGroupsInput
28352
+ }
28353
+
28354
+ export type TicketGroupUncheckedCreateWithoutTicketsInput = {
28355
+ id?: string
28356
+ status: $Enums.TicketGroupStatus
28357
+ amountTickets?: number
28358
+ eventId: string
28359
+ created_at?: Date | string
28360
+ updated_at?: Date | string
28361
+ }
28362
+
28363
+ export type TicketGroupCreateOrConnectWithoutTicketsInput = {
28364
+ where: TicketGroupWhereUniqueInput
28365
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28366
+ }
28367
+
26653
28368
  export type EventUpsertWithoutTicketsInput = {
26654
28369
  update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
26655
28370
  create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
@@ -26675,6 +28390,7 @@ export namespace Prisma {
26675
28390
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
26676
28391
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26677
28392
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28393
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26678
28394
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26679
28395
  tags?: TagUpdateManyWithoutEventNestedInput
26680
28396
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -26694,6 +28410,7 @@ export namespace Prisma {
26694
28410
  active?: BoolFieldUpdateOperationsInput | boolean
26695
28411
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26696
28412
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28413
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26697
28414
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26698
28415
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26699
28416
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -26772,6 +28489,179 @@ export namespace Prisma {
26772
28489
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
26773
28490
  }
26774
28491
 
28492
+ export type TicketGroupUpsertWithoutTicketsInput = {
28493
+ update: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28494
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28495
+ where?: TicketGroupWhereInput
28496
+ }
28497
+
28498
+ export type TicketGroupUpdateToOneWithWhereWithoutTicketsInput = {
28499
+ where?: TicketGroupWhereInput
28500
+ data: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28501
+ }
28502
+
28503
+ export type TicketGroupUpdateWithoutTicketsInput = {
28504
+ id?: StringFieldUpdateOperationsInput | string
28505
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28506
+ amountTickets?: IntFieldUpdateOperationsInput | number
28507
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28508
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28509
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
28510
+ }
28511
+
28512
+ export type TicketGroupUncheckedUpdateWithoutTicketsInput = {
28513
+ id?: StringFieldUpdateOperationsInput | string
28514
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28515
+ amountTickets?: IntFieldUpdateOperationsInput | number
28516
+ eventId?: StringFieldUpdateOperationsInput | string
28517
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28518
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28519
+ }
28520
+
28521
+ export type EventCreateWithoutTicketGroupsInput = {
28522
+ id?: string
28523
+ name: string
28524
+ date: Date | string
28525
+ startingDate?: Date | string
28526
+ endingDate?: Date | string
28527
+ location: string
28528
+ active?: boolean
28529
+ created_at?: Date | string
28530
+ updated_at?: Date | string
28531
+ folder?: EventFolderCreateNestedOneWithoutEventsInput
28532
+ tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
28533
+ tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
28534
+ supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28535
+ tickets?: TicketCreateNestedManyWithoutEventInput
28536
+ subEvents?: EventCreateNestedManyWithoutSupraEventInput
28537
+ tags?: TagCreateNestedManyWithoutEventInput
28538
+ eventTickets?: EventTicketCreateNestedManyWithoutEventInput
28539
+ }
28540
+
28541
+ export type EventUncheckedCreateWithoutTicketGroupsInput = {
28542
+ id?: string
28543
+ name: string
28544
+ date: Date | string
28545
+ startingDate?: Date | string
28546
+ endingDate?: Date | string
28547
+ location: string
28548
+ folderId?: string | null
28549
+ tagAssistedId: string
28550
+ tagConfirmedId: string
28551
+ supraEventId?: string | null
28552
+ active?: boolean
28553
+ created_at?: Date | string
28554
+ updated_at?: Date | string
28555
+ tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28556
+ subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
28557
+ tags?: TagUncheckedCreateNestedManyWithoutEventInput
28558
+ eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
28559
+ }
28560
+
28561
+ export type EventCreateOrConnectWithoutTicketGroupsInput = {
28562
+ where: EventWhereUniqueInput
28563
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28564
+ }
28565
+
28566
+ export type TicketCreateWithoutTicketGroupInput = {
28567
+ id?: string
28568
+ type: $Enums.TicketType
28569
+ fullName: string
28570
+ mail: string
28571
+ created_at?: Date | string
28572
+ updated_at?: Date | string
28573
+ event: EventCreateNestedOneWithoutTicketsInput
28574
+ profile?: ProfileCreateNestedOneWithoutTicketInput
28575
+ }
28576
+
28577
+ export type TicketUncheckedCreateWithoutTicketGroupInput = {
28578
+ id?: string
28579
+ eventId: string
28580
+ type: $Enums.TicketType
28581
+ fullName: string
28582
+ mail: string
28583
+ profileId?: string | null
28584
+ created_at?: Date | string
28585
+ updated_at?: Date | string
28586
+ }
28587
+
28588
+ export type TicketCreateOrConnectWithoutTicketGroupInput = {
28589
+ where: TicketWhereUniqueInput
28590
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28591
+ }
28592
+
28593
+ export type TicketCreateManyTicketGroupInputEnvelope = {
28594
+ data: TicketCreateManyTicketGroupInput | TicketCreateManyTicketGroupInput[]
28595
+ skipDuplicates?: boolean
28596
+ }
28597
+
28598
+ export type EventUpsertWithoutTicketGroupsInput = {
28599
+ update: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28600
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28601
+ where?: EventWhereInput
28602
+ }
28603
+
28604
+ export type EventUpdateToOneWithWhereWithoutTicketGroupsInput = {
28605
+ where?: EventWhereInput
28606
+ data: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28607
+ }
28608
+
28609
+ export type EventUpdateWithoutTicketGroupsInput = {
28610
+ id?: StringFieldUpdateOperationsInput | string
28611
+ name?: StringFieldUpdateOperationsInput | string
28612
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28613
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28614
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28615
+ location?: StringFieldUpdateOperationsInput | string
28616
+ active?: BoolFieldUpdateOperationsInput | boolean
28617
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28618
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28619
+ folder?: EventFolderUpdateOneWithoutEventsNestedInput
28620
+ tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
28621
+ tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
28622
+ supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28623
+ tickets?: TicketUpdateManyWithoutEventNestedInput
28624
+ subEvents?: EventUpdateManyWithoutSupraEventNestedInput
28625
+ tags?: TagUpdateManyWithoutEventNestedInput
28626
+ eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
28627
+ }
28628
+
28629
+ export type EventUncheckedUpdateWithoutTicketGroupsInput = {
28630
+ id?: StringFieldUpdateOperationsInput | string
28631
+ name?: StringFieldUpdateOperationsInput | string
28632
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28633
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28634
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28635
+ location?: StringFieldUpdateOperationsInput | string
28636
+ folderId?: NullableStringFieldUpdateOperationsInput | string | null
28637
+ tagAssistedId?: StringFieldUpdateOperationsInput | string
28638
+ tagConfirmedId?: StringFieldUpdateOperationsInput | string
28639
+ supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
28640
+ active?: BoolFieldUpdateOperationsInput | boolean
28641
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28642
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28643
+ tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28644
+ subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
28645
+ tags?: TagUncheckedUpdateManyWithoutEventNestedInput
28646
+ eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
28647
+ }
28648
+
28649
+ export type TicketUpsertWithWhereUniqueWithoutTicketGroupInput = {
28650
+ where: TicketWhereUniqueInput
28651
+ update: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28652
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28653
+ }
28654
+
28655
+ export type TicketUpdateWithWhereUniqueWithoutTicketGroupInput = {
28656
+ where: TicketWhereUniqueInput
28657
+ data: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28658
+ }
28659
+
28660
+ export type TicketUpdateManyWithWhereWithoutTicketGroupInput = {
28661
+ where: TicketScalarWhereInput
28662
+ data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutTicketGroupInput>
28663
+ }
28664
+
26775
28665
  export type EventCreateWithoutEventTicketsInput = {
26776
28666
  id?: string
26777
28667
  name: string
@@ -26787,6 +28677,7 @@ export namespace Prisma {
26787
28677
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26788
28678
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26789
28679
  tickets?: TicketCreateNestedManyWithoutEventInput
28680
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26790
28681
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26791
28682
  tags?: TagCreateNestedManyWithoutEventInput
26792
28683
  }
@@ -26806,6 +28697,7 @@ export namespace Prisma {
26806
28697
  created_at?: Date | string
26807
28698
  updated_at?: Date | string
26808
28699
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28700
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26809
28701
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26810
28702
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26811
28703
  }
@@ -26841,6 +28733,7 @@ export namespace Prisma {
26841
28733
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26842
28734
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26843
28735
  tickets?: TicketUpdateManyWithoutEventNestedInput
28736
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26844
28737
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26845
28738
  tags?: TagUpdateManyWithoutEventNestedInput
26846
28739
  }
@@ -26860,6 +28753,7 @@ export namespace Prisma {
26860
28753
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26861
28754
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26862
28755
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28756
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26863
28757
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26864
28758
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26865
28759
  }
@@ -27067,9 +28961,9 @@ export namespace Prisma {
27067
28961
  id?: string
27068
28962
  eventId: string
27069
28963
  type: $Enums.TicketType
27070
- status: $Enums.TicketStatus
27071
28964
  fullName: string
27072
28965
  mail: string
28966
+ ticketGroupId: string
27073
28967
  created_at?: Date | string
27074
28968
  updated_at?: Date | string
27075
28969
  }
@@ -27201,21 +29095,21 @@ export namespace Prisma {
27201
29095
  export type TicketUpdateWithoutProfileInput = {
27202
29096
  id?: StringFieldUpdateOperationsInput | string
27203
29097
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27204
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27205
29098
  fullName?: StringFieldUpdateOperationsInput | string
27206
29099
  mail?: StringFieldUpdateOperationsInput | string
27207
29100
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27208
29101
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27209
29102
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
29103
+ ticketGroup?: TicketGroupUpdateOneRequiredWithoutTicketsNestedInput
27210
29104
  }
27211
29105
 
27212
29106
  export type TicketUncheckedUpdateWithoutProfileInput = {
27213
29107
  id?: StringFieldUpdateOperationsInput | string
27214
29108
  eventId?: StringFieldUpdateOperationsInput | string
27215
29109
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27216
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27217
29110
  fullName?: StringFieldUpdateOperationsInput | string
27218
29111
  mail?: StringFieldUpdateOperationsInput | string
29112
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
27219
29113
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27220
29114
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27221
29115
  }
@@ -27224,9 +29118,9 @@ export namespace Prisma {
27224
29118
  id?: StringFieldUpdateOperationsInput | string
27225
29119
  eventId?: StringFieldUpdateOperationsInput | string
27226
29120
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27227
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27228
29121
  fullName?: StringFieldUpdateOperationsInput | string
27229
29122
  mail?: StringFieldUpdateOperationsInput | string
29123
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
27230
29124
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27231
29125
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27232
29126
  }
@@ -27641,6 +29535,7 @@ export namespace Prisma {
27641
29535
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27642
29536
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
27643
29537
  tickets?: TicketUpdateManyWithoutEventNestedInput
29538
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27644
29539
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27645
29540
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
27646
29541
  }
@@ -27660,6 +29555,7 @@ export namespace Prisma {
27660
29555
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27661
29556
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27662
29557
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29558
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27663
29559
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27664
29560
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
27665
29561
  }
@@ -27727,10 +29623,18 @@ export namespace Prisma {
27727
29623
  export type TicketCreateManyEventInput = {
27728
29624
  id?: string
27729
29625
  type: $Enums.TicketType
27730
- status: $Enums.TicketStatus
27731
29626
  fullName: string
27732
29627
  mail: string
27733
29628
  profileId?: string | null
29629
+ ticketGroupId: string
29630
+ created_at?: Date | string
29631
+ updated_at?: Date | string
29632
+ }
29633
+
29634
+ export type TicketGroupCreateManyEventInput = {
29635
+ id?: string
29636
+ status: $Enums.TicketGroupStatus
29637
+ amountTickets?: number
27734
29638
  created_at?: Date | string
27735
29639
  updated_at?: Date | string
27736
29640
  }
@@ -27762,21 +29666,21 @@ export namespace Prisma {
27762
29666
  export type TicketUpdateWithoutEventInput = {
27763
29667
  id?: StringFieldUpdateOperationsInput | string
27764
29668
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27765
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27766
29669
  fullName?: StringFieldUpdateOperationsInput | string
27767
29670
  mail?: StringFieldUpdateOperationsInput | string
27768
29671
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27769
29672
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27770
29673
  profile?: ProfileUpdateOneWithoutTicketNestedInput
29674
+ ticketGroup?: TicketGroupUpdateOneRequiredWithoutTicketsNestedInput
27771
29675
  }
27772
29676
 
27773
29677
  export type TicketUncheckedUpdateWithoutEventInput = {
27774
29678
  id?: StringFieldUpdateOperationsInput | string
27775
29679
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27776
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27777
29680
  fullName?: StringFieldUpdateOperationsInput | string
27778
29681
  mail?: StringFieldUpdateOperationsInput | string
27779
29682
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29683
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
27780
29684
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27781
29685
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27782
29686
  }
@@ -27784,10 +29688,36 @@ export namespace Prisma {
27784
29688
  export type TicketUncheckedUpdateManyWithoutEventInput = {
27785
29689
  id?: StringFieldUpdateOperationsInput | string
27786
29690
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27787
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27788
29691
  fullName?: StringFieldUpdateOperationsInput | string
27789
29692
  mail?: StringFieldUpdateOperationsInput | string
27790
29693
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29694
+ ticketGroupId?: StringFieldUpdateOperationsInput | string
29695
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29696
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29697
+ }
29698
+
29699
+ export type TicketGroupUpdateWithoutEventInput = {
29700
+ id?: StringFieldUpdateOperationsInput | string
29701
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29702
+ amountTickets?: IntFieldUpdateOperationsInput | number
29703
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29704
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29705
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
29706
+ }
29707
+
29708
+ export type TicketGroupUncheckedUpdateWithoutEventInput = {
29709
+ id?: StringFieldUpdateOperationsInput | string
29710
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29711
+ amountTickets?: IntFieldUpdateOperationsInput | number
29712
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29713
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29714
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
29715
+ }
29716
+
29717
+ export type TicketGroupUncheckedUpdateManyWithoutEventInput = {
29718
+ id?: StringFieldUpdateOperationsInput | string
29719
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29720
+ amountTickets?: IntFieldUpdateOperationsInput | number
27791
29721
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27792
29722
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27793
29723
  }
@@ -27806,6 +29736,7 @@ export namespace Prisma {
27806
29736
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
27807
29737
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27808
29738
  tickets?: TicketUpdateManyWithoutEventNestedInput
29739
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27809
29740
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27810
29741
  tags?: TagUpdateManyWithoutEventNestedInput
27811
29742
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -27825,6 +29756,7 @@ export namespace Prisma {
27825
29756
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27826
29757
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27827
29758
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29759
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27828
29760
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27829
29761
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
27830
29762
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -27938,6 +29870,7 @@ export namespace Prisma {
27938
29870
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27939
29871
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
27940
29872
  tickets?: TicketUpdateManyWithoutEventNestedInput
29873
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27941
29874
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27942
29875
  tags?: TagUpdateManyWithoutEventNestedInput
27943
29876
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -27957,6 +29890,7 @@ export namespace Prisma {
27957
29890
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27958
29891
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27959
29892
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29893
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27960
29894
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27961
29895
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
27962
29896
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -27977,6 +29911,50 @@ export namespace Prisma {
27977
29911
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27978
29912
  }
27979
29913
 
29914
+ export type TicketCreateManyTicketGroupInput = {
29915
+ id?: string
29916
+ eventId: string
29917
+ type: $Enums.TicketType
29918
+ fullName: string
29919
+ mail: string
29920
+ profileId?: string | null
29921
+ created_at?: Date | string
29922
+ updated_at?: Date | string
29923
+ }
29924
+
29925
+ export type TicketUpdateWithoutTicketGroupInput = {
29926
+ id?: StringFieldUpdateOperationsInput | string
29927
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29928
+ fullName?: StringFieldUpdateOperationsInput | string
29929
+ mail?: StringFieldUpdateOperationsInput | string
29930
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29931
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29932
+ event?: EventUpdateOneRequiredWithoutTicketsNestedInput
29933
+ profile?: ProfileUpdateOneWithoutTicketNestedInput
29934
+ }
29935
+
29936
+ export type TicketUncheckedUpdateWithoutTicketGroupInput = {
29937
+ id?: StringFieldUpdateOperationsInput | string
29938
+ eventId?: StringFieldUpdateOperationsInput | string
29939
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29940
+ fullName?: StringFieldUpdateOperationsInput | string
29941
+ mail?: StringFieldUpdateOperationsInput | string
29942
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
29943
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29944
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29945
+ }
29946
+
29947
+ export type TicketUncheckedUpdateManyWithoutTicketGroupInput = {
29948
+ id?: StringFieldUpdateOperationsInput | string
29949
+ eventId?: StringFieldUpdateOperationsInput | string
29950
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
29951
+ fullName?: StringFieldUpdateOperationsInput | string
29952
+ mail?: StringFieldUpdateOperationsInput | string
29953
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
29954
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29955
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29956
+ }
29957
+
27980
29958
 
27981
29959
 
27982
29960
  /**