expo-backend-types 0.37.0-EXPO-330-ExpoBackend-MercadoPago.2 → 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.6

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 (44) hide show
  1. package/README.md +0 -2
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +18 -26
  3. package/dist/src/exports.d.ts +1 -0
  4. package/dist/src/exports.js +1 -0
  5. package/dist/src/i18n/es.d.ts +39 -2
  6. package/dist/src/i18n/es.js +39 -2
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +610 -0
  9. package/dist/src/ticket/dto/create-many-ticket.dto.js +50 -0
  10. package/dist/src/ticket/dto/create-ticket.dto.d.ts +18 -33
  11. package/dist/src/ticket/dto/create-ticket.dto.js +2 -1
  12. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +10 -18
  13. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +18 -26
  14. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +18 -26
  15. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +161 -29
  16. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -5
  17. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +18 -26
  18. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +18 -26
  19. package/dist/src/ticket/dto/find-ticket.dto.d.ts +10 -18
  20. package/dist/src/ticket/dto/ticket.dto.d.ts +10 -18
  21. package/dist/src/ticket/dto/ticket.dto.js +2 -3
  22. package/dist/src/ticket/dto/update-ticket.dto.d.ts +22 -32
  23. package/dist/src/ticket/dto/update-ticket.dto.js +2 -1
  24. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +366 -0
  25. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
  26. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
  27. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
  28. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +32 -0
  29. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +20 -0
  30. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
  31. package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
  32. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
  33. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
  34. package/dist/src/ticket-group/exports.d.ts +5 -0
  35. package/dist/src/ticket-group/exports.js +22 -0
  36. package/dist/types/prisma-schema/edge.js +15 -5
  37. package/dist/types/prisma-schema/index-browser.js +12 -2
  38. package/dist/types/prisma-schema/index.d.ts +2178 -167
  39. package/dist/types/prisma-schema/index.js +15 -5
  40. package/dist/types/prisma-schema/package.json +1 -1
  41. package/dist/types/prisma-schema/schema.prisma +22 -3
  42. package/dist/types/prisma-schema/wasm.js +12 -2
  43. package/dist/types/schema.d.ts +379 -12
  44. package/package.json +2 -1
@@ -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
  */
@@ -15427,12 +15586,12 @@ export namespace Prisma {
15427
15586
  id: string | null
15428
15587
  eventId: string | null
15429
15588
  type: $Enums.TicketType | null
15430
- status: $Enums.TicketStatus | null
15431
15589
  fullName: string | null
15432
15590
  mail: string | null
15433
15591
  dni: string | null
15434
15592
  seat: number | null
15435
15593
  profileId: string | null
15594
+ ticketGroupId: string | null
15436
15595
  created_at: Date | null
15437
15596
  updated_at: Date | null
15438
15597
  }
@@ -15441,12 +15600,12 @@ export namespace Prisma {
15441
15600
  id: string | null
15442
15601
  eventId: string | null
15443
15602
  type: $Enums.TicketType | null
15444
- status: $Enums.TicketStatus | null
15445
15603
  fullName: string | null
15446
15604
  mail: string | null
15447
15605
  dni: string | null
15448
15606
  seat: number | null
15449
15607
  profileId: string | null
15608
+ ticketGroupId: string | null
15450
15609
  created_at: Date | null
15451
15610
  updated_at: Date | null
15452
15611
  }
@@ -15455,12 +15614,12 @@ export namespace Prisma {
15455
15614
  id: number
15456
15615
  eventId: number
15457
15616
  type: number
15458
- status: number
15459
15617
  fullName: number
15460
15618
  mail: number
15461
15619
  dni: number
15462
15620
  seat: number
15463
15621
  profileId: number
15622
+ ticketGroupId: number
15464
15623
  created_at: number
15465
15624
  updated_at: number
15466
15625
  _all: number
@@ -15479,12 +15638,12 @@ export namespace Prisma {
15479
15638
  id?: true
15480
15639
  eventId?: true
15481
15640
  type?: true
15482
- status?: true
15483
15641
  fullName?: true
15484
15642
  mail?: true
15485
15643
  dni?: true
15486
15644
  seat?: true
15487
15645
  profileId?: true
15646
+ ticketGroupId?: true
15488
15647
  created_at?: true
15489
15648
  updated_at?: true
15490
15649
  }
@@ -15493,12 +15652,12 @@ export namespace Prisma {
15493
15652
  id?: true
15494
15653
  eventId?: true
15495
15654
  type?: true
15496
- status?: true
15497
15655
  fullName?: true
15498
15656
  mail?: true
15499
15657
  dni?: true
15500
15658
  seat?: true
15501
15659
  profileId?: true
15660
+ ticketGroupId?: true
15502
15661
  created_at?: true
15503
15662
  updated_at?: true
15504
15663
  }
@@ -15507,12 +15666,12 @@ export namespace Prisma {
15507
15666
  id?: true
15508
15667
  eventId?: true
15509
15668
  type?: true
15510
- status?: true
15511
15669
  fullName?: true
15512
15670
  mail?: true
15513
15671
  dni?: true
15514
15672
  seat?: true
15515
15673
  profileId?: true
15674
+ ticketGroupId?: true
15516
15675
  created_at?: true
15517
15676
  updated_at?: true
15518
15677
  _all?: true
@@ -15608,12 +15767,12 @@ export namespace Prisma {
15608
15767
  id: string
15609
15768
  eventId: string
15610
15769
  type: $Enums.TicketType
15611
- status: $Enums.TicketStatus
15612
15770
  fullName: string
15613
15771
  mail: string
15614
15772
  dni: string
15615
15773
  seat: number | null
15616
15774
  profileId: string | null
15775
+ ticketGroupId: string | null
15617
15776
  created_at: Date
15618
15777
  updated_at: Date
15619
15778
  _count: TicketCountAggregateOutputType | null
@@ -15641,76 +15800,82 @@ export namespace Prisma {
15641
15800
  id?: boolean
15642
15801
  eventId?: boolean
15643
15802
  type?: boolean
15644
- status?: boolean
15645
15803
  fullName?: boolean
15646
15804
  mail?: boolean
15647
15805
  dni?: boolean
15648
15806
  seat?: boolean
15649
15807
  profileId?: boolean
15808
+ ticketGroupId?: boolean
15650
15809
  created_at?: boolean
15651
15810
  updated_at?: boolean
15652
15811
  event?: boolean | EventDefaultArgs<ExtArgs>
15653
15812
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15813
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15654
15814
  }, ExtArgs["result"]["ticket"]>
15655
15815
 
15656
15816
  export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15657
15817
  id?: boolean
15658
15818
  eventId?: boolean
15659
15819
  type?: boolean
15660
- status?: boolean
15661
15820
  fullName?: boolean
15662
15821
  mail?: boolean
15663
15822
  dni?: boolean
15664
15823
  seat?: boolean
15665
15824
  profileId?: boolean
15825
+ ticketGroupId?: boolean
15666
15826
  created_at?: boolean
15667
15827
  updated_at?: boolean
15668
15828
  event?: boolean | EventDefaultArgs<ExtArgs>
15669
15829
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15830
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15670
15831
  }, ExtArgs["result"]["ticket"]>
15671
15832
 
15672
15833
  export type TicketSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15673
15834
  id?: boolean
15674
15835
  eventId?: boolean
15675
15836
  type?: boolean
15676
- status?: boolean
15677
15837
  fullName?: boolean
15678
15838
  mail?: boolean
15679
15839
  dni?: boolean
15680
15840
  seat?: boolean
15681
15841
  profileId?: boolean
15842
+ ticketGroupId?: boolean
15682
15843
  created_at?: boolean
15683
15844
  updated_at?: boolean
15684
15845
  event?: boolean | EventDefaultArgs<ExtArgs>
15685
15846
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15847
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15686
15848
  }, ExtArgs["result"]["ticket"]>
15687
15849
 
15688
15850
  export type TicketSelectScalar = {
15689
15851
  id?: boolean
15690
15852
  eventId?: boolean
15691
15853
  type?: boolean
15692
- status?: boolean
15693
15854
  fullName?: boolean
15694
15855
  mail?: boolean
15695
15856
  dni?: boolean
15696
15857
  seat?: boolean
15697
15858
  profileId?: boolean
15859
+ ticketGroupId?: boolean
15698
15860
  created_at?: boolean
15699
15861
  updated_at?: boolean
15700
15862
  }
15701
15863
 
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"]>
15864
+ export type TicketOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "eventId" | "type" | "fullName" | "mail" | "dni" | "seat" | "profileId" | "ticketGroupId" | "created_at" | "updated_at", ExtArgs["result"]["ticket"]>
15703
15865
  export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15704
15866
  event?: boolean | EventDefaultArgs<ExtArgs>
15705
15867
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15868
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15706
15869
  }
15707
15870
  export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15708
15871
  event?: boolean | EventDefaultArgs<ExtArgs>
15709
15872
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15873
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15710
15874
  }
15711
15875
  export type TicketIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15712
15876
  event?: boolean | EventDefaultArgs<ExtArgs>
15713
15877
  profile?: boolean | Ticket$profileArgs<ExtArgs>
15878
+ ticketGroup?: boolean | Ticket$ticketGroupArgs<ExtArgs>
15714
15879
  }
15715
15880
 
