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

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