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

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