@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/auth/admin.middleware.d.ts.map +1 -1
  2. package/dist/auth/admin.middleware.js +1 -1
  3. package/dist/auth/admin.middleware.js.map +1 -1
  4. package/dist/auth/auth.guard.d.ts.map +1 -1
  5. package/dist/auth/auth.guard.js +9 -4
  6. package/dist/auth/auth.guard.js.map +1 -1
  7. package/dist/auth/auth.module.d.ts +1 -1
  8. package/dist/auth/auth.module.d.ts.map +1 -1
  9. package/dist/generated/prisma/client.d.ts.map +1 -1
  10. package/dist/generated/prisma/client.js.map +1 -1
  11. package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
  12. package/dist/generated/prisma/commonInputTypes.js.map +1 -1
  13. package/dist/generated/prisma/enums.d.ts.map +1 -1
  14. package/dist/generated/prisma/enums.js.map +1 -1
  15. package/dist/generated/prisma/internal/class.d.ts.map +1 -1
  16. package/dist/generated/prisma/internal/class.js +1 -1
  17. package/dist/generated/prisma/internal/class.js.map +1 -1
  18. package/dist/generated/prisma/internal/prismaNamespace.d.ts +21 -26
  19. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
  20. package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
  21. package/dist/generated/prisma/models/Account.d.ts.map +1 -1
  22. package/dist/generated/prisma/models/Account.js.map +1 -1
  23. package/dist/generated/prisma/models/Address.d.ts.map +1 -1
  24. package/dist/generated/prisma/models/Address.js.map +1 -1
  25. package/dist/generated/prisma/models/Chat.d.ts.map +1 -1
  26. package/dist/generated/prisma/models/Chat.js.map +1 -1
  27. package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -1
  28. package/dist/generated/prisma/models/ChatUser.js.map +1 -1
  29. package/dist/generated/prisma/models/Country.d.ts.map +1 -1
  30. package/dist/generated/prisma/models/Country.js.map +1 -1
  31. package/dist/generated/prisma/models/Event.d.ts.map +1 -1
  32. package/dist/generated/prisma/models/Event.js.map +1 -1
  33. package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -1
  34. package/dist/generated/prisma/models/EventCategory.js.map +1 -1
  35. package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -1
  36. package/dist/generated/prisma/models/EventPrice.js.map +1 -1
  37. package/dist/generated/prisma/models/Favorite.d.ts.map +1 -1
  38. package/dist/generated/prisma/models/Favorite.js.map +1 -1
  39. package/dist/generated/prisma/models/Feedback.d.ts.map +1 -1
  40. package/dist/generated/prisma/models/Feedback.js.map +1 -1
  41. package/dist/generated/prisma/models/Message.d.ts.map +1 -1
  42. package/dist/generated/prisma/models/Message.js.map +1 -1
  43. package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -1
  44. package/dist/generated/prisma/models/Newsletter.js.map +1 -1
  45. package/dist/generated/prisma/models/Notification.d.ts.map +1 -1
  46. package/dist/generated/prisma/models/Notification.js.map +1 -1
  47. package/dist/generated/prisma/models/Order.d.ts.map +1 -1
  48. package/dist/generated/prisma/models/Order.js.map +1 -1
  49. package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -1
  50. package/dist/generated/prisma/models/OrderItem.js.map +1 -1
  51. package/dist/generated/prisma/models/Pricing.d.ts.map +1 -1
  52. package/dist/generated/prisma/models/Pricing.js.map +1 -1
  53. package/dist/generated/prisma/models/Provider.d.ts.map +1 -1
  54. package/dist/generated/prisma/models/Provider.js.map +1 -1
  55. package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -1
  56. package/dist/generated/prisma/models/ProviderCategory.js.map +1 -1
  57. package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -1
  58. package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -1
  59. package/dist/generated/prisma/models/Report.d.ts.map +1 -1
  60. package/dist/generated/prisma/models/Report.js.map +1 -1
  61. package/dist/generated/prisma/models/Review.d.ts.map +1 -1
  62. package/dist/generated/prisma/models/Review.js.map +1 -1
  63. package/dist/generated/prisma/models/Transaction.d.ts.map +1 -1
  64. package/dist/generated/prisma/models/Transaction.js.map +1 -1
  65. package/dist/generated/prisma/models/User.d.ts.map +1 -1
  66. package/dist/generated/prisma/models/User.js.map +1 -1
  67. package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -1
  68. package/dist/generated/prisma/models/UserInterests.js.map +1 -1
  69. package/dist/generated/prisma/models.d.ts.map +1 -1
  70. package/dist/generated/prisma/models.js.map +1 -1
  71. package/dist/index.js +1 -1
  72. package/dist/index.js.map +1 -1
  73. package/dist/prisma/prisma.service.js +1 -1
  74. package/dist/prisma/prisma.service.js.map +1 -1
  75. package/dist/prisma/seed.js +6 -2
  76. package/dist/prisma/seed.js.map +1 -1
  77. package/package.json +1 -2
  78. package/prisma/schema.prisma +1 -1
  79. package/src/auth/admin.middleware.ts +2 -1
  80. package/src/auth/auth.guard.ts +2 -1
  81. package/{generated/prisma/client → src/generated/prisma}/internal/class.ts +1 -1
  82. package/src/prisma/seed.ts +1 -1
  83. package/tsconfig.json +4 -3
  84. package/generated/prisma/client/browser.ts +0 -139
  85. package/generated/prisma/client/client.ts +0 -163
  86. package/generated/prisma/client.d.ts +0 -33
  87. package/generated/prisma/client.d.ts.map +0 -1
  88. package/generated/prisma/client.js +0 -10
  89. package/generated/prisma/client.js.map +0 -1
  90. package/generated/prisma/commonInputTypes.d.ts +0 -966
  91. package/generated/prisma/commonInputTypes.d.ts.map +0 -1
  92. package/generated/prisma/commonInputTypes.js +0 -2
  93. package/generated/prisma/commonInputTypes.js.map +0 -1
  94. package/generated/prisma/commonInputTypes.ts +0 -1102
  95. package/generated/prisma/enums.d.ts +0 -111
  96. package/generated/prisma/enums.d.ts.map +0 -1
  97. package/generated/prisma/enums.js +0 -93
  98. package/generated/prisma/enums.js.map +0 -1
  99. package/generated/prisma/enums.ts +0 -173
  100. package/generated/prisma/internal/class.d.ts +0 -105
  101. package/generated/prisma/internal/class.d.ts.map +0 -1
  102. package/generated/prisma/internal/class.js +0 -39
  103. package/generated/prisma/internal/class.js.map +0 -1
  104. package/generated/prisma/internal/class.ts +0 -434
  105. package/generated/prisma/internal/prismaNamespace.d.ts +0 -2431
  106. package/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
  107. package/generated/prisma/internal/prismaNamespace.js +0 -338
  108. package/generated/prisma/internal/prismaNamespace.js.map +0 -1
  109. package/generated/prisma/internal/prismaNamespace.ts +0 -3141
  110. package/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -489
  111. package/generated/prisma/models/Account.d.ts +0 -582
  112. package/generated/prisma/models/Account.d.ts.map +0 -1
  113. package/generated/prisma/models/Account.js +0 -2
  114. package/generated/prisma/models/Account.js.map +0 -1
  115. package/generated/prisma/models/Account.ts +0 -1384
  116. package/generated/prisma/models/Address.d.ts +0 -930
  117. package/generated/prisma/models/Address.d.ts.map +0 -1
  118. package/generated/prisma/models/Address.js +0 -2
  119. package/generated/prisma/models/Address.js.map +0 -1
  120. package/generated/prisma/models/Address.ts +0 -1791
  121. package/generated/prisma/models/Chat.d.ts +0 -788
  122. package/generated/prisma/models/Chat.d.ts.map +0 -1
  123. package/generated/prisma/models/Chat.js +0 -2
  124. package/generated/prisma/models/Chat.js.map +0 -1
  125. package/generated/prisma/models/Chat.ts +0 -1676
  126. package/generated/prisma/models/ChatUser.d.ts +0 -648
  127. package/generated/prisma/models/ChatUser.d.ts.map +0 -1
  128. package/generated/prisma/models/ChatUser.js +0 -2
  129. package/generated/prisma/models/ChatUser.js.map +0 -1
  130. package/generated/prisma/models/ChatUser.ts +0 -1465
  131. package/generated/prisma/models/Country.d.ts +0 -543
  132. package/generated/prisma/models/Country.d.ts.map +0 -1
  133. package/generated/prisma/models/Country.js +0 -2
  134. package/generated/prisma/models/Country.js.map +0 -1
  135. package/generated/prisma/models/Country.ts +0 -1361
  136. package/generated/prisma/models/Event.d.ts +0 -3206
  137. package/generated/prisma/models/Event.d.ts.map +0 -1
  138. package/generated/prisma/models/Event.js +0 -2
  139. package/generated/prisma/models/Event.js.map +0 -1
  140. package/generated/prisma/models/Event.ts +0 -4258
  141. package/generated/prisma/models/EventCategory.d.ts +0 -1004
  142. package/generated/prisma/models/EventCategory.d.ts.map +0 -1
  143. package/generated/prisma/models/EventCategory.js +0 -2
  144. package/generated/prisma/models/EventCategory.js.map +0 -1
  145. package/generated/prisma/models/EventCategory.ts +0 -1919
  146. package/generated/prisma/models/EventPrice.d.ts +0 -798
  147. package/generated/prisma/models/EventPrice.d.ts.map +0 -1
  148. package/generated/prisma/models/EventPrice.js +0 -2
  149. package/generated/prisma/models/EventPrice.js.map +0 -1
  150. package/generated/prisma/models/EventPrice.ts +0 -1657
  151. package/generated/prisma/models/Favorite.d.ts +0 -648
  152. package/generated/prisma/models/Favorite.d.ts.map +0 -1
  153. package/generated/prisma/models/Favorite.js +0 -2
  154. package/generated/prisma/models/Favorite.js.map +0 -1
  155. package/generated/prisma/models/Favorite.ts +0 -1465
  156. package/generated/prisma/models/Feedback.d.ts +0 -682
  157. package/generated/prisma/models/Feedback.d.ts.map +0 -1
  158. package/generated/prisma/models/Feedback.js +0 -2
  159. package/generated/prisma/models/Feedback.js.map +0 -1
  160. package/generated/prisma/models/Feedback.ts +0 -1513
  161. package/generated/prisma/models/Message.d.ts +0 -724
  162. package/generated/prisma/models/Message.d.ts.map +0 -1
  163. package/generated/prisma/models/Message.js +0 -2
  164. package/generated/prisma/models/Message.js.map +0 -1
  165. package/generated/prisma/models/Message.ts +0 -1541
  166. package/generated/prisma/models/Newsletter.d.ts +0 -404
  167. package/generated/prisma/models/Newsletter.d.ts.map +0 -1
  168. package/generated/prisma/models/Newsletter.js +0 -2
  169. package/generated/prisma/models/Newsletter.js.map +0 -1
  170. package/generated/prisma/models/Newsletter.ts +0 -1153
  171. package/generated/prisma/models/Notification.d.ts +0 -775
  172. package/generated/prisma/models/Notification.d.ts.map +0 -1
  173. package/generated/prisma/models/Notification.js +0 -2
  174. package/generated/prisma/models/Notification.js.map +0 -1
  175. package/generated/prisma/models/Notification.ts +0 -1605
  176. package/generated/prisma/models/Order.d.ts +0 -1009
  177. package/generated/prisma/models/Order.d.ts.map +0 -1
  178. package/generated/prisma/models/Order.js +0 -2
  179. package/generated/prisma/models/Order.js.map +0 -1
  180. package/generated/prisma/models/Order.ts +0 -1883
  181. package/generated/prisma/models/OrderItem.d.ts +0 -806
  182. package/generated/prisma/models/OrderItem.d.ts.map +0 -1
  183. package/generated/prisma/models/OrderItem.js +0 -2
  184. package/generated/prisma/models/OrderItem.js.map +0 -1
  185. package/generated/prisma/models/OrderItem.ts +0 -1641
  186. package/generated/prisma/models/Pricing.d.ts +0 -739
  187. package/generated/prisma/models/Pricing.d.ts.map +0 -1
  188. package/generated/prisma/models/Pricing.js +0 -2
  189. package/generated/prisma/models/Pricing.js.map +0 -1
  190. package/generated/prisma/models/Pricing.ts +0 -1576
  191. package/generated/prisma/models/Provider.d.ts +0 -1650
  192. package/generated/prisma/models/Provider.d.ts.map +0 -1
  193. package/generated/prisma/models/Provider.js +0 -2
  194. package/generated/prisma/models/Provider.js.map +0 -1
  195. package/generated/prisma/models/Provider.ts +0 -2577
  196. package/generated/prisma/models/ProviderCategory.d.ts +0 -830
  197. package/generated/prisma/models/ProviderCategory.d.ts.map +0 -1
  198. package/generated/prisma/models/ProviderCategory.js +0 -2
  199. package/generated/prisma/models/ProviderCategory.js.map +0 -1
  200. package/generated/prisma/models/ProviderCategory.ts +0 -1712
  201. package/generated/prisma/models/ProviderOnEvent.d.ts +0 -693
  202. package/generated/prisma/models/ProviderOnEvent.d.ts.map +0 -1
  203. package/generated/prisma/models/ProviderOnEvent.js +0 -2
  204. package/generated/prisma/models/ProviderOnEvent.js.map +0 -1
  205. package/generated/prisma/models/ProviderOnEvent.ts +0 -1510
  206. package/generated/prisma/models/Report.d.ts +0 -689
  207. package/generated/prisma/models/Report.d.ts.map +0 -1
  208. package/generated/prisma/models/Report.js +0 -2
  209. package/generated/prisma/models/Report.js.map +0 -1
  210. package/generated/prisma/models/Report.ts +0 -1506
  211. package/generated/prisma/models/Review.d.ts +0 -758
  212. package/generated/prisma/models/Review.d.ts.map +0 -1
  213. package/generated/prisma/models/Review.js +0 -2
  214. package/generated/prisma/models/Review.js.map +0 -1
  215. package/generated/prisma/models/Review.ts +0 -1591
  216. package/generated/prisma/models/Transaction.d.ts +0 -894
  217. package/generated/prisma/models/Transaction.d.ts.map +0 -1
  218. package/generated/prisma/models/Transaction.js +0 -2
  219. package/generated/prisma/models/Transaction.js.map +0 -1
  220. package/generated/prisma/models/Transaction.ts +0 -1741
  221. package/generated/prisma/models/User.d.ts +0 -2966
  222. package/generated/prisma/models/User.d.ts.map +0 -1
  223. package/generated/prisma/models/User.js +0 -2
  224. package/generated/prisma/models/User.js.map +0 -1
  225. package/generated/prisma/models/User.ts +0 -4124
  226. package/generated/prisma/models/UserInterests.d.ts +0 -605
  227. package/generated/prisma/models/UserInterests.d.ts.map +0 -1
  228. package/generated/prisma/models/UserInterests.js +0 -2
  229. package/generated/prisma/models/UserInterests.js.map +0 -1
  230. package/generated/prisma/models/UserInterests.ts +0 -1447
  231. package/generated/prisma/models.d.ts +0 -26
  232. package/generated/prisma/models.d.ts.map +0 -1
  233. package/generated/prisma/models.js +0 -2
  234. package/generated/prisma/models.js.map +0 -1
  235. package/generated/prisma/models.ts +0 -35
  236. /package/{generated → src/generated}/prisma/browser.ts +0 -0
  237. /package/{generated → src/generated}/prisma/client.ts +0 -0
  238. /package/{generated/prisma/client → src/generated/prisma}/commonInputTypes.ts +0 -0
  239. /package/{generated/prisma/client → src/generated/prisma}/enums.ts +0 -0
  240. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespace.ts +0 -0
  241. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespaceBrowser.ts +0 -0
  242. /package/{generated/prisma/client → src/generated/prisma}/models/Account.ts +0 -0
  243. /package/{generated/prisma/client → src/generated/prisma}/models/Address.ts +0 -0
  244. /package/{generated/prisma/client → src/generated/prisma}/models/Chat.ts +0 -0
  245. /package/{generated/prisma/client → src/generated/prisma}/models/ChatUser.ts +0 -0
  246. /package/{generated/prisma/client → src/generated/prisma}/models/Country.ts +0 -0
  247. /package/{generated/prisma/client → src/generated/prisma}/models/Event.ts +0 -0
  248. /package/{generated/prisma/client → src/generated/prisma}/models/EventCategory.ts +0 -0
  249. /package/{generated/prisma/client → src/generated/prisma}/models/EventPrice.ts +0 -0
  250. /package/{generated/prisma/client → src/generated/prisma}/models/Favorite.ts +0 -0
  251. /package/{generated/prisma/client → src/generated/prisma}/models/Feedback.ts +0 -0
  252. /package/{generated/prisma/client → src/generated/prisma}/models/Message.ts +0 -0
  253. /package/{generated/prisma/client → src/generated/prisma}/models/Newsletter.ts +0 -0
  254. /package/{generated/prisma/client → src/generated/prisma}/models/Notification.ts +0 -0
  255. /package/{generated/prisma/client → src/generated/prisma}/models/Order.ts +0 -0
  256. /package/{generated/prisma/client → src/generated/prisma}/models/OrderItem.ts +0 -0
  257. /package/{generated/prisma/client → src/generated/prisma}/models/Pricing.ts +0 -0
  258. /package/{generated/prisma/client → src/generated/prisma}/models/Provider.ts +0 -0
  259. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderCategory.ts +0 -0
  260. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderOnEvent.ts +0 -0
  261. /package/{generated/prisma/client → src/generated/prisma}/models/Report.ts +0 -0
  262. /package/{generated/prisma/client → src/generated/prisma}/models/Review.ts +0 -0
  263. /package/{generated/prisma/client → src/generated/prisma}/models/Transaction.ts +0 -0
  264. /package/{generated/prisma/client → src/generated/prisma}/models/User.ts +0 -0
  265. /package/{generated/prisma/client → src/generated/prisma}/models/UserInterests.ts +0 -0
  266. /package/{generated/prisma/client → src/generated/prisma}/models.ts +0 -0
