@shophost/rest-api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +69 -0
  3. package/global.d.ts +1 -0
  4. package/package.json +53 -0
  5. package/schemas.d.ts +1 -0
  6. package/schemas.js +2 -0
  7. package/schemas.ts +1 -0
  8. package/src/contract.d.ts +3853 -0
  9. package/src/contract.js +6 -0
  10. package/src/contract.js.map +1 -0
  11. package/src/contracts/cart.contract.d.ts +536 -0
  12. package/src/contracts/cart.contract.js +29 -0
  13. package/src/contracts/cart.contract.js.map +1 -0
  14. package/src/contracts/customers.contract.d.ts +903 -0
  15. package/src/contracts/customers.contract.js +119 -0
  16. package/src/contracts/customers.contract.js.map +1 -0
  17. package/src/contracts/files.contract.d.ts +152 -0
  18. package/src/contracts/files.contract.js +29 -0
  19. package/src/contracts/files.contract.js.map +1 -0
  20. package/src/contracts/health.contract.d.ts +38 -0
  21. package/src/contracts/health.contract.js +25 -0
  22. package/src/contracts/health.contract.js.map +1 -0
  23. package/src/contracts/index.d.ts +15466 -0
  24. package/src/contracts/index.js +32 -0
  25. package/src/contracts/index.js.map +1 -0
  26. package/src/contracts/location.contract.d.ts +127 -0
  27. package/src/contracts/location.contract.js +40 -0
  28. package/src/contracts/location.contract.js.map +1 -0
  29. package/src/contracts/manufacturers.contract.d.ts +931 -0
  30. package/src/contracts/manufacturers.contract.js +85 -0
  31. package/src/contracts/manufacturers.contract.js.map +1 -0
  32. package/src/contracts/orders.contract.d.ts +3910 -0
  33. package/src/contracts/orders.contract.js +92 -0
  34. package/src/contracts/orders.contract.js.map +1 -0
  35. package/src/contracts/organizations.contract.d.ts +2234 -0
  36. package/src/contracts/organizations.contract.js +71 -0
  37. package/src/contracts/organizations.contract.js.map +1 -0
  38. package/src/contracts/payment.contract.d.ts +64 -0
  39. package/src/contracts/payment.contract.js +20 -0
  40. package/src/contracts/payment.contract.js.map +1 -0
  41. package/src/contracts/product-categories.contract.d.ts +1172 -0
  42. package/src/contracts/product-categories.contract.js +103 -0
  43. package/src/contracts/product-categories.contract.js.map +1 -0
  44. package/src/contracts/products.contract.d.ts +3976 -0
  45. package/src/contracts/products.contract.js +128 -0
  46. package/src/contracts/products.contract.js.map +1 -0
  47. package/src/contracts/reservation.contract.d.ts +675 -0
  48. package/src/contracts/reservation.contract.js +141 -0
  49. package/src/contracts/reservation.contract.js.map +1 -0
  50. package/src/contracts/shipping-methods.contract.d.ts +1276 -0
  51. package/src/contracts/shipping-methods.contract.js +118 -0
  52. package/src/contracts/shipping-methods.contract.js.map +1 -0
  53. package/src/contracts/shipping.contract.d.ts +319 -0
  54. package/src/contracts/shipping.contract.js +42 -0
  55. package/src/contracts/shipping.contract.js.map +1 -0
  56. package/src/contracts/webhook.contract.d.ts +66 -0
  57. package/src/contracts/webhook.contract.js +28 -0
  58. package/src/contracts/webhook.contract.js.map +1 -0
  59. package/src/db/__generated__/client/client.d.ts +385 -0
  60. package/src/db/__generated__/client/client.js +44 -0
  61. package/src/db/__generated__/client/client.js.map +1 -0
  62. package/src/db/__generated__/client/commonInputTypes.d.ts +816 -0
  63. package/src/db/__generated__/client/commonInputTypes.js +10 -0
  64. package/src/db/__generated__/client/commonInputTypes.js.map +1 -0
  65. package/src/db/__generated__/client/enums.d.ts +204 -0
  66. package/src/db/__generated__/client/enums.js +199 -0
  67. package/src/db/__generated__/client/enums.js.map +1 -0
  68. package/src/db/__generated__/client/index.d.ts +1 -0
  69. package/src/db/__generated__/client/index.js +5 -0
  70. package/src/db/__generated__/client/index.js.map +1 -0
  71. package/src/db/__generated__/client/internal/class.d.ts +414 -0
  72. package/src/db/__generated__/client/internal/class.js +76 -0
  73. package/src/db/__generated__/client/internal/class.js.map +1 -0
  74. package/src/db/__generated__/client/internal/prismaNamespace.d.ts +3474 -0
  75. package/src/db/__generated__/client/internal/prismaNamespace.js +543 -0
  76. package/src/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
  77. package/src/db/__generated__/client/models/Account.d.ts +1459 -0
  78. package/src/db/__generated__/client/models/Account.js +2 -0
  79. package/src/db/__generated__/client/models/Account.js.map +1 -0
  80. package/src/db/__generated__/client/models/Address.d.ts +2337 -0
  81. package/src/db/__generated__/client/models/Address.js +2 -0
  82. package/src/db/__generated__/client/models/Address.js.map +1 -0
  83. package/src/db/__generated__/client/models/Campaign.d.ts +1469 -0
  84. package/src/db/__generated__/client/models/Campaign.js +2 -0
  85. package/src/db/__generated__/client/models/Campaign.js.map +1 -0
  86. package/src/db/__generated__/client/models/ClosingTimes.d.ts +1227 -0
  87. package/src/db/__generated__/client/models/ClosingTimes.js +2 -0
  88. package/src/db/__generated__/client/models/ClosingTimes.js.map +1 -0
  89. package/src/db/__generated__/client/models/File.d.ts +2670 -0
  90. package/src/db/__generated__/client/models/File.js +2 -0
  91. package/src/db/__generated__/client/models/File.js.map +1 -0
  92. package/src/db/__generated__/client/models/Invitation.d.ts +1363 -0
  93. package/src/db/__generated__/client/models/Invitation.js +2 -0
  94. package/src/db/__generated__/client/models/Invitation.js.map +1 -0
  95. package/src/db/__generated__/client/models/LegalEntity.d.ts +1572 -0
  96. package/src/db/__generated__/client/models/LegalEntity.js +2 -0
  97. package/src/db/__generated__/client/models/LegalEntity.js.map +1 -0
  98. package/src/db/__generated__/client/models/Manufacturer.d.ts +1746 -0
  99. package/src/db/__generated__/client/models/Manufacturer.js +2 -0
  100. package/src/db/__generated__/client/models/Manufacturer.js.map +1 -0
  101. package/src/db/__generated__/client/models/ManufacturerTranslation.d.ts +1286 -0
  102. package/src/db/__generated__/client/models/ManufacturerTranslation.js +2 -0
  103. package/src/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
  104. package/src/db/__generated__/client/models/Member.d.ts +1281 -0
  105. package/src/db/__generated__/client/models/Member.js +2 -0
  106. package/src/db/__generated__/client/models/Member.js.map +1 -0
  107. package/src/db/__generated__/client/models/Modifier.d.ts +1404 -0
  108. package/src/db/__generated__/client/models/Modifier.js +2 -0
  109. package/src/db/__generated__/client/models/Modifier.js.map +1 -0
  110. package/src/db/__generated__/client/models/ModifierGroup.d.ts +1469 -0
  111. package/src/db/__generated__/client/models/ModifierGroup.js +2 -0
  112. package/src/db/__generated__/client/models/ModifierGroup.js.map +1 -0
  113. package/src/db/__generated__/client/models/ModifierGroupTranslation.d.ts +1181 -0
  114. package/src/db/__generated__/client/models/ModifierGroupTranslation.js +2 -0
  115. package/src/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
  116. package/src/db/__generated__/client/models/OpeningTimes.d.ts +1227 -0
  117. package/src/db/__generated__/client/models/OpeningTimes.js +2 -0
  118. package/src/db/__generated__/client/models/OpeningTimes.js.map +1 -0
  119. package/src/db/__generated__/client/models/Order.d.ts +2820 -0
  120. package/src/db/__generated__/client/models/Order.js +2 -0
  121. package/src/db/__generated__/client/models/Order.js.map +1 -0
  122. package/src/db/__generated__/client/models/OrderItem.d.ts +1755 -0
  123. package/src/db/__generated__/client/models/OrderItem.js +2 -0
  124. package/src/db/__generated__/client/models/OrderItem.js.map +1 -0
  125. package/src/db/__generated__/client/models/OrderItemTranslation.d.ts +1181 -0
  126. package/src/db/__generated__/client/models/OrderItemTranslation.js +2 -0
  127. package/src/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
  128. package/src/db/__generated__/client/models/Organization.d.ts +3996 -0
  129. package/src/db/__generated__/client/models/Organization.js +2 -0
  130. package/src/db/__generated__/client/models/Organization.js.map +1 -0
  131. package/src/db/__generated__/client/models/OrganizationConfiguration.d.ts +1954 -0
  132. package/src/db/__generated__/client/models/OrganizationConfiguration.js +2 -0
  133. package/src/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
  134. package/src/db/__generated__/client/models/Payment.d.ts +1538 -0
  135. package/src/db/__generated__/client/models/Payment.js +2 -0
  136. package/src/db/__generated__/client/models/Payment.js.map +1 -0
  137. package/src/db/__generated__/client/models/PaymentSession.d.ts +1384 -0
  138. package/src/db/__generated__/client/models/PaymentSession.js +2 -0
  139. package/src/db/__generated__/client/models/PaymentSession.js.map +1 -0
  140. package/src/db/__generated__/client/models/Product.d.ts +3136 -0
  141. package/src/db/__generated__/client/models/Product.js +2 -0
  142. package/src/db/__generated__/client/models/Product.js.map +1 -0
  143. package/src/db/__generated__/client/models/ProductCategory.d.ts +1964 -0
  144. package/src/db/__generated__/client/models/ProductCategory.js +2 -0
  145. package/src/db/__generated__/client/models/ProductCategory.js.map +1 -0
  146. package/src/db/__generated__/client/models/ProductCategoryTranslation.d.ts +1321 -0
  147. package/src/db/__generated__/client/models/ProductCategoryTranslation.js +2 -0
  148. package/src/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
  149. package/src/db/__generated__/client/models/ProductSnapshot.d.ts +1389 -0
  150. package/src/db/__generated__/client/models/ProductSnapshot.js +2 -0
  151. package/src/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
  152. package/src/db/__generated__/client/models/ProductTranslation.d.ts +1321 -0
  153. package/src/db/__generated__/client/models/ProductTranslation.js +2 -0
  154. package/src/db/__generated__/client/models/ProductTranslation.js.map +1 -0
  155. package/src/db/__generated__/client/models/Reservation.d.ts +1665 -0
  156. package/src/db/__generated__/client/models/Reservation.js +2 -0
  157. package/src/db/__generated__/client/models/Reservation.js.map +1 -0
  158. package/src/db/__generated__/client/models/Session.d.ts +1316 -0
  159. package/src/db/__generated__/client/models/Session.js +2 -0
  160. package/src/db/__generated__/client/models/Session.js.map +1 -0
  161. package/src/db/__generated__/client/models/ShippingMethod.d.ts +1934 -0
  162. package/src/db/__generated__/client/models/ShippingMethod.js +2 -0
  163. package/src/db/__generated__/client/models/ShippingMethod.js.map +1 -0
  164. package/src/db/__generated__/client/models/ShippingZone.d.ts +1366 -0
  165. package/src/db/__generated__/client/models/ShippingZone.js +2 -0
  166. package/src/db/__generated__/client/models/ShippingZone.js.map +1 -0
  167. package/src/db/__generated__/client/models/User.d.ts +2201 -0
  168. package/src/db/__generated__/client/models/User.js +2 -0
  169. package/src/db/__generated__/client/models/User.js.map +1 -0
  170. package/src/db/__generated__/client/models/Verification.d.ts +1026 -0
  171. package/src/db/__generated__/client/models/Verification.js +2 -0
  172. package/src/db/__generated__/client/models/Verification.js.map +1 -0
  173. package/src/db/__generated__/client/models.d.ts +38 -0
  174. package/src/db/__generated__/client/models.js +2 -0
  175. package/src/db/__generated__/client/models.js.map +1 -0
  176. package/src/db/index.d.ts +1 -0
  177. package/src/db/index.js +2 -0
  178. package/src/db/index.js.map +1 -0
  179. package/src/emails/order-confirmation-email.d.ts +10 -0
  180. package/src/emails/order-confirmation-email.js +229 -0
  181. package/src/emails/order-confirmation-email.js.map +1 -0
  182. package/src/emails/order-notification-email.d.ts +10 -0
  183. package/src/emails/order-notification-email.js +229 -0
  184. package/src/emails/order-notification-email.js.map +1 -0
  185. package/src/emails/reservation-cancellation-email.d.ts +10 -0
  186. package/src/emails/reservation-cancellation-email.js +82 -0
  187. package/src/emails/reservation-cancellation-email.js.map +1 -0
  188. package/src/emails/reservation-confirmation-email.d.ts +10 -0
  189. package/src/emails/reservation-confirmation-email.js +82 -0
  190. package/src/emails/reservation-confirmation-email.js.map +1 -0
  191. package/src/emails/reservation-notification-email.d.ts +11 -0
  192. package/src/emails/reservation-notification-email.js +93 -0
  193. package/src/emails/reservation-notification-email.js.map +1 -0
  194. package/src/exceptions/http-exception.d.ts +6 -0
  195. package/src/exceptions/http-exception.js +9 -0
  196. package/src/exceptions/http-exception.js.map +1 -0
  197. package/src/handlers/webhook.handler.d.ts +8 -0
  198. package/src/handlers/webhook.handler.js +36 -0
  199. package/src/handlers/webhook.handler.js.map +1 -0
  200. package/src/index.d.ts +5 -0
  201. package/src/index.js +7 -0
  202. package/src/index.js.map +1 -0
  203. package/src/integrations/next.d.ts +25 -0
  204. package/src/integrations/next.js +69 -0
  205. package/src/integrations/next.js.map +1 -0
  206. package/src/lib/better-auth.lib.d.ts +10215 -0
  207. package/src/lib/better-auth.lib.js +96 -0
  208. package/src/lib/better-auth.lib.js.map +1 -0
  209. package/src/lib/openapi.lib.d.ts +2 -0
  210. package/src/lib/openapi.lib.js +25 -0
  211. package/src/lib/openapi.lib.js.map +1 -0
  212. package/src/lib/pino.d.ts +1 -0
  213. package/src/lib/pino.js +5 -0
  214. package/src/lib/pino.js.map +1 -0
  215. package/src/lib/prisma.d.ts +819 -0
  216. package/src/lib/prisma.js +14 -0
  217. package/src/lib/prisma.js.map +1 -0
  218. package/src/lib/stripe.d.ts +2 -0
  219. package/src/lib/stripe.js +8 -0
  220. package/src/lib/stripe.js.map +1 -0
  221. package/src/lib/ts-rest.d.ts +2 -0
  222. package/src/lib/ts-rest.js +3 -0
  223. package/src/lib/ts-rest.js.map +1 -0
  224. package/src/routers/cart.router.d.ts +536 -0
  225. package/src/routers/cart.router.js +20 -0
  226. package/src/routers/cart.router.js.map +1 -0
  227. package/src/routers/file.router.d.ts +153 -0
  228. package/src/routers/file.router.js +28 -0
  229. package/src/routers/file.router.js.map +1 -0
  230. package/src/routers/health.router.d.ts +37 -0
  231. package/src/routers/health.router.js +17 -0
  232. package/src/routers/health.router.js.map +1 -0
  233. package/src/routers/index.d.ts +11 -0
  234. package/src/routers/index.js +12 -0
  235. package/src/routers/index.js.map +1 -0
  236. package/src/routers/manufacturer.router.d.ts +931 -0
  237. package/src/routers/manufacturer.router.js +58 -0
  238. package/src/routers/manufacturer.router.js.map +1 -0
  239. package/src/routers/order.router.d.ts +3911 -0
  240. package/src/routers/order.router.js +60 -0
  241. package/src/routers/order.router.js.map +1 -0
  242. package/src/routers/organization.router.d.ts +2234 -0
  243. package/src/routers/organization.router.js +55 -0
  244. package/src/routers/organization.router.js.map +1 -0
  245. package/src/routers/payment.router.d.ts +65 -0
  246. package/src/routers/payment.router.js +22 -0
  247. package/src/routers/payment.router.js.map +1 -0
  248. package/src/routers/places.router.d.ts +132 -0
  249. package/src/routers/places.router.js +31 -0
  250. package/src/routers/places.router.js.map +1 -0
  251. package/src/routers/product-category.router.d.ts +1172 -0
  252. package/src/routers/product-category.router.js +66 -0
  253. package/src/routers/product-category.router.js.map +1 -0
  254. package/src/routers/product.router.d.ts +3976 -0
  255. package/src/routers/product.router.js +86 -0
  256. package/src/routers/product.router.js.map +1 -0
  257. package/src/routers/reservation.router.d.ts +675 -0
  258. package/src/routers/reservation.router.js +71 -0
  259. package/src/routers/reservation.router.js.map +1 -0
  260. package/src/routers/shipping-method.router.d.ts +1276 -0
  261. package/src/routers/shipping-method.router.js +67 -0
  262. package/src/routers/shipping-method.router.js.map +1 -0
  263. package/src/routers/shipping.router.d.ts +320 -0
  264. package/src/routers/shipping.router.js +38 -0
  265. package/src/routers/shipping.router.js.map +1 -0
  266. package/src/routers/webhook.router.d.ts +65 -0
  267. package/src/routers/webhook.router.js +19 -0
  268. package/src/routers/webhook.router.js.map +1 -0
  269. package/src/schemas/address.schema.d.ts +235 -0
  270. package/src/schemas/address.schema.js +114 -0
  271. package/src/schemas/address.schema.js.map +1 -0
  272. package/src/schemas/auth.schema.d.ts +29 -0
  273. package/src/schemas/auth.schema.js +39 -0
  274. package/src/schemas/auth.schema.js.map +1 -0
  275. package/src/schemas/cart.schema.d.ts +446 -0
  276. package/src/schemas/cart.schema.js +41 -0
  277. package/src/schemas/cart.schema.js.map +1 -0
  278. package/src/schemas/currency.schema.d.ts +49 -0
  279. package/src/schemas/currency.schema.js +120 -0
  280. package/src/schemas/currency.schema.js.map +1 -0
  281. package/src/schemas/error.schema.d.ts +11 -0
  282. package/src/schemas/error.schema.js +14 -0
  283. package/src/schemas/error.schema.js.map +1 -0
  284. package/src/schemas/file.schema.d.ts +115 -0
  285. package/src/schemas/file.schema.js +79 -0
  286. package/src/schemas/file.schema.js.map +1 -0
  287. package/src/schemas/fulfilment.schema.d.ts +2 -0
  288. package/src/schemas/fulfilment.schema.js +5 -0
  289. package/src/schemas/fulfilment.schema.js.map +1 -0
  290. package/src/schemas/headers.schema.d.ts +11 -0
  291. package/src/schemas/headers.schema.js +15 -0
  292. package/src/schemas/headers.schema.js.map +1 -0
  293. package/src/schemas/index.d.ts +27 -0
  294. package/src/schemas/index.js +28 -0
  295. package/src/schemas/index.js.map +1 -0
  296. package/src/schemas/legal-entity.schema.d.ts +212 -0
  297. package/src/schemas/legal-entity.schema.js +85 -0
  298. package/src/schemas/legal-entity.schema.js.map +1 -0
  299. package/src/schemas/locales.schema.d.ts +8 -0
  300. package/src/schemas/locales.schema.js +240 -0
  301. package/src/schemas/locales.schema.js.map +1 -0
  302. package/src/schemas/location.schema.d.ts +41 -0
  303. package/src/schemas/location.schema.js +50 -0
  304. package/src/schemas/location.schema.js.map +1 -0
  305. package/src/schemas/manufacturer.schema.d.ts +287 -0
  306. package/src/schemas/manufacturer.schema.js +127 -0
  307. package/src/schemas/manufacturer.schema.js.map +1 -0
  308. package/src/schemas/number.schema.d.ts +3 -0
  309. package/src/schemas/number.schema.js +29 -0
  310. package/src/schemas/number.schema.js.map +1 -0
  311. package/src/schemas/order.schema.d.ts +1046 -0
  312. package/src/schemas/order.schema.js +160 -0
  313. package/src/schemas/order.schema.js.map +1 -0
  314. package/src/schemas/organization-configuration.schema.d.ts +287 -0
  315. package/src/schemas/organization-configuration.schema.js +117 -0
  316. package/src/schemas/organization-configuration.schema.js.map +1 -0
  317. package/src/schemas/organization.schema.d.ts +894 -0
  318. package/src/schemas/organization.schema.js +66 -0
  319. package/src/schemas/organization.schema.js.map +1 -0
  320. package/src/schemas/pagination.schema.d.ts +51 -0
  321. package/src/schemas/pagination.schema.js +54 -0
  322. package/src/schemas/pagination.schema.js.map +1 -0
  323. package/src/schemas/params.schema.d.ts +19 -0
  324. package/src/schemas/params.schema.js +22 -0
  325. package/src/schemas/params.schema.js.map +1 -0
  326. package/src/schemas/payment.schema.d.ts +54 -0
  327. package/src/schemas/payment.schema.js +48 -0
  328. package/src/schemas/payment.schema.js.map +1 -0
  329. package/src/schemas/product-category.schema.d.ts +352 -0
  330. package/src/schemas/product-category.schema.js +87 -0
  331. package/src/schemas/product-category.schema.js.map +1 -0
  332. package/src/schemas/product-modifier.schema.d.ts +280 -0
  333. package/src/schemas/product-modifier.schema.js +86 -0
  334. package/src/schemas/product-modifier.schema.js.map +1 -0
  335. package/src/schemas/product.schema.d.ts +1405 -0
  336. package/src/schemas/product.schema.js +136 -0
  337. package/src/schemas/product.schema.js.map +1 -0
  338. package/src/schemas/queries.schema.d.ts +8 -0
  339. package/src/schemas/queries.schema.js +8 -0
  340. package/src/schemas/queries.schema.js.map +1 -0
  341. package/src/schemas/recipient.schema.d.ts +260 -0
  342. package/src/schemas/recipient.schema.js +40 -0
  343. package/src/schemas/recipient.schema.js.map +1 -0
  344. package/src/schemas/reservation.schema.d.ts +61 -0
  345. package/src/schemas/reservation.schema.js +53 -0
  346. package/src/schemas/reservation.schema.js.map +1 -0
  347. package/src/schemas/shipping-method.schema.d.ts +335 -0
  348. package/src/schemas/shipping-method.schema.js +50 -0
  349. package/src/schemas/shipping-method.schema.js.map +1 -0
  350. package/src/schemas/shipping-zone.schema.d.ts +24 -0
  351. package/src/schemas/shipping-zone.schema.js +33 -0
  352. package/src/schemas/shipping-zone.schema.js.map +1 -0
  353. package/src/schemas/user.schema.d.ts +24 -0
  354. package/src/schemas/user.schema.js +32 -0
  355. package/src/schemas/user.schema.js.map +1 -0
  356. package/src/services/cart.service.d.ts +60 -0
  357. package/src/services/cart.service.js +97 -0
  358. package/src/services/cart.service.js.map +1 -0
  359. package/src/services/email.service.d.ts +32 -0
  360. package/src/services/email.service.js +116 -0
  361. package/src/services/email.service.js.map +1 -0
  362. package/src/services/file.service.d.ts +28 -0
  363. package/src/services/file.service.js +66 -0
  364. package/src/services/file.service.js.map +1 -0
  365. package/src/services/location.service.d.ts +28 -0
  366. package/src/services/location.service.js +109 -0
  367. package/src/services/location.service.js.map +1 -0
  368. package/src/services/manufacturer.service.d.ts +146 -0
  369. package/src/services/manufacturer.service.js +190 -0
  370. package/src/services/manufacturer.service.js.map +1 -0
  371. package/src/services/order.service.d.ts +444 -0
  372. package/src/services/order.service.js +306 -0
  373. package/src/services/order.service.js.map +1 -0
  374. package/src/services/organization.service.d.ts +301 -0
  375. package/src/services/organization.service.js +312 -0
  376. package/src/services/organization.service.js.map +1 -0
  377. package/src/services/payment.service.d.ts +35 -0
  378. package/src/services/payment.service.js +100 -0
  379. package/src/services/payment.service.js.map +1 -0
  380. package/src/services/product-category.service.d.ts +180 -0
  381. package/src/services/product-category.service.js +220 -0
  382. package/src/services/product-category.service.js.map +1 -0
  383. package/src/services/product.service.d.ts +493 -0
  384. package/src/services/product.service.js +437 -0
  385. package/src/services/product.service.js.map +1 -0
  386. package/src/services/reservation.service.d.ts +104 -0
  387. package/src/services/reservation.service.js +231 -0
  388. package/src/services/reservation.service.js.map +1 -0
  389. package/src/services/shipping-method.service.d.ts +206 -0
  390. package/src/services/shipping-method.service.js +229 -0
  391. package/src/services/shipping-method.service.js.map +1 -0
  392. package/src/services/shipping.service.d.ts +57 -0
  393. package/src/services/shipping.service.js +96 -0
  394. package/src/services/shipping.service.js.map +1 -0
  395. package/src/services/stripe.service.d.ts +26 -0
  396. package/src/services/stripe.service.js +164 -0
  397. package/src/services/stripe.service.js.map +1 -0
  398. package/src/types/google-maps.types.d.ts +53 -0
  399. package/src/types/google-maps.types.js +2 -0
  400. package/src/types/google-maps.types.js.map +1 -0
  401. package/src/utils/auth.util.d.ts +3 -0
  402. package/src/utils/auth.util.js +36 -0
  403. package/src/utils/auth.util.js.map +1 -0
  404. package/src/utils/cart.util.d.ts +27 -0
  405. package/src/utils/cart.util.js +76 -0
  406. package/src/utils/cart.util.js.map +1 -0
  407. package/src/utils/client.util.d.ts +3853 -0
  408. package/src/utils/client.util.js +6 -0
  409. package/src/utils/client.util.js.map +1 -0
  410. package/src/utils/currency.util.d.ts +1 -0
  411. package/src/utils/currency.util.js +11 -0
  412. package/src/utils/currency.util.js.map +1 -0
  413. package/src/utils/env.util.d.ts +2 -0
  414. package/src/utils/env.util.js +8 -0
  415. package/src/utils/env.util.js.map +1 -0
  416. package/src/utils/error-handler.util.d.ts +3 -0
  417. package/src/utils/error-handler.util.js +30 -0
  418. package/src/utils/error-handler.util.js.map +1 -0
  419. package/src/utils/generate-password-hash.util.d.ts +7 -0
  420. package/src/utils/generate-password-hash.util.js +30 -0
  421. package/src/utils/generate-password-hash.util.js.map +1 -0
  422. package/src/utils/object.util.d.ts +11 -0
  423. package/src/utils/object.util.js +39 -0
  424. package/src/utils/object.util.js.map +1 -0
  425. package/src/utils/translations.util.d.ts +0 -0
  426. package/src/utils/translations.util.js +2 -0
  427. package/src/utils/translations.util.js.map +1 -0
  428. package/src/utils/zod.util.d.ts +15 -0
  429. package/src/utils/zod.util.js +85 -0
  430. package/src/utils/zod.util.js.map +1 -0
