@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.2

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