@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/lib/generated/prisma/browser.d.ts +514 -0
  2. package/lib/generated/prisma/browser.js +57 -0
  3. package/lib/generated/prisma/browser.js.map +1 -0
  4. package/lib/generated/prisma/client.d.ts +531 -0
  5. package/lib/generated/prisma/client.js +69 -0
  6. package/lib/generated/prisma/client.js.map +1 -0
  7. package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
  8. package/lib/generated/prisma/commonInputTypes.js +12 -0
  9. package/lib/generated/prisma/commonInputTypes.js.map +1 -0
  10. package/lib/generated/prisma/dmmf.d.ts +4085 -0
  11. package/lib/generated/prisma/dmmf.js +27551 -0
  12. package/lib/generated/prisma/dmmf.js.map +1 -0
  13. package/lib/generated/prisma/enums.d.ts +216 -0
  14. package/lib/generated/prisma/enums.js +205 -0
  15. package/lib/generated/prisma/enums.js.map +1 -0
  16. package/lib/generated/prisma/internal/class.d.ts +1237 -0
  17. package/lib/generated/prisma/internal/class.js +79 -0
  18. package/lib/generated/prisma/internal/class.js.map +1 -0
  19. package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
  20. package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
  21. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
  22. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
  23. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
  24. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  25. package/lib/generated/prisma/kysely-types.d.ts +1499 -0
  26. package/lib/generated/prisma/kysely-types.js +196 -0
  27. package/lib/generated/prisma/kysely-types.js.map +1 -0
  28. package/lib/generated/prisma/models/Address.d.ts +1339 -0
  29. package/lib/generated/prisma/models/Address.js +12 -0
  30. package/lib/generated/prisma/models/Address.js.map +1 -0
  31. package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
  32. package/lib/generated/prisma/models/Administrator.js +12 -0
  33. package/lib/generated/prisma/models/Administrator.js.map +1 -0
  34. package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
  35. package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
  36. package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
  37. package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
  38. package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
  39. package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
  40. package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
  41. package/lib/generated/prisma/models/ApiToken.js +12 -0
  42. package/lib/generated/prisma/models/ApiToken.js.map +1 -0
  43. package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
  44. package/lib/generated/prisma/models/AwsBucket.js +12 -0
  45. package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
  46. package/lib/generated/prisma/models/Card.d.ts +1533 -0
  47. package/lib/generated/prisma/models/Card.js +12 -0
  48. package/lib/generated/prisma/models/Card.js.map +1 -0
  49. package/lib/generated/prisma/models/Cart.d.ts +2315 -0
  50. package/lib/generated/prisma/models/Cart.js +12 -0
  51. package/lib/generated/prisma/models/Cart.js.map +1 -0
  52. package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
  53. package/lib/generated/prisma/models/CartCost.js +12 -0
  54. package/lib/generated/prisma/models/CartCost.js.map +1 -0
  55. package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
  56. package/lib/generated/prisma/models/CartLine.js +12 -0
  57. package/lib/generated/prisma/models/CartLine.js.map +1 -0
  58. package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
  59. package/lib/generated/prisma/models/CartLineModifier.js +12 -0
  60. package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
  61. package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
  62. package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
  63. package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
  64. package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
  65. package/lib/generated/prisma/models/Checkout.js +12 -0
  66. package/lib/generated/prisma/models/Checkout.js.map +1 -0
  67. package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
  68. package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
  69. package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
  70. package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
  71. package/lib/generated/prisma/models/CheckoutLine.js +12 -0
  72. package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
  73. package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
  74. package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
  75. package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
  76. package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
  77. package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
  78. package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
  79. package/lib/generated/prisma/models/Collection.d.ts +1961 -0
  80. package/lib/generated/prisma/models/Collection.js +12 -0
  81. package/lib/generated/prisma/models/Collection.js.map +1 -0
  82. package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
  83. package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
  84. package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
  85. package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
  86. package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
  87. package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
  88. package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
  89. package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
  90. package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
  91. package/lib/generated/prisma/models/Customer.d.ts +2964 -0
  92. package/lib/generated/prisma/models/Customer.js +12 -0
  93. package/lib/generated/prisma/models/Customer.js.map +1 -0
  94. package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
  95. package/lib/generated/prisma/models/CustomerGroup.js +12 -0
  96. package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
  97. package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
  98. package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
  99. package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
  100. package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
  101. package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
  102. package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
  103. package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
  104. package/lib/generated/prisma/models/DiscountCode.js +12 -0
  105. package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
  106. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
  107. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
  108. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
  109. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
  110. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
  111. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
  112. package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
  113. package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
  114. package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
  115. package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
  116. package/lib/generated/prisma/models/EventLog.js +12 -0
  117. package/lib/generated/prisma/models/EventLog.js.map +1 -0
  118. package/lib/generated/prisma/models/Facet.d.ts +1266 -0
  119. package/lib/generated/prisma/models/Facet.js +12 -0
  120. package/lib/generated/prisma/models/Facet.js.map +1 -0
  121. package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
  122. package/lib/generated/prisma/models/FacetOption.js +12 -0
  123. package/lib/generated/prisma/models/FacetOption.js.map +1 -0
  124. package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
  125. package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
  126. package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
  127. package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
  128. package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
  129. package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
  130. package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
  131. package/lib/generated/prisma/models/FeatureFlag.js +12 -0
  132. package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
  133. package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
  134. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
  135. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
  136. package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
  137. package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
  138. package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
  139. package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
  140. package/lib/generated/prisma/models/FreeItemRule.js +12 -0
  141. package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
  142. package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
  143. package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
  144. package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
  145. package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
  146. package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
  147. package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
  148. package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
  149. package/lib/generated/prisma/models/Ingredient.js +12 -0
  150. package/lib/generated/prisma/models/Ingredient.js.map +1 -0
  151. package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
  152. package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
  153. package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
  154. package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
  155. package/lib/generated/prisma/models/IngredientToStore.js +12 -0
  156. package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
  157. package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
  158. package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
  159. package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
  160. package/lib/generated/prisma/models/Media.d.ts +2127 -0
  161. package/lib/generated/prisma/models/Media.js +12 -0
  162. package/lib/generated/prisma/models/Media.js.map +1 -0
  163. package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
  164. package/lib/generated/prisma/models/Modifier.js +12 -0
  165. package/lib/generated/prisma/models/Modifier.js.map +1 -0
  166. package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
  167. package/lib/generated/prisma/models/ModifierGroup.js +12 -0
  168. package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
  169. package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
  170. package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
  171. package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
  172. package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
  173. package/lib/generated/prisma/models/ModifierOption.js +12 -0
  174. package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
  175. package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
  176. package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
  177. package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
  178. package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
  179. package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
  180. package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
  181. package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
  182. package/lib/generated/prisma/models/OneTimeToken.js +12 -0
  183. package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
  184. package/lib/generated/prisma/models/Payment.d.ts +1560 -0
  185. package/lib/generated/prisma/models/Payment.js +12 -0
  186. package/lib/generated/prisma/models/Payment.js.map +1 -0
  187. package/lib/generated/prisma/models/Platform.d.ts +7442 -0
  188. package/lib/generated/prisma/models/Platform.js +12 -0
  189. package/lib/generated/prisma/models/Platform.js.map +1 -0
  190. package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
  191. package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
  192. package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
  193. package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
  194. package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
  195. package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
  196. package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
  197. package/lib/generated/prisma/models/PrepTime.js +12 -0
  198. package/lib/generated/prisma/models/PrepTime.js.map +1 -0
  199. package/lib/generated/prisma/models/Product.d.ts +2975 -0
  200. package/lib/generated/prisma/models/Product.js +12 -0
  201. package/lib/generated/prisma/models/Product.js.map +1 -0
  202. package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
  203. package/lib/generated/prisma/models/ProductCategory.js +12 -0
  204. package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
  205. package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
  206. package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
  207. package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
  208. package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
  209. package/lib/generated/prisma/models/ProductListing.js +12 -0
  210. package/lib/generated/prisma/models/ProductListing.js.map +1 -0
  211. package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
  212. package/lib/generated/prisma/models/ProductToTag.js +12 -0
  213. package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
  214. package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
  215. package/lib/generated/prisma/models/ProductVariant.js +12 -0
  216. package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
  217. package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
  218. package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
  219. package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
  220. package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
  221. package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
  222. package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
  223. package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
  224. package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
  225. package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
  226. package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
  227. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
  228. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
  229. package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
  230. package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
  231. package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
  232. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
  233. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
  234. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
  235. package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
  236. package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
  237. package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
  238. package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
  239. package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
  240. package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
  241. package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
  242. package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
  243. package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
  244. package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
  245. package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
  246. package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
  247. package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
  248. package/lib/generated/prisma/models/ProductVarietal.js +12 -0
  249. package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
  250. package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
  251. package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
  252. package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
  253. package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
  254. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
  255. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
  256. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
  257. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
  258. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
  259. package/lib/generated/prisma/models/Refund.d.ts +1707 -0
  260. package/lib/generated/prisma/models/Refund.js +12 -0
  261. package/lib/generated/prisma/models/Refund.js.map +1 -0
  262. package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
  263. package/lib/generated/prisma/models/RefundLine.js +12 -0
  264. package/lib/generated/prisma/models/RefundLine.js.map +1 -0
  265. package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
  266. package/lib/generated/prisma/models/RelatedItems.js +12 -0
  267. package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
  268. package/lib/generated/prisma/models/Role.d.ts +1264 -0
  269. package/lib/generated/prisma/models/Role.js +12 -0
  270. package/lib/generated/prisma/models/Role.js.map +1 -0
  271. package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
  272. package/lib/generated/prisma/models/ScheduledTask.js +12 -0
  273. package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
  274. package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
  275. package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
  276. package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
  277. package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
  278. package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
  279. package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
  280. package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
  281. package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
  282. package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
  283. package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
  284. package/lib/generated/prisma/models/SmsConversation.js +12 -0
  285. package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
  286. package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
  287. package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
  288. package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
  289. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
  290. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
  291. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
  292. package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
  293. package/lib/generated/prisma/models/StockLevel.js +12 -0
  294. package/lib/generated/prisma/models/StockLevel.js.map +1 -0
  295. package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
  296. package/lib/generated/prisma/models/StockLocation.js +12 -0
  297. package/lib/generated/prisma/models/StockLocation.js.map +1 -0
  298. package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
  299. package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
  300. package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
  301. package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
  302. package/lib/generated/prisma/models/StockMovement.js +12 -0
  303. package/lib/generated/prisma/models/StockMovement.js.map +1 -0
  304. package/lib/generated/prisma/models/Store.d.ts +4487 -0
  305. package/lib/generated/prisma/models/Store.js +12 -0
  306. package/lib/generated/prisma/models/Store.js.map +1 -0
  307. package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
  308. package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
  309. package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
  310. package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
  311. package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
  312. package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
  313. package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
  314. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
  315. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
  316. package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
  317. package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
  318. package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
  319. package/lib/generated/prisma/models/Tag.d.ts +1581 -0
  320. package/lib/generated/prisma/models/Tag.js +12 -0
  321. package/lib/generated/prisma/models/Tag.js.map +1 -0
  322. package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
  323. package/lib/generated/prisma/models/TaxCategory.js +12 -0
  324. package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
  325. package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
  326. package/lib/generated/prisma/models/Transaction.js +12 -0
  327. package/lib/generated/prisma/models/Transaction.js.map +1 -0
  328. package/lib/generated/prisma/models/User.d.ts +1907 -0
  329. package/lib/generated/prisma/models/User.js +12 -0
  330. package/lib/generated/prisma/models/User.js.map +1 -0
  331. package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
  332. package/lib/generated/prisma/models/UserToRole.js +12 -0
  333. package/lib/generated/prisma/models/UserToRole.js.map +1 -0
  334. package/lib/generated/prisma/models.d.ts +103 -0
  335. package/lib/generated/prisma/models.js +3 -0
  336. package/lib/generated/prisma/models.js.map +1 -0
  337. package/lib/generated/prisma/pjtg.d.ts +145 -0
  338. package/lib/generated/prisma/pjtg.js +3 -0
  339. package/lib/generated/prisma/pjtg.js.map +1 -0
  340. package/lib/helpers.d.ts +37 -0
  341. package/lib/helpers.js +226 -0
  342. package/lib/helpers.js.map +1 -0
  343. package/lib/index.d.ts +10 -0
  344. package/lib/index.js.map +1 -0
  345. package/lib/kysely/index.d.ts +2 -0
  346. package/lib/kysely/index.js +19 -0
  347. package/lib/kysely/index.js.map +1 -0
  348. package/lib/kysely/kysely-db.d.ts +3 -0
  349. package/lib/kysely/kysely-db.js +3 -0
  350. package/lib/kysely/kysely-db.js.map +1 -0
  351. package/lib/kysely/utils/index.d.ts +4 -0
  352. package/lib/kysely/utils/index.js +21 -0
  353. package/lib/kysely/utils/index.js.map +1 -0
  354. package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
  355. package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
  356. package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
  357. package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
  358. package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
  359. package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
  360. package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
  361. package/lib/kysely/utils/serialize-bigint-value.js +13 -0
  362. package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
  363. package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
  364. package/lib/kysely/utils/serialize-numeric-value.js +11 -0
  365. package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
  366. package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
  367. package/lib/kysely/utils/shallow-dehydrate.js +3 -0
  368. package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
  369. package/lib/prisma-module/index.d.ts +4 -0
  370. package/lib/prisma-module/index.js +21 -0
  371. package/lib/prisma-module/index.js.map +1 -0
  372. package/lib/prisma-module/prisma-options.d.ts +59 -0
  373. package/lib/prisma-module/prisma-options.js +3 -0
  374. package/lib/prisma-module/prisma-options.js.map +1 -0
  375. package/lib/prisma-module/prisma.constants.d.ts +1 -0
  376. package/lib/prisma-module/prisma.constants.js +5 -0
  377. package/lib/prisma-module/prisma.constants.js.map +1 -0
  378. package/lib/prisma-module/prisma.module.d.ts +8 -0
  379. package/lib/prisma-module/prisma.module.js +73 -0
  380. package/lib/prisma-module/prisma.module.js.map +1 -0
  381. package/lib/prisma-module/prisma.service.d.ts +5 -0
  382. package/lib/prisma-module/prisma.service.js +29 -0
  383. package/lib/prisma-module/prisma.service.js.map +1 -0
  384. package/lib/tsconfig.build.tsbuildinfo +1 -0
  385. package/lib/types.d.ts +7 -0
  386. package/lib/types.js +3 -0
  387. package/lib/types.js.map +1 -0
  388. package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
  389. package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
  390. package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
  391. package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
  392. package/lib/utils/ignore-prisma-builtins.js +3 -0
  393. package/lib/utils/ignore-prisma-builtins.js.map +1 -0
  394. package/lib/utils/index.d.ts +3 -0
  395. package/lib/utils/index.js +20 -0
  396. package/lib/utils/index.js.map +1 -0
  397. package/lib/utils/prisma-where-to-sql.d.ts +5 -0
  398. package/lib/utils/prisma-where-to-sql.js +94 -0
  399. package/lib/utils/prisma-where-to-sql.js.map +1 -0
  400. package/lib/web360-prisma.constants.d.ts +2 -0
  401. package/lib/web360-prisma.constants.js +6 -0
  402. package/lib/web360-prisma.constants.js.map +1 -0
  403. package/lib/web360-prisma.module.d.ts +7 -0
  404. package/lib/web360-prisma.module.js +81 -0
  405. package/lib/web360-prisma.module.js.map +1 -0
  406. package/lib/web360-prisma.options.d.ts +38 -0
  407. package/lib/web360-prisma.options.js +3 -0
  408. package/lib/web360-prisma.options.js.map +1 -0
  409. package/lib/web360-prisma.service.d.ts +57 -0
  410. package/lib/web360-prisma.service.js +57 -0
  411. package/lib/web360-prisma.service.js.map +1 -0
  412. package/package.json +4 -3
