expo-backend-types 0.32.0 → 0.33.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.
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +64 -0
- package/dist/src/i18n/es.js +64 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/template.dto.d.ts +2 -2
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
- package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
- package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
- package/dist/src/ticket/dto/ticket.dto.js +29 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
- package/dist/src/ticket/exports.d.ts +10 -0
- package/dist/src/ticket/exports.js +27 -0
- package/dist/types/prisma-schema/edge.js +27 -9
- package/dist/types/prisma-schema/index-browser.js +24 -6
- package/dist/types/prisma-schema/index.d.ts +1808 -165
- package/dist/types/prisma-schema/index.js +27 -9
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +25 -0
- package/dist/types/prisma-schema/wasm.js +24 -6
- package/dist/types/schema.d.ts +530 -0
- package/package.json +5 -2
@@ -63,6 +63,11 @@ 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>
|
66
71
|
/**
|
67
72
|
* Model Enums
|
68
73
|
*
|
@@ -106,6 +111,24 @@ export const MessageState: {
|
|
106
111
|
export type MessageState = (typeof MessageState)[keyof typeof MessageState]
|
107
112
|
|
108
113
|
|
114
|
+
export const TicketType: {
|
115
|
+
PARTICIPANT: 'PARTICIPANT',
|
116
|
+
STAFF: 'STAFF',
|
117
|
+
SPECTATOR: 'SPECTATOR'
|
118
|
+
};
|
119
|
+
|
120
|
+
export type TicketType = (typeof TicketType)[keyof typeof TicketType]
|
121
|
+
|
122
|
+
|
123
|
+
export const TicketStatus: {
|
124
|
+
BOOKED: 'BOOKED',
|
125
|
+
PAID: 'PAID',
|
126
|
+
FREE: 'FREE'
|
127
|
+
};
|
128
|
+
|
129
|
+
export type TicketStatus = (typeof TicketStatus)[keyof typeof TicketStatus]
|
130
|
+
|
131
|
+
|
109
132
|
export const TemplateStatus: {
|
110
133
|
APPROVED: 'APPROVED',
|
111
134
|
PENDING: 'PENDING',
|
@@ -123,15 +146,6 @@ export const TemplateCategory: {
|
|
123
146
|
|
124
147
|
export type TemplateCategory = (typeof TemplateCategory)[keyof typeof TemplateCategory]
|
125
148
|
|
126
|
-
|
127
|
-
export const TicketType: {
|
128
|
-
PARTICIPANT: 'PARTICIPANT',
|
129
|
-
STAFF: 'STAFF',
|
130
|
-
SPECTATOR: 'SPECTATOR'
|
131
|
-
};
|
132
|
-
|
133
|
-
export type TicketType = (typeof TicketType)[keyof typeof TicketType]
|
134
|
-
|
135
149
|
}
|
136
150
|
|
137
151
|
export type Role = $Enums.Role
|
@@ -146,6 +160,14 @@ export type MessageState = $Enums.MessageState
|
|
146
160
|
|
147
161
|
export const MessageState: typeof $Enums.MessageState
|
148
162
|
|
163
|
+
export type TicketType = $Enums.TicketType
|
164
|
+
|
165
|
+
export const TicketType: typeof $Enums.TicketType
|
166
|
+
|
167
|
+
export type TicketStatus = $Enums.TicketStatus
|
168
|
+
|
169
|
+
export const TicketStatus: typeof $Enums.TicketStatus
|
170
|
+
|
149
171
|
export type TemplateStatus = $Enums.TemplateStatus
|
150
172
|
|
151
173
|
export const TemplateStatus: typeof $Enums.TemplateStatus
|
@@ -154,10 +176,6 @@ export type TemplateCategory = $Enums.TemplateCategory
|
|
154
176
|
|
155
177
|
export const TemplateCategory: typeof $Enums.TemplateCategory
|
156
178
|
|
157
|
-
export type TicketType = $Enums.TicketType
|
158
|
-
|
159
|
-
export const TicketType: typeof $Enums.TicketType
|
160
|
-
|
161
179
|
/**
|
162
180
|
* ## Prisma Client ʲˢ
|
163
181
|
*
|
@@ -381,6 +399,16 @@ export class PrismaClient<
|
|
381
399
|
*/
|
382
400
|
get cannedResponse(): Prisma.CannedResponseDelegate<ExtArgs>;
|
383
401
|
|
402
|
+
/**
|
403
|
+
* `prisma.ticket`: Exposes CRUD operations for the **Ticket** model.
|
404
|
+
* Example usage:
|
405
|
+
* ```ts
|
406
|
+
* // Fetch zero or more Tickets
|
407
|
+
* const tickets = await prisma.ticket.findMany()
|
408
|
+
* ```
|
409
|
+
*/
|
410
|
+
get ticket(): Prisma.TicketDelegate<ExtArgs>;
|
411
|
+
|
384
412
|
/**
|
385
413
|
* `prisma.enums`: Exposes CRUD operations for the **Enums** model.
|
386
414
|
* Example usage:
|
@@ -851,6 +879,7 @@ export namespace Prisma {
|
|
851
879
|
EventFolder: 'EventFolder',
|
852
880
|
Message: 'Message',
|
853
881
|
CannedResponse: 'CannedResponse',
|
882
|
+
Ticket: 'Ticket',
|
854
883
|
Enums: 'Enums',
|
855
884
|
EventTicket: 'EventTicket'
|
856
885
|
};
|
@@ -868,7 +897,7 @@ export namespace Prisma {
|
|
868
897
|
|
869
898
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
|
870
899
|
meta: {
|
871
|
-
modelProps: "account" | "profile" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "enums" | "eventTicket"
|
900
|
+
modelProps: "account" | "profile" | "location" | "comment" | "tag" | "tagGroup" | "event" | "eventFolder" | "message" | "cannedResponse" | "ticket" | "enums" | "eventTicket"
|
872
901
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
873
902
|
}
|
874
903
|
model: {
|
@@ -1572,6 +1601,76 @@ export namespace Prisma {
|
|
1572
1601
|
}
|
1573
1602
|
}
|
1574
1603
|
}
|
1604
|
+
Ticket: {
|
1605
|
+
payload: Prisma.$TicketPayload<ExtArgs>
|
1606
|
+
fields: Prisma.TicketFieldRefs
|
1607
|
+
operations: {
|
1608
|
+
findUnique: {
|
1609
|
+
args: Prisma.TicketFindUniqueArgs<ExtArgs>
|
1610
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload> | null
|
1611
|
+
}
|
1612
|
+
findUniqueOrThrow: {
|
1613
|
+
args: Prisma.TicketFindUniqueOrThrowArgs<ExtArgs>
|
1614
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1615
|
+
}
|
1616
|
+
findFirst: {
|
1617
|
+
args: Prisma.TicketFindFirstArgs<ExtArgs>
|
1618
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload> | null
|
1619
|
+
}
|
1620
|
+
findFirstOrThrow: {
|
1621
|
+
args: Prisma.TicketFindFirstOrThrowArgs<ExtArgs>
|
1622
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1623
|
+
}
|
1624
|
+
findMany: {
|
1625
|
+
args: Prisma.TicketFindManyArgs<ExtArgs>
|
1626
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>[]
|
1627
|
+
}
|
1628
|
+
create: {
|
1629
|
+
args: Prisma.TicketCreateArgs<ExtArgs>
|
1630
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1631
|
+
}
|
1632
|
+
createMany: {
|
1633
|
+
args: Prisma.TicketCreateManyArgs<ExtArgs>
|
1634
|
+
result: BatchPayload
|
1635
|
+
}
|
1636
|
+
createManyAndReturn: {
|
1637
|
+
args: Prisma.TicketCreateManyAndReturnArgs<ExtArgs>
|
1638
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>[]
|
1639
|
+
}
|
1640
|
+
delete: {
|
1641
|
+
args: Prisma.TicketDeleteArgs<ExtArgs>
|
1642
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1643
|
+
}
|
1644
|
+
update: {
|
1645
|
+
args: Prisma.TicketUpdateArgs<ExtArgs>
|
1646
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1647
|
+
}
|
1648
|
+
deleteMany: {
|
1649
|
+
args: Prisma.TicketDeleteManyArgs<ExtArgs>
|
1650
|
+
result: BatchPayload
|
1651
|
+
}
|
1652
|
+
updateMany: {
|
1653
|
+
args: Prisma.TicketUpdateManyArgs<ExtArgs>
|
1654
|
+
result: BatchPayload
|
1655
|
+
}
|
1656
|
+
upsert: {
|
1657
|
+
args: Prisma.TicketUpsertArgs<ExtArgs>
|
1658
|
+
result: $Utils.PayloadToResult<Prisma.$TicketPayload>
|
1659
|
+
}
|
1660
|
+
aggregate: {
|
1661
|
+
args: Prisma.TicketAggregateArgs<ExtArgs>
|
1662
|
+
result: $Utils.Optional<AggregateTicket>
|
1663
|
+
}
|
1664
|
+
groupBy: {
|
1665
|
+
args: Prisma.TicketGroupByArgs<ExtArgs>
|
1666
|
+
result: $Utils.Optional<TicketGroupByOutputType>[]
|
1667
|
+
}
|
1668
|
+
count: {
|
1669
|
+
args: Prisma.TicketCountArgs<ExtArgs>
|
1670
|
+
result: $Utils.Optional<TicketCountAggregateOutputType> | number
|
1671
|
+
}
|
1672
|
+
}
|
1673
|
+
}
|
1575
1674
|
Enums: {
|
1576
1675
|
payload: Prisma.$EnumsPayload<ExtArgs>
|
1577
1676
|
fields: Prisma.EnumsFieldRefs
|
@@ -2109,12 +2208,14 @@ export namespace Prisma {
|
|
2109
2208
|
*/
|
2110
2209
|
|
2111
2210
|
export type EventCountOutputType = {
|
2211
|
+
tickets: number
|
2112
2212
|
subEvents: number
|
2113
2213
|
tags: number
|
2114
2214
|
eventTickets: number
|
2115
2215
|
}
|
2116
2216
|
|
2117
2217
|
export type EventCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
2218
|
+
tickets?: boolean | EventCountOutputTypeCountTicketsArgs
|
2118
2219
|
subEvents?: boolean | EventCountOutputTypeCountSubEventsArgs
|
2119
2220
|
tags?: boolean | EventCountOutputTypeCountTagsArgs
|
2120
2221
|
eventTickets?: boolean | EventCountOutputTypeCountEventTicketsArgs
|
@@ -2131,6 +2232,13 @@ export namespace Prisma {
|
|
2131
2232
|
select?: EventCountOutputTypeSelect<ExtArgs> | null
|
2132
2233
|
}
|
2133
2234
|
|
2235
|
+
/**
|
2236
|
+
* EventCountOutputType without action
|
2237
|
+
*/
|
2238
|
+
export type EventCountOutputTypeCountTicketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
2239
|
+
where?: TicketWhereInput
|
2240
|
+
}
|
2241
|
+
|
2134
2242
|
/**
|
2135
2243
|
* EventCountOutputType without action
|
2136
2244
|
*/
|
@@ -8820,6 +8928,7 @@ export namespace Prisma {
|
|
8820
8928
|
tagAssisted?: boolean | TagDefaultArgs<ExtArgs>
|
8821
8929
|
tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
|
8822
8930
|
supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
|
8931
|
+
tickets?: boolean | Event$ticketsArgs<ExtArgs>
|
8823
8932
|
subEvents?: boolean | Event$subEventsArgs<ExtArgs>
|
8824
8933
|
tags?: boolean | Event$tagsArgs<ExtArgs>
|
8825
8934
|
eventTickets?: boolean | Event$eventTicketsArgs<ExtArgs>
|
@@ -8867,6 +8976,7 @@ export namespace Prisma {
|
|
8867
8976
|
tagAssisted?: boolean | TagDefaultArgs<ExtArgs>
|
8868
8977
|
tagConfirmed?: boolean | TagDefaultArgs<ExtArgs>
|
8869
8978
|
supraEvent?: boolean | Event$supraEventArgs<ExtArgs>
|
8979
|
+
tickets?: boolean | Event$ticketsArgs<ExtArgs>
|
8870
8980
|
subEvents?: boolean | Event$subEventsArgs<ExtArgs>
|
8871
8981
|
tags?: boolean | Event$tagsArgs<ExtArgs>
|
8872
8982
|
eventTickets?: boolean | Event$eventTicketsArgs<ExtArgs>
|
@@ -8886,6 +8996,7 @@ export namespace Prisma {
|
|
8886
8996
|
tagAssisted: Prisma.$TagPayload<ExtArgs>
|
8887
8997
|
tagConfirmed: Prisma.$TagPayload<ExtArgs>
|
8888
8998
|
supraEvent: Prisma.$EventPayload<ExtArgs> | null
|
8999
|
+
tickets: Prisma.$TicketPayload<ExtArgs>[]
|
8889
9000
|
subEvents: Prisma.$EventPayload<ExtArgs>[]
|
8890
9001
|
tags: Prisma.$TagPayload<ExtArgs>[]
|
8891
9002
|
eventTickets: Prisma.$EventTicketPayload<ExtArgs>[]
|
@@ -9272,6 +9383,7 @@ export namespace Prisma {
|
|
9272
9383
|
tagAssisted<T extends TagDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TagDefaultArgs<ExtArgs>>): Prisma__TagClient<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
9273
9384
|
tagConfirmed<T extends TagDefaultArgs<ExtArgs> = {}>(args?: Subset<T, TagDefaultArgs<ExtArgs>>): Prisma__TagClient<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
9274
9385
|
supraEvent<T extends Event$supraEventArgs<ExtArgs> = {}>(args?: Subset<T, Event$supraEventArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
|
9386
|
+
tickets<T extends Event$ticketsArgs<ExtArgs> = {}>(args?: Subset<T, Event$ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany"> | Null>
|
9275
9387
|
subEvents<T extends Event$subEventsArgs<ExtArgs> = {}>(args?: Subset<T, Event$subEventsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany"> | Null>
|
9276
9388
|
tags<T extends Event$tagsArgs<ExtArgs> = {}>(args?: Subset<T, Event$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findMany"> | Null>
|
9277
9389
|
eventTickets<T extends Event$eventTicketsArgs<ExtArgs> = {}>(args?: Subset<T, Event$eventTicketsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventTicketPayload<ExtArgs>, T, "findMany"> | Null>
|
@@ -9664,6 +9776,26 @@ export namespace Prisma {
|
|
9664
9776
|
where?: EventWhereInput
|
9665
9777
|
}
|
9666
9778
|
|
9779
|
+
/**
|
9780
|
+
* Event.tickets
|
9781
|
+
*/
|
9782
|
+
export type Event$ticketsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
9783
|
+
/**
|
9784
|
+
* Select specific fields to fetch from the Ticket
|
9785
|
+
*/
|
9786
|
+
select?: TicketSelect<ExtArgs> | null
|
9787
|
+
/**
|
9788
|
+
* Choose, which related nodes to fetch as well
|
9789
|
+
*/
|
9790
|
+
include?: TicketInclude<ExtArgs> | null
|
9791
|
+
where?: TicketWhereInput
|
9792
|
+
orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
|
9793
|
+
cursor?: TicketWhereUniqueInput
|
9794
|
+
take?: number
|
9795
|
+
skip?: number
|
9796
|
+
distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
|
9797
|
+
}
|
9798
|
+
|
9667
9799
|
/**
|
9668
9800
|
* Event.subEvents
|
9669
9801
|
*/
|
@@ -12519,205 +12651,1174 @@ export namespace Prisma {
|
|
12519
12651
|
|
12520
12652
|
|
12521
12653
|
/**
|
12522
|
-
* Model
|
12654
|
+
* Model Ticket
|
12523
12655
|
*/
|
12524
12656
|
|
12525
|
-
export type
|
12526
|
-
_count:
|
12527
|
-
_min:
|
12528
|
-
_max:
|
12657
|
+
export type AggregateTicket = {
|
12658
|
+
_count: TicketCountAggregateOutputType | null
|
12659
|
+
_min: TicketMinAggregateOutputType | null
|
12660
|
+
_max: TicketMaxAggregateOutputType | null
|
12529
12661
|
}
|
12530
12662
|
|
12531
|
-
export type
|
12663
|
+
export type TicketMinAggregateOutputType = {
|
12532
12664
|
id: string | null
|
12533
|
-
|
12534
|
-
|
12665
|
+
eventId: string | null
|
12666
|
+
type: $Enums.TicketType | null
|
12667
|
+
status: $Enums.TicketStatus | null
|
12668
|
+
fullName: string | null
|
12669
|
+
mail: string | null
|
12670
|
+
created_at: Date | null
|
12671
|
+
updated_at: Date | null
|
12535
12672
|
}
|
12536
12673
|
|
12537
|
-
export type
|
12674
|
+
export type TicketMaxAggregateOutputType = {
|
12538
12675
|
id: string | null
|
12539
|
-
|
12540
|
-
|
12676
|
+
eventId: string | null
|
12677
|
+
type: $Enums.TicketType | null
|
12678
|
+
status: $Enums.TicketStatus | null
|
12679
|
+
fullName: string | null
|
12680
|
+
mail: string | null
|
12681
|
+
created_at: Date | null
|
12682
|
+
updated_at: Date | null
|
12541
12683
|
}
|
12542
12684
|
|
12543
|
-
export type
|
12685
|
+
export type TicketCountAggregateOutputType = {
|
12544
12686
|
id: number
|
12545
|
-
|
12546
|
-
|
12687
|
+
eventId: number
|
12688
|
+
type: number
|
12689
|
+
status: number
|
12690
|
+
fullName: number
|
12691
|
+
mail: number
|
12692
|
+
created_at: number
|
12693
|
+
updated_at: number
|
12547
12694
|
_all: number
|
12548
12695
|
}
|
12549
12696
|
|
12550
12697
|
|
12551
|
-
export type
|
12698
|
+
export type TicketMinAggregateInputType = {
|
12552
12699
|
id?: true
|
12553
|
-
|
12554
|
-
|
12700
|
+
eventId?: true
|
12701
|
+
type?: true
|
12702
|
+
status?: true
|
12703
|
+
fullName?: true
|
12704
|
+
mail?: true
|
12705
|
+
created_at?: true
|
12706
|
+
updated_at?: true
|
12555
12707
|
}
|
12556
12708
|
|
12557
|
-
export type
|
12709
|
+
export type TicketMaxAggregateInputType = {
|
12558
12710
|
id?: true
|
12559
|
-
|
12560
|
-
|
12711
|
+
eventId?: true
|
12712
|
+
type?: true
|
12713
|
+
status?: true
|
12714
|
+
fullName?: true
|
12715
|
+
mail?: true
|
12716
|
+
created_at?: true
|
12717
|
+
updated_at?: true
|
12561
12718
|
}
|
12562
12719
|
|
12563
|
-
export type
|
12720
|
+
export type TicketCountAggregateInputType = {
|
12564
12721
|
id?: true
|
12565
|
-
|
12566
|
-
|
12722
|
+
eventId?: true
|
12723
|
+
type?: true
|
12724
|
+
status?: true
|
12725
|
+
fullName?: true
|
12726
|
+
mail?: true
|
12727
|
+
created_at?: true
|
12728
|
+
updated_at?: true
|
12567
12729
|
_all?: true
|
12568
12730
|
}
|
12569
12731
|
|
12570
|
-
export type
|
12732
|
+
export type TicketAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12571
12733
|
/**
|
12572
|
-
* Filter which
|
12734
|
+
* Filter which Ticket to aggregate.
|
12573
12735
|
*/
|
12574
|
-
where?:
|
12736
|
+
where?: TicketWhereInput
|
12575
12737
|
/**
|
12576
12738
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
12577
12739
|
*
|
12578
|
-
* Determine the order of
|
12740
|
+
* Determine the order of Tickets to fetch.
|
12579
12741
|
*/
|
12580
|
-
orderBy?:
|
12742
|
+
orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
|
12581
12743
|
/**
|
12582
12744
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
12583
12745
|
*
|
12584
12746
|
* Sets the start position
|
12585
12747
|
*/
|
12586
|
-
cursor?:
|
12748
|
+
cursor?: TicketWhereUniqueInput
|
12587
12749
|
/**
|
12588
12750
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
12589
12751
|
*
|
12590
|
-
* Take `±n`
|
12752
|
+
* Take `±n` Tickets from the position of the cursor.
|
12591
12753
|
*/
|
12592
12754
|
take?: number
|
12593
12755
|
/**
|
12594
12756
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
12595
12757
|
*
|
12596
|
-
* Skip the first `n`
|
12758
|
+
* Skip the first `n` Tickets.
|
12597
12759
|
*/
|
12598
12760
|
skip?: number
|
12599
12761
|
/**
|
12600
12762
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12601
12763
|
*
|
12602
|
-
* Count returned
|
12764
|
+
* Count returned Tickets
|
12603
12765
|
**/
|
12604
|
-
_count?: true |
|
12766
|
+
_count?: true | TicketCountAggregateInputType
|
12605
12767
|
/**
|
12606
12768
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12607
12769
|
*
|
12608
12770
|
* Select which fields to find the minimum value
|
12609
12771
|
**/
|
12610
|
-
_min?:
|
12772
|
+
_min?: TicketMinAggregateInputType
|
12611
12773
|
/**
|
12612
12774
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12613
12775
|
*
|
12614
12776
|
* Select which fields to find the maximum value
|
12615
12777
|
**/
|
12616
|
-
_max?:
|
12778
|
+
_max?: TicketMaxAggregateInputType
|
12617
12779
|
}
|
12618
12780
|
|
12619
|
-
export type
|
12620
|
-
[P in keyof T & keyof
|
12781
|
+
export type GetTicketAggregateType<T extends TicketAggregateArgs> = {
|
12782
|
+
[P in keyof T & keyof AggregateTicket]: P extends '_count' | 'count'
|
12621
12783
|
? T[P] extends true
|
12622
12784
|
? number
|
12623
|
-
: GetScalarType<T[P],
|
12624
|
-
: GetScalarType<T[P],
|
12785
|
+
: GetScalarType<T[P], AggregateTicket[P]>
|
12786
|
+
: GetScalarType<T[P], AggregateTicket[P]>
|
12625
12787
|
}
|
12626
12788
|
|
12627
12789
|
|
12628
12790
|
|
12629
12791
|
|
12630
|
-
export type
|
12631
|
-
where?:
|
12632
|
-
orderBy?:
|
12633
|
-
by:
|
12634
|
-
having?:
|
12792
|
+
export type TicketGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12793
|
+
where?: TicketWhereInput
|
12794
|
+
orderBy?: TicketOrderByWithAggregationInput | TicketOrderByWithAggregationInput[]
|
12795
|
+
by: TicketScalarFieldEnum[] | TicketScalarFieldEnum
|
12796
|
+
having?: TicketScalarWhereWithAggregatesInput
|
12635
12797
|
take?: number
|
12636
12798
|
skip?: number
|
12637
|
-
_count?:
|
12638
|
-
_min?:
|
12639
|
-
_max?:
|
12799
|
+
_count?: TicketCountAggregateInputType | true
|
12800
|
+
_min?: TicketMinAggregateInputType
|
12801
|
+
_max?: TicketMaxAggregateInputType
|
12640
12802
|
}
|
12641
12803
|
|
12642
|
-
export type
|
12804
|
+
export type TicketGroupByOutputType = {
|
12643
12805
|
id: string
|
12644
|
-
|
12645
|
-
|
12646
|
-
|
12647
|
-
|
12648
|
-
|
12806
|
+
eventId: string
|
12807
|
+
type: $Enums.TicketType
|
12808
|
+
status: $Enums.TicketStatus
|
12809
|
+
fullName: string
|
12810
|
+
mail: string
|
12811
|
+
created_at: Date
|
12812
|
+
updated_at: Date
|
12813
|
+
_count: TicketCountAggregateOutputType | null
|
12814
|
+
_min: TicketMinAggregateOutputType | null
|
12815
|
+
_max: TicketMaxAggregateOutputType | null
|
12649
12816
|
}
|
12650
12817
|
|
12651
|
-
type
|
12818
|
+
type GetTicketGroupByPayload<T extends TicketGroupByArgs> = Prisma.PrismaPromise<
|
12652
12819
|
Array<
|
12653
|
-
PickEnumerable<
|
12820
|
+
PickEnumerable<TicketGroupByOutputType, T['by']> &
|
12654
12821
|
{
|
12655
|
-
[P in ((keyof T) & (keyof
|
12822
|
+
[P in ((keyof T) & (keyof TicketGroupByOutputType))]: P extends '_count'
|
12656
12823
|
? T[P] extends boolean
|
12657
12824
|
? number
|
12658
|
-
: GetScalarType<T[P],
|
12659
|
-
: GetScalarType<T[P],
|
12825
|
+
: GetScalarType<T[P], TicketGroupByOutputType[P]>
|
12826
|
+
: GetScalarType<T[P], TicketGroupByOutputType[P]>
|
12660
12827
|
}
|
12661
12828
|
>
|
12662
12829
|
>
|
12663
12830
|
|
12664
12831
|
|
12665
|
-
export type
|
12832
|
+
export type TicketSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
12666
12833
|
id?: boolean
|
12667
|
-
|
12668
|
-
|
12669
|
-
|
12834
|
+
eventId?: boolean
|
12835
|
+
type?: boolean
|
12836
|
+
status?: boolean
|
12837
|
+
fullName?: boolean
|
12838
|
+
mail?: boolean
|
12839
|
+
created_at?: boolean
|
12840
|
+
updated_at?: boolean
|
12841
|
+
event?: boolean | EventDefaultArgs<ExtArgs>
|
12842
|
+
}, ExtArgs["result"]["ticket"]>
|
12670
12843
|
|
12671
|
-
export type
|
12844
|
+
export type TicketSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
12672
12845
|
id?: boolean
|
12673
|
-
|
12674
|
-
|
12675
|
-
|
12846
|
+
eventId?: boolean
|
12847
|
+
type?: boolean
|
12848
|
+
status?: boolean
|
12849
|
+
fullName?: boolean
|
12850
|
+
mail?: boolean
|
12851
|
+
created_at?: boolean
|
12852
|
+
updated_at?: boolean
|
12853
|
+
event?: boolean | EventDefaultArgs<ExtArgs>
|
12854
|
+
}, ExtArgs["result"]["ticket"]>
|
12676
12855
|
|
12677
|
-
export type
|
12856
|
+
export type TicketSelectScalar = {
|
12678
12857
|
id?: boolean
|
12679
|
-
|
12680
|
-
|
12858
|
+
eventId?: boolean
|
12859
|
+
type?: boolean
|
12860
|
+
status?: boolean
|
12861
|
+
fullName?: boolean
|
12862
|
+
mail?: boolean
|
12863
|
+
created_at?: boolean
|
12864
|
+
updated_at?: boolean
|
12681
12865
|
}
|
12682
12866
|
|
12867
|
+
export type TicketInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12868
|
+
event?: boolean | EventDefaultArgs<ExtArgs>
|
12869
|
+
}
|
12870
|
+
export type TicketIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12871
|
+
event?: boolean | EventDefaultArgs<ExtArgs>
|
12872
|
+
}
|
12683
12873
|
|
12684
|
-
export type $
|
12685
|
-
name: "
|
12686
|
-
objects: {
|
12874
|
+
export type $TicketPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12875
|
+
name: "Ticket"
|
12876
|
+
objects: {
|
12877
|
+
event: Prisma.$EventPayload<ExtArgs>
|
12878
|
+
}
|
12687
12879
|
scalars: $Extensions.GetPayloadResult<{
|
12688
12880
|
id: string
|
12689
|
-
|
12690
|
-
|
12691
|
-
|
12881
|
+
eventId: string
|
12882
|
+
type: $Enums.TicketType
|
12883
|
+
status: $Enums.TicketStatus
|
12884
|
+
fullName: string
|
12885
|
+
mail: string
|
12886
|
+
created_at: Date
|
12887
|
+
updated_at: Date
|
12888
|
+
}, ExtArgs["result"]["ticket"]>
|
12692
12889
|
composites: {}
|
12693
12890
|
}
|
12694
12891
|
|
12695
|
-
type
|
12892
|
+
type TicketGetPayload<S extends boolean | null | undefined | TicketDefaultArgs> = $Result.GetResult<Prisma.$TicketPayload, S>
|
12696
12893
|
|
12697
|
-
type
|
12698
|
-
Omit<
|
12699
|
-
select?:
|
12894
|
+
type TicketCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
12895
|
+
Omit<TicketFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
12896
|
+
select?: TicketCountAggregateInputType | true
|
12700
12897
|
}
|
12701
12898
|
|
12702
|
-
export interface
|
12703
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['
|
12899
|
+
export interface TicketDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
12900
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Ticket'], meta: { name: 'Ticket' } }
|
12704
12901
|
/**
|
12705
|
-
* Find zero or one
|
12706
|
-
* @param {
|
12902
|
+
* Find zero or one Ticket that matches the filter.
|
12903
|
+
* @param {TicketFindUniqueArgs} args - Arguments to find a Ticket
|
12707
12904
|
* @example
|
12708
|
-
* // Get one
|
12709
|
-
* const
|
12905
|
+
* // Get one Ticket
|
12906
|
+
* const ticket = await prisma.ticket.findUnique({
|
12710
12907
|
* where: {
|
12711
12908
|
* // ... provide filter here
|
12712
12909
|
* }
|
12713
12910
|
* })
|
12714
12911
|
*/
|
12715
|
-
findUnique<T extends
|
12912
|
+
findUnique<T extends TicketFindUniqueArgs>(args: SelectSubset<T, TicketFindUniqueArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
12716
12913
|
|
12717
12914
|
/**
|
12718
|
-
* Find one
|
12915
|
+
* Find one Ticket that matches the filter or throw an error with `error.code='P2025'`
|
12719
12916
|
* if no matches were found.
|
12720
|
-
* @param {
|
12917
|
+
* @param {TicketFindUniqueOrThrowArgs} args - Arguments to find a Ticket
|
12918
|
+
* @example
|
12919
|
+
* // Get one Ticket
|
12920
|
+
* const ticket = await prisma.ticket.findUniqueOrThrow({
|
12921
|
+
* where: {
|
12922
|
+
* // ... provide filter here
|
12923
|
+
* }
|
12924
|
+
* })
|
12925
|
+
*/
|
12926
|
+
findUniqueOrThrow<T extends TicketFindUniqueOrThrowArgs>(args: SelectSubset<T, TicketFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
12927
|
+
|
12928
|
+
/**
|
12929
|
+
* Find the first Ticket that matches the filter.
|
12930
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
12931
|
+
* Read more here: https://pris.ly/d/null-undefined
|
12932
|
+
* @param {TicketFindFirstArgs} args - Arguments to find a Ticket
|
12933
|
+
* @example
|
12934
|
+
* // Get one Ticket
|
12935
|
+
* const ticket = await prisma.ticket.findFirst({
|
12936
|
+
* where: {
|
12937
|
+
* // ... provide filter here
|
12938
|
+
* }
|
12939
|
+
* })
|
12940
|
+
*/
|
12941
|
+
findFirst<T extends TicketFindFirstArgs>(args?: SelectSubset<T, TicketFindFirstArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
12942
|
+
|
12943
|
+
/**
|
12944
|
+
* Find the first Ticket that matches the filter or
|
12945
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
12946
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
12947
|
+
* Read more here: https://pris.ly/d/null-undefined
|
12948
|
+
* @param {TicketFindFirstOrThrowArgs} args - Arguments to find a Ticket
|
12949
|
+
* @example
|
12950
|
+
* // Get one Ticket
|
12951
|
+
* const ticket = await prisma.ticket.findFirstOrThrow({
|
12952
|
+
* where: {
|
12953
|
+
* // ... provide filter here
|
12954
|
+
* }
|
12955
|
+
* })
|
12956
|
+
*/
|
12957
|
+
findFirstOrThrow<T extends TicketFindFirstOrThrowArgs>(args?: SelectSubset<T, TicketFindFirstOrThrowArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
12958
|
+
|
12959
|
+
/**
|
12960
|
+
* Find zero or more Tickets that matches the filter.
|
12961
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
12962
|
+
* Read more here: https://pris.ly/d/null-undefined
|
12963
|
+
* @param {TicketFindManyArgs} args - Arguments to filter and select certain fields only.
|
12964
|
+
* @example
|
12965
|
+
* // Get all Tickets
|
12966
|
+
* const tickets = await prisma.ticket.findMany()
|
12967
|
+
*
|
12968
|
+
* // Get first 10 Tickets
|
12969
|
+
* const tickets = await prisma.ticket.findMany({ take: 10 })
|
12970
|
+
*
|
12971
|
+
* // Only select the `id`
|
12972
|
+
* const ticketWithIdOnly = await prisma.ticket.findMany({ select: { id: true } })
|
12973
|
+
*
|
12974
|
+
*/
|
12975
|
+
findMany<T extends TicketFindManyArgs>(args?: SelectSubset<T, TicketFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "findMany">>
|
12976
|
+
|
12977
|
+
/**
|
12978
|
+
* Create a Ticket.
|
12979
|
+
* @param {TicketCreateArgs} args - Arguments to create a Ticket.
|
12980
|
+
* @example
|
12981
|
+
* // Create one Ticket
|
12982
|
+
* const Ticket = await prisma.ticket.create({
|
12983
|
+
* data: {
|
12984
|
+
* // ... data to create a Ticket
|
12985
|
+
* }
|
12986
|
+
* })
|
12987
|
+
*
|
12988
|
+
*/
|
12989
|
+
create<T extends TicketCreateArgs>(args: SelectSubset<T, TicketCreateArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
12990
|
+
|
12991
|
+
/**
|
12992
|
+
* Create many Tickets.
|
12993
|
+
* @param {TicketCreateManyArgs} args - Arguments to create many Tickets.
|
12994
|
+
* @example
|
12995
|
+
* // Create many Tickets
|
12996
|
+
* const ticket = await prisma.ticket.createMany({
|
12997
|
+
* data: [
|
12998
|
+
* // ... provide data here
|
12999
|
+
* ]
|
13000
|
+
* })
|
13001
|
+
*
|
13002
|
+
*/
|
13003
|
+
createMany<T extends TicketCreateManyArgs>(args?: SelectSubset<T, TicketCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13004
|
+
|
13005
|
+
/**
|
13006
|
+
* Create many Tickets and returns the data saved in the database.
|
13007
|
+
* @param {TicketCreateManyAndReturnArgs} args - Arguments to create many Tickets.
|
13008
|
+
* @example
|
13009
|
+
* // Create many Tickets
|
13010
|
+
* const ticket = await prisma.ticket.createManyAndReturn({
|
13011
|
+
* data: [
|
13012
|
+
* // ... provide data here
|
13013
|
+
* ]
|
13014
|
+
* })
|
13015
|
+
*
|
13016
|
+
* // Create many Tickets and only return the `id`
|
13017
|
+
* const ticketWithIdOnly = await prisma.ticket.createManyAndReturn({
|
13018
|
+
* select: { id: true },
|
13019
|
+
* data: [
|
13020
|
+
* // ... provide data here
|
13021
|
+
* ]
|
13022
|
+
* })
|
13023
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13024
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13025
|
+
*
|
13026
|
+
*/
|
13027
|
+
createManyAndReturn<T extends TicketCreateManyAndReturnArgs>(args?: SelectSubset<T, TicketCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "createManyAndReturn">>
|
13028
|
+
|
13029
|
+
/**
|
13030
|
+
* Delete a Ticket.
|
13031
|
+
* @param {TicketDeleteArgs} args - Arguments to delete one Ticket.
|
13032
|
+
* @example
|
13033
|
+
* // Delete one Ticket
|
13034
|
+
* const Ticket = await prisma.ticket.delete({
|
13035
|
+
* where: {
|
13036
|
+
* // ... filter to delete one Ticket
|
13037
|
+
* }
|
13038
|
+
* })
|
13039
|
+
*
|
13040
|
+
*/
|
13041
|
+
delete<T extends TicketDeleteArgs>(args: SelectSubset<T, TicketDeleteArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
13042
|
+
|
13043
|
+
/**
|
13044
|
+
* Update one Ticket.
|
13045
|
+
* @param {TicketUpdateArgs} args - Arguments to update one Ticket.
|
13046
|
+
* @example
|
13047
|
+
* // Update one Ticket
|
13048
|
+
* const ticket = await prisma.ticket.update({
|
13049
|
+
* where: {
|
13050
|
+
* // ... provide filter here
|
13051
|
+
* },
|
13052
|
+
* data: {
|
13053
|
+
* // ... provide data here
|
13054
|
+
* }
|
13055
|
+
* })
|
13056
|
+
*
|
13057
|
+
*/
|
13058
|
+
update<T extends TicketUpdateArgs>(args: SelectSubset<T, TicketUpdateArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
13059
|
+
|
13060
|
+
/**
|
13061
|
+
* Delete zero or more Tickets.
|
13062
|
+
* @param {TicketDeleteManyArgs} args - Arguments to filter Tickets to delete.
|
13063
|
+
* @example
|
13064
|
+
* // Delete a few Tickets
|
13065
|
+
* const { count } = await prisma.ticket.deleteMany({
|
13066
|
+
* where: {
|
13067
|
+
* // ... provide filter here
|
13068
|
+
* }
|
13069
|
+
* })
|
13070
|
+
*
|
13071
|
+
*/
|
13072
|
+
deleteMany<T extends TicketDeleteManyArgs>(args?: SelectSubset<T, TicketDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13073
|
+
|
13074
|
+
/**
|
13075
|
+
* Update zero or more Tickets.
|
13076
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13077
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13078
|
+
* @param {TicketUpdateManyArgs} args - Arguments to update one or more rows.
|
13079
|
+
* @example
|
13080
|
+
* // Update many Tickets
|
13081
|
+
* const ticket = await prisma.ticket.updateMany({
|
13082
|
+
* where: {
|
13083
|
+
* // ... provide filter here
|
13084
|
+
* },
|
13085
|
+
* data: {
|
13086
|
+
* // ... provide data here
|
13087
|
+
* }
|
13088
|
+
* })
|
13089
|
+
*
|
13090
|
+
*/
|
13091
|
+
updateMany<T extends TicketUpdateManyArgs>(args: SelectSubset<T, TicketUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13092
|
+
|
13093
|
+
/**
|
13094
|
+
* Create or update one Ticket.
|
13095
|
+
* @param {TicketUpsertArgs} args - Arguments to update or create a Ticket.
|
13096
|
+
* @example
|
13097
|
+
* // Update or create a Ticket
|
13098
|
+
* const ticket = await prisma.ticket.upsert({
|
13099
|
+
* create: {
|
13100
|
+
* // ... data to create a Ticket
|
13101
|
+
* },
|
13102
|
+
* update: {
|
13103
|
+
* // ... in case it already exists, update
|
13104
|
+
* },
|
13105
|
+
* where: {
|
13106
|
+
* // ... the filter for the Ticket we want to update
|
13107
|
+
* }
|
13108
|
+
* })
|
13109
|
+
*/
|
13110
|
+
upsert<T extends TicketUpsertArgs>(args: SelectSubset<T, TicketUpsertArgs<ExtArgs>>): Prisma__TicketClient<$Result.GetResult<Prisma.$TicketPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
13111
|
+
|
13112
|
+
|
13113
|
+
/**
|
13114
|
+
* Count the number of Tickets.
|
13115
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13116
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13117
|
+
* @param {TicketCountArgs} args - Arguments to filter Tickets to count.
|
13118
|
+
* @example
|
13119
|
+
* // Count the number of Tickets
|
13120
|
+
* const count = await prisma.ticket.count({
|
13121
|
+
* where: {
|
13122
|
+
* // ... the filter for the Tickets we want to count
|
13123
|
+
* }
|
13124
|
+
* })
|
13125
|
+
**/
|
13126
|
+
count<T extends TicketCountArgs>(
|
13127
|
+
args?: Subset<T, TicketCountArgs>,
|
13128
|
+
): Prisma.PrismaPromise<
|
13129
|
+
T extends $Utils.Record<'select', any>
|
13130
|
+
? T['select'] extends true
|
13131
|
+
? number
|
13132
|
+
: GetScalarType<T['select'], TicketCountAggregateOutputType>
|
13133
|
+
: number
|
13134
|
+
>
|
13135
|
+
|
13136
|
+
/**
|
13137
|
+
* Allows you to perform aggregations operations on a Ticket.
|
13138
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13139
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13140
|
+
* @param {TicketAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
13141
|
+
* @example
|
13142
|
+
* // Ordered by age ascending
|
13143
|
+
* // Where email contains prisma.io
|
13144
|
+
* // Limited to the 10 users
|
13145
|
+
* const aggregations = await prisma.user.aggregate({
|
13146
|
+
* _avg: {
|
13147
|
+
* age: true,
|
13148
|
+
* },
|
13149
|
+
* where: {
|
13150
|
+
* email: {
|
13151
|
+
* contains: "prisma.io",
|
13152
|
+
* },
|
13153
|
+
* },
|
13154
|
+
* orderBy: {
|
13155
|
+
* age: "asc",
|
13156
|
+
* },
|
13157
|
+
* take: 10,
|
13158
|
+
* })
|
13159
|
+
**/
|
13160
|
+
aggregate<T extends TicketAggregateArgs>(args: Subset<T, TicketAggregateArgs>): Prisma.PrismaPromise<GetTicketAggregateType<T>>
|
13161
|
+
|
13162
|
+
/**
|
13163
|
+
* Group by Ticket.
|
13164
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13165
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13166
|
+
* @param {TicketGroupByArgs} args - Group by arguments.
|
13167
|
+
* @example
|
13168
|
+
* // Group by city, order by createdAt, get count
|
13169
|
+
* const result = await prisma.user.groupBy({
|
13170
|
+
* by: ['city', 'createdAt'],
|
13171
|
+
* orderBy: {
|
13172
|
+
* createdAt: true
|
13173
|
+
* },
|
13174
|
+
* _count: {
|
13175
|
+
* _all: true
|
13176
|
+
* },
|
13177
|
+
* })
|
13178
|
+
*
|
13179
|
+
**/
|
13180
|
+
groupBy<
|
13181
|
+
T extends TicketGroupByArgs,
|
13182
|
+
HasSelectOrTake extends Or<
|
13183
|
+
Extends<'skip', Keys<T>>,
|
13184
|
+
Extends<'take', Keys<T>>
|
13185
|
+
>,
|
13186
|
+
OrderByArg extends True extends HasSelectOrTake
|
13187
|
+
? { orderBy: TicketGroupByArgs['orderBy'] }
|
13188
|
+
: { orderBy?: TicketGroupByArgs['orderBy'] },
|
13189
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
13190
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
13191
|
+
ByValid extends Has<ByFields, OrderFields>,
|
13192
|
+
HavingFields extends GetHavingFields<T['having']>,
|
13193
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
13194
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
13195
|
+
InputErrors extends ByEmpty extends True
|
13196
|
+
? `Error: "by" must not be empty.`
|
13197
|
+
: HavingValid extends False
|
13198
|
+
? {
|
13199
|
+
[P in HavingFields]: P extends ByFields
|
13200
|
+
? never
|
13201
|
+
: P extends string
|
13202
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
13203
|
+
: [
|
13204
|
+
Error,
|
13205
|
+
'Field ',
|
13206
|
+
P,
|
13207
|
+
` in "having" needs to be provided in "by"`,
|
13208
|
+
]
|
13209
|
+
}[HavingFields]
|
13210
|
+
: 'take' extends Keys<T>
|
13211
|
+
? 'orderBy' extends Keys<T>
|
13212
|
+
? ByValid extends True
|
13213
|
+
? {}
|
13214
|
+
: {
|
13215
|
+
[P in OrderFields]: P extends ByFields
|
13216
|
+
? never
|
13217
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13218
|
+
}[OrderFields]
|
13219
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
13220
|
+
: 'skip' extends Keys<T>
|
13221
|
+
? 'orderBy' extends Keys<T>
|
13222
|
+
? ByValid extends True
|
13223
|
+
? {}
|
13224
|
+
: {
|
13225
|
+
[P in OrderFields]: P extends ByFields
|
13226
|
+
? never
|
13227
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13228
|
+
}[OrderFields]
|
13229
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
13230
|
+
: ByValid extends True
|
13231
|
+
? {}
|
13232
|
+
: {
|
13233
|
+
[P in OrderFields]: P extends ByFields
|
13234
|
+
? never
|
13235
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13236
|
+
}[OrderFields]
|
13237
|
+
>(args: SubsetIntersection<T, TicketGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
13238
|
+
/**
|
13239
|
+
* Fields of the Ticket model
|
13240
|
+
*/
|
13241
|
+
readonly fields: TicketFieldRefs;
|
13242
|
+
}
|
13243
|
+
|
13244
|
+
/**
|
13245
|
+
* The delegate class that acts as a "Promise-like" for Ticket.
|
13246
|
+
* Why is this prefixed with `Prisma__`?
|
13247
|
+
* Because we want to prevent naming conflicts as mentioned in
|
13248
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
13249
|
+
*/
|
13250
|
+
export interface Prisma__TicketClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
13251
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
13252
|
+
event<T extends EventDefaultArgs<ExtArgs> = {}>(args?: Subset<T, EventDefaultArgs<ExtArgs>>): Prisma__EventClient<$Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
13253
|
+
/**
|
13254
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
13255
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
13256
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
13257
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
13258
|
+
*/
|
13259
|
+
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>
|
13260
|
+
/**
|
13261
|
+
* Attaches a callback for only the rejection of the Promise.
|
13262
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
13263
|
+
* @returns A Promise for the completion of the callback.
|
13264
|
+
*/
|
13265
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
13266
|
+
/**
|
13267
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
13268
|
+
* resolved value cannot be modified from the callback.
|
13269
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
13270
|
+
* @returns A Promise for the completion of the callback.
|
13271
|
+
*/
|
13272
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
13273
|
+
}
|
13274
|
+
|
13275
|
+
|
13276
|
+
|
13277
|
+
|
13278
|
+
/**
|
13279
|
+
* Fields of the Ticket model
|
13280
|
+
*/
|
13281
|
+
interface TicketFieldRefs {
|
13282
|
+
readonly id: FieldRef<"Ticket", 'String'>
|
13283
|
+
readonly eventId: FieldRef<"Ticket", 'String'>
|
13284
|
+
readonly type: FieldRef<"Ticket", 'TicketType'>
|
13285
|
+
readonly status: FieldRef<"Ticket", 'TicketStatus'>
|
13286
|
+
readonly fullName: FieldRef<"Ticket", 'String'>
|
13287
|
+
readonly mail: FieldRef<"Ticket", 'String'>
|
13288
|
+
readonly created_at: FieldRef<"Ticket", 'DateTime'>
|
13289
|
+
readonly updated_at: FieldRef<"Ticket", 'DateTime'>
|
13290
|
+
}
|
13291
|
+
|
13292
|
+
|
13293
|
+
// Custom InputTypes
|
13294
|
+
/**
|
13295
|
+
* Ticket findUnique
|
13296
|
+
*/
|
13297
|
+
export type TicketFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13298
|
+
/**
|
13299
|
+
* Select specific fields to fetch from the Ticket
|
13300
|
+
*/
|
13301
|
+
select?: TicketSelect<ExtArgs> | null
|
13302
|
+
/**
|
13303
|
+
* Choose, which related nodes to fetch as well
|
13304
|
+
*/
|
13305
|
+
include?: TicketInclude<ExtArgs> | null
|
13306
|
+
/**
|
13307
|
+
* Filter, which Ticket to fetch.
|
13308
|
+
*/
|
13309
|
+
where: TicketWhereUniqueInput
|
13310
|
+
}
|
13311
|
+
|
13312
|
+
/**
|
13313
|
+
* Ticket findUniqueOrThrow
|
13314
|
+
*/
|
13315
|
+
export type TicketFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13316
|
+
/**
|
13317
|
+
* Select specific fields to fetch from the Ticket
|
13318
|
+
*/
|
13319
|
+
select?: TicketSelect<ExtArgs> | null
|
13320
|
+
/**
|
13321
|
+
* Choose, which related nodes to fetch as well
|
13322
|
+
*/
|
13323
|
+
include?: TicketInclude<ExtArgs> | null
|
13324
|
+
/**
|
13325
|
+
* Filter, which Ticket to fetch.
|
13326
|
+
*/
|
13327
|
+
where: TicketWhereUniqueInput
|
13328
|
+
}
|
13329
|
+
|
13330
|
+
/**
|
13331
|
+
* Ticket findFirst
|
13332
|
+
*/
|
13333
|
+
export type TicketFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13334
|
+
/**
|
13335
|
+
* Select specific fields to fetch from the Ticket
|
13336
|
+
*/
|
13337
|
+
select?: TicketSelect<ExtArgs> | null
|
13338
|
+
/**
|
13339
|
+
* Choose, which related nodes to fetch as well
|
13340
|
+
*/
|
13341
|
+
include?: TicketInclude<ExtArgs> | null
|
13342
|
+
/**
|
13343
|
+
* Filter, which Ticket to fetch.
|
13344
|
+
*/
|
13345
|
+
where?: TicketWhereInput
|
13346
|
+
/**
|
13347
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13348
|
+
*
|
13349
|
+
* Determine the order of Tickets to fetch.
|
13350
|
+
*/
|
13351
|
+
orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
|
13352
|
+
/**
|
13353
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13354
|
+
*
|
13355
|
+
* Sets the position for searching for Tickets.
|
13356
|
+
*/
|
13357
|
+
cursor?: TicketWhereUniqueInput
|
13358
|
+
/**
|
13359
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13360
|
+
*
|
13361
|
+
* Take `±n` Tickets from the position of the cursor.
|
13362
|
+
*/
|
13363
|
+
take?: number
|
13364
|
+
/**
|
13365
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13366
|
+
*
|
13367
|
+
* Skip the first `n` Tickets.
|
13368
|
+
*/
|
13369
|
+
skip?: number
|
13370
|
+
/**
|
13371
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
13372
|
+
*
|
13373
|
+
* Filter by unique combinations of Tickets.
|
13374
|
+
*/
|
13375
|
+
distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
|
13376
|
+
}
|
13377
|
+
|
13378
|
+
/**
|
13379
|
+
* Ticket findFirstOrThrow
|
13380
|
+
*/
|
13381
|
+
export type TicketFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13382
|
+
/**
|
13383
|
+
* Select specific fields to fetch from the Ticket
|
13384
|
+
*/
|
13385
|
+
select?: TicketSelect<ExtArgs> | null
|
13386
|
+
/**
|
13387
|
+
* Choose, which related nodes to fetch as well
|
13388
|
+
*/
|
13389
|
+
include?: TicketInclude<ExtArgs> | null
|
13390
|
+
/**
|
13391
|
+
* Filter, which Ticket to fetch.
|
13392
|
+
*/
|
13393
|
+
where?: TicketWhereInput
|
13394
|
+
/**
|
13395
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13396
|
+
*
|
13397
|
+
* Determine the order of Tickets to fetch.
|
13398
|
+
*/
|
13399
|
+
orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
|
13400
|
+
/**
|
13401
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13402
|
+
*
|
13403
|
+
* Sets the position for searching for Tickets.
|
13404
|
+
*/
|
13405
|
+
cursor?: TicketWhereUniqueInput
|
13406
|
+
/**
|
13407
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13408
|
+
*
|
13409
|
+
* Take `±n` Tickets from the position of the cursor.
|
13410
|
+
*/
|
13411
|
+
take?: number
|
13412
|
+
/**
|
13413
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13414
|
+
*
|
13415
|
+
* Skip the first `n` Tickets.
|
13416
|
+
*/
|
13417
|
+
skip?: number
|
13418
|
+
/**
|
13419
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
13420
|
+
*
|
13421
|
+
* Filter by unique combinations of Tickets.
|
13422
|
+
*/
|
13423
|
+
distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
|
13424
|
+
}
|
13425
|
+
|
13426
|
+
/**
|
13427
|
+
* Ticket findMany
|
13428
|
+
*/
|
13429
|
+
export type TicketFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13430
|
+
/**
|
13431
|
+
* Select specific fields to fetch from the Ticket
|
13432
|
+
*/
|
13433
|
+
select?: TicketSelect<ExtArgs> | null
|
13434
|
+
/**
|
13435
|
+
* Choose, which related nodes to fetch as well
|
13436
|
+
*/
|
13437
|
+
include?: TicketInclude<ExtArgs> | null
|
13438
|
+
/**
|
13439
|
+
* Filter, which Tickets to fetch.
|
13440
|
+
*/
|
13441
|
+
where?: TicketWhereInput
|
13442
|
+
/**
|
13443
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13444
|
+
*
|
13445
|
+
* Determine the order of Tickets to fetch.
|
13446
|
+
*/
|
13447
|
+
orderBy?: TicketOrderByWithRelationInput | TicketOrderByWithRelationInput[]
|
13448
|
+
/**
|
13449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13450
|
+
*
|
13451
|
+
* Sets the position for listing Tickets.
|
13452
|
+
*/
|
13453
|
+
cursor?: TicketWhereUniqueInput
|
13454
|
+
/**
|
13455
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13456
|
+
*
|
13457
|
+
* Take `±n` Tickets from the position of the cursor.
|
13458
|
+
*/
|
13459
|
+
take?: number
|
13460
|
+
/**
|
13461
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13462
|
+
*
|
13463
|
+
* Skip the first `n` Tickets.
|
13464
|
+
*/
|
13465
|
+
skip?: number
|
13466
|
+
distinct?: TicketScalarFieldEnum | TicketScalarFieldEnum[]
|
13467
|
+
}
|
13468
|
+
|
13469
|
+
/**
|
13470
|
+
* Ticket create
|
13471
|
+
*/
|
13472
|
+
export type TicketCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13473
|
+
/**
|
13474
|
+
* Select specific fields to fetch from the Ticket
|
13475
|
+
*/
|
13476
|
+
select?: TicketSelect<ExtArgs> | null
|
13477
|
+
/**
|
13478
|
+
* Choose, which related nodes to fetch as well
|
13479
|
+
*/
|
13480
|
+
include?: TicketInclude<ExtArgs> | null
|
13481
|
+
/**
|
13482
|
+
* The data needed to create a Ticket.
|
13483
|
+
*/
|
13484
|
+
data: XOR<TicketCreateInput, TicketUncheckedCreateInput>
|
13485
|
+
}
|
13486
|
+
|
13487
|
+
/**
|
13488
|
+
* Ticket createMany
|
13489
|
+
*/
|
13490
|
+
export type TicketCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13491
|
+
/**
|
13492
|
+
* The data used to create many Tickets.
|
13493
|
+
*/
|
13494
|
+
data: TicketCreateManyInput | TicketCreateManyInput[]
|
13495
|
+
skipDuplicates?: boolean
|
13496
|
+
}
|
13497
|
+
|
13498
|
+
/**
|
13499
|
+
* Ticket createManyAndReturn
|
13500
|
+
*/
|
13501
|
+
export type TicketCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13502
|
+
/**
|
13503
|
+
* Select specific fields to fetch from the Ticket
|
13504
|
+
*/
|
13505
|
+
select?: TicketSelectCreateManyAndReturn<ExtArgs> | null
|
13506
|
+
/**
|
13507
|
+
* The data used to create many Tickets.
|
13508
|
+
*/
|
13509
|
+
data: TicketCreateManyInput | TicketCreateManyInput[]
|
13510
|
+
skipDuplicates?: boolean
|
13511
|
+
/**
|
13512
|
+
* Choose, which related nodes to fetch as well
|
13513
|
+
*/
|
13514
|
+
include?: TicketIncludeCreateManyAndReturn<ExtArgs> | null
|
13515
|
+
}
|
13516
|
+
|
13517
|
+
/**
|
13518
|
+
* Ticket update
|
13519
|
+
*/
|
13520
|
+
export type TicketUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13521
|
+
/**
|
13522
|
+
* Select specific fields to fetch from the Ticket
|
13523
|
+
*/
|
13524
|
+
select?: TicketSelect<ExtArgs> | null
|
13525
|
+
/**
|
13526
|
+
* Choose, which related nodes to fetch as well
|
13527
|
+
*/
|
13528
|
+
include?: TicketInclude<ExtArgs> | null
|
13529
|
+
/**
|
13530
|
+
* The data needed to update a Ticket.
|
13531
|
+
*/
|
13532
|
+
data: XOR<TicketUpdateInput, TicketUncheckedUpdateInput>
|
13533
|
+
/**
|
13534
|
+
* Choose, which Ticket to update.
|
13535
|
+
*/
|
13536
|
+
where: TicketWhereUniqueInput
|
13537
|
+
}
|
13538
|
+
|
13539
|
+
/**
|
13540
|
+
* Ticket updateMany
|
13541
|
+
*/
|
13542
|
+
export type TicketUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13543
|
+
/**
|
13544
|
+
* The data used to update Tickets.
|
13545
|
+
*/
|
13546
|
+
data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyInput>
|
13547
|
+
/**
|
13548
|
+
* Filter which Tickets to update
|
13549
|
+
*/
|
13550
|
+
where?: TicketWhereInput
|
13551
|
+
}
|
13552
|
+
|
13553
|
+
/**
|
13554
|
+
* Ticket upsert
|
13555
|
+
*/
|
13556
|
+
export type TicketUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13557
|
+
/**
|
13558
|
+
* Select specific fields to fetch from the Ticket
|
13559
|
+
*/
|
13560
|
+
select?: TicketSelect<ExtArgs> | null
|
13561
|
+
/**
|
13562
|
+
* Choose, which related nodes to fetch as well
|
13563
|
+
*/
|
13564
|
+
include?: TicketInclude<ExtArgs> | null
|
13565
|
+
/**
|
13566
|
+
* The filter to search for the Ticket to update in case it exists.
|
13567
|
+
*/
|
13568
|
+
where: TicketWhereUniqueInput
|
13569
|
+
/**
|
13570
|
+
* In case the Ticket found by the `where` argument doesn't exist, create a new Ticket with this data.
|
13571
|
+
*/
|
13572
|
+
create: XOR<TicketCreateInput, TicketUncheckedCreateInput>
|
13573
|
+
/**
|
13574
|
+
* In case the Ticket was found with the provided `where` argument, update it with this data.
|
13575
|
+
*/
|
13576
|
+
update: XOR<TicketUpdateInput, TicketUncheckedUpdateInput>
|
13577
|
+
}
|
13578
|
+
|
13579
|
+
/**
|
13580
|
+
* Ticket delete
|
13581
|
+
*/
|
13582
|
+
export type TicketDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13583
|
+
/**
|
13584
|
+
* Select specific fields to fetch from the Ticket
|
13585
|
+
*/
|
13586
|
+
select?: TicketSelect<ExtArgs> | null
|
13587
|
+
/**
|
13588
|
+
* Choose, which related nodes to fetch as well
|
13589
|
+
*/
|
13590
|
+
include?: TicketInclude<ExtArgs> | null
|
13591
|
+
/**
|
13592
|
+
* Filter which Ticket to delete.
|
13593
|
+
*/
|
13594
|
+
where: TicketWhereUniqueInput
|
13595
|
+
}
|
13596
|
+
|
13597
|
+
/**
|
13598
|
+
* Ticket deleteMany
|
13599
|
+
*/
|
13600
|
+
export type TicketDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13601
|
+
/**
|
13602
|
+
* Filter which Tickets to delete
|
13603
|
+
*/
|
13604
|
+
where?: TicketWhereInput
|
13605
|
+
}
|
13606
|
+
|
13607
|
+
/**
|
13608
|
+
* Ticket without action
|
13609
|
+
*/
|
13610
|
+
export type TicketDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13611
|
+
/**
|
13612
|
+
* Select specific fields to fetch from the Ticket
|
13613
|
+
*/
|
13614
|
+
select?: TicketSelect<ExtArgs> | null
|
13615
|
+
/**
|
13616
|
+
* Choose, which related nodes to fetch as well
|
13617
|
+
*/
|
13618
|
+
include?: TicketInclude<ExtArgs> | null
|
13619
|
+
}
|
13620
|
+
|
13621
|
+
|
13622
|
+
/**
|
13623
|
+
* Model Enums
|
13624
|
+
*/
|
13625
|
+
|
13626
|
+
export type AggregateEnums = {
|
13627
|
+
_count: EnumsCountAggregateOutputType | null
|
13628
|
+
_min: EnumsMinAggregateOutputType | null
|
13629
|
+
_max: EnumsMaxAggregateOutputType | null
|
13630
|
+
}
|
13631
|
+
|
13632
|
+
export type EnumsMinAggregateOutputType = {
|
13633
|
+
id: string | null
|
13634
|
+
templateStatus: $Enums.TemplateStatus | null
|
13635
|
+
templateCategory: $Enums.TemplateCategory | null
|
13636
|
+
}
|
13637
|
+
|
13638
|
+
export type EnumsMaxAggregateOutputType = {
|
13639
|
+
id: string | null
|
13640
|
+
templateStatus: $Enums.TemplateStatus | null
|
13641
|
+
templateCategory: $Enums.TemplateCategory | null
|
13642
|
+
}
|
13643
|
+
|
13644
|
+
export type EnumsCountAggregateOutputType = {
|
13645
|
+
id: number
|
13646
|
+
templateStatus: number
|
13647
|
+
templateCategory: number
|
13648
|
+
_all: number
|
13649
|
+
}
|
13650
|
+
|
13651
|
+
|
13652
|
+
export type EnumsMinAggregateInputType = {
|
13653
|
+
id?: true
|
13654
|
+
templateStatus?: true
|
13655
|
+
templateCategory?: true
|
13656
|
+
}
|
13657
|
+
|
13658
|
+
export type EnumsMaxAggregateInputType = {
|
13659
|
+
id?: true
|
13660
|
+
templateStatus?: true
|
13661
|
+
templateCategory?: true
|
13662
|
+
}
|
13663
|
+
|
13664
|
+
export type EnumsCountAggregateInputType = {
|
13665
|
+
id?: true
|
13666
|
+
templateStatus?: true
|
13667
|
+
templateCategory?: true
|
13668
|
+
_all?: true
|
13669
|
+
}
|
13670
|
+
|
13671
|
+
export type EnumsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13672
|
+
/**
|
13673
|
+
* Filter which Enums to aggregate.
|
13674
|
+
*/
|
13675
|
+
where?: EnumsWhereInput
|
13676
|
+
/**
|
13677
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13678
|
+
*
|
13679
|
+
* Determine the order of Enums to fetch.
|
13680
|
+
*/
|
13681
|
+
orderBy?: EnumsOrderByWithRelationInput | EnumsOrderByWithRelationInput[]
|
13682
|
+
/**
|
13683
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13684
|
+
*
|
13685
|
+
* Sets the start position
|
13686
|
+
*/
|
13687
|
+
cursor?: EnumsWhereUniqueInput
|
13688
|
+
/**
|
13689
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13690
|
+
*
|
13691
|
+
* Take `±n` Enums from the position of the cursor.
|
13692
|
+
*/
|
13693
|
+
take?: number
|
13694
|
+
/**
|
13695
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13696
|
+
*
|
13697
|
+
* Skip the first `n` Enums.
|
13698
|
+
*/
|
13699
|
+
skip?: number
|
13700
|
+
/**
|
13701
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13702
|
+
*
|
13703
|
+
* Count returned Enums
|
13704
|
+
**/
|
13705
|
+
_count?: true | EnumsCountAggregateInputType
|
13706
|
+
/**
|
13707
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13708
|
+
*
|
13709
|
+
* Select which fields to find the minimum value
|
13710
|
+
**/
|
13711
|
+
_min?: EnumsMinAggregateInputType
|
13712
|
+
/**
|
13713
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13714
|
+
*
|
13715
|
+
* Select which fields to find the maximum value
|
13716
|
+
**/
|
13717
|
+
_max?: EnumsMaxAggregateInputType
|
13718
|
+
}
|
13719
|
+
|
13720
|
+
export type GetEnumsAggregateType<T extends EnumsAggregateArgs> = {
|
13721
|
+
[P in keyof T & keyof AggregateEnums]: P extends '_count' | 'count'
|
13722
|
+
? T[P] extends true
|
13723
|
+
? number
|
13724
|
+
: GetScalarType<T[P], AggregateEnums[P]>
|
13725
|
+
: GetScalarType<T[P], AggregateEnums[P]>
|
13726
|
+
}
|
13727
|
+
|
13728
|
+
|
13729
|
+
|
13730
|
+
|
13731
|
+
export type EnumsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13732
|
+
where?: EnumsWhereInput
|
13733
|
+
orderBy?: EnumsOrderByWithAggregationInput | EnumsOrderByWithAggregationInput[]
|
13734
|
+
by: EnumsScalarFieldEnum[] | EnumsScalarFieldEnum
|
13735
|
+
having?: EnumsScalarWhereWithAggregatesInput
|
13736
|
+
take?: number
|
13737
|
+
skip?: number
|
13738
|
+
_count?: EnumsCountAggregateInputType | true
|
13739
|
+
_min?: EnumsMinAggregateInputType
|
13740
|
+
_max?: EnumsMaxAggregateInputType
|
13741
|
+
}
|
13742
|
+
|
13743
|
+
export type EnumsGroupByOutputType = {
|
13744
|
+
id: string
|
13745
|
+
templateStatus: $Enums.TemplateStatus
|
13746
|
+
templateCategory: $Enums.TemplateCategory
|
13747
|
+
_count: EnumsCountAggregateOutputType | null
|
13748
|
+
_min: EnumsMinAggregateOutputType | null
|
13749
|
+
_max: EnumsMaxAggregateOutputType | null
|
13750
|
+
}
|
13751
|
+
|
13752
|
+
type GetEnumsGroupByPayload<T extends EnumsGroupByArgs> = Prisma.PrismaPromise<
|
13753
|
+
Array<
|
13754
|
+
PickEnumerable<EnumsGroupByOutputType, T['by']> &
|
13755
|
+
{
|
13756
|
+
[P in ((keyof T) & (keyof EnumsGroupByOutputType))]: P extends '_count'
|
13757
|
+
? T[P] extends boolean
|
13758
|
+
? number
|
13759
|
+
: GetScalarType<T[P], EnumsGroupByOutputType[P]>
|
13760
|
+
: GetScalarType<T[P], EnumsGroupByOutputType[P]>
|
13761
|
+
}
|
13762
|
+
>
|
13763
|
+
>
|
13764
|
+
|
13765
|
+
|
13766
|
+
export type EnumsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
13767
|
+
id?: boolean
|
13768
|
+
templateStatus?: boolean
|
13769
|
+
templateCategory?: boolean
|
13770
|
+
}, ExtArgs["result"]["enums"]>
|
13771
|
+
|
13772
|
+
export type EnumsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
13773
|
+
id?: boolean
|
13774
|
+
templateStatus?: boolean
|
13775
|
+
templateCategory?: boolean
|
13776
|
+
}, ExtArgs["result"]["enums"]>
|
13777
|
+
|
13778
|
+
export type EnumsSelectScalar = {
|
13779
|
+
id?: boolean
|
13780
|
+
templateStatus?: boolean
|
13781
|
+
templateCategory?: boolean
|
13782
|
+
}
|
13783
|
+
|
13784
|
+
|
13785
|
+
export type $EnumsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13786
|
+
name: "Enums"
|
13787
|
+
objects: {}
|
13788
|
+
scalars: $Extensions.GetPayloadResult<{
|
13789
|
+
id: string
|
13790
|
+
templateStatus: $Enums.TemplateStatus
|
13791
|
+
templateCategory: $Enums.TemplateCategory
|
13792
|
+
}, ExtArgs["result"]["enums"]>
|
13793
|
+
composites: {}
|
13794
|
+
}
|
13795
|
+
|
13796
|
+
type EnumsGetPayload<S extends boolean | null | undefined | EnumsDefaultArgs> = $Result.GetResult<Prisma.$EnumsPayload, S>
|
13797
|
+
|
13798
|
+
type EnumsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
13799
|
+
Omit<EnumsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
13800
|
+
select?: EnumsCountAggregateInputType | true
|
13801
|
+
}
|
13802
|
+
|
13803
|
+
export interface EnumsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
13804
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Enums'], meta: { name: 'Enums' } }
|
13805
|
+
/**
|
13806
|
+
* Find zero or one Enums that matches the filter.
|
13807
|
+
* @param {EnumsFindUniqueArgs} args - Arguments to find a Enums
|
13808
|
+
* @example
|
13809
|
+
* // Get one Enums
|
13810
|
+
* const enums = await prisma.enums.findUnique({
|
13811
|
+
* where: {
|
13812
|
+
* // ... provide filter here
|
13813
|
+
* }
|
13814
|
+
* })
|
13815
|
+
*/
|
13816
|
+
findUnique<T extends EnumsFindUniqueArgs>(args: SelectSubset<T, EnumsFindUniqueArgs<ExtArgs>>): Prisma__EnumsClient<$Result.GetResult<Prisma.$EnumsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
13817
|
+
|
13818
|
+
/**
|
13819
|
+
* Find one Enums that matches the filter or throw an error with `error.code='P2025'`
|
13820
|
+
* if no matches were found.
|
13821
|
+
* @param {EnumsFindUniqueOrThrowArgs} args - Arguments to find a Enums
|
12721
13822
|
* @example
|
12722
13823
|
* // Get one Enums
|
12723
13824
|
* const enums = await prisma.enums.findUniqueOrThrow({
|
@@ -14528,6 +15629,20 @@ export namespace Prisma {
|
|
14528
15629
|
export type CannedResponseScalarFieldEnum = (typeof CannedResponseScalarFieldEnum)[keyof typeof CannedResponseScalarFieldEnum]
|
14529
15630
|
|
14530
15631
|
|
15632
|
+
export const TicketScalarFieldEnum: {
|
15633
|
+
id: 'id',
|
15634
|
+
eventId: 'eventId',
|
15635
|
+
type: 'type',
|
15636
|
+
status: 'status',
|
15637
|
+
fullName: 'fullName',
|
15638
|
+
mail: 'mail',
|
15639
|
+
created_at: 'created_at',
|
15640
|
+
updated_at: 'updated_at'
|
15641
|
+
};
|
15642
|
+
|
15643
|
+
export type TicketScalarFieldEnum = (typeof TicketScalarFieldEnum)[keyof typeof TicketScalarFieldEnum]
|
15644
|
+
|
15645
|
+
|
14531
15646
|
export const EnumsScalarFieldEnum: {
|
14532
15647
|
id: 'id',
|
14533
15648
|
templateStatus: 'templateStatus',
|
@@ -14708,44 +15823,58 @@ export namespace Prisma {
|
|
14708
15823
|
|
14709
15824
|
|
14710
15825
|
/**
|
14711
|
-
* Reference to a field of type '
|
15826
|
+
* Reference to a field of type 'TicketType'
|
14712
15827
|
*/
|
14713
|
-
export type
|
15828
|
+
export type EnumTicketTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketType'>
|
14714
15829
|
|
14715
15830
|
|
14716
15831
|
|
14717
15832
|
/**
|
14718
|
-
* Reference to a field of type '
|
15833
|
+
* Reference to a field of type 'TicketType[]'
|
14719
15834
|
*/
|
14720
|
-
export type
|
15835
|
+
export type ListEnumTicketTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketType[]'>
|
14721
15836
|
|
14722
15837
|
|
14723
15838
|
|
14724
15839
|
/**
|
14725
|
-
* Reference to a field of type '
|
15840
|
+
* Reference to a field of type 'TicketStatus'
|
14726
15841
|
*/
|
14727
|
-
export type
|
15842
|
+
export type EnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus'>
|
14728
15843
|
|
14729
15844
|
|
14730
15845
|
|
14731
15846
|
/**
|
14732
|
-
* Reference to a field of type '
|
15847
|
+
* Reference to a field of type 'TicketStatus[]'
|
14733
15848
|
*/
|
14734
|
-
export type
|
15849
|
+
export type ListEnumTicketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TicketStatus[]'>
|
14735
15850
|
|
14736
15851
|
|
14737
15852
|
|
14738
15853
|
/**
|
14739
|
-
* Reference to a field of type '
|
15854
|
+
* Reference to a field of type 'TemplateStatus'
|
14740
15855
|
*/
|
14741
|
-
export type
|
15856
|
+
export type EnumTemplateStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateStatus'>
|
14742
15857
|
|
14743
15858
|
|
14744
15859
|
|
14745
15860
|
/**
|
14746
|
-
* Reference to a field of type '
|
15861
|
+
* Reference to a field of type 'TemplateStatus[]'
|
14747
15862
|
*/
|
14748
|
-
export type
|
15863
|
+
export type ListEnumTemplateStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateStatus[]'>
|
15864
|
+
|
15865
|
+
|
15866
|
+
|
15867
|
+
/**
|
15868
|
+
* Reference to a field of type 'TemplateCategory'
|
15869
|
+
*/
|
15870
|
+
export type EnumTemplateCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateCategory'>
|
15871
|
+
|
15872
|
+
|
15873
|
+
|
15874
|
+
/**
|
15875
|
+
* Reference to a field of type 'TemplateCategory[]'
|
15876
|
+
*/
|
15877
|
+
export type ListEnumTemplateCategoryFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplateCategory[]'>
|
14749
15878
|
|
14750
15879
|
/**
|
14751
15880
|
* Deep Input Types
|
@@ -15291,6 +16420,7 @@ export namespace Prisma {
|
|
15291
16420
|
tagAssisted?: XOR<TagRelationFilter, TagWhereInput>
|
15292
16421
|
tagConfirmed?: XOR<TagRelationFilter, TagWhereInput>
|
15293
16422
|
supraEvent?: XOR<EventNullableRelationFilter, EventWhereInput> | null
|
16423
|
+
tickets?: TicketListRelationFilter
|
15294
16424
|
subEvents?: EventListRelationFilter
|
15295
16425
|
tags?: TagListRelationFilter
|
15296
16426
|
eventTickets?: EventTicketListRelationFilter
|
@@ -15314,6 +16444,7 @@ export namespace Prisma {
|
|
15314
16444
|
tagAssisted?: TagOrderByWithRelationInput
|
15315
16445
|
tagConfirmed?: TagOrderByWithRelationInput
|
15316
16446
|
supraEvent?: EventOrderByWithRelationInput
|
16447
|
+
tickets?: TicketOrderByRelationAggregateInput
|
15317
16448
|
subEvents?: EventOrderByRelationAggregateInput
|
15318
16449
|
tags?: TagOrderByRelationAggregateInput
|
15319
16450
|
eventTickets?: EventTicketOrderByRelationAggregateInput
|
@@ -15340,6 +16471,7 @@ export namespace Prisma {
|
|
15340
16471
|
tagAssisted?: XOR<TagRelationFilter, TagWhereInput>
|
15341
16472
|
tagConfirmed?: XOR<TagRelationFilter, TagWhereInput>
|
15342
16473
|
supraEvent?: XOR<EventNullableRelationFilter, EventWhereInput> | null
|
16474
|
+
tickets?: TicketListRelationFilter
|
15343
16475
|
subEvents?: EventListRelationFilter
|
15344
16476
|
tags?: TagListRelationFilter
|
15345
16477
|
eventTickets?: EventTicketListRelationFilter
|
@@ -15555,6 +16687,76 @@ export namespace Prisma {
|
|
15555
16687
|
updated_at?: DateTimeWithAggregatesFilter<"CannedResponse"> | Date | string
|
15556
16688
|
}
|
15557
16689
|
|
16690
|
+
export type TicketWhereInput = {
|
16691
|
+
AND?: TicketWhereInput | TicketWhereInput[]
|
16692
|
+
OR?: TicketWhereInput[]
|
16693
|
+
NOT?: TicketWhereInput | TicketWhereInput[]
|
16694
|
+
id?: StringFilter<"Ticket"> | string
|
16695
|
+
eventId?: StringFilter<"Ticket"> | string
|
16696
|
+
type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
|
16697
|
+
status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
|
16698
|
+
fullName?: StringFilter<"Ticket"> | string
|
16699
|
+
mail?: StringFilter<"Ticket"> | string
|
16700
|
+
created_at?: DateTimeFilter<"Ticket"> | Date | string
|
16701
|
+
updated_at?: DateTimeFilter<"Ticket"> | Date | string
|
16702
|
+
event?: XOR<EventRelationFilter, EventWhereInput>
|
16703
|
+
}
|
16704
|
+
|
16705
|
+
export type TicketOrderByWithRelationInput = {
|
16706
|
+
id?: SortOrder
|
16707
|
+
eventId?: SortOrder
|
16708
|
+
type?: SortOrder
|
16709
|
+
status?: SortOrder
|
16710
|
+
fullName?: SortOrder
|
16711
|
+
mail?: SortOrder
|
16712
|
+
created_at?: SortOrder
|
16713
|
+
updated_at?: SortOrder
|
16714
|
+
event?: EventOrderByWithRelationInput
|
16715
|
+
}
|
16716
|
+
|
16717
|
+
export type TicketWhereUniqueInput = Prisma.AtLeast<{
|
16718
|
+
id?: string
|
16719
|
+
AND?: TicketWhereInput | TicketWhereInput[]
|
16720
|
+
OR?: TicketWhereInput[]
|
16721
|
+
NOT?: TicketWhereInput | TicketWhereInput[]
|
16722
|
+
eventId?: StringFilter<"Ticket"> | string
|
16723
|
+
type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
|
16724
|
+
status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
|
16725
|
+
fullName?: StringFilter<"Ticket"> | string
|
16726
|
+
mail?: StringFilter<"Ticket"> | string
|
16727
|
+
created_at?: DateTimeFilter<"Ticket"> | Date | string
|
16728
|
+
updated_at?: DateTimeFilter<"Ticket"> | Date | string
|
16729
|
+
event?: XOR<EventRelationFilter, EventWhereInput>
|
16730
|
+
}, "id">
|
16731
|
+
|
16732
|
+
export type TicketOrderByWithAggregationInput = {
|
16733
|
+
id?: SortOrder
|
16734
|
+
eventId?: SortOrder
|
16735
|
+
type?: SortOrder
|
16736
|
+
status?: SortOrder
|
16737
|
+
fullName?: SortOrder
|
16738
|
+
mail?: SortOrder
|
16739
|
+
created_at?: SortOrder
|
16740
|
+
updated_at?: SortOrder
|
16741
|
+
_count?: TicketCountOrderByAggregateInput
|
16742
|
+
_max?: TicketMaxOrderByAggregateInput
|
16743
|
+
_min?: TicketMinOrderByAggregateInput
|
16744
|
+
}
|
16745
|
+
|
16746
|
+
export type TicketScalarWhereWithAggregatesInput = {
|
16747
|
+
AND?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
|
16748
|
+
OR?: TicketScalarWhereWithAggregatesInput[]
|
16749
|
+
NOT?: TicketScalarWhereWithAggregatesInput | TicketScalarWhereWithAggregatesInput[]
|
16750
|
+
id?: StringWithAggregatesFilter<"Ticket"> | string
|
16751
|
+
eventId?: StringWithAggregatesFilter<"Ticket"> | string
|
16752
|
+
type?: EnumTicketTypeWithAggregatesFilter<"Ticket"> | $Enums.TicketType
|
16753
|
+
status?: EnumTicketStatusWithAggregatesFilter<"Ticket"> | $Enums.TicketStatus
|
16754
|
+
fullName?: StringWithAggregatesFilter<"Ticket"> | string
|
16755
|
+
mail?: StringWithAggregatesFilter<"Ticket"> | string
|
16756
|
+
created_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
|
16757
|
+
updated_at?: DateTimeWithAggregatesFilter<"Ticket"> | Date | string
|
16758
|
+
}
|
16759
|
+
|
15558
16760
|
export type EnumsWhereInput = {
|
15559
16761
|
AND?: EnumsWhereInput | EnumsWhereInput[]
|
15560
16762
|
OR?: EnumsWhereInput[]
|
@@ -16261,6 +17463,7 @@ export namespace Prisma {
|
|
16261
17463
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
16262
17464
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
16263
17465
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
17466
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
16264
17467
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
16265
17468
|
tags?: TagCreateNestedManyWithoutEventInput
|
16266
17469
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
@@ -16280,6 +17483,7 @@ export namespace Prisma {
|
|
16280
17483
|
active?: boolean
|
16281
17484
|
created_at?: Date | string
|
16282
17485
|
updated_at?: Date | string
|
17486
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
16283
17487
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
16284
17488
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
16285
17489
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
@@ -16299,6 +17503,7 @@ export namespace Prisma {
|
|
16299
17503
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
16300
17504
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
16301
17505
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
17506
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
16302
17507
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
16303
17508
|
tags?: TagUpdateManyWithoutEventNestedInput
|
16304
17509
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
@@ -16318,6 +17523,7 @@ export namespace Prisma {
|
|
16318
17523
|
active?: BoolFieldUpdateOperationsInput | boolean
|
16319
17524
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
16320
17525
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17526
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
16321
17527
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
16322
17528
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
16323
17529
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
@@ -16552,6 +17758,82 @@ export namespace Prisma {
|
|
16552
17758
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
16553
17759
|
}
|
16554
17760
|
|
17761
|
+
export type TicketCreateInput = {
|
17762
|
+
id?: string
|
17763
|
+
type: $Enums.TicketType
|
17764
|
+
status: $Enums.TicketStatus
|
17765
|
+
fullName: string
|
17766
|
+
mail: string
|
17767
|
+
created_at?: Date | string
|
17768
|
+
updated_at?: Date | string
|
17769
|
+
event: EventCreateNestedOneWithoutTicketsInput
|
17770
|
+
}
|
17771
|
+
|
17772
|
+
export type TicketUncheckedCreateInput = {
|
17773
|
+
id?: string
|
17774
|
+
eventId: string
|
17775
|
+
type: $Enums.TicketType
|
17776
|
+
status: $Enums.TicketStatus
|
17777
|
+
fullName: string
|
17778
|
+
mail: string
|
17779
|
+
created_at?: Date | string
|
17780
|
+
updated_at?: Date | string
|
17781
|
+
}
|
17782
|
+
|
17783
|
+
export type TicketUpdateInput = {
|
17784
|
+
id?: StringFieldUpdateOperationsInput | string
|
17785
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
17786
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
17787
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
17788
|
+
mail?: StringFieldUpdateOperationsInput | string
|
17789
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17790
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17791
|
+
event?: EventUpdateOneRequiredWithoutTicketsNestedInput
|
17792
|
+
}
|
17793
|
+
|
17794
|
+
export type TicketUncheckedUpdateInput = {
|
17795
|
+
id?: StringFieldUpdateOperationsInput | string
|
17796
|
+
eventId?: StringFieldUpdateOperationsInput | string
|
17797
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
17798
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
17799
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
17800
|
+
mail?: StringFieldUpdateOperationsInput | string
|
17801
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17802
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17803
|
+
}
|
17804
|
+
|
17805
|
+
export type TicketCreateManyInput = {
|
17806
|
+
id?: string
|
17807
|
+
eventId: string
|
17808
|
+
type: $Enums.TicketType
|
17809
|
+
status: $Enums.TicketStatus
|
17810
|
+
fullName: string
|
17811
|
+
mail: string
|
17812
|
+
created_at?: Date | string
|
17813
|
+
updated_at?: Date | string
|
17814
|
+
}
|
17815
|
+
|
17816
|
+
export type TicketUpdateManyMutationInput = {
|
17817
|
+
id?: StringFieldUpdateOperationsInput | string
|
17818
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
17819
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
17820
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
17821
|
+
mail?: StringFieldUpdateOperationsInput | string
|
17822
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17823
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17824
|
+
}
|
17825
|
+
|
17826
|
+
export type TicketUncheckedUpdateManyInput = {
|
17827
|
+
id?: StringFieldUpdateOperationsInput | string
|
17828
|
+
eventId?: StringFieldUpdateOperationsInput | string
|
17829
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
17830
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
17831
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
17832
|
+
mail?: StringFieldUpdateOperationsInput | string
|
17833
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17834
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
17835
|
+
}
|
17836
|
+
|
16555
17837
|
export type EnumsCreateInput = {
|
16556
17838
|
id: string
|
16557
17839
|
templateStatus: $Enums.TemplateStatus
|
@@ -17237,12 +18519,22 @@ export namespace Prisma {
|
|
17237
18519
|
isNot?: TagWhereInput
|
17238
18520
|
}
|
17239
18521
|
|
18522
|
+
export type TicketListRelationFilter = {
|
18523
|
+
every?: TicketWhereInput
|
18524
|
+
some?: TicketWhereInput
|
18525
|
+
none?: TicketWhereInput
|
18526
|
+
}
|
18527
|
+
|
17240
18528
|
export type EventTicketListRelationFilter = {
|
17241
18529
|
every?: EventTicketWhereInput
|
17242
18530
|
some?: EventTicketWhereInput
|
17243
18531
|
none?: EventTicketWhereInput
|
17244
18532
|
}
|
17245
18533
|
|
18534
|
+
export type TicketOrderByRelationAggregateInput = {
|
18535
|
+
_count?: SortOrder
|
18536
|
+
}
|
18537
|
+
|
17246
18538
|
export type EventTicketOrderByRelationAggregateInput = {
|
17247
18539
|
_count?: SortOrder
|
17248
18540
|
}
|
@@ -17413,28 +18705,100 @@ export namespace Prisma {
|
|
17413
18705
|
|
17414
18706
|
export type CannedResponseCountOrderByAggregateInput = {
|
17415
18707
|
id?: SortOrder
|
17416
|
-
name?: SortOrder
|
17417
|
-
content?: SortOrder
|
18708
|
+
name?: SortOrder
|
18709
|
+
content?: SortOrder
|
18710
|
+
created_at?: SortOrder
|
18711
|
+
updated_at?: SortOrder
|
18712
|
+
}
|
18713
|
+
|
18714
|
+
export type CannedResponseMaxOrderByAggregateInput = {
|
18715
|
+
id?: SortOrder
|
18716
|
+
name?: SortOrder
|
18717
|
+
content?: SortOrder
|
18718
|
+
created_at?: SortOrder
|
18719
|
+
updated_at?: SortOrder
|
18720
|
+
}
|
18721
|
+
|
18722
|
+
export type CannedResponseMinOrderByAggregateInput = {
|
18723
|
+
id?: SortOrder
|
18724
|
+
name?: SortOrder
|
18725
|
+
content?: SortOrder
|
18726
|
+
created_at?: SortOrder
|
18727
|
+
updated_at?: SortOrder
|
18728
|
+
}
|
18729
|
+
|
18730
|
+
export type EnumTicketTypeFilter<$PrismaModel = never> = {
|
18731
|
+
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
18732
|
+
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18733
|
+
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18734
|
+
not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
|
18735
|
+
}
|
18736
|
+
|
18737
|
+
export type EnumTicketStatusFilter<$PrismaModel = never> = {
|
18738
|
+
equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
|
18739
|
+
in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
18740
|
+
notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
18741
|
+
not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
|
18742
|
+
}
|
18743
|
+
|
18744
|
+
export type EventRelationFilter = {
|
18745
|
+
is?: EventWhereInput
|
18746
|
+
isNot?: EventWhereInput
|
18747
|
+
}
|
18748
|
+
|
18749
|
+
export type TicketCountOrderByAggregateInput = {
|
18750
|
+
id?: SortOrder
|
18751
|
+
eventId?: SortOrder
|
18752
|
+
type?: SortOrder
|
18753
|
+
status?: SortOrder
|
18754
|
+
fullName?: SortOrder
|
18755
|
+
mail?: SortOrder
|
17418
18756
|
created_at?: SortOrder
|
17419
18757
|
updated_at?: SortOrder
|
17420
18758
|
}
|
17421
18759
|
|
17422
|
-
export type
|
18760
|
+
export type TicketMaxOrderByAggregateInput = {
|
17423
18761
|
id?: SortOrder
|
17424
|
-
|
17425
|
-
|
18762
|
+
eventId?: SortOrder
|
18763
|
+
type?: SortOrder
|
18764
|
+
status?: SortOrder
|
18765
|
+
fullName?: SortOrder
|
18766
|
+
mail?: SortOrder
|
17426
18767
|
created_at?: SortOrder
|
17427
18768
|
updated_at?: SortOrder
|
17428
18769
|
}
|
17429
18770
|
|
17430
|
-
export type
|
18771
|
+
export type TicketMinOrderByAggregateInput = {
|
17431
18772
|
id?: SortOrder
|
17432
|
-
|
17433
|
-
|
18773
|
+
eventId?: SortOrder
|
18774
|
+
type?: SortOrder
|
18775
|
+
status?: SortOrder
|
18776
|
+
fullName?: SortOrder
|
18777
|
+
mail?: SortOrder
|
17434
18778
|
created_at?: SortOrder
|
17435
18779
|
updated_at?: SortOrder
|
17436
18780
|
}
|
17437
18781
|
|
18782
|
+
export type EnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
|
18783
|
+
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
18784
|
+
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18785
|
+
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18786
|
+
not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
|
18787
|
+
_count?: NestedIntFilter<$PrismaModel>
|
18788
|
+
_min?: NestedEnumTicketTypeFilter<$PrismaModel>
|
18789
|
+
_max?: NestedEnumTicketTypeFilter<$PrismaModel>
|
18790
|
+
}
|
18791
|
+
|
18792
|
+
export type EnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
|
18793
|
+
equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
|
18794
|
+
in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
18795
|
+
notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
18796
|
+
not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
|
18797
|
+
_count?: NestedIntFilter<$PrismaModel>
|
18798
|
+
_min?: NestedEnumTicketStatusFilter<$PrismaModel>
|
18799
|
+
_max?: NestedEnumTicketStatusFilter<$PrismaModel>
|
18800
|
+
}
|
18801
|
+
|
17438
18802
|
export type EnumTemplateStatusFilter<$PrismaModel = never> = {
|
17439
18803
|
equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
|
17440
18804
|
in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
|
@@ -17487,13 +18851,6 @@ export namespace Prisma {
|
|
17487
18851
|
_max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
|
17488
18852
|
}
|
17489
18853
|
|
17490
|
-
export type EnumTicketTypeFilter<$PrismaModel = never> = {
|
17491
|
-
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
17492
|
-
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
17493
|
-
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
17494
|
-
not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
|
17495
|
-
}
|
17496
|
-
|
17497
18854
|
export type FloatNullableFilter<$PrismaModel = never> = {
|
17498
18855
|
equals?: number | FloatFieldRefInput<$PrismaModel> | null
|
17499
18856
|
in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
|
@@ -17505,11 +18862,6 @@ export namespace Prisma {
|
|
17505
18862
|
not?: NestedFloatNullableFilter<$PrismaModel> | number | null
|
17506
18863
|
}
|
17507
18864
|
|
17508
|
-
export type EventRelationFilter = {
|
17509
|
-
is?: EventWhereInput
|
17510
|
-
isNot?: EventWhereInput
|
17511
|
-
}
|
17512
|
-
|
17513
18865
|
export type EventTicketCountOrderByAggregateInput = {
|
17514
18866
|
id?: SortOrder
|
17515
18867
|
eventId?: SortOrder
|
@@ -17550,16 +18902,6 @@ export namespace Prisma {
|
|
17550
18902
|
price?: SortOrder
|
17551
18903
|
}
|
17552
18904
|
|
17553
|
-
export type EnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
|
17554
|
-
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
17555
|
-
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
17556
|
-
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
17557
|
-
not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
|
17558
|
-
_count?: NestedIntFilter<$PrismaModel>
|
17559
|
-
_min?: NestedEnumTicketTypeFilter<$PrismaModel>
|
17560
|
-
_max?: NestedEnumTicketTypeFilter<$PrismaModel>
|
17561
|
-
}
|
17562
|
-
|
17563
18905
|
export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
|
17564
18906
|
equals?: number | FloatFieldRefInput<$PrismaModel> | null
|
17565
18907
|
in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
|
@@ -18376,6 +19718,13 @@ export namespace Prisma {
|
|
18376
19718
|
connect?: EventWhereUniqueInput
|
18377
19719
|
}
|
18378
19720
|
|
19721
|
+
export type TicketCreateNestedManyWithoutEventInput = {
|
19722
|
+
create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
|
19723
|
+
connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
|
19724
|
+
createMany?: TicketCreateManyEventInputEnvelope
|
19725
|
+
connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19726
|
+
}
|
19727
|
+
|
18379
19728
|
export type EventCreateNestedManyWithoutSupraEventInput = {
|
18380
19729
|
create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
|
18381
19730
|
connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
|
@@ -18396,6 +19745,13 @@ export namespace Prisma {
|
|
18396
19745
|
connect?: EventTicketWhereUniqueInput | EventTicketWhereUniqueInput[]
|
18397
19746
|
}
|
18398
19747
|
|
19748
|
+
export type TicketUncheckedCreateNestedManyWithoutEventInput = {
|
19749
|
+
create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
|
19750
|
+
connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
|
19751
|
+
createMany?: TicketCreateManyEventInputEnvelope
|
19752
|
+
connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19753
|
+
}
|
19754
|
+
|
18399
19755
|
export type EventUncheckedCreateNestedManyWithoutSupraEventInput = {
|
18400
19756
|
create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
|
18401
19757
|
connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
|
@@ -18452,6 +19808,20 @@ export namespace Prisma {
|
|
18452
19808
|
update?: XOR<XOR<EventUpdateToOneWithWhereWithoutSubEventsInput, EventUpdateWithoutSubEventsInput>, EventUncheckedUpdateWithoutSubEventsInput>
|
18453
19809
|
}
|
18454
19810
|
|
19811
|
+
export type TicketUpdateManyWithoutEventNestedInput = {
|
19812
|
+
create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
|
19813
|
+
connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
|
19814
|
+
upsert?: TicketUpsertWithWhereUniqueWithoutEventInput | TicketUpsertWithWhereUniqueWithoutEventInput[]
|
19815
|
+
createMany?: TicketCreateManyEventInputEnvelope
|
19816
|
+
set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19817
|
+
disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19818
|
+
delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19819
|
+
connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19820
|
+
update?: TicketUpdateWithWhereUniqueWithoutEventInput | TicketUpdateWithWhereUniqueWithoutEventInput[]
|
19821
|
+
updateMany?: TicketUpdateManyWithWhereWithoutEventInput | TicketUpdateManyWithWhereWithoutEventInput[]
|
19822
|
+
deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
|
19823
|
+
}
|
19824
|
+
|
18455
19825
|
export type EventUpdateManyWithoutSupraEventNestedInput = {
|
18456
19826
|
create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
|
18457
19827
|
connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
|
@@ -18493,6 +19863,20 @@ export namespace Prisma {
|
|
18493
19863
|
deleteMany?: EventTicketScalarWhereInput | EventTicketScalarWhereInput[]
|
18494
19864
|
}
|
18495
19865
|
|
19866
|
+
export type TicketUncheckedUpdateManyWithoutEventNestedInput = {
|
19867
|
+
create?: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput> | TicketCreateWithoutEventInput[] | TicketUncheckedCreateWithoutEventInput[]
|
19868
|
+
connectOrCreate?: TicketCreateOrConnectWithoutEventInput | TicketCreateOrConnectWithoutEventInput[]
|
19869
|
+
upsert?: TicketUpsertWithWhereUniqueWithoutEventInput | TicketUpsertWithWhereUniqueWithoutEventInput[]
|
19870
|
+
createMany?: TicketCreateManyEventInputEnvelope
|
19871
|
+
set?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19872
|
+
disconnect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19873
|
+
delete?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19874
|
+
connect?: TicketWhereUniqueInput | TicketWhereUniqueInput[]
|
19875
|
+
update?: TicketUpdateWithWhereUniqueWithoutEventInput | TicketUpdateWithWhereUniqueWithoutEventInput[]
|
19876
|
+
updateMany?: TicketUpdateManyWithWhereWithoutEventInput | TicketUpdateManyWithWhereWithoutEventInput[]
|
19877
|
+
deleteMany?: TicketScalarWhereInput | TicketScalarWhereInput[]
|
19878
|
+
}
|
19879
|
+
|
18496
19880
|
export type EventUncheckedUpdateManyWithoutSupraEventNestedInput = {
|
18497
19881
|
create?: XOR<EventCreateWithoutSupraEventInput, EventUncheckedCreateWithoutSupraEventInput> | EventCreateWithoutSupraEventInput[] | EventUncheckedCreateWithoutSupraEventInput[]
|
18498
19882
|
connectOrCreate?: EventCreateOrConnectWithoutSupraEventInput | EventCreateOrConnectWithoutSupraEventInput[]
|
@@ -18594,6 +19978,28 @@ export namespace Prisma {
|
|
18594
19978
|
update?: XOR<XOR<ProfileUpdateToOneWithWhereWithoutMessagesInput, ProfileUpdateWithoutMessagesInput>, ProfileUncheckedUpdateWithoutMessagesInput>
|
18595
19979
|
}
|
18596
19980
|
|
19981
|
+
export type EventCreateNestedOneWithoutTicketsInput = {
|
19982
|
+
create?: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
|
19983
|
+
connectOrCreate?: EventCreateOrConnectWithoutTicketsInput
|
19984
|
+
connect?: EventWhereUniqueInput
|
19985
|
+
}
|
19986
|
+
|
19987
|
+
export type EnumTicketTypeFieldUpdateOperationsInput = {
|
19988
|
+
set?: $Enums.TicketType
|
19989
|
+
}
|
19990
|
+
|
19991
|
+
export type EnumTicketStatusFieldUpdateOperationsInput = {
|
19992
|
+
set?: $Enums.TicketStatus
|
19993
|
+
}
|
19994
|
+
|
19995
|
+
export type EventUpdateOneRequiredWithoutTicketsNestedInput = {
|
19996
|
+
create?: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
|
19997
|
+
connectOrCreate?: EventCreateOrConnectWithoutTicketsInput
|
19998
|
+
upsert?: EventUpsertWithoutTicketsInput
|
19999
|
+
connect?: EventWhereUniqueInput
|
20000
|
+
update?: XOR<XOR<EventUpdateToOneWithWhereWithoutTicketsInput, EventUpdateWithoutTicketsInput>, EventUncheckedUpdateWithoutTicketsInput>
|
20001
|
+
}
|
20002
|
+
|
18597
20003
|
export type EnumTemplateStatusFieldUpdateOperationsInput = {
|
18598
20004
|
set?: $Enums.TemplateStatus
|
18599
20005
|
}
|
@@ -18608,10 +20014,6 @@ export namespace Prisma {
|
|
18608
20014
|
connect?: EventWhereUniqueInput
|
18609
20015
|
}
|
18610
20016
|
|
18611
|
-
export type EnumTicketTypeFieldUpdateOperationsInput = {
|
18612
|
-
set?: $Enums.TicketType
|
18613
|
-
}
|
18614
|
-
|
18615
20017
|
export type NullableFloatFieldUpdateOperationsInput = {
|
18616
20018
|
set?: number | null
|
18617
20019
|
increment?: number
|
@@ -18891,6 +20293,40 @@ export namespace Prisma {
|
|
18891
20293
|
_max?: NestedEnumMessageStateFilter<$PrismaModel>
|
18892
20294
|
}
|
18893
20295
|
|
20296
|
+
export type NestedEnumTicketTypeFilter<$PrismaModel = never> = {
|
20297
|
+
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
20298
|
+
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
20299
|
+
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
20300
|
+
not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
|
20301
|
+
}
|
20302
|
+
|
20303
|
+
export type NestedEnumTicketStatusFilter<$PrismaModel = never> = {
|
20304
|
+
equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
|
20305
|
+
in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
20306
|
+
notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
20307
|
+
not?: NestedEnumTicketStatusFilter<$PrismaModel> | $Enums.TicketStatus
|
20308
|
+
}
|
20309
|
+
|
20310
|
+
export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
|
20311
|
+
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
20312
|
+
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
20313
|
+
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
20314
|
+
not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
|
20315
|
+
_count?: NestedIntFilter<$PrismaModel>
|
20316
|
+
_min?: NestedEnumTicketTypeFilter<$PrismaModel>
|
20317
|
+
_max?: NestedEnumTicketTypeFilter<$PrismaModel>
|
20318
|
+
}
|
20319
|
+
|
20320
|
+
export type NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel = never> = {
|
20321
|
+
equals?: $Enums.TicketStatus | EnumTicketStatusFieldRefInput<$PrismaModel>
|
20322
|
+
in?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
20323
|
+
notIn?: $Enums.TicketStatus[] | ListEnumTicketStatusFieldRefInput<$PrismaModel>
|
20324
|
+
not?: NestedEnumTicketStatusWithAggregatesFilter<$PrismaModel> | $Enums.TicketStatus
|
20325
|
+
_count?: NestedIntFilter<$PrismaModel>
|
20326
|
+
_min?: NestedEnumTicketStatusFilter<$PrismaModel>
|
20327
|
+
_max?: NestedEnumTicketStatusFilter<$PrismaModel>
|
20328
|
+
}
|
20329
|
+
|
18894
20330
|
export type NestedEnumTemplateStatusFilter<$PrismaModel = never> = {
|
18895
20331
|
equals?: $Enums.TemplateStatus | EnumTemplateStatusFieldRefInput<$PrismaModel>
|
18896
20332
|
in?: $Enums.TemplateStatus[] | ListEnumTemplateStatusFieldRefInput<$PrismaModel>
|
@@ -18925,13 +20361,6 @@ export namespace Prisma {
|
|
18925
20361
|
_max?: NestedEnumTemplateCategoryFilter<$PrismaModel>
|
18926
20362
|
}
|
18927
20363
|
|
18928
|
-
export type NestedEnumTicketTypeFilter<$PrismaModel = never> = {
|
18929
|
-
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
18930
|
-
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18931
|
-
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18932
|
-
not?: NestedEnumTicketTypeFilter<$PrismaModel> | $Enums.TicketType
|
18933
|
-
}
|
18934
|
-
|
18935
20364
|
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
18936
20365
|
equals?: number | FloatFieldRefInput<$PrismaModel> | null
|
18937
20366
|
in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
|
@@ -18943,16 +20372,6 @@ export namespace Prisma {
|
|
18943
20372
|
not?: NestedFloatNullableFilter<$PrismaModel> | number | null
|
18944
20373
|
}
|
18945
20374
|
|
18946
|
-
export type NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel = never> = {
|
18947
|
-
equals?: $Enums.TicketType | EnumTicketTypeFieldRefInput<$PrismaModel>
|
18948
|
-
in?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18949
|
-
notIn?: $Enums.TicketType[] | ListEnumTicketTypeFieldRefInput<$PrismaModel>
|
18950
|
-
not?: NestedEnumTicketTypeWithAggregatesFilter<$PrismaModel> | $Enums.TicketType
|
18951
|
-
_count?: NestedIntFilter<$PrismaModel>
|
18952
|
-
_min?: NestedEnumTicketTypeFilter<$PrismaModel>
|
18953
|
-
_max?: NestedEnumTicketTypeFilter<$PrismaModel>
|
18954
|
-
}
|
18955
|
-
|
18956
20375
|
export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
|
18957
20376
|
equals?: number | FloatFieldRefInput<$PrismaModel> | null
|
18958
20377
|
in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null
|
@@ -19944,6 +21363,7 @@ export namespace Prisma {
|
|
19944
21363
|
folder?: EventFolderCreateNestedOneWithoutEventsInput
|
19945
21364
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
19946
21365
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
21366
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
19947
21367
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
19948
21368
|
tags?: TagCreateNestedManyWithoutEventInput
|
19949
21369
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
@@ -19962,6 +21382,7 @@ export namespace Prisma {
|
|
19962
21382
|
active?: boolean
|
19963
21383
|
created_at?: Date | string
|
19964
21384
|
updated_at?: Date | string
|
21385
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
19965
21386
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
19966
21387
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
19967
21388
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
@@ -19985,6 +21406,7 @@ export namespace Prisma {
|
|
19985
21406
|
folder?: EventFolderCreateNestedOneWithoutEventsInput
|
19986
21407
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
19987
21408
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
21409
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
19988
21410
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
19989
21411
|
tags?: TagCreateNestedManyWithoutEventInput
|
19990
21412
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
@@ -20003,6 +21425,7 @@ export namespace Prisma {
|
|
20003
21425
|
active?: boolean
|
20004
21426
|
created_at?: Date | string
|
20005
21427
|
updated_at?: Date | string
|
21428
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
20006
21429
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
20007
21430
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
20008
21431
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
@@ -20146,6 +21569,7 @@ export namespace Prisma {
|
|
20146
21569
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
20147
21570
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
20148
21571
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
21572
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
20149
21573
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
20150
21574
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
20151
21575
|
}
|
@@ -20164,6 +21588,7 @@ export namespace Prisma {
|
|
20164
21588
|
active?: boolean
|
20165
21589
|
created_at?: Date | string
|
20166
21590
|
updated_at?: Date | string
|
21591
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
20167
21592
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
20168
21593
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
20169
21594
|
}
|
@@ -20226,6 +21651,7 @@ export namespace Prisma {
|
|
20226
21651
|
folder?: EventFolderUpdateOneWithoutEventsNestedInput
|
20227
21652
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
20228
21653
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
21654
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
20229
21655
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
20230
21656
|
tags?: TagUpdateManyWithoutEventNestedInput
|
20231
21657
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
@@ -20244,6 +21670,7 @@ export namespace Prisma {
|
|
20244
21670
|
active?: BoolFieldUpdateOperationsInput | boolean
|
20245
21671
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20246
21672
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21673
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
20247
21674
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
20248
21675
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
20249
21676
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
@@ -20273,6 +21700,7 @@ export namespace Prisma {
|
|
20273
21700
|
folder?: EventFolderUpdateOneWithoutEventsNestedInput
|
20274
21701
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
20275
21702
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
21703
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
20276
21704
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
20277
21705
|
tags?: TagUpdateManyWithoutEventNestedInput
|
20278
21706
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
@@ -20291,6 +21719,7 @@ export namespace Prisma {
|
|
20291
21719
|
active?: BoolFieldUpdateOperationsInput | boolean
|
20292
21720
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20293
21721
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21722
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
20294
21723
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
20295
21724
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
20296
21725
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
@@ -20548,6 +21977,7 @@ export namespace Prisma {
|
|
20548
21977
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
20549
21978
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
20550
21979
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
21980
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
20551
21981
|
tags?: TagCreateNestedManyWithoutEventInput
|
20552
21982
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
20553
21983
|
}
|
@@ -20566,6 +21996,7 @@ export namespace Prisma {
|
|
20566
21996
|
active?: boolean
|
20567
21997
|
created_at?: Date | string
|
20568
21998
|
updated_at?: Date | string
|
21999
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
20569
22000
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
20570
22001
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
20571
22002
|
}
|
@@ -20575,6 +22006,36 @@ export namespace Prisma {
|
|
20575
22006
|
create: XOR<EventCreateWithoutSubEventsInput, EventUncheckedCreateWithoutSubEventsInput>
|
20576
22007
|
}
|
20577
22008
|
|
22009
|
+
export type TicketCreateWithoutEventInput = {
|
22010
|
+
id?: string
|
22011
|
+
type: $Enums.TicketType
|
22012
|
+
status: $Enums.TicketStatus
|
22013
|
+
fullName: string
|
22014
|
+
mail: string
|
22015
|
+
created_at?: Date | string
|
22016
|
+
updated_at?: Date | string
|
22017
|
+
}
|
22018
|
+
|
22019
|
+
export type TicketUncheckedCreateWithoutEventInput = {
|
22020
|
+
id?: string
|
22021
|
+
type: $Enums.TicketType
|
22022
|
+
status: $Enums.TicketStatus
|
22023
|
+
fullName: string
|
22024
|
+
mail: string
|
22025
|
+
created_at?: Date | string
|
22026
|
+
updated_at?: Date | string
|
22027
|
+
}
|
22028
|
+
|
22029
|
+
export type TicketCreateOrConnectWithoutEventInput = {
|
22030
|
+
where: TicketWhereUniqueInput
|
22031
|
+
create: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput>
|
22032
|
+
}
|
22033
|
+
|
22034
|
+
export type TicketCreateManyEventInputEnvelope = {
|
22035
|
+
data: TicketCreateManyEventInput | TicketCreateManyEventInput[]
|
22036
|
+
skipDuplicates?: boolean
|
22037
|
+
}
|
22038
|
+
|
20578
22039
|
export type EventCreateWithoutSupraEventInput = {
|
20579
22040
|
id?: string
|
20580
22041
|
name: string
|
@@ -20588,6 +22049,7 @@ export namespace Prisma {
|
|
20588
22049
|
folder?: EventFolderCreateNestedOneWithoutEventsInput
|
20589
22050
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
20590
22051
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
22052
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
20591
22053
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
20592
22054
|
tags?: TagCreateNestedManyWithoutEventInput
|
20593
22055
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
@@ -20606,6 +22068,7 @@ export namespace Prisma {
|
|
20606
22068
|
active?: boolean
|
20607
22069
|
created_at?: Date | string
|
20608
22070
|
updated_at?: Date | string
|
22071
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
20609
22072
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
20610
22073
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
20611
22074
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
@@ -20812,6 +22275,7 @@ export namespace Prisma {
|
|
20812
22275
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
20813
22276
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
20814
22277
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
22278
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
20815
22279
|
tags?: TagUpdateManyWithoutEventNestedInput
|
20816
22280
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
20817
22281
|
}
|
@@ -20830,10 +22294,41 @@ export namespace Prisma {
|
|
20830
22294
|
active?: BoolFieldUpdateOperationsInput | boolean
|
20831
22295
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
20832
22296
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22297
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
20833
22298
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
20834
22299
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
20835
22300
|
}
|
20836
22301
|
|
22302
|
+
export type TicketUpsertWithWhereUniqueWithoutEventInput = {
|
22303
|
+
where: TicketWhereUniqueInput
|
22304
|
+
update: XOR<TicketUpdateWithoutEventInput, TicketUncheckedUpdateWithoutEventInput>
|
22305
|
+
create: XOR<TicketCreateWithoutEventInput, TicketUncheckedCreateWithoutEventInput>
|
22306
|
+
}
|
22307
|
+
|
22308
|
+
export type TicketUpdateWithWhereUniqueWithoutEventInput = {
|
22309
|
+
where: TicketWhereUniqueInput
|
22310
|
+
data: XOR<TicketUpdateWithoutEventInput, TicketUncheckedUpdateWithoutEventInput>
|
22311
|
+
}
|
22312
|
+
|
22313
|
+
export type TicketUpdateManyWithWhereWithoutEventInput = {
|
22314
|
+
where: TicketScalarWhereInput
|
22315
|
+
data: XOR<TicketUpdateManyMutationInput, TicketUncheckedUpdateManyWithoutEventInput>
|
22316
|
+
}
|
22317
|
+
|
22318
|
+
export type TicketScalarWhereInput = {
|
22319
|
+
AND?: TicketScalarWhereInput | TicketScalarWhereInput[]
|
22320
|
+
OR?: TicketScalarWhereInput[]
|
22321
|
+
NOT?: TicketScalarWhereInput | TicketScalarWhereInput[]
|
22322
|
+
id?: StringFilter<"Ticket"> | string
|
22323
|
+
eventId?: StringFilter<"Ticket"> | string
|
22324
|
+
type?: EnumTicketTypeFilter<"Ticket"> | $Enums.TicketType
|
22325
|
+
status?: EnumTicketStatusFilter<"Ticket"> | $Enums.TicketStatus
|
22326
|
+
fullName?: StringFilter<"Ticket"> | string
|
22327
|
+
mail?: StringFilter<"Ticket"> | string
|
22328
|
+
created_at?: DateTimeFilter<"Ticket"> | Date | string
|
22329
|
+
updated_at?: DateTimeFilter<"Ticket"> | Date | string
|
22330
|
+
}
|
22331
|
+
|
20837
22332
|
export type EventUpsertWithWhereUniqueWithoutSupraEventInput = {
|
20838
22333
|
where: EventWhereUniqueInput
|
20839
22334
|
update: XOR<EventUpdateWithoutSupraEventInput, EventUncheckedUpdateWithoutSupraEventInput>
|
@@ -20908,6 +22403,7 @@ export namespace Prisma {
|
|
20908
22403
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
20909
22404
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
20910
22405
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
22406
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
20911
22407
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
20912
22408
|
tags?: TagCreateNestedManyWithoutEventInput
|
20913
22409
|
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
@@ -20926,6 +22422,7 @@ export namespace Prisma {
|
|
20926
22422
|
active?: boolean
|
20927
22423
|
created_at?: Date | string
|
20928
22424
|
updated_at?: Date | string
|
22425
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
20929
22426
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
20930
22427
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
20931
22428
|
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
@@ -21069,6 +22566,98 @@ export namespace Prisma {
|
|
21069
22566
|
tags?: TagUncheckedUpdateManyWithoutProfilesNestedInput
|
21070
22567
|
}
|
21071
22568
|
|
22569
|
+
export type EventCreateWithoutTicketsInput = {
|
22570
|
+
id?: string
|
22571
|
+
name: string
|
22572
|
+
date: Date | string
|
22573
|
+
startingDate: Date | string
|
22574
|
+
endingDate: Date | string
|
22575
|
+
location: string
|
22576
|
+
active?: boolean
|
22577
|
+
created_at?: Date | string
|
22578
|
+
updated_at?: Date | string
|
22579
|
+
folder?: EventFolderCreateNestedOneWithoutEventsInput
|
22580
|
+
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
22581
|
+
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
22582
|
+
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
22583
|
+
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
22584
|
+
tags?: TagCreateNestedManyWithoutEventInput
|
22585
|
+
eventTickets?: EventTicketCreateNestedManyWithoutEventInput
|
22586
|
+
}
|
22587
|
+
|
22588
|
+
export type EventUncheckedCreateWithoutTicketsInput = {
|
22589
|
+
id?: string
|
22590
|
+
name: string
|
22591
|
+
date: Date | string
|
22592
|
+
startingDate: Date | string
|
22593
|
+
endingDate: Date | string
|
22594
|
+
location: string
|
22595
|
+
folderId?: string | null
|
22596
|
+
tagAssistedId: string
|
22597
|
+
tagConfirmedId: string
|
22598
|
+
supraEventId?: string | null
|
22599
|
+
active?: boolean
|
22600
|
+
created_at?: Date | string
|
22601
|
+
updated_at?: Date | string
|
22602
|
+
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
22603
|
+
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
22604
|
+
eventTickets?: EventTicketUncheckedCreateNestedManyWithoutEventInput
|
22605
|
+
}
|
22606
|
+
|
22607
|
+
export type EventCreateOrConnectWithoutTicketsInput = {
|
22608
|
+
where: EventWhereUniqueInput
|
22609
|
+
create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
|
22610
|
+
}
|
22611
|
+
|
22612
|
+
export type EventUpsertWithoutTicketsInput = {
|
22613
|
+
update: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
|
22614
|
+
create: XOR<EventCreateWithoutTicketsInput, EventUncheckedCreateWithoutTicketsInput>
|
22615
|
+
where?: EventWhereInput
|
22616
|
+
}
|
22617
|
+
|
22618
|
+
export type EventUpdateToOneWithWhereWithoutTicketsInput = {
|
22619
|
+
where?: EventWhereInput
|
22620
|
+
data: XOR<EventUpdateWithoutTicketsInput, EventUncheckedUpdateWithoutTicketsInput>
|
22621
|
+
}
|
22622
|
+
|
22623
|
+
export type EventUpdateWithoutTicketsInput = {
|
22624
|
+
id?: StringFieldUpdateOperationsInput | string
|
22625
|
+
name?: StringFieldUpdateOperationsInput | string
|
22626
|
+
date?: DateTimeFieldUpdateOperationsInput | Date | string
|
22627
|
+
startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
|
22628
|
+
endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
|
22629
|
+
location?: StringFieldUpdateOperationsInput | string
|
22630
|
+
active?: BoolFieldUpdateOperationsInput | boolean
|
22631
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22632
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22633
|
+
folder?: EventFolderUpdateOneWithoutEventsNestedInput
|
22634
|
+
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
22635
|
+
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
22636
|
+
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
22637
|
+
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
22638
|
+
tags?: TagUpdateManyWithoutEventNestedInput
|
22639
|
+
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
22640
|
+
}
|
22641
|
+
|
22642
|
+
export type EventUncheckedUpdateWithoutTicketsInput = {
|
22643
|
+
id?: StringFieldUpdateOperationsInput | string
|
22644
|
+
name?: StringFieldUpdateOperationsInput | string
|
22645
|
+
date?: DateTimeFieldUpdateOperationsInput | Date | string
|
22646
|
+
startingDate?: DateTimeFieldUpdateOperationsInput | Date | string
|
22647
|
+
endingDate?: DateTimeFieldUpdateOperationsInput | Date | string
|
22648
|
+
location?: StringFieldUpdateOperationsInput | string
|
22649
|
+
folderId?: NullableStringFieldUpdateOperationsInput | string | null
|
22650
|
+
tagAssistedId?: StringFieldUpdateOperationsInput | string
|
22651
|
+
tagConfirmedId?: StringFieldUpdateOperationsInput | string
|
22652
|
+
supraEventId?: NullableStringFieldUpdateOperationsInput | string | null
|
22653
|
+
active?: BoolFieldUpdateOperationsInput | boolean
|
22654
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22655
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22656
|
+
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
22657
|
+
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
22658
|
+
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
22659
|
+
}
|
22660
|
+
|
21072
22661
|
export type EventCreateWithoutEventTicketsInput = {
|
21073
22662
|
id?: string
|
21074
22663
|
name: string
|
@@ -21083,6 +22672,7 @@ export namespace Prisma {
|
|
21083
22672
|
tagAssisted: TagCreateNestedOneWithoutAssistedEventInput
|
21084
22673
|
tagConfirmed: TagCreateNestedOneWithoutConfirmedEventInput
|
21085
22674
|
supraEvent?: EventCreateNestedOneWithoutSubEventsInput
|
22675
|
+
tickets?: TicketCreateNestedManyWithoutEventInput
|
21086
22676
|
subEvents?: EventCreateNestedManyWithoutSupraEventInput
|
21087
22677
|
tags?: TagCreateNestedManyWithoutEventInput
|
21088
22678
|
}
|
@@ -21101,6 +22691,7 @@ export namespace Prisma {
|
|
21101
22691
|
active?: boolean
|
21102
22692
|
created_at?: Date | string
|
21103
22693
|
updated_at?: Date | string
|
22694
|
+
tickets?: TicketUncheckedCreateNestedManyWithoutEventInput
|
21104
22695
|
subEvents?: EventUncheckedCreateNestedManyWithoutSupraEventInput
|
21105
22696
|
tags?: TagUncheckedCreateNestedManyWithoutEventInput
|
21106
22697
|
}
|
@@ -21135,6 +22726,7 @@ export namespace Prisma {
|
|
21135
22726
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
21136
22727
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
21137
22728
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
22729
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
21138
22730
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
21139
22731
|
tags?: TagUpdateManyWithoutEventNestedInput
|
21140
22732
|
}
|
@@ -21153,6 +22745,7 @@ export namespace Prisma {
|
|
21153
22745
|
active?: BoolFieldUpdateOperationsInput | boolean
|
21154
22746
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21155
22747
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22748
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
21156
22749
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
21157
22750
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
21158
22751
|
}
|
@@ -21790,6 +23383,7 @@ export namespace Prisma {
|
|
21790
23383
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
21791
23384
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
21792
23385
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
23386
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
21793
23387
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
21794
23388
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
21795
23389
|
}
|
@@ -21808,6 +23402,7 @@ export namespace Prisma {
|
|
21808
23402
|
active?: BoolFieldUpdateOperationsInput | boolean
|
21809
23403
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21810
23404
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23405
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
21811
23406
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
21812
23407
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
21813
23408
|
}
|
@@ -21872,6 +23467,16 @@ export namespace Prisma {
|
|
21872
23467
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21873
23468
|
}
|
21874
23469
|
|
23470
|
+
export type TicketCreateManyEventInput = {
|
23471
|
+
id?: string
|
23472
|
+
type: $Enums.TicketType
|
23473
|
+
status: $Enums.TicketStatus
|
23474
|
+
fullName: string
|
23475
|
+
mail: string
|
23476
|
+
created_at?: Date | string
|
23477
|
+
updated_at?: Date | string
|
23478
|
+
}
|
23479
|
+
|
21875
23480
|
export type EventCreateManySupraEventInput = {
|
21876
23481
|
id?: string
|
21877
23482
|
name: string
|
@@ -21896,6 +23501,36 @@ export namespace Prisma {
|
|
21896
23501
|
updated_at?: Date | string
|
21897
23502
|
}
|
21898
23503
|
|
23504
|
+
export type TicketUpdateWithoutEventInput = {
|
23505
|
+
id?: StringFieldUpdateOperationsInput | string
|
23506
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
23507
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
23508
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
23509
|
+
mail?: StringFieldUpdateOperationsInput | string
|
23510
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23511
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23512
|
+
}
|
23513
|
+
|
23514
|
+
export type TicketUncheckedUpdateWithoutEventInput = {
|
23515
|
+
id?: StringFieldUpdateOperationsInput | string
|
23516
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
23517
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
23518
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
23519
|
+
mail?: StringFieldUpdateOperationsInput | string
|
23520
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23521
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23522
|
+
}
|
23523
|
+
|
23524
|
+
export type TicketUncheckedUpdateManyWithoutEventInput = {
|
23525
|
+
id?: StringFieldUpdateOperationsInput | string
|
23526
|
+
type?: EnumTicketTypeFieldUpdateOperationsInput | $Enums.TicketType
|
23527
|
+
status?: EnumTicketStatusFieldUpdateOperationsInput | $Enums.TicketStatus
|
23528
|
+
fullName?: StringFieldUpdateOperationsInput | string
|
23529
|
+
mail?: StringFieldUpdateOperationsInput | string
|
23530
|
+
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23531
|
+
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23532
|
+
}
|
23533
|
+
|
21899
23534
|
export type EventUpdateWithoutSupraEventInput = {
|
21900
23535
|
id?: StringFieldUpdateOperationsInput | string
|
21901
23536
|
name?: StringFieldUpdateOperationsInput | string
|
@@ -21909,6 +23544,7 @@ export namespace Prisma {
|
|
21909
23544
|
folder?: EventFolderUpdateOneWithoutEventsNestedInput
|
21910
23545
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
21911
23546
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
23547
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
21912
23548
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
21913
23549
|
tags?: TagUpdateManyWithoutEventNestedInput
|
21914
23550
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
@@ -21927,6 +23563,7 @@ export namespace Prisma {
|
|
21927
23563
|
active?: BoolFieldUpdateOperationsInput | boolean
|
21928
23564
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
21929
23565
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23566
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
21930
23567
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
21931
23568
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
21932
23569
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
@@ -22039,6 +23676,7 @@ export namespace Prisma {
|
|
22039
23676
|
tagAssisted?: TagUpdateOneRequiredWithoutAssistedEventNestedInput
|
22040
23677
|
tagConfirmed?: TagUpdateOneRequiredWithoutConfirmedEventNestedInput
|
22041
23678
|
supraEvent?: EventUpdateOneWithoutSubEventsNestedInput
|
23679
|
+
tickets?: TicketUpdateManyWithoutEventNestedInput
|
22042
23680
|
subEvents?: EventUpdateManyWithoutSupraEventNestedInput
|
22043
23681
|
tags?: TagUpdateManyWithoutEventNestedInput
|
22044
23682
|
eventTickets?: EventTicketUpdateManyWithoutEventNestedInput
|
@@ -22057,6 +23695,7 @@ export namespace Prisma {
|
|
22057
23695
|
active?: BoolFieldUpdateOperationsInput | boolean
|
22058
23696
|
created_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
22059
23697
|
updated_at?: DateTimeFieldUpdateOperationsInput | Date | string
|
23698
|
+
tickets?: TicketUncheckedUpdateManyWithoutEventNestedInput
|
22060
23699
|
subEvents?: EventUncheckedUpdateManyWithoutSupraEventNestedInput
|
22061
23700
|
tags?: TagUncheckedUpdateManyWithoutEventNestedInput
|
22062
23701
|
eventTickets?: EventTicketUncheckedUpdateManyWithoutEventNestedInput
|
@@ -22150,6 +23789,10 @@ export namespace Prisma {
|
|
22150
23789
|
* @deprecated Use CannedResponseDefaultArgs instead
|
22151
23790
|
*/
|
22152
23791
|
export type CannedResponseArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CannedResponseDefaultArgs<ExtArgs>
|
23792
|
+
/**
|
23793
|
+
* @deprecated Use TicketDefaultArgs instead
|
23794
|
+
*/
|
23795
|
+
export type TicketArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TicketDefaultArgs<ExtArgs>
|
22153
23796
|
/**
|
22154
23797
|
* @deprecated Use EnumsDefaultArgs instead
|
22155
23798
|
*/
|