@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,1125 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model SmsMerchantNotificationMessage
6
+ *
7
+ */
8
+ export type SmsMerchantNotificationMessageModel = runtime.Types.Result.DefaultSelection<Prisma.$SmsMerchantNotificationMessagePayload>;
9
+ export type AggregateSmsMerchantNotificationMessage = {
10
+ _count: SmsMerchantNotificationMessageCountAggregateOutputType | null;
11
+ _avg: SmsMerchantNotificationMessageAvgAggregateOutputType | null;
12
+ _sum: SmsMerchantNotificationMessageSumAggregateOutputType | null;
13
+ _min: SmsMerchantNotificationMessageMinAggregateOutputType | null;
14
+ _max: SmsMerchantNotificationMessageMaxAggregateOutputType | null;
15
+ };
16
+ export type SmsMerchantNotificationMessageAvgAggregateOutputType = {
17
+ id: number | null;
18
+ };
19
+ export type SmsMerchantNotificationMessageSumAggregateOutputType = {
20
+ id: bigint | null;
21
+ };
22
+ export type SmsMerchantNotificationMessageMinAggregateOutputType = {
23
+ id: bigint | null;
24
+ platformId: string | null;
25
+ storeId: string | null;
26
+ createdAt: Date | null;
27
+ purpose: $Enums.merchantSmsPurpose | null;
28
+ orderNumber: string | null;
29
+ body: string | null;
30
+ sid: string | null;
31
+ };
32
+ export type SmsMerchantNotificationMessageMaxAggregateOutputType = {
33
+ id: bigint | null;
34
+ platformId: string | null;
35
+ storeId: string | null;
36
+ createdAt: Date | null;
37
+ purpose: $Enums.merchantSmsPurpose | null;
38
+ orderNumber: string | null;
39
+ body: string | null;
40
+ sid: string | null;
41
+ };
42
+ export type SmsMerchantNotificationMessageCountAggregateOutputType = {
43
+ id: number;
44
+ platformId: number;
45
+ storeId: number;
46
+ createdAt: number;
47
+ purpose: number;
48
+ orderNumber: number;
49
+ body: number;
50
+ sid: number;
51
+ _all: number;
52
+ };
53
+ export type SmsMerchantNotificationMessageAvgAggregateInputType = {
54
+ id?: true;
55
+ };
56
+ export type SmsMerchantNotificationMessageSumAggregateInputType = {
57
+ id?: true;
58
+ };
59
+ export type SmsMerchantNotificationMessageMinAggregateInputType = {
60
+ id?: true;
61
+ platformId?: true;
62
+ storeId?: true;
63
+ createdAt?: true;
64
+ purpose?: true;
65
+ orderNumber?: true;
66
+ body?: true;
67
+ sid?: true;
68
+ };
69
+ export type SmsMerchantNotificationMessageMaxAggregateInputType = {
70
+ id?: true;
71
+ platformId?: true;
72
+ storeId?: true;
73
+ createdAt?: true;
74
+ purpose?: true;
75
+ orderNumber?: true;
76
+ body?: true;
77
+ sid?: true;
78
+ };
79
+ export type SmsMerchantNotificationMessageCountAggregateInputType = {
80
+ id?: true;
81
+ platformId?: true;
82
+ storeId?: true;
83
+ createdAt?: true;
84
+ purpose?: true;
85
+ orderNumber?: true;
86
+ body?: true;
87
+ sid?: true;
88
+ _all?: true;
89
+ };
90
+ export type SmsMerchantNotificationMessageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
91
+ /**
92
+ * Filter which SmsMerchantNotificationMessage to aggregate.
93
+ */
94
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97
+ *
98
+ * Determine the order of SmsMerchantNotificationMessages to fetch.
99
+ */
100
+ orderBy?: Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput | Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput[];
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
103
+ *
104
+ * Sets the start position
105
+ */
106
+ cursor?: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Take `±n` SmsMerchantNotificationMessages from the position of the cursor.
111
+ */
112
+ take?: number;
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
+ *
116
+ * Skip the first `n` SmsMerchantNotificationMessages.
117
+ */
118
+ skip?: number;
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Count returned SmsMerchantNotificationMessages
123
+ **/
124
+ _count?: true | SmsMerchantNotificationMessageCountAggregateInputType;
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to average
129
+ **/
130
+ _avg?: SmsMerchantNotificationMessageAvgAggregateInputType;
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to sum
135
+ **/
136
+ _sum?: SmsMerchantNotificationMessageSumAggregateInputType;
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
139
+ *
140
+ * Select which fields to find the minimum value
141
+ **/
142
+ _min?: SmsMerchantNotificationMessageMinAggregateInputType;
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Select which fields to find the maximum value
147
+ **/
148
+ _max?: SmsMerchantNotificationMessageMaxAggregateInputType;
149
+ };
150
+ export type GetSmsMerchantNotificationMessageAggregateType<T extends SmsMerchantNotificationMessageAggregateArgs> = {
151
+ [P in keyof T & keyof AggregateSmsMerchantNotificationMessage]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSmsMerchantNotificationMessage[P]> : Prisma.GetScalarType<T[P], AggregateSmsMerchantNotificationMessage[P]>;
152
+ };
153
+ export type SmsMerchantNotificationMessageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
154
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
155
+ orderBy?: Prisma.SmsMerchantNotificationMessageOrderByWithAggregationInput | Prisma.SmsMerchantNotificationMessageOrderByWithAggregationInput[];
156
+ by: Prisma.SmsMerchantNotificationMessageScalarFieldEnum[] | Prisma.SmsMerchantNotificationMessageScalarFieldEnum;
157
+ having?: Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput;
158
+ take?: number;
159
+ skip?: number;
160
+ _count?: SmsMerchantNotificationMessageCountAggregateInputType | true;
161
+ _avg?: SmsMerchantNotificationMessageAvgAggregateInputType;
162
+ _sum?: SmsMerchantNotificationMessageSumAggregateInputType;
163
+ _min?: SmsMerchantNotificationMessageMinAggregateInputType;
164
+ _max?: SmsMerchantNotificationMessageMaxAggregateInputType;
165
+ };
166
+ export type SmsMerchantNotificationMessageGroupByOutputType = {
167
+ id: bigint;
168
+ platformId: string;
169
+ storeId: string;
170
+ createdAt: Date;
171
+ purpose: $Enums.merchantSmsPurpose;
172
+ orderNumber: string;
173
+ body: string;
174
+ sid: string;
175
+ _count: SmsMerchantNotificationMessageCountAggregateOutputType | null;
176
+ _avg: SmsMerchantNotificationMessageAvgAggregateOutputType | null;
177
+ _sum: SmsMerchantNotificationMessageSumAggregateOutputType | null;
178
+ _min: SmsMerchantNotificationMessageMinAggregateOutputType | null;
179
+ _max: SmsMerchantNotificationMessageMaxAggregateOutputType | null;
180
+ };
181
+ type GetSmsMerchantNotificationMessageGroupByPayload<T extends SmsMerchantNotificationMessageGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SmsMerchantNotificationMessageGroupByOutputType, T['by']> & {
182
+ [P in ((keyof T) & (keyof SmsMerchantNotificationMessageGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SmsMerchantNotificationMessageGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SmsMerchantNotificationMessageGroupByOutputType[P]>;
183
+ }>>;
184
+ export type SmsMerchantNotificationMessageWhereInput = {
185
+ AND?: Prisma.SmsMerchantNotificationMessageWhereInput | Prisma.SmsMerchantNotificationMessageWhereInput[];
186
+ OR?: Prisma.SmsMerchantNotificationMessageWhereInput[];
187
+ NOT?: Prisma.SmsMerchantNotificationMessageWhereInput | Prisma.SmsMerchantNotificationMessageWhereInput[];
188
+ id?: Prisma.BigIntFilter<"SmsMerchantNotificationMessage"> | bigint | number;
189
+ platformId?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
190
+ storeId?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
191
+ createdAt?: Prisma.DateTimeFilter<"SmsMerchantNotificationMessage"> | Date | string;
192
+ purpose?: Prisma.EnummerchantSmsPurposeFilter<"SmsMerchantNotificationMessage"> | $Enums.merchantSmsPurpose;
193
+ orderNumber?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
194
+ body?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
195
+ sid?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
196
+ };
197
+ export type SmsMerchantNotificationMessageOrderByWithRelationInput = {
198
+ id?: Prisma.SortOrder;
199
+ platformId?: Prisma.SortOrder;
200
+ storeId?: Prisma.SortOrder;
201
+ createdAt?: Prisma.SortOrder;
202
+ purpose?: Prisma.SortOrder;
203
+ orderNumber?: Prisma.SortOrder;
204
+ body?: Prisma.SortOrder;
205
+ sid?: Prisma.SortOrder;
206
+ _relevance?: Prisma.SmsMerchantNotificationMessageOrderByRelevanceInput;
207
+ };
208
+ export type SmsMerchantNotificationMessageWhereUniqueInput = Prisma.AtLeast<{
209
+ id?: bigint | number;
210
+ AND?: Prisma.SmsMerchantNotificationMessageWhereInput | Prisma.SmsMerchantNotificationMessageWhereInput[];
211
+ OR?: Prisma.SmsMerchantNotificationMessageWhereInput[];
212
+ NOT?: Prisma.SmsMerchantNotificationMessageWhereInput | Prisma.SmsMerchantNotificationMessageWhereInput[];
213
+ platformId?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
214
+ storeId?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
215
+ createdAt?: Prisma.DateTimeFilter<"SmsMerchantNotificationMessage"> | Date | string;
216
+ purpose?: Prisma.EnummerchantSmsPurposeFilter<"SmsMerchantNotificationMessage"> | $Enums.merchantSmsPurpose;
217
+ orderNumber?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
218
+ body?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
219
+ sid?: Prisma.StringFilter<"SmsMerchantNotificationMessage"> | string;
220
+ }, "id">;
221
+ export type SmsMerchantNotificationMessageOrderByWithAggregationInput = {
222
+ id?: Prisma.SortOrder;
223
+ platformId?: Prisma.SortOrder;
224
+ storeId?: Prisma.SortOrder;
225
+ createdAt?: Prisma.SortOrder;
226
+ purpose?: Prisma.SortOrder;
227
+ orderNumber?: Prisma.SortOrder;
228
+ body?: Prisma.SortOrder;
229
+ sid?: Prisma.SortOrder;
230
+ _count?: Prisma.SmsMerchantNotificationMessageCountOrderByAggregateInput;
231
+ _avg?: Prisma.SmsMerchantNotificationMessageAvgOrderByAggregateInput;
232
+ _max?: Prisma.SmsMerchantNotificationMessageMaxOrderByAggregateInput;
233
+ _min?: Prisma.SmsMerchantNotificationMessageMinOrderByAggregateInput;
234
+ _sum?: Prisma.SmsMerchantNotificationMessageSumOrderByAggregateInput;
235
+ };
236
+ export type SmsMerchantNotificationMessageScalarWhereWithAggregatesInput = {
237
+ AND?: Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput | Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput[];
238
+ OR?: Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput[];
239
+ NOT?: Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput | Prisma.SmsMerchantNotificationMessageScalarWhereWithAggregatesInput[];
240
+ id?: Prisma.BigIntWithAggregatesFilter<"SmsMerchantNotificationMessage"> | bigint | number;
241
+ platformId?: Prisma.StringWithAggregatesFilter<"SmsMerchantNotificationMessage"> | string;
242
+ storeId?: Prisma.StringWithAggregatesFilter<"SmsMerchantNotificationMessage"> | string;
243
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"SmsMerchantNotificationMessage"> | Date | string;
244
+ purpose?: Prisma.EnummerchantSmsPurposeWithAggregatesFilter<"SmsMerchantNotificationMessage"> | $Enums.merchantSmsPurpose;
245
+ orderNumber?: Prisma.StringWithAggregatesFilter<"SmsMerchantNotificationMessage"> | string;
246
+ body?: Prisma.StringWithAggregatesFilter<"SmsMerchantNotificationMessage"> | string;
247
+ sid?: Prisma.StringWithAggregatesFilter<"SmsMerchantNotificationMessage"> | string;
248
+ };
249
+ export type SmsMerchantNotificationMessageCreateInput = {
250
+ id?: bigint | number;
251
+ platformId: string;
252
+ storeId: string;
253
+ createdAt?: Date | string;
254
+ purpose: $Enums.merchantSmsPurpose;
255
+ orderNumber: string;
256
+ body: string;
257
+ sid: string;
258
+ };
259
+ export type SmsMerchantNotificationMessageUncheckedCreateInput = {
260
+ id?: bigint | number;
261
+ platformId: string;
262
+ storeId: string;
263
+ createdAt?: Date | string;
264
+ purpose: $Enums.merchantSmsPurpose;
265
+ orderNumber: string;
266
+ body: string;
267
+ sid: string;
268
+ };
269
+ export type SmsMerchantNotificationMessageUpdateInput = {
270
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
271
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
272
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
273
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
274
+ purpose?: Prisma.EnummerchantSmsPurposeFieldUpdateOperationsInput | $Enums.merchantSmsPurpose;
275
+ orderNumber?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ body?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ sid?: Prisma.StringFieldUpdateOperationsInput | string;
278
+ };
279
+ export type SmsMerchantNotificationMessageUncheckedUpdateInput = {
280
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
281
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
284
+ purpose?: Prisma.EnummerchantSmsPurposeFieldUpdateOperationsInput | $Enums.merchantSmsPurpose;
285
+ orderNumber?: Prisma.StringFieldUpdateOperationsInput | string;
286
+ body?: Prisma.StringFieldUpdateOperationsInput | string;
287
+ sid?: Prisma.StringFieldUpdateOperationsInput | string;
288
+ };
289
+ export type SmsMerchantNotificationMessageCreateManyInput = {
290
+ id?: bigint | number;
291
+ platformId: string;
292
+ storeId: string;
293
+ createdAt?: Date | string;
294
+ purpose: $Enums.merchantSmsPurpose;
295
+ orderNumber: string;
296
+ body: string;
297
+ sid: string;
298
+ };
299
+ export type SmsMerchantNotificationMessageUpdateManyMutationInput = {
300
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
301
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
302
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
303
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
304
+ purpose?: Prisma.EnummerchantSmsPurposeFieldUpdateOperationsInput | $Enums.merchantSmsPurpose;
305
+ orderNumber?: Prisma.StringFieldUpdateOperationsInput | string;
306
+ body?: Prisma.StringFieldUpdateOperationsInput | string;
307
+ sid?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ };
309
+ export type SmsMerchantNotificationMessageUncheckedUpdateManyInput = {
310
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
311
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
312
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
313
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
314
+ purpose?: Prisma.EnummerchantSmsPurposeFieldUpdateOperationsInput | $Enums.merchantSmsPurpose;
315
+ orderNumber?: Prisma.StringFieldUpdateOperationsInput | string;
316
+ body?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ sid?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ };
319
+ export type SmsMerchantNotificationMessageOrderByRelevanceInput = {
320
+ fields: Prisma.SmsMerchantNotificationMessageOrderByRelevanceFieldEnum | Prisma.SmsMerchantNotificationMessageOrderByRelevanceFieldEnum[];
321
+ sort: Prisma.SortOrder;
322
+ search: string;
323
+ };
324
+ export type SmsMerchantNotificationMessageCountOrderByAggregateInput = {
325
+ id?: Prisma.SortOrder;
326
+ platformId?: Prisma.SortOrder;
327
+ storeId?: Prisma.SortOrder;
328
+ createdAt?: Prisma.SortOrder;
329
+ purpose?: Prisma.SortOrder;
330
+ orderNumber?: Prisma.SortOrder;
331
+ body?: Prisma.SortOrder;
332
+ sid?: Prisma.SortOrder;
333
+ };
334
+ export type SmsMerchantNotificationMessageAvgOrderByAggregateInput = {
335
+ id?: Prisma.SortOrder;
336
+ };
337
+ export type SmsMerchantNotificationMessageMaxOrderByAggregateInput = {
338
+ id?: Prisma.SortOrder;
339
+ platformId?: Prisma.SortOrder;
340
+ storeId?: Prisma.SortOrder;
341
+ createdAt?: Prisma.SortOrder;
342
+ purpose?: Prisma.SortOrder;
343
+ orderNumber?: Prisma.SortOrder;
344
+ body?: Prisma.SortOrder;
345
+ sid?: Prisma.SortOrder;
346
+ };
347
+ export type SmsMerchantNotificationMessageMinOrderByAggregateInput = {
348
+ id?: Prisma.SortOrder;
349
+ platformId?: Prisma.SortOrder;
350
+ storeId?: Prisma.SortOrder;
351
+ createdAt?: Prisma.SortOrder;
352
+ purpose?: Prisma.SortOrder;
353
+ orderNumber?: Prisma.SortOrder;
354
+ body?: Prisma.SortOrder;
355
+ sid?: Prisma.SortOrder;
356
+ };
357
+ export type SmsMerchantNotificationMessageSumOrderByAggregateInput = {
358
+ id?: Prisma.SortOrder;
359
+ };
360
+ export type EnummerchantSmsPurposeFieldUpdateOperationsInput = {
361
+ set?: $Enums.merchantSmsPurpose;
362
+ };
363
+ export type SmsMerchantNotificationMessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
364
+ id?: boolean;
365
+ platformId?: boolean;
366
+ storeId?: boolean;
367
+ createdAt?: boolean;
368
+ purpose?: boolean;
369
+ orderNumber?: boolean;
370
+ body?: boolean;
371
+ sid?: boolean;
372
+ }, ExtArgs["result"]["smsMerchantNotificationMessage"]>;
373
+ export type SmsMerchantNotificationMessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
374
+ id?: boolean;
375
+ platformId?: boolean;
376
+ storeId?: boolean;
377
+ createdAt?: boolean;
378
+ purpose?: boolean;
379
+ orderNumber?: boolean;
380
+ body?: boolean;
381
+ sid?: boolean;
382
+ }, ExtArgs["result"]["smsMerchantNotificationMessage"]>;
383
+ export type SmsMerchantNotificationMessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
384
+ id?: boolean;
385
+ platformId?: boolean;
386
+ storeId?: boolean;
387
+ createdAt?: boolean;
388
+ purpose?: boolean;
389
+ orderNumber?: boolean;
390
+ body?: boolean;
391
+ sid?: boolean;
392
+ }, ExtArgs["result"]["smsMerchantNotificationMessage"]>;
393
+ export type SmsMerchantNotificationMessageSelectScalar = {
394
+ id?: boolean;
395
+ platformId?: boolean;
396
+ storeId?: boolean;
397
+ createdAt?: boolean;
398
+ purpose?: boolean;
399
+ orderNumber?: boolean;
400
+ body?: boolean;
401
+ sid?: boolean;
402
+ };
403
+ export type SmsMerchantNotificationMessageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "platformId" | "storeId" | "createdAt" | "purpose" | "orderNumber" | "body" | "sid", ExtArgs["result"]["smsMerchantNotificationMessage"]>;
404
+ export type $SmsMerchantNotificationMessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
405
+ name: "SmsMerchantNotificationMessage";
406
+ objects: {};
407
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
408
+ id: bigint;
409
+ platformId: string;
410
+ storeId: string;
411
+ createdAt: Date;
412
+ purpose: $Enums.merchantSmsPurpose;
413
+ orderNumber: string;
414
+ body: string;
415
+ sid: string;
416
+ }, ExtArgs["result"]["smsMerchantNotificationMessage"]>;
417
+ composites: {};
418
+ };
419
+ export type SmsMerchantNotificationMessageGetPayload<S extends boolean | null | undefined | SmsMerchantNotificationMessageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload, S>;
420
+ export type SmsMerchantNotificationMessageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SmsMerchantNotificationMessageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
421
+ select?: SmsMerchantNotificationMessageCountAggregateInputType | true;
422
+ };
423
+ export interface SmsMerchantNotificationMessageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
424
+ [K: symbol]: {
425
+ types: Prisma.TypeMap<ExtArgs>['model']['SmsMerchantNotificationMessage'];
426
+ meta: {
427
+ name: 'SmsMerchantNotificationMessage';
428
+ };
429
+ };
430
+ /**
431
+ * Find zero or one SmsMerchantNotificationMessage that matches the filter.
432
+ * @param {SmsMerchantNotificationMessageFindUniqueArgs} args - Arguments to find a SmsMerchantNotificationMessage
433
+ * @example
434
+ * // Get one SmsMerchantNotificationMessage
435
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.findUnique({
436
+ * where: {
437
+ * // ... provide filter here
438
+ * }
439
+ * })
440
+ */
441
+ findUnique<T extends SmsMerchantNotificationMessageFindUniqueArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
442
+ /**
443
+ * Find one SmsMerchantNotificationMessage that matches the filter or throw an error with `error.code='P2025'`
444
+ * if no matches were found.
445
+ * @param {SmsMerchantNotificationMessageFindUniqueOrThrowArgs} args - Arguments to find a SmsMerchantNotificationMessage
446
+ * @example
447
+ * // Get one SmsMerchantNotificationMessage
448
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.findUniqueOrThrow({
449
+ * where: {
450
+ * // ... provide filter here
451
+ * }
452
+ * })
453
+ */
454
+ findUniqueOrThrow<T extends SmsMerchantNotificationMessageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
455
+ /**
456
+ * Find the first SmsMerchantNotificationMessage that matches the filter.
457
+ * Note, that providing `undefined` is treated as the value not being there.
458
+ * Read more here: https://pris.ly/d/null-undefined
459
+ * @param {SmsMerchantNotificationMessageFindFirstArgs} args - Arguments to find a SmsMerchantNotificationMessage
460
+ * @example
461
+ * // Get one SmsMerchantNotificationMessage
462
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.findFirst({
463
+ * where: {
464
+ * // ... provide filter here
465
+ * }
466
+ * })
467
+ */
468
+ findFirst<T extends SmsMerchantNotificationMessageFindFirstArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageFindFirstArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
469
+ /**
470
+ * Find the first SmsMerchantNotificationMessage that matches the filter or
471
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
472
+ * Note, that providing `undefined` is treated as the value not being there.
473
+ * Read more here: https://pris.ly/d/null-undefined
474
+ * @param {SmsMerchantNotificationMessageFindFirstOrThrowArgs} args - Arguments to find a SmsMerchantNotificationMessage
475
+ * @example
476
+ * // Get one SmsMerchantNotificationMessage
477
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.findFirstOrThrow({
478
+ * where: {
479
+ * // ... provide filter here
480
+ * }
481
+ * })
482
+ */
483
+ findFirstOrThrow<T extends SmsMerchantNotificationMessageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
484
+ /**
485
+ * Find zero or more SmsMerchantNotificationMessages that matches the filter.
486
+ * Note, that providing `undefined` is treated as the value not being there.
487
+ * Read more here: https://pris.ly/d/null-undefined
488
+ * @param {SmsMerchantNotificationMessageFindManyArgs} args - Arguments to filter and select certain fields only.
489
+ * @example
490
+ * // Get all SmsMerchantNotificationMessages
491
+ * const smsMerchantNotificationMessages = await prisma.smsMerchantNotificationMessage.findMany()
492
+ *
493
+ * // Get first 10 SmsMerchantNotificationMessages
494
+ * const smsMerchantNotificationMessages = await prisma.smsMerchantNotificationMessage.findMany({ take: 10 })
495
+ *
496
+ * // Only select the `id`
497
+ * const smsMerchantNotificationMessageWithIdOnly = await prisma.smsMerchantNotificationMessage.findMany({ select: { id: true } })
498
+ *
499
+ */
500
+ findMany<T extends SmsMerchantNotificationMessageFindManyArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
501
+ /**
502
+ * Create a SmsMerchantNotificationMessage.
503
+ * @param {SmsMerchantNotificationMessageCreateArgs} args - Arguments to create a SmsMerchantNotificationMessage.
504
+ * @example
505
+ * // Create one SmsMerchantNotificationMessage
506
+ * const SmsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.create({
507
+ * data: {
508
+ * // ... data to create a SmsMerchantNotificationMessage
509
+ * }
510
+ * })
511
+ *
512
+ */
513
+ create<T extends SmsMerchantNotificationMessageCreateArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageCreateArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
514
+ /**
515
+ * Create many SmsMerchantNotificationMessages.
516
+ * @param {SmsMerchantNotificationMessageCreateManyArgs} args - Arguments to create many SmsMerchantNotificationMessages.
517
+ * @example
518
+ * // Create many SmsMerchantNotificationMessages
519
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.createMany({
520
+ * data: [
521
+ * // ... provide data here
522
+ * ]
523
+ * })
524
+ *
525
+ */
526
+ createMany<T extends SmsMerchantNotificationMessageCreateManyArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
527
+ /**
528
+ * Create many SmsMerchantNotificationMessages and returns the data saved in the database.
529
+ * @param {SmsMerchantNotificationMessageCreateManyAndReturnArgs} args - Arguments to create many SmsMerchantNotificationMessages.
530
+ * @example
531
+ * // Create many SmsMerchantNotificationMessages
532
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.createManyAndReturn({
533
+ * data: [
534
+ * // ... provide data here
535
+ * ]
536
+ * })
537
+ *
538
+ * // Create many SmsMerchantNotificationMessages and only return the `id`
539
+ * const smsMerchantNotificationMessageWithIdOnly = await prisma.smsMerchantNotificationMessage.createManyAndReturn({
540
+ * select: { id: true },
541
+ * data: [
542
+ * // ... provide data here
543
+ * ]
544
+ * })
545
+ * Note, that providing `undefined` is treated as the value not being there.
546
+ * Read more here: https://pris.ly/d/null-undefined
547
+ *
548
+ */
549
+ createManyAndReturn<T extends SmsMerchantNotificationMessageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
550
+ /**
551
+ * Delete a SmsMerchantNotificationMessage.
552
+ * @param {SmsMerchantNotificationMessageDeleteArgs} args - Arguments to delete one SmsMerchantNotificationMessage.
553
+ * @example
554
+ * // Delete one SmsMerchantNotificationMessage
555
+ * const SmsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.delete({
556
+ * where: {
557
+ * // ... filter to delete one SmsMerchantNotificationMessage
558
+ * }
559
+ * })
560
+ *
561
+ */
562
+ delete<T extends SmsMerchantNotificationMessageDeleteArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageDeleteArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
563
+ /**
564
+ * Update one SmsMerchantNotificationMessage.
565
+ * @param {SmsMerchantNotificationMessageUpdateArgs} args - Arguments to update one SmsMerchantNotificationMessage.
566
+ * @example
567
+ * // Update one SmsMerchantNotificationMessage
568
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.update({
569
+ * where: {
570
+ * // ... provide filter here
571
+ * },
572
+ * data: {
573
+ * // ... provide data here
574
+ * }
575
+ * })
576
+ *
577
+ */
578
+ update<T extends SmsMerchantNotificationMessageUpdateArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageUpdateArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
579
+ /**
580
+ * Delete zero or more SmsMerchantNotificationMessages.
581
+ * @param {SmsMerchantNotificationMessageDeleteManyArgs} args - Arguments to filter SmsMerchantNotificationMessages to delete.
582
+ * @example
583
+ * // Delete a few SmsMerchantNotificationMessages
584
+ * const { count } = await prisma.smsMerchantNotificationMessage.deleteMany({
585
+ * where: {
586
+ * // ... provide filter here
587
+ * }
588
+ * })
589
+ *
590
+ */
591
+ deleteMany<T extends SmsMerchantNotificationMessageDeleteManyArgs>(args?: Prisma.SelectSubset<T, SmsMerchantNotificationMessageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
592
+ /**
593
+ * Update zero or more SmsMerchantNotificationMessages.
594
+ * Note, that providing `undefined` is treated as the value not being there.
595
+ * Read more here: https://pris.ly/d/null-undefined
596
+ * @param {SmsMerchantNotificationMessageUpdateManyArgs} args - Arguments to update one or more rows.
597
+ * @example
598
+ * // Update many SmsMerchantNotificationMessages
599
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.updateMany({
600
+ * where: {
601
+ * // ... provide filter here
602
+ * },
603
+ * data: {
604
+ * // ... provide data here
605
+ * }
606
+ * })
607
+ *
608
+ */
609
+ updateMany<T extends SmsMerchantNotificationMessageUpdateManyArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
610
+ /**
611
+ * Update zero or more SmsMerchantNotificationMessages and returns the data updated in the database.
612
+ * @param {SmsMerchantNotificationMessageUpdateManyAndReturnArgs} args - Arguments to update many SmsMerchantNotificationMessages.
613
+ * @example
614
+ * // Update many SmsMerchantNotificationMessages
615
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.updateManyAndReturn({
616
+ * where: {
617
+ * // ... provide filter here
618
+ * },
619
+ * data: [
620
+ * // ... provide data here
621
+ * ]
622
+ * })
623
+ *
624
+ * // Update zero or more SmsMerchantNotificationMessages and only return the `id`
625
+ * const smsMerchantNotificationMessageWithIdOnly = await prisma.smsMerchantNotificationMessage.updateManyAndReturn({
626
+ * select: { id: true },
627
+ * where: {
628
+ * // ... provide filter here
629
+ * },
630
+ * data: [
631
+ * // ... provide data here
632
+ * ]
633
+ * })
634
+ * Note, that providing `undefined` is treated as the value not being there.
635
+ * Read more here: https://pris.ly/d/null-undefined
636
+ *
637
+ */
638
+ updateManyAndReturn<T extends SmsMerchantNotificationMessageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
639
+ /**
640
+ * Create or update one SmsMerchantNotificationMessage.
641
+ * @param {SmsMerchantNotificationMessageUpsertArgs} args - Arguments to update or create a SmsMerchantNotificationMessage.
642
+ * @example
643
+ * // Update or create a SmsMerchantNotificationMessage
644
+ * const smsMerchantNotificationMessage = await prisma.smsMerchantNotificationMessage.upsert({
645
+ * create: {
646
+ * // ... data to create a SmsMerchantNotificationMessage
647
+ * },
648
+ * update: {
649
+ * // ... in case it already exists, update
650
+ * },
651
+ * where: {
652
+ * // ... the filter for the SmsMerchantNotificationMessage we want to update
653
+ * }
654
+ * })
655
+ */
656
+ upsert<T extends SmsMerchantNotificationMessageUpsertArgs>(args: Prisma.SelectSubset<T, SmsMerchantNotificationMessageUpsertArgs<ExtArgs>>): Prisma.Prisma__SmsMerchantNotificationMessageClient<runtime.Types.Result.GetResult<Prisma.$SmsMerchantNotificationMessagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
657
+ /**
658
+ * Count the number of SmsMerchantNotificationMessages.
659
+ * Note, that providing `undefined` is treated as the value not being there.
660
+ * Read more here: https://pris.ly/d/null-undefined
661
+ * @param {SmsMerchantNotificationMessageCountArgs} args - Arguments to filter SmsMerchantNotificationMessages to count.
662
+ * @example
663
+ * // Count the number of SmsMerchantNotificationMessages
664
+ * const count = await prisma.smsMerchantNotificationMessage.count({
665
+ * where: {
666
+ * // ... the filter for the SmsMerchantNotificationMessages we want to count
667
+ * }
668
+ * })
669
+ **/
670
+ count<T extends SmsMerchantNotificationMessageCountArgs>(args?: Prisma.Subset<T, SmsMerchantNotificationMessageCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SmsMerchantNotificationMessageCountAggregateOutputType> : number>;
671
+ /**
672
+ * Allows you to perform aggregations operations on a SmsMerchantNotificationMessage.
673
+ * Note, that providing `undefined` is treated as the value not being there.
674
+ * Read more here: https://pris.ly/d/null-undefined
675
+ * @param {SmsMerchantNotificationMessageAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
676
+ * @example
677
+ * // Ordered by age ascending
678
+ * // Where email contains prisma.io
679
+ * // Limited to the 10 users
680
+ * const aggregations = await prisma.user.aggregate({
681
+ * _avg: {
682
+ * age: true,
683
+ * },
684
+ * where: {
685
+ * email: {
686
+ * contains: "prisma.io",
687
+ * },
688
+ * },
689
+ * orderBy: {
690
+ * age: "asc",
691
+ * },
692
+ * take: 10,
693
+ * })
694
+ **/
695
+ aggregate<T extends SmsMerchantNotificationMessageAggregateArgs>(args: Prisma.Subset<T, SmsMerchantNotificationMessageAggregateArgs>): Prisma.PrismaPromise<GetSmsMerchantNotificationMessageAggregateType<T>>;
696
+ /**
697
+ * Group by SmsMerchantNotificationMessage.
698
+ * Note, that providing `undefined` is treated as the value not being there.
699
+ * Read more here: https://pris.ly/d/null-undefined
700
+ * @param {SmsMerchantNotificationMessageGroupByArgs} args - Group by arguments.
701
+ * @example
702
+ * // Group by city, order by createdAt, get count
703
+ * const result = await prisma.user.groupBy({
704
+ * by: ['city', 'createdAt'],
705
+ * orderBy: {
706
+ * createdAt: true
707
+ * },
708
+ * _count: {
709
+ * _all: true
710
+ * },
711
+ * })
712
+ *
713
+ **/
714
+ groupBy<T extends SmsMerchantNotificationMessageGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
715
+ orderBy: SmsMerchantNotificationMessageGroupByArgs['orderBy'];
716
+ } : {
717
+ orderBy?: SmsMerchantNotificationMessageGroupByArgs['orderBy'];
718
+ }, 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 ? {
719
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
720
+ Error,
721
+ 'Field ',
722
+ P,
723
+ ` in "having" needs to be provided in "by"`
724
+ ];
725
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
726
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
727
+ }[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 ? {} : {
728
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
729
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
730
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
731
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, SmsMerchantNotificationMessageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSmsMerchantNotificationMessageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
732
+ /**
733
+ * Fields of the SmsMerchantNotificationMessage model
734
+ */
735
+ readonly fields: SmsMerchantNotificationMessageFieldRefs;
736
+ }
737
+ /**
738
+ * The delegate class that acts as a "Promise-like" for SmsMerchantNotificationMessage.
739
+ * Why is this prefixed with `Prisma__`?
740
+ * Because we want to prevent naming conflicts as mentioned in
741
+ * https://github.com/prisma/prisma-client-js/issues/707
742
+ */
743
+ export interface Prisma__SmsMerchantNotificationMessageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
744
+ readonly [Symbol.toStringTag]: "PrismaPromise";
745
+ /**
746
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
747
+ * @param onfulfilled The callback to execute when the Promise is resolved.
748
+ * @param onrejected The callback to execute when the Promise is rejected.
749
+ * @returns A Promise for the completion of which ever callback is executed.
750
+ */
751
+ 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>;
752
+ /**
753
+ * Attaches a callback for only the rejection of the Promise.
754
+ * @param onrejected The callback to execute when the Promise is rejected.
755
+ * @returns A Promise for the completion of the callback.
756
+ */
757
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
758
+ /**
759
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
760
+ * resolved value cannot be modified from the callback.
761
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
762
+ * @returns A Promise for the completion of the callback.
763
+ */
764
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
765
+ }
766
+ /**
767
+ * Fields of the SmsMerchantNotificationMessage model
768
+ */
769
+ export interface SmsMerchantNotificationMessageFieldRefs {
770
+ readonly id: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'BigInt'>;
771
+ readonly platformId: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'String'>;
772
+ readonly storeId: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'String'>;
773
+ readonly createdAt: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'DateTime'>;
774
+ readonly purpose: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'merchantSmsPurpose'>;
775
+ readonly orderNumber: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'String'>;
776
+ readonly body: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'String'>;
777
+ readonly sid: Prisma.FieldRef<"SmsMerchantNotificationMessage", 'String'>;
778
+ }
779
+ /**
780
+ * SmsMerchantNotificationMessage findUnique
781
+ */
782
+ export type SmsMerchantNotificationMessageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
783
+ /**
784
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
785
+ */
786
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
787
+ /**
788
+ * Omit specific fields from the SmsMerchantNotificationMessage
789
+ */
790
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
791
+ /**
792
+ * Filter, which SmsMerchantNotificationMessage to fetch.
793
+ */
794
+ where: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
795
+ };
796
+ /**
797
+ * SmsMerchantNotificationMessage findUniqueOrThrow
798
+ */
799
+ export type SmsMerchantNotificationMessageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
800
+ /**
801
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
802
+ */
803
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
804
+ /**
805
+ * Omit specific fields from the SmsMerchantNotificationMessage
806
+ */
807
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
808
+ /**
809
+ * Filter, which SmsMerchantNotificationMessage to fetch.
810
+ */
811
+ where: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
812
+ };
813
+ /**
814
+ * SmsMerchantNotificationMessage findFirst
815
+ */
816
+ export type SmsMerchantNotificationMessageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
817
+ /**
818
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
819
+ */
820
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
821
+ /**
822
+ * Omit specific fields from the SmsMerchantNotificationMessage
823
+ */
824
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
825
+ /**
826
+ * Filter, which SmsMerchantNotificationMessage to fetch.
827
+ */
828
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
829
+ /**
830
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
831
+ *
832
+ * Determine the order of SmsMerchantNotificationMessages to fetch.
833
+ */
834
+ orderBy?: Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput | Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput[];
835
+ /**
836
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
837
+ *
838
+ * Sets the position for searching for SmsMerchantNotificationMessages.
839
+ */
840
+ cursor?: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
841
+ /**
842
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
843
+ *
844
+ * Take `±n` SmsMerchantNotificationMessages from the position of the cursor.
845
+ */
846
+ take?: number;
847
+ /**
848
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
849
+ *
850
+ * Skip the first `n` SmsMerchantNotificationMessages.
851
+ */
852
+ skip?: number;
853
+ /**
854
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
855
+ *
856
+ * Filter by unique combinations of SmsMerchantNotificationMessages.
857
+ */
858
+ distinct?: Prisma.SmsMerchantNotificationMessageScalarFieldEnum | Prisma.SmsMerchantNotificationMessageScalarFieldEnum[];
859
+ };
860
+ /**
861
+ * SmsMerchantNotificationMessage findFirstOrThrow
862
+ */
863
+ export type SmsMerchantNotificationMessageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
864
+ /**
865
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
866
+ */
867
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
868
+ /**
869
+ * Omit specific fields from the SmsMerchantNotificationMessage
870
+ */
871
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
872
+ /**
873
+ * Filter, which SmsMerchantNotificationMessage to fetch.
874
+ */
875
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
876
+ /**
877
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
878
+ *
879
+ * Determine the order of SmsMerchantNotificationMessages to fetch.
880
+ */
881
+ orderBy?: Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput | Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput[];
882
+ /**
883
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
884
+ *
885
+ * Sets the position for searching for SmsMerchantNotificationMessages.
886
+ */
887
+ cursor?: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
888
+ /**
889
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
890
+ *
891
+ * Take `±n` SmsMerchantNotificationMessages from the position of the cursor.
892
+ */
893
+ take?: number;
894
+ /**
895
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
896
+ *
897
+ * Skip the first `n` SmsMerchantNotificationMessages.
898
+ */
899
+ skip?: number;
900
+ /**
901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
902
+ *
903
+ * Filter by unique combinations of SmsMerchantNotificationMessages.
904
+ */
905
+ distinct?: Prisma.SmsMerchantNotificationMessageScalarFieldEnum | Prisma.SmsMerchantNotificationMessageScalarFieldEnum[];
906
+ };
907
+ /**
908
+ * SmsMerchantNotificationMessage findMany
909
+ */
910
+ export type SmsMerchantNotificationMessageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
911
+ /**
912
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
913
+ */
914
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
915
+ /**
916
+ * Omit specific fields from the SmsMerchantNotificationMessage
917
+ */
918
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
919
+ /**
920
+ * Filter, which SmsMerchantNotificationMessages to fetch.
921
+ */
922
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
923
+ /**
924
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
925
+ *
926
+ * Determine the order of SmsMerchantNotificationMessages to fetch.
927
+ */
928
+ orderBy?: Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput | Prisma.SmsMerchantNotificationMessageOrderByWithRelationInput[];
929
+ /**
930
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
931
+ *
932
+ * Sets the position for listing SmsMerchantNotificationMessages.
933
+ */
934
+ cursor?: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
935
+ /**
936
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
937
+ *
938
+ * Take `±n` SmsMerchantNotificationMessages from the position of the cursor.
939
+ */
940
+ take?: number;
941
+ /**
942
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
943
+ *
944
+ * Skip the first `n` SmsMerchantNotificationMessages.
945
+ */
946
+ skip?: number;
947
+ distinct?: Prisma.SmsMerchantNotificationMessageScalarFieldEnum | Prisma.SmsMerchantNotificationMessageScalarFieldEnum[];
948
+ };
949
+ /**
950
+ * SmsMerchantNotificationMessage create
951
+ */
952
+ export type SmsMerchantNotificationMessageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
953
+ /**
954
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
955
+ */
956
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
957
+ /**
958
+ * Omit specific fields from the SmsMerchantNotificationMessage
959
+ */
960
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
961
+ /**
962
+ * The data needed to create a SmsMerchantNotificationMessage.
963
+ */
964
+ data: Prisma.XOR<Prisma.SmsMerchantNotificationMessageCreateInput, Prisma.SmsMerchantNotificationMessageUncheckedCreateInput>;
965
+ };
966
+ /**
967
+ * SmsMerchantNotificationMessage createMany
968
+ */
969
+ export type SmsMerchantNotificationMessageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
970
+ /**
971
+ * The data used to create many SmsMerchantNotificationMessages.
972
+ */
973
+ data: Prisma.SmsMerchantNotificationMessageCreateManyInput | Prisma.SmsMerchantNotificationMessageCreateManyInput[];
974
+ skipDuplicates?: boolean;
975
+ };
976
+ /**
977
+ * SmsMerchantNotificationMessage createManyAndReturn
978
+ */
979
+ export type SmsMerchantNotificationMessageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
980
+ /**
981
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
982
+ */
983
+ select?: Prisma.SmsMerchantNotificationMessageSelectCreateManyAndReturn<ExtArgs> | null;
984
+ /**
985
+ * Omit specific fields from the SmsMerchantNotificationMessage
986
+ */
987
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
988
+ /**
989
+ * The data used to create many SmsMerchantNotificationMessages.
990
+ */
991
+ data: Prisma.SmsMerchantNotificationMessageCreateManyInput | Prisma.SmsMerchantNotificationMessageCreateManyInput[];
992
+ skipDuplicates?: boolean;
993
+ };
994
+ /**
995
+ * SmsMerchantNotificationMessage update
996
+ */
997
+ export type SmsMerchantNotificationMessageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
998
+ /**
999
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
1000
+ */
1001
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
1002
+ /**
1003
+ * Omit specific fields from the SmsMerchantNotificationMessage
1004
+ */
1005
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
1006
+ /**
1007
+ * The data needed to update a SmsMerchantNotificationMessage.
1008
+ */
1009
+ data: Prisma.XOR<Prisma.SmsMerchantNotificationMessageUpdateInput, Prisma.SmsMerchantNotificationMessageUncheckedUpdateInput>;
1010
+ /**
1011
+ * Choose, which SmsMerchantNotificationMessage to update.
1012
+ */
1013
+ where: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
1014
+ };
1015
+ /**
1016
+ * SmsMerchantNotificationMessage updateMany
1017
+ */
1018
+ export type SmsMerchantNotificationMessageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1019
+ /**
1020
+ * The data used to update SmsMerchantNotificationMessages.
1021
+ */
1022
+ data: Prisma.XOR<Prisma.SmsMerchantNotificationMessageUpdateManyMutationInput, Prisma.SmsMerchantNotificationMessageUncheckedUpdateManyInput>;
1023
+ /**
1024
+ * Filter which SmsMerchantNotificationMessages to update
1025
+ */
1026
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
1027
+ /**
1028
+ * Limit how many SmsMerchantNotificationMessages to update.
1029
+ */
1030
+ limit?: number;
1031
+ };
1032
+ /**
1033
+ * SmsMerchantNotificationMessage updateManyAndReturn
1034
+ */
1035
+ export type SmsMerchantNotificationMessageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1036
+ /**
1037
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
1038
+ */
1039
+ select?: Prisma.SmsMerchantNotificationMessageSelectUpdateManyAndReturn<ExtArgs> | null;
1040
+ /**
1041
+ * Omit specific fields from the SmsMerchantNotificationMessage
1042
+ */
1043
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
1044
+ /**
1045
+ * The data used to update SmsMerchantNotificationMessages.
1046
+ */
1047
+ data: Prisma.XOR<Prisma.SmsMerchantNotificationMessageUpdateManyMutationInput, Prisma.SmsMerchantNotificationMessageUncheckedUpdateManyInput>;
1048
+ /**
1049
+ * Filter which SmsMerchantNotificationMessages to update
1050
+ */
1051
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
1052
+ /**
1053
+ * Limit how many SmsMerchantNotificationMessages to update.
1054
+ */
1055
+ limit?: number;
1056
+ };
1057
+ /**
1058
+ * SmsMerchantNotificationMessage upsert
1059
+ */
1060
+ export type SmsMerchantNotificationMessageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1061
+ /**
1062
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
1063
+ */
1064
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
1065
+ /**
1066
+ * Omit specific fields from the SmsMerchantNotificationMessage
1067
+ */
1068
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
1069
+ /**
1070
+ * The filter to search for the SmsMerchantNotificationMessage to update in case it exists.
1071
+ */
1072
+ where: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
1073
+ /**
1074
+ * In case the SmsMerchantNotificationMessage found by the `where` argument doesn't exist, create a new SmsMerchantNotificationMessage with this data.
1075
+ */
1076
+ create: Prisma.XOR<Prisma.SmsMerchantNotificationMessageCreateInput, Prisma.SmsMerchantNotificationMessageUncheckedCreateInput>;
1077
+ /**
1078
+ * In case the SmsMerchantNotificationMessage was found with the provided `where` argument, update it with this data.
1079
+ */
1080
+ update: Prisma.XOR<Prisma.SmsMerchantNotificationMessageUpdateInput, Prisma.SmsMerchantNotificationMessageUncheckedUpdateInput>;
1081
+ };
1082
+ /**
1083
+ * SmsMerchantNotificationMessage delete
1084
+ */
1085
+ export type SmsMerchantNotificationMessageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1086
+ /**
1087
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
1088
+ */
1089
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
1090
+ /**
1091
+ * Omit specific fields from the SmsMerchantNotificationMessage
1092
+ */
1093
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
1094
+ /**
1095
+ * Filter which SmsMerchantNotificationMessage to delete.
1096
+ */
1097
+ where: Prisma.SmsMerchantNotificationMessageWhereUniqueInput;
1098
+ };
1099
+ /**
1100
+ * SmsMerchantNotificationMessage deleteMany
1101
+ */
1102
+ export type SmsMerchantNotificationMessageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
+ /**
1104
+ * Filter which SmsMerchantNotificationMessages to delete
1105
+ */
1106
+ where?: Prisma.SmsMerchantNotificationMessageWhereInput;
1107
+ /**
1108
+ * Limit how many SmsMerchantNotificationMessages to delete.
1109
+ */
1110
+ limit?: number;
1111
+ };
1112
+ /**
1113
+ * SmsMerchantNotificationMessage without action
1114
+ */
1115
+ export type SmsMerchantNotificationMessageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1116
+ /**
1117
+ * Select specific fields to fetch from the SmsMerchantNotificationMessage
1118
+ */
1119
+ select?: Prisma.SmsMerchantNotificationMessageSelect<ExtArgs> | null;
1120
+ /**
1121
+ * Omit specific fields from the SmsMerchantNotificationMessage
1122
+ */
1123
+ omit?: Prisma.SmsMerchantNotificationMessageOmit<ExtArgs> | null;
1124
+ };
1125
+ export {};