15716
15881
  export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -15718,17 +15883,18 @@ export namespace Prisma {
15718
15883
  objects: {
15719
15884
  event: Prisma.$EventPayload<ExtArgs>
15720
15885
  profile: Prisma.$ProfilePayload<ExtArgs> | null
15886
+ ticketGroup: Prisma.$TicketGroupPayload<ExtArgs> | null
15721
15887
  }
15722
15888
  scalars: $Extensions.GetPayloadResult<{
15723
15889
  id: string
15724
15890
  eventId: string
15725
15891
  type: $Enums.TicketType
15726
- status: $Enums.TicketStatus
15727
15892
  fullName: string
15728
15893
  mail: string
15729
15894
  dni: string
15730
15895
  seat: number | null
15731
15896
  profileId: string | null
15897
+ ticketGroupId: string | null
15732
15898
  created_at: Date
15733
15899
  updated_at: Date
15734
15900
  }, ExtArgs["result"]["ticket"]>
@@ -16127,6 +16293,7 @@ export namespace Prisma {
16127
16293
  readonly [Symbol.toStringTag]: "PrismaPromise"
16128
16294
  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
16295
  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>
16296
+ ticketGroup<T extends Ticket$ticketGroupArgs<ExtArgs> = {}>(args?: Subset<T, Ticket$ticketGroupArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | null, null, ExtArgs, ClientOptions>
16130
16297
  /**
16131
16298
  * Attaches callbacks for the resolution and/or rejection of the Promise.
16132
16299
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -16159,12 +16326,12 @@ export namespace Prisma {
16159
16326
  readonly id: FieldRef<"Ticket", 'String'>
16160
16327
  readonly eventId: FieldRef<"Ticket", 'String'>
16161
16328
  readonly type: FieldRef<"Ticket", 'TicketType'>
16162
- readonly status: FieldRef<"Ticket", 'TicketStatus'>
16163
16329
  readonly fullName: FieldRef<"Ticket", 'String'>
16164
16330
  readonly mail: FieldRef<"Ticket", 'String'>
16165
16331
  readonly dni: FieldRef<"Ticket", 'String'>
16166
16332
  readonly seat: FieldRef<"Ticket", 'Int'>
16167
16333
  readonly profileId: FieldRef<"Ticket", 'String'>
16334
+ readonly ticketGroupId: FieldRef<"Ticket", 'String'>
16168
16335
  readonly created_at: FieldRef<"Ticket", 'DateTime'>
16169
16336
  readonly updated_at: FieldRef<"Ticket", 'DateTime'>
16170
16337
  }
@@ -16581,6 +16748,25 @@ export namespace Prisma {
16581
16748
  where?: ProfileWhereInput
16582
16749
  }
16583
16750
 
16751
+ /**
16752
+ * Ticket.ticketGroup
16753
+ */
16754
+ export type Ticket$ticketGroupArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16755
+ /**
16756
+ * Select specific fields to fetch from the TicketGroup
16757
+ */
16758
+ select?: TicketGroupSelect<ExtArgs> | null
16759
+ /**
16760
+ * Omit specific fields from the TicketGroup
16761
+ */
16762
+ omit?: TicketGroupOmit<ExtArgs> | null
16763
+ /**
16764
+ * Choose, which related nodes to fetch as well
16765
+ */
16766
+ include?: TicketGroupInclude<ExtArgs> | null
16767
+ where?: TicketGroupWhereInput
16768
+ }
16769
+
16584
16770
  /**
16585
16771
  * Ticket without action
16586
16772
  */
@@ -16601,178 +16787,1313 @@ export namespace Prisma {
16601
16787
 
16602
16788
 
16603
16789
  /**
16604
- * Model Enums
16790
+ * Model TicketGroup
16605
16791
  */
16606
16792
 
16607
- export type AggregateEnums = {
16608
- _count: EnumsCountAggregateOutputType | null
16609
- _min: EnumsMinAggregateOutputType | null
16610
- _max: EnumsMaxAggregateOutputType | null
16793
+ export type AggregateTicketGroup = {
16794
+ _count: TicketGroupCountAggregateOutputType | null
16795
+ _avg: TicketGroupAvgAggregateOutputType | null
16796
+ _sum: TicketGroupSumAggregateOutputType | null
16797
+ _min: TicketGroupMinAggregateOutputType | null
16798
+ _max: TicketGroupMaxAggregateOutputType | null
16611
16799
  }
16612
16800
 
16613
- export type EnumsMinAggregateOutputType = {
16801
+ export type TicketGroupAvgAggregateOutputType = {
16802
+ amountTickets: number | null
16803
+ }
16804
+
16805
+ export type TicketGroupSumAggregateOutputType = {
16806
+ amountTickets: number | null
16807
+ }
16808
+
16809
+ export type TicketGroupMinAggregateOutputType = {
16614
16810
  id: string | null
16615
- templateStatus: $Enums.TemplateStatus | null
16616
- templateCategory: $Enums.TemplateCategory | null
16811
+ status: $Enums.TicketGroupStatus | null
16812
+ amountTickets: number | null
16813
+ eventId: string | null
16814
+ created_at: Date | null
16815
+ updated_at: Date | null
16617
16816
  }
16618
16817
 
16619
- export type EnumsMaxAggregateOutputType = {
16818
+ export type TicketGroupMaxAggregateOutputType = {
16620
16819
  id: string | null
16621
- templateStatus: $Enums.TemplateStatus | null
16622
- templateCategory: $Enums.TemplateCategory | null
16820
+ status: $Enums.TicketGroupStatus | null
16821
+ amountTickets: number | null
16822
+ eventId: string | null
16823
+ created_at: Date | null
16824
+ updated_at: Date | null
16623
16825
  }
16624
16826
 
16625
- export type EnumsCountAggregateOutputType = {
16827
+ export type TicketGroupCountAggregateOutputType = {
16626
16828
  id: number
16627
- templateStatus: number
16628
- templateCategory: number
16829
+ status: number
16830
+ amountTickets: number
16831
+ eventId: number
16832
+ created_at: number
16833
+ updated_at: number
16629
16834
  _all: number
16630
16835
  }
16631
16836
 
16632
16837
 
16633
- export type EnumsMinAggregateInputType = {
16838
+ export type TicketGroupAvgAggregateInputType = {
16839
+ amountTickets?: true
16840
+ }
16841
+
16842
+ export type TicketGroupSumAggregateInputType = {
16843
+ amountTickets?: true
16844
+ }
16845
+
16846
+ export type TicketGroupMinAggregateInputType = {
16634
16847
  id?: true
16635
- templateStatus?: true
16636
- templateCategory?: true
16848
+ status?: true
16849
+ amountTickets?: true
16850
+ eventId?: true
16851
+ created_at?: true
16852
+ updated_at?: true
16637
16853
  }
16638
16854
 
16639
- export type EnumsMaxAggregateInputType = {
16855
+ export type TicketGroupMaxAggregateInputType = {
16640
16856
  id?: true
16641
- templateStatus?: true
16642
- templateCategory?: true
16857
+ status?: true
16858
+ amountTickets?: true
16859
+ eventId?: true
16860
+ created_at?: true
16861
+ updated_at?: true
16643
16862
  }
16644
16863
 
16645
- export type EnumsCountAggregateInputType = {
16864
+ export type TicketGroupCountAggregateInputType = {
16646
16865
  id?: true
16647
- templateStatus?: true
16648
- templateCategory?: true
16866
+ status?: true
16867
+ amountTickets?: true
16868
+ eventId?: true
16869
+ created_at?: true
16870
+ updated_at?: true
16649
16871
  _all?: true
16650
16872
  }
16651
16873
 
16652
- export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16874
+ export type TicketGroupAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16653
16875
  /**
16654
- * Filter which Enums to aggregate.
16876
+ * Filter which TicketGroup to aggregate.
16655
16877
  */
16656
- where?: EnumsWhereInput
16878
+ where?: TicketGroupWhereInput
16657
16879
  /**
16658
16880
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
16659
16881
  *
16660
- * Determine the order of Enums to fetch.
16882
+ * Determine the order of TicketGroups to fetch.
16661
16883
  */
16662
- orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
16884
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
16663
16885
  /**
16664
16886
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
16665
16887
  *
16666
16888
  * Sets the start position
16667
16889
  */
16668
- cursor?: EnumsWhereUniqueInput
16890
+ cursor?: TicketGroupWhereUniqueInput
16669
16891
  /**
16670
16892
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16671
16893
  *
16672
- * Take `±n` Enums from the position of the cursor.
16894
+ * Take `±n` TicketGroups from the position of the cursor.
16673
16895
  */
16674
16896
  take?: number
16675
16897
  /**
16676
16898
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16677
16899
  *
16678
- * Skip the first `n` Enums.
16900
+ * Skip the first `n` TicketGroups.
16679
16901
  */
16680
16902
  skip?: number
16681
16903
  /**
16682
16904
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16683
16905
  *
16684
- * Count returned Enums
16906
+ * Count returned TicketGroups
16685
16907
  **/
16686
- _count?: true | EnumsCountAggregateInputType
16908
+ _count?: true | TicketGroupCountAggregateInputType
16909
+ /**
16910
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16911
+ *
16912
+ * Select which fields to average
16913
+ **/
16914
+ _avg?: TicketGroupAvgAggregateInputType
16915
+ /**
16916
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16917
+ *
16918
+ * Select which fields to sum
16919
+ **/
16920
+ _sum?: TicketGroupSumAggregateInputType
16687
16921
  /**
16688
16922
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16689
16923
  *
16690
16924
  * Select which fields to find the minimum value
16691
16925
  **/
16692
- _min?: EnumsMinAggregateInputType
16926
+ _min?: TicketGroupMinAggregateInputType
16693
16927
  /**
16694
16928
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16695
16929
  *
16696
16930
  * Select which fields to find the maximum value
16697
16931
  **/
16698
- _max?: EnumsMaxAggregateInputType
16932
+ _max?: TicketGroupMaxAggregateInputType
16699
16933
  }
16700
16934
 
16701
- export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
16702
- [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
16935
+ export type GetTicketGroupAggregateType<T extends TicketGroupAggregateArgs> = {
16936
+ [P in keyof T & keyof AggregateTicketGroup]: P extends '_count' | 'count'
16703
16937
  ? T[P] extends true
16704
16938
  ? number
16705
- : GetScalarType<T[P], AggregateEnums[P]>
16706
- : GetScalarType<T[P], AggregateEnums[P]>
16939
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16940
+ : GetScalarType<T[P], AggregateTicketGroup[P]>
16707
16941
  }
16708
16942
 
16709
16943
 
16710
16944
 
16711
16945
 
16712
- export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16713
- where?: EnumsWhereInput
16714
- orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
16715
- by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
16716
- having?: EnumsScalarWhereWithAggregatesInput
16946
+ export type TicketGroupGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16947
+ where?: TicketGroupWhereInput
16948
+ orderBy?: TicketGroupOrderByWithAggregationInput | TicketGroupOrderByWithAggregationInput[]
16949
+ by: TicketGroupScalarFieldEnum[] | TicketGroupScalarFieldEnum
16950
+ having?: TicketGroupScalarWhereWithAggregatesInput
16717
16951
  take?: number
16718
16952
  skip?: number
16719
- _count?: EnumsCountAggregateInputType | true
16720
- _min?: EnumsMinAggregateInputType
16721
- _max?: EnumsMaxAggregateInputType
16953
+ _count?: TicketGroupCountAggregateInputType | true
16954
+ _avg?: TicketGroupAvgAggregateInputType
16955
+ _sum?: TicketGroupSumAggregateInputType
16956
+ _min?: TicketGroupMinAggregateInputType
16957
+ _max?: TicketGroupMaxAggregateInputType
16722
16958
  }
16723
16959
 
16724
- export type EnumsGroupByOutputType = {
16960
+ export type TicketGroupGroupByOutputType = {
16725
16961
  id: string
16726
- templateStatus: $Enums.TemplateStatus
16727
- templateCategory: $Enums.TemplateCategory
16728
- _count: EnumsCountAggregateOutputType | null
16729
- _min: EnumsMinAggregateOutputType | null
16730
- _max: EnumsMaxAggregateOutputType | null
16962
+ status: $Enums.TicketGroupStatus
16963
+ amountTickets: number
16964
+ eventId: string
16965
+ created_at: Date
16966
+ updated_at: Date
16967
+ _count: TicketGroupCountAggregateOutputType | null
16968
+ _avg: TicketGroupAvgAggregateOutputType | null
16969
+ _sum: TicketGroupSumAggregateOutputType | null
16970
+ _min: TicketGroupMinAggregateOutputType | null
16971
+ _max: TicketGroupMaxAggregateOutputType | null
16731
16972
  }
16732
16973
 
16733
- type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
16974
+ type GetTicketGroupGroupByPayload<T extends TicketGroupGroupByArgs> = Prisma.PrismaPromise<
16734
16975
  Array<
16735
- PickEnumerable<EnumsGroupByOutputType, T['by']> &
16976
+ PickEnumerable<TicketGroupGroupByOutputType, T['by']> &
16736
16977
  {
16737
- [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
16978
+ [P in ((keyof T) & (keyof TicketGroupGroupByOutputType))]: P extends '_count'
16738
16979
  ? T[P] extends boolean
16739
16980
  ? number
16740
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16741
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
16981
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16982
+ : GetScalarType<T[P], TicketGroupGroupByOutputType[P]>
16742
16983
  }
16743
16984
  >
16744
16985
  >
16745
16986
 
16746
16987
 
16747
- export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16988
+ export type TicketGroupSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16748
16989
  id?: boolean
16749
- templateStatus?: boolean
16750
- templateCategory?: boolean
16751
- }, ExtArgs["result"]["enums"]>
16990
+ status?: boolean
16991
+ amountTickets?: boolean
16992
+ eventId?: boolean
16993
+ created_at?: boolean
16994
+ updated_at?: boolean
16995
+ event?: boolean | EventDefaultArgs<ExtArgs>
16996
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
16997
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
16998
+ }, ExtArgs["result"]["ticketGroup"]>
16752
16999
 
16753
- export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17000
+ export type TicketGroupSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16754
17001
  id?: boolean
16755
- templateStatus?: boolean
16756
- templateCategory?: boolean
16757
- }, ExtArgs["result"]["enums"]>
17002
+ status?: boolean
17003
+ amountTickets?: boolean
17004
+ eventId?: boolean
17005
+ created_at?: boolean
17006
+ updated_at?: boolean
17007
+ event?: boolean | EventDefaultArgs<ExtArgs>
17008
+ }, ExtArgs["result"]["ticketGroup"]>
16758
17009
 
16759
- export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17010
+ export type TicketGroupSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16760
17011
  id?: boolean
16761
- templateStatus?: boolean
16762
- templateCategory?: boolean
16763
- }, ExtArgs["result"]["enums"]>
17012
+ status?: boolean
17013
+ amountTickets?: boolean
17014
+ eventId?: boolean
17015
+ created_at?: boolean
17016
+ updated_at?: boolean
17017
+ event?: boolean | EventDefaultArgs<ExtArgs>
17018
+ }, ExtArgs["result"]["ticketGroup"]>
16764
17019
 
16765
- export type EnumsSelectScalar = {
17020
+ export type TicketGroupSelectScalar = {
16766
17021
  id?: boolean
16767
- templateStatus?: boolean
16768
- templateCategory?: boolean
17022
+ status?: boolean
17023
+ amountTickets?: boolean
17024
+ eventId?: boolean
17025
+ created_at?: boolean
17026
+ updated_at?: boolean
16769
17027
  }
16770
17028
 
16771
- export type EnumsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "templateStatus" | "templateCategory", ExtArgs["result"]["enums"]>
17029
+ export type TicketGroupOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "status" | "amountTickets" | "eventId" | "created_at" | "updated_at", ExtArgs["result"]["ticketGroup"]>
17030
+ export type TicketGroupInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17031
+ event?: boolean | EventDefaultArgs<ExtArgs>
17032
+ tickets?: boolean | TicketGroup$ticketsArgs<ExtArgs>
17033
+ _count?: boolean | TicketGroupCountOutputTypeDefaultArgs<ExtArgs>
17034
+ }
17035
+ export type TicketGroupIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17036
+ event?: boolean | EventDefaultArgs<ExtArgs>
17037
+ }
17038
+ export type TicketGroupIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17039
+ event?: boolean | EventDefaultArgs<ExtArgs>
17040
+ }
16772
17041
 
16773
- export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16774
- name: "Enums"
16775
- objects: {}
17042
+ export type $TicketGroupPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17043
+ name: "TicketGroup"
17044
+ objects: {
17045
+ event: Prisma.$EventPayload<ExtArgs>
17046
+ tickets: Prisma.$TicketPayload<ExtArgs>[]
17047
+ }
17048
+ scalars: $Extensions.GetPayloadResult<{
17049
+ id: string
17050
+ status: $Enums.TicketGroupStatus
17051
+ amountTickets: number
17052
+ eventId: string
17053
+ created_at: Date
17054
+ updated_at: Date
17055
+ }, ExtArgs["result"]["ticketGroup"]>
17056
+ composites: {}
17057
+ }
17058
+
17059
+ type TicketGroupGetPayload<S extends boolean | null | undefined | TicketGroupDefaultArgs> = $Result.GetResult<Prisma.$TicketGroupPayload, S>
17060
+
17061
+ type TicketGroupCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
17062
+ Omit<TicketGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
17063
+ select?: TicketGroupCountAggregateInputType | true
17064
+ }
17065
+
17066
+ export interface TicketGroupDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
17067
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TicketGroup'], meta: { name: 'TicketGroup' } }
17068
+ /**
17069
+ * Find zero or one TicketGroup that matches the filter.
17070
+ * @param {TicketGroupFindUniqueArgs} args - Arguments to find a TicketGroup
17071
+ * @example
17072
+ * // Get one TicketGroup
17073
+ * const ticketGroup = await prisma.ticketGroup.findUnique({
17074
+ * where: {
17075
+ * // ... provide filter here
17076
+ * }
17077
+ * })
17078
+ */
17079
+ findUnique<T extends TicketGroupFindUniqueArgs>(args: SelectSubset<T, TicketGroupFindUniqueArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
17080
+
17081
+ /**
17082
+ * Find one TicketGroup that matches the filter or throw an error with `error.code='P2025'`
17083
+ * if no matches were found.
17084
+ * @param {TicketGroupFindUniqueOrThrowArgs} args - Arguments to find a TicketGroup
17085
+ * @example
17086
+ * // Get one TicketGroup
17087
+ * const ticketGroup = await prisma.ticketGroup.findUniqueOrThrow({
17088
+ * where: {
17089
+ * // ... provide filter here
17090
+ * }
17091
+ * })
17092
+ */
17093
+ findUniqueOrThrow<T extends TicketGroupFindUniqueOrThrowArgs>(args: SelectSubset<T, TicketGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17094
+
17095
+ /**
17096
+ * Find the first TicketGroup that matches the filter.
17097
+ * Note, that providing `undefined` is treated as the value not being there.
17098
+ * Read more here: https://pris.ly/d/null-undefined
17099
+ * @param {TicketGroupFindFirstArgs} args - Arguments to find a TicketGroup
17100
+ * @example
17101
+ * // Get one TicketGroup
17102
+ * const ticketGroup = await prisma.ticketGroup.findFirst({
17103
+ * where: {
17104
+ * // ... provide filter here
17105
+ * }
17106
+ * })
17107
+ */
17108
+ findFirst<T extends TicketGroupFindFirstArgs>(args?: SelectSubset<T, TicketGroupFindFirstArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
17109
+
17110
+ /**
17111
+ * Find the first TicketGroup that matches the filter or
17112
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
17113
+ * Note, that providing `undefined` is treated as the value not being there.
17114
+ * Read more here: https://pris.ly/d/null-undefined
17115
+ * @param {TicketGroupFindFirstOrThrowArgs} args - Arguments to find a TicketGroup
17116
+ * @example
17117
+ * // Get one TicketGroup
17118
+ * const ticketGroup = await prisma.ticketGroup.findFirstOrThrow({
17119
+ * where: {
17120
+ * // ... provide filter here
17121
+ * }
17122
+ * })
17123
+ */
17124
+ findFirstOrThrow<T extends TicketGroupFindFirstOrThrowArgs>(args?: SelectSubset<T, TicketGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
17125
+
17126
+ /**
17127
+ * Find zero or more TicketGroups that matches the filter.
17128
+ * Note, that providing `undefined` is treated as the value not being there.
17129
+ * Read more here: https://pris.ly/d/null-undefined
17130
+ * @param {TicketGroupFindManyArgs} args - Arguments to filter and select certain fields only.
17131
+ * @example
17132
+ * // Get all TicketGroups
17133
+ * const ticketGroups = await prisma.ticketGroup.findMany()
17134
+ *
17135
+ * // Get first 10 TicketGroups
17136
+ * const ticketGroups = await prisma.ticketGroup.findMany({ take: 10 })
17137
+ *
17138
+ * // Only select the `id`
17139
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.findMany({ select: { id: true } })
17140
+ *
17141
+ */
17142
+ findMany<T extends TicketGroupFindManyArgs>(args?: SelectSubset<T, TicketGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "findMany", ClientOptions>>
17143
+
17144
+ /**
17145
+ * Create a TicketGroup.
17146
+ * @param {TicketGroupCreateArgs} args - Arguments to create a TicketGroup.
17147
+ * @example
17148
+ * // Create one TicketGroup
17149
+ * const TicketGroup = await prisma.ticketGroup.create({
17150
+ * data: {
17151
+ * // ... data to create a TicketGroup
17152
+ * }
17153
+ * })
17154
+ *
17155
+ */
17156
+ create<T extends TicketGroupCreateArgs>(args: SelectSubset<T, TicketGroupCreateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
17157
+
17158
+ /**
17159
+ * Create many TicketGroups.
17160
+ * @param {TicketGroupCreateManyArgs} args - Arguments to create many TicketGroups.
17161
+ * @example
17162
+ * // Create many TicketGroups
17163
+ * const ticketGroup = await prisma.ticketGroup.createMany({
17164
+ * data: [
17165
+ * // ... provide data here
17166
+ * ]
17167
+ * })
17168
+ *
17169
+ */
17170
+ createMany<T extends TicketGroupCreateManyArgs>(args?: SelectSubset<T, TicketGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17171
+
17172
+ /**
17173
+ * Create many TicketGroups and returns the data saved in the database.
17174
+ * @param {TicketGroupCreateManyAndReturnArgs} args - Arguments to create many TicketGroups.
17175
+ * @example
17176
+ * // Create many TicketGroups
17177
+ * const ticketGroup = await prisma.ticketGroup.createManyAndReturn({
17178
+ * data: [
17179
+ * // ... provide data here
17180
+ * ]
17181
+ * })
17182
+ *
17183
+ * // Create many TicketGroups and only return the `id`
17184
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.createManyAndReturn({
17185
+ * select: { id: true },
17186
+ * data: [
17187
+ * // ... provide data here
17188
+ * ]
17189
+ * })
17190
+ * Note, that providing `undefined` is treated as the value not being there.
17191
+ * Read more here: https://pris.ly/d/null-undefined
17192
+ *
17193
+ */
17194
+ createManyAndReturn<T extends TicketGroupCreateManyAndReturnArgs>(args?: SelectSubset<T, TicketGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
17195
+
17196
+ /**
17197
+ * Delete a TicketGroup.
17198
+ * @param {TicketGroupDeleteArgs} args - Arguments to delete one TicketGroup.
17199
+ * @example
17200
+ * // Delete one TicketGroup
17201
+ * const TicketGroup = await prisma.ticketGroup.delete({
17202
+ * where: {
17203
+ * // ... filter to delete one TicketGroup
17204
+ * }
17205
+ * })
17206
+ *
17207
+ */
17208
+ delete<T extends TicketGroupDeleteArgs>(args: SelectSubset<T, TicketGroupDeleteArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
17209
+
17210
+ /**
17211
+ * Update one TicketGroup.
17212
+ * @param {TicketGroupUpdateArgs} args - Arguments to update one TicketGroup.
17213
+ * @example
17214
+ * // Update one TicketGroup
17215
+ * const ticketGroup = await prisma.ticketGroup.update({
17216
+ * where: {
17217
+ * // ... provide filter here
17218
+ * },
17219
+ * data: {
17220
+ * // ... provide data here
17221
+ * }
17222
+ * })
17223
+ *
17224
+ */
17225
+ update<T extends TicketGroupUpdateArgs>(args: SelectSubset<T, TicketGroupUpdateArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
17226
+
17227
+ /**
17228
+ * Delete zero or more TicketGroups.
17229
+ * @param {TicketGroupDeleteManyArgs} args - Arguments to filter TicketGroups to delete.
17230
+ * @example
17231
+ * // Delete a few TicketGroups
17232
+ * const { count } = await prisma.ticketGroup.deleteMany({
17233
+ * where: {
17234
+ * // ... provide filter here
17235
+ * }
17236
+ * })
17237
+ *
17238
+ */
17239
+ deleteMany<T extends TicketGroupDeleteManyArgs>(args?: SelectSubset<T, TicketGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17240
+
17241
+ /**
17242
+ * Update zero or more TicketGroups.
17243
+ * Note, that providing `undefined` is treated as the value not being there.
17244
+ * Read more here: https://pris.ly/d/null-undefined
17245
+ * @param {TicketGroupUpdateManyArgs} args - Arguments to update one or more rows.
17246
+ * @example
17247
+ * // Update many TicketGroups
17248
+ * const ticketGroup = await prisma.ticketGroup.updateMany({
17249
+ * where: {
17250
+ * // ... provide filter here
17251
+ * },
17252
+ * data: {
17253
+ * // ... provide data here
17254
+ * }
17255
+ * })
17256
+ *
17257
+ */
17258
+ updateMany<T extends TicketGroupUpdateManyArgs>(args: SelectSubset<T, TicketGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
17259
+
17260
+ /**
17261
+ * Update zero or more TicketGroups and returns the data updated in the database.
17262
+ * @param {TicketGroupUpdateManyAndReturnArgs} args - Arguments to update many TicketGroups.
17263
+ * @example
17264
+ * // Update many TicketGroups
17265
+ * const ticketGroup = await prisma.ticketGroup.updateManyAndReturn({
17266
+ * where: {
17267
+ * // ... provide filter here
17268
+ * },
17269
+ * data: [
17270
+ * // ... provide data here
17271
+ * ]
17272
+ * })
17273
+ *
17274
+ * // Update zero or more TicketGroups and only return the `id`
17275
+ * const ticketGroupWithIdOnly = await prisma.ticketGroup.updateManyAndReturn({
17276
+ * select: { id: true },
17277
+ * where: {
17278
+ * // ... provide filter here
17279
+ * },
17280
+ * data: [
17281
+ * // ... provide data here
17282
+ * ]
17283
+ * })
17284
+ * Note, that providing `undefined` is treated as the value not being there.
17285
+ * Read more here: https://pris.ly/d/null-undefined
17286
+ *
17287
+ */
17288
+ updateManyAndReturn<T extends TicketGroupUpdateManyAndReturnArgs>(args: SelectSubset<T, TicketGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
17289
+
17290
+ /**
17291
+ * Create or update one TicketGroup.
17292
+ * @param {TicketGroupUpsertArgs} args - Arguments to update or create a TicketGroup.
17293
+ * @example
17294
+ * // Update or create a TicketGroup
17295
+ * const ticketGroup = await prisma.ticketGroup.upsert({
17296
+ * create: {
17297
+ * // ... data to create a TicketGroup
17298
+ * },
17299
+ * update: {
17300
+ * // ... in case it already exists, update
17301
+ * },
17302
+ * where: {
17303
+ * // ... the filter for the TicketGroup we want to update
17304
+ * }
17305
+ * })
17306
+ */
17307
+ upsert<T extends TicketGroupUpsertArgs>(args: SelectSubset<T, TicketGroupUpsertArgs<ExtArgs>>): Prisma__TicketGroupClient<$Result.GetResult<Prisma.$TicketGroupPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
17308
+
17309
+
17310
+ /**
17311
+ * Count the number of TicketGroups.
17312
+ * Note, that providing `undefined` is treated as the value not being there.
17313
+ * Read more here: https://pris.ly/d/null-undefined
17314
+ * @param {TicketGroupCountArgs} args - Arguments to filter TicketGroups to count.
17315
+ * @example
17316
+ * // Count the number of TicketGroups
17317
+ * const count = await prisma.ticketGroup.count({
17318
+ * where: {
17319
+ * // ... the filter for the TicketGroups we want to count
17320
+ * }
17321
+ * })
17322
+ **/
17323
+ count<T extends TicketGroupCountArgs>(
17324
+ args?: Subset<T, TicketGroupCountArgs>,
17325
+ ): Prisma.PrismaPromise<
17326
+ T extends $Utils.Record<'select', any>
17327
+ ? T['select'] extends true
17328
+ ? number
17329
+ : GetScalarType<T['select'], TicketGroupCountAggregateOutputType>
17330
+ : number
17331
+ >
17332
+
17333
+ /**
17334
+ * Allows you to perform aggregations operations on a TicketGroup.
17335
+ * Note, that providing `undefined` is treated as the value not being there.
17336
+ * Read more here: https://pris.ly/d/null-undefined
17337
+ * @param {TicketGroupAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
17338
+ * @example
17339
+ * // Ordered by age ascending
17340
+ * // Where email contains prisma.io
17341
+ * // Limited to the 10 users
17342
+ * const aggregations = await prisma.user.aggregate({
17343
+ * _avg: {
17344
+ * age: true,
17345
+ * },
17346
+ * where: {
17347
+ * email: {
17348
+ * contains: "prisma.io",
17349
+ * },
17350
+ * },
17351
+ * orderBy: {
17352
+ * age: "asc",
17353
+ * },
17354
+ * take: 10,
17355
+ * })
17356
+ **/
17357
+ aggregate<T extends TicketGroupAggregateArgs>(args: Subset<T, TicketGroupAggregateArgs>): Prisma.PrismaPromise<GetTicketGroupAggregateType<T>>
17358
+
17359
+ /**
17360
+ * Group by TicketGroup.
17361
+ * Note, that providing `undefined` is treated as the value not being there.
17362
+ * Read more here: https://pris.ly/d/null-undefined
17363
+ * @param {TicketGroupGroupByArgs} args - Group by arguments.
17364
+ * @example
17365
+ * // Group by city, order by createdAt, get count
17366
+ * const result = await prisma.user.groupBy({
17367
+ * by: ['city', 'createdAt'],
17368
+ * orderBy: {
17369
+ * createdAt: true
17370
+ * },
17371
+ * _count: {
17372
+ * _all: true
17373
+ * },
17374
+ * })
17375
+ *
17376
+ **/
17377
+ groupBy<
17378
+ T extends TicketGroupGroupByArgs,
17379
+ HasSelectOrTake extends Or<
17380
+ Extends<'skip', Keys<T>>,
17381
+ Extends<'take', Keys<T>>
17382
+ >,
17383
+ OrderByArg extends True extends HasSelectOrTake
17384
+ ? { orderBy: TicketGroupGroupByArgs['orderBy'] }
17385
+ : { orderBy?: TicketGroupGroupByArgs['orderBy'] },
17386
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
17387
+ ByFields extends MaybeTupleToUnion<T['by']>,
17388
+ ByValid extends Has<ByFields, OrderFields>,
17389
+ HavingFields extends GetHavingFields<T['having']>,
17390
+ HavingValid extends Has<ByFields, HavingFields>,
17391
+ ByEmpty extends T['by'] extends never[] ? True : False,
17392
+ InputErrors extends ByEmpty extends True
17393
+ ? `Error: "by" must not be empty.`
17394
+ : HavingValid extends False
17395
+ ? {
17396
+ [P in HavingFields]: P extends ByFields
17397
+ ? never
17398
+ : P extends string
17399
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
17400
+ : [
17401
+ Error,
17402
+ 'Field ',
17403
+ P,
17404
+ ` in "having" needs to be provided in "by"`,
17405
+ ]
17406
+ }[HavingFields]
17407
+ : 'take' extends Keys<T>
17408
+ ? 'orderBy' extends Keys<T>
17409
+ ? ByValid extends True
17410
+ ? {}
17411
+ : {
17412
+ [P in OrderFields]: P extends ByFields
17413
+ ? never
17414
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17415
+ }[OrderFields]
17416
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
17417
+ : 'skip' extends Keys<T>
17418
+ ? 'orderBy' extends Keys<T>
17419
+ ? ByValid extends True
17420
+ ? {}
17421
+ : {
17422
+ [P in OrderFields]: P extends ByFields
17423
+ ? never
17424
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17425
+ }[OrderFields]
17426
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
17427
+ : ByValid extends True
17428
+ ? {}
17429
+ : {
17430
+ [P in OrderFields]: P extends ByFields
17431
+ ? never
17432
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
17433
+ }[OrderFields]
17434
+ >(args: SubsetIntersection<T, TicketGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
17435
+ /**
17436
+ * Fields of the TicketGroup model
17437
+ */
17438
+ readonly fields: TicketGroupFieldRefs;
17439
+ }
17440
+
17441
+ /**
17442
+ * The delegate class that acts as a "Promise-like" for TicketGroup.
17443
+ * Why is this prefixed with `Prisma__`?
17444
+ * Because we want to prevent naming conflicts as mentioned in
17445
+ * https://github.com/prisma/prisma-client-js/issues/707
17446
+ */
17447
+ export interface Prisma__TicketGroupClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
17448
+ readonly [Symbol.toStringTag]: "PrismaPromise"
17449
+ event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
17450
+ tickets<T extends TicketGroup$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, TicketGroup$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
17451
+ /**
17452
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
17453
+ * @param onfulfilled The callback to execute when the Promise is resolved.
17454
+ * @param onrejected The callback to execute when the Promise is rejected.
17455
+ * @returns A Promise for the completion of which ever callback is executed.
17456
+ */
17457
+ 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>
17458
+ /**
17459
+ * Attaches a callback for only the rejection of the Promise.
17460
+ * @param onrejected The callback to execute when the Promise is rejected.
17461
+ * @returns A Promise for the completion of the callback.
17462
+ */
17463
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
17464
+ /**
17465
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
17466
+ * resolved value cannot be modified from the callback.
17467
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
17468
+ * @returns A Promise for the completion of the callback.
17469
+ */
17470
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
17471
+ }
17472
+
17473
+
17474
+
17475
+
17476
+ /**
17477
+ * Fields of the TicketGroup model
17478
+ */
17479
+ interface TicketGroupFieldRefs {
17480
+ readonly id: FieldRef<"TicketGroup", 'String'>
17481
+ readonly status: FieldRef<"TicketGroup", 'TicketGroupStatus'>
17482
+ readonly amountTickets: FieldRef<"TicketGroup", 'Int'>
17483
+ readonly eventId: FieldRef<"TicketGroup", 'String'>
17484
+ readonly created_at: FieldRef<"TicketGroup", 'DateTime'>
17485
+ readonly updated_at: FieldRef<"TicketGroup", 'DateTime'>
17486
+ }
17487
+
17488
+
17489
+ // Custom InputTypes
17490
+ /**
17491
+ * TicketGroup findUnique
17492
+ */
17493
+ export type TicketGroupFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17494
+ /**
17495
+ * Select specific fields to fetch from the TicketGroup
17496
+ */
17497
+ select?: TicketGroupSelect<ExtArgs> | null
17498
+ /**
17499
+ * Omit specific fields from the TicketGroup
17500
+ */
17501
+ omit?: TicketGroupOmit<ExtArgs> | null
17502
+ /**
17503
+ * Choose, which related nodes to fetch as well
17504
+ */
17505
+ include?: TicketGroupInclude<ExtArgs> | null
17506
+ /**
17507
+ * Filter, which TicketGroup to fetch.
17508
+ */
17509
+ where: TicketGroupWhereUniqueInput
17510
+ }
17511
+
17512
+ /**
17513
+ * TicketGroup findUniqueOrThrow
17514
+ */
17515
+ export type TicketGroupFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17516
+ /**
17517
+ * Select specific fields to fetch from the TicketGroup
17518
+ */
17519
+ select?: TicketGroupSelect<ExtArgs> | null
17520
+ /**
17521
+ * Omit specific fields from the TicketGroup
17522
+ */
17523
+ omit?: TicketGroupOmit<ExtArgs> | null
17524
+ /**
17525
+ * Choose, which related nodes to fetch as well
17526
+ */
17527
+ include?: TicketGroupInclude<ExtArgs> | null
17528
+ /**
17529
+ * Filter, which TicketGroup to fetch.
17530
+ */
17531
+ where: TicketGroupWhereUniqueInput
17532
+ }
17533
+
17534
+ /**
17535
+ * TicketGroup findFirst
17536
+ */
17537
+ export type TicketGroupFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17538
+ /**
17539
+ * Select specific fields to fetch from the TicketGroup
17540
+ */
17541
+ select?: TicketGroupSelect<ExtArgs> | null
17542
+ /**
17543
+ * Omit specific fields from the TicketGroup
17544
+ */
17545
+ omit?: TicketGroupOmit<ExtArgs> | null
17546
+ /**
17547
+ * Choose, which related nodes to fetch as well
17548
+ */
17549
+ include?: TicketGroupInclude<ExtArgs> | null
17550
+ /**
17551
+ * Filter, which TicketGroup to fetch.
17552
+ */
17553
+ where?: TicketGroupWhereInput
17554
+ /**
17555
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17556
+ *
17557
+ * Determine the order of TicketGroups to fetch.
17558
+ */
17559
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17560
+ /**
17561
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17562
+ *
17563
+ * Sets the position for searching for TicketGroups.
17564
+ */
17565
+ cursor?: TicketGroupWhereUniqueInput
17566
+ /**
17567
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17568
+ *
17569
+ * Take `±n` TicketGroups from the position of the cursor.
17570
+ */
17571
+ take?: number
17572
+ /**
17573
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17574
+ *
17575
+ * Skip the first `n` TicketGroups.
17576
+ */
17577
+ skip?: number
17578
+ /**
17579
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17580
+ *
17581
+ * Filter by unique combinations of TicketGroups.
17582
+ */
17583
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17584
+ }
17585
+
17586
+ /**
17587
+ * TicketGroup findFirstOrThrow
17588
+ */
17589
+ export type TicketGroupFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17590
+ /**
17591
+ * Select specific fields to fetch from the TicketGroup
17592
+ */
17593
+ select?: TicketGroupSelect<ExtArgs> | null
17594
+ /**
17595
+ * Omit specific fields from the TicketGroup
17596
+ */
17597
+ omit?: TicketGroupOmit<ExtArgs> | null
17598
+ /**
17599
+ * Choose, which related nodes to fetch as well
17600
+ */
17601
+ include?: TicketGroupInclude<ExtArgs> | null
17602
+ /**
17603
+ * Filter, which TicketGroup to fetch.
17604
+ */
17605
+ where?: TicketGroupWhereInput
17606
+ /**
17607
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17608
+ *
17609
+ * Determine the order of TicketGroups to fetch.
17610
+ */
17611
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17612
+ /**
17613
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17614
+ *
17615
+ * Sets the position for searching for TicketGroups.
17616
+ */
17617
+ cursor?: TicketGroupWhereUniqueInput
17618
+ /**
17619
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17620
+ *
17621
+ * Take `±n` TicketGroups from the position of the cursor.
17622
+ */
17623
+ take?: number
17624
+ /**
17625
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17626
+ *
17627
+ * Skip the first `n` TicketGroups.
17628
+ */
17629
+ skip?: number
17630
+ /**
17631
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17632
+ *
17633
+ * Filter by unique combinations of TicketGroups.
17634
+ */
17635
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17636
+ }
17637
+
17638
+ /**
17639
+ * TicketGroup findMany
17640
+ */
17641
+ export type TicketGroupFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17642
+ /**
17643
+ * Select specific fields to fetch from the TicketGroup
17644
+ */
17645
+ select?: TicketGroupSelect<ExtArgs> | null
17646
+ /**
17647
+ * Omit specific fields from the TicketGroup
17648
+ */
17649
+ omit?: TicketGroupOmit<ExtArgs> | null
17650
+ /**
17651
+ * Choose, which related nodes to fetch as well
17652
+ */
17653
+ include?: TicketGroupInclude<ExtArgs> | null
17654
+ /**
17655
+ * Filter, which TicketGroups to fetch.
17656
+ */
17657
+ where?: TicketGroupWhereInput
17658
+ /**
17659
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17660
+ *
17661
+ * Determine the order of TicketGroups to fetch.
17662
+ */
17663
+ orderBy?: TicketGroupOrderByWithRelationInput | TicketGroupOrderByWithRelationInput[]
17664
+ /**
17665
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17666
+ *
17667
+ * Sets the position for listing TicketGroups.
17668
+ */
17669
+ cursor?: TicketGroupWhereUniqueInput
17670
+ /**
17671
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17672
+ *
17673
+ * Take `±n` TicketGroups from the position of the cursor.
17674
+ */
17675
+ take?: number
17676
+ /**
17677
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17678
+ *
17679
+ * Skip the first `n` TicketGroups.
17680
+ */
17681
+ skip?: number
17682
+ distinct?: TicketGroupScalarFieldEnum | TicketGroupScalarFieldEnum[]
17683
+ }
17684
+
17685
+ /**
17686
+ * TicketGroup create
17687
+ */
17688
+ export type TicketGroupCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17689
+ /**
17690
+ * Select specific fields to fetch from the TicketGroup
17691
+ */
17692
+ select?: TicketGroupSelect<ExtArgs> | null
17693
+ /**
17694
+ * Omit specific fields from the TicketGroup
17695
+ */
17696
+ omit?: TicketGroupOmit<ExtArgs> | null
17697
+ /**
17698
+ * Choose, which related nodes to fetch as well
17699
+ */
17700
+ include?: TicketGroupInclude<ExtArgs> | null
17701
+ /**
17702
+ * The data needed to create a TicketGroup.
17703
+ */
17704
+ data: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17705
+ }
17706
+
17707
+ /**
17708
+ * TicketGroup createMany
17709
+ */
17710
+ export type TicketGroupCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17711
+ /**
17712
+ * The data used to create many TicketGroups.
17713
+ */
17714
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17715
+ skipDuplicates?: boolean
17716
+ }
17717
+
17718
+ /**
17719
+ * TicketGroup createManyAndReturn
17720
+ */
17721
+ export type TicketGroupCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17722
+ /**
17723
+ * Select specific fields to fetch from the TicketGroup
17724
+ */
17725
+ select?: TicketGroupSelectCreateManyAndReturn<ExtArgs> | null
17726
+ /**
17727
+ * Omit specific fields from the TicketGroup
17728
+ */
17729
+ omit?: TicketGroupOmit<ExtArgs> | null
17730
+ /**
17731
+ * The data used to create many TicketGroups.
17732
+ */
17733
+ data: TicketGroupCreateManyInput | TicketGroupCreateManyInput[]
17734
+ skipDuplicates?: boolean
17735
+ /**
17736
+ * Choose, which related nodes to fetch as well
17737
+ */
17738
+ include?: TicketGroupIncludeCreateManyAndReturn<ExtArgs> | null
17739
+ }
17740
+
17741
+ /**
17742
+ * TicketGroup update
17743
+ */
17744
+ export type TicketGroupUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17745
+ /**
17746
+ * Select specific fields to fetch from the TicketGroup
17747
+ */
17748
+ select?: TicketGroupSelect<ExtArgs> | null
17749
+ /**
17750
+ * Omit specific fields from the TicketGroup
17751
+ */
17752
+ omit?: TicketGroupOmit<ExtArgs> | null
17753
+ /**
17754
+ * Choose, which related nodes to fetch as well
17755
+ */
17756
+ include?: TicketGroupInclude<ExtArgs> | null
17757
+ /**
17758
+ * The data needed to update a TicketGroup.
17759
+ */
17760
+ data: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17761
+ /**
17762
+ * Choose, which TicketGroup to update.
17763
+ */
17764
+ where: TicketGroupWhereUniqueInput
17765
+ }
17766
+
17767
+ /**
17768
+ * TicketGroup updateMany
17769
+ */
17770
+ export type TicketGroupUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17771
+ /**
17772
+ * The data used to update TicketGroups.
17773
+ */
17774
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17775
+ /**
17776
+ * Filter which TicketGroups to update
17777
+ */
17778
+ where?: TicketGroupWhereInput
17779
+ /**
17780
+ * Limit how many TicketGroups to update.
17781
+ */
17782
+ limit?: number
17783
+ }
17784
+
17785
+ /**
17786
+ * TicketGroup updateManyAndReturn
17787
+ */
17788
+ export type TicketGroupUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17789
+ /**
17790
+ * Select specific fields to fetch from the TicketGroup
17791
+ */
17792
+ select?: TicketGroupSelectUpdateManyAndReturn<ExtArgs> | null
17793
+ /**
17794
+ * Omit specific fields from the TicketGroup
17795
+ */
17796
+ omit?: TicketGroupOmit<ExtArgs> | null
17797
+ /**
17798
+ * The data used to update TicketGroups.
17799
+ */
17800
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyInput>
17801
+ /**
17802
+ * Filter which TicketGroups to update
17803
+ */
17804
+ where?: TicketGroupWhereInput
17805
+ /**
17806
+ * Limit how many TicketGroups to update.
17807
+ */
17808
+ limit?: number
17809
+ /**
17810
+ * Choose, which related nodes to fetch as well
17811
+ */
17812
+ include?: TicketGroupIncludeUpdateManyAndReturn<ExtArgs> | null
17813
+ }
17814
+
17815
+ /**
17816
+ * TicketGroup upsert
17817
+ */
17818
+ export type TicketGroupUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17819
+ /**
17820
+ * Select specific fields to fetch from the TicketGroup
17821
+ */
17822
+ select?: TicketGroupSelect<ExtArgs> | null
17823
+ /**
17824
+ * Omit specific fields from the TicketGroup
17825
+ */
17826
+ omit?: TicketGroupOmit<ExtArgs> | null
17827
+ /**
17828
+ * Choose, which related nodes to fetch as well
17829
+ */
17830
+ include?: TicketGroupInclude<ExtArgs> | null
17831
+ /**
17832
+ * The filter to search for the TicketGroup to update in case it exists.
17833
+ */
17834
+ where: TicketGroupWhereUniqueInput
17835
+ /**
17836
+ * In case the TicketGroup found by the `where` argument doesn't exist, create a new TicketGroup with this data.
17837
+ */
17838
+ create: XOR<TicketGroupCreateInput, TicketGroupUncheckedCreateInput>
17839
+ /**
17840
+ * In case the TicketGroup was found with the provided `where` argument, update it with this data.
17841
+ */
17842
+ update: XOR<TicketGroupUpdateInput, TicketGroupUncheckedUpdateInput>
17843
+ }
17844
+
17845
+ /**
17846
+ * TicketGroup delete
17847
+ */
17848
+ export type TicketGroupDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17849
+ /**
17850
+ * Select specific fields to fetch from the TicketGroup
17851
+ */
17852
+ select?: TicketGroupSelect<ExtArgs> | null
17853
+ /**
17854
+ * Omit specific fields from the TicketGroup
17855
+ */
17856
+ omit?: TicketGroupOmit<ExtArgs> | null
17857
+ /**
17858
+ * Choose, which related nodes to fetch as well
17859
+ */
17860
+ include?: TicketGroupInclude<ExtArgs> | null
17861
+ /**
17862
+ * Filter which TicketGroup to delete.
17863
+ */
17864
+ where: TicketGroupWhereUniqueInput
17865
+ }
17866
+
17867
+ /**
17868
+ * TicketGroup deleteMany
17869
+ */
17870
+ export type TicketGroupDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17871
+ /**
17872
+ * Filter which TicketGroups to delete
17873
+ */
17874
+ where?: TicketGroupWhereInput
17875
+ /**
17876
+ * Limit how many TicketGroups to delete.
17877
+ */
17878
+ limit?: number
17879
+ }
17880
+
17881
+ /**
17882
+ * TicketGroup.tickets
17883
+ */
17884
+ export type TicketGroup$ticketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17885
+ /**
17886
+ * Select specific fields to fetch from the Ticket
17887
+ */
17888
+ select?: TicketSelect<ExtArgs> | null
17889
+ /**
17890
+ * Omit specific fields from the Ticket
17891
+ */
17892
+ omit?: TicketOmit<ExtArgs> | null
17893
+ /**
17894
+ * Choose, which related nodes to fetch as well
17895
+ */
17896
+ include?: TicketInclude<ExtArgs> | null
17897
+ where?: TicketWhereInput
17898
+ orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
17899
+ cursor?: TicketWhereUniqueInput
17900
+ take?: number
17901
+ skip?: number
17902
+ distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
17903
+ }
17904
+
17905
+ /**
17906
+ * TicketGroup without action
17907
+ */
17908
+ export type TicketGroupDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17909
+ /**
17910
+ * Select specific fields to fetch from the TicketGroup
17911
+ */
17912
+ select?: TicketGroupSelect<ExtArgs> | null
17913
+ /**
17914
+ * Omit specific fields from the TicketGroup
17915
+ */
17916
+ omit?: TicketGroupOmit<ExtArgs> | null
17917
+ /**
17918
+ * Choose, which related nodes to fetch as well
17919
+ */
17920
+ include?: TicketGroupInclude<ExtArgs> | null
17921
+ }
17922
+
17923
+
17924
+ /**
17925
+ * Model Enums
17926
+ */
17927
+
17928
+ export type AggregateEnums = {
17929
+ _count: EnumsCountAggregateOutputType | null
17930
+ _min: EnumsMinAggregateOutputType | null
17931
+ _max: EnumsMaxAggregateOutputType | null
17932
+ }
17933
+
17934
+ export type EnumsMinAggregateOutputType = {
17935
+ id: string | null
17936
+ templateStatus: $Enums.TemplateStatus | null
17937
+ templateCategory: $Enums.TemplateCategory | null
17938
+ }
17939
+
17940
+ export type EnumsMaxAggregateOutputType = {
17941
+ id: string | null
17942
+ templateStatus: $Enums.TemplateStatus | null
17943
+ templateCategory: $Enums.TemplateCategory | null
17944
+ }
17945
+
17946
+ export type EnumsCountAggregateOutputType = {
17947
+ id: number
17948
+ templateStatus: number
17949
+ templateCategory: number
17950
+ _all: number
17951
+ }
17952
+
17953
+
17954
+ export type EnumsMinAggregateInputType = {
17955
+ id?: true
17956
+ templateStatus?: true
17957
+ templateCategory?: true
17958
+ }
17959
+
17960
+ export type EnumsMaxAggregateInputType = {
17961
+ id?: true
17962
+ templateStatus?: true
17963
+ templateCategory?: true
17964
+ }
17965
+
17966
+ export type EnumsCountAggregateInputType = {
17967
+ id?: true
17968
+ templateStatus?: true
17969
+ templateCategory?: true
17970
+ _all?: true
17971
+ }
17972
+
17973
+ export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17974
+ /**
17975
+ * Filter which Enums to aggregate.
17976
+ */
17977
+ where?: EnumsWhereInput
17978
+ /**
17979
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17980
+ *
17981
+ * Determine the order of Enums to fetch.
17982
+ */
17983
+ orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
17984
+ /**
17985
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17986
+ *
17987
+ * Sets the start position
17988
+ */
17989
+ cursor?: EnumsWhereUniqueInput
17990
+ /**
17991
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17992
+ *
17993
+ * Take `±n` Enums from the position of the cursor.
17994
+ */
17995
+ take?: number
17996
+ /**
17997
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17998
+ *
17999
+ * Skip the first `n` Enums.
18000
+ */
18001
+ skip?: number
18002
+ /**
18003
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
18004
+ *
18005
+ * Count returned Enums
18006
+ **/
18007
+ _count?: true | EnumsCountAggregateInputType
18008
+ /**
18009
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
18010
+ *
18011
+ * Select which fields to find the minimum value
18012
+ **/
18013
+ _min?: EnumsMinAggregateInputType
18014
+ /**
18015
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
18016
+ *
18017
+ * Select which fields to find the maximum value
18018
+ **/
18019
+ _max?: EnumsMaxAggregateInputType
18020
+ }
18021
+
18022
+ export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
18023
+ [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
18024
+ ? T[P] extends true
18025
+ ? number
18026
+ : GetScalarType<T[P], AggregateEnums[P]>
18027
+ : GetScalarType<T[P], AggregateEnums[P]>
18028
+ }
18029
+
18030
+
18031
+
18032
+
18033
+ export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18034
+ where?: EnumsWhereInput
18035
+ orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
18036
+ by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
18037
+ having?: EnumsScalarWhereWithAggregatesInput
18038
+ take?: number
18039
+ skip?: number
18040
+ _count?: EnumsCountAggregateInputType | true
18041
+ _min?: EnumsMinAggregateInputType
18042
+ _max?: EnumsMaxAggregateInputType
18043
+ }
18044
+
18045
+ export type EnumsGroupByOutputType = {
18046
+ id: string
18047
+ templateStatus: $Enums.TemplateStatus
18048
+ templateCategory: $Enums.TemplateCategory
18049
+ _count: EnumsCountAggregateOutputType | null
18050
+ _min: EnumsMinAggregateOutputType | null
18051
+ _max: EnumsMaxAggregateOutputType | null
18052
+ }
18053
+
18054
+ type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
18055
+ Array<
18056
+ PickEnumerable<EnumsGroupByOutputType, T['by']> &
18057
+ {
18058
+ [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
18059
+ ? T[P] extends boolean
18060
+ ? number
18061
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
18062
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
18063
+ }
18064
+ >
18065
+ >
18066
+
18067
+
18068
+ export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18069
+ id?: boolean
18070
+ templateStatus?: boolean
18071
+ templateCategory?: boolean
18072
+ }, ExtArgs["result"]["enums"]>
18073
+
18074
+ export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18075
+ id?: boolean
18076
+ templateStatus?: boolean
18077
+ templateCategory?: boolean
18078
+ }, ExtArgs["result"]["enums"]>
18079
+
18080
+ export type EnumsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
18081
+ id?: boolean
18082
+ templateStatus?: boolean
18083
+ templateCategory?: boolean
18084
+ }, ExtArgs["result"]["enums"]>
18085
+
18086
+ export type EnumsSelectScalar = {
18087
+ id?: boolean
18088
+ templateStatus?: boolean
18089
+ templateCategory?: boolean
18090
+ }
18091
+
18092
+ export type EnumsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "templateStatus" | "templateCategory", ExtArgs["result"]["enums"]>
18093
+
18094
+ export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
18095
+ name: "Enums"
18096
+ objects: {}
16776
18097
  scalars: $Extensions.GetPayloadResult<{
16777
18098
  id: string
16778
18099
  templateStatus: $Enums.TemplateStatus
@@ -18873,12 +20194,12 @@ export namespace Prisma {
18873
20194
  id: 'id',
18874
20195
  eventId: 'eventId',
18875
20196
  type: 'type',
18876
- status: 'status',
18877
20197
  fullName: 'fullName',
18878
20198
  mail: 'mail',
18879
20199
  dni: 'dni',
18880
20200
  seat: 'seat',
18881
20201
  profileId: 'profileId',
20202
+ ticketGroupId: 'ticketGroupId',
18882
20203
  created_at: 'created_at',
18883
20204
  updated_at: 'updated_at'
18884
20205
  };
@@ -18886,6 +20207,18 @@ export namespace Prisma {
18886
20207
  export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum]
18887
20208
 
18888
20209
 
20210
+ export const TicketGroupScalarFieldEnum: {
20211
+ id: 'id',
20212
+ status: 'status',
20213
+ amountTickets: 'amountTickets',
20214
+ eventId: 'eventId',
20215
+ created_at: 'created_at',
20216
+ updated_at: 'updated_at'
20217
+ };
20218
+
20219
+ export type TicketGroupScalarFieldEnum = (typeof TicketGroupScalarFieldEnum)[keyof typeof TicketGroupScalarFieldEnum]
20220
+
20221
+
18889
20222
  export const EnumsScalarFieldEnum: {
18890
20223
  id: 'id',
18891
20224
  templateStatus: 'templateStatus',
@@ -19087,16 +20420,16 @@ export namespace Prisma {
19087
20420
 
19088
20421
 
19089
20422
  /**
19090
- * Reference to a field of type 'TicketStatus'
20423
+ * Reference to a field of type 'TicketGroupStatus'
19091
20424
  */
19092
- export type EnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus'>
20425
+ export type EnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus'>
19093
20426
 
19094
20427
 
19095
20428
 
19096
20429
  /**
19097
- * Reference to a field of type 'TicketStatus[]'
20430
+ * Reference to a field of type 'TicketGroupStatus[]'
19098
20431
  */
19099
- export type ListEnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus[]'>
20432
+ export type ListEnumTicketGroupStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketGroupStatus[]'>
19100
20433
 
19101
20434
 
19102
20435
 
@@ -19762,6 +21095,7 @@ export namespace Prisma {
19762
21095
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19763
21096
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19764
21097
  tickets?: TicketListRelationFilter
21098
+ ticketGroups?: TicketGroupListRelationFilter
19765
21099
  subEvents?: EventListRelationFilter
19766
21100
  tags?: TagListRelationFilter
19767
21101
  eventTickets?: EventTicketListRelationFilter
@@ -19786,6 +21120,7 @@ export namespace Prisma {
19786
21120
  tagConfirmed?: TagOrderByWithRelationInput
19787
21121
  supraEvent?: EventOrderByWithRelationInput
19788
21122
  tickets?: TicketOrderByRelationAggregateInput
21123
+ ticketGroups?: TicketGroupOrderByRelationAggregateInput
19789
21124
  subEvents?: EventOrderByRelationAggregateInput
19790
21125
  tags?: TagOrderByRelationAggregateInput
19791
21126
  eventTickets?: EventTicketOrderByRelationAggregateInput
@@ -19813,6 +21148,7 @@ export namespace Prisma {
19813
21148
  tagConfirmed?: XOR<TagScalarRelationFilter, TagWhereInput>
19814
21149
  supraEvent?: XOR<EventNullableScalarRelationFilter, EventWhereInput> | null
19815
21150
  tickets?: TicketListRelationFilter
21151
+ ticketGroups?: TicketGroupListRelationFilter
19816
21152
  subEvents?: EventListRelationFilter
19817
21153
  tags?: TagListRelationFilter
19818
21154
  eventTickets?: EventTicketListRelationFilter
@@ -20035,32 +21371,34 @@ export namespace Prisma {
20035
21371
  id?: StringFilter<"Ticket"> | string
20036
21372
  eventId?: StringFilter<"Ticket"> | string
20037
21373
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20038
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20039
21374
  fullName?: StringFilter<"Ticket"> | string
20040
21375
  mail?: StringFilter<"Ticket"> | string
20041
21376
  dni?: StringFilter<"Ticket"> | string
20042
21377
  seat?: IntNullableFilter<"Ticket"> | number | null
20043
21378
  profileId?: StringNullableFilter<"Ticket"> | string | null
21379
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
20044
21380
  created_at?: DateTimeFilter<"Ticket"> | Date | string
20045
21381
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
20046
21382
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20047
21383
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21384
+ ticketGroup?: XOR<TicketGroupNullableScalarRelationFilter, TicketGroupWhereInput> | null
20048
21385
  }
20049
21386
 
20050
21387
  export type TicketOrderByWithRelationInput = {
20051
21388
  id?: SortOrder
20052
21389
  eventId?: SortOrder
20053
21390
  type?: SortOrder
20054
- status?: SortOrder
20055
21391
  fullName?: SortOrder
20056
21392
  mail?: SortOrder
20057
21393
  dni?: SortOrder
20058
21394
  seat?: SortOrderInput | SortOrder
20059
21395
  profileId?: SortOrderInput | SortOrder
21396
+ ticketGroupId?: SortOrderInput | SortOrder
20060
21397
  created_at?: SortOrder
20061
21398
  updated_at?: SortOrder
20062
21399
  event?: EventOrderByWithRelationInput
20063
21400
  profile?: ProfileOrderByWithRelationInput
21401
+ ticketGroup?: TicketGroupOrderByWithRelationInput
20064
21402
  }
20065
21403
 
20066
21404
  export type TicketWhereUniqueInput = Prisma.AtLeast<{
@@ -20070,28 +21408,29 @@ export namespace Prisma {
20070
21408
  NOT?: TicketWhereInput | TicketWhereInput[]
20071
21409
  eventId?: StringFilter<"Ticket"> | string
20072
21410
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20073
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20074
21411
  fullName?: StringFilter<"Ticket"> | string
20075
21412
  mail?: StringFilter<"Ticket"> | string
20076
21413
  dni?: StringFilter<"Ticket"> | string
20077
21414
  seat?: IntNullableFilter<"Ticket"> | number | null
20078
21415
  profileId?: StringNullableFilter<"Ticket"> | string | null
21416
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
20079
21417
  created_at?: DateTimeFilter<"Ticket"> | Date | string
20080
21418
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
20081
21419
  event?: XOR<EventScalarRelationFilter, EventWhereInput>
20082
21420
  profile?: XOR<ProfileNullableScalarRelationFilter, ProfileWhereInput> | null
21421
+ ticketGroup?: XOR<TicketGroupNullableScalarRelationFilter, TicketGroupWhereInput> | null
20083
21422
  }, "id">
20084
21423
 
20085
21424
  export type TicketOrderByWithAggregationInput = {
20086
21425
  id?: SortOrder
20087
21426
  eventId?: SortOrder
20088
21427
  type?: SortOrder
20089
- status?: SortOrder
20090
21428
  fullName?: SortOrder
20091
21429
  mail?: SortOrder
20092
21430
  dni?: SortOrder
20093
21431
  seat?: SortOrderInput | SortOrder
20094
21432
  profileId?: SortOrderInput | SortOrder
21433
+ ticketGroupId?: SortOrderInput | SortOrder
20095
21434
  created_at?: SortOrder
20096
21435
  updated_at?: SortOrder
20097
21436
  _count?: TicketCountOrderByAggregateInput
@@ -20108,16 +21447,81 @@ export namespace Prisma {
20108
21447
  id?: StringWithAggregatesFilter<"Ticket"> | string
20109
21448
  eventId?: StringWithAggregatesFilter<"Ticket"> | string
20110
21449
  type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
20111
- status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
20112
21450
  fullName?: StringWithAggregatesFilter<"Ticket"> | string
20113
21451
  mail?: StringWithAggregatesFilter<"Ticket"> | string
20114
21452
  dni?: StringWithAggregatesFilter<"Ticket"> | string
20115
21453
  seat?: IntNullableWithAggregatesFilter<"Ticket"> | number | null
20116
21454
  profileId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
21455
+ ticketGroupId?: StringNullableWithAggregatesFilter<"Ticket"> | string | null
20117
21456
  created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
20118
21457
  updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
20119
21458
  }
20120
21459
 
21460
+ export type TicketGroupWhereInput = {
21461
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21462
+ OR?: TicketGroupWhereInput[]
21463
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21464
+ id?: StringFilter<"TicketGroup"> | string
21465
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21466
+ amountTickets?: IntFilter<"TicketGroup"> | number
21467
+ eventId?: StringFilter<"TicketGroup"> | string
21468
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21469
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21470
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21471
+ tickets?: TicketListRelationFilter
21472
+ }
21473
+
21474
+ export type TicketGroupOrderByWithRelationInput = {
21475
+ id?: SortOrder
21476
+ status?: SortOrder
21477
+ amountTickets?: SortOrder
21478
+ eventId?: SortOrder
21479
+ created_at?: SortOrder
21480
+ updated_at?: SortOrder
21481
+ event?: EventOrderByWithRelationInput
21482
+ tickets?: TicketOrderByRelationAggregateInput
21483
+ }
21484
+
21485
+ export type TicketGroupWhereUniqueInput = Prisma.AtLeast<{
21486
+ id?: string
21487
+ AND?: TicketGroupWhereInput | TicketGroupWhereInput[]
21488
+ OR?: TicketGroupWhereInput[]
21489
+ NOT?: TicketGroupWhereInput | TicketGroupWhereInput[]
21490
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21491
+ amountTickets?: IntFilter<"TicketGroup"> | number
21492
+ eventId?: StringFilter<"TicketGroup"> | string
21493
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
21494
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
21495
+ event?: XOR<EventScalarRelationFilter, EventWhereInput>
21496
+ tickets?: TicketListRelationFilter
21497
+ }, "id">
21498
+
21499
+ export type TicketGroupOrderByWithAggregationInput = {
21500
+ id?: SortOrder
21501
+ status?: SortOrder
21502
+ amountTickets?: SortOrder
21503
+ eventId?: SortOrder
21504
+ created_at?: SortOrder
21505
+ updated_at?: SortOrder
21506
+ _count?: TicketGroupCountOrderByAggregateInput
21507
+ _avg?: TicketGroupAvgOrderByAggregateInput
21508
+ _max?: TicketGroupMaxOrderByAggregateInput
21509
+ _min?: TicketGroupMinOrderByAggregateInput
21510
+ _sum?: TicketGroupSumOrderByAggregateInput
21511
+ }
21512
+
21513
+ export type TicketGroupScalarWhereWithAggregatesInput = {
21514
+ AND?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21515
+ OR?: TicketGroupScalarWhereWithAggregatesInput[]
21516
+ NOT?: TicketGroupScalarWhereWithAggregatesInput | TicketGroupScalarWhereWithAggregatesInput[]
21517
+ id?: StringWithAggregatesFilter<"TicketGroup"> | string
21518
+ status?: EnumTicketGroupStatusWithAggregatesFilter<"TicketGroup"> | $Enums.TicketGroupStatus
21519
+ amountTickets?: IntWithAggregatesFilter<"TicketGroup"> | number
21520
+ eventId?: StringWithAggregatesFilter<"TicketGroup"> | string
21521
+ created_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
21522
+ updated_at?: DateTimeWithAggregatesFilter<"TicketGroup"> | Date | string
21523
+ }
21524
+
20121
21525
  export type EnumsWhereInput = {
20122
21526
  AND?: EnumsWhereInput | EnumsWhereInput[]
20123
21527
  OR?: EnumsWhereInput[]
@@ -20930,6 +22334,7 @@ export namespace Prisma {
20930
22334
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20931
22335
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20932
22336
  tickets?: TicketCreateNestedManyWithoutEventInput
22337
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
20933
22338
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
20934
22339
  tags?: TagCreateNestedManyWithoutEventInput
20935
22340
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -20950,6 +22355,7 @@ export namespace Prisma {
20950
22355
  created_at?: Date | string
20951
22356
  updated_at?: Date | string
20952
22357
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
22358
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
20953
22359
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20954
22360
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
20955
22361
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -20970,6 +22376,7 @@ export namespace Prisma {
20970
22376
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
20971
22377
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
20972
22378
  tickets?: TicketUpdateManyWithoutEventNestedInput
22379
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
20973
22380
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
20974
22381
  tags?: TagUpdateManyWithoutEventNestedInput
20975
22382
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -20990,6 +22397,7 @@ export namespace Prisma {
20990
22397
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20991
22398
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20992
22399
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
22400
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
20993
22401
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
20994
22402
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
20995
22403
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -21227,7 +22635,6 @@ export namespace Prisma {
21227
22635
  export type TicketCreateInput = {
21228
22636
  id?: string
21229
22637
  type: $Enums.TicketType
21230
- status: $Enums.TicketStatus
21231
22638
  fullName: string
21232
22639
  mail: string
21233
22640
  dni: string
@@ -21236,18 +22643,19 @@ export namespace Prisma {
21236
22643
  updated_at?: Date | string
21237
22644
  event: EventCreateNestedOneWithoutTicketsInput
21238
22645
  profile?: ProfileCreateNestedOneWithoutTicketInput
22646
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
21239
22647
  }
21240
22648
 
21241
22649
  export type TicketUncheckedCreateInput = {
21242
22650
  id?: string
21243
22651
  eventId: string
21244
22652
  type: $Enums.TicketType
21245
- status: $Enums.TicketStatus
21246
22653
  fullName: string
21247
22654
  mail: string
21248
22655
  dni: string
21249
22656
  seat?: number | null
21250
22657
  profileId?: string | null
22658
+ ticketGroupId?: string | null
21251
22659
  created_at?: Date | string
21252
22660
  updated_at?: Date | string
21253
22661
  }
@@ -21255,7 +22663,6 @@ export namespace Prisma {
21255
22663
  export type TicketUpdateInput = {
21256
22664
  id?: StringFieldUpdateOperationsInput | string
21257
22665
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21258
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21259
22666
  fullName?: StringFieldUpdateOperationsInput | string
21260
22667
  mail?: StringFieldUpdateOperationsInput | string
21261
22668
  dni?: StringFieldUpdateOperationsInput | string
@@ -21264,18 +22671,19 @@ export namespace Prisma {
21264
22671
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21265
22672
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
21266
22673
  profile?: ProfileUpdateOneWithoutTicketNestedInput
22674
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
21267
22675
  }
21268
22676
 
21269
22677
  export type TicketUncheckedUpdateInput = {
21270
22678
  id?: StringFieldUpdateOperationsInput | string
21271
22679
  eventId?: StringFieldUpdateOperationsInput | string
21272
22680
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21273
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21274
22681
  fullName?: StringFieldUpdateOperationsInput | string
21275
22682
  mail?: StringFieldUpdateOperationsInput | string
21276
22683
  dni?: StringFieldUpdateOperationsInput | string
21277
22684
  seat?: NullableIntFieldUpdateOperationsInput | number | null
21278
22685
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22686
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
21279
22687
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21280
22688
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21281
22689
  }
@@ -21284,12 +22692,12 @@ export namespace Prisma {
21284
22692
  id?: string
21285
22693
  eventId: string
21286
22694
  type: $Enums.TicketType
21287
- status: $Enums.TicketStatus
21288
22695
  fullName: string
21289
22696
  mail: string
21290
22697
  dni: string
21291
22698
  seat?: number | null
21292
22699
  profileId?: string | null
22700
+ ticketGroupId?: string | null
21293
22701
  created_at?: Date | string
21294
22702
  updated_at?: Date | string
21295
22703
  }
@@ -21297,7 +22705,6 @@ export namespace Prisma {
21297
22705
  export type TicketUpdateManyMutationInput = {
21298
22706
  id?: StringFieldUpdateOperationsInput | string
21299
22707
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21300
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21301
22708
  fullName?: StringFieldUpdateOperationsInput | string
21302
22709
  mail?: StringFieldUpdateOperationsInput | string
21303
22710
  dni?: StringFieldUpdateOperationsInput | string
@@ -21310,12 +22717,78 @@ export namespace Prisma {
21310
22717
  id?: StringFieldUpdateOperationsInput | string
21311
22718
  eventId?: StringFieldUpdateOperationsInput | string
21312
22719
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21313
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21314
22720
  fullName?: StringFieldUpdateOperationsInput | string
21315
22721
  mail?: StringFieldUpdateOperationsInput | string
21316
22722
  dni?: StringFieldUpdateOperationsInput | string
21317
22723
  seat?: NullableIntFieldUpdateOperationsInput | number | null
21318
22724
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
22725
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
22726
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22727
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22728
+ }
22729
+
22730
+ export type TicketGroupCreateInput = {
22731
+ id?: string
22732
+ status: $Enums.TicketGroupStatus
22733
+ amountTickets?: number
22734
+ created_at?: Date | string
22735
+ updated_at?: Date | string
22736
+ event: EventCreateNestedOneWithoutTicketGroupsInput
22737
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
22738
+ }
22739
+
22740
+ export type TicketGroupUncheckedCreateInput = {
22741
+ id?: string
22742
+ status: $Enums.TicketGroupStatus
22743
+ amountTickets?: number
22744
+ eventId: string
22745
+ created_at?: Date | string
22746
+ updated_at?: Date | string
22747
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
22748
+ }
22749
+
22750
+ export type TicketGroupUpdateInput = {
22751
+ id?: StringFieldUpdateOperationsInput | string
22752
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22753
+ amountTickets?: IntFieldUpdateOperationsInput | number
22754
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22755
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22756
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
22757
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
22758
+ }
22759
+
22760
+ export type TicketGroupUncheckedUpdateInput = {
22761
+ id?: StringFieldUpdateOperationsInput | string
22762
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22763
+ amountTickets?: IntFieldUpdateOperationsInput | number
22764
+ eventId?: StringFieldUpdateOperationsInput | string
22765
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22766
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22767
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
22768
+ }
22769
+
22770
+ export type TicketGroupCreateManyInput = {
22771
+ id?: string
22772
+ status: $Enums.TicketGroupStatus
22773
+ amountTickets?: number
22774
+ eventId: string
22775
+ created_at?: Date | string
22776
+ updated_at?: Date | string
22777
+ }
22778
+
22779
+ export type TicketGroupUpdateManyMutationInput = {
22780
+ id?: StringFieldUpdateOperationsInput | string
22781
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22782
+ amountTickets?: IntFieldUpdateOperationsInput | number
22783
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
22784
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
22785
+ }
22786
+
22787
+ export type TicketGroupUncheckedUpdateManyInput = {
22788
+ id?: StringFieldUpdateOperationsInput | string
22789
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
22790
+ amountTickets?: IntFieldUpdateOperationsInput | number
22791
+ eventId?: StringFieldUpdateOperationsInput | string
21319
22792
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21320
22793
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21321
22794
  }
@@ -22067,12 +23540,22 @@ export namespace Prisma {
22067
23540
  isNot?: TagWhereInput
22068
23541
  }
22069
23542
 
23543
+ export type TicketGroupListRelationFilter = {
23544
+ every?: TicketGroupWhereInput
23545
+ some?: TicketGroupWhereInput
23546
+ none?: TicketGroupWhereInput
23547
+ }
23548
+
22070
23549
  export type EventTicketListRelationFilter = {
22071
23550
  every?: EventTicketWhereInput
22072
23551
  some?: EventTicketWhereInput
22073
23552
  none?: EventTicketWhereInput
22074
23553
  }
22075
23554
 
23555
+ export type TicketGroupOrderByRelationAggregateInput = {
23556
+ _count?: SortOrder
23557
+ }
23558
+
22076
23559
  export type EventTicketOrderByRelationAggregateInput = {
22077
23560
  _count?: SortOrder
22078
23561
  }
@@ -22274,13 +23757,6 @@ export namespace Prisma {
22274
23757
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
22275
23758
  }
22276
23759
 
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
23760
  export type IntNullableFilter<$PrismaModel = never> = {
22285
23761
  equals?: number | IntFieldRefInput<$PrismaModel> | null
22286
23762
  in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
@@ -22302,16 +23778,21 @@ export namespace Prisma {
22302
23778
  isNot?: ProfileWhereInput | null
22303
23779
  }
22304
23780
 
23781
+ export type TicketGroupNullableScalarRelationFilter = {
23782
+ is?: TicketGroupWhereInput | null
23783
+ isNot?: TicketGroupWhereInput | null
23784
+ }
23785
+
22305
23786
  export type TicketCountOrderByAggregateInput = {
22306
23787
  id?: SortOrder
22307
23788
  eventId?: SortOrder
22308
23789
  type?: SortOrder
22309
- status?: SortOrder
22310
23790
  fullName?: SortOrder
22311
23791
  mail?: SortOrder
22312
23792
  dni?: SortOrder
22313
23793
  seat?: SortOrder
22314
23794
  profileId?: SortOrder
23795
+ ticketGroupId?: SortOrder
22315
23796
  created_at?: SortOrder
22316
23797
  updated_at?: SortOrder
22317
23798
  }
@@ -22324,12 +23805,12 @@ export namespace Prisma {
22324
23805
  id?: SortOrder
22325
23806
  eventId?: SortOrder
22326
23807
  type?: SortOrder
22327
- status?: SortOrder
22328
23808
  fullName?: SortOrder
22329
23809
  mail?: SortOrder
22330
23810
  dni?: SortOrder
22331
23811
  seat?: SortOrder
22332
23812
  profileId?: SortOrder
23813
+ ticketGroupId?: SortOrder
22333
23814
  created_at?: SortOrder
22334
23815
  updated_at?: SortOrder
22335
23816
  }
@@ -22338,12 +23819,12 @@ export namespace Prisma {
22338
23819
  id?: SortOrder
22339
23820
  eventId?: SortOrder
22340
23821
  type?: SortOrder
22341
- status?: SortOrder
22342
23822
  fullName?: SortOrder
22343
23823
  mail?: SortOrder
22344
23824
  dni?: SortOrder
22345
23825
  seat?: SortOrder
22346
23826
  profileId?: SortOrder
23827
+ ticketGroupId?: SortOrder
22347
23828
  created_at?: SortOrder
22348
23829
  updated_at?: SortOrder
22349
23830
  }
@@ -22362,16 +23843,6 @@ export namespace Prisma {
22362
23843
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
22363
23844
  }
22364
23845
 
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>
22373
- }
22374
-
22375
23846
  export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
22376
23847
  equals?: number | IntFieldRefInput<$PrismaModel> | null
22377
23848
  in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
@@ -22388,6 +23859,58 @@ export namespace Prisma {
22388
23859
  _max?: NestedIntNullableFilter<$PrismaModel>
22389
23860
  }
22390
23861
 
23862
+ export type EnumTicketGroupStatusFilter<$PrismaModel = never> = {
23863
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23864
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23865
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23866
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
23867
+ }
23868
+
23869
+ export type TicketGroupCountOrderByAggregateInput = {
23870
+ id?: SortOrder
23871
+ status?: SortOrder
23872
+ amountTickets?: SortOrder
23873
+ eventId?: SortOrder
23874
+ created_at?: SortOrder
23875
+ updated_at?: SortOrder
23876
+ }
23877
+
23878
+ export type TicketGroupAvgOrderByAggregateInput = {
23879
+ amountTickets?: SortOrder
23880
+ }
23881
+
23882
+ export type TicketGroupMaxOrderByAggregateInput = {
23883
+ id?: SortOrder
23884
+ status?: SortOrder
23885
+ amountTickets?: SortOrder
23886
+ eventId?: SortOrder
23887
+ created_at?: SortOrder
23888
+ updated_at?: SortOrder
23889
+ }
23890
+
23891
+ export type TicketGroupMinOrderByAggregateInput = {
23892
+ id?: SortOrder
23893
+ status?: SortOrder
23894
+ amountTickets?: SortOrder
23895
+ eventId?: SortOrder
23896
+ created_at?: SortOrder
23897
+ updated_at?: SortOrder
23898
+ }
23899
+
23900
+ export type TicketGroupSumOrderByAggregateInput = {
23901
+ amountTickets?: SortOrder
23902
+ }
23903
+
23904
+ export type EnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
23905
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
23906
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23907
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
23908
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
23909
+ _count?: NestedIntFilter<$PrismaModel>
23910
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
23911
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
23912
+ }
23913
+
22391
23914
  export type EnumTemplateStatusFilter<$PrismaModel = never> = {
22392
23915
  equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
22393
23916
  in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
@@ -23412,6 +24935,13 @@ export namespace Prisma {
23412
24935
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23413
24936
  }
23414
24937
 
24938
+ export type TicketGroupCreateNestedManyWithoutEventInput = {
24939
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24940
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24941
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24942
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24943
+ }
24944
+
23415
24945
  export type EventCreateNestedManyWithoutSupraEventInput = {
23416
24946
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23417
24947
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23439,6 +24969,13 @@ export namespace Prisma {
23439
24969
  connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
23440
24970
  }
23441
24971
 
24972
+ export type TicketGroupUncheckedCreateNestedManyWithoutEventInput = {
24973
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
24974
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
24975
+ createMany?: TicketGroupCreateManyEventInputEnvelope
24976
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
24977
+ }
24978
+
23442
24979
  export type EventUncheckedCreateNestedManyWithoutSupraEventInput = {
23443
24980
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23444
24981
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23509,6 +25046,20 @@ export namespace Prisma {
23509
25046
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23510
25047
  }
23511
25048
 
25049
+ export type TicketGroupUpdateManyWithoutEventNestedInput = {
25050
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
25051
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
25052
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
25053
+ createMany?: TicketGroupCreateManyEventInputEnvelope
25054
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25055
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25056
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25057
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25058
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
25059
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
25060
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
25061
+ }
25062
+
23512
25063
  export type EventUpdateManyWithoutSupraEventNestedInput = {
23513
25064
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23514
25065
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23564,6 +25115,20 @@ export namespace Prisma {
23564
25115
  deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
23565
25116
  }
23566
25117
 
25118
+ export type TicketGroupUncheckedUpdateManyWithoutEventNestedInput = {
25119
+ create?: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput> | TicketGroupCreateWithoutEventInput[] | TicketGroupUncheckedCreateWithoutEventInput[]
25120
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutEventInput | TicketGroupCreateOrConnectWithoutEventInput[]
25121
+ upsert?: TicketGroupUpsertWithWhereUniqueWithoutEventInput | TicketGroupUpsertWithWhereUniqueWithoutEventInput[]
25122
+ createMany?: TicketGroupCreateManyEventInputEnvelope
25123
+ set?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25124
+ disconnect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25125
+ delete?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25126
+ connect?: TicketGroupWhereUniqueInput | TicketGroupWhereUniqueInput[]
25127
+ update?: TicketGroupUpdateWithWhereUniqueWithoutEventInput | TicketGroupUpdateWithWhereUniqueWithoutEventInput[]
25128
+ updateMany?: TicketGroupUpdateManyWithWhereWithoutEventInput | TicketGroupUpdateManyWithWhereWithoutEventInput[]
25129
+ deleteMany?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
25130
+ }
25131
+
23567
25132
  export type EventUncheckedUpdateManyWithoutSupraEventNestedInput = {
23568
25133
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
23569
25134
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -23677,12 +25242,14 @@ export namespace Prisma {
23677
25242
  connect?: ProfileWhereUniqueInput
23678
25243
  }
23679
25244
 
23680
- export type EnumTicketTypeFieldUpdateOperationsInput = {
23681
- set?: $Enums.TicketType
25245
+ export type TicketGroupCreateNestedOneWithoutTicketsInput = {
25246
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25247
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25248
+ connect?: TicketGroupWhereUniqueInput
23682
25249
  }
23683
25250
 
23684
- export type EnumTicketStatusFieldUpdateOperationsInput = {
23685
- set?: $Enums.TicketStatus
25251
+ export type EnumTicketTypeFieldUpdateOperationsInput = {
25252
+ set?: $Enums.TicketType
23686
25253
  }
23687
25254
 
23688
25255
  export type NullableIntFieldUpdateOperationsInput = {
@@ -23711,6 +25278,76 @@ export namespace Prisma {
23711
25278
  update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutTicketInput, ProfileUpdateWithoutTicketInput>, ProfileUncheckedUpdateWithoutTicketInput>
23712
25279
  }
23713
25280
 
25281
+ export type TicketGroupUpdateOneWithoutTicketsNestedInput = {
25282
+ create?: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
25283
+ connectOrCreate?: TicketGroupCreateOrConnectWithoutTicketsInput
25284
+ upsert?: TicketGroupUpsertWithoutTicketsInput
25285
+ disconnect?: TicketGroupWhereInput | boolean
25286
+ delete?: TicketGroupWhereInput | boolean
25287
+ connect?: TicketGroupWhereUniqueInput
25288
+ update?: XOR<XOR<TicketGroupUpdateToOneWithWhereWithoutTicketsInput, TicketGroupUpdateWithoutTicketsInput>, TicketGroupUncheckedUpdateWithoutTicketsInput>
25289
+ }
25290
+
25291
+ export type EventCreateNestedOneWithoutTicketGroupsInput = {
25292
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25293
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25294
+ connect?: EventWhereUniqueInput
25295
+ }
25296
+
25297
+ export type TicketCreateNestedManyWithoutTicketGroupInput = {
25298
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25299
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25300
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25301
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25302
+ }
25303
+
25304
+ export type TicketUncheckedCreateNestedManyWithoutTicketGroupInput = {
25305
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25306
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25307
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25308
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25309
+ }
25310
+
25311
+ export type EnumTicketGroupStatusFieldUpdateOperationsInput = {
25312
+ set?: $Enums.TicketGroupStatus
25313
+ }
25314
+
25315
+ export type EventUpdateOneRequiredWithoutTicketGroupsNestedInput = {
25316
+ create?: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
25317
+ connectOrCreate?: EventCreateOrConnectWithoutTicketGroupsInput
25318
+ upsert?: EventUpsertWithoutTicketGroupsInput
25319
+ connect?: EventWhereUniqueInput
25320
+ update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketGroupsInput, EventUpdateWithoutTicketGroupsInput>, EventUncheckedUpdateWithoutTicketGroupsInput>
25321
+ }
25322
+
25323
+ export type TicketUpdateManyWithoutTicketGroupNestedInput = {
25324
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25325
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25326
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25327
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25328
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25329
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25330
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25331
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25332
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25333
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25334
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
25335
+ }
25336
+
25337
+ export type TicketUncheckedUpdateManyWithoutTicketGroupNestedInput = {
25338
+ create?: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput> | TicketCreateWithoutTicketGroupInput[] | TicketUncheckedCreateWithoutTicketGroupInput[]
25339
+ connectOrCreate?: TicketCreateOrConnectWithoutTicketGroupInput | TicketCreateOrConnectWithoutTicketGroupInput[]
25340
+ upsert?: TicketUpsertWithWhereUniqueWithoutTicketGroupInput | TicketUpsertWithWhereUniqueWithoutTicketGroupInput[]
25341
+ createMany?: TicketCreateManyTicketGroupInputEnvelope
25342
+ set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25343
+ disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25344
+ delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25345
+ connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
25346
+ update?: TicketUpdateWithWhereUniqueWithoutTicketGroupInput | TicketUpdateWithWhereUniqueWithoutTicketGroupInput[]
25347
+ updateMany?: TicketUpdateManyWithWhereWithoutTicketGroupInput | TicketUpdateManyWithWhereWithoutTicketGroupInput[]
25348
+ deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
25349
+ }
25350
+
23714
25351
  export type EnumTemplateStatusFieldUpdateOperationsInput = {
23715
25352
  set?: $Enums.TemplateStatus
23716
25353
  }
@@ -24012,13 +25649,6 @@ export namespace Prisma {
24012
25649
  not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
24013
25650
  }
24014
25651
 
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
25652
  export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
24023
25653
  equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
24024
25654
  in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
@@ -24029,16 +25659,6 @@ export namespace Prisma {
24029
25659
  _max?: NestedEnumTicketTypeFilter<$PrismaModel>
24030
25660
  }
24031
25661
 
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
25662
  export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
24043
25663
  equals?: number | IntFieldRefInput<$PrismaModel> | null
24044
25664
  in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
@@ -24066,6 +25686,23 @@ export namespace Prisma {
24066
25686
  not?: NestedFloatNullableFilter<$PrismaModel> | number | null
24067
25687
  }
24068
25688
 
25689
+ export type NestedEnumTicketGroupStatusFilter<$PrismaModel = never> = {
25690
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25691
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25692
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25693
+ not?: NestedEnumTicketGroupStatusFilter<$PrismaModel> | $Enums.TicketGroupStatus
25694
+ }
25695
+
25696
+ export type NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel = never> = {
25697
+ equals?: $Enums.TicketGroupStatus | EnumTicketGroupStatusFieldRefInput<$PrismaModel>
25698
+ in?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25699
+ notIn?: $Enums.TicketGroupStatus[] | ListEnumTicketGroupStatusFieldRefInput<$PrismaModel>
25700
+ not?: NestedEnumTicketGroupStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketGroupStatus
25701
+ _count?: NestedIntFilter<$PrismaModel>
25702
+ _min?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
25703
+ _max?: NestedEnumTicketGroupStatusFilter<$PrismaModel>
25704
+ }
25705
+
24069
25706
  export type NestedEnumTemplateStatusFilter<$PrismaModel = never> = {
24070
25707
  equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
24071
25708
  in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
@@ -24524,7 +26161,6 @@ export namespace Prisma {
24524
26161
  export type TicketCreateWithoutProfileInput = {
24525
26162
  id?: string
24526
26163
  type: $Enums.TicketType
24527
- status: $Enums.TicketStatus
24528
26164
  fullName: string
24529
26165
  mail: string
24530
26166
  dni: string
@@ -24532,17 +26168,18 @@ export namespace Prisma {
24532
26168
  created_at?: Date | string
24533
26169
  updated_at?: Date | string
24534
26170
  event: EventCreateNestedOneWithoutTicketsInput
26171
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
24535
26172
  }
24536
26173
 
24537
26174
  export type TicketUncheckedCreateWithoutProfileInput = {
24538
26175
  id?: string
24539
26176
  eventId: string
24540
26177
  type: $Enums.TicketType
24541
- status: $Enums.TicketStatus
24542
26178
  fullName: string
24543
26179
  mail: string
24544
26180
  dni: string
24545
26181
  seat?: number | null
26182
+ ticketGroupId?: string | null
24546
26183
  created_at?: Date | string
24547
26184
  updated_at?: Date | string
24548
26185
  }
@@ -24739,12 +26376,12 @@ export namespace Prisma {
24739
26376
  id?: StringFilter<"Ticket"> | string
24740
26377
  eventId?: StringFilter<"Ticket"> | string
24741
26378
  type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
24742
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
24743
26379
  fullName?: StringFilter<"Ticket"> | string
24744
26380
  mail?: StringFilter<"Ticket"> | string
24745
26381
  dni?: StringFilter<"Ticket"> | string
24746
26382
  seat?: IntNullableFilter<"Ticket"> | number | null
24747
26383
  profileId?: StringNullableFilter<"Ticket"> | string | null
26384
+ ticketGroupId?: StringNullableFilter<"Ticket"> | string | null
24748
26385
  created_at?: DateTimeFilter<"Ticket"> | Date | string
24749
26386
  updated_at?: DateTimeFilter<"Ticket"> | Date | string
24750
26387
  }
@@ -25416,6 +27053,7 @@ export namespace Prisma {
25416
27053
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25417
27054
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25418
27055
  tickets?: TicketCreateNestedManyWithoutEventInput
27056
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25419
27057
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25420
27058
  tags?: TagCreateNestedManyWithoutEventInput
25421
27059
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25435,6 +27073,7 @@ export namespace Prisma {
25435
27073
  created_at?: Date | string
25436
27074
  updated_at?: Date | string
25437
27075
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27076
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25438
27077
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25439
27078
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25440
27079
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25459,6 +27098,7 @@ export namespace Prisma {
25459
27098
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
25460
27099
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25461
27100
  tickets?: TicketCreateNestedManyWithoutEventInput
27101
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25462
27102
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25463
27103
  tags?: TagCreateNestedManyWithoutEventInput
25464
27104
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -25478,6 +27118,7 @@ export namespace Prisma {
25478
27118
  created_at?: Date | string
25479
27119
  updated_at?: Date | string
25480
27120
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27121
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25481
27122
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25482
27123
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
25483
27124
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -25636,6 +27277,7 @@ export namespace Prisma {
25636
27277
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
25637
27278
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
25638
27279
  tickets?: TicketCreateNestedManyWithoutEventInput
27280
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
25639
27281
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
25640
27282
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
25641
27283
  }
@@ -25655,6 +27297,7 @@ export namespace Prisma {
25655
27297
  created_at?: Date | string
25656
27298
  updated_at?: Date | string
25657
27299
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27300
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
25658
27301
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
25659
27302
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
25660
27303
  }
@@ -25718,6 +27361,7 @@ export namespace Prisma {
25718
27361
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
25719
27362
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25720
27363
  tickets?: TicketUpdateManyWithoutEventNestedInput
27364
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25721
27365
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25722
27366
  tags?: TagUpdateManyWithoutEventNestedInput
25723
27367
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25737,6 +27381,7 @@ export namespace Prisma {
25737
27381
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25738
27382
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25739
27383
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27384
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25740
27385
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25741
27386
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25742
27387
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -25767,6 +27412,7 @@ export namespace Prisma {
25767
27412
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
25768
27413
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
25769
27414
  tickets?: TicketUpdateManyWithoutEventNestedInput
27415
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
25770
27416
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
25771
27417
  tags?: TagUpdateManyWithoutEventNestedInput
25772
27418
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -25786,6 +27432,7 @@ export namespace Prisma {
25786
27432
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
25787
27433
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
25788
27434
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
27435
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
25789
27436
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
25790
27437
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
25791
27438
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -26044,6 +27691,7 @@ export namespace Prisma {
26044
27691
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26045
27692
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26046
27693
  tickets?: TicketCreateNestedManyWithoutEventInput
27694
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26047
27695
  tags?: TagCreateNestedManyWithoutEventInput
26048
27696
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
26049
27697
  }
@@ -26063,6 +27711,7 @@ export namespace Prisma {
26063
27711
  created_at?: Date | string
26064
27712
  updated_at?: Date | string
26065
27713
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27714
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26066
27715
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26067
27716
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
26068
27717
  }
@@ -26075,7 +27724,6 @@ export namespace Prisma {
26075
27724
  export type TicketCreateWithoutEventInput = {
26076
27725
  id?: string
26077
27726
  type: $Enums.TicketType
26078
- status: $Enums.TicketStatus
26079
27727
  fullName: string
26080
27728
  mail: string
26081
27729
  dni: string
@@ -26083,17 +27731,18 @@ export namespace Prisma {
26083
27731
  created_at?: Date | string
26084
27732
  updated_at?: Date | string
26085
27733
  profile?: ProfileCreateNestedOneWithoutTicketInput
27734
+ ticketGroup?: TicketGroupCreateNestedOneWithoutTicketsInput
26086
27735
  }
26087
27736
 
26088
27737
  export type TicketUncheckedCreateWithoutEventInput = {
26089
27738
  id?: string
26090
27739
  type: $Enums.TicketType
26091
- status: $Enums.TicketStatus
26092
27740
  fullName: string
26093
27741
  mail: string
26094
27742
  dni: string
26095
27743
  seat?: number | null
26096
27744
  profileId?: string | null
27745
+ ticketGroupId?: string | null
26097
27746
  created_at?: Date | string
26098
27747
  updated_at?: Date | string
26099
27748
  }
@@ -26108,6 +27757,34 @@ export namespace Prisma {
26108
27757
  skipDuplicates?: boolean
26109
27758
  }
26110
27759
 
27760
+ export type TicketGroupCreateWithoutEventInput = {
27761
+ id?: string
27762
+ status: $Enums.TicketGroupStatus
27763
+ amountTickets?: number
27764
+ created_at?: Date | string
27765
+ updated_at?: Date | string
27766
+ tickets?: TicketCreateNestedManyWithoutTicketGroupInput
27767
+ }
27768
+
27769
+ export type TicketGroupUncheckedCreateWithoutEventInput = {
27770
+ id?: string
27771
+ status: $Enums.TicketGroupStatus
27772
+ amountTickets?: number
27773
+ created_at?: Date | string
27774
+ updated_at?: Date | string
27775
+ tickets?: TicketUncheckedCreateNestedManyWithoutTicketGroupInput
27776
+ }
27777
+
27778
+ export type TicketGroupCreateOrConnectWithoutEventInput = {
27779
+ where: TicketGroupWhereUniqueInput
27780
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
27781
+ }
27782
+
27783
+ export type TicketGroupCreateManyEventInputEnvelope = {
27784
+ data: TicketGroupCreateManyEventInput | TicketGroupCreateManyEventInput[]
27785
+ skipDuplicates?: boolean
27786
+ }
27787
+
26111
27788
  export type EventCreateWithoutSupraEventInput = {
26112
27789
  id?: string
26113
27790
  name: string
@@ -26122,6 +27799,7 @@ export namespace Prisma {
26122
27799
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26123
27800
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26124
27801
  tickets?: TicketCreateNestedManyWithoutEventInput
27802
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26125
27803
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26126
27804
  tags?: TagCreateNestedManyWithoutEventInput
26127
27805
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26141,6 +27819,7 @@ export namespace Prisma {
26141
27819
  created_at?: Date | string
26142
27820
  updated_at?: Date | string
26143
27821
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
27822
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26144
27823
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26145
27824
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26146
27825
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26348,6 +28027,7 @@ export namespace Prisma {
26348
28027
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26349
28028
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26350
28029
  tickets?: TicketUpdateManyWithoutEventNestedInput
28030
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26351
28031
  tags?: TagUpdateManyWithoutEventNestedInput
26352
28032
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
26353
28033
  }
@@ -26367,6 +28047,7 @@ export namespace Prisma {
26367
28047
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26368
28048
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26369
28049
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28050
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26370
28051
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26371
28052
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
26372
28053
  }
@@ -26387,6 +28068,34 @@ export namespace Prisma {
26387
28068
  data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
26388
28069
  }
26389
28070
 
28071
+ export type TicketGroupUpsertWithWhereUniqueWithoutEventInput = {
28072
+ where: TicketGroupWhereUniqueInput
28073
+ update: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
28074
+ create: XOR<TicketGroupCreateWithoutEventInput, TicketGroupUncheckedCreateWithoutEventInput>
28075
+ }
28076
+
28077
+ export type TicketGroupUpdateWithWhereUniqueWithoutEventInput = {
28078
+ where: TicketGroupWhereUniqueInput
28079
+ data: XOR<TicketGroupUpdateWithoutEventInput, TicketGroupUncheckedUpdateWithoutEventInput>
28080
+ }
28081
+
28082
+ export type TicketGroupUpdateManyWithWhereWithoutEventInput = {
28083
+ where: TicketGroupScalarWhereInput
28084
+ data: XOR<TicketGroupUpdateManyMutationInput, TicketGroupUncheckedUpdateManyWithoutEventInput>
28085
+ }
28086
+
28087
+ export type TicketGroupScalarWhereInput = {
28088
+ AND?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
28089
+ OR?: TicketGroupScalarWhereInput[]
28090
+ NOT?: TicketGroupScalarWhereInput | TicketGroupScalarWhereInput[]
28091
+ id?: StringFilter<"TicketGroup"> | string
28092
+ status?: EnumTicketGroupStatusFilter<"TicketGroup"> | $Enums.TicketGroupStatus
28093
+ amountTickets?: IntFilter<"TicketGroup"> | number
28094
+ eventId?: StringFilter<"TicketGroup"> | string
28095
+ created_at?: DateTimeFilter<"TicketGroup"> | Date | string
28096
+ updated_at?: DateTimeFilter<"TicketGroup"> | Date | string
28097
+ }
28098
+
26390
28099
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
26391
28100
  where: EventWhereUniqueInput
26392
28101
  update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
@@ -26462,6 +28171,7 @@ export namespace Prisma {
26462
28171
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26463
28172
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26464
28173
  tickets?: TicketCreateNestedManyWithoutEventInput
28174
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26465
28175
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26466
28176
  tags?: TagCreateNestedManyWithoutEventInput
26467
28177
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26481,6 +28191,7 @@ export namespace Prisma {
26481
28191
  created_at?: Date | string
26482
28192
  updated_at?: Date | string
26483
28193
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28194
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26484
28195
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26485
28196
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26486
28197
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26666,6 +28377,7 @@ export namespace Prisma {
26666
28377
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
26667
28378
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26668
28379
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28380
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26669
28381
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26670
28382
  tags?: TagCreateNestedManyWithoutEventInput
26671
28383
  eventTickets?: EventTicketCreateNestedManyWithoutEventInput
@@ -26685,6 +28397,7 @@ export namespace Prisma {
26685
28397
  active?: boolean
26686
28398
  created_at?: Date | string
26687
28399
  updated_at?: Date | string
28400
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26688
28401
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26689
28402
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26690
28403
  eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
@@ -26762,6 +28475,29 @@ export namespace Prisma {
26762
28475
  create: XOR<ProfileCreateWithoutTicketInput, ProfileUncheckedCreateWithoutTicketInput>
26763
28476
  }
26764
28477
 
28478
+ export type TicketGroupCreateWithoutTicketsInput = {
28479
+ id?: string
28480
+ status: $Enums.TicketGroupStatus
28481
+ amountTickets?: number
28482
+ created_at?: Date | string
28483
+ updated_at?: Date | string
28484
+ event: EventCreateNestedOneWithoutTicketGroupsInput
28485
+ }
28486
+
28487
+ export type TicketGroupUncheckedCreateWithoutTicketsInput = {
28488
+ id?: string
28489
+ status: $Enums.TicketGroupStatus
28490
+ amountTickets?: number
28491
+ eventId: string
28492
+ created_at?: Date | string
28493
+ updated_at?: Date | string
28494
+ }
28495
+
28496
+ export type TicketGroupCreateOrConnectWithoutTicketsInput = {
28497
+ where: TicketGroupWhereUniqueInput
28498
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28499
+ }
28500
+
26765
28501
  export type EventUpsertWithoutTicketsInput = {
26766
28502
  update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
26767
28503
  create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
@@ -26787,6 +28523,7 @@ export namespace Prisma {
26787
28523
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
26788
28524
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26789
28525
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28526
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26790
28527
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26791
28528
  tags?: TagUpdateManyWithoutEventNestedInput
26792
28529
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -26806,6 +28543,7 @@ export namespace Prisma {
26806
28543
  active?: BoolFieldUpdateOperationsInput | boolean
26807
28544
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26808
28545
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28546
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26809
28547
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26810
28548
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26811
28549
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -26884,6 +28622,183 @@ export namespace Prisma {
26884
28622
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
26885
28623
  }
26886
28624
 
28625
+ export type TicketGroupUpsertWithoutTicketsInput = {
28626
+ update: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28627
+ create: XOR<TicketGroupCreateWithoutTicketsInput, TicketGroupUncheckedCreateWithoutTicketsInput>
28628
+ where?: TicketGroupWhereInput
28629
+ }
28630
+
28631
+ export type TicketGroupUpdateToOneWithWhereWithoutTicketsInput = {
28632
+ where?: TicketGroupWhereInput
28633
+ data: XOR<TicketGroupUpdateWithoutTicketsInput, TicketGroupUncheckedUpdateWithoutTicketsInput>
28634
+ }
28635
+
28636
+ export type TicketGroupUpdateWithoutTicketsInput = {
28637
+ id?: StringFieldUpdateOperationsInput | string
28638
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28639
+ amountTickets?: IntFieldUpdateOperationsInput | number
28640
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28641
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28642
+ event?: EventUpdateOneRequiredWithoutTicketGroupsNestedInput
28643
+ }
28644
+
28645
+ export type TicketGroupUncheckedUpdateWithoutTicketsInput = {
28646
+ id?: StringFieldUpdateOperationsInput | string
28647
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
28648
+ amountTickets?: IntFieldUpdateOperationsInput | number
28649
+ eventId?: StringFieldUpdateOperationsInput | string
28650
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28651
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28652
+ }
28653
+
28654
+ export type EventCreateWithoutTicketGroupsInput = {
28655
+ id?: string
28656
+ name: string
28657
+ date: Date | string
28658
+ startingDate?: Date | string
28659
+ endingDate?: Date | string
28660
+ location: string
28661
+ active?: boolean
28662
+ created_at?: Date | string
28663
+ updated_at?: Date | string
28664
+ folder?: EventFolderCreateNestedOneWithoutEventsInput
28665
+ tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
28666
+ tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
28667
+ supraEvent?: EventCreateNestedOneWithoutSubEventsInput
28668
+ tickets?: TicketCreateNestedManyWithoutEventInput
28669
+ subEvents?: EventCreateNestedManyWithoutSupraEventInput
28670
+ tags?: TagCreateNestedManyWithoutEventInput
28671
+ eventTickets?: EventTicketCreateNestedManyWithoutEventInput
28672
+ }
28673
+
28674
+ export type EventUncheckedCreateWithoutTicketGroupsInput = {
28675
+ id?: string
28676
+ name: string
28677
+ date: Date | string
28678
+ startingDate?: Date | string
28679
+ endingDate?: Date | string
28680
+ location: string
28681
+ folderId?: string | null
28682
+ tagAssistedId: string
28683
+ tagConfirmedId: string
28684
+ supraEventId?: string | null
28685
+ active?: boolean
28686
+ created_at?: Date | string
28687
+ updated_at?: Date | string
28688
+ tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28689
+ subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
28690
+ tags?: TagUncheckedCreateNestedManyWithoutEventInput
28691
+ eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
28692
+ }
28693
+
28694
+ export type EventCreateOrConnectWithoutTicketGroupsInput = {
28695
+ where: EventWhereUniqueInput
28696
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28697
+ }
28698
+
28699
+ export type TicketCreateWithoutTicketGroupInput = {
28700
+ id?: string
28701
+ type: $Enums.TicketType
28702
+ fullName: string
28703
+ mail: string
28704
+ dni: string
28705
+ seat?: number | null
28706
+ created_at?: Date | string
28707
+ updated_at?: Date | string
28708
+ event: EventCreateNestedOneWithoutTicketsInput
28709
+ profile?: ProfileCreateNestedOneWithoutTicketInput
28710
+ }
28711
+
28712
+ export type TicketUncheckedCreateWithoutTicketGroupInput = {
28713
+ id?: string
28714
+ eventId: string
28715
+ type: $Enums.TicketType
28716
+ fullName: string
28717
+ mail: string
28718
+ dni: string
28719
+ seat?: number | null
28720
+ profileId?: string | null
28721
+ created_at?: Date | string
28722
+ updated_at?: Date | string
28723
+ }
28724
+
28725
+ export type TicketCreateOrConnectWithoutTicketGroupInput = {
28726
+ where: TicketWhereUniqueInput
28727
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28728
+ }
28729
+
28730
+ export type TicketCreateManyTicketGroupInputEnvelope = {
28731
+ data: TicketCreateManyTicketGroupInput | TicketCreateManyTicketGroupInput[]
28732
+ skipDuplicates?: boolean
28733
+ }
28734
+
28735
+ export type EventUpsertWithoutTicketGroupsInput = {
28736
+ update: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28737
+ create: XOR<EventCreateWithoutTicketGroupsInput, EventUncheckedCreateWithoutTicketGroupsInput>
28738
+ where?: EventWhereInput
28739
+ }
28740
+
28741
+ export type EventUpdateToOneWithWhereWithoutTicketGroupsInput = {
28742
+ where?: EventWhereInput
28743
+ data: XOR<EventUpdateWithoutTicketGroupsInput, EventUncheckedUpdateWithoutTicketGroupsInput>
28744
+ }
28745
+
28746
+ export type EventUpdateWithoutTicketGroupsInput = {
28747
+ id?: StringFieldUpdateOperationsInput | string
28748
+ name?: StringFieldUpdateOperationsInput | string
28749
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28750
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28751
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28752
+ location?: StringFieldUpdateOperationsInput | string
28753
+ active?: BoolFieldUpdateOperationsInput | boolean
28754
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28755
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28756
+ folder?: EventFolderUpdateOneWithoutEventsNestedInput
28757
+ tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
28758
+ tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
28759
+ supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28760
+ tickets?: TicketUpdateManyWithoutEventNestedInput
28761
+ subEvents?: EventUpdateManyWithoutSupraEventNestedInput
28762
+ tags?: TagUpdateManyWithoutEventNestedInput
28763
+ eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
28764
+ }
28765
+
28766
+ export type EventUncheckedUpdateWithoutTicketGroupsInput = {
28767
+ id?: StringFieldUpdateOperationsInput | string
28768
+ name?: StringFieldUpdateOperationsInput | string
28769
+ date?: DateTimeFieldUpdateOperationsInput | Date | string
28770
+ startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28771
+ endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
28772
+ location?: StringFieldUpdateOperationsInput | string
28773
+ folderId?: NullableStringFieldUpdateOperationsInput | string | null
28774
+ tagAssistedId?: StringFieldUpdateOperationsInput | string
28775
+ tagConfirmedId?: StringFieldUpdateOperationsInput | string
28776
+ supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
28777
+ active?: BoolFieldUpdateOperationsInput | boolean
28778
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28779
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28780
+ tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28781
+ subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
28782
+ tags?: TagUncheckedUpdateManyWithoutEventNestedInput
28783
+ eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
28784
+ }
28785
+
28786
+ export type TicketUpsertWithWhereUniqueWithoutTicketGroupInput = {
28787
+ where: TicketWhereUniqueInput
28788
+ update: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28789
+ create: XOR<TicketCreateWithoutTicketGroupInput, TicketUncheckedCreateWithoutTicketGroupInput>
28790
+ }
28791
+
28792
+ export type TicketUpdateWithWhereUniqueWithoutTicketGroupInput = {
28793
+ where: TicketWhereUniqueInput
28794
+ data: XOR<TicketUpdateWithoutTicketGroupInput, TicketUncheckedUpdateWithoutTicketGroupInput>
28795
+ }
28796
+
28797
+ export type TicketUpdateManyWithWhereWithoutTicketGroupInput = {
28798
+ where: TicketScalarWhereInput
28799
+ data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutTicketGroupInput>
28800
+ }
28801
+
26887
28802
  export type EventCreateWithoutEventTicketsInput = {
26888
28803
  id?: string
26889
28804
  name: string
@@ -26899,6 +28814,7 @@ export namespace Prisma {
26899
28814
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
26900
28815
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
26901
28816
  tickets?: TicketCreateNestedManyWithoutEventInput
28817
+ ticketGroups?: TicketGroupCreateNestedManyWithoutEventInput
26902
28818
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
26903
28819
  tags?: TagCreateNestedManyWithoutEventInput
26904
28820
  }
@@ -26918,6 +28834,7 @@ export namespace Prisma {
26918
28834
  created_at?: Date | string
26919
28835
  updated_at?: Date | string
26920
28836
  tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
28837
+ ticketGroups?: TicketGroupUncheckedCreateNestedManyWithoutEventInput
26921
28838
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
26922
28839
  tags?: TagUncheckedCreateNestedManyWithoutEventInput
26923
28840
  }
@@ -26953,6 +28870,7 @@ export namespace Prisma {
26953
28870
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
26954
28871
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
26955
28872
  tickets?: TicketUpdateManyWithoutEventNestedInput
28873
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
26956
28874
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
26957
28875
  tags?: TagUpdateManyWithoutEventNestedInput
26958
28876
  }
@@ -26972,6 +28890,7 @@ export namespace Prisma {
26972
28890
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
26973
28891
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
26974
28892
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
28893
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
26975
28894
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
26976
28895
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
26977
28896
  }
@@ -27179,11 +29098,11 @@ export namespace Prisma {
27179
29098
  id?: string
27180
29099
  eventId: string
27181
29100
  type: $Enums.TicketType
27182
- status: $Enums.TicketStatus
27183
29101
  fullName: string
27184
29102
  mail: string
27185
29103
  dni: string
27186
29104
  seat?: number | null
29105
+ ticketGroupId?: string | null
27187
29106
  created_at?: Date | string
27188
29107
  updated_at?: Date | string
27189
29108
  }
@@ -27315,7 +29234,6 @@ export namespace Prisma {
27315
29234
  export type TicketUpdateWithoutProfileInput = {
27316
29235
  id?: StringFieldUpdateOperationsInput | string
27317
29236
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27318
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27319
29237
  fullName?: StringFieldUpdateOperationsInput | string
27320
29238
  mail?: StringFieldUpdateOperationsInput | string
27321
29239
  dni?: StringFieldUpdateOperationsInput | string
@@ -27323,17 +29241,18 @@ export namespace Prisma {
27323
29241
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27324
29242
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27325
29243
  event?: EventUpdateOneRequiredWithoutTicketsNestedInput
29244
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
27326
29245
  }
27327
29246
 
27328
29247
  export type TicketUncheckedUpdateWithoutProfileInput = {
27329
29248
  id?: StringFieldUpdateOperationsInput | string
27330
29249
  eventId?: StringFieldUpdateOperationsInput | string
27331
29250
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27332
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27333
29251
  fullName?: StringFieldUpdateOperationsInput | string
27334
29252
  mail?: StringFieldUpdateOperationsInput | string
27335
29253
  dni?: StringFieldUpdateOperationsInput | string
27336
29254
  seat?: NullableIntFieldUpdateOperationsInput | number | null
29255
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27337
29256
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27338
29257
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27339
29258
  }
@@ -27342,11 +29261,11 @@ export namespace Prisma {
27342
29261
  id?: StringFieldUpdateOperationsInput | string
27343
29262
  eventId?: StringFieldUpdateOperationsInput | string
27344
29263
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27345
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27346
29264
  fullName?: StringFieldUpdateOperationsInput | string
27347
29265
  mail?: StringFieldUpdateOperationsInput | string
27348
29266
  dni?: StringFieldUpdateOperationsInput | string
27349
29267
  seat?: NullableIntFieldUpdateOperationsInput | number | null
29268
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27350
29269
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27351
29270
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27352
29271
  }
@@ -27761,6 +29680,7 @@ export namespace Prisma {
27761
29680
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27762
29681
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
27763
29682
  tickets?: TicketUpdateManyWithoutEventNestedInput
29683
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27764
29684
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27765
29685
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
27766
29686
  }
@@ -27780,6 +29700,7 @@ export namespace Prisma {
27780
29700
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27781
29701
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27782
29702
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29703
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27783
29704
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27784
29705
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
27785
29706
  }
@@ -27847,12 +29768,20 @@ export namespace Prisma {
27847
29768
  export type TicketCreateManyEventInput = {
27848
29769
  id?: string
27849
29770
  type: $Enums.TicketType
27850
- status: $Enums.TicketStatus
27851
29771
  fullName: string
27852
29772
  mail: string
27853
29773
  dni: string
27854
29774
  seat?: number | null
27855
29775
  profileId?: string | null
29776
+ ticketGroupId?: string | null
29777
+ created_at?: Date | string
29778
+ updated_at?: Date | string
29779
+ }
29780
+
29781
+ export type TicketGroupCreateManyEventInput = {
29782
+ id?: string
29783
+ status: $Enums.TicketGroupStatus
29784
+ amountTickets?: number
27856
29785
  created_at?: Date | string
27857
29786
  updated_at?: Date | string
27858
29787
  }
@@ -27884,7 +29813,6 @@ export namespace Prisma {
27884
29813
  export type TicketUpdateWithoutEventInput = {
27885
29814
  id?: StringFieldUpdateOperationsInput | string
27886
29815
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27887
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27888
29816
  fullName?: StringFieldUpdateOperationsInput | string
27889
29817
  mail?: StringFieldUpdateOperationsInput | string
27890
29818
  dni?: StringFieldUpdateOperationsInput | string
@@ -27892,17 +29820,18 @@ export namespace Prisma {
27892
29820
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27893
29821
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27894
29822
  profile?: ProfileUpdateOneWithoutTicketNestedInput
29823
+ ticketGroup?: TicketGroupUpdateOneWithoutTicketsNestedInput
27895
29824
  }
27896
29825
 
27897
29826
  export type TicketUncheckedUpdateWithoutEventInput = {
27898
29827
  id?: StringFieldUpdateOperationsInput | string
27899
29828
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27900
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27901
29829
  fullName?: StringFieldUpdateOperationsInput | string
27902
29830
  mail?: StringFieldUpdateOperationsInput | string
27903
29831
  dni?: StringFieldUpdateOperationsInput | string
27904
29832
  seat?: NullableIntFieldUpdateOperationsInput | number | null
27905
29833
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29834
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
27906
29835
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27907
29836
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27908
29837
  }
@@ -27910,12 +29839,38 @@ export namespace Prisma {
27910
29839
  export type TicketUncheckedUpdateManyWithoutEventInput = {
27911
29840
  id?: StringFieldUpdateOperationsInput | string
27912
29841
  type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
27913
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
27914
29842
  fullName?: StringFieldUpdateOperationsInput | string
27915
29843
  mail?: StringFieldUpdateOperationsInput | string
27916
29844
  dni?: StringFieldUpdateOperationsInput | string
27917
29845
  seat?: NullableIntFieldUpdateOperationsInput | number | null
27918
29846
  profileId?: NullableStringFieldUpdateOperationsInput | string | null
29847
+ ticketGroupId?: NullableStringFieldUpdateOperationsInput | string | null
29848
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29849
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29850
+ }
29851
+
29852
+ export type TicketGroupUpdateWithoutEventInput = {
29853
+ id?: StringFieldUpdateOperationsInput | string
29854
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29855
+ amountTickets?: IntFieldUpdateOperationsInput | number
29856
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29857
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29858
+ tickets?: TicketUpdateManyWithoutTicketGroupNestedInput
29859
+ }
29860
+
29861
+ export type TicketGroupUncheckedUpdateWithoutEventInput = {
29862
+ id?: StringFieldUpdateOperationsInput | string
29863
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29864
+ amountTickets?: IntFieldUpdateOperationsInput | number
29865
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
29866
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
29867
+ tickets?: TicketUncheckedUpdateManyWithoutTicketGroupNestedInput
29868
+ }
29869
+
29870
+ export type TicketGroupUncheckedUpdateManyWithoutEventInput = {
29871
+ id?: StringFieldUpdateOperationsInput | string
29872
+ status?: EnumTicketGroupStatusFieldUpdateOperationsInput | $Enums.TicketGroupStatus
29873
+ amountTickets?: IntFieldUpdateOperationsInput | number
27919
29874
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27920
29875
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27921
29876
  }
@@ -27934,6 +29889,7 @@ export namespace Prisma {
27934
29889
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
27935
29890
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
27936
29891
  tickets?: TicketUpdateManyWithoutEventNestedInput
29892
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
27937
29893
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
27938
29894
  tags?: TagUpdateManyWithoutEventNestedInput
27939
29895
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -27953,6 +29909,7 @@ export namespace Prisma {
27953
29909
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
27954
29910
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
27955
29911
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
29912
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
27956
29913
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
27957
29914
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
27958
29915
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -28066,6 +30023,7 @@ export namespace Prisma {
28066
30023
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
28067
30024
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
28068
30025
  tickets?: TicketUpdateManyWithoutEventNestedInput
30026
+ ticketGroups?: TicketGroupUpdateManyWithoutEventNestedInput
28069
30027
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
28070
30028
  tags?: TagUpdateManyWithoutEventNestedInput
28071
30029
  eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
@@ -28085,6 +30043,7 @@ export namespace Prisma {
28085
30043
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
28086
30044
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28087
30045
  tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
30046
+ ticketGroups?: TicketGroupUncheckedUpdateManyWithoutEventNestedInput
28088
30047
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
28089
30048
  tags?: TagUncheckedUpdateManyWithoutEventNestedInput
28090
30049
  eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
@@ -28105,6 +30064,58 @@ export namespace Prisma {
28105
30064
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
28106
30065
  }
28107
30066
 
30067
+ export type TicketCreateManyTicketGroupInput = {
30068
+ id?: string
30069
+ eventId: string
30070
+ type: $Enums.TicketType
30071
+ fullName: string
30072
+ mail: string
30073
+ dni: string
30074
+ seat?: number | null
30075
+ profileId?: string | null
30076
+ created_at?: Date | string
30077
+ updated_at?: Date | string
30078
+ }
30079
+
30080
+ export type TicketUpdateWithoutTicketGroupInput = {
30081
+ id?: StringFieldUpdateOperationsInput | string
30082
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
30083
+ fullName?: StringFieldUpdateOperationsInput | string
30084
+ mail?: StringFieldUpdateOperationsInput | string
30085
+ dni?: StringFieldUpdateOperationsInput | string
30086
+ seat?: NullableIntFieldUpdateOperationsInput | number | null
30087
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30088
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30089
+ event?: EventUpdateOneRequiredWithoutTicketsNestedInput
30090
+ profile?: ProfileUpdateOneWithoutTicketNestedInput
30091
+ }
30092
+
30093
+ export type TicketUncheckedUpdateWithoutTicketGroupInput = {
30094
+ id?: StringFieldUpdateOperationsInput | string
30095
+ eventId?: StringFieldUpdateOperationsInput | string
30096
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
30097
+ fullName?: StringFieldUpdateOperationsInput | string
30098
+ mail?: StringFieldUpdateOperationsInput | string
30099
+ dni?: StringFieldUpdateOperationsInput | string
30100
+ seat?: NullableIntFieldUpdateOperationsInput | number | null
30101
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
30102
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30103
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30104
+ }
30105
+
30106
+ export type TicketUncheckedUpdateManyWithoutTicketGroupInput = {
30107
+ id?: StringFieldUpdateOperationsInput | string
30108
+ eventId?: StringFieldUpdateOperationsInput | string
30109
+ type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
30110
+ fullName?: StringFieldUpdateOperationsInput | string
30111
+ mail?: StringFieldUpdateOperationsInput | string
30112
+ dni?: StringFieldUpdateOperationsInput | string
30113
+ seat?: NullableIntFieldUpdateOperationsInput | number | null
30114
+ profileId?: NullableStringFieldUpdateOperationsInput | string | null
30115
+ created_at?: DateTimeFieldUpdateOperationsInput | Date | string
30116
+ updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
30117
+ }
30118
+
28108
30119
 
28109
30120
 
28110
30121
  /**