expo-backend-types 0.31.0-EXPO-317-EB-CRUD-Tickets.5 → 0.31.0

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 (32) hide show
  1. package/dist/src/exports.d.ts +0 -1
  2. package/dist/src/exports.js +0 -1
  3. package/dist/src/i18n/es.d.ts +0 -45
  4. package/dist/src/i18n/es.js +0 -45
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/types/prisma-schema/edge.js +3 -26
  7. package/dist/types/prisma-schema/index-browser.js +0 -23
  8. package/dist/types/prisma-schema/index.d.ts +137 -1821
  9. package/dist/types/prisma-schema/index.js +3 -26
  10. package/dist/types/prisma-schema/package.json +1 -1
  11. package/dist/types/prisma-schema/schema.prisma +1 -31
  12. package/dist/types/prisma-schema/wasm.js +0 -23
  13. package/dist/types/schema.d.ts +0 -296
  14. package/package.json +1 -1
  15. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -130
  16. package/dist/src/ticket/dto/create-ticket.dto.js +0 -20
  17. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -73
  18. package/dist/src/ticket/dto/delete-ticket.dto.js +0 -10
  19. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -196
  20. package/dist/src/ticket/dto/find-all-tickets.dto.js +0 -23
  21. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -196
  22. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -23
  23. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -196
  24. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -20
  25. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -196
  26. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -23
  27. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -74
  28. package/dist/src/ticket/dto/ticket.dto.js +0 -25
  29. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -125
  30. package/dist/src/ticket/dto/update-ticket.dto.js +0 -19
  31. package/dist/src/ticket/exports.d.ts +0 -8
  32. package/dist/src/ticket/exports.js +0 -25
@@ -63,11 +63,6 @@ export type Message = $Result.DefaultSelection<Prisma.$MessagePayload>
63
63
  *
64
64
  */
65
65
  export type CannedResponse = $Result.DefaultSelection<Prisma.$CannedResponsePayload>
66
- /**
67
- * Model Ticket
68
- *
69
- */
70
- export type Ticket = $Result.DefaultSelection<Prisma.$TicketPayload>
71
66
  /**
72
67
  * Model Enums
73
68
  *
@@ -106,23 +101,6 @@ export const MessageState: {
106
101
  export type MessageState = (typeof MessageState)[keyof typeof MessageState]
107
102
 
108
103
 
109
- export const TicketType: {
110
- PARTICIPANT: 'PARTICIPANT',
111
- SPECTATOR: 'SPECTATOR',
112
- STAFF: 'STAFF'
113
- };
114
-
115
- export type TicketType = (typeof TicketType)[keyof typeof TicketType]
116
-
117
-
118
- export const TicketStatus: {
119
- BOOKED: 'BOOKED',
120
- PAID: 'PAID'
121
- };
122
-
123
- export type TicketStatus = (typeof TicketStatus)[keyof typeof TicketStatus]
124
-
125
-
126
104
  export const TemplateStatus: {
127
105
  APPROVED: 'APPROVED',
128
106
  PENDING: 'PENDING',
@@ -154,14 +132,6 @@ export type MessageState = $Enums.MessageState
154
132
 
155
133
  export const MessageState: typeof $Enums.MessageState
156
134
 
157
- export type TicketType = $Enums.TicketType
158
-
159
- export const TicketType: typeof $Enums.TicketType
160
-
161
- export type TicketStatus = $Enums.TicketStatus
162
-
163
- export const TicketStatus: typeof $Enums.TicketStatus
164
-
165
135
  export type TemplateStatus = $Enums.TemplateStatus
166
136
 
167
137
  export const TemplateStatus: typeof $Enums.TemplateStatus
@@ -393,16 +363,6 @@ export class PrismaClient<
393
363
  */
394
364
  get cannedResponse(): Prisma.CannedResponseDelegate<ExtArgs>;
395
365
 
396
- /**
397
- * `prisma.ticket`: Exposes CRUD operations for the **Ticket** model.
398
- * Example usage:
399
- * ```ts
400
- * // Fetch zero or more Tickets
401
- * const tickets = await prisma.ticket.findMany()
402
- * ```
403
- */
404
- get ticket(): Prisma.TicketDelegate<ExtArgs>;
405
-
406
366
  /**
407
367
  * `prisma.enums`: Exposes CRUD operations for the **Enums** model.
408
368
  * Example usage:
@@ -863,7 +823,6 @@ export namespace Prisma {
863
823
  EventFolder: 'EventFolder',
864
824
  Message: 'Message',
865
825
  CannedResponse: 'CannedResponse',
866
- Ticket: 'Ticket',
867
826
  Enums: 'Enums'
868
827
  };
869
828
 
@@ -880,7 +839,7 @@ export namespace Prisma {
880
839
 
881
840
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
882
841
  meta: {
883
- modelProps: "account" | "profile" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "ticket" | "enums"
842
+ modelProps: "account" | "profile" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "enums"
884
843
  txIsolationLevel: Prisma.TransactionIsolationLevel
885
844
  }
886
845
  model: {
@@ -1584,76 +1543,6 @@ export namespace Prisma {
1584
1543
  }
1585
1544
  }
1586
1545
  }
1587
- Ticket: {
1588
- payload: Prisma.$TicketPayload<ExtArgs>
1589
- fields: Prisma.TicketFieldRefs
1590
- operations: {
1591
- findUnique: {
1592
- args: Prisma.TicketFindUniqueArgs<ExtArgs>
1593
- result: $Utils.PayloadToResult<Prisma.$TicketPayload> | null
1594
- }
1595
- findUniqueOrThrow: {
1596
- args: Prisma.TicketFindUniqueOrThrowArgs<ExtArgs>
1597
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1598
- }
1599
- findFirst: {
1600
- args: Prisma.TicketFindFirstArgs<ExtArgs>
1601
- result: $Utils.PayloadToResult<Prisma.$TicketPayload> | null
1602
- }
1603
- findFirstOrThrow: {
1604
- args: Prisma.TicketFindFirstOrThrowArgs<ExtArgs>
1605
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1606
- }
1607
- findMany: {
1608
- args: Prisma.TicketFindManyArgs<ExtArgs>
1609
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>[]
1610
- }
1611
- create: {
1612
- args: Prisma.TicketCreateArgs<ExtArgs>
1613
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1614
- }
1615
- createMany: {
1616
- args: Prisma.TicketCreateManyArgs<ExtArgs>
1617
- result: BatchPayload
1618
- }
1619
- createManyAndReturn: {
1620
- args: Prisma.TicketCreateManyAndReturnArgs<ExtArgs>
1621
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>[]
1622
- }
1623
- delete: {
1624
- args: Prisma.TicketDeleteArgs<ExtArgs>
1625
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1626
- }
1627
- update: {
1628
- args: Prisma.TicketUpdateArgs<ExtArgs>
1629
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1630
- }
1631
- deleteMany: {
1632
- args: Prisma.TicketDeleteManyArgs<ExtArgs>
1633
- result: BatchPayload
1634
- }
1635
- updateMany: {
1636
- args: Prisma.TicketUpdateManyArgs<ExtArgs>
1637
- result: BatchPayload
1638
- }
1639
- upsert: {
1640
- args: Prisma.TicketUpsertArgs<ExtArgs>
1641
- result: $Utils.PayloadToResult<Prisma.$TicketPayload>
1642
- }
1643
- aggregate: {
1644
- args: Prisma.TicketAggregateArgs<ExtArgs>
1645
- result: $Utils.Optional<AggregateTicket>
1646
- }
1647
- groupBy: {
1648
- args: Prisma.TicketGroupByArgs<ExtArgs>
1649
- result: $Utils.Optional<TicketGroupByOutputType>[]
1650
- }
1651
- count: {
1652
- args: Prisma.TicketCountArgs<ExtArgs>
1653
- result: $Utils.Optional<TicketCountAggregateOutputType> | number
1654
- }
1655
- }
1656
- }
1657
1546
  Enums: {
1658
1547
  payload: Prisma.$EnumsPayload<ExtArgs>
1659
1548
  fields: Prisma.EnumsFieldRefs
@@ -2113,12 +2002,10 @@ export namespace Prisma {
2113
2002
 
2114
2003
  export type EventCountOutputType = {
2115
2004
  subEvents: number
2116
- tickets: number
2117
2005
  }
2118
2006
 
2119
2007
  export type EventCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2120
2008
  subEvents?: boolean | EventCountOutputTypeCountSubEventsArgs
2121
- tickets?: boolean | EventCountOutputTypeCountTicketsArgs
2122
2009
  }
2123
2010
 
2124
2011
  // Custom InputTypes
@@ -2139,13 +2026,6 @@ export namespace Prisma {
2139
2026
  where?: EventWhereInput
2140
2027
  }
2141
2028
 
2142
- /**
2143
- * EventCountOutputType without action
2144
- */
2145
- export type EventCountOutputTypeCountTicketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2146
- where?: TicketWhereInput
2147
- }
2148
-
2149
2029
 
2150
2030
  /**
2151
2031
  * Count Type EventFolderCountOutputType
@@ -8767,7 +8647,6 @@ export namespace Prisma {
8767
8647
  tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
8768
8648
  supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
8769
8649
  subEvents?: boolean | Event$subEventsArgs<ExtArgs>
8770
- tickets?: boolean | Event$ticketsArgs<ExtArgs>
8771
8650
  _count?: boolean | EventCountOutputTypeDefaultArgs<ExtArgs>
8772
8651
  }, ExtArgs["result"]["event"]>
8773
8652
 
@@ -8807,7 +8686,6 @@ export namespace Prisma {
8807
8686
  tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
8808
8687
  supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
8809
8688
  subEvents?: boolean | Event$subEventsArgs<ExtArgs>
8810
- tickets?: boolean | Event$ticketsArgs<ExtArgs>
8811
8689
  _count?: boolean | EventCountOutputTypeDefaultArgs<ExtArgs>
8812
8690
  }
8813
8691
  export type EventIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
@@ -8825,7 +8703,6 @@ export namespace Prisma {
8825
8703
  tagConfirmed: Prisma.$TagPayload<ExtArgs>
8826
8704
  supraEvent: Prisma.$EventPayload<ExtArgs> | null
8827
8705
  subEvents: Prisma.$EventPayload<ExtArgs>[]
8828
- tickets: Prisma.$TicketPayload<ExtArgs>[]
8829
8706
  }
8830
8707
  scalars: $Extensions.GetPayloadResult<{
8831
8708
  id: string
@@ -9207,7 +9084,6 @@ export namespace Prisma {
9207
9084
  tagConfirmed<T extends TagDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TagDefaultArgs<ExtArgs>>): Prisma__TagClient<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
9208
9085
  supraEvent<T extends Event$supraEventArgs<ExtArgs> = {}>(args?: Subset<T, Event$supraEventArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
9209
9086
  subEvents<T extends Event$subEventsArgs<ExtArgs> = {}>(args?: Subset<T, Event$subEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany"> | Null>
9210
- tickets<T extends Event$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, Event$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany"> | Null>
9211
9087
  /**
9212
9088
  * Attaches callbacks for the resolution and/or rejection of the Promise.
9213
9089
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -9614,26 +9490,6 @@ export namespace Prisma {
9614
9490
  distinct?: EventScalarFieldEnum | EventScalarFieldEnum[]
9615
9491
  }
9616
9492
 
9617
- /**
9618
- * Event.tickets
9619
- */
9620
- export type Event$ticketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
9621
- /**
9622
- * Select specific fields to fetch from the Ticket
9623
- */
9624
- select?: TicketSelect<ExtArgs> | null
9625
- /**
9626
- * Choose, which related nodes to fetch as well
9627
- */
9628
- include?: TicketInclude<ExtArgs> | null
9629
- where?: TicketWhereInput
9630
- orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
9631
- cursor?: TicketWhereUniqueInput
9632
- take?: number
9633
- skip?: number
9634
- distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
9635
- }
9636
-
9637
9493
  /**
9638
9494
  * Event without action
9639
9495
  */
