@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.
- package/lib/generated/prisma/browser.d.ts +514 -0
- package/lib/generated/prisma/browser.js +57 -0
- package/lib/generated/prisma/browser.js.map +1 -0
- package/lib/generated/prisma/client.d.ts +531 -0
- package/lib/generated/prisma/client.js +69 -0
- package/lib/generated/prisma/client.js.map +1 -0
- package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
- package/lib/generated/prisma/commonInputTypes.js +12 -0
- package/lib/generated/prisma/commonInputTypes.js.map +1 -0
- package/lib/generated/prisma/dmmf.d.ts +4085 -0
- package/lib/generated/prisma/dmmf.js +27551 -0
- package/lib/generated/prisma/dmmf.js.map +1 -0
- package/lib/generated/prisma/enums.d.ts +216 -0
- package/lib/generated/prisma/enums.js +205 -0
- package/lib/generated/prisma/enums.js.map +1 -0
- package/lib/generated/prisma/internal/class.d.ts +1237 -0
- package/lib/generated/prisma/internal/class.js +79 -0
- package/lib/generated/prisma/internal/class.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
- package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
- package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/lib/generated/prisma/kysely-types.d.ts +1499 -0
- package/lib/generated/prisma/kysely-types.js +196 -0
- package/lib/generated/prisma/kysely-types.js.map +1 -0
- package/lib/generated/prisma/models/Address.d.ts +1339 -0
- package/lib/generated/prisma/models/Address.js +12 -0
- package/lib/generated/prisma/models/Address.js.map +1 -0
- package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
- package/lib/generated/prisma/models/Administrator.js +12 -0
- package/lib/generated/prisma/models/Administrator.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
- package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
- package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
- package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
- package/lib/generated/prisma/models/ApiToken.js +12 -0
- package/lib/generated/prisma/models/ApiToken.js.map +1 -0
- package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
- package/lib/generated/prisma/models/AwsBucket.js +12 -0
- package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
- package/lib/generated/prisma/models/Card.d.ts +1533 -0
- package/lib/generated/prisma/models/Card.js +12 -0
- package/lib/generated/prisma/models/Card.js.map +1 -0
- package/lib/generated/prisma/models/Cart.d.ts +2315 -0
- package/lib/generated/prisma/models/Cart.js +12 -0
- package/lib/generated/prisma/models/Cart.js.map +1 -0
- package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
- package/lib/generated/prisma/models/CartCost.js +12 -0
- package/lib/generated/prisma/models/CartCost.js.map +1 -0
- package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
- package/lib/generated/prisma/models/CartLine.js +12 -0
- package/lib/generated/prisma/models/CartLine.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
- package/lib/generated/prisma/models/CartLineModifier.js +12 -0
- package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
- package/lib/generated/prisma/models/Checkout.js +12 -0
- package/lib/generated/prisma/models/Checkout.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
- package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
- package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
- package/lib/generated/prisma/models/CheckoutLine.js +12 -0
- package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
- package/lib/generated/prisma/models/Collection.d.ts +1961 -0
- package/lib/generated/prisma/models/Collection.js +12 -0
- package/lib/generated/prisma/models/Collection.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
- package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
- package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/Customer.d.ts +2964 -0
- package/lib/generated/prisma/models/Customer.js +12 -0
- package/lib/generated/prisma/models/Customer.js.map +1 -0
- package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
- package/lib/generated/prisma/models/CustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
- package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
- package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
- package/lib/generated/prisma/models/DiscountCode.js +12 -0
- package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
- package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
- package/lib/generated/prisma/models/EventLog.js +12 -0
- package/lib/generated/prisma/models/EventLog.js.map +1 -0
- package/lib/generated/prisma/models/Facet.d.ts +1266 -0
- package/lib/generated/prisma/models/Facet.js +12 -0
- package/lib/generated/prisma/models/Facet.js.map +1 -0
- package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
- package/lib/generated/prisma/models/FacetOption.js +12 -0
- package/lib/generated/prisma/models/FacetOption.js.map +1 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
- package/lib/generated/prisma/models/FeatureFlag.js +12 -0
- package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
- package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
- package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
- package/lib/generated/prisma/models/FreeItemRule.js +12 -0
- package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
- package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
- package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
- package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
- package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
- package/lib/generated/prisma/models/Ingredient.js +12 -0
- package/lib/generated/prisma/models/Ingredient.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
- package/lib/generated/prisma/models/IngredientToStore.js +12 -0
- package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
- package/lib/generated/prisma/models/Media.d.ts +2127 -0
- package/lib/generated/prisma/models/Media.js +12 -0
- package/lib/generated/prisma/models/Media.js.map +1 -0
- package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
- package/lib/generated/prisma/models/Modifier.js +12 -0
- package/lib/generated/prisma/models/Modifier.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
- package/lib/generated/prisma/models/ModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
- package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
- package/lib/generated/prisma/models/ModifierOption.js +12 -0
- package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
- package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
- package/lib/generated/prisma/models/OneTimeToken.js +12 -0
- package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
- package/lib/generated/prisma/models/Payment.d.ts +1560 -0
- package/lib/generated/prisma/models/Payment.js +12 -0
- package/lib/generated/prisma/models/Payment.js.map +1 -0
- package/lib/generated/prisma/models/Platform.d.ts +7442 -0
- package/lib/generated/prisma/models/Platform.js +12 -0
- package/lib/generated/prisma/models/Platform.js.map +1 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
- package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
- package/lib/generated/prisma/models/PrepTime.js +12 -0
- package/lib/generated/prisma/models/PrepTime.js.map +1 -0
- package/lib/generated/prisma/models/Product.d.ts +2975 -0
- package/lib/generated/prisma/models/Product.js +12 -0
- package/lib/generated/prisma/models/Product.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
- package/lib/generated/prisma/models/ProductCategory.js +12 -0
- package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
- package/lib/generated/prisma/models/ProductListing.js +12 -0
- package/lib/generated/prisma/models/ProductListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductToTag.js +12 -0
- package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
- package/lib/generated/prisma/models/ProductVariant.js +12 -0
- package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
- package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
- package/lib/generated/prisma/models/ProductVarietal.js +12 -0
- package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
- package/lib/generated/prisma/models/Refund.d.ts +1707 -0
- package/lib/generated/prisma/models/Refund.js +12 -0
- package/lib/generated/prisma/models/Refund.js.map +1 -0
- package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
- package/lib/generated/prisma/models/RefundLine.js +12 -0
- package/lib/generated/prisma/models/RefundLine.js.map +1 -0
- package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
- package/lib/generated/prisma/models/RelatedItems.js +12 -0
- package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
- package/lib/generated/prisma/models/Role.d.ts +1264 -0
- package/lib/generated/prisma/models/Role.js +12 -0
- package/lib/generated/prisma/models/Role.js.map +1 -0
- package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
- package/lib/generated/prisma/models/ScheduledTask.js +12 -0
- package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
- package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
- package/lib/generated/prisma/models/SmsConversation.js +12 -0
- package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
- package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
- package/lib/generated/prisma/models/StockLevel.js +12 -0
- package/lib/generated/prisma/models/StockLevel.js.map +1 -0
- package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
- package/lib/generated/prisma/models/StockLocation.js +12 -0
- package/lib/generated/prisma/models/StockLocation.js.map +1 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
- package/lib/generated/prisma/models/StockMovement.js +12 -0
- package/lib/generated/prisma/models/StockMovement.js.map +1 -0
- package/lib/generated/prisma/models/Store.d.ts +4487 -0
- package/lib/generated/prisma/models/Store.js +12 -0
- package/lib/generated/prisma/models/Store.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
- package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
- package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
- package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/Tag.d.ts +1581 -0
- package/lib/generated/prisma/models/Tag.js +12 -0
- package/lib/generated/prisma/models/Tag.js.map +1 -0
- package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
- package/lib/generated/prisma/models/TaxCategory.js +12 -0
- package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
- package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
- package/lib/generated/prisma/models/Transaction.js +12 -0
- package/lib/generated/prisma/models/Transaction.js.map +1 -0
- package/lib/generated/prisma/models/User.d.ts +1907 -0
- package/lib/generated/prisma/models/User.js +12 -0
- package/lib/generated/prisma/models/User.js.map +1 -0
- package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
- package/lib/generated/prisma/models/UserToRole.js +12 -0
- package/lib/generated/prisma/models/UserToRole.js.map +1 -0
- package/lib/generated/prisma/models.d.ts +103 -0
- package/lib/generated/prisma/models.js +3 -0
- package/lib/generated/prisma/models.js.map +1 -0
- package/lib/generated/prisma/pjtg.d.ts +145 -0
- package/lib/generated/prisma/pjtg.js +3 -0
- package/lib/generated/prisma/pjtg.js.map +1 -0
- package/lib/helpers.d.ts +37 -0
- package/lib/helpers.js +226 -0
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js.map +1 -0
- package/lib/kysely/index.d.ts +2 -0
- package/lib/kysely/index.js +19 -0
- package/lib/kysely/index.js.map +1 -0
- package/lib/kysely/kysely-db.d.ts +3 -0
- package/lib/kysely/kysely-db.js +3 -0
- package/lib/kysely/kysely-db.js.map +1 -0
- package/lib/kysely/utils/index.d.ts +4 -0
- package/lib/kysely/utils/index.js +21 -0
- package/lib/kysely/utils/index.js.map +1 -0
- package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
- package/lib/kysely/utils/serialize-bigint-value.js +13 -0
- package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
- package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
- package/lib/kysely/utils/serialize-numeric-value.js +11 -0
- package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
- package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
- package/lib/kysely/utils/shallow-dehydrate.js +3 -0
- package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
- package/lib/prisma-module/index.d.ts +4 -0
- package/lib/prisma-module/index.js +21 -0
- package/lib/prisma-module/index.js.map +1 -0
- package/lib/prisma-module/prisma-options.d.ts +59 -0
- package/lib/prisma-module/prisma-options.js +3 -0
- package/lib/prisma-module/prisma-options.js.map +1 -0
- package/lib/prisma-module/prisma.constants.d.ts +1 -0
- package/lib/prisma-module/prisma.constants.js +5 -0
- package/lib/prisma-module/prisma.constants.js.map +1 -0
- package/lib/prisma-module/prisma.module.d.ts +8 -0
- package/lib/prisma-module/prisma.module.js +73 -0
- package/lib/prisma-module/prisma.module.js.map +1 -0
- package/lib/prisma-module/prisma.service.d.ts +5 -0
- package/lib/prisma-module/prisma.service.js +29 -0
- package/lib/prisma-module/prisma.service.js.map +1 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
- package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
- package/lib/utils/ignore-prisma-builtins.js +3 -0
- package/lib/utils/ignore-prisma-builtins.js.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +20 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/prisma-where-to-sql.d.ts +5 -0
- package/lib/utils/prisma-where-to-sql.js +94 -0
- package/lib/utils/prisma-where-to-sql.js.map +1 -0
- package/lib/web360-prisma.constants.d.ts +2 -0
- package/lib/web360-prisma.constants.js +6 -0
- package/lib/web360-prisma.constants.js.map +1 -0
- package/lib/web360-prisma.module.d.ts +7 -0
- package/lib/web360-prisma.module.js +81 -0
- package/lib/web360-prisma.module.js.map +1 -0
- package/lib/web360-prisma.options.d.ts +38 -0
- package/lib/web360-prisma.options.js +3 -0
- package/lib/web360-prisma.options.js.map +1 -0
- package/lib/web360-prisma.service.d.ts +57 -0
- package/lib/web360-prisma.service.js +57 -0
- package/lib/web360-prisma.service.js.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,1932 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model CheckoutLine
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type CheckoutLineModel = runtime.Types.Result.DefaultSelection<Prisma.$CheckoutLinePayload>;
|
|
8
|
+
export type AggregateCheckoutLine = {
|
|
9
|
+
_count: CheckoutLineCountAggregateOutputType | null;
|
|
10
|
+
_avg: CheckoutLineAvgAggregateOutputType | null;
|
|
11
|
+
_sum: CheckoutLineSumAggregateOutputType | null;
|
|
12
|
+
_min: CheckoutLineMinAggregateOutputType | null;
|
|
13
|
+
_max: CheckoutLineMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type CheckoutLineAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
quantity: number | null;
|
|
18
|
+
productVariantId: number | null;
|
|
19
|
+
checkoutId: number | null;
|
|
20
|
+
unitPrice: runtime.Decimal | null;
|
|
21
|
+
totalTax: runtime.Decimal | null;
|
|
22
|
+
};
|
|
23
|
+
export type CheckoutLineSumAggregateOutputType = {
|
|
24
|
+
id: bigint | null;
|
|
25
|
+
quantity: number | null;
|
|
26
|
+
productVariantId: bigint | null;
|
|
27
|
+
checkoutId: bigint | null;
|
|
28
|
+
unitPrice: runtime.Decimal | null;
|
|
29
|
+
totalTax: runtime.Decimal | null;
|
|
30
|
+
};
|
|
31
|
+
export type CheckoutLineMinAggregateOutputType = {
|
|
32
|
+
id: bigint | null;
|
|
33
|
+
quantity: number | null;
|
|
34
|
+
productVariantId: bigint | null;
|
|
35
|
+
checkoutId: bigint | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
unitPrice: runtime.Decimal | null;
|
|
39
|
+
totalTax: runtime.Decimal | null;
|
|
40
|
+
};
|
|
41
|
+
export type CheckoutLineMaxAggregateOutputType = {
|
|
42
|
+
id: bigint | null;
|
|
43
|
+
quantity: number | null;
|
|
44
|
+
productVariantId: bigint | null;
|
|
45
|
+
checkoutId: bigint | null;
|
|
46
|
+
createdAt: Date | null;
|
|
47
|
+
updatedAt: Date | null;
|
|
48
|
+
unitPrice: runtime.Decimal | null;
|
|
49
|
+
totalTax: runtime.Decimal | null;
|
|
50
|
+
};
|
|
51
|
+
export type CheckoutLineCountAggregateOutputType = {
|
|
52
|
+
id: number;
|
|
53
|
+
quantity: number;
|
|
54
|
+
productVariantId: number;
|
|
55
|
+
checkoutId: number;
|
|
56
|
+
createdAt: number;
|
|
57
|
+
updatedAt: number;
|
|
58
|
+
unitPrice: number;
|
|
59
|
+
totalTax: number;
|
|
60
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
61
|
+
_all: number;
|
|
62
|
+
};
|
|
63
|
+
export type CheckoutLineAvgAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
quantity?: true;
|
|
66
|
+
productVariantId?: true;
|
|
67
|
+
checkoutId?: true;
|
|
68
|
+
unitPrice?: true;
|
|
69
|
+
totalTax?: true;
|
|
70
|
+
};
|
|
71
|
+
export type CheckoutLineSumAggregateInputType = {
|
|
72
|
+
id?: true;
|
|
73
|
+
quantity?: true;
|
|
74
|
+
productVariantId?: true;
|
|
75
|
+
checkoutId?: true;
|
|
76
|
+
unitPrice?: true;
|
|
77
|
+
totalTax?: true;
|
|
78
|
+
};
|
|
79
|
+
export type CheckoutLineMinAggregateInputType = {
|
|
80
|
+
id?: true;
|
|
81
|
+
quantity?: true;
|
|
82
|
+
productVariantId?: true;
|
|
83
|
+
checkoutId?: true;
|
|
84
|
+
createdAt?: true;
|
|
85
|
+
updatedAt?: true;
|
|
86
|
+
unitPrice?: true;
|
|
87
|
+
totalTax?: true;
|
|
88
|
+
};
|
|
89
|
+
export type CheckoutLineMaxAggregateInputType = {
|
|
90
|
+
id?: true;
|
|
91
|
+
quantity?: true;
|
|
92
|
+
productVariantId?: true;
|
|
93
|
+
checkoutId?: true;
|
|
94
|
+
createdAt?: true;
|
|
95
|
+
updatedAt?: true;
|
|
96
|
+
unitPrice?: true;
|
|
97
|
+
totalTax?: true;
|
|
98
|
+
};
|
|
99
|
+
export type CheckoutLineCountAggregateInputType = {
|
|
100
|
+
id?: true;
|
|
101
|
+
quantity?: true;
|
|
102
|
+
productVariantId?: true;
|
|
103
|
+
checkoutId?: true;
|
|
104
|
+
createdAt?: true;
|
|
105
|
+
updatedAt?: true;
|
|
106
|
+
unitPrice?: true;
|
|
107
|
+
totalTax?: true;
|
|
108
|
+
taxRateBreakdown?: true;
|
|
109
|
+
_all?: true;
|
|
110
|
+
};
|
|
111
|
+
export type CheckoutLineAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
112
|
+
/**
|
|
113
|
+
* Filter which CheckoutLine to aggregate.
|
|
114
|
+
*/
|
|
115
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
118
|
+
*
|
|
119
|
+
* Determine the order of CheckoutLines to fetch.
|
|
120
|
+
*/
|
|
121
|
+
orderBy?: Prisma.CheckoutLineOrderByWithRelationInput | Prisma.CheckoutLineOrderByWithRelationInput[];
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
124
|
+
*
|
|
125
|
+
* Sets the start position
|
|
126
|
+
*/
|
|
127
|
+
cursor?: Prisma.CheckoutLineWhereUniqueInput;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
130
|
+
*
|
|
131
|
+
* Take `±n` CheckoutLines from the position of the cursor.
|
|
132
|
+
*/
|
|
133
|
+
take?: number;
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
136
|
+
*
|
|
137
|
+
* Skip the first `n` CheckoutLines.
|
|
138
|
+
*/
|
|
139
|
+
skip?: number;
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
142
|
+
*
|
|
143
|
+
* Count returned CheckoutLines
|
|
144
|
+
**/
|
|
145
|
+
_count?: true | CheckoutLineCountAggregateInputType;
|
|
146
|
+
/**
|
|
147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
148
|
+
*
|
|
149
|
+
* Select which fields to average
|
|
150
|
+
**/
|
|
151
|
+
_avg?: CheckoutLineAvgAggregateInputType;
|
|
152
|
+
/**
|
|
153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
154
|
+
*
|
|
155
|
+
* Select which fields to sum
|
|
156
|
+
**/
|
|
157
|
+
_sum?: CheckoutLineSumAggregateInputType;
|
|
158
|
+
/**
|
|
159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
160
|
+
*
|
|
161
|
+
* Select which fields to find the minimum value
|
|
162
|
+
**/
|
|
163
|
+
_min?: CheckoutLineMinAggregateInputType;
|
|
164
|
+
/**
|
|
165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
166
|
+
*
|
|
167
|
+
* Select which fields to find the maximum value
|
|
168
|
+
**/
|
|
169
|
+
_max?: CheckoutLineMaxAggregateInputType;
|
|
170
|
+
};
|
|
171
|
+
export type GetCheckoutLineAggregateType<T extends CheckoutLineAggregateArgs> = {
|
|
172
|
+
[P in keyof T & keyof AggregateCheckoutLine]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCheckoutLine[P]> : Prisma.GetScalarType<T[P], AggregateCheckoutLine[P]>;
|
|
173
|
+
};
|
|
174
|
+
export type CheckoutLineGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
175
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
176
|
+
orderBy?: Prisma.CheckoutLineOrderByWithAggregationInput | Prisma.CheckoutLineOrderByWithAggregationInput[];
|
|
177
|
+
by: Prisma.CheckoutLineScalarFieldEnum[] | Prisma.CheckoutLineScalarFieldEnum;
|
|
178
|
+
having?: Prisma.CheckoutLineScalarWhereWithAggregatesInput;
|
|
179
|
+
take?: number;
|
|
180
|
+
skip?: number;
|
|
181
|
+
_count?: CheckoutLineCountAggregateInputType | true;
|
|
182
|
+
_avg?: CheckoutLineAvgAggregateInputType;
|
|
183
|
+
_sum?: CheckoutLineSumAggregateInputType;
|
|
184
|
+
_min?: CheckoutLineMinAggregateInputType;
|
|
185
|
+
_max?: CheckoutLineMaxAggregateInputType;
|
|
186
|
+
};
|
|
187
|
+
export type CheckoutLineGroupByOutputType = {
|
|
188
|
+
id: bigint;
|
|
189
|
+
quantity: number;
|
|
190
|
+
productVariantId: bigint | null;
|
|
191
|
+
checkoutId: bigint;
|
|
192
|
+
createdAt: Date;
|
|
193
|
+
updatedAt: Date;
|
|
194
|
+
unitPrice: runtime.Decimal;
|
|
195
|
+
totalTax: runtime.Decimal;
|
|
196
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
197
|
+
_count: CheckoutLineCountAggregateOutputType | null;
|
|
198
|
+
_avg: CheckoutLineAvgAggregateOutputType | null;
|
|
199
|
+
_sum: CheckoutLineSumAggregateOutputType | null;
|
|
200
|
+
_min: CheckoutLineMinAggregateOutputType | null;
|
|
201
|
+
_max: CheckoutLineMaxAggregateOutputType | null;
|
|
202
|
+
};
|
|
203
|
+
type GetCheckoutLineGroupByPayload<T extends CheckoutLineGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CheckoutLineGroupByOutputType, T['by']> & {
|
|
204
|
+
[P in ((keyof T) & (keyof CheckoutLineGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CheckoutLineGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CheckoutLineGroupByOutputType[P]>;
|
|
205
|
+
}>>;
|
|
206
|
+
export type CheckoutLineWhereInput = {
|
|
207
|
+
AND?: Prisma.CheckoutLineWhereInput | Prisma.CheckoutLineWhereInput[];
|
|
208
|
+
OR?: Prisma.CheckoutLineWhereInput[];
|
|
209
|
+
NOT?: Prisma.CheckoutLineWhereInput | Prisma.CheckoutLineWhereInput[];
|
|
210
|
+
id?: Prisma.BigIntFilter<"CheckoutLine"> | bigint | number;
|
|
211
|
+
quantity?: Prisma.IntFilter<"CheckoutLine"> | number;
|
|
212
|
+
productVariantId?: Prisma.BigIntNullableFilter<"CheckoutLine"> | bigint | number | null;
|
|
213
|
+
checkoutId?: Prisma.BigIntFilter<"CheckoutLine"> | bigint | number;
|
|
214
|
+
createdAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
215
|
+
updatedAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
216
|
+
unitPrice?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
217
|
+
totalTax?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
218
|
+
taxRateBreakdown?: Prisma.JsonFilter<"CheckoutLine">;
|
|
219
|
+
checkout?: Prisma.XOR<Prisma.CheckoutScalarRelationFilter, Prisma.CheckoutWhereInput>;
|
|
220
|
+
merchandise?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
|
|
221
|
+
refundLines?: Prisma.RefundLineListRelationFilter;
|
|
222
|
+
stockMovement?: Prisma.StockMovementListRelationFilter;
|
|
223
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierListRelationFilter;
|
|
224
|
+
};
|
|
225
|
+
export type CheckoutLineOrderByWithRelationInput = {
|
|
226
|
+
id?: Prisma.SortOrder;
|
|
227
|
+
quantity?: Prisma.SortOrder;
|
|
228
|
+
productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
checkoutId?: Prisma.SortOrder;
|
|
230
|
+
createdAt?: Prisma.SortOrder;
|
|
231
|
+
updatedAt?: Prisma.SortOrder;
|
|
232
|
+
unitPrice?: Prisma.SortOrder;
|
|
233
|
+
totalTax?: Prisma.SortOrder;
|
|
234
|
+
taxRateBreakdown?: Prisma.SortOrder;
|
|
235
|
+
checkout?: Prisma.CheckoutOrderByWithRelationInput;
|
|
236
|
+
merchandise?: Prisma.ProductVariantOrderByWithRelationInput;
|
|
237
|
+
refundLines?: Prisma.RefundLineOrderByRelationAggregateInput;
|
|
238
|
+
stockMovement?: Prisma.StockMovementOrderByRelationAggregateInput;
|
|
239
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierOrderByRelationAggregateInput;
|
|
240
|
+
};
|
|
241
|
+
export type CheckoutLineWhereUniqueInput = Prisma.AtLeast<{
|
|
242
|
+
id?: bigint | number;
|
|
243
|
+
AND?: Prisma.CheckoutLineWhereInput | Prisma.CheckoutLineWhereInput[];
|
|
244
|
+
OR?: Prisma.CheckoutLineWhereInput[];
|
|
245
|
+
NOT?: Prisma.CheckoutLineWhereInput | Prisma.CheckoutLineWhereInput[];
|
|
246
|
+
quantity?: Prisma.IntFilter<"CheckoutLine"> | number;
|
|
247
|
+
productVariantId?: Prisma.BigIntNullableFilter<"CheckoutLine"> | bigint | number | null;
|
|
248
|
+
checkoutId?: Prisma.BigIntFilter<"CheckoutLine"> | bigint | number;
|
|
249
|
+
createdAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
250
|
+
updatedAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
251
|
+
unitPrice?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
252
|
+
totalTax?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
253
|
+
taxRateBreakdown?: Prisma.JsonFilter<"CheckoutLine">;
|
|
254
|
+
checkout?: Prisma.XOR<Prisma.CheckoutScalarRelationFilter, Prisma.CheckoutWhereInput>;
|
|
255
|
+
merchandise?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
|
|
256
|
+
refundLines?: Prisma.RefundLineListRelationFilter;
|
|
257
|
+
stockMovement?: Prisma.StockMovementListRelationFilter;
|
|
258
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierListRelationFilter;
|
|
259
|
+
}, "id">;
|
|
260
|
+
export type CheckoutLineOrderByWithAggregationInput = {
|
|
261
|
+
id?: Prisma.SortOrder;
|
|
262
|
+
quantity?: Prisma.SortOrder;
|
|
263
|
+
productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
|
+
checkoutId?: Prisma.SortOrder;
|
|
265
|
+
createdAt?: Prisma.SortOrder;
|
|
266
|
+
updatedAt?: Prisma.SortOrder;
|
|
267
|
+
unitPrice?: Prisma.SortOrder;
|
|
268
|
+
totalTax?: Prisma.SortOrder;
|
|
269
|
+
taxRateBreakdown?: Prisma.SortOrder;
|
|
270
|
+
_count?: Prisma.CheckoutLineCountOrderByAggregateInput;
|
|
271
|
+
_avg?: Prisma.CheckoutLineAvgOrderByAggregateInput;
|
|
272
|
+
_max?: Prisma.CheckoutLineMaxOrderByAggregateInput;
|
|
273
|
+
_min?: Prisma.CheckoutLineMinOrderByAggregateInput;
|
|
274
|
+
_sum?: Prisma.CheckoutLineSumOrderByAggregateInput;
|
|
275
|
+
};
|
|
276
|
+
export type CheckoutLineScalarWhereWithAggregatesInput = {
|
|
277
|
+
AND?: Prisma.CheckoutLineScalarWhereWithAggregatesInput | Prisma.CheckoutLineScalarWhereWithAggregatesInput[];
|
|
278
|
+
OR?: Prisma.CheckoutLineScalarWhereWithAggregatesInput[];
|
|
279
|
+
NOT?: Prisma.CheckoutLineScalarWhereWithAggregatesInput | Prisma.CheckoutLineScalarWhereWithAggregatesInput[];
|
|
280
|
+
id?: Prisma.BigIntWithAggregatesFilter<"CheckoutLine"> | bigint | number;
|
|
281
|
+
quantity?: Prisma.IntWithAggregatesFilter<"CheckoutLine"> | number;
|
|
282
|
+
productVariantId?: Prisma.BigIntNullableWithAggregatesFilter<"CheckoutLine"> | bigint | number | null;
|
|
283
|
+
checkoutId?: Prisma.BigIntWithAggregatesFilter<"CheckoutLine"> | bigint | number;
|
|
284
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"CheckoutLine"> | Date | string;
|
|
285
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CheckoutLine"> | Date | string;
|
|
286
|
+
unitPrice?: Prisma.DecimalWithAggregatesFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
287
|
+
totalTax?: Prisma.DecimalWithAggregatesFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
288
|
+
taxRateBreakdown?: Prisma.JsonWithAggregatesFilter<"CheckoutLine">;
|
|
289
|
+
};
|
|
290
|
+
export type CheckoutLineCreateInput = {
|
|
291
|
+
id?: bigint | number;
|
|
292
|
+
quantity: number;
|
|
293
|
+
createdAt?: Date | string;
|
|
294
|
+
updatedAt?: Date | string;
|
|
295
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
296
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
297
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
298
|
+
checkout: Prisma.CheckoutCreateNestedOneWithoutCheckoutLinesInput;
|
|
299
|
+
merchandise?: Prisma.ProductVariantCreateNestedOneWithoutCheckoutLinesInput;
|
|
300
|
+
refundLines?: Prisma.RefundLineCreateNestedManyWithoutCheckoutLineInput;
|
|
301
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutCheckoutLineInput;
|
|
302
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutCheckoutLineInput;
|
|
303
|
+
};
|
|
304
|
+
export type CheckoutLineUncheckedCreateInput = {
|
|
305
|
+
id?: bigint | number;
|
|
306
|
+
quantity: number;
|
|
307
|
+
productVariantId?: bigint | number | null;
|
|
308
|
+
checkoutId: bigint | number;
|
|
309
|
+
createdAt?: Date | string;
|
|
310
|
+
updatedAt?: Date | string;
|
|
311
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
312
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
313
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
314
|
+
refundLines?: Prisma.RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
315
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
316
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
317
|
+
};
|
|
318
|
+
export type CheckoutLineUpdateInput = {
|
|
319
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
320
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
321
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
322
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
323
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
324
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
325
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
326
|
+
checkout?: Prisma.CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput;
|
|
327
|
+
merchandise?: Prisma.ProductVariantUpdateOneWithoutCheckoutLinesNestedInput;
|
|
328
|
+
refundLines?: Prisma.RefundLineUpdateManyWithoutCheckoutLineNestedInput;
|
|
329
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutCheckoutLineNestedInput;
|
|
330
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutCheckoutLineNestedInput;
|
|
331
|
+
};
|
|
332
|
+
export type CheckoutLineUncheckedUpdateInput = {
|
|
333
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
334
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
335
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
336
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
337
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
338
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
339
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
340
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
341
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
342
|
+
refundLines?: Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
343
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
344
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
345
|
+
};
|
|
346
|
+
export type CheckoutLineCreateManyInput = {
|
|
347
|
+
id?: bigint | number;
|
|
348
|
+
quantity: number;
|
|
349
|
+
productVariantId?: bigint | number | null;
|
|
350
|
+
checkoutId: bigint | number;
|
|
351
|
+
createdAt?: Date | string;
|
|
352
|
+
updatedAt?: Date | string;
|
|
353
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
354
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
355
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
356
|
+
};
|
|
357
|
+
export type CheckoutLineUpdateManyMutationInput = {
|
|
358
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
359
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
360
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
361
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
363
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
364
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
365
|
+
};
|
|
366
|
+
export type CheckoutLineUncheckedUpdateManyInput = {
|
|
367
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
368
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
369
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
370
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
371
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
372
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
373
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
374
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
375
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
376
|
+
};
|
|
377
|
+
export type CheckoutLineScalarRelationFilter = {
|
|
378
|
+
is?: Prisma.CheckoutLineWhereInput;
|
|
379
|
+
isNot?: Prisma.CheckoutLineWhereInput;
|
|
380
|
+
};
|
|
381
|
+
export type CheckoutLineCountOrderByAggregateInput = {
|
|
382
|
+
id?: Prisma.SortOrder;
|
|
383
|
+
quantity?: Prisma.SortOrder;
|
|
384
|
+
productVariantId?: Prisma.SortOrder;
|
|
385
|
+
checkoutId?: Prisma.SortOrder;
|
|
386
|
+
createdAt?: Prisma.SortOrder;
|
|
387
|
+
updatedAt?: Prisma.SortOrder;
|
|
388
|
+
unitPrice?: Prisma.SortOrder;
|
|
389
|
+
totalTax?: Prisma.SortOrder;
|
|
390
|
+
taxRateBreakdown?: Prisma.SortOrder;
|
|
391
|
+
};
|
|
392
|
+
export type CheckoutLineAvgOrderByAggregateInput = {
|
|
393
|
+
id?: Prisma.SortOrder;
|
|
394
|
+
quantity?: Prisma.SortOrder;
|
|
395
|
+
productVariantId?: Prisma.SortOrder;
|
|
396
|
+
checkoutId?: Prisma.SortOrder;
|
|
397
|
+
unitPrice?: Prisma.SortOrder;
|
|
398
|
+
totalTax?: Prisma.SortOrder;
|
|
399
|
+
};
|
|
400
|
+
export type CheckoutLineMaxOrderByAggregateInput = {
|
|
401
|
+
id?: Prisma.SortOrder;
|
|
402
|
+
quantity?: Prisma.SortOrder;
|
|
403
|
+
productVariantId?: Prisma.SortOrder;
|
|
404
|
+
checkoutId?: Prisma.SortOrder;
|
|
405
|
+
createdAt?: Prisma.SortOrder;
|
|
406
|
+
updatedAt?: Prisma.SortOrder;
|
|
407
|
+
unitPrice?: Prisma.SortOrder;
|
|
408
|
+
totalTax?: Prisma.SortOrder;
|
|
409
|
+
};
|
|
410
|
+
export type CheckoutLineMinOrderByAggregateInput = {
|
|
411
|
+
id?: Prisma.SortOrder;
|
|
412
|
+
quantity?: Prisma.SortOrder;
|
|
413
|
+
productVariantId?: Prisma.SortOrder;
|
|
414
|
+
checkoutId?: Prisma.SortOrder;
|
|
415
|
+
createdAt?: Prisma.SortOrder;
|
|
416
|
+
updatedAt?: Prisma.SortOrder;
|
|
417
|
+
unitPrice?: Prisma.SortOrder;
|
|
418
|
+
totalTax?: Prisma.SortOrder;
|
|
419
|
+
};
|
|
420
|
+
export type CheckoutLineSumOrderByAggregateInput = {
|
|
421
|
+
id?: Prisma.SortOrder;
|
|
422
|
+
quantity?: Prisma.SortOrder;
|
|
423
|
+
productVariantId?: Prisma.SortOrder;
|
|
424
|
+
checkoutId?: Prisma.SortOrder;
|
|
425
|
+
unitPrice?: Prisma.SortOrder;
|
|
426
|
+
totalTax?: Prisma.SortOrder;
|
|
427
|
+
};
|
|
428
|
+
export type CheckoutLineListRelationFilter = {
|
|
429
|
+
every?: Prisma.CheckoutLineWhereInput;
|
|
430
|
+
some?: Prisma.CheckoutLineWhereInput;
|
|
431
|
+
none?: Prisma.CheckoutLineWhereInput;
|
|
432
|
+
};
|
|
433
|
+
export type CheckoutLineOrderByRelationAggregateInput = {
|
|
434
|
+
_count?: Prisma.SortOrder;
|
|
435
|
+
};
|
|
436
|
+
export type CheckoutLineNullableScalarRelationFilter = {
|
|
437
|
+
is?: Prisma.CheckoutLineWhereInput | null;
|
|
438
|
+
isNot?: Prisma.CheckoutLineWhereInput | null;
|
|
439
|
+
};
|
|
440
|
+
export type CheckoutLineCreateNestedOneWithoutCheckoutLinesModifierInput = {
|
|
441
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutLinesModifierInput>;
|
|
442
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutLinesModifierInput;
|
|
443
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
444
|
+
};
|
|
445
|
+
export type CheckoutLineUpdateOneRequiredWithoutCheckoutLinesModifierNestedInput = {
|
|
446
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutLinesModifierInput>;
|
|
447
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutLinesModifierInput;
|
|
448
|
+
upsert?: Prisma.CheckoutLineUpsertWithoutCheckoutLinesModifierInput;
|
|
449
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
450
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutLineUpdateToOneWithWhereWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUpdateWithoutCheckoutLinesModifierInput>, Prisma.CheckoutLineUncheckedUpdateWithoutCheckoutLinesModifierInput>;
|
|
451
|
+
};
|
|
452
|
+
export type CheckoutLineCreateNestedManyWithoutCheckoutInput = {
|
|
453
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput> | Prisma.CheckoutLineCreateWithoutCheckoutInput[] | Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput[];
|
|
454
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput | Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput[];
|
|
455
|
+
createMany?: Prisma.CheckoutLineCreateManyCheckoutInputEnvelope;
|
|
456
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
457
|
+
};
|
|
458
|
+
export type CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput = {
|
|
459
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput> | Prisma.CheckoutLineCreateWithoutCheckoutInput[] | Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput[];
|
|
460
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput | Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput[];
|
|
461
|
+
createMany?: Prisma.CheckoutLineCreateManyCheckoutInputEnvelope;
|
|
462
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
463
|
+
};
|
|
464
|
+
export type CheckoutLineUpdateManyWithoutCheckoutNestedInput = {
|
|
465
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput> | Prisma.CheckoutLineCreateWithoutCheckoutInput[] | Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput[];
|
|
466
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput | Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput[];
|
|
467
|
+
upsert?: Prisma.CheckoutLineUpsertWithWhereUniqueWithoutCheckoutInput | Prisma.CheckoutLineUpsertWithWhereUniqueWithoutCheckoutInput[];
|
|
468
|
+
createMany?: Prisma.CheckoutLineCreateManyCheckoutInputEnvelope;
|
|
469
|
+
set?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
470
|
+
disconnect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
471
|
+
delete?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
472
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
473
|
+
update?: Prisma.CheckoutLineUpdateWithWhereUniqueWithoutCheckoutInput | Prisma.CheckoutLineUpdateWithWhereUniqueWithoutCheckoutInput[];
|
|
474
|
+
updateMany?: Prisma.CheckoutLineUpdateManyWithWhereWithoutCheckoutInput | Prisma.CheckoutLineUpdateManyWithWhereWithoutCheckoutInput[];
|
|
475
|
+
deleteMany?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
476
|
+
};
|
|
477
|
+
export type CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput = {
|
|
478
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput> | Prisma.CheckoutLineCreateWithoutCheckoutInput[] | Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput[];
|
|
479
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput | Prisma.CheckoutLineCreateOrConnectWithoutCheckoutInput[];
|
|
480
|
+
upsert?: Prisma.CheckoutLineUpsertWithWhereUniqueWithoutCheckoutInput | Prisma.CheckoutLineUpsertWithWhereUniqueWithoutCheckoutInput[];
|
|
481
|
+
createMany?: Prisma.CheckoutLineCreateManyCheckoutInputEnvelope;
|
|
482
|
+
set?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
483
|
+
disconnect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
484
|
+
delete?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
485
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
486
|
+
update?: Prisma.CheckoutLineUpdateWithWhereUniqueWithoutCheckoutInput | Prisma.CheckoutLineUpdateWithWhereUniqueWithoutCheckoutInput[];
|
|
487
|
+
updateMany?: Prisma.CheckoutLineUpdateManyWithWhereWithoutCheckoutInput | Prisma.CheckoutLineUpdateManyWithWhereWithoutCheckoutInput[];
|
|
488
|
+
deleteMany?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
489
|
+
};
|
|
490
|
+
export type CheckoutLineCreateNestedOneWithoutRefundLinesInput = {
|
|
491
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedCreateWithoutRefundLinesInput>;
|
|
492
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutRefundLinesInput;
|
|
493
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
494
|
+
};
|
|
495
|
+
export type CheckoutLineUpdateOneRequiredWithoutRefundLinesNestedInput = {
|
|
496
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedCreateWithoutRefundLinesInput>;
|
|
497
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutRefundLinesInput;
|
|
498
|
+
upsert?: Prisma.CheckoutLineUpsertWithoutRefundLinesInput;
|
|
499
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
500
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutLineUpdateToOneWithWhereWithoutRefundLinesInput, Prisma.CheckoutLineUpdateWithoutRefundLinesInput>, Prisma.CheckoutLineUncheckedUpdateWithoutRefundLinesInput>;
|
|
501
|
+
};
|
|
502
|
+
export type CheckoutLineCreateNestedManyWithoutMerchandiseInput = {
|
|
503
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CheckoutLineCreateWithoutMerchandiseInput[] | Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput[];
|
|
504
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput | Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput[];
|
|
505
|
+
createMany?: Prisma.CheckoutLineCreateManyMerchandiseInputEnvelope;
|
|
506
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
507
|
+
};
|
|
508
|
+
export type CheckoutLineUncheckedCreateNestedManyWithoutMerchandiseInput = {
|
|
509
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CheckoutLineCreateWithoutMerchandiseInput[] | Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput[];
|
|
510
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput | Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput[];
|
|
511
|
+
createMany?: Prisma.CheckoutLineCreateManyMerchandiseInputEnvelope;
|
|
512
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
513
|
+
};
|
|
514
|
+
export type CheckoutLineUpdateManyWithoutMerchandiseNestedInput = {
|
|
515
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CheckoutLineCreateWithoutMerchandiseInput[] | Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput[];
|
|
516
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput | Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput[];
|
|
517
|
+
upsert?: Prisma.CheckoutLineUpsertWithWhereUniqueWithoutMerchandiseInput | Prisma.CheckoutLineUpsertWithWhereUniqueWithoutMerchandiseInput[];
|
|
518
|
+
createMany?: Prisma.CheckoutLineCreateManyMerchandiseInputEnvelope;
|
|
519
|
+
set?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
520
|
+
disconnect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
521
|
+
delete?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
522
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
523
|
+
update?: Prisma.CheckoutLineUpdateWithWhereUniqueWithoutMerchandiseInput | Prisma.CheckoutLineUpdateWithWhereUniqueWithoutMerchandiseInput[];
|
|
524
|
+
updateMany?: Prisma.CheckoutLineUpdateManyWithWhereWithoutMerchandiseInput | Prisma.CheckoutLineUpdateManyWithWhereWithoutMerchandiseInput[];
|
|
525
|
+
deleteMany?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
526
|
+
};
|
|
527
|
+
export type CheckoutLineUncheckedUpdateManyWithoutMerchandiseNestedInput = {
|
|
528
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CheckoutLineCreateWithoutMerchandiseInput[] | Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput[];
|
|
529
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput | Prisma.CheckoutLineCreateOrConnectWithoutMerchandiseInput[];
|
|
530
|
+
upsert?: Prisma.CheckoutLineUpsertWithWhereUniqueWithoutMerchandiseInput | Prisma.CheckoutLineUpsertWithWhereUniqueWithoutMerchandiseInput[];
|
|
531
|
+
createMany?: Prisma.CheckoutLineCreateManyMerchandiseInputEnvelope;
|
|
532
|
+
set?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
533
|
+
disconnect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
534
|
+
delete?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
535
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput | Prisma.CheckoutLineWhereUniqueInput[];
|
|
536
|
+
update?: Prisma.CheckoutLineUpdateWithWhereUniqueWithoutMerchandiseInput | Prisma.CheckoutLineUpdateWithWhereUniqueWithoutMerchandiseInput[];
|
|
537
|
+
updateMany?: Prisma.CheckoutLineUpdateManyWithWhereWithoutMerchandiseInput | Prisma.CheckoutLineUpdateManyWithWhereWithoutMerchandiseInput[];
|
|
538
|
+
deleteMany?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
539
|
+
};
|
|
540
|
+
export type CheckoutLineCreateNestedOneWithoutStockMovementInput = {
|
|
541
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedCreateWithoutStockMovementInput>;
|
|
542
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutStockMovementInput;
|
|
543
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
544
|
+
};
|
|
545
|
+
export type CheckoutLineUpdateOneWithoutStockMovementNestedInput = {
|
|
546
|
+
create?: Prisma.XOR<Prisma.CheckoutLineCreateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedCreateWithoutStockMovementInput>;
|
|
547
|
+
connectOrCreate?: Prisma.CheckoutLineCreateOrConnectWithoutStockMovementInput;
|
|
548
|
+
upsert?: Prisma.CheckoutLineUpsertWithoutStockMovementInput;
|
|
549
|
+
disconnect?: Prisma.CheckoutLineWhereInput | boolean;
|
|
550
|
+
delete?: Prisma.CheckoutLineWhereInput | boolean;
|
|
551
|
+
connect?: Prisma.CheckoutLineWhereUniqueInput;
|
|
552
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutLineUpdateToOneWithWhereWithoutStockMovementInput, Prisma.CheckoutLineUpdateWithoutStockMovementInput>, Prisma.CheckoutLineUncheckedUpdateWithoutStockMovementInput>;
|
|
553
|
+
};
|
|
554
|
+
export type CheckoutLineCreateWithoutCheckoutLinesModifierInput = {
|
|
555
|
+
id?: bigint | number;
|
|
556
|
+
quantity: number;
|
|
557
|
+
createdAt?: Date | string;
|
|
558
|
+
updatedAt?: Date | string;
|
|
559
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
560
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
561
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
562
|
+
checkout: Prisma.CheckoutCreateNestedOneWithoutCheckoutLinesInput;
|
|
563
|
+
merchandise?: Prisma.ProductVariantCreateNestedOneWithoutCheckoutLinesInput;
|
|
564
|
+
refundLines?: Prisma.RefundLineCreateNestedManyWithoutCheckoutLineInput;
|
|
565
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutCheckoutLineInput;
|
|
566
|
+
};
|
|
567
|
+
export type CheckoutLineUncheckedCreateWithoutCheckoutLinesModifierInput = {
|
|
568
|
+
id?: bigint | number;
|
|
569
|
+
quantity: number;
|
|
570
|
+
productVariantId?: bigint | number | null;
|
|
571
|
+
checkoutId: bigint | number;
|
|
572
|
+
createdAt?: Date | string;
|
|
573
|
+
updatedAt?: Date | string;
|
|
574
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
575
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
576
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
577
|
+
refundLines?: Prisma.RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
578
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
579
|
+
};
|
|
580
|
+
export type CheckoutLineCreateOrConnectWithoutCheckoutLinesModifierInput = {
|
|
581
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
582
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutLinesModifierInput>;
|
|
583
|
+
};
|
|
584
|
+
export type CheckoutLineUpsertWithoutCheckoutLinesModifierInput = {
|
|
585
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedUpdateWithoutCheckoutLinesModifierInput>;
|
|
586
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutLinesModifierInput>;
|
|
587
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
588
|
+
};
|
|
589
|
+
export type CheckoutLineUpdateToOneWithWhereWithoutCheckoutLinesModifierInput = {
|
|
590
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
591
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutCheckoutLinesModifierInput, Prisma.CheckoutLineUncheckedUpdateWithoutCheckoutLinesModifierInput>;
|
|
592
|
+
};
|
|
593
|
+
export type CheckoutLineUpdateWithoutCheckoutLinesModifierInput = {
|
|
594
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
595
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
596
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
597
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
598
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
599
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
600
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
601
|
+
checkout?: Prisma.CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput;
|
|
602
|
+
merchandise?: Prisma.ProductVariantUpdateOneWithoutCheckoutLinesNestedInput;
|
|
603
|
+
refundLines?: Prisma.RefundLineUpdateManyWithoutCheckoutLineNestedInput;
|
|
604
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutCheckoutLineNestedInput;
|
|
605
|
+
};
|
|
606
|
+
export type CheckoutLineUncheckedUpdateWithoutCheckoutLinesModifierInput = {
|
|
607
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
608
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
609
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
610
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
611
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
612
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
613
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
614
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
615
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
616
|
+
refundLines?: Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
617
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
618
|
+
};
|
|
619
|
+
export type CheckoutLineCreateWithoutCheckoutInput = {
|
|
620
|
+
id?: bigint | number;
|
|
621
|
+
quantity: number;
|
|
622
|
+
createdAt?: Date | string;
|
|
623
|
+
updatedAt?: Date | string;
|
|
624
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
625
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
626
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
627
|
+
merchandise?: Prisma.ProductVariantCreateNestedOneWithoutCheckoutLinesInput;
|
|
628
|
+
refundLines?: Prisma.RefundLineCreateNestedManyWithoutCheckoutLineInput;
|
|
629
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutCheckoutLineInput;
|
|
630
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutCheckoutLineInput;
|
|
631
|
+
};
|
|
632
|
+
export type CheckoutLineUncheckedCreateWithoutCheckoutInput = {
|
|
633
|
+
id?: bigint | number;
|
|
634
|
+
quantity: number;
|
|
635
|
+
productVariantId?: bigint | number | null;
|
|
636
|
+
createdAt?: Date | string;
|
|
637
|
+
updatedAt?: Date | string;
|
|
638
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
639
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
640
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
641
|
+
refundLines?: Prisma.RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
642
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
643
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
644
|
+
};
|
|
645
|
+
export type CheckoutLineCreateOrConnectWithoutCheckoutInput = {
|
|
646
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
647
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput>;
|
|
648
|
+
};
|
|
649
|
+
export type CheckoutLineCreateManyCheckoutInputEnvelope = {
|
|
650
|
+
data: Prisma.CheckoutLineCreateManyCheckoutInput | Prisma.CheckoutLineCreateManyCheckoutInput[];
|
|
651
|
+
skipDuplicates?: boolean;
|
|
652
|
+
};
|
|
653
|
+
export type CheckoutLineUpsertWithWhereUniqueWithoutCheckoutInput = {
|
|
654
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
655
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedUpdateWithoutCheckoutInput>;
|
|
656
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedCreateWithoutCheckoutInput>;
|
|
657
|
+
};
|
|
658
|
+
export type CheckoutLineUpdateWithWhereUniqueWithoutCheckoutInput = {
|
|
659
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
660
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutCheckoutInput, Prisma.CheckoutLineUncheckedUpdateWithoutCheckoutInput>;
|
|
661
|
+
};
|
|
662
|
+
export type CheckoutLineUpdateManyWithWhereWithoutCheckoutInput = {
|
|
663
|
+
where: Prisma.CheckoutLineScalarWhereInput;
|
|
664
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateManyMutationInput, Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutInput>;
|
|
665
|
+
};
|
|
666
|
+
export type CheckoutLineScalarWhereInput = {
|
|
667
|
+
AND?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
668
|
+
OR?: Prisma.CheckoutLineScalarWhereInput[];
|
|
669
|
+
NOT?: Prisma.CheckoutLineScalarWhereInput | Prisma.CheckoutLineScalarWhereInput[];
|
|
670
|
+
id?: Prisma.BigIntFilter<"CheckoutLine"> | bigint | number;
|
|
671
|
+
quantity?: Prisma.IntFilter<"CheckoutLine"> | number;
|
|
672
|
+
productVariantId?: Prisma.BigIntNullableFilter<"CheckoutLine"> | bigint | number | null;
|
|
673
|
+
checkoutId?: Prisma.BigIntFilter<"CheckoutLine"> | bigint | number;
|
|
674
|
+
createdAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
675
|
+
updatedAt?: Prisma.DateTimeFilter<"CheckoutLine"> | Date | string;
|
|
676
|
+
unitPrice?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
677
|
+
totalTax?: Prisma.DecimalFilter<"CheckoutLine"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
678
|
+
taxRateBreakdown?: Prisma.JsonFilter<"CheckoutLine">;
|
|
679
|
+
};
|
|
680
|
+
export type CheckoutLineCreateWithoutRefundLinesInput = {
|
|
681
|
+
id?: bigint | number;
|
|
682
|
+
quantity: number;
|
|
683
|
+
createdAt?: Date | string;
|
|
684
|
+
updatedAt?: Date | string;
|
|
685
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
686
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
687
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
688
|
+
checkout: Prisma.CheckoutCreateNestedOneWithoutCheckoutLinesInput;
|
|
689
|
+
merchandise?: Prisma.ProductVariantCreateNestedOneWithoutCheckoutLinesInput;
|
|
690
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutCheckoutLineInput;
|
|
691
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutCheckoutLineInput;
|
|
692
|
+
};
|
|
693
|
+
export type CheckoutLineUncheckedCreateWithoutRefundLinesInput = {
|
|
694
|
+
id?: bigint | number;
|
|
695
|
+
quantity: number;
|
|
696
|
+
productVariantId?: bigint | number | null;
|
|
697
|
+
checkoutId: bigint | number;
|
|
698
|
+
createdAt?: Date | string;
|
|
699
|
+
updatedAt?: Date | string;
|
|
700
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
701
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
702
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
703
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
704
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
705
|
+
};
|
|
706
|
+
export type CheckoutLineCreateOrConnectWithoutRefundLinesInput = {
|
|
707
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
708
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedCreateWithoutRefundLinesInput>;
|
|
709
|
+
};
|
|
710
|
+
export type CheckoutLineUpsertWithoutRefundLinesInput = {
|
|
711
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedUpdateWithoutRefundLinesInput>;
|
|
712
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedCreateWithoutRefundLinesInput>;
|
|
713
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
714
|
+
};
|
|
715
|
+
export type CheckoutLineUpdateToOneWithWhereWithoutRefundLinesInput = {
|
|
716
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
717
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutRefundLinesInput, Prisma.CheckoutLineUncheckedUpdateWithoutRefundLinesInput>;
|
|
718
|
+
};
|
|
719
|
+
export type CheckoutLineUpdateWithoutRefundLinesInput = {
|
|
720
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
721
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
722
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
723
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
724
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
725
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
726
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
727
|
+
checkout?: Prisma.CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput;
|
|
728
|
+
merchandise?: Prisma.ProductVariantUpdateOneWithoutCheckoutLinesNestedInput;
|
|
729
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutCheckoutLineNestedInput;
|
|
730
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutCheckoutLineNestedInput;
|
|
731
|
+
};
|
|
732
|
+
export type CheckoutLineUncheckedUpdateWithoutRefundLinesInput = {
|
|
733
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
734
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
735
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
736
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
737
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
738
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
739
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
740
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
741
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
742
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
743
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
744
|
+
};
|
|
745
|
+
export type CheckoutLineCreateWithoutMerchandiseInput = {
|
|
746
|
+
id?: bigint | number;
|
|
747
|
+
quantity: number;
|
|
748
|
+
createdAt?: Date | string;
|
|
749
|
+
updatedAt?: Date | string;
|
|
750
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
751
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
752
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
753
|
+
checkout: Prisma.CheckoutCreateNestedOneWithoutCheckoutLinesInput;
|
|
754
|
+
refundLines?: Prisma.RefundLineCreateNestedManyWithoutCheckoutLineInput;
|
|
755
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutCheckoutLineInput;
|
|
756
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutCheckoutLineInput;
|
|
757
|
+
};
|
|
758
|
+
export type CheckoutLineUncheckedCreateWithoutMerchandiseInput = {
|
|
759
|
+
id?: bigint | number;
|
|
760
|
+
quantity: number;
|
|
761
|
+
checkoutId: bigint | number;
|
|
762
|
+
createdAt?: Date | string;
|
|
763
|
+
updatedAt?: Date | string;
|
|
764
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
765
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
766
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
767
|
+
refundLines?: Prisma.RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
768
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
769
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
770
|
+
};
|
|
771
|
+
export type CheckoutLineCreateOrConnectWithoutMerchandiseInput = {
|
|
772
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
773
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput>;
|
|
774
|
+
};
|
|
775
|
+
export type CheckoutLineCreateManyMerchandiseInputEnvelope = {
|
|
776
|
+
data: Prisma.CheckoutLineCreateManyMerchandiseInput | Prisma.CheckoutLineCreateManyMerchandiseInput[];
|
|
777
|
+
skipDuplicates?: boolean;
|
|
778
|
+
};
|
|
779
|
+
export type CheckoutLineUpsertWithWhereUniqueWithoutMerchandiseInput = {
|
|
780
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
781
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedUpdateWithoutMerchandiseInput>;
|
|
782
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedCreateWithoutMerchandiseInput>;
|
|
783
|
+
};
|
|
784
|
+
export type CheckoutLineUpdateWithWhereUniqueWithoutMerchandiseInput = {
|
|
785
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
786
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutMerchandiseInput, Prisma.CheckoutLineUncheckedUpdateWithoutMerchandiseInput>;
|
|
787
|
+
};
|
|
788
|
+
export type CheckoutLineUpdateManyWithWhereWithoutMerchandiseInput = {
|
|
789
|
+
where: Prisma.CheckoutLineScalarWhereInput;
|
|
790
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateManyMutationInput, Prisma.CheckoutLineUncheckedUpdateManyWithoutMerchandiseInput>;
|
|
791
|
+
};
|
|
792
|
+
export type CheckoutLineCreateWithoutStockMovementInput = {
|
|
793
|
+
id?: bigint | number;
|
|
794
|
+
quantity: number;
|
|
795
|
+
createdAt?: Date | string;
|
|
796
|
+
updatedAt?: Date | string;
|
|
797
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
798
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
799
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
800
|
+
checkout: Prisma.CheckoutCreateNestedOneWithoutCheckoutLinesInput;
|
|
801
|
+
merchandise?: Prisma.ProductVariantCreateNestedOneWithoutCheckoutLinesInput;
|
|
802
|
+
refundLines?: Prisma.RefundLineCreateNestedManyWithoutCheckoutLineInput;
|
|
803
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutCheckoutLineInput;
|
|
804
|
+
};
|
|
805
|
+
export type CheckoutLineUncheckedCreateWithoutStockMovementInput = {
|
|
806
|
+
id?: bigint | number;
|
|
807
|
+
quantity: number;
|
|
808
|
+
productVariantId?: bigint | number | null;
|
|
809
|
+
checkoutId: bigint | number;
|
|
810
|
+
createdAt?: Date | string;
|
|
811
|
+
updatedAt?: Date | string;
|
|
812
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
813
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
814
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
815
|
+
refundLines?: Prisma.RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
816
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutCheckoutLineInput;
|
|
817
|
+
};
|
|
818
|
+
export type CheckoutLineCreateOrConnectWithoutStockMovementInput = {
|
|
819
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
820
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedCreateWithoutStockMovementInput>;
|
|
821
|
+
};
|
|
822
|
+
export type CheckoutLineUpsertWithoutStockMovementInput = {
|
|
823
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedUpdateWithoutStockMovementInput>;
|
|
824
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedCreateWithoutStockMovementInput>;
|
|
825
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
826
|
+
};
|
|
827
|
+
export type CheckoutLineUpdateToOneWithWhereWithoutStockMovementInput = {
|
|
828
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
829
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateWithoutStockMovementInput, Prisma.CheckoutLineUncheckedUpdateWithoutStockMovementInput>;
|
|
830
|
+
};
|
|
831
|
+
export type CheckoutLineUpdateWithoutStockMovementInput = {
|
|
832
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
833
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
834
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
835
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
836
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
837
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
838
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
839
|
+
checkout?: Prisma.CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput;
|
|
840
|
+
merchandise?: Prisma.ProductVariantUpdateOneWithoutCheckoutLinesNestedInput;
|
|
841
|
+
refundLines?: Prisma.RefundLineUpdateManyWithoutCheckoutLineNestedInput;
|
|
842
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutCheckoutLineNestedInput;
|
|
843
|
+
};
|
|
844
|
+
export type CheckoutLineUncheckedUpdateWithoutStockMovementInput = {
|
|
845
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
846
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
847
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
848
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
849
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
850
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
851
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
852
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
853
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
854
|
+
refundLines?: Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
855
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
856
|
+
};
|
|
857
|
+
export type CheckoutLineCreateManyCheckoutInput = {
|
|
858
|
+
id?: bigint | number;
|
|
859
|
+
quantity: number;
|
|
860
|
+
productVariantId?: bigint | number | null;
|
|
861
|
+
createdAt?: Date | string;
|
|
862
|
+
updatedAt?: Date | string;
|
|
863
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
864
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
865
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
866
|
+
};
|
|
867
|
+
export type CheckoutLineUpdateWithoutCheckoutInput = {
|
|
868
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
869
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
870
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
871
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
872
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
873
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
874
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
875
|
+
merchandise?: Prisma.ProductVariantUpdateOneWithoutCheckoutLinesNestedInput;
|
|
876
|
+
refundLines?: Prisma.RefundLineUpdateManyWithoutCheckoutLineNestedInput;
|
|
877
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutCheckoutLineNestedInput;
|
|
878
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutCheckoutLineNestedInput;
|
|
879
|
+
};
|
|
880
|
+
export type CheckoutLineUncheckedUpdateWithoutCheckoutInput = {
|
|
881
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
882
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
883
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
884
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
885
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
886
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
887
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
888
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
889
|
+
refundLines?: Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
890
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
891
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
892
|
+
};
|
|
893
|
+
export type CheckoutLineUncheckedUpdateManyWithoutCheckoutInput = {
|
|
894
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
895
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
896
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
897
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
898
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
899
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
900
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
901
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
902
|
+
};
|
|
903
|
+
export type CheckoutLineCreateManyMerchandiseInput = {
|
|
904
|
+
id?: bigint | number;
|
|
905
|
+
quantity: number;
|
|
906
|
+
checkoutId: bigint | number;
|
|
907
|
+
createdAt?: Date | string;
|
|
908
|
+
updatedAt?: Date | string;
|
|
909
|
+
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
910
|
+
totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
911
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
912
|
+
};
|
|
913
|
+
export type CheckoutLineUpdateWithoutMerchandiseInput = {
|
|
914
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
915
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
916
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
917
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
918
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
919
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
920
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
921
|
+
checkout?: Prisma.CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput;
|
|
922
|
+
refundLines?: Prisma.RefundLineUpdateManyWithoutCheckoutLineNestedInput;
|
|
923
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutCheckoutLineNestedInput;
|
|
924
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutCheckoutLineNestedInput;
|
|
925
|
+
};
|
|
926
|
+
export type CheckoutLineUncheckedUpdateWithoutMerchandiseInput = {
|
|
927
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
928
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
929
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
930
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
932
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
933
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
934
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
935
|
+
refundLines?: Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
936
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
937
|
+
checkoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutCheckoutLineNestedInput;
|
|
938
|
+
};
|
|
939
|
+
export type CheckoutLineUncheckedUpdateManyWithoutMerchandiseInput = {
|
|
940
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
941
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
942
|
+
checkoutId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
943
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
944
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
945
|
+
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
946
|
+
totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
947
|
+
taxRateBreakdown?: PrismaJson.TaxRateBreakdown;
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* Count Type CheckoutLineCountOutputType
|
|
951
|
+
*/
|
|
952
|
+
export type CheckoutLineCountOutputType = {
|
|
953
|
+
refundLines: number;
|
|
954
|
+
stockMovement: number;
|
|
955
|
+
checkoutLinesModifier: number;
|
|
956
|
+
};
|
|
957
|
+
export type CheckoutLineCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
refundLines?: boolean | CheckoutLineCountOutputTypeCountRefundLinesArgs;
|
|
959
|
+
stockMovement?: boolean | CheckoutLineCountOutputTypeCountStockMovementArgs;
|
|
960
|
+
checkoutLinesModifier?: boolean | CheckoutLineCountOutputTypeCountCheckoutLinesModifierArgs;
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* CheckoutLineCountOutputType without action
|
|
964
|
+
*/
|
|
965
|
+
export type CheckoutLineCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
966
|
+
/**
|
|
967
|
+
* Select specific fields to fetch from the CheckoutLineCountOutputType
|
|
968
|
+
*/
|
|
969
|
+
select?: Prisma.CheckoutLineCountOutputTypeSelect<ExtArgs> | null;
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* CheckoutLineCountOutputType without action
|
|
973
|
+
*/
|
|
974
|
+
export type CheckoutLineCountOutputTypeCountRefundLinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
975
|
+
where?: Prisma.RefundLineWhereInput;
|
|
976
|
+
};
|
|
977
|
+
/**
|
|
978
|
+
* CheckoutLineCountOutputType without action
|
|
979
|
+
*/
|
|
980
|
+
export type CheckoutLineCountOutputTypeCountStockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
981
|
+
where?: Prisma.StockMovementWhereInput;
|
|
982
|
+
};
|
|
983
|
+
/**
|
|
984
|
+
* CheckoutLineCountOutputType without action
|
|
985
|
+
*/
|
|
986
|
+
export type CheckoutLineCountOutputTypeCountCheckoutLinesModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
987
|
+
where?: Prisma.CheckoutLinesModifierWhereInput;
|
|
988
|
+
};
|
|
989
|
+
export type CheckoutLineSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
990
|
+
id?: boolean;
|
|
991
|
+
quantity?: boolean;
|
|
992
|
+
productVariantId?: boolean;
|
|
993
|
+
checkoutId?: boolean;
|
|
994
|
+
createdAt?: boolean;
|
|
995
|
+
updatedAt?: boolean;
|
|
996
|
+
unitPrice?: boolean;
|
|
997
|
+
totalTax?: boolean;
|
|
998
|
+
taxRateBreakdown?: boolean;
|
|
999
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1000
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1001
|
+
refundLines?: boolean | Prisma.CheckoutLine$refundLinesArgs<ExtArgs>;
|
|
1002
|
+
stockMovement?: boolean | Prisma.CheckoutLine$stockMovementArgs<ExtArgs>;
|
|
1003
|
+
checkoutLinesModifier?: boolean | Prisma.CheckoutLine$checkoutLinesModifierArgs<ExtArgs>;
|
|
1004
|
+
_count?: boolean | Prisma.CheckoutLineCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1005
|
+
}, ExtArgs["result"]["checkoutLine"]>;
|
|
1006
|
+
export type CheckoutLineSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1007
|
+
id?: boolean;
|
|
1008
|
+
quantity?: boolean;
|
|
1009
|
+
productVariantId?: boolean;
|
|
1010
|
+
checkoutId?: boolean;
|
|
1011
|
+
createdAt?: boolean;
|
|
1012
|
+
updatedAt?: boolean;
|
|
1013
|
+
unitPrice?: boolean;
|
|
1014
|
+
totalTax?: boolean;
|
|
1015
|
+
taxRateBreakdown?: boolean;
|
|
1016
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1017
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1018
|
+
}, ExtArgs["result"]["checkoutLine"]>;
|
|
1019
|
+
export type CheckoutLineSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1020
|
+
id?: boolean;
|
|
1021
|
+
quantity?: boolean;
|
|
1022
|
+
productVariantId?: boolean;
|
|
1023
|
+
checkoutId?: boolean;
|
|
1024
|
+
createdAt?: boolean;
|
|
1025
|
+
updatedAt?: boolean;
|
|
1026
|
+
unitPrice?: boolean;
|
|
1027
|
+
totalTax?: boolean;
|
|
1028
|
+
taxRateBreakdown?: boolean;
|
|
1029
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1030
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1031
|
+
}, ExtArgs["result"]["checkoutLine"]>;
|
|
1032
|
+
export type CheckoutLineSelectScalar = {
|
|
1033
|
+
id?: boolean;
|
|
1034
|
+
quantity?: boolean;
|
|
1035
|
+
productVariantId?: boolean;
|
|
1036
|
+
checkoutId?: boolean;
|
|
1037
|
+
createdAt?: boolean;
|
|
1038
|
+
updatedAt?: boolean;
|
|
1039
|
+
unitPrice?: boolean;
|
|
1040
|
+
totalTax?: boolean;
|
|
1041
|
+
taxRateBreakdown?: boolean;
|
|
1042
|
+
};
|
|
1043
|
+
export type CheckoutLineOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "productVariantId" | "checkoutId" | "createdAt" | "updatedAt" | "unitPrice" | "totalTax" | "taxRateBreakdown", ExtArgs["result"]["checkoutLine"]>;
|
|
1044
|
+
export type CheckoutLineInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1045
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1046
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1047
|
+
refundLines?: boolean | Prisma.CheckoutLine$refundLinesArgs<ExtArgs>;
|
|
1048
|
+
stockMovement?: boolean | Prisma.CheckoutLine$stockMovementArgs<ExtArgs>;
|
|
1049
|
+
checkoutLinesModifier?: boolean | Prisma.CheckoutLine$checkoutLinesModifierArgs<ExtArgs>;
|
|
1050
|
+
_count?: boolean | Prisma.CheckoutLineCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1051
|
+
};
|
|
1052
|
+
export type CheckoutLineIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1053
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1054
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1055
|
+
};
|
|
1056
|
+
export type CheckoutLineIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
checkout?: boolean | Prisma.CheckoutDefaultArgs<ExtArgs>;
|
|
1058
|
+
merchandise?: boolean | Prisma.CheckoutLine$merchandiseArgs<ExtArgs>;
|
|
1059
|
+
};
|
|
1060
|
+
export type $CheckoutLinePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
name: "CheckoutLine";
|
|
1062
|
+
objects: {
|
|
1063
|
+
checkout: Prisma.$CheckoutPayload<ExtArgs>;
|
|
1064
|
+
merchandise: Prisma.$ProductVariantPayload<ExtArgs> | null;
|
|
1065
|
+
refundLines: Prisma.$RefundLinePayload<ExtArgs>[];
|
|
1066
|
+
stockMovement: Prisma.$StockMovementPayload<ExtArgs>[];
|
|
1067
|
+
checkoutLinesModifier: Prisma.$CheckoutLinesModifierPayload<ExtArgs>[];
|
|
1068
|
+
};
|
|
1069
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1070
|
+
id: bigint;
|
|
1071
|
+
quantity: number;
|
|
1072
|
+
productVariantId: bigint | null;
|
|
1073
|
+
checkoutId: bigint;
|
|
1074
|
+
createdAt: Date;
|
|
1075
|
+
updatedAt: Date;
|
|
1076
|
+
unitPrice: runtime.Decimal;
|
|
1077
|
+
totalTax: runtime.Decimal;
|
|
1078
|
+
/**
|
|
1079
|
+
* [TaxRateBreakdown]
|
|
1080
|
+
*/
|
|
1081
|
+
taxRateBreakdown: PrismaJson.TaxRateBreakdown;
|
|
1082
|
+
}, ExtArgs["result"]["checkoutLine"]>;
|
|
1083
|
+
composites: {};
|
|
1084
|
+
};
|
|
1085
|
+
export type CheckoutLineGetPayload<S extends boolean | null | undefined | CheckoutLineDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload, S>;
|
|
1086
|
+
export type CheckoutLineCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CheckoutLineFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1087
|
+
select?: CheckoutLineCountAggregateInputType | true;
|
|
1088
|
+
};
|
|
1089
|
+
export interface CheckoutLineDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1090
|
+
[K: symbol]: {
|
|
1091
|
+
types: Prisma.TypeMap<ExtArgs>['model']['CheckoutLine'];
|
|
1092
|
+
meta: {
|
|
1093
|
+
name: 'CheckoutLine';
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
/**
|
|
1097
|
+
* Find zero or one CheckoutLine that matches the filter.
|
|
1098
|
+
* @param {CheckoutLineFindUniqueArgs} args - Arguments to find a CheckoutLine
|
|
1099
|
+
* @example
|
|
1100
|
+
* // Get one CheckoutLine
|
|
1101
|
+
* const checkoutLine = await prisma.checkoutLine.findUnique({
|
|
1102
|
+
* where: {
|
|
1103
|
+
* // ... provide filter here
|
|
1104
|
+
* }
|
|
1105
|
+
* })
|
|
1106
|
+
*/
|
|
1107
|
+
findUnique<T extends CheckoutLineFindUniqueArgs>(args: Prisma.SelectSubset<T, CheckoutLineFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Find one CheckoutLine that matches the filter or throw an error with `error.code='P2025'`
|
|
1110
|
+
* if no matches were found.
|
|
1111
|
+
* @param {CheckoutLineFindUniqueOrThrowArgs} args - Arguments to find a CheckoutLine
|
|
1112
|
+
* @example
|
|
1113
|
+
* // Get one CheckoutLine
|
|
1114
|
+
* const checkoutLine = await prisma.checkoutLine.findUniqueOrThrow({
|
|
1115
|
+
* where: {
|
|
1116
|
+
* // ... provide filter here
|
|
1117
|
+
* }
|
|
1118
|
+
* })
|
|
1119
|
+
*/
|
|
1120
|
+
findUniqueOrThrow<T extends CheckoutLineFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CheckoutLineFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Find the first CheckoutLine that matches the filter.
|
|
1123
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1124
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1125
|
+
* @param {CheckoutLineFindFirstArgs} args - Arguments to find a CheckoutLine
|
|
1126
|
+
* @example
|
|
1127
|
+
* // Get one CheckoutLine
|
|
1128
|
+
* const checkoutLine = await prisma.checkoutLine.findFirst({
|
|
1129
|
+
* where: {
|
|
1130
|
+
* // ... provide filter here
|
|
1131
|
+
* }
|
|
1132
|
+
* })
|
|
1133
|
+
*/
|
|
1134
|
+
findFirst<T extends CheckoutLineFindFirstArgs>(args?: Prisma.SelectSubset<T, CheckoutLineFindFirstArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Find the first CheckoutLine that matches the filter or
|
|
1137
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1138
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1139
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1140
|
+
* @param {CheckoutLineFindFirstOrThrowArgs} args - Arguments to find a CheckoutLine
|
|
1141
|
+
* @example
|
|
1142
|
+
* // Get one CheckoutLine
|
|
1143
|
+
* const checkoutLine = await prisma.checkoutLine.findFirstOrThrow({
|
|
1144
|
+
* where: {
|
|
1145
|
+
* // ... provide filter here
|
|
1146
|
+
* }
|
|
1147
|
+
* })
|
|
1148
|
+
*/
|
|
1149
|
+
findFirstOrThrow<T extends CheckoutLineFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CheckoutLineFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Find zero or more CheckoutLines that matches the filter.
|
|
1152
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1153
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1154
|
+
* @param {CheckoutLineFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1155
|
+
* @example
|
|
1156
|
+
* // Get all CheckoutLines
|
|
1157
|
+
* const checkoutLines = await prisma.checkoutLine.findMany()
|
|
1158
|
+
*
|
|
1159
|
+
* // Get first 10 CheckoutLines
|
|
1160
|
+
* const checkoutLines = await prisma.checkoutLine.findMany({ take: 10 })
|
|
1161
|
+
*
|
|
1162
|
+
* // Only select the `id`
|
|
1163
|
+
* const checkoutLineWithIdOnly = await prisma.checkoutLine.findMany({ select: { id: true } })
|
|
1164
|
+
*
|
|
1165
|
+
*/
|
|
1166
|
+
findMany<T extends CheckoutLineFindManyArgs>(args?: Prisma.SelectSubset<T, CheckoutLineFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Create a CheckoutLine.
|
|
1169
|
+
* @param {CheckoutLineCreateArgs} args - Arguments to create a CheckoutLine.
|
|
1170
|
+
* @example
|
|
1171
|
+
* // Create one CheckoutLine
|
|
1172
|
+
* const CheckoutLine = await prisma.checkoutLine.create({
|
|
1173
|
+
* data: {
|
|
1174
|
+
* // ... data to create a CheckoutLine
|
|
1175
|
+
* }
|
|
1176
|
+
* })
|
|
1177
|
+
*
|
|
1178
|
+
*/
|
|
1179
|
+
create<T extends CheckoutLineCreateArgs>(args: Prisma.SelectSubset<T, CheckoutLineCreateArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1180
|
+
/**
|
|
1181
|
+
* Create many CheckoutLines.
|
|
1182
|
+
* @param {CheckoutLineCreateManyArgs} args - Arguments to create many CheckoutLines.
|
|
1183
|
+
* @example
|
|
1184
|
+
* // Create many CheckoutLines
|
|
1185
|
+
* const checkoutLine = await prisma.checkoutLine.createMany({
|
|
1186
|
+
* data: [
|
|
1187
|
+
* // ... provide data here
|
|
1188
|
+
* ]
|
|
1189
|
+
* })
|
|
1190
|
+
*
|
|
1191
|
+
*/
|
|
1192
|
+
createMany<T extends CheckoutLineCreateManyArgs>(args?: Prisma.SelectSubset<T, CheckoutLineCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1193
|
+
/**
|
|
1194
|
+
* Create many CheckoutLines and returns the data saved in the database.
|
|
1195
|
+
* @param {CheckoutLineCreateManyAndReturnArgs} args - Arguments to create many CheckoutLines.
|
|
1196
|
+
* @example
|
|
1197
|
+
* // Create many CheckoutLines
|
|
1198
|
+
* const checkoutLine = await prisma.checkoutLine.createManyAndReturn({
|
|
1199
|
+
* data: [
|
|
1200
|
+
* // ... provide data here
|
|
1201
|
+
* ]
|
|
1202
|
+
* })
|
|
1203
|
+
*
|
|
1204
|
+
* // Create many CheckoutLines and only return the `id`
|
|
1205
|
+
* const checkoutLineWithIdOnly = await prisma.checkoutLine.createManyAndReturn({
|
|
1206
|
+
* select: { id: true },
|
|
1207
|
+
* data: [
|
|
1208
|
+
* // ... provide data here
|
|
1209
|
+
* ]
|
|
1210
|
+
* })
|
|
1211
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1212
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1213
|
+
*
|
|
1214
|
+
*/
|
|
1215
|
+
createManyAndReturn<T extends CheckoutLineCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CheckoutLineCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Delete a CheckoutLine.
|
|
1218
|
+
* @param {CheckoutLineDeleteArgs} args - Arguments to delete one CheckoutLine.
|
|
1219
|
+
* @example
|
|
1220
|
+
* // Delete one CheckoutLine
|
|
1221
|
+
* const CheckoutLine = await prisma.checkoutLine.delete({
|
|
1222
|
+
* where: {
|
|
1223
|
+
* // ... filter to delete one CheckoutLine
|
|
1224
|
+
* }
|
|
1225
|
+
* })
|
|
1226
|
+
*
|
|
1227
|
+
*/
|
|
1228
|
+
delete<T extends CheckoutLineDeleteArgs>(args: Prisma.SelectSubset<T, CheckoutLineDeleteArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Update one CheckoutLine.
|
|
1231
|
+
* @param {CheckoutLineUpdateArgs} args - Arguments to update one CheckoutLine.
|
|
1232
|
+
* @example
|
|
1233
|
+
* // Update one CheckoutLine
|
|
1234
|
+
* const checkoutLine = await prisma.checkoutLine.update({
|
|
1235
|
+
* where: {
|
|
1236
|
+
* // ... provide filter here
|
|
1237
|
+
* },
|
|
1238
|
+
* data: {
|
|
1239
|
+
* // ... provide data here
|
|
1240
|
+
* }
|
|
1241
|
+
* })
|
|
1242
|
+
*
|
|
1243
|
+
*/
|
|
1244
|
+
update<T extends CheckoutLineUpdateArgs>(args: Prisma.SelectSubset<T, CheckoutLineUpdateArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Delete zero or more CheckoutLines.
|
|
1247
|
+
* @param {CheckoutLineDeleteManyArgs} args - Arguments to filter CheckoutLines to delete.
|
|
1248
|
+
* @example
|
|
1249
|
+
* // Delete a few CheckoutLines
|
|
1250
|
+
* const { count } = await prisma.checkoutLine.deleteMany({
|
|
1251
|
+
* where: {
|
|
1252
|
+
* // ... provide filter here
|
|
1253
|
+
* }
|
|
1254
|
+
* })
|
|
1255
|
+
*
|
|
1256
|
+
*/
|
|
1257
|
+
deleteMany<T extends CheckoutLineDeleteManyArgs>(args?: Prisma.SelectSubset<T, CheckoutLineDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Update zero or more CheckoutLines.
|
|
1260
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1261
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1262
|
+
* @param {CheckoutLineUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1263
|
+
* @example
|
|
1264
|
+
* // Update many CheckoutLines
|
|
1265
|
+
* const checkoutLine = await prisma.checkoutLine.updateMany({
|
|
1266
|
+
* where: {
|
|
1267
|
+
* // ... provide filter here
|
|
1268
|
+
* },
|
|
1269
|
+
* data: {
|
|
1270
|
+
* // ... provide data here
|
|
1271
|
+
* }
|
|
1272
|
+
* })
|
|
1273
|
+
*
|
|
1274
|
+
*/
|
|
1275
|
+
updateMany<T extends CheckoutLineUpdateManyArgs>(args: Prisma.SelectSubset<T, CheckoutLineUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Update zero or more CheckoutLines and returns the data updated in the database.
|
|
1278
|
+
* @param {CheckoutLineUpdateManyAndReturnArgs} args - Arguments to update many CheckoutLines.
|
|
1279
|
+
* @example
|
|
1280
|
+
* // Update many CheckoutLines
|
|
1281
|
+
* const checkoutLine = await prisma.checkoutLine.updateManyAndReturn({
|
|
1282
|
+
* where: {
|
|
1283
|
+
* // ... provide filter here
|
|
1284
|
+
* },
|
|
1285
|
+
* data: [
|
|
1286
|
+
* // ... provide data here
|
|
1287
|
+
* ]
|
|
1288
|
+
* })
|
|
1289
|
+
*
|
|
1290
|
+
* // Update zero or more CheckoutLines and only return the `id`
|
|
1291
|
+
* const checkoutLineWithIdOnly = await prisma.checkoutLine.updateManyAndReturn({
|
|
1292
|
+
* select: { id: true },
|
|
1293
|
+
* where: {
|
|
1294
|
+
* // ... provide filter here
|
|
1295
|
+
* },
|
|
1296
|
+
* data: [
|
|
1297
|
+
* // ... provide data here
|
|
1298
|
+
* ]
|
|
1299
|
+
* })
|
|
1300
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1301
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1302
|
+
*
|
|
1303
|
+
*/
|
|
1304
|
+
updateManyAndReturn<T extends CheckoutLineUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CheckoutLineUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Create or update one CheckoutLine.
|
|
1307
|
+
* @param {CheckoutLineUpsertArgs} args - Arguments to update or create a CheckoutLine.
|
|
1308
|
+
* @example
|
|
1309
|
+
* // Update or create a CheckoutLine
|
|
1310
|
+
* const checkoutLine = await prisma.checkoutLine.upsert({
|
|
1311
|
+
* create: {
|
|
1312
|
+
* // ... data to create a CheckoutLine
|
|
1313
|
+
* },
|
|
1314
|
+
* update: {
|
|
1315
|
+
* // ... in case it already exists, update
|
|
1316
|
+
* },
|
|
1317
|
+
* where: {
|
|
1318
|
+
* // ... the filter for the CheckoutLine we want to update
|
|
1319
|
+
* }
|
|
1320
|
+
* })
|
|
1321
|
+
*/
|
|
1322
|
+
upsert<T extends CheckoutLineUpsertArgs>(args: Prisma.SelectSubset<T, CheckoutLineUpsertArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1323
|
+
/**
|
|
1324
|
+
* Count the number of CheckoutLines.
|
|
1325
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1326
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1327
|
+
* @param {CheckoutLineCountArgs} args - Arguments to filter CheckoutLines to count.
|
|
1328
|
+
* @example
|
|
1329
|
+
* // Count the number of CheckoutLines
|
|
1330
|
+
* const count = await prisma.checkoutLine.count({
|
|
1331
|
+
* where: {
|
|
1332
|
+
* // ... the filter for the CheckoutLines we want to count
|
|
1333
|
+
* }
|
|
1334
|
+
* })
|
|
1335
|
+
**/
|
|
1336
|
+
count<T extends CheckoutLineCountArgs>(args?: Prisma.Subset<T, CheckoutLineCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CheckoutLineCountAggregateOutputType> : number>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Allows you to perform aggregations operations on a CheckoutLine.
|
|
1339
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1340
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1341
|
+
* @param {CheckoutLineAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1342
|
+
* @example
|
|
1343
|
+
* // Ordered by age ascending
|
|
1344
|
+
* // Where email contains prisma.io
|
|
1345
|
+
* // Limited to the 10 users
|
|
1346
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1347
|
+
* _avg: {
|
|
1348
|
+
* age: true,
|
|
1349
|
+
* },
|
|
1350
|
+
* where: {
|
|
1351
|
+
* email: {
|
|
1352
|
+
* contains: "prisma.io",
|
|
1353
|
+
* },
|
|
1354
|
+
* },
|
|
1355
|
+
* orderBy: {
|
|
1356
|
+
* age: "asc",
|
|
1357
|
+
* },
|
|
1358
|
+
* take: 10,
|
|
1359
|
+
* })
|
|
1360
|
+
**/
|
|
1361
|
+
aggregate<T extends CheckoutLineAggregateArgs>(args: Prisma.Subset<T, CheckoutLineAggregateArgs>): Prisma.PrismaPromise<GetCheckoutLineAggregateType<T>>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Group by CheckoutLine.
|
|
1364
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1365
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1366
|
+
* @param {CheckoutLineGroupByArgs} args - Group by arguments.
|
|
1367
|
+
* @example
|
|
1368
|
+
* // Group by city, order by createdAt, get count
|
|
1369
|
+
* const result = await prisma.user.groupBy({
|
|
1370
|
+
* by: ['city', 'createdAt'],
|
|
1371
|
+
* orderBy: {
|
|
1372
|
+
* createdAt: true
|
|
1373
|
+
* },
|
|
1374
|
+
* _count: {
|
|
1375
|
+
* _all: true
|
|
1376
|
+
* },
|
|
1377
|
+
* })
|
|
1378
|
+
*
|
|
1379
|
+
**/
|
|
1380
|
+
groupBy<T extends CheckoutLineGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1381
|
+
orderBy: CheckoutLineGroupByArgs['orderBy'];
|
|
1382
|
+
} : {
|
|
1383
|
+
orderBy?: CheckoutLineGroupByArgs['orderBy'];
|
|
1384
|
+
}, 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 ? {
|
|
1385
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1386
|
+
Error,
|
|
1387
|
+
'Field ',
|
|
1388
|
+
P,
|
|
1389
|
+
` in "having" needs to be provided in "by"`
|
|
1390
|
+
];
|
|
1391
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1392
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1393
|
+
}[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 ? {} : {
|
|
1394
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1395
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1396
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1397
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, CheckoutLineGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCheckoutLineGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Fields of the CheckoutLine model
|
|
1400
|
+
*/
|
|
1401
|
+
readonly fields: CheckoutLineFieldRefs;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* The delegate class that acts as a "Promise-like" for CheckoutLine.
|
|
1405
|
+
* Why is this prefixed with `Prisma__`?
|
|
1406
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1407
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1408
|
+
*/
|
|
1409
|
+
export interface Prisma__CheckoutLineClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1410
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1411
|
+
checkout<T extends Prisma.CheckoutDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutDefaultArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1412
|
+
merchandise<T extends Prisma.CheckoutLine$merchandiseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutLine$merchandiseArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1413
|
+
refundLines<T extends Prisma.CheckoutLine$refundLinesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutLine$refundLinesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1414
|
+
stockMovement<T extends Prisma.CheckoutLine$stockMovementArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutLine$stockMovementArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockMovementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1415
|
+
checkoutLinesModifier<T extends Prisma.CheckoutLine$checkoutLinesModifierArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutLine$checkoutLinesModifierArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinesModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1416
|
+
/**
|
|
1417
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1418
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1419
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1420
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1421
|
+
*/
|
|
1422
|
+
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>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1425
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1426
|
+
* @returns A Promise for the completion of the callback.
|
|
1427
|
+
*/
|
|
1428
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1431
|
+
* resolved value cannot be modified from the callback.
|
|
1432
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1433
|
+
* @returns A Promise for the completion of the callback.
|
|
1434
|
+
*/
|
|
1435
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* Fields of the CheckoutLine model
|
|
1439
|
+
*/
|
|
1440
|
+
export interface CheckoutLineFieldRefs {
|
|
1441
|
+
readonly id: Prisma.FieldRef<"CheckoutLine", 'BigInt'>;
|
|
1442
|
+
readonly quantity: Prisma.FieldRef<"CheckoutLine", 'Int'>;
|
|
1443
|
+
readonly productVariantId: Prisma.FieldRef<"CheckoutLine", 'BigInt'>;
|
|
1444
|
+
readonly checkoutId: Prisma.FieldRef<"CheckoutLine", 'BigInt'>;
|
|
1445
|
+
readonly createdAt: Prisma.FieldRef<"CheckoutLine", 'DateTime'>;
|
|
1446
|
+
readonly updatedAt: Prisma.FieldRef<"CheckoutLine", 'DateTime'>;
|
|
1447
|
+
readonly unitPrice: Prisma.FieldRef<"CheckoutLine", 'Decimal'>;
|
|
1448
|
+
readonly totalTax: Prisma.FieldRef<"CheckoutLine", 'Decimal'>;
|
|
1449
|
+
readonly taxRateBreakdown: Prisma.FieldRef<"CheckoutLine", 'Json'>;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* CheckoutLine findUnique
|
|
1453
|
+
*/
|
|
1454
|
+
export type CheckoutLineFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1455
|
+
/**
|
|
1456
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1457
|
+
*/
|
|
1458
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* Omit specific fields from the CheckoutLine
|
|
1461
|
+
*/
|
|
1462
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Choose, which related nodes to fetch as well
|
|
1465
|
+
*/
|
|
1466
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Filter, which CheckoutLine to fetch.
|
|
1469
|
+
*/
|
|
1470
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* CheckoutLine findUniqueOrThrow
|
|
1474
|
+
*/
|
|
1475
|
+
export type CheckoutLineFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
+
/**
|
|
1477
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1478
|
+
*/
|
|
1479
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Omit specific fields from the CheckoutLine
|
|
1482
|
+
*/
|
|
1483
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Choose, which related nodes to fetch as well
|
|
1486
|
+
*/
|
|
1487
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Filter, which CheckoutLine to fetch.
|
|
1490
|
+
*/
|
|
1491
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
1492
|
+
};
|
|
1493
|
+
/**
|
|
1494
|
+
* CheckoutLine findFirst
|
|
1495
|
+
*/
|
|
1496
|
+
export type CheckoutLineFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1497
|
+
/**
|
|
1498
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1499
|
+
*/
|
|
1500
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1501
|
+
/**
|
|
1502
|
+
* Omit specific fields from the CheckoutLine
|
|
1503
|
+
*/
|
|
1504
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Choose, which related nodes to fetch as well
|
|
1507
|
+
*/
|
|
1508
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Filter, which CheckoutLine to fetch.
|
|
1511
|
+
*/
|
|
1512
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1513
|
+
/**
|
|
1514
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1515
|
+
*
|
|
1516
|
+
* Determine the order of CheckoutLines to fetch.
|
|
1517
|
+
*/
|
|
1518
|
+
orderBy?: Prisma.CheckoutLineOrderByWithRelationInput | Prisma.CheckoutLineOrderByWithRelationInput[];
|
|
1519
|
+
/**
|
|
1520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1521
|
+
*
|
|
1522
|
+
* Sets the position for searching for CheckoutLines.
|
|
1523
|
+
*/
|
|
1524
|
+
cursor?: Prisma.CheckoutLineWhereUniqueInput;
|
|
1525
|
+
/**
|
|
1526
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1527
|
+
*
|
|
1528
|
+
* Take `±n` CheckoutLines from the position of the cursor.
|
|
1529
|
+
*/
|
|
1530
|
+
take?: number;
|
|
1531
|
+
/**
|
|
1532
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1533
|
+
*
|
|
1534
|
+
* Skip the first `n` CheckoutLines.
|
|
1535
|
+
*/
|
|
1536
|
+
skip?: number;
|
|
1537
|
+
/**
|
|
1538
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1539
|
+
*
|
|
1540
|
+
* Filter by unique combinations of CheckoutLines.
|
|
1541
|
+
*/
|
|
1542
|
+
distinct?: Prisma.CheckoutLineScalarFieldEnum | Prisma.CheckoutLineScalarFieldEnum[];
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* CheckoutLine findFirstOrThrow
|
|
1546
|
+
*/
|
|
1547
|
+
export type CheckoutLineFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1548
|
+
/**
|
|
1549
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1550
|
+
*/
|
|
1551
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1552
|
+
/**
|
|
1553
|
+
* Omit specific fields from the CheckoutLine
|
|
1554
|
+
*/
|
|
1555
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* Choose, which related nodes to fetch as well
|
|
1558
|
+
*/
|
|
1559
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1560
|
+
/**
|
|
1561
|
+
* Filter, which CheckoutLine to fetch.
|
|
1562
|
+
*/
|
|
1563
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1564
|
+
/**
|
|
1565
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1566
|
+
*
|
|
1567
|
+
* Determine the order of CheckoutLines to fetch.
|
|
1568
|
+
*/
|
|
1569
|
+
orderBy?: Prisma.CheckoutLineOrderByWithRelationInput | Prisma.CheckoutLineOrderByWithRelationInput[];
|
|
1570
|
+
/**
|
|
1571
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1572
|
+
*
|
|
1573
|
+
* Sets the position for searching for CheckoutLines.
|
|
1574
|
+
*/
|
|
1575
|
+
cursor?: Prisma.CheckoutLineWhereUniqueInput;
|
|
1576
|
+
/**
|
|
1577
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1578
|
+
*
|
|
1579
|
+
* Take `±n` CheckoutLines from the position of the cursor.
|
|
1580
|
+
*/
|
|
1581
|
+
take?: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1584
|
+
*
|
|
1585
|
+
* Skip the first `n` CheckoutLines.
|
|
1586
|
+
*/
|
|
1587
|
+
skip?: number;
|
|
1588
|
+
/**
|
|
1589
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1590
|
+
*
|
|
1591
|
+
* Filter by unique combinations of CheckoutLines.
|
|
1592
|
+
*/
|
|
1593
|
+
distinct?: Prisma.CheckoutLineScalarFieldEnum | Prisma.CheckoutLineScalarFieldEnum[];
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* CheckoutLine findMany
|
|
1597
|
+
*/
|
|
1598
|
+
export type CheckoutLineFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1599
|
+
/**
|
|
1600
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1601
|
+
*/
|
|
1602
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1603
|
+
/**
|
|
1604
|
+
* Omit specific fields from the CheckoutLine
|
|
1605
|
+
*/
|
|
1606
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Choose, which related nodes to fetch as well
|
|
1609
|
+
*/
|
|
1610
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1611
|
+
/**
|
|
1612
|
+
* Filter, which CheckoutLines to fetch.
|
|
1613
|
+
*/
|
|
1614
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1615
|
+
/**
|
|
1616
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1617
|
+
*
|
|
1618
|
+
* Determine the order of CheckoutLines to fetch.
|
|
1619
|
+
*/
|
|
1620
|
+
orderBy?: Prisma.CheckoutLineOrderByWithRelationInput | Prisma.CheckoutLineOrderByWithRelationInput[];
|
|
1621
|
+
/**
|
|
1622
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1623
|
+
*
|
|
1624
|
+
* Sets the position for listing CheckoutLines.
|
|
1625
|
+
*/
|
|
1626
|
+
cursor?: Prisma.CheckoutLineWhereUniqueInput;
|
|
1627
|
+
/**
|
|
1628
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1629
|
+
*
|
|
1630
|
+
* Take `±n` CheckoutLines from the position of the cursor.
|
|
1631
|
+
*/
|
|
1632
|
+
take?: number;
|
|
1633
|
+
/**
|
|
1634
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1635
|
+
*
|
|
1636
|
+
* Skip the first `n` CheckoutLines.
|
|
1637
|
+
*/
|
|
1638
|
+
skip?: number;
|
|
1639
|
+
distinct?: Prisma.CheckoutLineScalarFieldEnum | Prisma.CheckoutLineScalarFieldEnum[];
|
|
1640
|
+
};
|
|
1641
|
+
/**
|
|
1642
|
+
* CheckoutLine create
|
|
1643
|
+
*/
|
|
1644
|
+
export type CheckoutLineCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1645
|
+
/**
|
|
1646
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1647
|
+
*/
|
|
1648
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1649
|
+
/**
|
|
1650
|
+
* Omit specific fields from the CheckoutLine
|
|
1651
|
+
*/
|
|
1652
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1653
|
+
/**
|
|
1654
|
+
* Choose, which related nodes to fetch as well
|
|
1655
|
+
*/
|
|
1656
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1657
|
+
/**
|
|
1658
|
+
* The data needed to create a CheckoutLine.
|
|
1659
|
+
*/
|
|
1660
|
+
data: Prisma.XOR<Prisma.CheckoutLineCreateInput, Prisma.CheckoutLineUncheckedCreateInput>;
|
|
1661
|
+
};
|
|
1662
|
+
/**
|
|
1663
|
+
* CheckoutLine createMany
|
|
1664
|
+
*/
|
|
1665
|
+
export type CheckoutLineCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1666
|
+
/**
|
|
1667
|
+
* The data used to create many CheckoutLines.
|
|
1668
|
+
*/
|
|
1669
|
+
data: Prisma.CheckoutLineCreateManyInput | Prisma.CheckoutLineCreateManyInput[];
|
|
1670
|
+
skipDuplicates?: boolean;
|
|
1671
|
+
};
|
|
1672
|
+
/**
|
|
1673
|
+
* CheckoutLine createManyAndReturn
|
|
1674
|
+
*/
|
|
1675
|
+
export type CheckoutLineCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1676
|
+
/**
|
|
1677
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1678
|
+
*/
|
|
1679
|
+
select?: Prisma.CheckoutLineSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Omit specific fields from the CheckoutLine
|
|
1682
|
+
*/
|
|
1683
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1684
|
+
/**
|
|
1685
|
+
* The data used to create many CheckoutLines.
|
|
1686
|
+
*/
|
|
1687
|
+
data: Prisma.CheckoutLineCreateManyInput | Prisma.CheckoutLineCreateManyInput[];
|
|
1688
|
+
skipDuplicates?: boolean;
|
|
1689
|
+
/**
|
|
1690
|
+
* Choose, which related nodes to fetch as well
|
|
1691
|
+
*/
|
|
1692
|
+
include?: Prisma.CheckoutLineIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1693
|
+
};
|
|
1694
|
+
/**
|
|
1695
|
+
* CheckoutLine update
|
|
1696
|
+
*/
|
|
1697
|
+
export type CheckoutLineUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1698
|
+
/**
|
|
1699
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1700
|
+
*/
|
|
1701
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1702
|
+
/**
|
|
1703
|
+
* Omit specific fields from the CheckoutLine
|
|
1704
|
+
*/
|
|
1705
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1706
|
+
/**
|
|
1707
|
+
* Choose, which related nodes to fetch as well
|
|
1708
|
+
*/
|
|
1709
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1710
|
+
/**
|
|
1711
|
+
* The data needed to update a CheckoutLine.
|
|
1712
|
+
*/
|
|
1713
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateInput, Prisma.CheckoutLineUncheckedUpdateInput>;
|
|
1714
|
+
/**
|
|
1715
|
+
* Choose, which CheckoutLine to update.
|
|
1716
|
+
*/
|
|
1717
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* CheckoutLine updateMany
|
|
1721
|
+
*/
|
|
1722
|
+
export type CheckoutLineUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1723
|
+
/**
|
|
1724
|
+
* The data used to update CheckoutLines.
|
|
1725
|
+
*/
|
|
1726
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateManyMutationInput, Prisma.CheckoutLineUncheckedUpdateManyInput>;
|
|
1727
|
+
/**
|
|
1728
|
+
* Filter which CheckoutLines to update
|
|
1729
|
+
*/
|
|
1730
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1731
|
+
/**
|
|
1732
|
+
* Limit how many CheckoutLines to update.
|
|
1733
|
+
*/
|
|
1734
|
+
limit?: number;
|
|
1735
|
+
};
|
|
1736
|
+
/**
|
|
1737
|
+
* CheckoutLine updateManyAndReturn
|
|
1738
|
+
*/
|
|
1739
|
+
export type CheckoutLineUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1740
|
+
/**
|
|
1741
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1742
|
+
*/
|
|
1743
|
+
select?: Prisma.CheckoutLineSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1744
|
+
/**
|
|
1745
|
+
* Omit specific fields from the CheckoutLine
|
|
1746
|
+
*/
|
|
1747
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1748
|
+
/**
|
|
1749
|
+
* The data used to update CheckoutLines.
|
|
1750
|
+
*/
|
|
1751
|
+
data: Prisma.XOR<Prisma.CheckoutLineUpdateManyMutationInput, Prisma.CheckoutLineUncheckedUpdateManyInput>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Filter which CheckoutLines to update
|
|
1754
|
+
*/
|
|
1755
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1756
|
+
/**
|
|
1757
|
+
* Limit how many CheckoutLines to update.
|
|
1758
|
+
*/
|
|
1759
|
+
limit?: number;
|
|
1760
|
+
/**
|
|
1761
|
+
* Choose, which related nodes to fetch as well
|
|
1762
|
+
*/
|
|
1763
|
+
include?: Prisma.CheckoutLineIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1764
|
+
};
|
|
1765
|
+
/**
|
|
1766
|
+
* CheckoutLine upsert
|
|
1767
|
+
*/
|
|
1768
|
+
export type CheckoutLineUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1769
|
+
/**
|
|
1770
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1771
|
+
*/
|
|
1772
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1773
|
+
/**
|
|
1774
|
+
* Omit specific fields from the CheckoutLine
|
|
1775
|
+
*/
|
|
1776
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1777
|
+
/**
|
|
1778
|
+
* Choose, which related nodes to fetch as well
|
|
1779
|
+
*/
|
|
1780
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1781
|
+
/**
|
|
1782
|
+
* The filter to search for the CheckoutLine to update in case it exists.
|
|
1783
|
+
*/
|
|
1784
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
1785
|
+
/**
|
|
1786
|
+
* In case the CheckoutLine found by the `where` argument doesn't exist, create a new CheckoutLine with this data.
|
|
1787
|
+
*/
|
|
1788
|
+
create: Prisma.XOR<Prisma.CheckoutLineCreateInput, Prisma.CheckoutLineUncheckedCreateInput>;
|
|
1789
|
+
/**
|
|
1790
|
+
* In case the CheckoutLine was found with the provided `where` argument, update it with this data.
|
|
1791
|
+
*/
|
|
1792
|
+
update: Prisma.XOR<Prisma.CheckoutLineUpdateInput, Prisma.CheckoutLineUncheckedUpdateInput>;
|
|
1793
|
+
};
|
|
1794
|
+
/**
|
|
1795
|
+
* CheckoutLine delete
|
|
1796
|
+
*/
|
|
1797
|
+
export type CheckoutLineDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1798
|
+
/**
|
|
1799
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1800
|
+
*/
|
|
1801
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1802
|
+
/**
|
|
1803
|
+
* Omit specific fields from the CheckoutLine
|
|
1804
|
+
*/
|
|
1805
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* Choose, which related nodes to fetch as well
|
|
1808
|
+
*/
|
|
1809
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1810
|
+
/**
|
|
1811
|
+
* Filter which CheckoutLine to delete.
|
|
1812
|
+
*/
|
|
1813
|
+
where: Prisma.CheckoutLineWhereUniqueInput;
|
|
1814
|
+
};
|
|
1815
|
+
/**
|
|
1816
|
+
* CheckoutLine deleteMany
|
|
1817
|
+
*/
|
|
1818
|
+
export type CheckoutLineDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1819
|
+
/**
|
|
1820
|
+
* Filter which CheckoutLines to delete
|
|
1821
|
+
*/
|
|
1822
|
+
where?: Prisma.CheckoutLineWhereInput;
|
|
1823
|
+
/**
|
|
1824
|
+
* Limit how many CheckoutLines to delete.
|
|
1825
|
+
*/
|
|
1826
|
+
limit?: number;
|
|
1827
|
+
};
|
|
1828
|
+
/**
|
|
1829
|
+
* CheckoutLine.merchandise
|
|
1830
|
+
*/
|
|
1831
|
+
export type CheckoutLine$merchandiseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Select specific fields to fetch from the ProductVariant
|
|
1834
|
+
*/
|
|
1835
|
+
select?: Prisma.ProductVariantSelect<ExtArgs> | null;
|
|
1836
|
+
/**
|
|
1837
|
+
* Omit specific fields from the ProductVariant
|
|
1838
|
+
*/
|
|
1839
|
+
omit?: Prisma.ProductVariantOmit<ExtArgs> | null;
|
|
1840
|
+
/**
|
|
1841
|
+
* Choose, which related nodes to fetch as well
|
|
1842
|
+
*/
|
|
1843
|
+
include?: Prisma.ProductVariantInclude<ExtArgs> | null;
|
|
1844
|
+
where?: Prisma.ProductVariantWhereInput;
|
|
1845
|
+
};
|
|
1846
|
+
/**
|
|
1847
|
+
* CheckoutLine.refundLines
|
|
1848
|
+
*/
|
|
1849
|
+
export type CheckoutLine$refundLinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1850
|
+
/**
|
|
1851
|
+
* Select specific fields to fetch from the RefundLine
|
|
1852
|
+
*/
|
|
1853
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1854
|
+
/**
|
|
1855
|
+
* Omit specific fields from the RefundLine
|
|
1856
|
+
*/
|
|
1857
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1858
|
+
/**
|
|
1859
|
+
* Choose, which related nodes to fetch as well
|
|
1860
|
+
*/
|
|
1861
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1862
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1863
|
+
orderBy?: Prisma.RefundLineOrderByWithRelationInput | Prisma.RefundLineOrderByWithRelationInput[];
|
|
1864
|
+
cursor?: Prisma.RefundLineWhereUniqueInput;
|
|
1865
|
+
take?: number;
|
|
1866
|
+
skip?: number;
|
|
1867
|
+
distinct?: Prisma.RefundLineScalarFieldEnum | Prisma.RefundLineScalarFieldEnum[];
|
|
1868
|
+
};
|
|
1869
|
+
/**
|
|
1870
|
+
* CheckoutLine.stockMovement
|
|
1871
|
+
*/
|
|
1872
|
+
export type CheckoutLine$stockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1873
|
+
/**
|
|
1874
|
+
* Select specific fields to fetch from the StockMovement
|
|
1875
|
+
*/
|
|
1876
|
+
select?: Prisma.StockMovementSelect<ExtArgs> | null;
|
|
1877
|
+
/**
|
|
1878
|
+
* Omit specific fields from the StockMovement
|
|
1879
|
+
*/
|
|
1880
|
+
omit?: Prisma.StockMovementOmit<ExtArgs> | null;
|
|
1881
|
+
/**
|
|
1882
|
+
* Choose, which related nodes to fetch as well
|
|
1883
|
+
*/
|
|
1884
|
+
include?: Prisma.StockMovementInclude<ExtArgs> | null;
|
|
1885
|
+
where?: Prisma.StockMovementWhereInput;
|
|
1886
|
+
orderBy?: Prisma.StockMovementOrderByWithRelationInput | Prisma.StockMovementOrderByWithRelationInput[];
|
|
1887
|
+
cursor?: Prisma.StockMovementWhereUniqueInput;
|
|
1888
|
+
take?: number;
|
|
1889
|
+
skip?: number;
|
|
1890
|
+
distinct?: Prisma.StockMovementScalarFieldEnum | Prisma.StockMovementScalarFieldEnum[];
|
|
1891
|
+
};
|
|
1892
|
+
/**
|
|
1893
|
+
* CheckoutLine.checkoutLinesModifier
|
|
1894
|
+
*/
|
|
1895
|
+
export type CheckoutLine$checkoutLinesModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1896
|
+
/**
|
|
1897
|
+
* Select specific fields to fetch from the CheckoutLinesModifier
|
|
1898
|
+
*/
|
|
1899
|
+
select?: Prisma.CheckoutLinesModifierSelect<ExtArgs> | null;
|
|
1900
|
+
/**
|
|
1901
|
+
* Omit specific fields from the CheckoutLinesModifier
|
|
1902
|
+
*/
|
|
1903
|
+
omit?: Prisma.CheckoutLinesModifierOmit<ExtArgs> | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* Choose, which related nodes to fetch as well
|
|
1906
|
+
*/
|
|
1907
|
+
include?: Prisma.CheckoutLinesModifierInclude<ExtArgs> | null;
|
|
1908
|
+
where?: Prisma.CheckoutLinesModifierWhereInput;
|
|
1909
|
+
orderBy?: Prisma.CheckoutLinesModifierOrderByWithRelationInput | Prisma.CheckoutLinesModifierOrderByWithRelationInput[];
|
|
1910
|
+
cursor?: Prisma.CheckoutLinesModifierWhereUniqueInput;
|
|
1911
|
+
take?: number;
|
|
1912
|
+
skip?: number;
|
|
1913
|
+
distinct?: Prisma.CheckoutLinesModifierScalarFieldEnum | Prisma.CheckoutLinesModifierScalarFieldEnum[];
|
|
1914
|
+
};
|
|
1915
|
+
/**
|
|
1916
|
+
* CheckoutLine without action
|
|
1917
|
+
*/
|
|
1918
|
+
export type CheckoutLineDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1919
|
+
/**
|
|
1920
|
+
* Select specific fields to fetch from the CheckoutLine
|
|
1921
|
+
*/
|
|
1922
|
+
select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
|
|
1923
|
+
/**
|
|
1924
|
+
* Omit specific fields from the CheckoutLine
|
|
1925
|
+
*/
|
|
1926
|
+
omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
|
|
1927
|
+
/**
|
|
1928
|
+
* Choose, which related nodes to fetch as well
|
|
1929
|
+
*/
|
|
1930
|
+
include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
|
|
1931
|
+
};
|
|
1932
|
+
export {};
|