@@ -0,0 +1,1087 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model NmiSecurityKey
5
+ *
6
+ */
7
+ export type NmiSecurityKeyModel = runtime.Types.Result.DefaultSelection<Prisma.$NmiSecurityKeyPayload>;
8
+ export type AggregateNmiSecurityKey = {
9
+ _count: NmiSecurityKeyCountAggregateOutputType | null;
10
+ _avg: NmiSecurityKeyAvgAggregateOutputType | null;
11
+ _sum: NmiSecurityKeySumAggregateOutputType | null;
12
+ _min: NmiSecurityKeyMinAggregateOutputType | null;
13
+ _max: NmiSecurityKeyMaxAggregateOutputType | null;
14
+ };
15
+ export type NmiSecurityKeyAvgAggregateOutputType = {
16
+ id: number | null;
17
+ };
18
+ export type NmiSecurityKeySumAggregateOutputType = {
19
+ id: bigint | null;
20
+ };
21
+ export type NmiSecurityKeyMinAggregateOutputType = {
22
+ id: bigint | null;
23
+ platformId: string | null;
24
+ isProduction: boolean | null;
25
+ key: string | null;
26
+ createdAt: Date | null;
27
+ updatedAt: Date | null;
28
+ };
29
+ export type NmiSecurityKeyMaxAggregateOutputType = {
30
+ id: bigint | null;
31
+ platformId: string | null;
32
+ isProduction: boolean | null;
33
+ key: string | null;
34
+ createdAt: Date | null;
35
+ updatedAt: Date | null;
36
+ };
37
+ export type NmiSecurityKeyCountAggregateOutputType = {
38
+ id: number;
39
+ platformId: number;
40
+ isProduction: number;
41
+ key: number;
42
+ encryptionData: number;
43
+ createdAt: number;
44
+ updatedAt: number;
45
+ _all: number;
46
+ };
47
+ export type NmiSecurityKeyAvgAggregateInputType = {
48
+ id?: true;
49
+ };
50
+ export type NmiSecurityKeySumAggregateInputType = {
51
+ id?: true;
52
+ };
53
+ export type NmiSecurityKeyMinAggregateInputType = {
54
+ id?: true;
55
+ platformId?: true;
56
+ isProduction?: true;
57
+ key?: true;
58
+ createdAt?: true;
59
+ updatedAt?: true;
60
+ };
61
+ export type NmiSecurityKeyMaxAggregateInputType = {
62
+ id?: true;
63
+ platformId?: true;
64
+ isProduction?: true;
65
+ key?: true;
66
+ createdAt?: true;
67
+ updatedAt?: true;
68
+ };
69
+ export type NmiSecurityKeyCountAggregateInputType = {
70
+ id?: true;
71
+ platformId?: true;
72
+ isProduction?: true;
73
+ key?: true;
74
+ encryptionData?: true;
75
+ createdAt?: true;
76
+ updatedAt?: true;
77
+ _all?: true;
78
+ };
79
+ export type NmiSecurityKeyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
80
+ /**
81
+ * Filter which NmiSecurityKey to aggregate.
82
+ */
83
+ where?: Prisma.NmiSecurityKeyWhereInput;
84
+ /**
85
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
86
+ *
87
+ * Determine the order of NmiSecurityKeys to fetch.
88
+ */
89
+ orderBy?: Prisma.NmiSecurityKeyOrderByWithRelationInput | Prisma.NmiSecurityKeyOrderByWithRelationInput[];
90
+ /**
91
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
92
+ *
93
+ * Sets the start position
94
+ */
95
+ cursor?: Prisma.NmiSecurityKeyWhereUniqueInput;
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
98
+ *
99
+ * Take `±n` NmiSecurityKeys from the position of the cursor.
100
+ */
101
+ take?: number;
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
104
+ *
105
+ * Skip the first `n` NmiSecurityKeys.
106
+ */
107
+ skip?: number;
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
110
+ *
111
+ * Count returned NmiSecurityKeys
112
+ **/
113
+ _count?: true | NmiSecurityKeyCountAggregateInputType;
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
116
+ *
117
+ * Select which fields to average
118
+ **/
119
+ _avg?: NmiSecurityKeyAvgAggregateInputType;
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
122
+ *
123
+ * Select which fields to sum
124
+ **/
125
+ _sum?: NmiSecurityKeySumAggregateInputType;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
128
+ *
129
+ * Select which fields to find the minimum value
130
+ **/
131
+ _min?: NmiSecurityKeyMinAggregateInputType;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
134
+ *
135
+ * Select which fields to find the maximum value
136
+ **/
137
+ _max?: NmiSecurityKeyMaxAggregateInputType;
138
+ };
139
+ export type GetNmiSecurityKeyAggregateType<T extends NmiSecurityKeyAggregateArgs> = {
140
+ [P in keyof T & keyof AggregateNmiSecurityKey]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNmiSecurityKey[P]> : Prisma.GetScalarType<T[P], AggregateNmiSecurityKey[P]>;
141
+ };
142
+ export type NmiSecurityKeyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
143
+ where?: Prisma.NmiSecurityKeyWhereInput;
144
+ orderBy?: Prisma.NmiSecurityKeyOrderByWithAggregationInput | Prisma.NmiSecurityKeyOrderByWithAggregationInput[];
145
+ by: Prisma.NmiSecurityKeyScalarFieldEnum[] | Prisma.NmiSecurityKeyScalarFieldEnum;
146
+ having?: Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput;
147
+ take?: number;
148
+ skip?: number;
149
+ _count?: NmiSecurityKeyCountAggregateInputType | true;
150
+ _avg?: NmiSecurityKeyAvgAggregateInputType;
151
+ _sum?: NmiSecurityKeySumAggregateInputType;
152
+ _min?: NmiSecurityKeyMinAggregateInputType;
153
+ _max?: NmiSecurityKeyMaxAggregateInputType;
154
+ };
155
+ export type NmiSecurityKeyGroupByOutputType = {
156
+ id: bigint;
157
+ platformId: string;
158
+ isProduction: boolean;
159
+ key: string;
160
+ encryptionData: unknown;
161
+ createdAt: Date;
162
+ updatedAt: Date;
163
+ _count: NmiSecurityKeyCountAggregateOutputType | null;
164
+ _avg: NmiSecurityKeyAvgAggregateOutputType | null;
165
+ _sum: NmiSecurityKeySumAggregateOutputType | null;
166
+ _min: NmiSecurityKeyMinAggregateOutputType | null;
167
+ _max: NmiSecurityKeyMaxAggregateOutputType | null;
168
+ };
169
+ type GetNmiSecurityKeyGroupByPayload<T extends NmiSecurityKeyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NmiSecurityKeyGroupByOutputType, T['by']> & {
170
+ [P in ((keyof T) & (keyof NmiSecurityKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NmiSecurityKeyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NmiSecurityKeyGroupByOutputType[P]>;
171
+ }>>;
172
+ export type NmiSecurityKeyWhereInput = {
173
+ AND?: Prisma.NmiSecurityKeyWhereInput | Prisma.NmiSecurityKeyWhereInput[];
174
+ OR?: Prisma.NmiSecurityKeyWhereInput[];
175
+ NOT?: Prisma.NmiSecurityKeyWhereInput | Prisma.NmiSecurityKeyWhereInput[];
176
+ id?: Prisma.BigIntFilter<"NmiSecurityKey"> | bigint | number;
177
+ platformId?: Prisma.StringFilter<"NmiSecurityKey"> | string;
178
+ isProduction?: Prisma.BoolFilter<"NmiSecurityKey"> | boolean;
179
+ key?: Prisma.StringFilter<"NmiSecurityKey"> | string;
180
+ encryptionData?: Prisma.JsonFilter<"NmiSecurityKey">;
181
+ createdAt?: Prisma.DateTimeFilter<"NmiSecurityKey"> | Date | string;
182
+ updatedAt?: Prisma.DateTimeFilter<"NmiSecurityKey"> | Date | string;
183
+ };
184
+ export type NmiSecurityKeyOrderByWithRelationInput = {
185
+ id?: Prisma.SortOrder;
186
+ platformId?: Prisma.SortOrder;
187
+ isProduction?: Prisma.SortOrder;
188
+ key?: Prisma.SortOrder;
189
+ encryptionData?: Prisma.SortOrder;
190
+ createdAt?: Prisma.SortOrder;
191
+ updatedAt?: Prisma.SortOrder;
192
+ _relevance?: Prisma.NmiSecurityKeyOrderByRelevanceInput;
193
+ };
194
+ export type NmiSecurityKeyWhereUniqueInput = Prisma.AtLeast<{
195
+ id?: bigint | number;
196
+ platformId?: string;
197
+ AND?: Prisma.NmiSecurityKeyWhereInput | Prisma.NmiSecurityKeyWhereInput[];
198
+ OR?: Prisma.NmiSecurityKeyWhereInput[];
199
+ NOT?: Prisma.NmiSecurityKeyWhereInput | Prisma.NmiSecurityKeyWhereInput[];
200
+ isProduction?: Prisma.BoolFilter<"NmiSecurityKey"> | boolean;
201
+ key?: Prisma.StringFilter<"NmiSecurityKey"> | string;
202
+ encryptionData?: Prisma.JsonFilter<"NmiSecurityKey">;
203
+ createdAt?: Prisma.DateTimeFilter<"NmiSecurityKey"> | Date | string;
204
+ updatedAt?: Prisma.DateTimeFilter<"NmiSecurityKey"> | Date | string;
205
+ }, "id" | "platformId">;
206
+ export type NmiSecurityKeyOrderByWithAggregationInput = {
207
+ id?: Prisma.SortOrder;
208
+ platformId?: Prisma.SortOrder;
209
+ isProduction?: Prisma.SortOrder;
210
+ key?: Prisma.SortOrder;
211
+ encryptionData?: Prisma.SortOrder;
212
+ createdAt?: Prisma.SortOrder;
213
+ updatedAt?: Prisma.SortOrder;
214
+ _count?: Prisma.NmiSecurityKeyCountOrderByAggregateInput;
215
+ _avg?: Prisma.NmiSecurityKeyAvgOrderByAggregateInput;
216
+ _max?: Prisma.NmiSecurityKeyMaxOrderByAggregateInput;
217
+ _min?: Prisma.NmiSecurityKeyMinOrderByAggregateInput;
218
+ _sum?: Prisma.NmiSecurityKeySumOrderByAggregateInput;
219
+ };
220
+ export type NmiSecurityKeyScalarWhereWithAggregatesInput = {
221
+ AND?: Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput | Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput[];
222
+ OR?: Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput[];
223
+ NOT?: Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput | Prisma.NmiSecurityKeyScalarWhereWithAggregatesInput[];
224
+ id?: Prisma.BigIntWithAggregatesFilter<"NmiSecurityKey"> | bigint | number;
225
+ platformId?: Prisma.StringWithAggregatesFilter<"NmiSecurityKey"> | string;
226
+ isProduction?: Prisma.BoolWithAggregatesFilter<"NmiSecurityKey"> | boolean;
227
+ key?: Prisma.StringWithAggregatesFilter<"NmiSecurityKey"> | string;
228
+ encryptionData?: Prisma.JsonWithAggregatesFilter<"NmiSecurityKey">;
229
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"NmiSecurityKey"> | Date | string;
230
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"NmiSecurityKey"> | Date | string;
231
+ };
232
+ export type NmiSecurityKeyCreateInput = {
233
+ id?: bigint | number;
234
+ platformId: string;
235
+ isProduction?: boolean;
236
+ key: string;
237
+ encryptionData: unknown;
238
+ createdAt?: Date | string;
239
+ updatedAt?: Date | string;
240
+ };
241
+ export type NmiSecurityKeyUncheckedCreateInput = {
242
+ id?: bigint | number;
243
+ platformId: string;
244
+ isProduction?: boolean;
245
+ key: string;
246
+ encryptionData: unknown;
247
+ createdAt?: Date | string;
248
+ updatedAt?: Date | string;
249
+ };
250
+ export type NmiSecurityKeyUpdateInput = {
251
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
252
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
253
+ isProduction?: Prisma.BoolFieldUpdateOperationsInput | boolean;
254
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
255
+ encryptionData?: unknown;
256
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
257
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
258
+ };
259
+ export type NmiSecurityKeyUncheckedUpdateInput = {
260
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
261
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
262
+ isProduction?: Prisma.BoolFieldUpdateOperationsInput | boolean;
263
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
264
+ encryptionData?: unknown;
265
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
266
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
267
+ };
268
+ export type NmiSecurityKeyCreateManyInput = {
269
+ id?: bigint | number;
270
+ platformId: string;
271
+ isProduction?: boolean;
272
+ key: string;
273
+ encryptionData: unknown;
274
+ createdAt?: Date | string;
275
+ updatedAt?: Date | string;
276
+ };
277
+ export type NmiSecurityKeyUpdateManyMutationInput = {
278
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
279
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ isProduction?: Prisma.BoolFieldUpdateOperationsInput | boolean;
281
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ encryptionData?: unknown;
283
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
284
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
285
+ };
286
+ export type NmiSecurityKeyUncheckedUpdateManyInput = {
287
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
288
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ isProduction?: Prisma.BoolFieldUpdateOperationsInput | boolean;
290
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
291
+ encryptionData?: unknown;
292
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
293
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
294
+ };
295
+ export type NmiSecurityKeyOrderByRelevanceInput = {
296
+ fields: Prisma.NmiSecurityKeyOrderByRelevanceFieldEnum | Prisma.NmiSecurityKeyOrderByRelevanceFieldEnum[];
297
+ sort: Prisma.SortOrder;
298
+ search: string;
299
+ };
300
+ export type NmiSecurityKeyCountOrderByAggregateInput = {
301
+ id?: Prisma.SortOrder;
302
+ platformId?: Prisma.SortOrder;
303
+ isProduction?: Prisma.SortOrder;
304
+ key?: Prisma.SortOrder;
305
+ encryptionData?: Prisma.SortOrder;
306
+ createdAt?: Prisma.SortOrder;
307
+ updatedAt?: Prisma.SortOrder;
308
+ };
309
+ export type NmiSecurityKeyAvgOrderByAggregateInput = {
310
+ id?: Prisma.SortOrder;
311
+ };
312
+ export type NmiSecurityKeyMaxOrderByAggregateInput = {
313
+ id?: Prisma.SortOrder;
314
+ platformId?: Prisma.SortOrder;
315
+ isProduction?: Prisma.SortOrder;
316
+ key?: Prisma.SortOrder;
317
+ createdAt?: Prisma.SortOrder;
318
+ updatedAt?: Prisma.SortOrder;
319
+ };
320
+ export type NmiSecurityKeyMinOrderByAggregateInput = {
321
+ id?: Prisma.SortOrder;
322
+ platformId?: Prisma.SortOrder;
323
+ isProduction?: Prisma.SortOrder;
324
+ key?: Prisma.SortOrder;
325
+ createdAt?: Prisma.SortOrder;
326
+ updatedAt?: Prisma.SortOrder;
327
+ };
328
+ export type NmiSecurityKeySumOrderByAggregateInput = {
329
+ id?: Prisma.SortOrder;
330
+ };
331
+ export type NmiSecurityKeySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
332
+ id?: boolean;
333
+ platformId?: boolean;
334
+ isProduction?: boolean;
335
+ key?: boolean;
336
+ encryptionData?: boolean;
337
+ createdAt?: boolean;
338
+ updatedAt?: boolean;
339
+ }, ExtArgs["result"]["nmiSecurityKey"]>;
340
+ export type NmiSecurityKeySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
341
+ id?: boolean;
342
+ platformId?: boolean;
343
+ isProduction?: boolean;
344
+ key?: boolean;
345
+ encryptionData?: boolean;
346
+ createdAt?: boolean;
347
+ updatedAt?: boolean;
348
+ }, ExtArgs["result"]["nmiSecurityKey"]>;
349
+ export type NmiSecurityKeySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
350
+ id?: boolean;
351
+ platformId?: boolean;
352
+ isProduction?: boolean;
353
+ key?: boolean;
354
+ encryptionData?: boolean;
355
+ createdAt?: boolean;
356
+ updatedAt?: boolean;
357
+ }, ExtArgs["result"]["nmiSecurityKey"]>;
358
+ export type NmiSecurityKeySelectScalar = {
359
+ id?: boolean;
360
+ platformId?: boolean;
361
+ isProduction?: boolean;
362
+ key?: boolean;
363
+ encryptionData?: boolean;
364
+ createdAt?: boolean;
365
+ updatedAt?: boolean;
366
+ };
367
+ export type NmiSecurityKeyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "platformId" | "isProduction" | "key" | "encryptionData" | "createdAt" | "updatedAt", ExtArgs["result"]["nmiSecurityKey"]>;
368
+ export type $NmiSecurityKeyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
369
+ name: "NmiSecurityKey";
370
+ objects: {};
371
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
372
+ id: bigint;
373
+ platformId: string;
374
+ isProduction: boolean;
375
+ key: string;
376
+ encryptionData: unknown;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ }, ExtArgs["result"]["nmiSecurityKey"]>;
380
+ composites: {};
381
+ };
382
+ export type NmiSecurityKeyGetPayload<S extends boolean | null | undefined | NmiSecurityKeyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload, S>;
383
+ export type NmiSecurityKeyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NmiSecurityKeyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
384
+ select?: NmiSecurityKeyCountAggregateInputType | true;
385
+ };
386
+ export interface NmiSecurityKeyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
387
+ [K: symbol]: {
388
+ types: Prisma.TypeMap<ExtArgs>['model']['NmiSecurityKey'];
389
+ meta: {
390
+ name: 'NmiSecurityKey';
391
+ };
392
+ };
393
+ /**
394
+ * Find zero or one NmiSecurityKey that matches the filter.
395
+ * @param {NmiSecurityKeyFindUniqueArgs} args - Arguments to find a NmiSecurityKey
396
+ * @example
397
+ * // Get one NmiSecurityKey
398
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.findUnique({
399
+ * where: {
400
+ * // ... provide filter here
401
+ * }
402
+ * })
403
+ */
404
+ findUnique<T extends NmiSecurityKeyFindUniqueArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
405
+ /**
406
+ * Find one NmiSecurityKey that matches the filter or throw an error with `error.code='P2025'`
407
+ * if no matches were found.
408
+ * @param {NmiSecurityKeyFindUniqueOrThrowArgs} args - Arguments to find a NmiSecurityKey
409
+ * @example
410
+ * // Get one NmiSecurityKey
411
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.findUniqueOrThrow({
412
+ * where: {
413
+ * // ... provide filter here
414
+ * }
415
+ * })
416
+ */
417
+ findUniqueOrThrow<T extends NmiSecurityKeyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
418
+ /**
419
+ * Find the first NmiSecurityKey that matches the filter.
420
+ * Note, that providing `undefined` is treated as the value not being there.
421
+ * Read more here: https://pris.ly/d/null-undefined
422
+ * @param {NmiSecurityKeyFindFirstArgs} args - Arguments to find a NmiSecurityKey
423
+ * @example
424
+ * // Get one NmiSecurityKey
425
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.findFirst({
426
+ * where: {
427
+ * // ... provide filter here
428
+ * }
429
+ * })
430
+ */
431
+ findFirst<T extends NmiSecurityKeyFindFirstArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyFindFirstArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
432
+ /**
433
+ * Find the first NmiSecurityKey that matches the filter or
434
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
435
+ * Note, that providing `undefined` is treated as the value not being there.
436
+ * Read more here: https://pris.ly/d/null-undefined
437
+ * @param {NmiSecurityKeyFindFirstOrThrowArgs} args - Arguments to find a NmiSecurityKey
438
+ * @example
439
+ * // Get one NmiSecurityKey
440
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.findFirstOrThrow({
441
+ * where: {
442
+ * // ... provide filter here
443
+ * }
444
+ * })
445
+ */
446
+ findFirstOrThrow<T extends NmiSecurityKeyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
447
+ /**
448
+ * Find zero or more NmiSecurityKeys that matches the filter.
449
+ * Note, that providing `undefined` is treated as the value not being there.
450
+ * Read more here: https://pris.ly/d/null-undefined
451
+ * @param {NmiSecurityKeyFindManyArgs} args - Arguments to filter and select certain fields only.
452
+ * @example
453
+ * // Get all NmiSecurityKeys
454
+ * const nmiSecurityKeys = await prisma.nmiSecurityKey.findMany()
455
+ *
456
+ * // Get first 10 NmiSecurityKeys
457
+ * const nmiSecurityKeys = await prisma.nmiSecurityKey.findMany({ take: 10 })
458
+ *
459
+ * // Only select the `id`
460
+ * const nmiSecurityKeyWithIdOnly = await prisma.nmiSecurityKey.findMany({ select: { id: true } })
461
+ *
462
+ */
463
+ findMany<T extends NmiSecurityKeyFindManyArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
464
+ /**
465
+ * Create a NmiSecurityKey.
466
+ * @param {NmiSecurityKeyCreateArgs} args - Arguments to create a NmiSecurityKey.
467
+ * @example
468
+ * // Create one NmiSecurityKey
469
+ * const NmiSecurityKey = await prisma.nmiSecurityKey.create({
470
+ * data: {
471
+ * // ... data to create a NmiSecurityKey
472
+ * }
473
+ * })
474
+ *
475
+ */
476
+ create<T extends NmiSecurityKeyCreateArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyCreateArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
477
+ /**
478
+ * Create many NmiSecurityKeys.
479
+ * @param {NmiSecurityKeyCreateManyArgs} args - Arguments to create many NmiSecurityKeys.
480
+ * @example
481
+ * // Create many NmiSecurityKeys
482
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.createMany({
483
+ * data: [
484
+ * // ... provide data here
485
+ * ]
486
+ * })
487
+ *
488
+ */
489
+ createMany<T extends NmiSecurityKeyCreateManyArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
490
+ /**
491
+ * Create many NmiSecurityKeys and returns the data saved in the database.
492
+ * @param {NmiSecurityKeyCreateManyAndReturnArgs} args - Arguments to create many NmiSecurityKeys.
493
+ * @example
494
+ * // Create many NmiSecurityKeys
495
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.createManyAndReturn({
496
+ * data: [
497
+ * // ... provide data here
498
+ * ]
499
+ * })
500
+ *
501
+ * // Create many NmiSecurityKeys and only return the `id`
502
+ * const nmiSecurityKeyWithIdOnly = await prisma.nmiSecurityKey.createManyAndReturn({
503
+ * select: { id: true },
504
+ * data: [
505
+ * // ... provide data here
506
+ * ]
507
+ * })
508
+ * Note, that providing `undefined` is treated as the value not being there.
509
+ * Read more here: https://pris.ly/d/null-undefined
510
+ *
511
+ */
512
+ createManyAndReturn<T extends NmiSecurityKeyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
513
+ /**
514
+ * Delete a NmiSecurityKey.
515
+ * @param {NmiSecurityKeyDeleteArgs} args - Arguments to delete one NmiSecurityKey.
516
+ * @example
517
+ * // Delete one NmiSecurityKey
518
+ * const NmiSecurityKey = await prisma.nmiSecurityKey.delete({
519
+ * where: {
520
+ * // ... filter to delete one NmiSecurityKey
521
+ * }
522
+ * })
523
+ *
524
+ */
525
+ delete<T extends NmiSecurityKeyDeleteArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyDeleteArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
526
+ /**
527
+ * Update one NmiSecurityKey.
528
+ * @param {NmiSecurityKeyUpdateArgs} args - Arguments to update one NmiSecurityKey.
529
+ * @example
530
+ * // Update one NmiSecurityKey
531
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.update({
532
+ * where: {
533
+ * // ... provide filter here
534
+ * },
535
+ * data: {
536
+ * // ... provide data here
537
+ * }
538
+ * })
539
+ *
540
+ */
541
+ update<T extends NmiSecurityKeyUpdateArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyUpdateArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
542
+ /**
543
+ * Delete zero or more NmiSecurityKeys.
544
+ * @param {NmiSecurityKeyDeleteManyArgs} args - Arguments to filter NmiSecurityKeys to delete.
545
+ * @example
546
+ * // Delete a few NmiSecurityKeys
547
+ * const { count } = await prisma.nmiSecurityKey.deleteMany({
548
+ * where: {
549
+ * // ... provide filter here
550
+ * }
551
+ * })
552
+ *
553
+ */
554
+ deleteMany<T extends NmiSecurityKeyDeleteManyArgs>(args?: Prisma.SelectSubset<T, NmiSecurityKeyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
555
+ /**
556
+ * Update zero or more NmiSecurityKeys.
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 {NmiSecurityKeyUpdateManyArgs} args - Arguments to update one or more rows.
560
+ * @example
561
+ * // Update many NmiSecurityKeys
562
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.updateMany({
563
+ * where: {
564
+ * // ... provide filter here
565
+ * },
566
+ * data: {
567
+ * // ... provide data here
568
+ * }
569
+ * })
570
+ *
571
+ */
572
+ updateMany<T extends NmiSecurityKeyUpdateManyArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
573
+ /**
574
+ * Update zero or more NmiSecurityKeys and returns the data updated in the database.
575
+ * @param {NmiSecurityKeyUpdateManyAndReturnArgs} args - Arguments to update many NmiSecurityKeys.
576
+ * @example
577
+ * // Update many NmiSecurityKeys
578
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.updateManyAndReturn({
579
+ * where: {
580
+ * // ... provide filter here
581
+ * },
582
+ * data: [
583
+ * // ... provide data here
584
+ * ]
585
+ * })
586
+ *
587
+ * // Update zero or more NmiSecurityKeys and only return the `id`
588
+ * const nmiSecurityKeyWithIdOnly = await prisma.nmiSecurityKey.updateManyAndReturn({
589
+ * select: { id: true },
590
+ * where: {
591
+ * // ... provide filter here
592
+ * },
593
+ * data: [
594
+ * // ... provide data here
595
+ * ]
596
+ * })
597
+ * Note, that providing `undefined` is treated as the value not being there.
598
+ * Read more here: https://pris.ly/d/null-undefined
599
+ *
600
+ */
601
+ updateManyAndReturn<T extends NmiSecurityKeyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
602
+ /**
603
+ * Create or update one NmiSecurityKey.
604
+ * @param {NmiSecurityKeyUpsertArgs} args - Arguments to update or create a NmiSecurityKey.
605
+ * @example
606
+ * // Update or create a NmiSecurityKey
607
+ * const nmiSecurityKey = await prisma.nmiSecurityKey.upsert({
608
+ * create: {
609
+ * // ... data to create a NmiSecurityKey
610
+ * },
611
+ * update: {
612
+ * // ... in case it already exists, update
613
+ * },
614
+ * where: {
615
+ * // ... the filter for the NmiSecurityKey we want to update
616
+ * }
617
+ * })
618
+ */
619
+ upsert<T extends NmiSecurityKeyUpsertArgs>(args: Prisma.SelectSubset<T, NmiSecurityKeyUpsertArgs<ExtArgs>>): Prisma.Prisma__NmiSecurityKeyClient<runtime.Types.Result.GetResult<Prisma.$NmiSecurityKeyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
620
+ /**
621
+ * Count the number of NmiSecurityKeys.
622
+ * Note, that providing `undefined` is treated as the value not being there.
623
+ * Read more here: https://pris.ly/d/null-undefined
624
+ * @param {NmiSecurityKeyCountArgs} args - Arguments to filter NmiSecurityKeys to count.
625
+ * @example
626
+ * // Count the number of NmiSecurityKeys
627
+ * const count = await prisma.nmiSecurityKey.count({
628
+ * where: {
629
+ * // ... the filter for the NmiSecurityKeys we want to count
630
+ * }
631
+ * })
632
+ **/
633
+ count<T extends NmiSecurityKeyCountArgs>(args?: Prisma.Subset<T, NmiSecurityKeyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NmiSecurityKeyCountAggregateOutputType> : number>;
634
+ /**
635
+ * Allows you to perform aggregations operations on a NmiSecurityKey.
636
+ * Note, that providing `undefined` is treated as the value not being there.
637
+ * Read more here: https://pris.ly/d/null-undefined
638
+ * @param {NmiSecurityKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
639
+ * @example
640
+ * // Ordered by age ascending
641
+ * // Where email contains prisma.io
642
+ * // Limited to the 10 users
643
+ * const aggregations = await prisma.user.aggregate({
644
+ * _avg: {
645
+ * age: true,
646
+ * },
647
+ * where: {
648
+ * email: {
649
+ * contains: "prisma.io",
650
+ * },
651
+ * },
652
+ * orderBy: {
653
+ * age: "asc",
654
+ * },
655
+ * take: 10,
656
+ * })
657
+ **/
658
+ aggregate<T extends NmiSecurityKeyAggregateArgs>(args: Prisma.Subset<T, NmiSecurityKeyAggregateArgs>): Prisma.PrismaPromise<GetNmiSecurityKeyAggregateType<T>>;
659
+ /**
660
+ * Group by NmiSecurityKey.
661
+ * Note, that providing `undefined` is treated as the value not being there.
662
+ * Read more here: https://pris.ly/d/null-undefined
663
+ * @param {NmiSecurityKeyGroupByArgs} args - Group by arguments.
664
+ * @example
665
+ * // Group by city, order by createdAt, get count
666
+ * const result = await prisma.user.groupBy({
667
+ * by: ['city', 'createdAt'],
668
+ * orderBy: {
669
+ * createdAt: true
670
+ * },
671
+ * _count: {
672
+ * _all: true
673
+ * },
674
+ * })
675
+ *
676
+ **/
677
+ groupBy<T extends NmiSecurityKeyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
678
+ orderBy: NmiSecurityKeyGroupByArgs['orderBy'];
679
+ } : {
680
+ orderBy?: NmiSecurityKeyGroupByArgs['orderBy'];
681
+ }, 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 ? {
682
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
683
+ Error,
684
+ 'Field ',
685
+ P,
686
+ ` in "having" needs to be provided in "by"`
687
+ ];
688
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
689
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
690
+ }[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 ? {} : {
691
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
692
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
693
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
694
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, NmiSecurityKeyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNmiSecurityKeyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
695
+ /**
696
+ * Fields of the NmiSecurityKey model
697
+ */
698
+ readonly fields: NmiSecurityKeyFieldRefs;
699
+ }
700
+ /**
701
+ * The delegate class that acts as a "Promise-like" for NmiSecurityKey.
702
+ * Why is this prefixed with `Prisma__`?
703
+ * Because we want to prevent naming conflicts as mentioned in
704
+ * https://github.com/prisma/prisma-client-js/issues/707
705
+ */
706
+ export interface Prisma__NmiSecurityKeyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
707
+ readonly [Symbol.toStringTag]: "PrismaPromise";
708
+ /**
709
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
710
+ * @param onfulfilled The callback to execute when the Promise is resolved.
711
+ * @param onrejected The callback to execute when the Promise is rejected.
712
+ * @returns A Promise for the completion of which ever callback is executed.
713
+ */
714
+ 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>;
715
+ /**
716
+ * Attaches a callback for only the rejection of the Promise.
717
+ * @param onrejected The callback to execute when the Promise is rejected.
718
+ * @returns A Promise for the completion of the callback.
719
+ */
720
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
721
+ /**
722
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
723
+ * resolved value cannot be modified from the callback.
724
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
725
+ * @returns A Promise for the completion of the callback.
726
+ */
727
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
728
+ }
729
+ /**
730
+ * Fields of the NmiSecurityKey model
731
+ */
732
+ export interface NmiSecurityKeyFieldRefs {
733
+ readonly id: Prisma.FieldRef<"NmiSecurityKey", 'BigInt'>;
734
+ readonly platformId: Prisma.FieldRef<"NmiSecurityKey", 'String'>;
735
+ readonly isProduction: Prisma.FieldRef<"NmiSecurityKey", 'Boolean'>;
736
+ readonly key: Prisma.FieldRef<"NmiSecurityKey", 'String'>;
737
+ readonly encryptionData: Prisma.FieldRef<"NmiSecurityKey", 'Json'>;
738
+ readonly createdAt: Prisma.FieldRef<"NmiSecurityKey", 'DateTime'>;
739
+ readonly updatedAt: Prisma.FieldRef<"NmiSecurityKey", 'DateTime'>;
740
+ }
741
+ /**
742
+ * NmiSecurityKey findUnique
743
+ */
744
+ export type NmiSecurityKeyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
745
+ /**
746
+ * Select specific fields to fetch from the NmiSecurityKey
747
+ */
748
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
749
+ /**
750
+ * Omit specific fields from the NmiSecurityKey
751
+ */
752
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
753
+ /**
754
+ * Filter, which NmiSecurityKey to fetch.
755
+ */
756
+ where: Prisma.NmiSecurityKeyWhereUniqueInput;
757
+ };
758
+ /**
759
+ * NmiSecurityKey findUniqueOrThrow
760
+ */
761
+ export type NmiSecurityKeyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
+ /**
763
+ * Select specific fields to fetch from the NmiSecurityKey
764
+ */
765
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
766
+ /**
767
+ * Omit specific fields from the NmiSecurityKey
768
+ */
769
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
770
+ /**
771
+ * Filter, which NmiSecurityKey to fetch.
772
+ */
773
+ where: Prisma.NmiSecurityKeyWhereUniqueInput;
774
+ };
775
+ /**
776
+ * NmiSecurityKey findFirst
777
+ */
778
+ export type NmiSecurityKeyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
779
+ /**
780
+ * Select specific fields to fetch from the NmiSecurityKey
781
+ */
782
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
783
+ /**
784
+ * Omit specific fields from the NmiSecurityKey
785
+ */
786
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
787
+ /**
788
+ * Filter, which NmiSecurityKey to fetch.
789
+ */
790
+ where?: Prisma.NmiSecurityKeyWhereInput;
791
+ /**
792
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
793
+ *
794
+ * Determine the order of NmiSecurityKeys to fetch.
795
+ */
796
+ orderBy?: Prisma.NmiSecurityKeyOrderByWithRelationInput | Prisma.NmiSecurityKeyOrderByWithRelationInput[];
797
+ /**
798
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
799
+ *
800
+ * Sets the position for searching for NmiSecurityKeys.
801
+ */
802
+ cursor?: Prisma.NmiSecurityKeyWhereUniqueInput;
803
+ /**
804
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
805
+ *
806
+ * Take `±n` NmiSecurityKeys from the position of the cursor.
807
+ */
808
+ take?: number;
809
+ /**
810
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
811
+ *
812
+ * Skip the first `n` NmiSecurityKeys.
813
+ */
814
+ skip?: number;
815
+ /**
816
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
817
+ *
818
+ * Filter by unique combinations of NmiSecurityKeys.
819
+ */
820
+ distinct?: Prisma.NmiSecurityKeyScalarFieldEnum | Prisma.NmiSecurityKeyScalarFieldEnum[];
821
+ };
822
+ /**
823
+ * NmiSecurityKey findFirstOrThrow
824
+ */
825
+ export type NmiSecurityKeyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
826
+ /**
827
+ * Select specific fields to fetch from the NmiSecurityKey
828
+ */
829
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
830
+ /**
831
+ * Omit specific fields from the NmiSecurityKey
832
+ */
833
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
834
+ /**
835
+ * Filter, which NmiSecurityKey to fetch.
836
+ */
837
+ where?: Prisma.NmiSecurityKeyWhereInput;
838
+ /**
839
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
840
+ *
841
+ * Determine the order of NmiSecurityKeys to fetch.
842
+ */
843
+ orderBy?: Prisma.NmiSecurityKeyOrderByWithRelationInput | Prisma.NmiSecurityKeyOrderByWithRelationInput[];
844
+ /**
845
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
846
+ *
847
+ * Sets the position for searching for NmiSecurityKeys.
848
+ */
849
+ cursor?: Prisma.NmiSecurityKeyWhereUniqueInput;
850
+ /**
851
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
852
+ *
853
+ * Take `±n` NmiSecurityKeys from the position of the cursor.
854
+ */
855
+ take?: number;
856
+ /**
857
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
858
+ *
859
+ * Skip the first `n` NmiSecurityKeys.
860
+ */
861
+ skip?: number;
862
+ /**
863
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
864
+ *
865
+ * Filter by unique combinations of NmiSecurityKeys.
866
+ */
867
+ distinct?: Prisma.NmiSecurityKeyScalarFieldEnum | Prisma.NmiSecurityKeyScalarFieldEnum[];
868
+ };
869
+ /**
870
+ * NmiSecurityKey findMany
871
+ */
872
+ export type NmiSecurityKeyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
873
+ /**
874
+ * Select specific fields to fetch from the NmiSecurityKey
875
+ */
876
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
877
+ /**
878
+ * Omit specific fields from the NmiSecurityKey
879
+ */
880
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
881
+ /**
882
+ * Filter, which NmiSecurityKeys to fetch.
883
+ */
884
+ where?: Prisma.NmiSecurityKeyWhereInput;
885
+ /**
886
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
887
+ *
888
+ * Determine the order of NmiSecurityKeys to fetch.
889
+ */
890
+ orderBy?: Prisma.NmiSecurityKeyOrderByWithRelationInput | Prisma.NmiSecurityKeyOrderByWithRelationInput[];
891
+ /**
892
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
893
+ *
894
+ * Sets the position for listing NmiSecurityKeys.
895
+ */
896
+ cursor?: Prisma.NmiSecurityKeyWhereUniqueInput;
897
+ /**
898
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
899
+ *
900
+ * Take `±n` NmiSecurityKeys from the position of the cursor.
901
+ */
902
+ take?: number;
903
+ /**
904
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
905
+ *
906
+ * Skip the first `n` NmiSecurityKeys.
907
+ */
908
+ skip?: number;
909
+ distinct?: Prisma.NmiSecurityKeyScalarFieldEnum | Prisma.NmiSecurityKeyScalarFieldEnum[];
910
+ };
911
+ /**
912
+ * NmiSecurityKey create
913
+ */
914
+ export type NmiSecurityKeyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
915
+ /**
916
+ * Select specific fields to fetch from the NmiSecurityKey
917
+ */
918
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
919
+ /**
920
+ * Omit specific fields from the NmiSecurityKey
921
+ */
922
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
923
+ /**
924
+ * The data needed to create a NmiSecurityKey.
925
+ */
926
+ data: Prisma.XOR<Prisma.NmiSecurityKeyCreateInput, Prisma.NmiSecurityKeyUncheckedCreateInput>;
927
+ };
928
+ /**
929
+ * NmiSecurityKey createMany
930
+ */
931
+ export type NmiSecurityKeyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
932
+ /**
933
+ * The data used to create many NmiSecurityKeys.
934
+ */
935
+ data: Prisma.NmiSecurityKeyCreateManyInput | Prisma.NmiSecurityKeyCreateManyInput[];
936
+ skipDuplicates?: boolean;
937
+ };
938
+ /**
939
+ * NmiSecurityKey createManyAndReturn
940
+ */
941
+ export type NmiSecurityKeyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
942
+ /**
943
+ * Select specific fields to fetch from the NmiSecurityKey
944
+ */
945
+ select?: Prisma.NmiSecurityKeySelectCreateManyAndReturn<ExtArgs> | null;
946
+ /**
947
+ * Omit specific fields from the NmiSecurityKey
948
+ */
949
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
950
+ /**
951
+ * The data used to create many NmiSecurityKeys.
952
+ */
953
+ data: Prisma.NmiSecurityKeyCreateManyInput | Prisma.NmiSecurityKeyCreateManyInput[];
954
+ skipDuplicates?: boolean;
955
+ };
956
+ /**
957
+ * NmiSecurityKey update
958
+ */
959
+ export type NmiSecurityKeyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
960
+ /**
961
+ * Select specific fields to fetch from the NmiSecurityKey
962
+ */
963
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
964
+ /**
965
+ * Omit specific fields from the NmiSecurityKey
966
+ */
967
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
968
+ /**
969
+ * The data needed to update a NmiSecurityKey.
970
+ */
971
+ data: Prisma.XOR<Prisma.NmiSecurityKeyUpdateInput, Prisma.NmiSecurityKeyUncheckedUpdateInput>;
972
+ /**
973
+ * Choose, which NmiSecurityKey to update.
974
+ */
975
+ where: Prisma.NmiSecurityKeyWhereUniqueInput;
976
+ };
977
+ /**
978
+ * NmiSecurityKey updateMany
979
+ */
980
+ export type NmiSecurityKeyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
981
+ /**
982
+ * The data used to update NmiSecurityKeys.
983
+ */
984
+ data: Prisma.XOR<Prisma.NmiSecurityKeyUpdateManyMutationInput, Prisma.NmiSecurityKeyUncheckedUpdateManyInput>;
985
+ /**
986
+ * Filter which NmiSecurityKeys to update
987
+ */
988
+ where?: Prisma.NmiSecurityKeyWhereInput;
989
+ /**
990
+ * Limit how many NmiSecurityKeys to update.
991
+ */
992
+ limit?: number;
993
+ };
994
+ /**
995
+ * NmiSecurityKey updateManyAndReturn
996
+ */
997
+ export type NmiSecurityKeyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
998
+ /**
999
+ * Select specific fields to fetch from the NmiSecurityKey
1000
+ */
1001
+ select?: Prisma.NmiSecurityKeySelectUpdateManyAndReturn<ExtArgs> | null;
1002
+ /**
1003
+ * Omit specific fields from the NmiSecurityKey
1004
+ */
1005
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
1006
+ /**
1007
+ * The data used to update NmiSecurityKeys.
1008
+ */
1009
+ data: Prisma.XOR<Prisma.NmiSecurityKeyUpdateManyMutationInput, Prisma.NmiSecurityKeyUncheckedUpdateManyInput>;
1010
+ /**
1011
+ * Filter which NmiSecurityKeys to update
1012
+ */
1013
+ where?: Prisma.NmiSecurityKeyWhereInput;
1014
+ /**
1015
+ * Limit how many NmiSecurityKeys to update.
1016
+ */
1017
+ limit?: number;
1018
+ };
1019
+ /**
1020
+ * NmiSecurityKey upsert
1021
+ */
1022
+ export type NmiSecurityKeyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1023
+ /**
1024
+ * Select specific fields to fetch from the NmiSecurityKey
1025
+ */
1026
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
1027
+ /**
1028
+ * Omit specific fields from the NmiSecurityKey
1029
+ */
1030
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
1031
+ /**
1032
+ * The filter to search for the NmiSecurityKey to update in case it exists.
1033
+ */
1034
+ where: Prisma.NmiSecurityKeyWhereUniqueInput;
1035
+ /**
1036
+ * In case the NmiSecurityKey found by the `where` argument doesn't exist, create a new NmiSecurityKey with this data.
1037
+ */
1038
+ create: Prisma.XOR<Prisma.NmiSecurityKeyCreateInput, Prisma.NmiSecurityKeyUncheckedCreateInput>;
1039
+ /**
1040
+ * In case the NmiSecurityKey was found with the provided `where` argument, update it with this data.
1041
+ */
1042
+ update: Prisma.XOR<Prisma.NmiSecurityKeyUpdateInput, Prisma.NmiSecurityKeyUncheckedUpdateInput>;
1043
+ };
1044
+ /**
1045
+ * NmiSecurityKey delete
1046
+ */
1047
+ export type NmiSecurityKeyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1048
+ /**
1049
+ * Select specific fields to fetch from the NmiSecurityKey
1050
+ */
1051
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
1052
+ /**
1053
+ * Omit specific fields from the NmiSecurityKey
1054
+ */
1055
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
1056
+ /**
1057
+ * Filter which NmiSecurityKey to delete.
1058
+ */
1059
+ where: Prisma.NmiSecurityKeyWhereUniqueInput;
1060
+ };
1061
+ /**
1062
+ * NmiSecurityKey deleteMany
1063
+ */
1064
+ export type NmiSecurityKeyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1065
+ /**
1066
+ * Filter which NmiSecurityKeys to delete
1067
+ */
1068
+ where?: Prisma.NmiSecurityKeyWhereInput;
1069
+ /**
1070
+ * Limit how many NmiSecurityKeys to delete.
1071
+ */
1072
+ limit?: number;
1073
+ };
1074
+ /**
1075
+ * NmiSecurityKey without action
1076
+ */
1077
+ export type NmiSecurityKeyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1078
+ /**
1079
+ * Select specific fields to fetch from the NmiSecurityKey
1080
+ */
1081
+ select?: Prisma.NmiSecurityKeySelect<ExtArgs> | null;
1082
+ /**
1083
+ * Omit specific fields from the NmiSecurityKey
1084
+ */
1085
+ omit?: Prisma.NmiSecurityKeyOmit<ExtArgs> | null;
1086
+ };
1087
+ export {};