@shophost/rest-api 2.0.32 → 2.0.34

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