expo-backend-types 0.37.0-EXPO-327-EB-Escanear-entrada.1 → 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5

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