expo-backend-types 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5 → 0.37.0-EXPO-338-Papa-Francisco.1

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