@@ -0,0 +1,1026 @@
1
+ /**
2
+ * This file exports the `Verification` model and its related types.
3
+ *
4
+ * 🟢 You can import this file directly.
5
+ */
6
+ import * as runtime from "@prisma/client/runtime/library";
7
+ import type * as Prisma from "../internal/prismaNamespace.ts";
8
+ /**
9
+ * Model Verification
10
+ *
11
+ */
12
+ export type VerificationModel = runtime.Types.Result.DefaultSelection<Prisma.$VerificationPayload>;
13
+ export type AggregateVerification = {
14
+ _count: VerificationCountAggregateOutputType | null;
15
+ _min: VerificationMinAggregateOutputType | null;
16
+ _max: VerificationMaxAggregateOutputType | null;
17
+ };
18
+ export type VerificationMinAggregateOutputType = {
19
+ id: string | null;
20
+ identifier: string | null;
21
+ value: string | null;
22
+ expiresAt: Date | null;
23
+ createdAt: Date | null;
24
+ updatedAt: Date | null;
25
+ };
26
+ export type VerificationMaxAggregateOutputType = {
27
+ id: string | null;
28
+ identifier: string | null;
29
+ value: string | null;
30
+ expiresAt: Date | null;
31
+ createdAt: Date | null;
32
+ updatedAt: Date | null;
33
+ };
34
+ export type VerificationCountAggregateOutputType = {
35
+ id: number;
36
+ identifier: number;
37
+ value: number;
38
+ expiresAt: number;
39
+ createdAt: number;
40
+ updatedAt: number;
41
+ _all: number;
42
+ };
43
+ export type VerificationMinAggregateInputType = {
44
+ id?: true;
45
+ identifier?: true;
46
+ value?: true;
47
+ expiresAt?: true;
48
+ createdAt?: true;
49
+ updatedAt?: true;
50
+ };
51
+ export type VerificationMaxAggregateInputType = {
52
+ id?: true;
53
+ identifier?: true;
54
+ value?: true;
55
+ expiresAt?: true;
56
+ createdAt?: true;
57
+ updatedAt?: true;
58
+ };
59
+ export type VerificationCountAggregateInputType = {
60
+ id?: true;
61
+ identifier?: true;
62
+ value?: true;
63
+ expiresAt?: true;
64
+ createdAt?: true;
65
+ updatedAt?: true;
66
+ _all?: true;
67
+ };
68
+ export type VerificationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
69
+ /**
70
+ * Filter which Verification to aggregate.
71
+ */
72
+ where?: Prisma.VerificationWhereInput;
73
+ /**
74
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
75
+ *
76
+ * Determine the order of Verifications to fetch.
77
+ */
78
+ orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[];
79
+ /**
80
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
81
+ *
82
+ * Sets the start position
83
+ */
84
+ cursor?: Prisma.VerificationWhereUniqueInput;
85
+ /**
86
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
87
+ *
88
+ * Take `±n` Verifications from the position of the cursor.
89
+ */
90
+ take?: number;
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
93
+ *
94
+ * Skip the first `n` Verifications.
95
+ */
96
+ skip?: number;
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
99
+ *
100
+ * Count returned Verifications
101
+ **/
102
+ _count?: true | VerificationCountAggregateInputType;
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105
+ *
106
+ * Select which fields to find the minimum value
107
+ **/
108
+ _min?: VerificationMinAggregateInputType;
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
111
+ *
112
+ * Select which fields to find the maximum value
113
+ **/
114
+ _max?: VerificationMaxAggregateInputType;
115
+ };
116
+ export type GetVerificationAggregateType<T extends VerificationAggregateArgs> = {
117
+ [P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateVerification[P]> : Prisma.GetScalarType<T[P], AggregateVerification[P]>;
118
+ };
119
+ export type VerificationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
120
+ where?: Prisma.VerificationWhereInput;
121
+ orderBy?: Prisma.VerificationOrderByWithAggregationInput | Prisma.VerificationOrderByWithAggregationInput[];
122
+ by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum;
123
+ having?: Prisma.VerificationScalarWhereWithAggregatesInput;
124
+ take?: number;
125
+ skip?: number;
126
+ _count?: VerificationCountAggregateInputType | true;
127
+ _min?: VerificationMinAggregateInputType;
128
+ _max?: VerificationMaxAggregateInputType;
129
+ };
130
+ export type VerificationGroupByOutputType = {
131
+ id: string;
132
+ identifier: string;
133
+ value: string;
134
+ expiresAt: Date;
135
+ createdAt: Date | null;
136
+ updatedAt: Date | null;
137
+ _count: VerificationCountAggregateOutputType | null;
138
+ _min: VerificationMinAggregateOutputType | null;
139
+ _max: VerificationMaxAggregateOutputType | null;
140
+ };
141
+ type GetVerificationGroupByPayload<T extends VerificationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<VerificationGroupByOutputType, T['by']> & {
142
+ [P in ((keyof T) & (keyof VerificationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>;
143
+ }>>;
144
+ export type VerificationWhereInput = {
145
+ AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[];
146
+ OR?: Prisma.VerificationWhereInput[];
147
+ NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[];
148
+ id?: Prisma.StringFilter<"Verification"> | string;
149
+ identifier?: Prisma.StringFilter<"Verification"> | string;
150
+ value?: Prisma.StringFilter<"Verification"> | string;
151
+ expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string;
152
+ createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null;
153
+ updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null;
154
+ };
155
+ export type VerificationOrderByWithRelationInput = {
156
+ id?: Prisma.SortOrder;
157
+ identifier?: Prisma.SortOrder;
158
+ value?: Prisma.SortOrder;
159
+ expiresAt?: Prisma.SortOrder;
160
+ createdAt?: Prisma.SortOrderInput | Prisma.SortOrder;
161
+ updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
162
+ };
163
+ export type VerificationWhereUniqueInput = Prisma.AtLeast<{
164
+ id?: string;
165
+ AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[];
166
+ OR?: Prisma.VerificationWhereInput[];
167
+ NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[];
168
+ identifier?: Prisma.StringFilter<"Verification"> | string;
169
+ value?: Prisma.StringFilter<"Verification"> | string;
170
+ expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string;
171
+ createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null;
172
+ updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null;
173
+ }, "id">;
174
+ export type VerificationOrderByWithAggregationInput = {
175
+ id?: Prisma.SortOrder;
176
+ identifier?: Prisma.SortOrder;
177
+ value?: Prisma.SortOrder;
178
+ expiresAt?: Prisma.SortOrder;
179
+ createdAt?: Prisma.SortOrderInput | Prisma.SortOrder;
180
+ updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
181
+ _count?: Prisma.VerificationCountOrderByAggregateInput;
182
+ _max?: Prisma.VerificationMaxOrderByAggregateInput;
183
+ _min?: Prisma.VerificationMinOrderByAggregateInput;
184
+ };
185
+ export type VerificationScalarWhereWithAggregatesInput = {
186
+ AND?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[];
187
+ OR?: Prisma.VerificationScalarWhereWithAggregatesInput[];
188
+ NOT?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[];
189
+ id?: Prisma.StringWithAggregatesFilter<"Verification"> | string;
190
+ identifier?: Prisma.StringWithAggregatesFilter<"Verification"> | string;
191
+ value?: Prisma.StringWithAggregatesFilter<"Verification"> | string;
192
+ expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string;
193
+ createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null;
194
+ updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null;
195
+ };
196
+ export type VerificationCreateInput = {
197
+ id: string;
198
+ identifier: string;
199
+ value: string;
200
+ expiresAt: Date | string;
201
+ createdAt?: Date | string | null;
202
+ updatedAt?: Date | string | null;
203
+ };
204
+ export type VerificationUncheckedCreateInput = {
205
+ id: string;
206
+ identifier: string;
207
+ value: string;
208
+ expiresAt: Date | string;
209
+ createdAt?: Date | string | null;
210
+ updatedAt?: Date | string | null;
211
+ };
212
+ export type VerificationUpdateInput = {
213
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
214
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string;
215
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
216
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
217
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
218
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
219
+ };
220
+ export type VerificationUncheckedUpdateInput = {
221
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
222
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string;
223
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
224
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
225
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
226
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
227
+ };
228
+ export type VerificationCreateManyInput = {
229
+ id: string;
230
+ identifier: string;
231
+ value: string;
232
+ expiresAt: Date | string;
233
+ createdAt?: Date | string | null;
234
+ updatedAt?: Date | string | null;
235
+ };
236
+ export type VerificationUpdateManyMutationInput = {
237
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
238
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string;
239
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
240
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
241
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
242
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
243
+ };
244
+ export type VerificationUncheckedUpdateManyInput = {
245
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
246
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string;
247
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
248
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
249
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
250
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
251
+ };
252
+ export type VerificationCountOrderByAggregateInput = {
253
+ id?: Prisma.SortOrder;
254
+ identifier?: Prisma.SortOrder;
255
+ value?: Prisma.SortOrder;
256
+ expiresAt?: Prisma.SortOrder;
257
+ createdAt?: Prisma.SortOrder;
258
+ updatedAt?: Prisma.SortOrder;
259
+ };
260
+ export type VerificationMaxOrderByAggregateInput = {
261
+ id?: Prisma.SortOrder;
262
+ identifier?: Prisma.SortOrder;
263
+ value?: Prisma.SortOrder;
264
+ expiresAt?: Prisma.SortOrder;
265
+ createdAt?: Prisma.SortOrder;
266
+ updatedAt?: Prisma.SortOrder;
267
+ };
268
+ export type VerificationMinOrderByAggregateInput = {
269
+ id?: Prisma.SortOrder;
270
+ identifier?: Prisma.SortOrder;
271
+ value?: Prisma.SortOrder;
272
+ expiresAt?: Prisma.SortOrder;
273
+ createdAt?: Prisma.SortOrder;
274
+ updatedAt?: Prisma.SortOrder;
275
+ };
276
+ export type VerificationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
277
+ id?: boolean;
278
+ identifier?: boolean;
279
+ value?: boolean;
280
+ expiresAt?: boolean;
281
+ createdAt?: boolean;
282
+ updatedAt?: boolean;
283
+ }, ExtArgs["result"]["verification"]>;
284
+ export type VerificationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
285
+ id?: boolean;
286
+ identifier?: boolean;
287
+ value?: boolean;
288
+ expiresAt?: boolean;
289
+ createdAt?: boolean;
290
+ updatedAt?: boolean;
291
+ }, ExtArgs["result"]["verification"]>;
292
+ export type VerificationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
293
+ id?: boolean;
294
+ identifier?: boolean;
295
+ value?: boolean;
296
+ expiresAt?: boolean;
297
+ createdAt?: boolean;
298
+ updatedAt?: boolean;
299
+ }, ExtArgs["result"]["verification"]>;
300
+ export type VerificationSelectScalar = {
301
+ id?: boolean;
302
+ identifier?: boolean;
303
+ value?: boolean;
304
+ expiresAt?: boolean;
305
+ createdAt?: boolean;
306
+ updatedAt?: boolean;
307
+ };
308
+ export type VerificationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "identifier" | "value" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["verification"]>;
309
+ export type $VerificationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
310
+ name: "Verification";
311
+ objects: {};
312
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
313
+ id: string;
314
+ identifier: string;
315
+ value: string;
316
+ expiresAt: Date;
317
+ createdAt: Date | null;
318
+ updatedAt: Date | null;
319
+ }, ExtArgs["result"]["verification"]>;
320
+ composites: {};
321
+ };
322
+ export type VerificationGetPayload<S extends boolean | null | undefined | VerificationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$VerificationPayload, S>;
323
+ export type VerificationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<VerificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
324
+ select?: VerificationCountAggregateInputType | true;
325
+ };
326
+ export interface VerificationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
327
+ [K: symbol]: {
328
+ types: Prisma.TypeMap<ExtArgs>['model']['Verification'];
329
+ meta: {
330
+ name: 'Verification';
331
+ };
332
+ };
333
+ /**
334
+ * Find zero or one Verification that matches the filter.
335
+ * @param {VerificationFindUniqueArgs} args - Arguments to find a Verification
336
+ * @example
337
+ * // Get one Verification
338
+ * const verification = await prisma.verification.findUnique({
339
+ * where: {
340
+ * // ... provide filter here
341
+ * }
342
+ * })
343
+ */
344
+ findUnique<T extends VerificationFindUniqueArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
345
+ /**
346
+ * Find one Verification that matches the filter or throw an error with `error.code='P2025'`
347
+ * if no matches were found.
348
+ * @param {VerificationFindUniqueOrThrowArgs} args - Arguments to find a Verification
349
+ * @example
350
+ * // Get one Verification
351
+ * const verification = await prisma.verification.findUniqueOrThrow({
352
+ * where: {
353
+ * // ... provide filter here
354
+ * }
355
+ * })
356
+ */
357
+ findUniqueOrThrow<T extends VerificationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
358
+ /**
359
+ * Find the first Verification that matches the filter.
360
+ * Note, that providing `undefined` is treated as the value not being there.
361
+ * Read more here: https://pris.ly/d/null-undefined
362
+ * @param {VerificationFindFirstArgs} args - Arguments to find a Verification
363
+ * @example
364
+ * // Get one Verification
365
+ * const verification = await prisma.verification.findFirst({
366
+ * where: {
367
+ * // ... provide filter here
368
+ * }
369
+ * })
370
+ */
371
+ findFirst<T extends VerificationFindFirstArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
372
+ /**
373
+ * Find the first Verification that matches the filter or
374
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
375
+ * Note, that providing `undefined` is treated as the value not being there.
376
+ * Read more here: https://pris.ly/d/null-undefined
377
+ * @param {VerificationFindFirstOrThrowArgs} args - Arguments to find a Verification
378
+ * @example
379
+ * // Get one Verification
380
+ * const verification = await prisma.verification.findFirstOrThrow({
381
+ * where: {
382
+ * // ... provide filter here
383
+ * }
384
+ * })
385
+ */
386
+ findFirstOrThrow<T extends VerificationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
387
+ /**
388
+ * Find zero or more Verifications that matches the filter.
389
+ * Note, that providing `undefined` is treated as the value not being there.
390
+ * Read more here: https://pris.ly/d/null-undefined
391
+ * @param {VerificationFindManyArgs} args - Arguments to filter and select certain fields only.
392
+ * @example
393
+ * // Get all Verifications
394
+ * const verifications = await prisma.verification.findMany()
395
+ *
396
+ * // Get first 10 Verifications
397
+ * const verifications = await prisma.verification.findMany({ take: 10 })
398
+ *
399
+ * // Only select the `id`
400
+ * const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } })
401
+ *
402
+ */
403
+ findMany<T extends VerificationFindManyArgs>(args?: Prisma.SelectSubset<T, VerificationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
404
+ /**
405
+ * Create a Verification.
406
+ * @param {VerificationCreateArgs} args - Arguments to create a Verification.
407
+ * @example
408
+ * // Create one Verification
409
+ * const Verification = await prisma.verification.create({
410
+ * data: {
411
+ * // ... data to create a Verification
412
+ * }
413
+ * })
414
+ *
415
+ */
416
+ create<T extends VerificationCreateArgs>(args: Prisma.SelectSubset<T, VerificationCreateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
417
+ /**
418
+ * Create many Verifications.
419
+ * @param {VerificationCreateManyArgs} args - Arguments to create many Verifications.
420
+ * @example
421
+ * // Create many Verifications
422
+ * const verification = await prisma.verification.createMany({
423
+ * data: [
424
+ * // ... provide data here
425
+ * ]
426
+ * })
427
+ *
428
+ */
429
+ createMany<T extends VerificationCreateManyArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
430
+ /**
431
+ * Create many Verifications and returns the data saved in the database.
432
+ * @param {VerificationCreateManyAndReturnArgs} args - Arguments to create many Verifications.
433
+ * @example
434
+ * // Create many Verifications
435
+ * const verification = await prisma.verification.createManyAndReturn({
436
+ * data: [
437
+ * // ... provide data here
438
+ * ]
439
+ * })
440
+ *
441
+ * // Create many Verifications and only return the `id`
442
+ * const verificationWithIdOnly = await prisma.verification.createManyAndReturn({
443
+ * select: { id: true },
444
+ * data: [
445
+ * // ... provide data here
446
+ * ]
447
+ * })
448
+ * Note, that providing `undefined` is treated as the value not being there.
449
+ * Read more here: https://pris.ly/d/null-undefined
450
+ *
451
+ */
452
+ createManyAndReturn<T extends VerificationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
453
+ /**
454
+ * Delete a Verification.
455
+ * @param {VerificationDeleteArgs} args - Arguments to delete one Verification.
456
+ * @example
457
+ * // Delete one Verification
458
+ * const Verification = await prisma.verification.delete({
459
+ * where: {
460
+ * // ... filter to delete one Verification
461
+ * }
462
+ * })
463
+ *
464
+ */
465
+ delete<T extends VerificationDeleteArgs>(args: Prisma.SelectSubset<T, VerificationDeleteArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
466
+ /**
467
+ * Update one Verification.
468
+ * @param {VerificationUpdateArgs} args - Arguments to update one Verification.
469
+ * @example
470
+ * // Update one Verification
471
+ * const verification = await prisma.verification.update({
472
+ * where: {
473
+ * // ... provide filter here
474
+ * },
475
+ * data: {
476
+ * // ... provide data here
477
+ * }
478
+ * })
479
+ *
480
+ */
481
+ update<T extends VerificationUpdateArgs>(args: Prisma.SelectSubset<T, VerificationUpdateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
482
+ /**
483
+ * Delete zero or more Verifications.
484
+ * @param {VerificationDeleteManyArgs} args - Arguments to filter Verifications to delete.
485
+ * @example
486
+ * // Delete a few Verifications
487
+ * const { count } = await prisma.verification.deleteMany({
488
+ * where: {
489
+ * // ... provide filter here
490
+ * }
491
+ * })
492
+ *
493
+ */
494
+ deleteMany<T extends VerificationDeleteManyArgs>(args?: Prisma.SelectSubset<T, VerificationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
495
+ /**
496
+ * Update zero or more Verifications.
497
+ * Note, that providing `undefined` is treated as the value not being there.
498
+ * Read more here: https://pris.ly/d/null-undefined
499
+ * @param {VerificationUpdateManyArgs} args - Arguments to update one or more rows.
500
+ * @example
501
+ * // Update many Verifications
502
+ * const verification = await prisma.verification.updateMany({
503
+ * where: {
504
+ * // ... provide filter here
505
+ * },
506
+ * data: {
507
+ * // ... provide data here
508
+ * }
509
+ * })
510
+ *
511
+ */
512
+ updateMany<T extends VerificationUpdateManyArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
513
+ /**
514
+ * Update zero or more Verifications and returns the data updated in the database.
515
+ * @param {VerificationUpdateManyAndReturnArgs} args - Arguments to update many Verifications.
516
+ * @example
517
+ * // Update many Verifications
518
+ * const verification = await prisma.verification.updateManyAndReturn({
519
+ * where: {
520
+ * // ... provide filter here
521
+ * },
522
+ * data: [
523
+ * // ... provide data here
524
+ * ]
525
+ * })
526
+ *
527
+ * // Update zero or more Verifications and only return the `id`
528
+ * const verificationWithIdOnly = await prisma.verification.updateManyAndReturn({
529
+ * select: { id: true },
530
+ * where: {
531
+ * // ... provide filter here
532
+ * },
533
+ * data: [
534
+ * // ... provide data here
535
+ * ]
536
+ * })
537
+ * Note, that providing `undefined` is treated as the value not being there.
538
+ * Read more here: https://pris.ly/d/null-undefined
539
+ *
540
+ */
541
+ updateManyAndReturn<T extends VerificationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
542
+ /**
543
+ * Create or update one Verification.
544
+ * @param {VerificationUpsertArgs} args - Arguments to update or create a Verification.
545
+ * @example
546
+ * // Update or create a Verification
547
+ * const verification = await prisma.verification.upsert({
548
+ * create: {
549
+ * // ... data to create a Verification
550
+ * },
551
+ * update: {
552
+ * // ... in case it already exists, update
553
+ * },
554
+ * where: {
555
+ * // ... the filter for the Verification we want to update
556
+ * }
557
+ * })
558
+ */
559
+ upsert<T extends VerificationUpsertArgs>(args: Prisma.SelectSubset<T, VerificationUpsertArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
560
+ /**
561
+ * Count the number of Verifications.
562
+ * Note, that providing `undefined` is treated as the value not being there.
563
+ * Read more here: https://pris.ly/d/null-undefined
564
+ * @param {VerificationCountArgs} args - Arguments to filter Verifications to count.
565
+ * @example
566
+ * // Count the number of Verifications
567
+ * const count = await prisma.verification.count({
568
+ * where: {
569
+ * // ... the filter for the Verifications we want to count
570
+ * }
571
+ * })
572
+ **/
573
+ count<T extends VerificationCountArgs>(args?: Prisma.Subset<T, VerificationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], VerificationCountAggregateOutputType> : number>;
574
+ /**
575
+ * Allows you to perform aggregations operations on a Verification.
576
+ * Note, that providing `undefined` is treated as the value not being there.
577
+ * Read more here: https://pris.ly/d/null-undefined
578
+ * @param {VerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
579
+ * @example
580
+ * // Ordered by age ascending
581
+ * // Where email contains prisma.io
582
+ * // Limited to the 10 users
583
+ * const aggregations = await prisma.user.aggregate({
584
+ * _avg: {
585
+ * age: true,
586
+ * },
587
+ * where: {
588
+ * email: {
589
+ * contains: "prisma.io",
590
+ * },
591
+ * },
592
+ * orderBy: {
593
+ * age: "asc",
594
+ * },
595
+ * take: 10,
596
+ * })
597
+ **/
598
+ aggregate<T extends VerificationAggregateArgs>(args: Prisma.Subset<T, VerificationAggregateArgs>): Prisma.PrismaPromise<GetVerificationAggregateType<T>>;
599
+ /**
600
+ * Group by Verification.
601
+ * Note, that providing `undefined` is treated as the value not being there.
602
+ * Read more here: https://pris.ly/d/null-undefined
603
+ * @param {VerificationGroupByArgs} args - Group by arguments.
604
+ * @example
605
+ * // Group by city, order by createdAt, get count
606
+ * const result = await prisma.user.groupBy({
607
+ * by: ['city', 'createdAt'],
608
+ * orderBy: {
609
+ * createdAt: true
610
+ * },
611
+ * _count: {
612
+ * _all: true
613
+ * },
614
+ * })
615
+ *
616
+ **/
617
+ groupBy<T extends VerificationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
618
+ orderBy: VerificationGroupByArgs['orderBy'];
619
+ } : {
620
+ orderBy?: VerificationGroupByArgs['orderBy'];
621
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
622
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
623
+ Error,
624
+ 'Field ',
625
+ P,
626
+ ` in "having" needs to be provided in "by"`
627
+ ];
628
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
629
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
630
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
631
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
632
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
633
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
634
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, VerificationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVerificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
635
+ /**
636
+ * Fields of the Verification model
637
+ */
638
+ readonly fields: VerificationFieldRefs;
639
+ }
640
+ /**
641
+ * The delegate class that acts as a "Promise-like" for Verification.
642
+ * Why is this prefixed with `Prisma__`?
643
+ * Because we want to prevent naming conflicts as mentioned in
644
+ * https://github.com/prisma/prisma-client-js/issues/707
645
+ */
646
+ export interface Prisma__VerificationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
647
+ readonly [Symbol.toStringTag]: "PrismaPromise";
648
+ /**
649
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
650
+ * @param onfulfilled The callback to execute when the Promise is resolved.
651
+ * @param onrejected The callback to execute when the Promise is rejected.
652
+ * @returns A Promise for the completion of which ever callback is executed.
653
+ */
654
+ 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>;
655
+ /**
656
+ * Attaches a callback for only the rejection of the Promise.
657
+ * @param onrejected The callback to execute when the Promise is rejected.
658
+ * @returns A Promise for the completion of the callback.
659
+ */
660
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
661
+ /**
662
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
663
+ * resolved value cannot be modified from the callback.
664
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
665
+ * @returns A Promise for the completion of the callback.
666
+ */
667
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
668
+ }
669
+ /**
670
+ * Fields of the Verification model
671
+ */
672
+ export interface VerificationFieldRefs {
673
+ readonly id: Prisma.FieldRef<"Verification", 'String'>;
674
+ readonly identifier: Prisma.FieldRef<"Verification", 'String'>;
675
+ readonly value: Prisma.FieldRef<"Verification", 'String'>;
676
+ readonly expiresAt: Prisma.FieldRef<"Verification", 'DateTime'>;
677
+ readonly createdAt: Prisma.FieldRef<"Verification", 'DateTime'>;
678
+ readonly updatedAt: Prisma.FieldRef<"Verification", 'DateTime'>;
679
+ }
680
+ /**
681
+ * Verification findUnique
682
+ */
683
+ export type VerificationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
684
+ /**
685
+ * Select specific fields to fetch from the Verification
686
+ */
687
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
688
+ /**
689
+ * Omit specific fields from the Verification
690
+ */
691
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
692
+ /**
693
+ * Filter, which Verification to fetch.
694
+ */
695
+ where: Prisma.VerificationWhereUniqueInput;
696
+ };
697
+ /**
698
+ * Verification findUniqueOrThrow
699
+ */
700
+ export type VerificationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
701
+ /**
702
+ * Select specific fields to fetch from the Verification
703
+ */
704
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
705
+ /**
706
+ * Omit specific fields from the Verification
707
+ */
708
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
709
+ /**
710
+ * Filter, which Verification to fetch.
711
+ */
712
+ where: Prisma.VerificationWhereUniqueInput;
713
+ };
714
+ /**
715
+ * Verification findFirst
716
+ */
717
+ export type VerificationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
718
+ /**
719
+ * Select specific fields to fetch from the Verification
720
+ */
721
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
722
+ /**
723
+ * Omit specific fields from the Verification
724
+ */
725
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
726
+ /**
727
+ * Filter, which Verification to fetch.
728
+ */
729
+ where?: Prisma.VerificationWhereInput;
730
+ /**
731
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
732
+ *
733
+ * Determine the order of Verifications to fetch.
734
+ */
735
+ orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[];
736
+ /**
737
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
738
+ *
739
+ * Sets the position for searching for Verifications.
740
+ */
741
+ cursor?: Prisma.VerificationWhereUniqueInput;
742
+ /**
743
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
744
+ *
745
+ * Take `±n` Verifications from the position of the cursor.
746
+ */
747
+ take?: number;
748
+ /**
749
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
750
+ *
751
+ * Skip the first `n` Verifications.
752
+ */
753
+ skip?: number;
754
+ /**
755
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
756
+ *
757
+ * Filter by unique combinations of Verifications.
758
+ */
759
+ distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[];
760
+ };
761
+ /**
762
+ * Verification findFirstOrThrow
763
+ */
764
+ export type VerificationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
765
+ /**
766
+ * Select specific fields to fetch from the Verification
767
+ */
768
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
769
+ /**
770
+ * Omit specific fields from the Verification
771
+ */
772
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
773
+ /**
774
+ * Filter, which Verification to fetch.
775
+ */
776
+ where?: Prisma.VerificationWhereInput;
777
+ /**
778
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
779
+ *
780
+ * Determine the order of Verifications to fetch.
781
+ */
782
+ orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[];
783
+ /**
784
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
785
+ *
786
+ * Sets the position for searching for Verifications.
787
+ */
788
+ cursor?: Prisma.VerificationWhereUniqueInput;
789
+ /**
790
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
791
+ *
792
+ * Take `±n` Verifications from the position of the cursor.
793
+ */
794
+ take?: number;
795
+ /**
796
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
797
+ *
798
+ * Skip the first `n` Verifications.
799
+ */
800
+ skip?: number;
801
+ /**
802
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
803
+ *
804
+ * Filter by unique combinations of Verifications.
805
+ */
806
+ distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[];
807
+ };
808
+ /**
809
+ * Verification findMany
810
+ */
811
+ export type VerificationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
812
+ /**
813
+ * Select specific fields to fetch from the Verification
814
+ */
815
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
816
+ /**
817
+ * Omit specific fields from the Verification
818
+ */
819
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
820
+ /**
821
+ * Filter, which Verifications to fetch.
822
+ */
823
+ where?: Prisma.VerificationWhereInput;
824
+ /**
825
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
826
+ *
827
+ * Determine the order of Verifications to fetch.
828
+ */
829
+ orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[];
830
+ /**
831
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
832
+ *
833
+ * Sets the position for listing Verifications.
834
+ */
835
+ cursor?: Prisma.VerificationWhereUniqueInput;
836
+ /**
837
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
838
+ *
839
+ * Take `±n` Verifications from the position of the cursor.
840
+ */
841
+ take?: number;
842
+ /**
843
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
844
+ *
845
+ * Skip the first `n` Verifications.
846
+ */
847
+ skip?: number;
848
+ distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[];
849
+ };
850
+ /**
851
+ * Verification create
852
+ */
853
+ export type VerificationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
854
+ /**
855
+ * Select specific fields to fetch from the Verification
856
+ */
857
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
858
+ /**
859
+ * Omit specific fields from the Verification
860
+ */
861
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
862
+ /**
863
+ * The data needed to create a Verification.
864
+ */
865
+ data: Prisma.XOR<Prisma.VerificationCreateInput, Prisma.VerificationUncheckedCreateInput>;
866
+ };
867
+ /**
868
+ * Verification createMany
869
+ */
870
+ export type VerificationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
871
+ /**
872
+ * The data used to create many Verifications.
873
+ */
874
+ data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[];
875
+ skipDuplicates?: boolean;
876
+ };
877
+ /**
878
+ * Verification createManyAndReturn
879
+ */
880
+ export type VerificationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
881
+ /**
882
+ * Select specific fields to fetch from the Verification
883
+ */
884
+ select?: Prisma.VerificationSelectCreateManyAndReturn<ExtArgs> | null;
885
+ /**
886
+ * Omit specific fields from the Verification
887
+ */
888
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
889
+ /**
890
+ * The data used to create many Verifications.
891
+ */
892
+ data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[];
893
+ skipDuplicates?: boolean;
894
+ };
895
+ /**
896
+ * Verification update
897
+ */
898
+ export type VerificationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
899
+ /**
900
+ * Select specific fields to fetch from the Verification
901
+ */
902
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
903
+ /**
904
+ * Omit specific fields from the Verification
905
+ */
906
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
907
+ /**
908
+ * The data needed to update a Verification.
909
+ */
910
+ data: Prisma.XOR<Prisma.VerificationUpdateInput, Prisma.VerificationUncheckedUpdateInput>;
911
+ /**
912
+ * Choose, which Verification to update.
913
+ */
914
+ where: Prisma.VerificationWhereUniqueInput;
915
+ };
916
+ /**
917
+ * Verification updateMany
918
+ */
919
+ export type VerificationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
920
+ /**
921
+ * The data used to update Verifications.
922
+ */
923
+ data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>;
924
+ /**
925
+ * Filter which Verifications to update
926
+ */
927
+ where?: Prisma.VerificationWhereInput;
928
+ /**
929
+ * Limit how many Verifications to update.
930
+ */
931
+ limit?: number;
932
+ };
933
+ /**
934
+ * Verification updateManyAndReturn
935
+ */
936
+ export type VerificationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
937
+ /**
938
+ * Select specific fields to fetch from the Verification
939
+ */
940
+ select?: Prisma.VerificationSelectUpdateManyAndReturn<ExtArgs> | null;
941
+ /**
942
+ * Omit specific fields from the Verification
943
+ */
944
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
945
+ /**
946
+ * The data used to update Verifications.
947
+ */
948
+ data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>;
949
+ /**
950
+ * Filter which Verifications to update
951
+ */
952
+ where?: Prisma.VerificationWhereInput;
953
+ /**
954
+ * Limit how many Verifications to update.
955
+ */
956
+ limit?: number;
957
+ };
958
+ /**
959
+ * Verification upsert
960
+ */
961
+ export type VerificationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
+ /**
963
+ * Select specific fields to fetch from the Verification
964
+ */
965
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
966
+ /**
967
+ * Omit specific fields from the Verification
968
+ */
969
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
970
+ /**
971
+ * The filter to search for the Verification to update in case it exists.
972
+ */
973
+ where: Prisma.VerificationWhereUniqueInput;
974
+ /**
975
+ * In case the Verification found by the `where` argument doesn't exist, create a new Verification with this data.
976
+ */
977
+ create: Prisma.XOR<Prisma.VerificationCreateInput, Prisma.VerificationUncheckedCreateInput>;
978
+ /**
979
+ * In case the Verification was found with the provided `where` argument, update it with this data.
980
+ */
981
+ update: Prisma.XOR<Prisma.VerificationUpdateInput, Prisma.VerificationUncheckedUpdateInput>;
982
+ };
983
+ /**
984
+ * Verification delete
985
+ */
986
+ export type VerificationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
+ /**
988
+ * Select specific fields to fetch from the Verification
989
+ */
990
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
991
+ /**
992
+ * Omit specific fields from the Verification
993
+ */
994
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
995
+ /**
996
+ * Filter which Verification to delete.
997
+ */
998
+ where: Prisma.VerificationWhereUniqueInput;
999
+ };
1000
+ /**
1001
+ * Verification deleteMany
1002
+ */
1003
+ export type VerificationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1004
+ /**
1005
+ * Filter which Verifications to delete
1006
+ */
1007
+ where?: Prisma.VerificationWhereInput;
1008
+ /**
1009
+ * Limit how many Verifications to delete.
1010
+ */
1011
+ limit?: number;
1012
+ };
1013
+ /**
1014
+ * Verification without action
1015
+ */
1016
+ export type VerificationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Select specific fields to fetch from the Verification
1019
+ */
1020
+ select?: Prisma.VerificationSelect<ExtArgs> | null;
1021
+ /**
1022
+ * Omit specific fields from the Verification
1023
+ */
1024
+ omit?: Prisma.VerificationOmit<ExtArgs> | null;
1025
+ };
1026
+ export {};