@@ -12429,370 +12285,305 @@ export namespace Prisma {
12429
12285
 
12430
12286
 
12431
12287
  /**
12432
- * Model Ticket
12288
+ * Model Enums
12433
12289
  */
12434
12290
 
12435
- export type AggregateTicket = {
12436
- _count: TicketCountAggregateOutputType | null
12437
- _min: TicketMinAggregateOutputType | null
12438
- _max: TicketMaxAggregateOutputType | null
12291
+ export type AggregateEnums = {
12292
+ _count: EnumsCountAggregateOutputType | null
12293
+ _min: EnumsMinAggregateOutputType | null
12294
+ _max: EnumsMaxAggregateOutputType | null
12439
12295
  }
12440
12296
 
12441
- export type TicketMinAggregateOutputType = {
12297
+ export type EnumsMinAggregateOutputType = {
12442
12298
  id: string | null
12443
- eventId: string | null
12444
- type: $Enums.TicketType | null
12445
- status: $Enums.TicketStatus | null
12446
- fullName: string | null
12447
- mail: string | null
12448
- created_at: Date | null
12449
- updated_at: Date | null
12299
+ templateStatus: $Enums.TemplateStatus | null
12300
+ templateCategory: $Enums.TemplateCategory | null
12450
12301
  }
12451
12302
 
12452
- export type TicketMaxAggregateOutputType = {
12303
+ export type EnumsMaxAggregateOutputType = {
12453
12304
  id: string | null
12454
- eventId: string | null
12455
- type: $Enums.TicketType | null
12456
- status: $Enums.TicketStatus | null
12457
- fullName: string | null
12458
- mail: string | null
12459
- created_at: Date | null
12460
- updated_at: Date | null
12305
+ templateStatus: $Enums.TemplateStatus | null
12306
+ templateCategory: $Enums.TemplateCategory | null
12461
12307
  }
12462
12308
 
12463
- export type TicketCountAggregateOutputType = {
12309
+ export type EnumsCountAggregateOutputType = {
12464
12310
  id: number
12465
- eventId: number
12466
- type: number
12467
- status: number
12468
- fullName: number
12469
- mail: number
12470
- created_at: number
12471
- updated_at: number
12311
+ templateStatus: number
12312
+ templateCategory: number
12472
12313
  _all: number
12473
12314
  }
12474
12315
 
12475
12316
 
12476
- export type TicketMinAggregateInputType = {
12317
+ export type EnumsMinAggregateInputType = {
12477
12318
  id?: true
12478
- eventId?: true
12479
- type?: true
12480
- status?: true
12481
- fullName?: true
12482
- mail?: true
12483
- created_at?: true
12484
- updated_at?: true
12319
+ templateStatus?: true
12320
+ templateCategory?: true
12485
12321
  }
12486
12322
 
12487
- export type TicketMaxAggregateInputType = {
12323
+ export type EnumsMaxAggregateInputType = {
12488
12324
  id?: true
12489
- eventId?: true
12490
- type?: true
12491
- status?: true
12492
- fullName?: true
12493
- mail?: true
12494
- created_at?: true
12495
- updated_at?: true
12325
+ templateStatus?: true
12326
+ templateCategory?: true
12496
12327
  }
12497
12328
 
12498
- export type TicketCountAggregateInputType = {
12329
+ export type EnumsCountAggregateInputType = {
12499
12330
  id?: true
12500
- eventId?: true
12501
- type?: true
12502
- status?: true
12503
- fullName?: true
12504
- mail?: true
12505
- created_at?: true
12506
- updated_at?: true
12331
+ templateStatus?: true
12332
+ templateCategory?: true
12507
12333
  _all?: true
12508
12334
  }
12509
12335
 
12510
- export type TicketAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12336
+ export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12511
12337
  /**
12512
- * Filter which Ticket to aggregate.
12338
+ * Filter which Enums to aggregate.
12513
12339
  */
12514
- where?: TicketWhereInput
12340
+ where?: EnumsWhereInput
12515
12341
  /**
12516
12342
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12517
12343
  *
12518
- * Determine the order of Tickets to fetch.
12344
+ * Determine the order of Enums to fetch.
12519
12345
  */
12520
- orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
12346
+ orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
12521
12347
  /**
12522
12348
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12523
12349
  *
12524
12350
  * Sets the start position
12525
12351
  */
12526
- cursor?: TicketWhereUniqueInput
12352
+ cursor?: EnumsWhereUniqueInput
12527
12353
  /**
12528
12354
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12529
12355
  *
12530
- * Take `±n` Tickets from the position of the cursor.
12356
+ * Take `±n` Enums from the position of the cursor.
12531
12357
  */
12532
12358
  take?: number
12533
12359
  /**
12534
12360
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12535
12361
  *
12536
- * Skip the first `n` Tickets.
12362
+ * Skip the first `n` Enums.
12537
12363
  */
12538
12364
  skip?: number
12539
12365
  /**
12540
12366
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
12541
12367
  *
12542
- * Count returned Tickets
12368
+ * Count returned Enums
12543
12369
  **/
12544
- _count?: true | TicketCountAggregateInputType
12370
+ _count?: true | EnumsCountAggregateInputType
12545
12371
  /**
12546
12372
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
12547
12373
  *
12548
12374
  * Select which fields to find the minimum value
12549
12375
  **/
12550
- _min?: TicketMinAggregateInputType
12376
+ _min?: EnumsMinAggregateInputType
12551
12377
  /**
12552
12378
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
12553
12379
  *
12554
12380
  * Select which fields to find the maximum value
12555
12381
  **/
12556
- _max?: TicketMaxAggregateInputType
12382
+ _max?: EnumsMaxAggregateInputType
12557
12383
  }
12558
12384
 
12559
- export type GetTicketAggregateType<T extends TicketAggregateArgs> = {
12560
- [P in keyof T & keyof AggregateTicket]: P extends '_count' | 'count'
12385
+ export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
12386
+ [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
12561
12387
  ? T[P] extends true
12562
12388
  ? number
12563
- : GetScalarType<T[P], AggregateTicket[P]>
12564
- : GetScalarType<T[P], AggregateTicket[P]>
12389
+ : GetScalarType<T[P], AggregateEnums[P]>
12390
+ : GetScalarType<T[P], AggregateEnums[P]>
12565
12391
  }
12566
12392
 
12567
12393
 
12568
12394
 
12569
12395
 
12570
- export type TicketGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12571
- where?: TicketWhereInput
12572
- orderBy?: TicketOrderByWithAggregationInput | TicketOrderByWithAggregationInput[]
12573
- by: TicketScalarFieldEnum[] | TicketScalarFieldEnum
12574
- having?: TicketScalarWhereWithAggregatesInput
12396
+ export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12397
+ where?: EnumsWhereInput
12398
+ orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
12399
+ by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
12400
+ having?: EnumsScalarWhereWithAggregatesInput
12575
12401
  take?: number
12576
12402
  skip?: number
12577
- _count?: TicketCountAggregateInputType | true
12578
- _min?: TicketMinAggregateInputType
12579
- _max?: TicketMaxAggregateInputType
12403
+ _count?: EnumsCountAggregateInputType | true
12404
+ _min?: EnumsMinAggregateInputType
12405
+ _max?: EnumsMaxAggregateInputType
12580
12406
  }
12581
12407
 
12582
- export type TicketGroupByOutputType = {
12408
+ export type EnumsGroupByOutputType = {
12583
12409
  id: string
12584
- eventId: string
12585
- type: $Enums.TicketType
12586
- status: $Enums.TicketStatus
12587
- fullName: string
12588
- mail: string
12589
- created_at: Date
12590
- updated_at: Date
12591
- _count: TicketCountAggregateOutputType | null
12592
- _min: TicketMinAggregateOutputType | null
12593
- _max: TicketMaxAggregateOutputType | null
12410
+ templateStatus: $Enums.TemplateStatus
12411
+ templateCategory: $Enums.TemplateCategory
12412
+ _count: EnumsCountAggregateOutputType | null
12413
+ _min: EnumsMinAggregateOutputType | null
12414
+ _max: EnumsMaxAggregateOutputType | null
12594
12415
  }
12595
12416
 
12596
- type GetTicketGroupByPayload<T extends TicketGroupByArgs> = Prisma.PrismaPromise<
12417
+ type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
12597
12418
  Array<
12598
- PickEnumerable<TicketGroupByOutputType, T['by']> &
12419
+ PickEnumerable<EnumsGroupByOutputType, T['by']> &
12599
12420
  {
12600
- [P in ((keyof T) & (keyof TicketGroupByOutputType))]: P extends '_count'
12421
+ [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
12601
12422
  ? T[P] extends boolean
12602
12423
  ? number
12603
- : GetScalarType<T[P], TicketGroupByOutputType[P]>
12604
- : GetScalarType<T[P], TicketGroupByOutputType[P]>
12424
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
12425
+ : GetScalarType<T[P], EnumsGroupByOutputType[P]>
12605
12426
  }
12606
12427
  >
12607
12428
  >
12608
12429
 
12609
12430
 
12610
- export type TicketSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
12431
+ export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
12611
12432
  id?: boolean
12612
- eventId?: boolean
12613
- type?: boolean
12614
- status?: boolean
12615
- fullName?: boolean
12616
- mail?: boolean
12617
- created_at?: boolean
12618
- updated_at?: boolean
12619
- event?: boolean | EventDefaultArgs<ExtArgs>
12620
- }, ExtArgs["result"]["ticket"]>
12433
+ templateStatus?: boolean
12434
+ templateCategory?: boolean
12435
+ }, ExtArgs["result"]["enums"]>
12621
12436
 
12622
- export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
12437
+ export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
12623
12438
  id?: boolean
12624
- eventId?: boolean
12625
- type?: boolean
12626
- status?: boolean
12627
- fullName?: boolean
12628
- mail?: boolean
12629
- created_at?: boolean
12630
- updated_at?: boolean
12631
- event?: boolean | EventDefaultArgs<ExtArgs>
12632
- }, ExtArgs["result"]["ticket"]>
12439
+ templateStatus?: boolean
12440
+ templateCategory?: boolean
12441
+ }, ExtArgs["result"]["enums"]>
12633
12442
 
12634
- export type TicketSelectScalar = {
12443
+ export type EnumsSelectScalar = {
12635
12444
  id?: boolean
12636
- eventId?: boolean
12637
- type?: boolean
12638
- status?: boolean
12639
- fullName?: boolean
12640
- mail?: boolean
12641
- created_at?: boolean
12642
- updated_at?: boolean
12445
+ templateStatus?: boolean
12446
+ templateCategory?: boolean
12643
12447
  }
12644
12448
 
12645
- export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12646
- event?: boolean | EventDefaultArgs<ExtArgs>
12647
- }
12648
- export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12649
- event?: boolean | EventDefaultArgs<ExtArgs>
12650
- }
12651
12449
 
12652
- export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12653
- name: "Ticket"
12654
- objects: {
12655
- event: Prisma.$EventPayload<ExtArgs>
12656
- }
12450
+ export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12451
+ name: "Enums"
12452
+ objects: {}
12657
12453
  scalars: $Extensions.GetPayloadResult<{
12658
12454
  id: string
12659
- eventId: string
12660
- type: $Enums.TicketType
12661
- status: $Enums.TicketStatus
12662
- fullName: string
12663
- mail: string
12664
- created_at: Date
12665
- updated_at: Date
12666
- }, ExtArgs["result"]["ticket"]>
12455
+ templateStatus: $Enums.TemplateStatus
12456
+ templateCategory: $Enums.TemplateCategory
12457
+ }, ExtArgs["result"]["enums"]>
12667
12458
  composites: {}
12668
12459
  }
12669
12460
 
12670
- type TicketGetPayload<S extends boolean | null | undefined | TicketDefaultArgs> = $Result.GetResult<Prisma.$TicketPayload, S>
12461
+ type EnumsGetPayload<S extends boolean | null | undefined | EnumsDefaultArgs> = $Result.GetResult<Prisma.$EnumsPayload, S>
12671
12462
 
12672
- type TicketCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
12673
- Omit<TicketFindManyArgs, 'select' | 'include' | 'distinct'> & {
12674
- select?: TicketCountAggregateInputType | true
12463
+ type EnumsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
12464
+ Omit<EnumsFindManyArgs, 'select' | 'include' | 'distinct'> & {
12465
+ select?: EnumsCountAggregateInputType | true
12675
12466
  }
12676
12467
 
12677
- export interface TicketDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
12678
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Ticket'], meta: { name: 'Ticket' } }
12468
+ export interface EnumsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
12469
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Enums'], meta: { name: 'Enums' } }
12679
12470
  /**
12680
- * Find zero or one Ticket that matches the filter.
12681
- * @param {TicketFindUniqueArgs} args - Arguments to find a Ticket
12471
+ * Find zero or one Enums that matches the filter.
12472
+ * @param {EnumsFindUniqueArgs} args - Arguments to find a Enums
12682
12473
  * @example
12683
- * // Get one Ticket
12684
- * const ticket = await prisma.ticket.findUnique({
12474
+ * // Get one Enums
12475
+ * const enums = await prisma.enums.findUnique({
12685
12476
  * where: {
12686
12477
  * // ... provide filter here
12687
12478
  * }
12688
12479
  * })
12689
12480
  */
12690
- findUnique<T extends TicketFindUniqueArgs>(args: SelectSubset<T, TicketFindUniqueArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
12481
+ findUnique<T extends EnumsFindUniqueArgs>(args: SelectSubset<T, EnumsFindUniqueArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
12691
12482
 
12692
12483
  /**
12693
- * Find one Ticket that matches the filter or throw an error with `error.code='P2025'`
12484
+ * Find one Enums that matches the filter or throw an error with `error.code='P2025'`
12694
12485
  * if no matches were found.
12695
- * @param {TicketFindUniqueOrThrowArgs} args - Arguments to find a Ticket
12486
+ * @param {EnumsFindUniqueOrThrowArgs} args - Arguments to find a Enums
12696
12487
  * @example
12697
- * // Get one Ticket
12698
- * const ticket = await prisma.ticket.findUniqueOrThrow({
12488
+ * // Get one Enums
12489
+ * const enums = await prisma.enums.findUniqueOrThrow({
12699
12490
  * where: {
12700
12491
  * // ... provide filter here
12701
12492
  * }
12702
12493
  * })
12703
12494
  */
12704
- findUniqueOrThrow<T extends TicketFindUniqueOrThrowArgs>(args: SelectSubset<T, TicketFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
12495
+ findUniqueOrThrow<T extends EnumsFindUniqueOrThrowArgs>(args: SelectSubset<T, EnumsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
12705
12496
 
12706
12497
  /**
12707
- * Find the first Ticket that matches the filter.
12498
+ * Find the first Enums that matches the filter.
12708
12499
  * Note, that providing `undefined` is treated as the value not being there.
12709
12500
  * Read more here: https://pris.ly/d/null-undefined
12710
- * @param {TicketFindFirstArgs} args - Arguments to find a Ticket
12501
+ * @param {EnumsFindFirstArgs} args - Arguments to find a Enums
12711
12502
  * @example
12712
- * // Get one Ticket
12713
- * const ticket = await prisma.ticket.findFirst({
12503
+ * // Get one Enums
12504
+ * const enums = await prisma.enums.findFirst({
12714
12505
  * where: {
12715
12506
  * // ... provide filter here
12716
12507
  * }
12717
12508
  * })
12718
12509
  */
12719
- findFirst<T extends TicketFindFirstArgs>(args?: SelectSubset<T, TicketFindFirstArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
12510
+ findFirst<T extends EnumsFindFirstArgs>(args?: SelectSubset<T, EnumsFindFirstArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
12720
12511
 
12721
12512
  /**
12722
- * Find the first Ticket that matches the filter or
12513
+ * Find the first Enums that matches the filter or
12723
12514
  * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
12724
12515
  * Note, that providing `undefined` is treated as the value not being there.
12725
12516
  * Read more here: https://pris.ly/d/null-undefined
12726
- * @param {TicketFindFirstOrThrowArgs} args - Arguments to find a Ticket
12517
+ * @param {EnumsFindFirstOrThrowArgs} args - Arguments to find a Enums
12727
12518
  * @example
12728
- * // Get one Ticket
12729
- * const ticket = await prisma.ticket.findFirstOrThrow({
12519
+ * // Get one Enums
12520
+ * const enums = await prisma.enums.findFirstOrThrow({
12730
12521
  * where: {
12731
12522
  * // ... provide filter here
12732
12523
  * }
12733
12524
  * })
12734
12525
  */
12735
- findFirstOrThrow<T extends TicketFindFirstOrThrowArgs>(args?: SelectSubset<T, TicketFindFirstOrThrowArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
12526
+ findFirstOrThrow<T extends EnumsFindFirstOrThrowArgs>(args?: SelectSubset<T, EnumsFindFirstOrThrowArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
12736
12527
 
12737
12528
  /**
12738
- * Find zero or more Tickets that matches the filter.
12529
+ * Find zero or more Enums that matches the filter.
12739
12530
  * Note, that providing `undefined` is treated as the value not being there.
12740
12531
  * Read more here: https://pris.ly/d/null-undefined
12741
- * @param {TicketFindManyArgs} args - Arguments to filter and select certain fields only.
12532
+ * @param {EnumsFindManyArgs} args - Arguments to filter and select certain fields only.
12742
12533
  * @example
12743
- * // Get all Tickets
12744
- * const tickets = await prisma.ticket.findMany()
12534
+ * // Get all Enums
12535
+ * const enums = await prisma.enums.findMany()
12745
12536
  *
12746
- * // Get first 10 Tickets
12747
- * const tickets = await prisma.ticket.findMany({ take: 10 })
12537
+ * // Get first 10 Enums
12538
+ * const enums = await prisma.enums.findMany({ take: 10 })
12748
12539
  *
12749
12540
  * // Only select the `id`
12750
- * const ticketWithIdOnly = await prisma.ticket.findMany({ select: { id: true } })
12541
+ * const enumsWithIdOnly = await prisma.enums.findMany({ select: { id: true } })
12751
12542
  *
12752
12543
  */
12753
- findMany<T extends TicketFindManyArgs>(args?: SelectSubset<T, TicketFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany">>
12544
+ findMany<T extends EnumsFindManyArgs>(args?: SelectSubset<T, EnumsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findMany">>
12754
12545
 
12755
12546
  /**
12756
- * Create a Ticket.
12757
- * @param {TicketCreateArgs} args - Arguments to create a Ticket.
12547
+ * Create a Enums.
12548
+ * @param {EnumsCreateArgs} args - Arguments to create a Enums.
12758
12549
  * @example
12759
- * // Create one Ticket
12760
- * const Ticket = await prisma.ticket.create({
12550
+ * // Create one Enums
12551
+ * const Enums = await prisma.enums.create({
12761
12552
  * data: {
12762
- * // ... data to create a Ticket
12553
+ * // ... data to create a Enums
12763
12554
  * }
12764
12555
  * })
12765
12556
  *
12766
12557
  */
12767
- create<T extends TicketCreateArgs>(args: SelectSubset<T, TicketCreateArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "create">, never, ExtArgs>
12558
+ create<T extends EnumsCreateArgs>(args: SelectSubset<T, EnumsCreateArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "create">, never, ExtArgs>
12768
12559
 
12769
12560
  /**
12770
- * Create many Tickets.
12771
- * @param {TicketCreateManyArgs} args - Arguments to create many Tickets.
12561
+ * Create many Enums.
12562
+ * @param {EnumsCreateManyArgs} args - Arguments to create many Enums.
12772
12563
  * @example
12773
- * // Create many Tickets
12774
- * const ticket = await prisma.ticket.createMany({
12564
+ * // Create many Enums
12565
+ * const enums = await prisma.enums.createMany({
12775
12566
  * data: [
12776
12567
  * // ... provide data here
12777
12568
  * ]
12778
12569
  * })
12779
12570
  *
12780
12571
  */
12781
- createMany<T extends TicketCreateManyArgs>(args?: SelectSubset<T, TicketCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
12572
+ createMany<T extends EnumsCreateManyArgs>(args?: SelectSubset<T, EnumsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
12782
12573
 
12783
12574
  /**
12784
- * Create many Tickets and returns the data saved in the database.
12785
- * @param {TicketCreateManyAndReturnArgs} args - Arguments to create many Tickets.
12575
+ * Create many Enums and returns the data saved in the database.
12576
+ * @param {EnumsCreateManyAndReturnArgs} args - Arguments to create many Enums.
12786
12577
  * @example
12787
- * // Create many Tickets
12788
- * const ticket = await prisma.ticket.createManyAndReturn({
12578
+ * // Create many Enums
12579
+ * const enums = await prisma.enums.createManyAndReturn({
12789
12580
  * data: [
12790
12581
  * // ... provide data here
12791
12582
  * ]
12792
12583
  * })
12793
12584
  *
12794
- * // Create many Tickets and only return the `id`
12795
- * const ticketWithIdOnly = await prisma.ticket.createManyAndReturn({
12585
+ * // Create many Enums and only return the `id`
12586
+ * const enumsWithIdOnly = await prisma.enums.createManyAndReturn({
12796
12587
  * select: { id: true },
12797
12588
  * data: [
12798
12589
  * // ... provide data here
@@ -12802,911 +12593,7 @@ export namespace Prisma {
12802
12593
  * Read more here: https://pris.ly/d/null-undefined
12803
12594
  *
12804
12595
  */
12805
- createManyAndReturn<T extends TicketCreateManyAndReturnArgs>(args?: SelectSubset<T, TicketCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "createManyAndReturn">>
12806
-
12807
- /**
12808
- * Delete a Ticket.
12809
- * @param {TicketDeleteArgs} args - Arguments to delete one Ticket.
12810
- * @example
12811
- * // Delete one Ticket
12812
- * const Ticket = await prisma.ticket.delete({
12813
- * where: {
12814
- * // ... filter to delete one Ticket
12815
- * }
12816
- * })
12817
- *
12818
- */
12819
- delete<T extends TicketDeleteArgs>(args: SelectSubset<T, TicketDeleteArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "delete">, never, ExtArgs>
12820
-
12821
- /**
12822
- * Update one Ticket.
12823
- * @param {TicketUpdateArgs} args - Arguments to update one Ticket.
12824
- * @example
12825
- * // Update one Ticket
12826
- * const ticket = await prisma.ticket.update({
12827
- * where: {
12828
- * // ... provide filter here
12829
- * },
12830
- * data: {
12831
- * // ... provide data here
12832
- * }
12833
- * })
12834
- *
12835
- */
12836
- update<T extends TicketUpdateArgs>(args: SelectSubset<T, TicketUpdateArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "update">, never, ExtArgs>
12837
-
12838
- /**
12839
- * Delete zero or more Tickets.
12840
- * @param {TicketDeleteManyArgs} args - Arguments to filter Tickets to delete.
12841
- * @example
12842
- * // Delete a few Tickets
12843
- * const { count } = await prisma.ticket.deleteMany({
12844
- * where: {
12845
- * // ... provide filter here
12846
- * }
12847
- * })
12848
- *
12849
- */
12850
- deleteMany<T extends TicketDeleteManyArgs>(args?: SelectSubset<T, TicketDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
12851
-
12852
- /**
12853
- * Update zero or more Tickets.
12854
- * Note, that providing `undefined` is treated as the value not being there.
12855
- * Read more here: https://pris.ly/d/null-undefined
12856
- * @param {TicketUpdateManyArgs} args - Arguments to update one or more rows.
12857
- * @example
12858
- * // Update many Tickets
12859
- * const ticket = await prisma.ticket.updateMany({
12860
- * where: {
12861
- * // ... provide filter here
12862
- * },
12863
- * data: {
12864
- * // ... provide data here
12865
- * }
12866
- * })
12867
- *
12868
- */
12869
- updateMany<T extends TicketUpdateManyArgs>(args: SelectSubset<T, TicketUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
12870
-
12871
- /**
12872
- * Create or update one Ticket.
12873
- * @param {TicketUpsertArgs} args - Arguments to update or create a Ticket.
12874
- * @example
12875
- * // Update or create a Ticket
12876
- * const ticket = await prisma.ticket.upsert({
12877
- * create: {
12878
- * // ... data to create a Ticket
12879
- * },
12880
- * update: {
12881
- * // ... in case it already exists, update
12882
- * },
12883
- * where: {
12884
- * // ... the filter for the Ticket we want to update
12885
- * }
12886
- * })
12887
- */
12888
- upsert<T extends TicketUpsertArgs>(args: SelectSubset<T, TicketUpsertArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
12889
-
12890
-
12891
- /**
12892
- * Count the number of Tickets.
12893
- * Note, that providing `undefined` is treated as the value not being there.
12894
- * Read more here: https://pris.ly/d/null-undefined
12895
- * @param {TicketCountArgs} args - Arguments to filter Tickets to count.
12896
- * @example
12897
- * // Count the number of Tickets
12898
- * const count = await prisma.ticket.count({
12899
- * where: {
12900
- * // ... the filter for the Tickets we want to count
12901
- * }
12902
- * })
12903
- **/
12904
- count<T extends TicketCountArgs>(
12905
- args?: Subset<T, TicketCountArgs>,
12906
- ): Prisma.PrismaPromise<
12907
- T extends $Utils.Record<'select', any>
12908
- ? T['select'] extends true
12909
- ? number
12910
- : GetScalarType<T['select'], TicketCountAggregateOutputType>
12911
- : number
12912
- >
12913
-
12914
- /**
12915
- * Allows you to perform aggregations operations on a Ticket.
12916
- * Note, that providing `undefined` is treated as the value not being there.
12917
- * Read more here: https://pris.ly/d/null-undefined
12918
- * @param {TicketAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
12919
- * @example
12920
- * // Ordered by age ascending
12921
- * // Where email contains prisma.io
12922
- * // Limited to the 10 users
12923
- * const aggregations = await prisma.user.aggregate({
12924
- * _avg: {
12925
- * age: true,
12926
- * },
12927
- * where: {
12928
- * email: {
12929
- * contains: "prisma.io",
12930
- * },
12931
- * },
12932
- * orderBy: {
12933
- * age: "asc",
12934
- * },
12935
- * take: 10,
12936
- * })
12937
- **/
12938
- aggregate<T extends TicketAggregateArgs>(args: Subset<T, TicketAggregateArgs>): Prisma.PrismaPromise<GetTicketAggregateType<T>>
12939
-
12940
- /**
12941
- * Group by Ticket.
12942
- * Note, that providing `undefined` is treated as the value not being there.
12943
- * Read more here: https://pris.ly/d/null-undefined
12944
- * @param {TicketGroupByArgs} args - Group by arguments.
12945
- * @example
12946
- * // Group by city, order by createdAt, get count
12947
- * const result = await prisma.user.groupBy({
12948
- * by: ['city', 'createdAt'],
12949
- * orderBy: {
12950
- * createdAt: true
12951
- * },
12952
- * _count: {
12953
- * _all: true
12954
- * },
12955
- * })
12956
- *
12957
- **/
12958
- groupBy<
12959
- T extends TicketGroupByArgs,
12960
- HasSelectOrTake extends Or<
12961
- Extends<'skip', Keys<T>>,
12962
- Extends<'take', Keys<T>>
12963
- >,
12964
- OrderByArg extends True extends HasSelectOrTake
12965
- ? { orderBy: TicketGroupByArgs['orderBy'] }
12966
- : { orderBy?: TicketGroupByArgs['orderBy'] },
12967
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
12968
- ByFields extends MaybeTupleToUnion<T['by']>,
12969
- ByValid extends Has<ByFields, OrderFields>,
12970
- HavingFields extends GetHavingFields<T['having']>,
12971
- HavingValid extends Has<ByFields, HavingFields>,
12972
- ByEmpty extends T['by'] extends never[] ? True : False,
12973
- InputErrors extends ByEmpty extends True
12974
- ? `Error: "by" must not be empty.`
12975
- : HavingValid extends False
12976
- ? {
12977
- [P in HavingFields]: P extends ByFields
12978
- ? never
12979
- : P extends string
12980
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
12981
- : [
12982
- Error,
12983
- 'Field ',
12984
- P,
12985
- ` in "having" needs to be provided in "by"`,
12986
- ]
12987
- }[HavingFields]
12988
- : 'take' extends Keys<T>
12989
- ? 'orderBy' extends Keys<T>
12990
- ? ByValid extends True
12991
- ? {}
12992
- : {
12993
- [P in OrderFields]: P extends ByFields
12994
- ? never
12995
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
12996
- }[OrderFields]
12997
- : 'Error: If you provide "take", you also need to provide "orderBy"'
12998
- : 'skip' extends Keys<T>
12999
- ? 'orderBy' extends Keys<T>
13000
- ? ByValid extends True
13001
- ? {}
13002
- : {
13003
- [P in OrderFields]: P extends ByFields
13004
- ? never
13005
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13006
- }[OrderFields]
13007
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
13008
- : ByValid extends True
13009
- ? {}
13010
- : {
13011
- [P in OrderFields]: P extends ByFields
13012
- ? never
13013
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13014
- }[OrderFields]
13015
- >(args: SubsetIntersection<T, TicketGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
13016
- /**
13017
- * Fields of the Ticket model
13018
- */
13019
- readonly fields: TicketFieldRefs;
13020
- }
13021
-
13022
- /**
13023
- * The delegate class that acts as a "Promise-like" for Ticket.
13024
- * Why is this prefixed with `Prisma__`?
13025
- * Because we want to prevent naming conflicts as mentioned in
13026
- * https://github.com/prisma/prisma-client-js/issues/707
13027
- */
13028
- export interface Prisma__TicketClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
13029
- readonly [Symbol.toStringTag]: "PrismaPromise"
13030
- event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
13031
- /**
13032
- * Attaches callbacks for the resolution and/or rejection of the Promise.
13033
- * @param onfulfilled The callback to execute when the Promise is resolved.
13034
- * @param onrejected The callback to execute when the Promise is rejected.
13035
- * @returns A Promise for the completion of which ever callback is executed.
13036
- */
13037
- 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>
13038
- /**
13039
- * Attaches a callback for only the rejection of the Promise.
13040
- * @param onrejected The callback to execute when the Promise is rejected.
13041
- * @returns A Promise for the completion of the callback.
13042
- */
13043
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
13044
- /**
13045
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
13046
- * resolved value cannot be modified from the callback.
13047
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
13048
- * @returns A Promise for the completion of the callback.
13049
- */
13050
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
13051
- }
13052
-
13053
-
13054
-
13055
-
13056
- /**
13057
- * Fields of the Ticket model
13058
- */
13059
- interface TicketFieldRefs {
13060
- readonly id: FieldRef<"Ticket", 'String'>
13061
- readonly eventId: FieldRef<"Ticket", 'String'>
13062
- readonly type: FieldRef<"Ticket", 'TicketType'>
13063
- readonly status: FieldRef<"Ticket", 'TicketStatus'>
13064
- readonly fullName: FieldRef<"Ticket", 'String'>
13065
- readonly mail: FieldRef<"Ticket", 'String'>
13066
- readonly created_at: FieldRef<"Ticket", 'DateTime'>
13067
- readonly updated_at: FieldRef<"Ticket", 'DateTime'>
13068
- }
13069
-
13070
-
13071
- // Custom InputTypes
13072
- /**
13073
- * Ticket findUnique
13074
- */
13075
- export type TicketFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13076
- /**
13077
- * Select specific fields to fetch from the Ticket
13078
- */
13079
- select?: TicketSelect<ExtArgs> | null
13080
- /**
13081
- * Choose, which related nodes to fetch as well
13082
- */
13083
- include?: TicketInclude<ExtArgs> | null
13084
- /**
13085
- * Filter, which Ticket to fetch.
13086
- */
13087
- where: TicketWhereUniqueInput
13088
- }
13089
-
13090
- /**
13091
- * Ticket findUniqueOrThrow
13092
- */
13093
- export type TicketFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13094
- /**
13095
- * Select specific fields to fetch from the Ticket
13096
- */
13097
- select?: TicketSelect<ExtArgs> | null
13098
- /**
13099
- * Choose, which related nodes to fetch as well
13100
- */
13101
- include?: TicketInclude<ExtArgs> | null
13102
- /**
13103
- * Filter, which Ticket to fetch.
13104
- */
13105
- where: TicketWhereUniqueInput
13106
- }
13107
-
13108
- /**
13109
- * Ticket findFirst
13110
- */
13111
- export type TicketFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13112
- /**
13113
- * Select specific fields to fetch from the Ticket
13114
- */
13115
- select?: TicketSelect<ExtArgs> | null
13116
- /**
13117
- * Choose, which related nodes to fetch as well
13118
- */
13119
- include?: TicketInclude<ExtArgs> | null
13120
- /**
13121
- * Filter, which Ticket to fetch.
13122
- */
13123
- where?: TicketWhereInput
13124
- /**
13125
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13126
- *
13127
- * Determine the order of Tickets to fetch.
13128
- */
13129
- orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
13130
- /**
13131
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13132
- *
13133
- * Sets the position for searching for Tickets.
13134
- */
13135
- cursor?: TicketWhereUniqueInput
13136
- /**
13137
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13138
- *
13139
- * Take `±n` Tickets from the position of the cursor.
13140
- */
13141
- take?: number
13142
- /**
13143
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13144
- *
13145
- * Skip the first `n` Tickets.
13146
- */
13147
- skip?: number
13148
- /**
13149
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
13150
- *
13151
- * Filter by unique combinations of Tickets.
13152
- */
13153
- distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
13154
- }
13155
-
13156
- /**
13157
- * Ticket findFirstOrThrow
13158
- */
13159
- export type TicketFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13160
- /**
13161
- * Select specific fields to fetch from the Ticket
13162
- */
13163
- select?: TicketSelect<ExtArgs> | null
13164
- /**
13165
- * Choose, which related nodes to fetch as well
13166
- */
13167
- include?: TicketInclude<ExtArgs> | null
13168
- /**
13169
- * Filter, which Ticket to fetch.
13170
- */
13171
- where?: TicketWhereInput
13172
- /**
13173
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13174
- *
13175
- * Determine the order of Tickets to fetch.
13176
- */
13177
- orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
13178
- /**
13179
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13180
- *
13181
- * Sets the position for searching for Tickets.
13182
- */
13183
- cursor?: TicketWhereUniqueInput
13184
- /**
13185
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13186
- *
13187
- * Take `±n` Tickets from the position of the cursor.
13188
- */
13189
- take?: number
13190
- /**
13191
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13192
- *
13193
- * Skip the first `n` Tickets.
13194
- */
13195
- skip?: number
13196
- /**
13197
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
13198
- *
13199
- * Filter by unique combinations of Tickets.
13200
- */
13201
- distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
13202
- }
13203
-
13204
- /**
13205
- * Ticket findMany
13206
- */
13207
- export type TicketFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13208
- /**
13209
- * Select specific fields to fetch from the Ticket
13210
- */
13211
- select?: TicketSelect<ExtArgs> | null
13212
- /**
13213
- * Choose, which related nodes to fetch as well
13214
- */
13215
- include?: TicketInclude<ExtArgs> | null
13216
- /**
13217
- * Filter, which Tickets to fetch.
13218
- */
13219
- where?: TicketWhereInput
13220
- /**
13221
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13222
- *
13223
- * Determine the order of Tickets to fetch.
13224
- */
13225
- orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
13226
- /**
13227
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13228
- *
13229
- * Sets the position for listing Tickets.
13230
- */
13231
- cursor?: TicketWhereUniqueInput
13232
- /**
13233
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13234
- *
13235
- * Take `±n` Tickets from the position of the cursor.
13236
- */
13237
- take?: number
13238
- /**
13239
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13240
- *
13241
- * Skip the first `n` Tickets.
13242
- */
13243
- skip?: number
13244
- distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
13245
- }
13246
-
13247
- /**
13248
- * Ticket create
13249
- */
13250
- export type TicketCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13251
- /**
13252
- * Select specific fields to fetch from the Ticket
13253
- */
13254
- select?: TicketSelect<ExtArgs> | null
13255
- /**
13256
- * Choose, which related nodes to fetch as well
13257
- */
13258
- include?: TicketInclude<ExtArgs> | null
13259
- /**
13260
- * The data needed to create a Ticket.
13261
- */
13262
- data: XOR<TicketCreateInput, TicketUncheckedCreateInput>
13263
- }
13264
-
13265
- /**
13266
- * Ticket createMany
13267
- */
13268
- export type TicketCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13269
- /**
13270
- * The data used to create many Tickets.
13271
- */
13272
- data: TicketCreateManyInput | TicketCreateManyInput[]
13273
- skipDuplicates?: boolean
13274
- }
13275
-
13276
- /**
13277
- * Ticket createManyAndReturn
13278
- */
13279
- export type TicketCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13280
- /**
13281
- * Select specific fields to fetch from the Ticket
13282
- */
13283
- select?: TicketSelectCreateManyAndReturn<ExtArgs> | null
13284
- /**
13285
- * The data used to create many Tickets.
13286
- */
13287
- data: TicketCreateManyInput | TicketCreateManyInput[]
13288
- skipDuplicates?: boolean
13289
- /**
13290
- * Choose, which related nodes to fetch as well
13291
- */
13292
- include?: TicketIncludeCreateManyAndReturn<ExtArgs> | null
13293
- }
13294
-
13295
- /**
13296
- * Ticket update
13297
- */
13298
- export type TicketUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13299
- /**
13300
- * Select specific fields to fetch from the Ticket
13301
- */
13302
- select?: TicketSelect<ExtArgs> | null
13303
- /**
13304
- * Choose, which related nodes to fetch as well
13305
- */
13306
- include?: TicketInclude<ExtArgs> | null
13307
- /**
13308
- * The data needed to update a Ticket.
13309
- */
13310
- data: XOR<TicketUpdateInput, TicketUncheckedUpdateInput>
13311
- /**
13312
- * Choose, which Ticket to update.
13313
- */
13314
- where: TicketWhereUniqueInput
13315
- }
13316
-
13317
- /**
13318
- * Ticket updateMany
13319
- */
13320
- export type TicketUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13321
- /**
13322
- * The data used to update Tickets.
13323
- */
13324
- data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyInput>
13325
- /**
13326
- * Filter which Tickets to update
13327
- */
13328
- where?: TicketWhereInput
13329
- }
13330
-
13331
- /**
13332
- * Ticket upsert
13333
- */
13334
- export type TicketUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13335
- /**
13336
- * Select specific fields to fetch from the Ticket
13337
- */
13338
- select?: TicketSelect<ExtArgs> | null
13339
- /**
13340
- * Choose, which related nodes to fetch as well
13341
- */
13342
- include?: TicketInclude<ExtArgs> | null
13343
- /**
13344
- * The filter to search for the Ticket to update in case it exists.
13345
- */
13346
- where: TicketWhereUniqueInput
13347
- /**
13348
- * In case the Ticket found by the `where` argument doesn't exist, create a new Ticket with this data.
13349
- */
13350
- create: XOR<TicketCreateInput, TicketUncheckedCreateInput>
13351
- /**
13352
- * In case the Ticket was found with the provided `where` argument, update it with this data.
13353
- */
13354
- update: XOR<TicketUpdateInput, TicketUncheckedUpdateInput>
13355
- }
13356
-
13357
- /**
13358
- * Ticket delete
13359
- */
13360
- export type TicketDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13361
- /**
13362
- * Select specific fields to fetch from the Ticket
13363
- */
13364
- select?: TicketSelect<ExtArgs> | null
13365
- /**
13366
- * Choose, which related nodes to fetch as well
13367
- */
13368
- include?: TicketInclude<ExtArgs> | null
13369
- /**
13370
- * Filter which Ticket to delete.
13371
- */
13372
- where: TicketWhereUniqueInput
13373
- }
13374
-
13375
- /**
13376
- * Ticket deleteMany
13377
- */
13378
- export type TicketDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13379
- /**
13380
- * Filter which Tickets to delete
13381
- */
13382
- where?: TicketWhereInput
13383
- }
13384
-
13385
- /**
13386
- * Ticket without action
13387
- */
13388
- export type TicketDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13389
- /**
13390
- * Select specific fields to fetch from the Ticket
13391
- */
13392
- select?: TicketSelect<ExtArgs> | null
13393
- /**
13394
- * Choose, which related nodes to fetch as well
13395
- */
13396
- include?: TicketInclude<ExtArgs> | null
13397
- }
13398
-
13399
-
13400
- /**
13401
- * Model Enums
13402
- */
13403
-
13404
- export type AggregateEnums = {
13405
- _count: EnumsCountAggregateOutputType | null
13406
- _min: EnumsMinAggregateOutputType | null
13407
- _max: EnumsMaxAggregateOutputType | null
13408
- }
13409
-
13410
- export type EnumsMinAggregateOutputType = {
13411
- id: string | null
13412
- templateStatus: $Enums.TemplateStatus | null
13413
- templateCategory: $Enums.TemplateCategory | null
13414
- }
13415
-
13416
- export type EnumsMaxAggregateOutputType = {
13417
- id: string | null
13418
- templateStatus: $Enums.TemplateStatus | null
13419
- templateCategory: $Enums.TemplateCategory | null
13420
- }
13421
-
13422
- export type EnumsCountAggregateOutputType = {
13423
- id: number
13424
- templateStatus: number
13425
- templateCategory: number
13426
- _all: number
13427
- }
13428
-
13429
-
13430
- export type EnumsMinAggregateInputType = {
13431
- id?: true
13432
- templateStatus?: true
13433
- templateCategory?: true
13434
- }
13435
-
13436
- export type EnumsMaxAggregateInputType = {
13437
- id?: true
13438
- templateStatus?: true
13439
- templateCategory?: true
13440
- }
13441
-
13442
- export type EnumsCountAggregateInputType = {
13443
- id?: true
13444
- templateStatus?: true
13445
- templateCategory?: true
13446
- _all?: true
13447
- }
13448
-
13449
- export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13450
- /**
13451
- * Filter which Enums to aggregate.
13452
- */
13453
- where?: EnumsWhereInput
13454
- /**
13455
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
13456
- *
13457
- * Determine the order of Enums to fetch.
13458
- */
13459
- orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
13460
- /**
13461
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13462
- *
13463
- * Sets the start position
13464
- */
13465
- cursor?: EnumsWhereUniqueInput
13466
- /**
13467
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13468
- *
13469
- * Take `±n` Enums from the position of the cursor.
13470
- */
13471
- take?: number
13472
- /**
13473
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13474
- *
13475
- * Skip the first `n` Enums.
13476
- */
13477
- skip?: number
13478
- /**
13479
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13480
- *
13481
- * Count returned Enums
13482
- **/
13483
- _count?: true | EnumsCountAggregateInputType
13484
- /**
13485
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13486
- *
13487
- * Select which fields to find the minimum value
13488
- **/
13489
- _min?: EnumsMinAggregateInputType
13490
- /**
13491
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13492
- *
13493
- * Select which fields to find the maximum value
13494
- **/
13495
- _max?: EnumsMaxAggregateInputType
13496
- }
13497
-
13498
- export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
13499
- [P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
13500
- ? T[P] extends true
13501
- ? number
13502
- : GetScalarType<T[P], AggregateEnums[P]>
13503
- : GetScalarType<T[P], AggregateEnums[P]>
13504
- }
13505
-
13506
-
13507
-
13508
-
13509
- export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13510
- where?: EnumsWhereInput
13511
- orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
13512
- by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
13513
- having?: EnumsScalarWhereWithAggregatesInput
13514
- take?: number
13515
- skip?: number
13516
- _count?: EnumsCountAggregateInputType | true
13517
- _min?: EnumsMinAggregateInputType
13518
- _max?: EnumsMaxAggregateInputType
13519
- }
13520
-
13521
- export type EnumsGroupByOutputType = {
13522
- id: string
13523
- templateStatus: $Enums.TemplateStatus
13524
- templateCategory: $Enums.TemplateCategory
13525
- _count: EnumsCountAggregateOutputType | null
13526
- _min: EnumsMinAggregateOutputType | null
13527
- _max: EnumsMaxAggregateOutputType | null
13528
- }
13529
-
13530
- type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
13531
- Array<
13532
- PickEnumerable<EnumsGroupByOutputType, T['by']> &
13533
- {
13534
- [P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
13535
- ? T[P] extends boolean
13536
- ? number
13537
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
13538
- : GetScalarType<T[P], EnumsGroupByOutputType[P]>
13539
- }
13540
- >
13541
- >
13542
-
13543
-
13544
- export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
13545
- id?: boolean
13546
- templateStatus?: boolean
13547
- templateCategory?: boolean
13548
- }, ExtArgs["result"]["enums"]>
13549
-
13550
- export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
13551
- id?: boolean
13552
- templateStatus?: boolean
13553
- templateCategory?: boolean
13554
- }, ExtArgs["result"]["enums"]>
13555
-
13556
- export type EnumsSelectScalar = {
13557
- id?: boolean
13558
- templateStatus?: boolean
13559
- templateCategory?: boolean
13560
- }
13561
-
13562
-
13563
- export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13564
- name: "Enums"
13565
- objects: {}
13566
- scalars: $Extensions.GetPayloadResult<{
13567
- id: string
13568
- templateStatus: $Enums.TemplateStatus
13569
- templateCategory: $Enums.TemplateCategory
13570
- }, ExtArgs["result"]["enums"]>
13571
- composites: {}
13572
- }
13573
-
13574
- type EnumsGetPayload<S extends boolean | null | undefined | EnumsDefaultArgs> = $Result.GetResult<Prisma.$EnumsPayload, S>
13575
-
13576
- type EnumsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
13577
- Omit<EnumsFindManyArgs, 'select' | 'include' | 'distinct'> & {
13578
- select?: EnumsCountAggregateInputType | true
13579
- }
13580
-
13581
- export interface EnumsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
13582
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Enums'], meta: { name: 'Enums' } }
13583
- /**
13584
- * Find zero or one Enums that matches the filter.
13585
- * @param {EnumsFindUniqueArgs} args - Arguments to find a Enums
13586
- * @example
13587
- * // Get one Enums
13588
- * const enums = await prisma.enums.findUnique({
13589
- * where: {
13590
- * // ... provide filter here
13591
- * }
13592
- * })
13593
- */
13594
- findUnique<T extends EnumsFindUniqueArgs>(args: SelectSubset<T, EnumsFindUniqueArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
13595
-
13596
- /**
13597
- * Find one Enums that matches the filter or throw an error with `error.code='P2025'`
13598
- * if no matches were found.
13599
- * @param {EnumsFindUniqueOrThrowArgs} args - Arguments to find a Enums
13600
- * @example
13601
- * // Get one Enums
13602
- * const enums = await prisma.enums.findUniqueOrThrow({
13603
- * where: {
13604
- * // ... provide filter here
13605
- * }
13606
- * })
13607
- */
13608
- findUniqueOrThrow<T extends EnumsFindUniqueOrThrowArgs>(args: SelectSubset<T, EnumsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
13609
-
13610
- /**
13611
- * Find the first Enums that matches the filter.
13612
- * Note, that providing `undefined` is treated as the value not being there.
13613
- * Read more here: https://pris.ly/d/null-undefined
13614
- * @param {EnumsFindFirstArgs} args - Arguments to find a Enums
13615
- * @example
13616
- * // Get one Enums
13617
- * const enums = await prisma.enums.findFirst({
13618
- * where: {
13619
- * // ... provide filter here
13620
- * }
13621
- * })
13622
- */
13623
- findFirst<T extends EnumsFindFirstArgs>(args?: SelectSubset<T, EnumsFindFirstArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
13624
-
13625
- /**
13626
- * Find the first Enums that matches the filter or
13627
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
13628
- * Note, that providing `undefined` is treated as the value not being there.
13629
- * Read more here: https://pris.ly/d/null-undefined
13630
- * @param {EnumsFindFirstOrThrowArgs} args - Arguments to find a Enums
13631
- * @example
13632
- * // Get one Enums
13633
- * const enums = await prisma.enums.findFirstOrThrow({
13634
- * where: {
13635
- * // ... provide filter here
13636
- * }
13637
- * })
13638
- */
13639
- findFirstOrThrow<T extends EnumsFindFirstOrThrowArgs>(args?: SelectSubset<T, EnumsFindFirstOrThrowArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
13640
-
13641
- /**
13642
- * Find zero or more Enums that matches the filter.
13643
- * Note, that providing `undefined` is treated as the value not being there.
13644
- * Read more here: https://pris.ly/d/null-undefined
13645
- * @param {EnumsFindManyArgs} args - Arguments to filter and select certain fields only.
13646
- * @example
13647
- * // Get all Enums
13648
- * const enums = await prisma.enums.findMany()
13649
- *
13650
- * // Get first 10 Enums
13651
- * const enums = await prisma.enums.findMany({ take: 10 })
13652
- *
13653
- * // Only select the `id`
13654
- * const enumsWithIdOnly = await prisma.enums.findMany({ select: { id: true } })
13655
- *
13656
- */
13657
- findMany<T extends EnumsFindManyArgs>(args?: SelectSubset<T, EnumsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findMany">>
13658
-
13659
- /**
13660
- * Create a Enums.
13661
- * @param {EnumsCreateArgs} args - Arguments to create a Enums.
13662
- * @example
13663
- * // Create one Enums
13664
- * const Enums = await prisma.enums.create({
13665
- * data: {
13666
- * // ... data to create a Enums
13667
- * }
13668
- * })
13669
- *
13670
- */
13671
- create<T extends EnumsCreateArgs>(args: SelectSubset<T, EnumsCreateArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "create">, never, ExtArgs>
13672
-
13673
- /**
13674
- * Create many Enums.
13675
- * @param {EnumsCreateManyArgs} args - Arguments to create many Enums.
13676
- * @example
13677
- * // Create many Enums
13678
- * const enums = await prisma.enums.createMany({
13679
- * data: [
13680
- * // ... provide data here
13681
- * ]
13682
- * })
13683
- *
13684
- */
13685
- createMany<T extends EnumsCreateManyArgs>(args?: SelectSubset<T, EnumsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13686
-
13687
- /**
13688
- * Create many Enums and returns the data saved in the database.
13689
- * @param {EnumsCreateManyAndReturnArgs} args - Arguments to create many Enums.
13690
- * @example
13691
- * // Create many Enums
13692
- * const enums = await prisma.enums.createManyAndReturn({
13693
- * data: [
13694
- * // ... provide data here
13695
- * ]
13696
- * })
13697
- *
13698
- * // Create many Enums and only return the `id`
13699
- * const enumsWithIdOnly = await prisma.enums.createManyAndReturn({
13700
- * select: { id: true },
13701
- * data: [
13702
- * // ... provide data here
13703
- * ]
13704
- * })
13705
- * Note, that providing `undefined` is treated as the value not being there.
13706
- * Read more here: https://pris.ly/d/null-undefined
13707
- *
13708
- */
13709
- createManyAndReturn<T extends EnumsCreateManyAndReturnArgs>(args?: SelectSubset<T, EnumsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "createManyAndReturn">>
12596
+ createManyAndReturn<T extends EnumsCreateManyAndReturnArgs>(args?: SelectSubset<T, EnumsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "createManyAndReturn">>
13710
12597
 
13711
12598
  /**
13712
12599
  * Delete a Enums.
@@ -14409,20 +13296,6 @@ export namespace Prisma {
14409
13296
  export type CannedResponseScalarFieldEnum = (typeof CannedResponseScalarFieldEnum)[keyof typeof CannedResponseScalarFieldEnum]
14410
13297
 
14411
13298
 
14412
- export const TicketScalarFieldEnum: {
14413
- id: 'id',
14414
- eventId: 'eventId',
14415
- type: 'type',
14416
- status: 'status',
14417
- fullName: 'fullName',
14418
- mail: 'mail',
14419
- created_at: 'created_at',
14420
- updated_at: 'updated_at'
14421
- };
14422
-
14423
- export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum]
14424
-
14425
-
14426
13299
  export const EnumsScalarFieldEnum: {
14427
13300
  id: 'id',
14428
13301
  templateStatus: 'templateStatus',
@@ -14557,63 +13430,35 @@ export namespace Prisma {
14557
13430
  /**
14558
13431
  * Reference to a field of type 'TagType'
14559
13432
  */
14560
- export type EnumTagTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TagType'>
14561
-
14562
-
14563
-
14564
- /**
14565
- * Reference to a field of type 'TagType[]'
14566
- */
14567
- export type ListEnumTagTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TagType[]'>
14568
-
14569
-
14570
-
14571
- /**
14572
- * Reference to a field of type 'Json'
14573
- */
14574
- export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
14575
-
14576
-
14577
-
14578
- /**
14579
- * Reference to a field of type 'MessageState'
14580
- */
14581
- export type EnumMessageStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageState'>
14582
-
14583
-
14584
-
14585
- /**
14586
- * Reference to a field of type 'MessageState[]'
14587
- */
14588
- export type ListEnumMessageStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageState[]'>
13433
+ export type EnumTagTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TagType'>
14589
13434
 
14590
13435
 
14591
13436
 
14592
13437
  /**
14593
- * Reference to a field of type 'TicketType'
13438
+ * Reference to a field of type 'TagType[]'
14594
13439
  */
14595
- export type EnumTicketTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketType'>
13440
+ export type ListEnumTagTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TagType[]'>
14596
13441
 
14597
13442
 
14598
13443
 
14599
13444
  /**
14600
- * Reference to a field of type 'TicketType[]'
13445
+ * Reference to a field of type 'Json'
14601
13446
  */
14602
- export type ListEnumTicketTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketType[]'>
13447
+ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
14603
13448
 
14604
13449
 
14605
13450
 
14606
13451
  /**
14607
- * Reference to a field of type 'TicketStatus'
13452
+ * Reference to a field of type 'MessageState'
14608
13453
  */
14609
- export type EnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus'>
13454
+ export type EnumMessageStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageState'>
14610
13455
 
14611
13456
 
14612
13457
 
14613
13458
  /**
14614
- * Reference to a field of type 'TicketStatus[]'
13459
+ * Reference to a field of type 'MessageState[]'
14615
13460
  */
14616
- export type ListEnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus[]'>
13461
+ export type ListEnumMessageStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MessageState[]'>
14617
13462
 
14618
13463
 
14619
13464
 
@@ -15182,7 +14027,6 @@ export namespace Prisma {
15182
14027
  tagConfirmed?: XOR<TagRelationFilter, TagWhereInput>
15183
14028
  supraEvent?: XOR<EventNullableRelationFilter, EventWhereInput> | null
15184
14029
  subEvents?: EventListRelationFilter
15185
- tickets?: TicketListRelationFilter
15186
14030
  }
15187
14031
 
15188
14032
  export type EventOrderByWithRelationInput = {
@@ -15201,7 +14045,6 @@ export namespace Prisma {
15201
14045
  tagConfirmed?: TagOrderByWithRelationInput
15202
14046
  supraEvent?: EventOrderByWithRelationInput
15203
14047
  subEvents?: EventOrderByRelationAggregateInput
15204
- tickets?: TicketOrderByRelationAggregateInput
15205
14048
  }
15206
14049
 
15207
14050
  export type EventWhereUniqueInput = Prisma.AtLeast<{
@@ -15223,7 +14066,6 @@ export namespace Prisma {
15223
14066
  tagConfirmed?: XOR<TagRelationFilter, TagWhereInput>
15224
14067
  supraEvent?: XOR<EventNullableRelationFilter, EventWhereInput> | null
15225
14068
  subEvents?: EventListRelationFilter
15226
- tickets?: TicketListRelationFilter
15227
14069
  }, "id" | "tagAssistedId" | "tagConfirmedId">
15228
14070
 
15229
14071
  export type EventOrderByWithAggregationInput = {
@@ -15430,76 +14272,6 @@ export namespace Prisma {
15430
14272
  updated_at?: DateTimeWithAggregatesFilter<"CannedResponse"> | Date | string
15431
14273
  }
15432
14274
 
15433
- export type TicketWhereInput = {
15434
- AND?: TicketWhereInput | TicketWhereInput[]
15435
- OR?: TicketWhereInput[]
15436
- NOT?: TicketWhereInput | TicketWhereInput[]
15437
- id?: StringFilter<"Ticket"> | string
15438
- eventId?: StringFilter<"Ticket"> | string
15439
- type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
15440
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
15441
- fullName?: StringFilter<"Ticket"> | string
15442
- mail?: StringFilter<"Ticket"> | string
15443
- created_at?: DateTimeFilter<"Ticket"> | Date | string
15444
- updated_at?: DateTimeFilter<"Ticket"> | Date | string
15445
- event?: XOR<EventRelationFilter, EventWhereInput>
15446
- }
15447
-
15448
- export type TicketOrderByWithRelationInput = {
15449
- id?: SortOrder
15450
- eventId?: SortOrder
15451
- type?: SortOrder
15452
- status?: SortOrder
15453
- fullName?: SortOrder
15454
- mail?: SortOrder
15455
- created_at?: SortOrder
15456
- updated_at?: SortOrder
15457
- event?: EventOrderByWithRelationInput
15458
- }
15459
-
15460
- export type TicketWhereUniqueInput = Prisma.AtLeast<{
15461
- id?: string
15462
- AND?: TicketWhereInput | TicketWhereInput[]
15463
- OR?: TicketWhereInput[]
15464
- NOT?: TicketWhereInput | TicketWhereInput[]
15465
- eventId?: StringFilter<"Ticket"> | string
15466
- type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
15467
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
15468
- fullName?: StringFilter<"Ticket"> | string
15469
- mail?: StringFilter<"Ticket"> | string
15470
- created_at?: DateTimeFilter<"Ticket"> | Date | string
15471
- updated_at?: DateTimeFilter<"Ticket"> | Date | string
15472
- event?: XOR<EventRelationFilter, EventWhereInput>
15473
- }, "id">
15474
-
15475
- export type TicketOrderByWithAggregationInput = {
15476
- id?: SortOrder
15477
- eventId?: SortOrder
15478
- type?: SortOrder
15479
- status?: SortOrder
15480
- fullName?: SortOrder
15481
- mail?: SortOrder
15482
- created_at?: SortOrder
15483
- updated_at?: SortOrder
15484
- _count?: TicketCountOrderByAggregateInput
15485
- _max?: TicketMaxOrderByAggregateInput
15486
- _min?: TicketMinOrderByAggregateInput
15487
- }
15488
-
15489
- export type TicketScalarWhereWithAggregatesInput = {
15490
- AND?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
15491
- OR?: TicketScalarWhereWithAggregatesInput[]
15492
- NOT?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
15493
- id?: StringWithAggregatesFilter<"Ticket"> | string
15494
- eventId?: StringWithAggregatesFilter<"Ticket"> | string
15495
- type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
15496
- status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
15497
- fullName?: StringWithAggregatesFilter<"Ticket"> | string
15498
- mail?: StringWithAggregatesFilter<"Ticket"> | string
15499
- created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
15500
- updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
15501
- }
15502
-
15503
14275
  export type EnumsWhereInput = {
15504
14276
  AND?: EnumsWhereInput | EnumsWhereInput[]
15505
14277
  OR?: EnumsWhereInput[]
@@ -16133,7 +14905,6 @@ export namespace Prisma {
16133
14905
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
16134
14906
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
16135
14907
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
16136
- tickets?: TicketCreateNestedManyWithoutEventInput
16137
14908
  }
16138
14909
 
16139
14910
  export type EventUncheckedCreateInput = {
@@ -16148,7 +14919,6 @@ export namespace Prisma {
16148
14919
  created_at?: Date | string
16149
14920
  updated_at?: Date | string
16150
14921
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
16151
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
16152
14922
  }
16153
14923
 
16154
14924
  export type EventUpdateInput = {
@@ -16163,7 +14933,6 @@ export namespace Prisma {
16163
14933
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
16164
14934
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
16165
14935
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
16166
- tickets?: TicketUpdateManyWithoutEventNestedInput
16167
14936
  }
16168
14937
 
16169
14938
  export type EventUncheckedUpdateInput = {
@@ -16178,7 +14947,6 @@ export namespace Prisma {
16178
14947
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
16179
14948
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16180
14949
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
16181
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
16182
14950
  }
16183
14951
 
16184
14952
  export type EventCreateManyInput = {
@@ -16401,82 +15169,6 @@ export namespace Prisma {
16401
15169
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16402
15170
  }
16403
15171
 
16404
- export type TicketCreateInput = {
16405
- id?: string
16406
- type: $Enums.TicketType
16407
- status: $Enums.TicketStatus
16408
- fullName: string
16409
- mail: string
16410
- created_at?: Date | string
16411
- updated_at?: Date | string
16412
- event: EventCreateNestedOneWithoutTicketsInput
16413
- }
16414
-
16415
- export type TicketUncheckedCreateInput = {
16416
- id?: string
16417
- eventId: string
16418
- type: $Enums.TicketType
16419
- status: $Enums.TicketStatus
16420
- fullName: string
16421
- mail: string
16422
- created_at?: Date | string
16423
- updated_at?: Date | string
16424
- }
16425
-
16426
- export type TicketUpdateInput = {
16427
- id?: StringFieldUpdateOperationsInput | string
16428
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
16429
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
16430
- fullName?: StringFieldUpdateOperationsInput | string
16431
- mail?: StringFieldUpdateOperationsInput | string
16432
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
16433
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16434
- event?: EventUpdateOneRequiredWithoutTicketsNestedInput
16435
- }
16436
-
16437
- export type TicketUncheckedUpdateInput = {
16438
- id?: StringFieldUpdateOperationsInput | string
16439
- eventId?: StringFieldUpdateOperationsInput | string
16440
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
16441
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
16442
- fullName?: StringFieldUpdateOperationsInput | string
16443
- mail?: StringFieldUpdateOperationsInput | string
16444
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
16445
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16446
- }
16447
-
16448
- export type TicketCreateManyInput = {
16449
- id?: string
16450
- eventId: string
16451
- type: $Enums.TicketType
16452
- status: $Enums.TicketStatus
16453
- fullName: string
16454
- mail: string
16455
- created_at?: Date | string
16456
- updated_at?: Date | string
16457
- }
16458
-
16459
- export type TicketUpdateManyMutationInput = {
16460
- id?: StringFieldUpdateOperationsInput | string
16461
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
16462
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
16463
- fullName?: StringFieldUpdateOperationsInput | string
16464
- mail?: StringFieldUpdateOperationsInput | string
16465
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
16466
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16467
- }
16468
-
16469
- export type TicketUncheckedUpdateManyInput = {
16470
- id?: StringFieldUpdateOperationsInput | string
16471
- eventId?: StringFieldUpdateOperationsInput | string
16472
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
16473
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
16474
- fullName?: StringFieldUpdateOperationsInput | string
16475
- mail?: StringFieldUpdateOperationsInput | string
16476
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
16477
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
16478
- }
16479
-
16480
15172
  export type EnumsCreateInput = {
16481
15173
  id: string
16482
15174
  templateStatus: $Enums.TemplateStatus
@@ -17089,20 +15781,10 @@ export namespace Prisma {
17089
15781
  none?: EventWhereInput
17090
15782
  }
17091
15783
 
17092
- export type TicketListRelationFilter = {
17093
- every?: TicketWhereInput
17094
- some?: TicketWhereInput
17095
- none?: TicketWhereInput
17096
- }
17097
-
17098
15784
  export type EventOrderByRelationAggregateInput = {
17099
15785
  _count?: SortOrder
17100
15786
  }
17101
15787
 
17102
- export type TicketOrderByRelationAggregateInput = {
17103
- _count?: SortOrder
17104
- }
17105
-
17106
15788
  export type EventCountOrderByAggregateInput = {
17107
15789
  id?: SortOrder
17108
15790
  name?: SortOrder
@@ -17282,78 +15964,6 @@ export namespace Prisma {
17282
15964
  updated_at?: SortOrder
17283
15965
  }
17284
15966
 
17285
- export type EnumTicketTypeFilter<$PrismaModel = never> = {
17286
- equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
17287
- in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
17288
- notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
17289
- not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
17290
- }
17291
-
17292
- export type EnumTicketStatusFilter<$PrismaModel = never> = {
17293
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
17294
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
17295
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
17296
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
17297
- }
17298
-
17299
- export type EventRelationFilter = {
17300
- is?: EventWhereInput
17301
- isNot?: EventWhereInput
17302
- }
17303
-
17304
- export type TicketCountOrderByAggregateInput = {
17305
- id?: SortOrder
17306
- eventId?: SortOrder
17307
- type?: SortOrder
17308
- status?: SortOrder
17309
- fullName?: SortOrder
17310
- mail?: SortOrder
17311
- created_at?: SortOrder
17312
- updated_at?: SortOrder
17313
- }
17314
-
17315
- export type TicketMaxOrderByAggregateInput = {
17316
- id?: SortOrder
17317
- eventId?: SortOrder
17318
- type?: SortOrder
17319
- status?: SortOrder
17320
- fullName?: SortOrder
17321
- mail?: SortOrder
17322
- created_at?: SortOrder
17323
- updated_at?: SortOrder
17324
- }
17325
-
17326
- export type TicketMinOrderByAggregateInput = {
17327
- id?: SortOrder
17328
- eventId?: SortOrder
17329
- type?: SortOrder
17330
- status?: SortOrder
17331
- fullName?: SortOrder
17332
- mail?: SortOrder
17333
- created_at?: SortOrder
17334
- updated_at?: SortOrder
17335
- }
17336
-
17337
- export type EnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
17338
- equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
17339
- in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
17340
- notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
17341
- not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
17342
- _count?: NestedIntFilter<$PrismaModel>
17343
- _min?: NestedEnumTicketTypeFilter<$PrismaModel>
17344
- _max?: NestedEnumTicketTypeFilter<$PrismaModel>
17345
- }
17346
-
17347
- export type EnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
17348
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
17349
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
17350
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
17351
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
17352
- _count?: NestedIntFilter<$PrismaModel>
17353
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
17354
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
17355
- }
17356
-
17357
15967
  export type EnumTemplateStatusFilter<$PrismaModel = never> = {
17358
15968
  equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
17359
15969
  in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
@@ -18175,13 +16785,6 @@ export namespace Prisma {
18175
16785
  connect?: EventWhereUniqueInput | EventWhereUniqueInput[]
18176
16786
  }
18177
16787
 
18178
- export type TicketCreateNestedManyWithoutEventInput = {
18179
- create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
18180
- connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
18181
- createMany?: TicketCreateManyEventInputEnvelope
18182
- connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18183
- }
18184
-
18185
16788
  export type EventUncheckedCreateNestedManyWithoutSupraEventInput = {
18186
16789
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
18187
16790
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -18189,13 +16792,6 @@ export namespace Prisma {
18189
16792
  connect?: EventWhereUniqueInput | EventWhereUniqueInput[]
18190
16793
  }
18191
16794
 
18192
- export type TicketUncheckedCreateNestedManyWithoutEventInput = {
18193
- create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
18194
- connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
18195
- createMany?: TicketCreateManyEventInputEnvelope
18196
- connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18197
- }
18198
-
18199
16795
  export type EventFolderUpdateOneWithoutEventsNestedInput = {
18200
16796
  create?: XOR<EventFolderCreateWithoutEventsInput, EventFolderUncheckedCreateWithoutEventsInput>
18201
16797
  connectOrCreate?: EventFolderCreateOrConnectWithoutEventsInput
@@ -18246,20 +16842,6 @@ export namespace Prisma {
18246
16842
  deleteMany?: EventScalarWhereInput | EventScalarWhereInput[]
18247
16843
  }
18248
16844
 
18249
- export type TicketUpdateManyWithoutEventNestedInput = {
18250
- create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
18251
- connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
18252
- upsert?: TicketUpsertWithWhereUniqueWithoutEventInput | TicketUpsertWithWhereUniqueWithoutEventInput[]
18253
- createMany?: TicketCreateManyEventInputEnvelope
18254
- set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18255
- disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18256
- delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18257
- connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18258
- update?: TicketUpdateWithWhereUniqueWithoutEventInput | TicketUpdateWithWhereUniqueWithoutEventInput[]
18259
- updateMany?: TicketUpdateManyWithWhereWithoutEventInput | TicketUpdateManyWithWhereWithoutEventInput[]
18260
- deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
18261
- }
18262
-
18263
16845
  export type EventUncheckedUpdateManyWithoutSupraEventNestedInput = {
18264
16846
  create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
18265
16847
  connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
@@ -18274,20 +16856,6 @@ export namespace Prisma {
18274
16856
  deleteMany?: EventScalarWhereInput | EventScalarWhereInput[]
18275
16857
  }
18276
16858
 
18277
- export type TicketUncheckedUpdateManyWithoutEventNestedInput = {
18278
- create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
18279
- connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
18280
- upsert?: TicketUpsertWithWhereUniqueWithoutEventInput | TicketUpsertWithWhereUniqueWithoutEventInput[]
18281
- createMany?: TicketCreateManyEventInputEnvelope
18282
- set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18283
- disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18284
- delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18285
- connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
18286
- update?: TicketUpdateWithWhereUniqueWithoutEventInput | TicketUpdateWithWhereUniqueWithoutEventInput[]
18287
- updateMany?: TicketUpdateManyWithWhereWithoutEventInput | TicketUpdateManyWithWhereWithoutEventInput[]
18288
- deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
18289
- }
18290
-
18291
16859
  export type EventCreateNestedManyWithoutFolderInput = {
18292
16860
  create?: XOR<EventCreateWithoutFolderInput, EventUncheckedCreateWithoutFolderInput> | EventCreateWithoutFolderInput[] | EventUncheckedCreateWithoutFolderInput[]
18293
16861
  connectOrCreate?: EventCreateOrConnectWithoutFolderInput | EventCreateOrConnectWithoutFolderInput[]
@@ -18348,28 +16916,6 @@ export namespace Prisma {
18348
16916
  update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutMessagesInput, ProfileUpdateWithoutMessagesInput>, ProfileUncheckedUpdateWithoutMessagesInput>
18349
16917
  }
18350
16918
 
18351
- export type EventCreateNestedOneWithoutTicketsInput = {
18352
- create?: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
18353
- connectOrCreate?: EventCreateOrConnectWithoutTicketsInput
18354
- connect?: EventWhereUniqueInput
18355
- }
18356
-
18357
- export type EnumTicketTypeFieldUpdateOperationsInput = {
18358
- set?: $Enums.TicketType
18359
- }
18360
-
18361
- export type EnumTicketStatusFieldUpdateOperationsInput = {
18362
- set?: $Enums.TicketStatus
18363
- }
18364
-
18365
- export type EventUpdateOneRequiredWithoutTicketsNestedInput = {
18366
- create?: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
18367
- connectOrCreate?: EventCreateOrConnectWithoutTicketsInput
18368
- upsert?: EventUpsertWithoutTicketsInput
18369
- connect?: EventWhereUniqueInput
18370
- update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketsInput, EventUpdateWithoutTicketsInput>, EventUncheckedUpdateWithoutTicketsInput>
18371
- }
18372
-
18373
16919
  export type EnumTemplateStatusFieldUpdateOperationsInput = {
18374
16920
  set?: $Enums.TemplateStatus
18375
16921
  }
@@ -18641,40 +17187,6 @@ export namespace Prisma {
18641
17187
  _max?: NestedEnumMessageStateFilter<$PrismaModel>
18642
17188
  }
18643
17189
 
18644
- export type NestedEnumTicketTypeFilter<$PrismaModel = never> = {
18645
- equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
18646
- in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
18647
- notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
18648
- not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
18649
- }
18650
-
18651
- export type NestedEnumTicketStatusFilter<$PrismaModel = never> = {
18652
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
18653
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
18654
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
18655
- not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
18656
- }
18657
-
18658
- export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
18659
- equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
18660
- in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
18661
- notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
18662
- not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
18663
- _count?: NestedIntFilter<$PrismaModel>
18664
- _min?: NestedEnumTicketTypeFilter<$PrismaModel>
18665
- _max?: NestedEnumTicketTypeFilter<$PrismaModel>
18666
- }
18667
-
18668
- export type NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
18669
- equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
18670
- in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
18671
- notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
18672
- not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
18673
- _count?: NestedIntFilter<$PrismaModel>
18674
- _min?: NestedEnumTicketStatusFilter<$PrismaModel>
18675
- _max?: NestedEnumTicketStatusFilter<$PrismaModel>
18676
- }
18677
-
18678
17190
  export type NestedEnumTemplateStatusFilter<$PrismaModel = never> = {
18679
17191
  equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
18680
17192
  in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
@@ -19676,7 +18188,6 @@ export namespace Prisma {
19676
18188
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
19677
18189
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
19678
18190
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
19679
- tickets?: TicketCreateNestedManyWithoutEventInput
19680
18191
  }
19681
18192
 
19682
18193
  export type EventUncheckedCreateWithoutTagAssistedInput = {
@@ -19690,7 +18201,6 @@ export namespace Prisma {
19690
18201
  created_at?: Date | string
19691
18202
  updated_at?: Date | string
19692
18203
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
19693
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
19694
18204
  }
19695
18205
 
19696
18206
  export type EventCreateOrConnectWithoutTagAssistedInput = {
@@ -19709,7 +18219,6 @@ export namespace Prisma {
19709
18219
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
19710
18220
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
19711
18221
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
19712
- tickets?: TicketCreateNestedManyWithoutEventInput
19713
18222
  }
19714
18223
 
19715
18224
  export type EventUncheckedCreateWithoutTagConfirmedInput = {
@@ -19723,7 +18232,6 @@ export namespace Prisma {
19723
18232
  created_at?: Date | string
19724
18233
  updated_at?: Date | string
19725
18234
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
19726
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
19727
18235
  }
19728
18236
 
19729
18237
  export type EventCreateOrConnectWithoutTagConfirmedInput = {
@@ -19901,7 +18409,6 @@ export namespace Prisma {
19901
18409
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
19902
18410
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
19903
18411
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
19904
- tickets?: TicketUpdateManyWithoutEventNestedInput
19905
18412
  }
19906
18413
 
19907
18414
  export type EventUncheckedUpdateWithoutTagAssistedInput = {
@@ -19915,7 +18422,6 @@ export namespace Prisma {
19915
18422
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19916
18423
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19917
18424
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
19918
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
19919
18425
  }
19920
18426
 
19921
18427
  export type EventUpsertWithoutTagConfirmedInput = {
@@ -19940,7 +18446,6 @@ export namespace Prisma {
19940
18446
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
19941
18447
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
19942
18448
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
19943
- tickets?: TicketUpdateManyWithoutEventNestedInput
19944
18449
  }
19945
18450
 
19946
18451
  export type EventUncheckedUpdateWithoutTagConfirmedInput = {
@@ -19954,7 +18459,6 @@ export namespace Prisma {
19954
18459
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
19955
18460
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
19956
18461
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
19957
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
19958
18462
  }
19959
18463
 
19960
18464
  export type AccountUpsertWithWhereUniqueWithoutTagsInput = {
@@ -20165,7 +18669,6 @@ export namespace Prisma {
20165
18669
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
20166
18670
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20167
18671
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20168
- tickets?: TicketCreateNestedManyWithoutEventInput
20169
18672
  }
20170
18673
 
20171
18674
  export type EventUncheckedCreateWithoutSubEventsInput = {
@@ -20179,7 +18682,6 @@ export namespace Prisma {
20179
18682
  supraEventId?: string | null
20180
18683
  created_at?: Date | string
20181
18684
  updated_at?: Date | string
20182
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
20183
18685
  }
20184
18686
 
20185
18687
  export type EventCreateOrConnectWithoutSubEventsInput = {
@@ -20198,7 +18700,6 @@ export namespace Prisma {
20198
18700
  tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
20199
18701
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20200
18702
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
20201
- tickets?: TicketCreateNestedManyWithoutEventInput
20202
18703
  }
20203
18704
 
20204
18705
  export type EventUncheckedCreateWithoutSupraEventInput = {
@@ -20212,7 +18713,6 @@ export namespace Prisma {
20212
18713
  created_at?: Date | string
20213
18714
  updated_at?: Date | string
20214
18715
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20215
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
20216
18716
  }
20217
18717
 
20218
18718
  export type EventCreateOrConnectWithoutSupraEventInput = {
@@ -20225,36 +18725,6 @@ export namespace Prisma {
20225
18725
  skipDuplicates?: boolean
20226
18726
  }
20227
18727
 
20228
- export type TicketCreateWithoutEventInput = {
20229
- id?: string
20230
- type: $Enums.TicketType
20231
- status: $Enums.TicketStatus
20232
- fullName: string
20233
- mail: string
20234
- created_at?: Date | string
20235
- updated_at?: Date | string
20236
- }
20237
-
20238
- export type TicketUncheckedCreateWithoutEventInput = {
20239
- id?: string
20240
- type: $Enums.TicketType
20241
- status: $Enums.TicketStatus
20242
- fullName: string
20243
- mail: string
20244
- created_at?: Date | string
20245
- updated_at?: Date | string
20246
- }
20247
-
20248
- export type TicketCreateOrConnectWithoutEventInput = {
20249
- where: TicketWhereUniqueInput
20250
- create: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput>
20251
- }
20252
-
20253
- export type TicketCreateManyEventInputEnvelope = {
20254
- data: TicketCreateManyEventInput | TicketCreateManyEventInput[]
20255
- skipDuplicates?: boolean
20256
- }
20257
-
20258
18728
  export type EventFolderUpsertWithoutEventsInput = {
20259
18729
  update: XOR<EventFolderUpdateWithoutEventsInput, EventFolderUncheckedUpdateWithoutEventsInput>
20260
18730
  create: XOR<EventFolderCreateWithoutEventsInput, EventFolderUncheckedCreateWithoutEventsInput>
@@ -20378,7 +18848,6 @@ export namespace Prisma {
20378
18848
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
20379
18849
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
20380
18850
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
20381
- tickets?: TicketUpdateManyWithoutEventNestedInput
20382
18851
  }
20383
18852
 
20384
18853
  export type EventUncheckedUpdateWithoutSubEventsInput = {
@@ -20392,7 +18861,6 @@ export namespace Prisma {
20392
18861
  supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
20393
18862
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20394
18863
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20395
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
20396
18864
  }
20397
18865
 
20398
18866
  export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
@@ -20427,36 +18895,6 @@ export namespace Prisma {
20427
18895
  updated_at?: DateTimeFilter<"Event"> | Date | string
20428
18896
  }
20429
18897
 
20430
- export type TicketUpsertWithWhereUniqueWithoutEventInput = {
20431
- where: TicketWhereUniqueInput
20432
- update: XOR<TicketUpdateWithoutEventInput, TicketUncheckedUpdateWithoutEventInput>
20433
- create: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput>
20434
- }
20435
-
20436
- export type TicketUpdateWithWhereUniqueWithoutEventInput = {
20437
- where: TicketWhereUniqueInput
20438
- data: XOR<TicketUpdateWithoutEventInput, TicketUncheckedUpdateWithoutEventInput>
20439
- }
20440
-
20441
- export type TicketUpdateManyWithWhereWithoutEventInput = {
20442
- where: TicketScalarWhereInput
20443
- data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
20444
- }
20445
-
20446
- export type TicketScalarWhereInput = {
20447
- AND?: TicketScalarWhereInput | TicketScalarWhereInput[]
20448
- OR?: TicketScalarWhereInput[]
20449
- NOT?: TicketScalarWhereInput | TicketScalarWhereInput[]
20450
- id?: StringFilter<"Ticket"> | string
20451
- eventId?: StringFilter<"Ticket"> | string
20452
- type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
20453
- status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
20454
- fullName?: StringFilter<"Ticket"> | string
20455
- mail?: StringFilter<"Ticket"> | string
20456
- created_at?: DateTimeFilter<"Ticket"> | Date | string
20457
- updated_at?: DateTimeFilter<"Ticket"> | Date | string
20458
- }
20459
-
20460
18898
  export type EventCreateWithoutFolderInput = {
20461
18899
  id?: string
20462
18900
  name: string
@@ -20468,7 +18906,6 @@ export namespace Prisma {
20468
18906
  tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20469
18907
  supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20470
18908
  subEvents?: EventCreateNestedManyWithoutSupraEventInput
20471
- tickets?: TicketCreateNestedManyWithoutEventInput
20472
18909
  }
20473
18910
 
20474
18911
  export type EventUncheckedCreateWithoutFolderInput = {
@@ -20482,7 +18919,6 @@ export namespace Prisma {
20482
18919
  created_at?: Date | string
20483
18920
  updated_at?: Date | string
20484
18921
  subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20485
- tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
20486
18922
  }
20487
18923
 
20488
18924
  export type EventCreateOrConnectWithoutFolderInput = {
@@ -20623,78 +19059,6 @@ export namespace Prisma {
20623
19059
  tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
20624
19060
  }
20625
19061
 
20626
- export type EventCreateWithoutTicketsInput = {
20627
- id?: string
20628
- name: string
20629
- date: Date | string
20630
- location: string
20631
- created_at?: Date | string
20632
- updated_at?: Date | string
20633
- folder?: EventFolderCreateNestedOneWithoutEventsInput
20634
- tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
20635
- tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
20636
- supraEvent?: EventCreateNestedOneWithoutSubEventsInput
20637
- subEvents?: EventCreateNestedManyWithoutSupraEventInput
20638
- }
20639
-
20640
- export type EventUncheckedCreateWithoutTicketsInput = {
20641
- id?: string
20642
- name: string
20643
- date: Date | string
20644
- location: string
20645
- folderId?: string | null
20646
- tagAssistedId: string
20647
- tagConfirmedId: string
20648
- supraEventId?: string | null
20649
- created_at?: Date | string
20650
- updated_at?: Date | string
20651
- subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
20652
- }
20653
-
20654
- export type EventCreateOrConnectWithoutTicketsInput = {
20655
- where: EventWhereUniqueInput
20656
- create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
20657
- }
20658
-
20659
- export type EventUpsertWithoutTicketsInput = {
20660
- update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
20661
- create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
20662
- where?: EventWhereInput
20663
- }
20664
-
20665
- export type EventUpdateToOneWithWhereWithoutTicketsInput = {
20666
- where?: EventWhereInput
20667
- data: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
20668
- }
20669
-
20670
- export type EventUpdateWithoutTicketsInput = {
20671
- id?: StringFieldUpdateOperationsInput | string
20672
- name?: StringFieldUpdateOperationsInput | string
20673
- date?: DateTimeFieldUpdateOperationsInput | Date | string
20674
- location?: StringFieldUpdateOperationsInput | string
20675
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20676
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20677
- folder?: EventFolderUpdateOneWithoutEventsNestedInput
20678
- tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
20679
- tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
20680
- supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
20681
- subEvents?: EventUpdateManyWithoutSupraEventNestedInput
20682
- }
20683
-
20684
- export type EventUncheckedUpdateWithoutTicketsInput = {
20685
- id?: StringFieldUpdateOperationsInput | string
20686
- name?: StringFieldUpdateOperationsInput | string
20687
- date?: DateTimeFieldUpdateOperationsInput | Date | string
20688
- location?: StringFieldUpdateOperationsInput | string
20689
- folderId?: NullableStringFieldUpdateOperationsInput | string | null
20690
- tagAssistedId?: StringFieldUpdateOperationsInput | string
20691
- tagConfirmedId?: StringFieldUpdateOperationsInput | string
20692
- supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
20693
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
20694
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
20695
- subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
20696
- }
20697
-
20698
19062
  export type CommentCreateManyAccountInput = {
20699
19063
  id?: string
20700
19064
  content: string
@@ -21362,16 +19726,6 @@ export namespace Prisma {
21362
19726
  updated_at?: Date | string
21363
19727
  }
21364
19728
 
21365
- export type TicketCreateManyEventInput = {
21366
- id?: string
21367
- type: $Enums.TicketType
21368
- status: $Enums.TicketStatus
21369
- fullName: string
21370
- mail: string
21371
- created_at?: Date | string
21372
- updated_at?: Date | string
21373
- }
21374
-
21375
19729
  export type EventUpdateWithoutSupraEventInput = {
21376
19730
  id?: StringFieldUpdateOperationsInput | string
21377
19731
  name?: StringFieldUpdateOperationsInput | string
@@ -21383,7 +19737,6 @@ export namespace Prisma {
21383
19737
  tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
21384
19738
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
21385
19739
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
21386
- tickets?: TicketUpdateManyWithoutEventNestedInput
21387
19740
  }
21388
19741
 
21389
19742
  export type EventUncheckedUpdateWithoutSupraEventInput = {
@@ -21397,7 +19750,6 @@ export namespace Prisma {
21397
19750
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21398
19751
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21399
19752
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
21400
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
21401
19753
  }
21402
19754
 
21403
19755
  export type EventUncheckedUpdateManyWithoutSupraEventInput = {
@@ -21412,36 +19764,6 @@ export namespace Prisma {
21412
19764
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21413
19765
  }
21414
19766
 
21415
- export type TicketUpdateWithoutEventInput = {
21416
- id?: StringFieldUpdateOperationsInput | string
21417
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21418
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21419
- fullName?: StringFieldUpdateOperationsInput | string
21420
- mail?: StringFieldUpdateOperationsInput | string
21421
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21422
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21423
- }
21424
-
21425
- export type TicketUncheckedUpdateWithoutEventInput = {
21426
- id?: StringFieldUpdateOperationsInput | string
21427
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21428
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21429
- fullName?: StringFieldUpdateOperationsInput | string
21430
- mail?: StringFieldUpdateOperationsInput | string
21431
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21432
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21433
- }
21434
-
21435
- export type TicketUncheckedUpdateManyWithoutEventInput = {
21436
- id?: StringFieldUpdateOperationsInput | string
21437
- type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
21438
- status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
21439
- fullName?: StringFieldUpdateOperationsInput | string
21440
- mail?: StringFieldUpdateOperationsInput | string
21441
- created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21442
- updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21443
- }
21444
-
21445
19767
  export type EventCreateManyFolderInput = {
21446
19768
  id?: string
21447
19769
  name: string
@@ -21465,7 +19787,6 @@ export namespace Prisma {
21465
19787
  tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
21466
19788
  supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
21467
19789
  subEvents?: EventUpdateManyWithoutSupraEventNestedInput
21468
- tickets?: TicketUpdateManyWithoutEventNestedInput
21469
19790
  }
21470
19791
 
21471
19792
  export type EventUncheckedUpdateWithoutFolderInput = {
@@ -21479,7 +19800,6 @@ export namespace Prisma {
21479
19800
  created_at?: DateTimeFieldUpdateOperationsInput | Date | string
21480
19801
  updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
21481
19802
  subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
21482
- tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
21483
19803
  }
21484
19804
 
21485
19805
  export type EventUncheckedUpdateManyWithoutFolderInput = {
@@ -21567,10 +19887,6 @@ export namespace Prisma {
21567
19887
  * @deprecated Use CannedResponseDefaultArgs instead
21568
19888
  */
21569
19889
  export type CannedResponseArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CannedResponseDefaultArgs<ExtArgs>
21570
- /**
21571
- * @deprecated Use TicketDefaultArgs instead
21572
- */
21573
- export type TicketArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TicketDefaultArgs<ExtArgs>
21574
19890
  /**
21575
19891
  * @deprecated Use EnumsDefaultArgs instead
21576
19892
  */