@@ -1,1657 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * This file exports the `EventPrice` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums"
13
- import type * as Prisma from "../internal/prismaNamespace"
14
-
15
- /**
16
- * Model EventPrice
17
- *
18
- */
19
- export type EventPriceModel = runtime.Types.Result.DefaultSelection<Prisma.$EventPricePayload>
20
-
21
- export type AggregateEventPrice = {
22
- _count: EventPriceCountAggregateOutputType | null
23
- _avg: EventPriceAvgAggregateOutputType | null
24
- _sum: EventPriceSumAggregateOutputType | null
25
- _min: EventPriceMinAggregateOutputType | null
26
- _max: EventPriceMaxAggregateOutputType | null
27
- }
28
-
29
- export type EventPriceAvgAggregateOutputType = {
30
- amount: number | null
31
- totalSeats: number | null
32
- }
33
-
34
- export type EventPriceSumAggregateOutputType = {
35
- amount: number | null
36
- totalSeats: number | null
37
- }
38
-
39
- export type EventPriceMinAggregateOutputType = {
40
- id: string | null
41
- name: string | null
42
- amount: number | null
43
- description: string | null
44
- eventId: string | null
45
- totalSeats: number | null
46
- createdAt: Date | null
47
- updatedAt: Date | null
48
- }
49
-
50
- export type EventPriceMaxAggregateOutputType = {
51
- id: string | null
52
- name: string | null
53
- amount: number | null
54
- description: string | null
55
- eventId: string | null
56
- totalSeats: number | null
57
- createdAt: Date | null
58
- updatedAt: Date | null
59
- }
60
-
61
- export type EventPriceCountAggregateOutputType = {
62
- id: number
63
- name: number
64
- amount: number
65
- description: number
66
- eventId: number
67
- totalSeats: number
68
- createdAt: number
69
- updatedAt: number
70
- _all: number
71
- }
72
-
73
-
74
- export type EventPriceAvgAggregateInputType = {
75
- amount?: true
76
- totalSeats?: true
77
- }
78
-
79
- export type EventPriceSumAggregateInputType = {
80
- amount?: true
81
- totalSeats?: true
82
- }
83
-
84
- export type EventPriceMinAggregateInputType = {
85
- id?: true
86
- name?: true
87
- amount?: true
88
- description?: true
89
- eventId?: true
90
- totalSeats?: true
91
- createdAt?: true
92
- updatedAt?: true
93
- }
94
-
95
- export type EventPriceMaxAggregateInputType = {
96
- id?: true
97
- name?: true
98
- amount?: true
99
- description?: true
100
- eventId?: true
101
- totalSeats?: true
102
- createdAt?: true
103
- updatedAt?: true
104
- }
105
-
106
- export type EventPriceCountAggregateInputType = {
107
- id?: true
108
- name?: true
109
- amount?: true
110
- description?: true
111
- eventId?: true
112
- totalSeats?: true
113
- createdAt?: true
114
- updatedAt?: true
115
- _all?: true
116
- }
117
-
118
- export type EventPriceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
119
- /**
120
- * Filter which EventPrice to aggregate.
121
- */
122
- where?: Prisma.EventPriceWhereInput
123
- /**
124
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
125
- *
126
- * Determine the order of EventPrices to fetch.
127
- */
128
- orderBy?: Prisma.EventPriceOrderByWithRelationInput | Prisma.EventPriceOrderByWithRelationInput[]
129
- /**
130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
131
- *
132
- * Sets the start position
133
- */
134
- cursor?: Prisma.EventPriceWhereUniqueInput
135
- /**
136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
137
- *
138
- * Take `±n` EventPrices from the position of the cursor.
139
- */
140
- take?: number
141
- /**
142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
143
- *
144
- * Skip the first `n` EventPrices.
145
- */
146
- skip?: number
147
- /**
148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
149
- *
150
- * Count returned EventPrices
151
- **/
152
- _count?: true | EventPriceCountAggregateInputType
153
- /**
154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
155
- *
156
- * Select which fields to average
157
- **/
158
- _avg?: EventPriceAvgAggregateInputType
159
- /**
160
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
161
- *
162
- * Select which fields to sum
163
- **/
164
- _sum?: EventPriceSumAggregateInputType
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
167
- *
168
- * Select which fields to find the minimum value
169
- **/
170
- _min?: EventPriceMinAggregateInputType
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
173
- *
174
- * Select which fields to find the maximum value
175
- **/
176
- _max?: EventPriceMaxAggregateInputType
177
- }
178
-
179
- export type GetEventPriceAggregateType<T extends EventPriceAggregateArgs> = {
180
- [P in keyof T & keyof AggregateEventPrice]: P extends '_count' | 'count'
181
- ? T[P] extends true
182
- ? number
183
- : Prisma.GetScalarType<T[P], AggregateEventPrice[P]>
184
- : Prisma.GetScalarType<T[P], AggregateEventPrice[P]>
185
- }
186
-
187
-
188
-
189
-
190
- export type EventPriceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
191
- where?: Prisma.EventPriceWhereInput
192
- orderBy?: Prisma.EventPriceOrderByWithAggregationInput | Prisma.EventPriceOrderByWithAggregationInput[]
193
- by: Prisma.EventPriceScalarFieldEnum[] | Prisma.EventPriceScalarFieldEnum
194
- having?: Prisma.EventPriceScalarWhereWithAggregatesInput
195
- take?: number
196
- skip?: number
197
- _count?: EventPriceCountAggregateInputType | true
198
- _avg?: EventPriceAvgAggregateInputType
199
- _sum?: EventPriceSumAggregateInputType
200
- _min?: EventPriceMinAggregateInputType
201
- _max?: EventPriceMaxAggregateInputType
202
- }
203
-
204
- export type EventPriceGroupByOutputType = {
205
- id: string
206
- name: string
207
- amount: number
208
- description: string | null
209
- eventId: string
210
- totalSeats: number
211
- createdAt: Date
212
- updatedAt: Date
213
- _count: EventPriceCountAggregateOutputType | null
214
- _avg: EventPriceAvgAggregateOutputType | null
215
- _sum: EventPriceSumAggregateOutputType | null
216
- _min: EventPriceMinAggregateOutputType | null
217
- _max: EventPriceMaxAggregateOutputType | null
218
- }
219
-
220
- export type GetEventPriceGroupByPayload<T extends EventPriceGroupByArgs> = Prisma.PrismaPromise<
221
- Array<
222
- Prisma.PickEnumerable<EventPriceGroupByOutputType, T['by']> &
223
- {
224
- [P in ((keyof T) & (keyof EventPriceGroupByOutputType))]: P extends '_count'
225
- ? T[P] extends boolean
226
- ? number
227
- : Prisma.GetScalarType<T[P], EventPriceGroupByOutputType[P]>
228
- : Prisma.GetScalarType<T[P], EventPriceGroupByOutputType[P]>
229
- }
230
- >
231
- >
232
-
233
-
234
-
235
- export type EventPriceWhereInput = {
236
- AND?: Prisma.EventPriceWhereInput | Prisma.EventPriceWhereInput[]
237
- OR?: Prisma.EventPriceWhereInput[]
238
- NOT?: Prisma.EventPriceWhereInput | Prisma.EventPriceWhereInput[]
239
- id?: Prisma.StringFilter<"EventPrice"> | string
240
- name?: Prisma.StringFilter<"EventPrice"> | string
241
- amount?: Prisma.FloatFilter<"EventPrice"> | number
242
- description?: Prisma.StringNullableFilter<"EventPrice"> | string | null
243
- eventId?: Prisma.StringFilter<"EventPrice"> | string
244
- totalSeats?: Prisma.IntFilter<"EventPrice"> | number
245
- createdAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
246
- updatedAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
247
- event?: Prisma.XOR<Prisma.EventScalarRelationFilter, Prisma.EventWhereInput>
248
- orderItems?: Prisma.OrderItemListRelationFilter
249
- }
250
-
251
- export type EventPriceOrderByWithRelationInput = {
252
- id?: Prisma.SortOrder
253
- name?: Prisma.SortOrder
254
- amount?: Prisma.SortOrder
255
- description?: Prisma.SortOrderInput | Prisma.SortOrder
256
- eventId?: Prisma.SortOrder
257
- totalSeats?: Prisma.SortOrder
258
- createdAt?: Prisma.SortOrder
259
- updatedAt?: Prisma.SortOrder
260
- event?: Prisma.EventOrderByWithRelationInput
261
- orderItems?: Prisma.OrderItemOrderByRelationAggregateInput
262
- }
263
-
264
- export type EventPriceWhereUniqueInput = Prisma.AtLeast<{
265
- id?: string
266
- AND?: Prisma.EventPriceWhereInput | Prisma.EventPriceWhereInput[]
267
- OR?: Prisma.EventPriceWhereInput[]
268
- NOT?: Prisma.EventPriceWhereInput | Prisma.EventPriceWhereInput[]
269
- name?: Prisma.StringFilter<"EventPrice"> | string
270
- amount?: Prisma.FloatFilter<"EventPrice"> | number
271
- description?: Prisma.StringNullableFilter<"EventPrice"> | string | null
272
- eventId?: Prisma.StringFilter<"EventPrice"> | string
273
- totalSeats?: Prisma.IntFilter<"EventPrice"> | number
274
- createdAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
275
- updatedAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
276
- event?: Prisma.XOR<Prisma.EventScalarRelationFilter, Prisma.EventWhereInput>
277
- orderItems?: Prisma.OrderItemListRelationFilter
278
- }, "id">
279
-
280
- export type EventPriceOrderByWithAggregationInput = {
281
- id?: Prisma.SortOrder
282
- name?: Prisma.SortOrder
283
- amount?: Prisma.SortOrder
284
- description?: Prisma.SortOrderInput | Prisma.SortOrder
285
- eventId?: Prisma.SortOrder
286
- totalSeats?: Prisma.SortOrder
287
- createdAt?: Prisma.SortOrder
288
- updatedAt?: Prisma.SortOrder
289
- _count?: Prisma.EventPriceCountOrderByAggregateInput
290
- _avg?: Prisma.EventPriceAvgOrderByAggregateInput
291
- _max?: Prisma.EventPriceMaxOrderByAggregateInput
292
- _min?: Prisma.EventPriceMinOrderByAggregateInput
293
- _sum?: Prisma.EventPriceSumOrderByAggregateInput
294
- }
295
-
296
- export type EventPriceScalarWhereWithAggregatesInput = {
297
- AND?: Prisma.EventPriceScalarWhereWithAggregatesInput | Prisma.EventPriceScalarWhereWithAggregatesInput[]
298
- OR?: Prisma.EventPriceScalarWhereWithAggregatesInput[]
299
- NOT?: Prisma.EventPriceScalarWhereWithAggregatesInput | Prisma.EventPriceScalarWhereWithAggregatesInput[]
300
- id?: Prisma.StringWithAggregatesFilter<"EventPrice"> | string
301
- name?: Prisma.StringWithAggregatesFilter<"EventPrice"> | string
302
- amount?: Prisma.FloatWithAggregatesFilter<"EventPrice"> | number
303
- description?: Prisma.StringNullableWithAggregatesFilter<"EventPrice"> | string | null
304
- eventId?: Prisma.StringWithAggregatesFilter<"EventPrice"> | string
305
- totalSeats?: Prisma.IntWithAggregatesFilter<"EventPrice"> | number
306
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"EventPrice"> | Date | string
307
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"EventPrice"> | Date | string
308
- }
309
-
310
- export type EventPriceCreateInput = {
311
- id?: string
312
- name: string
313
- amount: number
314
- description?: string | null
315
- totalSeats?: number
316
- createdAt?: Date | string
317
- updatedAt?: Date | string
318
- event: Prisma.EventCreateNestedOneWithoutPricesInput
319
- orderItems?: Prisma.OrderItemCreateNestedManyWithoutEventPriceInput
320
- }
321
-
322
- export type EventPriceUncheckedCreateInput = {
323
- id?: string
324
- name: string
325
- amount: number
326
- description?: string | null
327
- eventId: string
328
- totalSeats?: number
329
- createdAt?: Date | string
330
- updatedAt?: Date | string
331
- orderItems?: Prisma.OrderItemUncheckedCreateNestedManyWithoutEventPriceInput
332
- }
333
-
334
- export type EventPriceUpdateInput = {
335
- id?: Prisma.StringFieldUpdateOperationsInput | string
336
- name?: Prisma.StringFieldUpdateOperationsInput | string
337
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
338
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
339
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
340
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
341
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
342
- event?: Prisma.EventUpdateOneRequiredWithoutPricesNestedInput
343
- orderItems?: Prisma.OrderItemUpdateManyWithoutEventPriceNestedInput
344
- }
345
-
346
- export type EventPriceUncheckedUpdateInput = {
347
- id?: Prisma.StringFieldUpdateOperationsInput | string
348
- name?: Prisma.StringFieldUpdateOperationsInput | string
349
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
350
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
351
- eventId?: Prisma.StringFieldUpdateOperationsInput | string
352
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
353
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
354
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
355
- orderItems?: Prisma.OrderItemUncheckedUpdateManyWithoutEventPriceNestedInput
356
- }
357
-
358
- export type EventPriceCreateManyInput = {
359
- id?: string
360
- name: string
361
- amount: number
362
- description?: string | null
363
- eventId: string
364
- totalSeats?: number
365
- createdAt?: Date | string
366
- updatedAt?: Date | string
367
- }
368
-
369
- export type EventPriceUpdateManyMutationInput = {
370
- id?: Prisma.StringFieldUpdateOperationsInput | string
371
- name?: Prisma.StringFieldUpdateOperationsInput | string
372
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
373
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
374
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
375
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
376
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
377
- }
378
-
379
- export type EventPriceUncheckedUpdateManyInput = {
380
- id?: Prisma.StringFieldUpdateOperationsInput | string
381
- name?: Prisma.StringFieldUpdateOperationsInput | string
382
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
383
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
384
- eventId?: Prisma.StringFieldUpdateOperationsInput | string
385
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
386
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
387
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
388
- }
389
-
390
- export type EventPriceListRelationFilter = {
391
- every?: Prisma.EventPriceWhereInput
392
- some?: Prisma.EventPriceWhereInput
393
- none?: Prisma.EventPriceWhereInput
394
- }
395
-
396
- export type EventPriceOrderByRelationAggregateInput = {
397
- _count?: Prisma.SortOrder
398
- }
399
-
400
- export type EventPriceCountOrderByAggregateInput = {
401
- id?: Prisma.SortOrder
402
- name?: Prisma.SortOrder
403
- amount?: Prisma.SortOrder
404
- description?: Prisma.SortOrder
405
- eventId?: Prisma.SortOrder
406
- totalSeats?: Prisma.SortOrder
407
- createdAt?: Prisma.SortOrder
408
- updatedAt?: Prisma.SortOrder
409
- }
410
-
411
- export type EventPriceAvgOrderByAggregateInput = {
412
- amount?: Prisma.SortOrder
413
- totalSeats?: Prisma.SortOrder
414
- }
415
-
416
- export type EventPriceMaxOrderByAggregateInput = {
417
- id?: Prisma.SortOrder
418
- name?: Prisma.SortOrder
419
- amount?: Prisma.SortOrder
420
- description?: Prisma.SortOrder
421
- eventId?: Prisma.SortOrder
422
- totalSeats?: Prisma.SortOrder
423
- createdAt?: Prisma.SortOrder
424
- updatedAt?: Prisma.SortOrder
425
- }
426
-
427
- export type EventPriceMinOrderByAggregateInput = {
428
- id?: Prisma.SortOrder
429
- name?: Prisma.SortOrder
430
- amount?: Prisma.SortOrder
431
- description?: Prisma.SortOrder
432
- eventId?: Prisma.SortOrder
433
- totalSeats?: Prisma.SortOrder
434
- createdAt?: Prisma.SortOrder
435
- updatedAt?: Prisma.SortOrder
436
- }
437
-
438
- export type EventPriceSumOrderByAggregateInput = {
439
- amount?: Prisma.SortOrder
440
- totalSeats?: Prisma.SortOrder
441
- }
442
-
443
- export type EventPriceScalarRelationFilter = {
444
- is?: Prisma.EventPriceWhereInput
445
- isNot?: Prisma.EventPriceWhereInput
446
- }
447
-
448
- export type EventPriceCreateNestedManyWithoutEventInput = {
449
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput> | Prisma.EventPriceCreateWithoutEventInput[] | Prisma.EventPriceUncheckedCreateWithoutEventInput[]
450
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutEventInput | Prisma.EventPriceCreateOrConnectWithoutEventInput[]
451
- createMany?: Prisma.EventPriceCreateManyEventInputEnvelope
452
- connect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
453
- }
454
-
455
- export type EventPriceUncheckedCreateNestedManyWithoutEventInput = {
456
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput> | Prisma.EventPriceCreateWithoutEventInput[] | Prisma.EventPriceUncheckedCreateWithoutEventInput[]
457
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutEventInput | Prisma.EventPriceCreateOrConnectWithoutEventInput[]
458
- createMany?: Prisma.EventPriceCreateManyEventInputEnvelope
459
- connect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
460
- }
461
-
462
- export type EventPriceUpdateManyWithoutEventNestedInput = {
463
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput> | Prisma.EventPriceCreateWithoutEventInput[] | Prisma.EventPriceUncheckedCreateWithoutEventInput[]
464
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutEventInput | Prisma.EventPriceCreateOrConnectWithoutEventInput[]
465
- upsert?: Prisma.EventPriceUpsertWithWhereUniqueWithoutEventInput | Prisma.EventPriceUpsertWithWhereUniqueWithoutEventInput[]
466
- createMany?: Prisma.EventPriceCreateManyEventInputEnvelope
467
- set?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
468
- disconnect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
469
- delete?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
470
- connect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
471
- update?: Prisma.EventPriceUpdateWithWhereUniqueWithoutEventInput | Prisma.EventPriceUpdateWithWhereUniqueWithoutEventInput[]
472
- updateMany?: Prisma.EventPriceUpdateManyWithWhereWithoutEventInput | Prisma.EventPriceUpdateManyWithWhereWithoutEventInput[]
473
- deleteMany?: Prisma.EventPriceScalarWhereInput | Prisma.EventPriceScalarWhereInput[]
474
- }
475
-
476
- export type EventPriceUncheckedUpdateManyWithoutEventNestedInput = {
477
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput> | Prisma.EventPriceCreateWithoutEventInput[] | Prisma.EventPriceUncheckedCreateWithoutEventInput[]
478
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutEventInput | Prisma.EventPriceCreateOrConnectWithoutEventInput[]
479
- upsert?: Prisma.EventPriceUpsertWithWhereUniqueWithoutEventInput | Prisma.EventPriceUpsertWithWhereUniqueWithoutEventInput[]
480
- createMany?: Prisma.EventPriceCreateManyEventInputEnvelope
481
- set?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
482
- disconnect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
483
- delete?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
484
- connect?: Prisma.EventPriceWhereUniqueInput | Prisma.EventPriceWhereUniqueInput[]
485
- update?: Prisma.EventPriceUpdateWithWhereUniqueWithoutEventInput | Prisma.EventPriceUpdateWithWhereUniqueWithoutEventInput[]
486
- updateMany?: Prisma.EventPriceUpdateManyWithWhereWithoutEventInput | Prisma.EventPriceUpdateManyWithWhereWithoutEventInput[]
487
- deleteMany?: Prisma.EventPriceScalarWhereInput | Prisma.EventPriceScalarWhereInput[]
488
- }
489
-
490
- export type FloatFieldUpdateOperationsInput = {
491
- set?: number
492
- increment?: number
493
- decrement?: number
494
- multiply?: number
495
- divide?: number
496
- }
497
-
498
- export type EventPriceCreateNestedOneWithoutOrderItemsInput = {
499
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutOrderItemsInput, Prisma.EventPriceUncheckedCreateWithoutOrderItemsInput>
500
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutOrderItemsInput
501
- connect?: Prisma.EventPriceWhereUniqueInput
502
- }
503
-
504
- export type EventPriceUpdateOneRequiredWithoutOrderItemsNestedInput = {
505
- create?: Prisma.XOR<Prisma.EventPriceCreateWithoutOrderItemsInput, Prisma.EventPriceUncheckedCreateWithoutOrderItemsInput>
506
- connectOrCreate?: Prisma.EventPriceCreateOrConnectWithoutOrderItemsInput
507
- upsert?: Prisma.EventPriceUpsertWithoutOrderItemsInput
508
- connect?: Prisma.EventPriceWhereUniqueInput
509
- update?: Prisma.XOR<Prisma.XOR<Prisma.EventPriceUpdateToOneWithWhereWithoutOrderItemsInput, Prisma.EventPriceUpdateWithoutOrderItemsInput>, Prisma.EventPriceUncheckedUpdateWithoutOrderItemsInput>
510
- }
511
-
512
- export type EventPriceCreateWithoutEventInput = {
513
- id?: string
514
- name: string
515
- amount: number
516
- description?: string | null
517
- totalSeats?: number
518
- createdAt?: Date | string
519
- updatedAt?: Date | string
520
- orderItems?: Prisma.OrderItemCreateNestedManyWithoutEventPriceInput
521
- }
522
-
523
- export type EventPriceUncheckedCreateWithoutEventInput = {
524
- id?: string
525
- name: string
526
- amount: number
527
- description?: string | null
528
- totalSeats?: number
529
- createdAt?: Date | string
530
- updatedAt?: Date | string
531
- orderItems?: Prisma.OrderItemUncheckedCreateNestedManyWithoutEventPriceInput
532
- }
533
-
534
- export type EventPriceCreateOrConnectWithoutEventInput = {
535
- where: Prisma.EventPriceWhereUniqueInput
536
- create: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput>
537
- }
538
-
539
- export type EventPriceCreateManyEventInputEnvelope = {
540
- data: Prisma.EventPriceCreateManyEventInput | Prisma.EventPriceCreateManyEventInput[]
541
- skipDuplicates?: boolean
542
- }
543
-
544
- export type EventPriceUpsertWithWhereUniqueWithoutEventInput = {
545
- where: Prisma.EventPriceWhereUniqueInput
546
- update: Prisma.XOR<Prisma.EventPriceUpdateWithoutEventInput, Prisma.EventPriceUncheckedUpdateWithoutEventInput>
547
- create: Prisma.XOR<Prisma.EventPriceCreateWithoutEventInput, Prisma.EventPriceUncheckedCreateWithoutEventInput>
548
- }
549
-
550
- export type EventPriceUpdateWithWhereUniqueWithoutEventInput = {
551
- where: Prisma.EventPriceWhereUniqueInput
552
- data: Prisma.XOR<Prisma.EventPriceUpdateWithoutEventInput, Prisma.EventPriceUncheckedUpdateWithoutEventInput>
553
- }
554
-
555
- export type EventPriceUpdateManyWithWhereWithoutEventInput = {
556
- where: Prisma.EventPriceScalarWhereInput
557
- data: Prisma.XOR<Prisma.EventPriceUpdateManyMutationInput, Prisma.EventPriceUncheckedUpdateManyWithoutEventInput>
558
- }
559
-
560
- export type EventPriceScalarWhereInput = {
561
- AND?: Prisma.EventPriceScalarWhereInput | Prisma.EventPriceScalarWhereInput[]
562
- OR?: Prisma.EventPriceScalarWhereInput[]
563
- NOT?: Prisma.EventPriceScalarWhereInput | Prisma.EventPriceScalarWhereInput[]
564
- id?: Prisma.StringFilter<"EventPrice"> | string
565
- name?: Prisma.StringFilter<"EventPrice"> | string
566
- amount?: Prisma.FloatFilter<"EventPrice"> | number
567
- description?: Prisma.StringNullableFilter<"EventPrice"> | string | null
568
- eventId?: Prisma.StringFilter<"EventPrice"> | string
569
- totalSeats?: Prisma.IntFilter<"EventPrice"> | number
570
- createdAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
571
- updatedAt?: Prisma.DateTimeFilter<"EventPrice"> | Date | string
572
- }
573
-
574
- export type EventPriceCreateWithoutOrderItemsInput = {
575
- id?: string
576
- name: string
577
- amount: number
578
- description?: string | null
579
- totalSeats?: number
580
- createdAt?: Date | string
581
- updatedAt?: Date | string
582
- event: Prisma.EventCreateNestedOneWithoutPricesInput
583
- }
584
-
585
- export type EventPriceUncheckedCreateWithoutOrderItemsInput = {
586
- id?: string
587
- name: string
588
- amount: number
589
- description?: string | null
590
- eventId: string
591
- totalSeats?: number
592
- createdAt?: Date | string
593
- updatedAt?: Date | string
594
- }
595
-
596
- export type EventPriceCreateOrConnectWithoutOrderItemsInput = {
597
- where: Prisma.EventPriceWhereUniqueInput
598
- create: Prisma.XOR<Prisma.EventPriceCreateWithoutOrderItemsInput, Prisma.EventPriceUncheckedCreateWithoutOrderItemsInput>
599
- }
600
-
601
- export type EventPriceUpsertWithoutOrderItemsInput = {
602
- update: Prisma.XOR<Prisma.EventPriceUpdateWithoutOrderItemsInput, Prisma.EventPriceUncheckedUpdateWithoutOrderItemsInput>
603
- create: Prisma.XOR<Prisma.EventPriceCreateWithoutOrderItemsInput, Prisma.EventPriceUncheckedCreateWithoutOrderItemsInput>
604
- where?: Prisma.EventPriceWhereInput
605
- }
606
-
607
- export type EventPriceUpdateToOneWithWhereWithoutOrderItemsInput = {
608
- where?: Prisma.EventPriceWhereInput
609
- data: Prisma.XOR<Prisma.EventPriceUpdateWithoutOrderItemsInput, Prisma.EventPriceUncheckedUpdateWithoutOrderItemsInput>
610
- }
611
-
612
- export type EventPriceUpdateWithoutOrderItemsInput = {
613
- id?: Prisma.StringFieldUpdateOperationsInput | string
614
- name?: Prisma.StringFieldUpdateOperationsInput | string
615
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
616
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
617
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
618
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
619
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
620
- event?: Prisma.EventUpdateOneRequiredWithoutPricesNestedInput
621
- }
622
-
623
- export type EventPriceUncheckedUpdateWithoutOrderItemsInput = {
624
- id?: Prisma.StringFieldUpdateOperationsInput | string
625
- name?: Prisma.StringFieldUpdateOperationsInput | string
626
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
627
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
- eventId?: Prisma.StringFieldUpdateOperationsInput | string
629
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
630
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
631
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
632
- }
633
-
634
- export type EventPriceCreateManyEventInput = {
635
- id?: string
636
- name: string
637
- amount: number
638
- description?: string | null
639
- totalSeats?: number
640
- createdAt?: Date | string
641
- updatedAt?: Date | string
642
- }
643
-
644
- export type EventPriceUpdateWithoutEventInput = {
645
- id?: Prisma.StringFieldUpdateOperationsInput | string
646
- name?: Prisma.StringFieldUpdateOperationsInput | string
647
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
648
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
649
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
650
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
651
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
652
- orderItems?: Prisma.OrderItemUpdateManyWithoutEventPriceNestedInput
653
- }
654
-
655
- export type EventPriceUncheckedUpdateWithoutEventInput = {
656
- id?: Prisma.StringFieldUpdateOperationsInput | string
657
- name?: Prisma.StringFieldUpdateOperationsInput | string
658
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
659
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
660
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
661
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
662
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
663
- orderItems?: Prisma.OrderItemUncheckedUpdateManyWithoutEventPriceNestedInput
664
- }
665
-
666
- export type EventPriceUncheckedUpdateManyWithoutEventInput = {
667
- id?: Prisma.StringFieldUpdateOperationsInput | string
668
- name?: Prisma.StringFieldUpdateOperationsInput | string
669
- amount?: Prisma.FloatFieldUpdateOperationsInput | number
670
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
671
- totalSeats?: Prisma.IntFieldUpdateOperationsInput | number
672
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
673
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
674
- }
675
-
676
-
677
- /**
678
- * Count Type EventPriceCountOutputType
679
- */
680
-
681
- export type EventPriceCountOutputType = {
682
- orderItems: number
683
- }
684
-
685
- export type EventPriceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
686
- orderItems?: boolean | EventPriceCountOutputTypeCountOrderItemsArgs
687
- }
688
-
689
- /**
690
- * EventPriceCountOutputType without action
691
- */
692
- export type EventPriceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
693
- /**
694
- * Select specific fields to fetch from the EventPriceCountOutputType
695
- */
696
- select?: Prisma.EventPriceCountOutputTypeSelect<ExtArgs> | null
697
- }
698
-
699
- /**
700
- * EventPriceCountOutputType without action
701
- */
702
- export type EventPriceCountOutputTypeCountOrderItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
703
- where?: Prisma.OrderItemWhereInput
704
- }
705
-
706
-
707
- export type EventPriceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
708
- id?: boolean
709
- name?: boolean
710
- amount?: boolean
711
- description?: boolean
712
- eventId?: boolean
713
- totalSeats?: boolean
714
- createdAt?: boolean
715
- updatedAt?: boolean
716
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
717
- orderItems?: boolean | Prisma.EventPrice$orderItemsArgs<ExtArgs>
718
- _count?: boolean | Prisma.EventPriceCountOutputTypeDefaultArgs<ExtArgs>
719
- }, ExtArgs["result"]["eventPrice"]>
720
-
721
- export type EventPriceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
722
- id?: boolean
723
- name?: boolean
724
- amount?: boolean
725
- description?: boolean
726
- eventId?: boolean
727
- totalSeats?: boolean
728
- createdAt?: boolean
729
- updatedAt?: boolean
730
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
731
- }, ExtArgs["result"]["eventPrice"]>
732
-
733
- export type EventPriceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
734
- id?: boolean
735
- name?: boolean
736
- amount?: boolean
737
- description?: boolean
738
- eventId?: boolean
739
- totalSeats?: boolean
740
- createdAt?: boolean
741
- updatedAt?: boolean
742
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
743
- }, ExtArgs["result"]["eventPrice"]>
744
-
745
- export type EventPriceSelectScalar = {
746
- id?: boolean
747
- name?: boolean
748
- amount?: boolean
749
- description?: boolean
750
- eventId?: boolean
751
- totalSeats?: boolean
752
- createdAt?: boolean
753
- updatedAt?: boolean
754
- }
755
-
756
- export type EventPriceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "amount" | "description" | "eventId" | "totalSeats" | "createdAt" | "updatedAt", ExtArgs["result"]["eventPrice"]>
757
- export type EventPriceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
758
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
759
- orderItems?: boolean | Prisma.EventPrice$orderItemsArgs<ExtArgs>
760
- _count?: boolean | Prisma.EventPriceCountOutputTypeDefaultArgs<ExtArgs>
761
- }
762
- export type EventPriceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
763
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
764
- }
765
- export type EventPriceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
766
- event?: boolean | Prisma.EventDefaultArgs<ExtArgs>
767
- }
768
-
769
- export type $EventPricePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
770
- name: "EventPrice"
771
- objects: {
772
- event: Prisma.$EventPayload<ExtArgs>
773
- orderItems: Prisma.$OrderItemPayload<ExtArgs>[]
774
- }
775
- scalars: runtime.Types.Extensions.GetPayloadResult<{
776
- id: string
777
- name: string
778
- amount: number
779
- description: string | null
780
- eventId: string
781
- totalSeats: number
782
- createdAt: Date
783
- updatedAt: Date
784
- }, ExtArgs["result"]["eventPrice"]>
785
- composites: {}
786
- }
787
-
788
- export type EventPriceGetPayload<S extends boolean | null | undefined | EventPriceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EventPricePayload, S>
789
-
790
- export type EventPriceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
791
- Omit<EventPriceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
792
- select?: EventPriceCountAggregateInputType | true
793
- }
794
-
795
- export interface EventPriceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
796
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EventPrice'], meta: { name: 'EventPrice' } }
797
- /**
798
- * Find zero or one EventPrice that matches the filter.
799
- * @param {EventPriceFindUniqueArgs} args - Arguments to find a EventPrice
800
- * @example
801
- * // Get one EventPrice
802
- * const eventPrice = await prisma.eventPrice.findUnique({
803
- * where: {
804
- * // ... provide filter here
805
- * }
806
- * })
807
- */
808
- findUnique<T extends EventPriceFindUniqueArgs>(args: Prisma.SelectSubset<T, EventPriceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
809
-
810
- /**
811
- * Find one EventPrice that matches the filter or throw an error with `error.code='P2025'`
812
- * if no matches were found.
813
- * @param {EventPriceFindUniqueOrThrowArgs} args - Arguments to find a EventPrice
814
- * @example
815
- * // Get one EventPrice
816
- * const eventPrice = await prisma.eventPrice.findUniqueOrThrow({
817
- * where: {
818
- * // ... provide filter here
819
- * }
820
- * })
821
- */
822
- findUniqueOrThrow<T extends EventPriceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EventPriceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
823
-
824
- /**
825
- * Find the first EventPrice that matches the filter.
826
- * Note, that providing `undefined` is treated as the value not being there.
827
- * Read more here: https://pris.ly/d/null-undefined
828
- * @param {EventPriceFindFirstArgs} args - Arguments to find a EventPrice
829
- * @example
830
- * // Get one EventPrice
831
- * const eventPrice = await prisma.eventPrice.findFirst({
832
- * where: {
833
- * // ... provide filter here
834
- * }
835
- * })
836
- */
837
- findFirst<T extends EventPriceFindFirstArgs>(args?: Prisma.SelectSubset<T, EventPriceFindFirstArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
838
-
839
- /**
840
- * Find the first EventPrice that matches the filter or
841
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
842
- * Note, that providing `undefined` is treated as the value not being there.
843
- * Read more here: https://pris.ly/d/null-undefined
844
- * @param {EventPriceFindFirstOrThrowArgs} args - Arguments to find a EventPrice
845
- * @example
846
- * // Get one EventPrice
847
- * const eventPrice = await prisma.eventPrice.findFirstOrThrow({
848
- * where: {
849
- * // ... provide filter here
850
- * }
851
- * })
852
- */
853
- findFirstOrThrow<T extends EventPriceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EventPriceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
854
-
855
- /**
856
- * Find zero or more EventPrices that matches the filter.
857
- * Note, that providing `undefined` is treated as the value not being there.
858
- * Read more here: https://pris.ly/d/null-undefined
859
- * @param {EventPriceFindManyArgs} args - Arguments to filter and select certain fields only.
860
- * @example
861
- * // Get all EventPrices
862
- * const eventPrices = await prisma.eventPrice.findMany()
863
- *
864
- * // Get first 10 EventPrices
865
- * const eventPrices = await prisma.eventPrice.findMany({ take: 10 })
866
- *
867
- * // Only select the `id`
868
- * const eventPriceWithIdOnly = await prisma.eventPrice.findMany({ select: { id: true } })
869
- *
870
- */
871
- findMany<T extends EventPriceFindManyArgs>(args?: Prisma.SelectSubset<T, EventPriceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
872
-
873
- /**
874
- * Create a EventPrice.
875
- * @param {EventPriceCreateArgs} args - Arguments to create a EventPrice.
876
- * @example
877
- * // Create one EventPrice
878
- * const EventPrice = await prisma.eventPrice.create({
879
- * data: {
880
- * // ... data to create a EventPrice
881
- * }
882
- * })
883
- *
884
- */
885
- create<T extends EventPriceCreateArgs>(args: Prisma.SelectSubset<T, EventPriceCreateArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
886
-
887
- /**
888
- * Create many EventPrices.
889
- * @param {EventPriceCreateManyArgs} args - Arguments to create many EventPrices.
890
- * @example
891
- * // Create many EventPrices
892
- * const eventPrice = await prisma.eventPrice.createMany({
893
- * data: [
894
- * // ... provide data here
895
- * ]
896
- * })
897
- *
898
- */
899
- createMany<T extends EventPriceCreateManyArgs>(args?: Prisma.SelectSubset<T, EventPriceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
900
-
901
- /**
902
- * Create many EventPrices and returns the data saved in the database.
903
- * @param {EventPriceCreateManyAndReturnArgs} args - Arguments to create many EventPrices.
904
- * @example
905
- * // Create many EventPrices
906
- * const eventPrice = await prisma.eventPrice.createManyAndReturn({
907
- * data: [
908
- * // ... provide data here
909
- * ]
910
- * })
911
- *
912
- * // Create many EventPrices and only return the `id`
913
- * const eventPriceWithIdOnly = await prisma.eventPrice.createManyAndReturn({
914
- * select: { id: true },
915
- * data: [
916
- * // ... provide data here
917
- * ]
918
- * })
919
- * Note, that providing `undefined` is treated as the value not being there.
920
- * Read more here: https://pris.ly/d/null-undefined
921
- *
922
- */
923
- createManyAndReturn<T extends EventPriceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EventPriceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
924
-
925
- /**
926
- * Delete a EventPrice.
927
- * @param {EventPriceDeleteArgs} args - Arguments to delete one EventPrice.
928
- * @example
929
- * // Delete one EventPrice
930
- * const EventPrice = await prisma.eventPrice.delete({
931
- * where: {
932
- * // ... filter to delete one EventPrice
933
- * }
934
- * })
935
- *
936
- */
937
- delete<T extends EventPriceDeleteArgs>(args: Prisma.SelectSubset<T, EventPriceDeleteArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
938
-
939
- /**
940
- * Update one EventPrice.
941
- * @param {EventPriceUpdateArgs} args - Arguments to update one EventPrice.
942
- * @example
943
- * // Update one EventPrice
944
- * const eventPrice = await prisma.eventPrice.update({
945
- * where: {
946
- * // ... provide filter here
947
- * },
948
- * data: {
949
- * // ... provide data here
950
- * }
951
- * })
952
- *
953
- */
954
- update<T extends EventPriceUpdateArgs>(args: Prisma.SelectSubset<T, EventPriceUpdateArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
955
-
956
- /**
957
- * Delete zero or more EventPrices.
958
- * @param {EventPriceDeleteManyArgs} args - Arguments to filter EventPrices to delete.
959
- * @example
960
- * // Delete a few EventPrices
961
- * const { count } = await prisma.eventPrice.deleteMany({
962
- * where: {
963
- * // ... provide filter here
964
- * }
965
- * })
966
- *
967
- */
968
- deleteMany<T extends EventPriceDeleteManyArgs>(args?: Prisma.SelectSubset<T, EventPriceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
969
-
970
- /**
971
- * Update zero or more EventPrices.
972
- * Note, that providing `undefined` is treated as the value not being there.
973
- * Read more here: https://pris.ly/d/null-undefined
974
- * @param {EventPriceUpdateManyArgs} args - Arguments to update one or more rows.
975
- * @example
976
- * // Update many EventPrices
977
- * const eventPrice = await prisma.eventPrice.updateMany({
978
- * where: {
979
- * // ... provide filter here
980
- * },
981
- * data: {
982
- * // ... provide data here
983
- * }
984
- * })
985
- *
986
- */
987
- updateMany<T extends EventPriceUpdateManyArgs>(args: Prisma.SelectSubset<T, EventPriceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
988
-
989
- /**
990
- * Update zero or more EventPrices and returns the data updated in the database.
991
- * @param {EventPriceUpdateManyAndReturnArgs} args - Arguments to update many EventPrices.
992
- * @example
993
- * // Update many EventPrices
994
- * const eventPrice = await prisma.eventPrice.updateManyAndReturn({
995
- * where: {
996
- * // ... provide filter here
997
- * },
998
- * data: [
999
- * // ... provide data here
1000
- * ]
1001
- * })
1002
- *
1003
- * // Update zero or more EventPrices and only return the `id`
1004
- * const eventPriceWithIdOnly = await prisma.eventPrice.updateManyAndReturn({
1005
- * select: { id: true },
1006
- * where: {
1007
- * // ... provide filter here
1008
- * },
1009
- * data: [
1010
- * // ... provide data here
1011
- * ]
1012
- * })
1013
- * Note, that providing `undefined` is treated as the value not being there.
1014
- * Read more here: https://pris.ly/d/null-undefined
1015
- *
1016
- */
1017
- updateManyAndReturn<T extends EventPriceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EventPriceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1018
-
1019
- /**
1020
- * Create or update one EventPrice.
1021
- * @param {EventPriceUpsertArgs} args - Arguments to update or create a EventPrice.
1022
- * @example
1023
- * // Update or create a EventPrice
1024
- * const eventPrice = await prisma.eventPrice.upsert({
1025
- * create: {
1026
- * // ... data to create a EventPrice
1027
- * },
1028
- * update: {
1029
- * // ... in case it already exists, update
1030
- * },
1031
- * where: {
1032
- * // ... the filter for the EventPrice we want to update
1033
- * }
1034
- * })
1035
- */
1036
- upsert<T extends EventPriceUpsertArgs>(args: Prisma.SelectSubset<T, EventPriceUpsertArgs<ExtArgs>>): Prisma.Prisma__EventPriceClient<runtime.Types.Result.GetResult<Prisma.$EventPricePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1037
-
1038
-
1039
- /**
1040
- * Count the number of EventPrices.
1041
- * Note, that providing `undefined` is treated as the value not being there.
1042
- * Read more here: https://pris.ly/d/null-undefined
1043
- * @param {EventPriceCountArgs} args - Arguments to filter EventPrices to count.
1044
- * @example
1045
- * // Count the number of EventPrices
1046
- * const count = await prisma.eventPrice.count({
1047
- * where: {
1048
- * // ... the filter for the EventPrices we want to count
1049
- * }
1050
- * })
1051
- **/
1052
- count<T extends EventPriceCountArgs>(
1053
- args?: Prisma.Subset<T, EventPriceCountArgs>,
1054
- ): Prisma.PrismaPromise<
1055
- T extends runtime.Types.Utils.Record<'select', any>
1056
- ? T['select'] extends true
1057
- ? number
1058
- : Prisma.GetScalarType<T['select'], EventPriceCountAggregateOutputType>
1059
- : number
1060
- >
1061
-
1062
- /**
1063
- * Allows you to perform aggregations operations on a EventPrice.
1064
- * Note, that providing `undefined` is treated as the value not being there.
1065
- * Read more here: https://pris.ly/d/null-undefined
1066
- * @param {EventPriceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1067
- * @example
1068
- * // Ordered by age ascending
1069
- * // Where email contains prisma.io
1070
- * // Limited to the 10 users
1071
- * const aggregations = await prisma.user.aggregate({
1072
- * _avg: {
1073
- * age: true,
1074
- * },
1075
- * where: {
1076
- * email: {
1077
- * contains: "prisma.io",
1078
- * },
1079
- * },
1080
- * orderBy: {
1081
- * age: "asc",
1082
- * },
1083
- * take: 10,
1084
- * })
1085
- **/
1086
- aggregate<T extends EventPriceAggregateArgs>(args: Prisma.Subset<T, EventPriceAggregateArgs>): Prisma.PrismaPromise<GetEventPriceAggregateType<T>>
1087
-
1088
- /**
1089
- * Group by EventPrice.
1090
- * Note, that providing `undefined` is treated as the value not being there.
1091
- * Read more here: https://pris.ly/d/null-undefined
1092
- * @param {EventPriceGroupByArgs} args - Group by arguments.
1093
- * @example
1094
- * // Group by city, order by createdAt, get count
1095
- * const result = await prisma.user.groupBy({
1096
- * by: ['city', 'createdAt'],
1097
- * orderBy: {
1098
- * createdAt: true
1099
- * },
1100
- * _count: {
1101
- * _all: true
1102
- * },
1103
- * })
1104
- *
1105
- **/
1106
- groupBy<
1107
- T extends EventPriceGroupByArgs,
1108
- HasSelectOrTake extends Prisma.Or<
1109
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1110
- Prisma.Extends<'take', Prisma.Keys<T>>
1111
- >,
1112
- OrderByArg extends Prisma.True extends HasSelectOrTake
1113
- ? { orderBy: EventPriceGroupByArgs['orderBy'] }
1114
- : { orderBy?: EventPriceGroupByArgs['orderBy'] },
1115
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1116
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1117
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1118
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1119
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1120
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1121
- InputErrors extends ByEmpty extends Prisma.True
1122
- ? `Error: "by" must not be empty.`
1123
- : HavingValid extends Prisma.False
1124
- ? {
1125
- [P in HavingFields]: P extends ByFields
1126
- ? never
1127
- : P extends string
1128
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1129
- : [
1130
- Error,
1131
- 'Field ',
1132
- P,
1133
- ` in "having" needs to be provided in "by"`,
1134
- ]
1135
- }[HavingFields]
1136
- : 'take' extends Prisma.Keys<T>
1137
- ? 'orderBy' extends Prisma.Keys<T>
1138
- ? ByValid extends Prisma.True
1139
- ? {}
1140
- : {
1141
- [P in OrderFields]: P extends ByFields
1142
- ? never
1143
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1144
- }[OrderFields]
1145
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1146
- : 'skip' extends Prisma.Keys<T>
1147
- ? 'orderBy' extends Prisma.Keys<T>
1148
- ? ByValid extends Prisma.True
1149
- ? {}
1150
- : {
1151
- [P in OrderFields]: P extends ByFields
1152
- ? never
1153
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1154
- }[OrderFields]
1155
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1156
- : ByValid extends Prisma.True
1157
- ? {}
1158
- : {
1159
- [P in OrderFields]: P extends ByFields
1160
- ? never
1161
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1162
- }[OrderFields]
1163
- >(args: Prisma.SubsetIntersection<T, EventPriceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEventPriceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1164
- /**
1165
- * Fields of the EventPrice model
1166
- */
1167
- readonly fields: EventPriceFieldRefs;
1168
- }
1169
-
1170
- /**
1171
- * The delegate class that acts as a "Promise-like" for EventPrice.
1172
- * Why is this prefixed with `Prisma__`?
1173
- * Because we want to prevent naming conflicts as mentioned in
1174
- * https://github.com/prisma/prisma-client-js/issues/707
1175
- */
1176
- export interface Prisma__EventPriceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1177
- readonly [Symbol.toStringTag]: "PrismaPromise"
1178
- event<T extends Prisma.EventDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventDefaultArgs<ExtArgs>>): Prisma.Prisma__EventClient<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1179
- orderItems<T extends Prisma.EventPrice$orderItemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EventPrice$orderItemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1180
- /**
1181
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1182
- * @param onfulfilled The callback to execute when the Promise is resolved.
1183
- * @param onrejected The callback to execute when the Promise is rejected.
1184
- * @returns A Promise for the completion of which ever callback is executed.
1185
- */
1186
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1187
- /**
1188
- * Attaches a callback for only the rejection of the Promise.
1189
- * @param onrejected The callback to execute when the Promise is rejected.
1190
- * @returns A Promise for the completion of the callback.
1191
- */
1192
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1193
- /**
1194
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1195
- * resolved value cannot be modified from the callback.
1196
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1197
- * @returns A Promise for the completion of the callback.
1198
- */
1199
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1200
- }
1201
-
1202
-
1203
-
1204
-
1205
- /**
1206
- * Fields of the EventPrice model
1207
- */
1208
- export interface EventPriceFieldRefs {
1209
- readonly id: Prisma.FieldRef<"EventPrice", 'String'>
1210
- readonly name: Prisma.FieldRef<"EventPrice", 'String'>
1211
- readonly amount: Prisma.FieldRef<"EventPrice", 'Float'>
1212
- readonly description: Prisma.FieldRef<"EventPrice", 'String'>
1213
- readonly eventId: Prisma.FieldRef<"EventPrice", 'String'>
1214
- readonly totalSeats: Prisma.FieldRef<"EventPrice", 'Int'>
1215
- readonly createdAt: Prisma.FieldRef<"EventPrice", 'DateTime'>
1216
- readonly updatedAt: Prisma.FieldRef<"EventPrice", 'DateTime'>
1217
- }
1218
-
1219
-
1220
- // Custom InputTypes
1221
- /**
1222
- * EventPrice findUnique
1223
- */
1224
- export type EventPriceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1225
- /**
1226
- * Select specific fields to fetch from the EventPrice
1227
- */
1228
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1229
- /**
1230
- * Omit specific fields from the EventPrice
1231
- */
1232
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1233
- /**
1234
- * Choose, which related nodes to fetch as well
1235
- */
1236
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1237
- /**
1238
- * Filter, which EventPrice to fetch.
1239
- */
1240
- where: Prisma.EventPriceWhereUniqueInput
1241
- }
1242
-
1243
- /**
1244
- * EventPrice findUniqueOrThrow
1245
- */
1246
- export type EventPriceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1247
- /**
1248
- * Select specific fields to fetch from the EventPrice
1249
- */
1250
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1251
- /**
1252
- * Omit specific fields from the EventPrice
1253
- */
1254
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1255
- /**
1256
- * Choose, which related nodes to fetch as well
1257
- */
1258
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1259
- /**
1260
- * Filter, which EventPrice to fetch.
1261
- */
1262
- where: Prisma.EventPriceWhereUniqueInput
1263
- }
1264
-
1265
- /**
1266
- * EventPrice findFirst
1267
- */
1268
- export type EventPriceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
- /**
1270
- * Select specific fields to fetch from the EventPrice
1271
- */
1272
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1273
- /**
1274
- * Omit specific fields from the EventPrice
1275
- */
1276
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1277
- /**
1278
- * Choose, which related nodes to fetch as well
1279
- */
1280
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1281
- /**
1282
- * Filter, which EventPrice to fetch.
1283
- */
1284
- where?: Prisma.EventPriceWhereInput
1285
- /**
1286
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1287
- *
1288
- * Determine the order of EventPrices to fetch.
1289
- */
1290
- orderBy?: Prisma.EventPriceOrderByWithRelationInput | Prisma.EventPriceOrderByWithRelationInput[]
1291
- /**
1292
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1293
- *
1294
- * Sets the position for searching for EventPrices.
1295
- */
1296
- cursor?: Prisma.EventPriceWhereUniqueInput
1297
- /**
1298
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1299
- *
1300
- * Take `±n` EventPrices from the position of the cursor.
1301
- */
1302
- take?: number
1303
- /**
1304
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1305
- *
1306
- * Skip the first `n` EventPrices.
1307
- */
1308
- skip?: number
1309
- /**
1310
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1311
- *
1312
- * Filter by unique combinations of EventPrices.
1313
- */
1314
- distinct?: Prisma.EventPriceScalarFieldEnum | Prisma.EventPriceScalarFieldEnum[]
1315
- }
1316
-
1317
- /**
1318
- * EventPrice findFirstOrThrow
1319
- */
1320
- export type EventPriceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
- /**
1322
- * Select specific fields to fetch from the EventPrice
1323
- */
1324
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1325
- /**
1326
- * Omit specific fields from the EventPrice
1327
- */
1328
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1329
- /**
1330
- * Choose, which related nodes to fetch as well
1331
- */
1332
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1333
- /**
1334
- * Filter, which EventPrice to fetch.
1335
- */
1336
- where?: Prisma.EventPriceWhereInput
1337
- /**
1338
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1339
- *
1340
- * Determine the order of EventPrices to fetch.
1341
- */
1342
- orderBy?: Prisma.EventPriceOrderByWithRelationInput | Prisma.EventPriceOrderByWithRelationInput[]
1343
- /**
1344
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1345
- *
1346
- * Sets the position for searching for EventPrices.
1347
- */
1348
- cursor?: Prisma.EventPriceWhereUniqueInput
1349
- /**
1350
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1351
- *
1352
- * Take `±n` EventPrices from the position of the cursor.
1353
- */
1354
- take?: number
1355
- /**
1356
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1357
- *
1358
- * Skip the first `n` EventPrices.
1359
- */
1360
- skip?: number
1361
- /**
1362
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1363
- *
1364
- * Filter by unique combinations of EventPrices.
1365
- */
1366
- distinct?: Prisma.EventPriceScalarFieldEnum | Prisma.EventPriceScalarFieldEnum[]
1367
- }
1368
-
1369
- /**
1370
- * EventPrice findMany
1371
- */
1372
- export type EventPriceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1373
- /**
1374
- * Select specific fields to fetch from the EventPrice
1375
- */
1376
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1377
- /**
1378
- * Omit specific fields from the EventPrice
1379
- */
1380
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1381
- /**
1382
- * Choose, which related nodes to fetch as well
1383
- */
1384
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1385
- /**
1386
- * Filter, which EventPrices to fetch.
1387
- */
1388
- where?: Prisma.EventPriceWhereInput
1389
- /**
1390
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1391
- *
1392
- * Determine the order of EventPrices to fetch.
1393
- */
1394
- orderBy?: Prisma.EventPriceOrderByWithRelationInput | Prisma.EventPriceOrderByWithRelationInput[]
1395
- /**
1396
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1397
- *
1398
- * Sets the position for listing EventPrices.
1399
- */
1400
- cursor?: Prisma.EventPriceWhereUniqueInput
1401
- /**
1402
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1403
- *
1404
- * Take `±n` EventPrices from the position of the cursor.
1405
- */
1406
- take?: number
1407
- /**
1408
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1409
- *
1410
- * Skip the first `n` EventPrices.
1411
- */
1412
- skip?: number
1413
- /**
1414
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1415
- *
1416
- * Filter by unique combinations of EventPrices.
1417
- */
1418
- distinct?: Prisma.EventPriceScalarFieldEnum | Prisma.EventPriceScalarFieldEnum[]
1419
- }
1420
-
1421
- /**
1422
- * EventPrice create
1423
- */
1424
- export type EventPriceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1425
- /**
1426
- * Select specific fields to fetch from the EventPrice
1427
- */
1428
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1429
- /**
1430
- * Omit specific fields from the EventPrice
1431
- */
1432
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1433
- /**
1434
- * Choose, which related nodes to fetch as well
1435
- */
1436
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1437
- /**
1438
- * The data needed to create a EventPrice.
1439
- */
1440
- data: Prisma.XOR<Prisma.EventPriceCreateInput, Prisma.EventPriceUncheckedCreateInput>
1441
- }
1442
-
1443
- /**
1444
- * EventPrice createMany
1445
- */
1446
- export type EventPriceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1447
- /**
1448
- * The data used to create many EventPrices.
1449
- */
1450
- data: Prisma.EventPriceCreateManyInput | Prisma.EventPriceCreateManyInput[]
1451
- skipDuplicates?: boolean
1452
- }
1453
-
1454
- /**
1455
- * EventPrice createManyAndReturn
1456
- */
1457
- export type EventPriceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1458
- /**
1459
- * Select specific fields to fetch from the EventPrice
1460
- */
1461
- select?: Prisma.EventPriceSelectCreateManyAndReturn<ExtArgs> | null
1462
- /**
1463
- * Omit specific fields from the EventPrice
1464
- */
1465
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1466
- /**
1467
- * The data used to create many EventPrices.
1468
- */
1469
- data: Prisma.EventPriceCreateManyInput | Prisma.EventPriceCreateManyInput[]
1470
- skipDuplicates?: boolean
1471
- /**
1472
- * Choose, which related nodes to fetch as well
1473
- */
1474
- include?: Prisma.EventPriceIncludeCreateManyAndReturn<ExtArgs> | null
1475
- }
1476
-
1477
- /**
1478
- * EventPrice update
1479
- */
1480
- export type EventPriceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1481
- /**
1482
- * Select specific fields to fetch from the EventPrice
1483
- */
1484
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1485
- /**
1486
- * Omit specific fields from the EventPrice
1487
- */
1488
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1489
- /**
1490
- * Choose, which related nodes to fetch as well
1491
- */
1492
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1493
- /**
1494
- * The data needed to update a EventPrice.
1495
- */
1496
- data: Prisma.XOR<Prisma.EventPriceUpdateInput, Prisma.EventPriceUncheckedUpdateInput>
1497
- /**
1498
- * Choose, which EventPrice to update.
1499
- */
1500
- where: Prisma.EventPriceWhereUniqueInput
1501
- }
1502
-
1503
- /**
1504
- * EventPrice updateMany
1505
- */
1506
- export type EventPriceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1507
- /**
1508
- * The data used to update EventPrices.
1509
- */
1510
- data: Prisma.XOR<Prisma.EventPriceUpdateManyMutationInput, Prisma.EventPriceUncheckedUpdateManyInput>
1511
- /**
1512
- * Filter which EventPrices to update
1513
- */
1514
- where?: Prisma.EventPriceWhereInput
1515
- /**
1516
- * Limit how many EventPrices to update.
1517
- */
1518
- limit?: number
1519
- }
1520
-
1521
- /**
1522
- * EventPrice updateManyAndReturn
1523
- */
1524
- export type EventPriceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1525
- /**
1526
- * Select specific fields to fetch from the EventPrice
1527
- */
1528
- select?: Prisma.EventPriceSelectUpdateManyAndReturn<ExtArgs> | null
1529
- /**
1530
- * Omit specific fields from the EventPrice
1531
- */
1532
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1533
- /**
1534
- * The data used to update EventPrices.
1535
- */
1536
- data: Prisma.XOR<Prisma.EventPriceUpdateManyMutationInput, Prisma.EventPriceUncheckedUpdateManyInput>
1537
- /**
1538
- * Filter which EventPrices to update
1539
- */
1540
- where?: Prisma.EventPriceWhereInput
1541
- /**
1542
- * Limit how many EventPrices to update.
1543
- */
1544
- limit?: number
1545
- /**
1546
- * Choose, which related nodes to fetch as well
1547
- */
1548
- include?: Prisma.EventPriceIncludeUpdateManyAndReturn<ExtArgs> | null
1549
- }
1550
-
1551
- /**
1552
- * EventPrice upsert
1553
- */
1554
- export type EventPriceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1555
- /**
1556
- * Select specific fields to fetch from the EventPrice
1557
- */
1558
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1559
- /**
1560
- * Omit specific fields from the EventPrice
1561
- */
1562
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1563
- /**
1564
- * Choose, which related nodes to fetch as well
1565
- */
1566
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1567
- /**
1568
- * The filter to search for the EventPrice to update in case it exists.
1569
- */
1570
- where: Prisma.EventPriceWhereUniqueInput
1571
- /**
1572
- * In case the EventPrice found by the `where` argument doesn't exist, create a new EventPrice with this data.
1573
- */
1574
- create: Prisma.XOR<Prisma.EventPriceCreateInput, Prisma.EventPriceUncheckedCreateInput>
1575
- /**
1576
- * In case the EventPrice was found with the provided `where` argument, update it with this data.
1577
- */
1578
- update: Prisma.XOR<Prisma.EventPriceUpdateInput, Prisma.EventPriceUncheckedUpdateInput>
1579
- }
1580
-
1581
- /**
1582
- * EventPrice delete
1583
- */
1584
- export type EventPriceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1585
- /**
1586
- * Select specific fields to fetch from the EventPrice
1587
- */
1588
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1589
- /**
1590
- * Omit specific fields from the EventPrice
1591
- */
1592
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1593
- /**
1594
- * Choose, which related nodes to fetch as well
1595
- */
1596
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1597
- /**
1598
- * Filter which EventPrice to delete.
1599
- */
1600
- where: Prisma.EventPriceWhereUniqueInput
1601
- }
1602
-
1603
- /**
1604
- * EventPrice deleteMany
1605
- */
1606
- export type EventPriceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1607
- /**
1608
- * Filter which EventPrices to delete
1609
- */
1610
- where?: Prisma.EventPriceWhereInput
1611
- /**
1612
- * Limit how many EventPrices to delete.
1613
- */
1614
- limit?: number
1615
- }
1616
-
1617
- /**
1618
- * EventPrice.orderItems
1619
- */
1620
- export type EventPrice$orderItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1621
- /**
1622
- * Select specific fields to fetch from the OrderItem
1623
- */
1624
- select?: Prisma.OrderItemSelect<ExtArgs> | null
1625
- /**
1626
- * Omit specific fields from the OrderItem
1627
- */
1628
- omit?: Prisma.OrderItemOmit<ExtArgs> | null
1629
- /**
1630
- * Choose, which related nodes to fetch as well
1631
- */
1632
- include?: Prisma.OrderItemInclude<ExtArgs> | null
1633
- where?: Prisma.OrderItemWhereInput
1634
- orderBy?: Prisma.OrderItemOrderByWithRelationInput | Prisma.OrderItemOrderByWithRelationInput[]
1635
- cursor?: Prisma.OrderItemWhereUniqueInput
1636
- take?: number
1637
- skip?: number
1638
- distinct?: Prisma.OrderItemScalarFieldEnum | Prisma.OrderItemScalarFieldEnum[]
1639
- }
1640
-
1641
- /**
1642
- * EventPrice without action
1643
- */
1644
- export type EventPriceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1645
- /**
1646
- * Select specific fields to fetch from the EventPrice
1647
- */
1648
- select?: Prisma.EventPriceSelect<ExtArgs> | null
1649
- /**
1650
- * Omit specific fields from the EventPrice
1651
- */
1652
- omit?: Prisma.EventPriceOmit<ExtArgs> | null
1653
- /**
1654
- * Choose, which related nodes to fetch as well
1655
- */
1656
- include?: Prisma.EventPriceInclude<ExtArgs> | null
1657
- }