@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3 -2
|
@@ -0,0 +1,1373 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model RefundLine
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type RefundLineModel = runtime.Types.Result.DefaultSelection<Prisma.$RefundLinePayload>;
|
|
8
|
+
export type AggregateRefundLine = {
|
|
9
|
+
_count: RefundLineCountAggregateOutputType | null;
|
|
10
|
+
_avg: RefundLineAvgAggregateOutputType | null;
|
|
11
|
+
_sum: RefundLineSumAggregateOutputType | null;
|
|
12
|
+
_min: RefundLineMinAggregateOutputType | null;
|
|
13
|
+
_max: RefundLineMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type RefundLineAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
quantity: number | null;
|
|
18
|
+
checkoutLineId: number | null;
|
|
19
|
+
refundId: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type RefundLineSumAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
quantity: number | null;
|
|
24
|
+
checkoutLineId: bigint | null;
|
|
25
|
+
refundId: bigint | null;
|
|
26
|
+
};
|
|
27
|
+
export type RefundLineMinAggregateOutputType = {
|
|
28
|
+
id: bigint | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
updatedAt: Date | null;
|
|
31
|
+
quantity: number | null;
|
|
32
|
+
checkoutLineId: bigint | null;
|
|
33
|
+
refundId: bigint | null;
|
|
34
|
+
};
|
|
35
|
+
export type RefundLineMaxAggregateOutputType = {
|
|
36
|
+
id: bigint | null;
|
|
37
|
+
createdAt: Date | null;
|
|
38
|
+
updatedAt: Date | null;
|
|
39
|
+
quantity: number | null;
|
|
40
|
+
checkoutLineId: bigint | null;
|
|
41
|
+
refundId: bigint | null;
|
|
42
|
+
};
|
|
43
|
+
export type RefundLineCountAggregateOutputType = {
|
|
44
|
+
id: number;
|
|
45
|
+
createdAt: number;
|
|
46
|
+
updatedAt: number;
|
|
47
|
+
quantity: number;
|
|
48
|
+
checkoutLineId: number;
|
|
49
|
+
refundId: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type RefundLineAvgAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
quantity?: true;
|
|
55
|
+
checkoutLineId?: true;
|
|
56
|
+
refundId?: true;
|
|
57
|
+
};
|
|
58
|
+
export type RefundLineSumAggregateInputType = {
|
|
59
|
+
id?: true;
|
|
60
|
+
quantity?: true;
|
|
61
|
+
checkoutLineId?: true;
|
|
62
|
+
refundId?: true;
|
|
63
|
+
};
|
|
64
|
+
export type RefundLineMinAggregateInputType = {
|
|
65
|
+
id?: true;
|
|
66
|
+
createdAt?: true;
|
|
67
|
+
updatedAt?: true;
|
|
68
|
+
quantity?: true;
|
|
69
|
+
checkoutLineId?: true;
|
|
70
|
+
refundId?: true;
|
|
71
|
+
};
|
|
72
|
+
export type RefundLineMaxAggregateInputType = {
|
|
73
|
+
id?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
updatedAt?: true;
|
|
76
|
+
quantity?: true;
|
|
77
|
+
checkoutLineId?: true;
|
|
78
|
+
refundId?: true;
|
|
79
|
+
};
|
|
80
|
+
export type RefundLineCountAggregateInputType = {
|
|
81
|
+
id?: true;
|
|
82
|
+
createdAt?: true;
|
|
83
|
+
updatedAt?: true;
|
|
84
|
+
quantity?: true;
|
|
85
|
+
checkoutLineId?: true;
|
|
86
|
+
refundId?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type RefundLineAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which RefundLine to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.RefundLineWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of RefundLines to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.RefundLineOrderByWithRelationInput | Prisma.RefundLineOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.RefundLineWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` RefundLines from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` RefundLines.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned RefundLines
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | RefundLineCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to average
|
|
128
|
+
**/
|
|
129
|
+
_avg?: RefundLineAvgAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to sum
|
|
134
|
+
**/
|
|
135
|
+
_sum?: RefundLineSumAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the minimum value
|
|
140
|
+
**/
|
|
141
|
+
_min?: RefundLineMinAggregateInputType;
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
144
|
+
*
|
|
145
|
+
* Select which fields to find the maximum value
|
|
146
|
+
**/
|
|
147
|
+
_max?: RefundLineMaxAggregateInputType;
|
|
148
|
+
};
|
|
149
|
+
export type GetRefundLineAggregateType<T extends RefundLineAggregateArgs> = {
|
|
150
|
+
[P in keyof T & keyof AggregateRefundLine]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRefundLine[P]> : Prisma.GetScalarType<T[P], AggregateRefundLine[P]>;
|
|
151
|
+
};
|
|
152
|
+
export type RefundLineGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
where?: Prisma.RefundLineWhereInput;
|
|
154
|
+
orderBy?: Prisma.RefundLineOrderByWithAggregationInput | Prisma.RefundLineOrderByWithAggregationInput[];
|
|
155
|
+
by: Prisma.RefundLineScalarFieldEnum[] | Prisma.RefundLineScalarFieldEnum;
|
|
156
|
+
having?: Prisma.RefundLineScalarWhereWithAggregatesInput;
|
|
157
|
+
take?: number;
|
|
158
|
+
skip?: number;
|
|
159
|
+
_count?: RefundLineCountAggregateInputType | true;
|
|
160
|
+
_avg?: RefundLineAvgAggregateInputType;
|
|
161
|
+
_sum?: RefundLineSumAggregateInputType;
|
|
162
|
+
_min?: RefundLineMinAggregateInputType;
|
|
163
|
+
_max?: RefundLineMaxAggregateInputType;
|
|
164
|
+
};
|
|
165
|
+
export type RefundLineGroupByOutputType = {
|
|
166
|
+
id: bigint;
|
|
167
|
+
createdAt: Date;
|
|
168
|
+
updatedAt: Date;
|
|
169
|
+
quantity: number;
|
|
170
|
+
checkoutLineId: bigint;
|
|
171
|
+
refundId: bigint;
|
|
172
|
+
_count: RefundLineCountAggregateOutputType | null;
|
|
173
|
+
_avg: RefundLineAvgAggregateOutputType | null;
|
|
174
|
+
_sum: RefundLineSumAggregateOutputType | null;
|
|
175
|
+
_min: RefundLineMinAggregateOutputType | null;
|
|
176
|
+
_max: RefundLineMaxAggregateOutputType | null;
|
|
177
|
+
};
|
|
178
|
+
type GetRefundLineGroupByPayload<T extends RefundLineGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RefundLineGroupByOutputType, T['by']> & {
|
|
179
|
+
[P in ((keyof T) & (keyof RefundLineGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RefundLineGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RefundLineGroupByOutputType[P]>;
|
|
180
|
+
}>>;
|
|
181
|
+
export type RefundLineWhereInput = {
|
|
182
|
+
AND?: Prisma.RefundLineWhereInput | Prisma.RefundLineWhereInput[];
|
|
183
|
+
OR?: Prisma.RefundLineWhereInput[];
|
|
184
|
+
NOT?: Prisma.RefundLineWhereInput | Prisma.RefundLineWhereInput[];
|
|
185
|
+
id?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
186
|
+
createdAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
187
|
+
updatedAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
188
|
+
quantity?: Prisma.IntFilter<"RefundLine"> | number;
|
|
189
|
+
checkoutLineId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
190
|
+
refundId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
191
|
+
checkoutLine?: Prisma.XOR<Prisma.CheckoutLineScalarRelationFilter, Prisma.CheckoutLineWhereInput>;
|
|
192
|
+
refund?: Prisma.XOR<Prisma.RefundScalarRelationFilter, Prisma.RefundWhereInput>;
|
|
193
|
+
};
|
|
194
|
+
export type RefundLineOrderByWithRelationInput = {
|
|
195
|
+
id?: Prisma.SortOrder;
|
|
196
|
+
createdAt?: Prisma.SortOrder;
|
|
197
|
+
updatedAt?: Prisma.SortOrder;
|
|
198
|
+
quantity?: Prisma.SortOrder;
|
|
199
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
200
|
+
refundId?: Prisma.SortOrder;
|
|
201
|
+
checkoutLine?: Prisma.CheckoutLineOrderByWithRelationInput;
|
|
202
|
+
refund?: Prisma.RefundOrderByWithRelationInput;
|
|
203
|
+
};
|
|
204
|
+
export type RefundLineWhereUniqueInput = Prisma.AtLeast<{
|
|
205
|
+
id?: bigint | number;
|
|
206
|
+
AND?: Prisma.RefundLineWhereInput | Prisma.RefundLineWhereInput[];
|
|
207
|
+
OR?: Prisma.RefundLineWhereInput[];
|
|
208
|
+
NOT?: Prisma.RefundLineWhereInput | Prisma.RefundLineWhereInput[];
|
|
209
|
+
createdAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
210
|
+
updatedAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
211
|
+
quantity?: Prisma.IntFilter<"RefundLine"> | number;
|
|
212
|
+
checkoutLineId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
213
|
+
refundId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
214
|
+
checkoutLine?: Prisma.XOR<Prisma.CheckoutLineScalarRelationFilter, Prisma.CheckoutLineWhereInput>;
|
|
215
|
+
refund?: Prisma.XOR<Prisma.RefundScalarRelationFilter, Prisma.RefundWhereInput>;
|
|
216
|
+
}, "id">;
|
|
217
|
+
export type RefundLineOrderByWithAggregationInput = {
|
|
218
|
+
id?: Prisma.SortOrder;
|
|
219
|
+
createdAt?: Prisma.SortOrder;
|
|
220
|
+
updatedAt?: Prisma.SortOrder;
|
|
221
|
+
quantity?: Prisma.SortOrder;
|
|
222
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
223
|
+
refundId?: Prisma.SortOrder;
|
|
224
|
+
_count?: Prisma.RefundLineCountOrderByAggregateInput;
|
|
225
|
+
_avg?: Prisma.RefundLineAvgOrderByAggregateInput;
|
|
226
|
+
_max?: Prisma.RefundLineMaxOrderByAggregateInput;
|
|
227
|
+
_min?: Prisma.RefundLineMinOrderByAggregateInput;
|
|
228
|
+
_sum?: Prisma.RefundLineSumOrderByAggregateInput;
|
|
229
|
+
};
|
|
230
|
+
export type RefundLineScalarWhereWithAggregatesInput = {
|
|
231
|
+
AND?: Prisma.RefundLineScalarWhereWithAggregatesInput | Prisma.RefundLineScalarWhereWithAggregatesInput[];
|
|
232
|
+
OR?: Prisma.RefundLineScalarWhereWithAggregatesInput[];
|
|
233
|
+
NOT?: Prisma.RefundLineScalarWhereWithAggregatesInput | Prisma.RefundLineScalarWhereWithAggregatesInput[];
|
|
234
|
+
id?: Prisma.BigIntWithAggregatesFilter<"RefundLine"> | bigint | number;
|
|
235
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RefundLine"> | Date | string;
|
|
236
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"RefundLine"> | Date | string;
|
|
237
|
+
quantity?: Prisma.IntWithAggregatesFilter<"RefundLine"> | number;
|
|
238
|
+
checkoutLineId?: Prisma.BigIntWithAggregatesFilter<"RefundLine"> | bigint | number;
|
|
239
|
+
refundId?: Prisma.BigIntWithAggregatesFilter<"RefundLine"> | bigint | number;
|
|
240
|
+
};
|
|
241
|
+
export type RefundLineCreateInput = {
|
|
242
|
+
id?: bigint | number;
|
|
243
|
+
createdAt?: Date | string;
|
|
244
|
+
updatedAt?: Date | string;
|
|
245
|
+
quantity: number;
|
|
246
|
+
checkoutLine: Prisma.CheckoutLineCreateNestedOneWithoutRefundLinesInput;
|
|
247
|
+
refund: Prisma.RefundCreateNestedOneWithoutLinesInput;
|
|
248
|
+
};
|
|
249
|
+
export type RefundLineUncheckedCreateInput = {
|
|
250
|
+
id?: bigint | number;
|
|
251
|
+
createdAt?: Date | string;
|
|
252
|
+
updatedAt?: Date | string;
|
|
253
|
+
quantity: number;
|
|
254
|
+
checkoutLineId: bigint | number;
|
|
255
|
+
refundId: bigint | number;
|
|
256
|
+
};
|
|
257
|
+
export type RefundLineUpdateInput = {
|
|
258
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
259
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
260
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
261
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
262
|
+
checkoutLine?: Prisma.CheckoutLineUpdateOneRequiredWithoutRefundLinesNestedInput;
|
|
263
|
+
refund?: Prisma.RefundUpdateOneRequiredWithoutLinesNestedInput;
|
|
264
|
+
};
|
|
265
|
+
export type RefundLineUncheckedUpdateInput = {
|
|
266
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
267
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
268
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
269
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
270
|
+
checkoutLineId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
271
|
+
refundId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
272
|
+
};
|
|
273
|
+
export type RefundLineCreateManyInput = {
|
|
274
|
+
id?: bigint | number;
|
|
275
|
+
createdAt?: Date | string;
|
|
276
|
+
updatedAt?: Date | string;
|
|
277
|
+
quantity: number;
|
|
278
|
+
checkoutLineId: bigint | number;
|
|
279
|
+
refundId: bigint | number;
|
|
280
|
+
};
|
|
281
|
+
export type RefundLineUpdateManyMutationInput = {
|
|
282
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
283
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
284
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
286
|
+
};
|
|
287
|
+
export type RefundLineUncheckedUpdateManyInput = {
|
|
288
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
289
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
290
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
291
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
292
|
+
checkoutLineId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
293
|
+
refundId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
294
|
+
};
|
|
295
|
+
export type RefundLineListRelationFilter = {
|
|
296
|
+
every?: Prisma.RefundLineWhereInput;
|
|
297
|
+
some?: Prisma.RefundLineWhereInput;
|
|
298
|
+
none?: Prisma.RefundLineWhereInput;
|
|
299
|
+
};
|
|
300
|
+
export type RefundLineOrderByRelationAggregateInput = {
|
|
301
|
+
_count?: Prisma.SortOrder;
|
|
302
|
+
};
|
|
303
|
+
export type RefundLineCountOrderByAggregateInput = {
|
|
304
|
+
id?: Prisma.SortOrder;
|
|
305
|
+
createdAt?: Prisma.SortOrder;
|
|
306
|
+
updatedAt?: Prisma.SortOrder;
|
|
307
|
+
quantity?: Prisma.SortOrder;
|
|
308
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
309
|
+
refundId?: Prisma.SortOrder;
|
|
310
|
+
};
|
|
311
|
+
export type RefundLineAvgOrderByAggregateInput = {
|
|
312
|
+
id?: Prisma.SortOrder;
|
|
313
|
+
quantity?: Prisma.SortOrder;
|
|
314
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
315
|
+
refundId?: Prisma.SortOrder;
|
|
316
|
+
};
|
|
317
|
+
export type RefundLineMaxOrderByAggregateInput = {
|
|
318
|
+
id?: Prisma.SortOrder;
|
|
319
|
+
createdAt?: Prisma.SortOrder;
|
|
320
|
+
updatedAt?: Prisma.SortOrder;
|
|
321
|
+
quantity?: Prisma.SortOrder;
|
|
322
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
323
|
+
refundId?: Prisma.SortOrder;
|
|
324
|
+
};
|
|
325
|
+
export type RefundLineMinOrderByAggregateInput = {
|
|
326
|
+
id?: Prisma.SortOrder;
|
|
327
|
+
createdAt?: Prisma.SortOrder;
|
|
328
|
+
updatedAt?: Prisma.SortOrder;
|
|
329
|
+
quantity?: Prisma.SortOrder;
|
|
330
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
331
|
+
refundId?: Prisma.SortOrder;
|
|
332
|
+
};
|
|
333
|
+
export type RefundLineSumOrderByAggregateInput = {
|
|
334
|
+
id?: Prisma.SortOrder;
|
|
335
|
+
quantity?: Prisma.SortOrder;
|
|
336
|
+
checkoutLineId?: Prisma.SortOrder;
|
|
337
|
+
refundId?: Prisma.SortOrder;
|
|
338
|
+
};
|
|
339
|
+
export type RefundLineCreateNestedManyWithoutCheckoutLineInput = {
|
|
340
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput> | Prisma.RefundLineCreateWithoutCheckoutLineInput[] | Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput[];
|
|
341
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput | Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput[];
|
|
342
|
+
createMany?: Prisma.RefundLineCreateManyCheckoutLineInputEnvelope;
|
|
343
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
344
|
+
};
|
|
345
|
+
export type RefundLineUncheckedCreateNestedManyWithoutCheckoutLineInput = {
|
|
346
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput> | Prisma.RefundLineCreateWithoutCheckoutLineInput[] | Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput[];
|
|
347
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput | Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput[];
|
|
348
|
+
createMany?: Prisma.RefundLineCreateManyCheckoutLineInputEnvelope;
|
|
349
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
350
|
+
};
|
|
351
|
+
export type RefundLineUpdateManyWithoutCheckoutLineNestedInput = {
|
|
352
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput> | Prisma.RefundLineCreateWithoutCheckoutLineInput[] | Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput[];
|
|
353
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput | Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput[];
|
|
354
|
+
upsert?: Prisma.RefundLineUpsertWithWhereUniqueWithoutCheckoutLineInput | Prisma.RefundLineUpsertWithWhereUniqueWithoutCheckoutLineInput[];
|
|
355
|
+
createMany?: Prisma.RefundLineCreateManyCheckoutLineInputEnvelope;
|
|
356
|
+
set?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
357
|
+
disconnect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
358
|
+
delete?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
359
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
360
|
+
update?: Prisma.RefundLineUpdateWithWhereUniqueWithoutCheckoutLineInput | Prisma.RefundLineUpdateWithWhereUniqueWithoutCheckoutLineInput[];
|
|
361
|
+
updateMany?: Prisma.RefundLineUpdateManyWithWhereWithoutCheckoutLineInput | Prisma.RefundLineUpdateManyWithWhereWithoutCheckoutLineInput[];
|
|
362
|
+
deleteMany?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
363
|
+
};
|
|
364
|
+
export type RefundLineUncheckedUpdateManyWithoutCheckoutLineNestedInput = {
|
|
365
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput> | Prisma.RefundLineCreateWithoutCheckoutLineInput[] | Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput[];
|
|
366
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput | Prisma.RefundLineCreateOrConnectWithoutCheckoutLineInput[];
|
|
367
|
+
upsert?: Prisma.RefundLineUpsertWithWhereUniqueWithoutCheckoutLineInput | Prisma.RefundLineUpsertWithWhereUniqueWithoutCheckoutLineInput[];
|
|
368
|
+
createMany?: Prisma.RefundLineCreateManyCheckoutLineInputEnvelope;
|
|
369
|
+
set?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
370
|
+
disconnect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
371
|
+
delete?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
372
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
373
|
+
update?: Prisma.RefundLineUpdateWithWhereUniqueWithoutCheckoutLineInput | Prisma.RefundLineUpdateWithWhereUniqueWithoutCheckoutLineInput[];
|
|
374
|
+
updateMany?: Prisma.RefundLineUpdateManyWithWhereWithoutCheckoutLineInput | Prisma.RefundLineUpdateManyWithWhereWithoutCheckoutLineInput[];
|
|
375
|
+
deleteMany?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
376
|
+
};
|
|
377
|
+
export type RefundLineCreateNestedManyWithoutRefundInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput> | Prisma.RefundLineCreateWithoutRefundInput[] | Prisma.RefundLineUncheckedCreateWithoutRefundInput[];
|
|
379
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutRefundInput | Prisma.RefundLineCreateOrConnectWithoutRefundInput[];
|
|
380
|
+
createMany?: Prisma.RefundLineCreateManyRefundInputEnvelope;
|
|
381
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
382
|
+
};
|
|
383
|
+
export type RefundLineUncheckedCreateNestedManyWithoutRefundInput = {
|
|
384
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput> | Prisma.RefundLineCreateWithoutRefundInput[] | Prisma.RefundLineUncheckedCreateWithoutRefundInput[];
|
|
385
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutRefundInput | Prisma.RefundLineCreateOrConnectWithoutRefundInput[];
|
|
386
|
+
createMany?: Prisma.RefundLineCreateManyRefundInputEnvelope;
|
|
387
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
388
|
+
};
|
|
389
|
+
export type RefundLineUpdateManyWithoutRefundNestedInput = {
|
|
390
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput> | Prisma.RefundLineCreateWithoutRefundInput[] | Prisma.RefundLineUncheckedCreateWithoutRefundInput[];
|
|
391
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutRefundInput | Prisma.RefundLineCreateOrConnectWithoutRefundInput[];
|
|
392
|
+
upsert?: Prisma.RefundLineUpsertWithWhereUniqueWithoutRefundInput | Prisma.RefundLineUpsertWithWhereUniqueWithoutRefundInput[];
|
|
393
|
+
createMany?: Prisma.RefundLineCreateManyRefundInputEnvelope;
|
|
394
|
+
set?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
395
|
+
disconnect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
396
|
+
delete?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
397
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
398
|
+
update?: Prisma.RefundLineUpdateWithWhereUniqueWithoutRefundInput | Prisma.RefundLineUpdateWithWhereUniqueWithoutRefundInput[];
|
|
399
|
+
updateMany?: Prisma.RefundLineUpdateManyWithWhereWithoutRefundInput | Prisma.RefundLineUpdateManyWithWhereWithoutRefundInput[];
|
|
400
|
+
deleteMany?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
401
|
+
};
|
|
402
|
+
export type RefundLineUncheckedUpdateManyWithoutRefundNestedInput = {
|
|
403
|
+
create?: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput> | Prisma.RefundLineCreateWithoutRefundInput[] | Prisma.RefundLineUncheckedCreateWithoutRefundInput[];
|
|
404
|
+
connectOrCreate?: Prisma.RefundLineCreateOrConnectWithoutRefundInput | Prisma.RefundLineCreateOrConnectWithoutRefundInput[];
|
|
405
|
+
upsert?: Prisma.RefundLineUpsertWithWhereUniqueWithoutRefundInput | Prisma.RefundLineUpsertWithWhereUniqueWithoutRefundInput[];
|
|
406
|
+
createMany?: Prisma.RefundLineCreateManyRefundInputEnvelope;
|
|
407
|
+
set?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
408
|
+
disconnect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
409
|
+
delete?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
410
|
+
connect?: Prisma.RefundLineWhereUniqueInput | Prisma.RefundLineWhereUniqueInput[];
|
|
411
|
+
update?: Prisma.RefundLineUpdateWithWhereUniqueWithoutRefundInput | Prisma.RefundLineUpdateWithWhereUniqueWithoutRefundInput[];
|
|
412
|
+
updateMany?: Prisma.RefundLineUpdateManyWithWhereWithoutRefundInput | Prisma.RefundLineUpdateManyWithWhereWithoutRefundInput[];
|
|
413
|
+
deleteMany?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
414
|
+
};
|
|
415
|
+
export type RefundLineCreateWithoutCheckoutLineInput = {
|
|
416
|
+
id?: bigint | number;
|
|
417
|
+
createdAt?: Date | string;
|
|
418
|
+
updatedAt?: Date | string;
|
|
419
|
+
quantity: number;
|
|
420
|
+
refund: Prisma.RefundCreateNestedOneWithoutLinesInput;
|
|
421
|
+
};
|
|
422
|
+
export type RefundLineUncheckedCreateWithoutCheckoutLineInput = {
|
|
423
|
+
id?: bigint | number;
|
|
424
|
+
createdAt?: Date | string;
|
|
425
|
+
updatedAt?: Date | string;
|
|
426
|
+
quantity: number;
|
|
427
|
+
refundId: bigint | number;
|
|
428
|
+
};
|
|
429
|
+
export type RefundLineCreateOrConnectWithoutCheckoutLineInput = {
|
|
430
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
431
|
+
create: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput>;
|
|
432
|
+
};
|
|
433
|
+
export type RefundLineCreateManyCheckoutLineInputEnvelope = {
|
|
434
|
+
data: Prisma.RefundLineCreateManyCheckoutLineInput | Prisma.RefundLineCreateManyCheckoutLineInput[];
|
|
435
|
+
skipDuplicates?: boolean;
|
|
436
|
+
};
|
|
437
|
+
export type RefundLineUpsertWithWhereUniqueWithoutCheckoutLineInput = {
|
|
438
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
439
|
+
update: Prisma.XOR<Prisma.RefundLineUpdateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedUpdateWithoutCheckoutLineInput>;
|
|
440
|
+
create: Prisma.XOR<Prisma.RefundLineCreateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedCreateWithoutCheckoutLineInput>;
|
|
441
|
+
};
|
|
442
|
+
export type RefundLineUpdateWithWhereUniqueWithoutCheckoutLineInput = {
|
|
443
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
444
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateWithoutCheckoutLineInput, Prisma.RefundLineUncheckedUpdateWithoutCheckoutLineInput>;
|
|
445
|
+
};
|
|
446
|
+
export type RefundLineUpdateManyWithWhereWithoutCheckoutLineInput = {
|
|
447
|
+
where: Prisma.RefundLineScalarWhereInput;
|
|
448
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateManyMutationInput, Prisma.RefundLineUncheckedUpdateManyWithoutCheckoutLineInput>;
|
|
449
|
+
};
|
|
450
|
+
export type RefundLineScalarWhereInput = {
|
|
451
|
+
AND?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
452
|
+
OR?: Prisma.RefundLineScalarWhereInput[];
|
|
453
|
+
NOT?: Prisma.RefundLineScalarWhereInput | Prisma.RefundLineScalarWhereInput[];
|
|
454
|
+
id?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
455
|
+
createdAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
456
|
+
updatedAt?: Prisma.DateTimeFilter<"RefundLine"> | Date | string;
|
|
457
|
+
quantity?: Prisma.IntFilter<"RefundLine"> | number;
|
|
458
|
+
checkoutLineId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
459
|
+
refundId?: Prisma.BigIntFilter<"RefundLine"> | bigint | number;
|
|
460
|
+
};
|
|
461
|
+
export type RefundLineCreateWithoutRefundInput = {
|
|
462
|
+
id?: bigint | number;
|
|
463
|
+
createdAt?: Date | string;
|
|
464
|
+
updatedAt?: Date | string;
|
|
465
|
+
quantity: number;
|
|
466
|
+
checkoutLine: Prisma.CheckoutLineCreateNestedOneWithoutRefundLinesInput;
|
|
467
|
+
};
|
|
468
|
+
export type RefundLineUncheckedCreateWithoutRefundInput = {
|
|
469
|
+
id?: bigint | number;
|
|
470
|
+
createdAt?: Date | string;
|
|
471
|
+
updatedAt?: Date | string;
|
|
472
|
+
quantity: number;
|
|
473
|
+
checkoutLineId: bigint | number;
|
|
474
|
+
};
|
|
475
|
+
export type RefundLineCreateOrConnectWithoutRefundInput = {
|
|
476
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
477
|
+
create: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput>;
|
|
478
|
+
};
|
|
479
|
+
export type RefundLineCreateManyRefundInputEnvelope = {
|
|
480
|
+
data: Prisma.RefundLineCreateManyRefundInput | Prisma.RefundLineCreateManyRefundInput[];
|
|
481
|
+
skipDuplicates?: boolean;
|
|
482
|
+
};
|
|
483
|
+
export type RefundLineUpsertWithWhereUniqueWithoutRefundInput = {
|
|
484
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
485
|
+
update: Prisma.XOR<Prisma.RefundLineUpdateWithoutRefundInput, Prisma.RefundLineUncheckedUpdateWithoutRefundInput>;
|
|
486
|
+
create: Prisma.XOR<Prisma.RefundLineCreateWithoutRefundInput, Prisma.RefundLineUncheckedCreateWithoutRefundInput>;
|
|
487
|
+
};
|
|
488
|
+
export type RefundLineUpdateWithWhereUniqueWithoutRefundInput = {
|
|
489
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
490
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateWithoutRefundInput, Prisma.RefundLineUncheckedUpdateWithoutRefundInput>;
|
|
491
|
+
};
|
|
492
|
+
export type RefundLineUpdateManyWithWhereWithoutRefundInput = {
|
|
493
|
+
where: Prisma.RefundLineScalarWhereInput;
|
|
494
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateManyMutationInput, Prisma.RefundLineUncheckedUpdateManyWithoutRefundInput>;
|
|
495
|
+
};
|
|
496
|
+
export type RefundLineCreateManyCheckoutLineInput = {
|
|
497
|
+
id?: bigint | number;
|
|
498
|
+
createdAt?: Date | string;
|
|
499
|
+
updatedAt?: Date | string;
|
|
500
|
+
quantity: number;
|
|
501
|
+
refundId: bigint | number;
|
|
502
|
+
};
|
|
503
|
+
export type RefundLineUpdateWithoutCheckoutLineInput = {
|
|
504
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
505
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
506
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
507
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
508
|
+
refund?: Prisma.RefundUpdateOneRequiredWithoutLinesNestedInput;
|
|
509
|
+
};
|
|
510
|
+
export type RefundLineUncheckedUpdateWithoutCheckoutLineInput = {
|
|
511
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
512
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
515
|
+
refundId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
516
|
+
};
|
|
517
|
+
export type RefundLineUncheckedUpdateManyWithoutCheckoutLineInput = {
|
|
518
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
519
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
520
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
521
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
522
|
+
refundId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
523
|
+
};
|
|
524
|
+
export type RefundLineCreateManyRefundInput = {
|
|
525
|
+
id?: bigint | number;
|
|
526
|
+
createdAt?: Date | string;
|
|
527
|
+
updatedAt?: Date | string;
|
|
528
|
+
quantity: number;
|
|
529
|
+
checkoutLineId: bigint | number;
|
|
530
|
+
};
|
|
531
|
+
export type RefundLineUpdateWithoutRefundInput = {
|
|
532
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
533
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
534
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
535
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
536
|
+
checkoutLine?: Prisma.CheckoutLineUpdateOneRequiredWithoutRefundLinesNestedInput;
|
|
537
|
+
};
|
|
538
|
+
export type RefundLineUncheckedUpdateWithoutRefundInput = {
|
|
539
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
540
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
541
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
542
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
543
|
+
checkoutLineId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
544
|
+
};
|
|
545
|
+
export type RefundLineUncheckedUpdateManyWithoutRefundInput = {
|
|
546
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
547
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
548
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
549
|
+
quantity?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
550
|
+
checkoutLineId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
551
|
+
};
|
|
552
|
+
export type RefundLineSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
553
|
+
id?: boolean;
|
|
554
|
+
createdAt?: boolean;
|
|
555
|
+
updatedAt?: boolean;
|
|
556
|
+
quantity?: boolean;
|
|
557
|
+
checkoutLineId?: boolean;
|
|
558
|
+
refundId?: boolean;
|
|
559
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
560
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
561
|
+
}, ExtArgs["result"]["refundLine"]>;
|
|
562
|
+
export type RefundLineSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
563
|
+
id?: boolean;
|
|
564
|
+
createdAt?: boolean;
|
|
565
|
+
updatedAt?: boolean;
|
|
566
|
+
quantity?: boolean;
|
|
567
|
+
checkoutLineId?: boolean;
|
|
568
|
+
refundId?: boolean;
|
|
569
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
570
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
571
|
+
}, ExtArgs["result"]["refundLine"]>;
|
|
572
|
+
export type RefundLineSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
573
|
+
id?: boolean;
|
|
574
|
+
createdAt?: boolean;
|
|
575
|
+
updatedAt?: boolean;
|
|
576
|
+
quantity?: boolean;
|
|
577
|
+
checkoutLineId?: boolean;
|
|
578
|
+
refundId?: boolean;
|
|
579
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
580
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
581
|
+
}, ExtArgs["result"]["refundLine"]>;
|
|
582
|
+
export type RefundLineSelectScalar = {
|
|
583
|
+
id?: boolean;
|
|
584
|
+
createdAt?: boolean;
|
|
585
|
+
updatedAt?: boolean;
|
|
586
|
+
quantity?: boolean;
|
|
587
|
+
checkoutLineId?: boolean;
|
|
588
|
+
refundId?: boolean;
|
|
589
|
+
};
|
|
590
|
+
export type RefundLineOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "quantity" | "checkoutLineId" | "refundId", ExtArgs["result"]["refundLine"]>;
|
|
591
|
+
export type RefundLineInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
592
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
593
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
594
|
+
};
|
|
595
|
+
export type RefundLineIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
596
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
597
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
598
|
+
};
|
|
599
|
+
export type RefundLineIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
600
|
+
checkoutLine?: boolean | Prisma.CheckoutLineDefaultArgs<ExtArgs>;
|
|
601
|
+
refund?: boolean | Prisma.RefundDefaultArgs<ExtArgs>;
|
|
602
|
+
};
|
|
603
|
+
export type $RefundLinePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
604
|
+
name: "RefundLine";
|
|
605
|
+
objects: {
|
|
606
|
+
checkoutLine: Prisma.$CheckoutLinePayload<ExtArgs>;
|
|
607
|
+
refund: Prisma.$RefundPayload<ExtArgs>;
|
|
608
|
+
};
|
|
609
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
610
|
+
id: bigint;
|
|
611
|
+
createdAt: Date;
|
|
612
|
+
updatedAt: Date;
|
|
613
|
+
quantity: number;
|
|
614
|
+
checkoutLineId: bigint;
|
|
615
|
+
refundId: bigint;
|
|
616
|
+
}, ExtArgs["result"]["refundLine"]>;
|
|
617
|
+
composites: {};
|
|
618
|
+
};
|
|
619
|
+
export type RefundLineGetPayload<S extends boolean | null | undefined | RefundLineDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RefundLinePayload, S>;
|
|
620
|
+
export type RefundLineCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RefundLineFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
621
|
+
select?: RefundLineCountAggregateInputType | true;
|
|
622
|
+
};
|
|
623
|
+
export interface RefundLineDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
624
|
+
[K: symbol]: {
|
|
625
|
+
types: Prisma.TypeMap<ExtArgs>['model']['RefundLine'];
|
|
626
|
+
meta: {
|
|
627
|
+
name: 'RefundLine';
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Find zero or one RefundLine that matches the filter.
|
|
632
|
+
* @param {RefundLineFindUniqueArgs} args - Arguments to find a RefundLine
|
|
633
|
+
* @example
|
|
634
|
+
* // Get one RefundLine
|
|
635
|
+
* const refundLine = await prisma.refundLine.findUnique({
|
|
636
|
+
* where: {
|
|
637
|
+
* // ... provide filter here
|
|
638
|
+
* }
|
|
639
|
+
* })
|
|
640
|
+
*/
|
|
641
|
+
findUnique<T extends RefundLineFindUniqueArgs>(args: Prisma.SelectSubset<T, RefundLineFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
642
|
+
/**
|
|
643
|
+
* Find one RefundLine that matches the filter or throw an error with `error.code='P2025'`
|
|
644
|
+
* if no matches were found.
|
|
645
|
+
* @param {RefundLineFindUniqueOrThrowArgs} args - Arguments to find a RefundLine
|
|
646
|
+
* @example
|
|
647
|
+
* // Get one RefundLine
|
|
648
|
+
* const refundLine = await prisma.refundLine.findUniqueOrThrow({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... provide filter here
|
|
651
|
+
* }
|
|
652
|
+
* })
|
|
653
|
+
*/
|
|
654
|
+
findUniqueOrThrow<T extends RefundLineFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RefundLineFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
655
|
+
/**
|
|
656
|
+
* Find the first RefundLine that matches the filter.
|
|
657
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
658
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
659
|
+
* @param {RefundLineFindFirstArgs} args - Arguments to find a RefundLine
|
|
660
|
+
* @example
|
|
661
|
+
* // Get one RefundLine
|
|
662
|
+
* const refundLine = await prisma.refundLine.findFirst({
|
|
663
|
+
* where: {
|
|
664
|
+
* // ... provide filter here
|
|
665
|
+
* }
|
|
666
|
+
* })
|
|
667
|
+
*/
|
|
668
|
+
findFirst<T extends RefundLineFindFirstArgs>(args?: Prisma.SelectSubset<T, RefundLineFindFirstArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
669
|
+
/**
|
|
670
|
+
* Find the first RefundLine that matches the filter or
|
|
671
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
672
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
673
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
674
|
+
* @param {RefundLineFindFirstOrThrowArgs} args - Arguments to find a RefundLine
|
|
675
|
+
* @example
|
|
676
|
+
* // Get one RefundLine
|
|
677
|
+
* const refundLine = await prisma.refundLine.findFirstOrThrow({
|
|
678
|
+
* where: {
|
|
679
|
+
* // ... provide filter here
|
|
680
|
+
* }
|
|
681
|
+
* })
|
|
682
|
+
*/
|
|
683
|
+
findFirstOrThrow<T extends RefundLineFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RefundLineFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
684
|
+
/**
|
|
685
|
+
* Find zero or more RefundLines that matches the filter.
|
|
686
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
+
* @param {RefundLineFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
689
|
+
* @example
|
|
690
|
+
* // Get all RefundLines
|
|
691
|
+
* const refundLines = await prisma.refundLine.findMany()
|
|
692
|
+
*
|
|
693
|
+
* // Get first 10 RefundLines
|
|
694
|
+
* const refundLines = await prisma.refundLine.findMany({ take: 10 })
|
|
695
|
+
*
|
|
696
|
+
* // Only select the `id`
|
|
697
|
+
* const refundLineWithIdOnly = await prisma.refundLine.findMany({ select: { id: true } })
|
|
698
|
+
*
|
|
699
|
+
*/
|
|
700
|
+
findMany<T extends RefundLineFindManyArgs>(args?: Prisma.SelectSubset<T, RefundLineFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
701
|
+
/**
|
|
702
|
+
* Create a RefundLine.
|
|
703
|
+
* @param {RefundLineCreateArgs} args - Arguments to create a RefundLine.
|
|
704
|
+
* @example
|
|
705
|
+
* // Create one RefundLine
|
|
706
|
+
* const RefundLine = await prisma.refundLine.create({
|
|
707
|
+
* data: {
|
|
708
|
+
* // ... data to create a RefundLine
|
|
709
|
+
* }
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
create<T extends RefundLineCreateArgs>(args: Prisma.SelectSubset<T, RefundLineCreateArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
714
|
+
/**
|
|
715
|
+
* Create many RefundLines.
|
|
716
|
+
* @param {RefundLineCreateManyArgs} args - Arguments to create many RefundLines.
|
|
717
|
+
* @example
|
|
718
|
+
* // Create many RefundLines
|
|
719
|
+
* const refundLine = await prisma.refundLine.createMany({
|
|
720
|
+
* data: [
|
|
721
|
+
* // ... provide data here
|
|
722
|
+
* ]
|
|
723
|
+
* })
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
createMany<T extends RefundLineCreateManyArgs>(args?: Prisma.SelectSubset<T, RefundLineCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
727
|
+
/**
|
|
728
|
+
* Create many RefundLines and returns the data saved in the database.
|
|
729
|
+
* @param {RefundLineCreateManyAndReturnArgs} args - Arguments to create many RefundLines.
|
|
730
|
+
* @example
|
|
731
|
+
* // Create many RefundLines
|
|
732
|
+
* const refundLine = await prisma.refundLine.createManyAndReturn({
|
|
733
|
+
* data: [
|
|
734
|
+
* // ... provide data here
|
|
735
|
+
* ]
|
|
736
|
+
* })
|
|
737
|
+
*
|
|
738
|
+
* // Create many RefundLines and only return the `id`
|
|
739
|
+
* const refundLineWithIdOnly = await prisma.refundLine.createManyAndReturn({
|
|
740
|
+
* select: { id: true },
|
|
741
|
+
* data: [
|
|
742
|
+
* // ... provide data here
|
|
743
|
+
* ]
|
|
744
|
+
* })
|
|
745
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
746
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
747
|
+
*
|
|
748
|
+
*/
|
|
749
|
+
createManyAndReturn<T extends RefundLineCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RefundLineCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
750
|
+
/**
|
|
751
|
+
* Delete a RefundLine.
|
|
752
|
+
* @param {RefundLineDeleteArgs} args - Arguments to delete one RefundLine.
|
|
753
|
+
* @example
|
|
754
|
+
* // Delete one RefundLine
|
|
755
|
+
* const RefundLine = await prisma.refundLine.delete({
|
|
756
|
+
* where: {
|
|
757
|
+
* // ... filter to delete one RefundLine
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
delete<T extends RefundLineDeleteArgs>(args: Prisma.SelectSubset<T, RefundLineDeleteArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
763
|
+
/**
|
|
764
|
+
* Update one RefundLine.
|
|
765
|
+
* @param {RefundLineUpdateArgs} args - Arguments to update one RefundLine.
|
|
766
|
+
* @example
|
|
767
|
+
* // Update one RefundLine
|
|
768
|
+
* const refundLine = await prisma.refundLine.update({
|
|
769
|
+
* where: {
|
|
770
|
+
* // ... provide filter here
|
|
771
|
+
* },
|
|
772
|
+
* data: {
|
|
773
|
+
* // ... provide data here
|
|
774
|
+
* }
|
|
775
|
+
* })
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
778
|
+
update<T extends RefundLineUpdateArgs>(args: Prisma.SelectSubset<T, RefundLineUpdateArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
779
|
+
/**
|
|
780
|
+
* Delete zero or more RefundLines.
|
|
781
|
+
* @param {RefundLineDeleteManyArgs} args - Arguments to filter RefundLines to delete.
|
|
782
|
+
* @example
|
|
783
|
+
* // Delete a few RefundLines
|
|
784
|
+
* const { count } = await prisma.refundLine.deleteMany({
|
|
785
|
+
* where: {
|
|
786
|
+
* // ... provide filter here
|
|
787
|
+
* }
|
|
788
|
+
* })
|
|
789
|
+
*
|
|
790
|
+
*/
|
|
791
|
+
deleteMany<T extends RefundLineDeleteManyArgs>(args?: Prisma.SelectSubset<T, RefundLineDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
792
|
+
/**
|
|
793
|
+
* Update zero or more RefundLines.
|
|
794
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
795
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
796
|
+
* @param {RefundLineUpdateManyArgs} args - Arguments to update one or more rows.
|
|
797
|
+
* @example
|
|
798
|
+
* // Update many RefundLines
|
|
799
|
+
* const refundLine = await prisma.refundLine.updateMany({
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... provide filter here
|
|
802
|
+
* },
|
|
803
|
+
* data: {
|
|
804
|
+
* // ... provide data here
|
|
805
|
+
* }
|
|
806
|
+
* })
|
|
807
|
+
*
|
|
808
|
+
*/
|
|
809
|
+
updateMany<T extends RefundLineUpdateManyArgs>(args: Prisma.SelectSubset<T, RefundLineUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
810
|
+
/**
|
|
811
|
+
* Update zero or more RefundLines and returns the data updated in the database.
|
|
812
|
+
* @param {RefundLineUpdateManyAndReturnArgs} args - Arguments to update many RefundLines.
|
|
813
|
+
* @example
|
|
814
|
+
* // Update many RefundLines
|
|
815
|
+
* const refundLine = await prisma.refundLine.updateManyAndReturn({
|
|
816
|
+
* where: {
|
|
817
|
+
* // ... provide filter here
|
|
818
|
+
* },
|
|
819
|
+
* data: [
|
|
820
|
+
* // ... provide data here
|
|
821
|
+
* ]
|
|
822
|
+
* })
|
|
823
|
+
*
|
|
824
|
+
* // Update zero or more RefundLines and only return the `id`
|
|
825
|
+
* const refundLineWithIdOnly = await prisma.refundLine.updateManyAndReturn({
|
|
826
|
+
* select: { id: true },
|
|
827
|
+
* where: {
|
|
828
|
+
* // ... provide filter here
|
|
829
|
+
* },
|
|
830
|
+
* data: [
|
|
831
|
+
* // ... provide data here
|
|
832
|
+
* ]
|
|
833
|
+
* })
|
|
834
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
835
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
836
|
+
*
|
|
837
|
+
*/
|
|
838
|
+
updateManyAndReturn<T extends RefundLineUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RefundLineUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
839
|
+
/**
|
|
840
|
+
* Create or update one RefundLine.
|
|
841
|
+
* @param {RefundLineUpsertArgs} args - Arguments to update or create a RefundLine.
|
|
842
|
+
* @example
|
|
843
|
+
* // Update or create a RefundLine
|
|
844
|
+
* const refundLine = await prisma.refundLine.upsert({
|
|
845
|
+
* create: {
|
|
846
|
+
* // ... data to create a RefundLine
|
|
847
|
+
* },
|
|
848
|
+
* update: {
|
|
849
|
+
* // ... in case it already exists, update
|
|
850
|
+
* },
|
|
851
|
+
* where: {
|
|
852
|
+
* // ... the filter for the RefundLine we want to update
|
|
853
|
+
* }
|
|
854
|
+
* })
|
|
855
|
+
*/
|
|
856
|
+
upsert<T extends RefundLineUpsertArgs>(args: Prisma.SelectSubset<T, RefundLineUpsertArgs<ExtArgs>>): Prisma.Prisma__RefundLineClient<runtime.Types.Result.GetResult<Prisma.$RefundLinePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
857
|
+
/**
|
|
858
|
+
* Count the number of RefundLines.
|
|
859
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
860
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
861
|
+
* @param {RefundLineCountArgs} args - Arguments to filter RefundLines to count.
|
|
862
|
+
* @example
|
|
863
|
+
* // Count the number of RefundLines
|
|
864
|
+
* const count = await prisma.refundLine.count({
|
|
865
|
+
* where: {
|
|
866
|
+
* // ... the filter for the RefundLines we want to count
|
|
867
|
+
* }
|
|
868
|
+
* })
|
|
869
|
+
**/
|
|
870
|
+
count<T extends RefundLineCountArgs>(args?: Prisma.Subset<T, RefundLineCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RefundLineCountAggregateOutputType> : number>;
|
|
871
|
+
/**
|
|
872
|
+
* Allows you to perform aggregations operations on a RefundLine.
|
|
873
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
874
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
875
|
+
* @param {RefundLineAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
876
|
+
* @example
|
|
877
|
+
* // Ordered by age ascending
|
|
878
|
+
* // Where email contains prisma.io
|
|
879
|
+
* // Limited to the 10 users
|
|
880
|
+
* const aggregations = await prisma.user.aggregate({
|
|
881
|
+
* _avg: {
|
|
882
|
+
* age: true,
|
|
883
|
+
* },
|
|
884
|
+
* where: {
|
|
885
|
+
* email: {
|
|
886
|
+
* contains: "prisma.io",
|
|
887
|
+
* },
|
|
888
|
+
* },
|
|
889
|
+
* orderBy: {
|
|
890
|
+
* age: "asc",
|
|
891
|
+
* },
|
|
892
|
+
* take: 10,
|
|
893
|
+
* })
|
|
894
|
+
**/
|
|
895
|
+
aggregate<T extends RefundLineAggregateArgs>(args: Prisma.Subset<T, RefundLineAggregateArgs>): Prisma.PrismaPromise<GetRefundLineAggregateType<T>>;
|
|
896
|
+
/**
|
|
897
|
+
* Group by RefundLine.
|
|
898
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
899
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
900
|
+
* @param {RefundLineGroupByArgs} args - Group by arguments.
|
|
901
|
+
* @example
|
|
902
|
+
* // Group by city, order by createdAt, get count
|
|
903
|
+
* const result = await prisma.user.groupBy({
|
|
904
|
+
* by: ['city', 'createdAt'],
|
|
905
|
+
* orderBy: {
|
|
906
|
+
* createdAt: true
|
|
907
|
+
* },
|
|
908
|
+
* _count: {
|
|
909
|
+
* _all: true
|
|
910
|
+
* },
|
|
911
|
+
* })
|
|
912
|
+
*
|
|
913
|
+
**/
|
|
914
|
+
groupBy<T extends RefundLineGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
915
|
+
orderBy: RefundLineGroupByArgs['orderBy'];
|
|
916
|
+
} : {
|
|
917
|
+
orderBy?: RefundLineGroupByArgs['orderBy'];
|
|
918
|
+
}, 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 ? {
|
|
919
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
920
|
+
Error,
|
|
921
|
+
'Field ',
|
|
922
|
+
P,
|
|
923
|
+
` in "having" needs to be provided in "by"`
|
|
924
|
+
];
|
|
925
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
926
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
927
|
+
}[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 ? {} : {
|
|
928
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
929
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
930
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
931
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, RefundLineGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRefundLineGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
932
|
+
/**
|
|
933
|
+
* Fields of the RefundLine model
|
|
934
|
+
*/
|
|
935
|
+
readonly fields: RefundLineFieldRefs;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* The delegate class that acts as a "Promise-like" for RefundLine.
|
|
939
|
+
* Why is this prefixed with `Prisma__`?
|
|
940
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
941
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
942
|
+
*/
|
|
943
|
+
export interface Prisma__RefundLineClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
944
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
945
|
+
checkoutLine<T extends Prisma.CheckoutLineDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutLineDefaultArgs<ExtArgs>>): Prisma.Prisma__CheckoutLineClient<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
946
|
+
refund<T extends Prisma.RefundDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RefundDefaultArgs<ExtArgs>>): Prisma.Prisma__RefundClient<runtime.Types.Result.GetResult<Prisma.$RefundPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
947
|
+
/**
|
|
948
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
949
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
950
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
951
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
952
|
+
*/
|
|
953
|
+
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>;
|
|
954
|
+
/**
|
|
955
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
956
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
957
|
+
* @returns A Promise for the completion of the callback.
|
|
958
|
+
*/
|
|
959
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
960
|
+
/**
|
|
961
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
962
|
+
* resolved value cannot be modified from the callback.
|
|
963
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
964
|
+
* @returns A Promise for the completion of the callback.
|
|
965
|
+
*/
|
|
966
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* Fields of the RefundLine model
|
|
970
|
+
*/
|
|
971
|
+
export interface RefundLineFieldRefs {
|
|
972
|
+
readonly id: Prisma.FieldRef<"RefundLine", 'BigInt'>;
|
|
973
|
+
readonly createdAt: Prisma.FieldRef<"RefundLine", 'DateTime'>;
|
|
974
|
+
readonly updatedAt: Prisma.FieldRef<"RefundLine", 'DateTime'>;
|
|
975
|
+
readonly quantity: Prisma.FieldRef<"RefundLine", 'Int'>;
|
|
976
|
+
readonly checkoutLineId: Prisma.FieldRef<"RefundLine", 'BigInt'>;
|
|
977
|
+
readonly refundId: Prisma.FieldRef<"RefundLine", 'BigInt'>;
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* RefundLine findUnique
|
|
981
|
+
*/
|
|
982
|
+
export type RefundLineFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
+
/**
|
|
984
|
+
* Select specific fields to fetch from the RefundLine
|
|
985
|
+
*/
|
|
986
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
987
|
+
/**
|
|
988
|
+
* Omit specific fields from the RefundLine
|
|
989
|
+
*/
|
|
990
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
991
|
+
/**
|
|
992
|
+
* Choose, which related nodes to fetch as well
|
|
993
|
+
*/
|
|
994
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
995
|
+
/**
|
|
996
|
+
* Filter, which RefundLine to fetch.
|
|
997
|
+
*/
|
|
998
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* RefundLine findUniqueOrThrow
|
|
1002
|
+
*/
|
|
1003
|
+
export type RefundLineFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1004
|
+
/**
|
|
1005
|
+
* Select specific fields to fetch from the RefundLine
|
|
1006
|
+
*/
|
|
1007
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* Omit specific fields from the RefundLine
|
|
1010
|
+
*/
|
|
1011
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Choose, which related nodes to fetch as well
|
|
1014
|
+
*/
|
|
1015
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Filter, which RefundLine to fetch.
|
|
1018
|
+
*/
|
|
1019
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* RefundLine findFirst
|
|
1023
|
+
*/
|
|
1024
|
+
export type RefundLineFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1025
|
+
/**
|
|
1026
|
+
* Select specific fields to fetch from the RefundLine
|
|
1027
|
+
*/
|
|
1028
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* Omit specific fields from the RefundLine
|
|
1031
|
+
*/
|
|
1032
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1033
|
+
/**
|
|
1034
|
+
* Choose, which related nodes to fetch as well
|
|
1035
|
+
*/
|
|
1036
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1037
|
+
/**
|
|
1038
|
+
* Filter, which RefundLine to fetch.
|
|
1039
|
+
*/
|
|
1040
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1041
|
+
/**
|
|
1042
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1043
|
+
*
|
|
1044
|
+
* Determine the order of RefundLines to fetch.
|
|
1045
|
+
*/
|
|
1046
|
+
orderBy?: Prisma.RefundLineOrderByWithRelationInput | Prisma.RefundLineOrderByWithRelationInput[];
|
|
1047
|
+
/**
|
|
1048
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1049
|
+
*
|
|
1050
|
+
* Sets the position for searching for RefundLines.
|
|
1051
|
+
*/
|
|
1052
|
+
cursor?: Prisma.RefundLineWhereUniqueInput;
|
|
1053
|
+
/**
|
|
1054
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1055
|
+
*
|
|
1056
|
+
* Take `±n` RefundLines from the position of the cursor.
|
|
1057
|
+
*/
|
|
1058
|
+
take?: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1061
|
+
*
|
|
1062
|
+
* Skip the first `n` RefundLines.
|
|
1063
|
+
*/
|
|
1064
|
+
skip?: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1067
|
+
*
|
|
1068
|
+
* Filter by unique combinations of RefundLines.
|
|
1069
|
+
*/
|
|
1070
|
+
distinct?: Prisma.RefundLineScalarFieldEnum | Prisma.RefundLineScalarFieldEnum[];
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* RefundLine findFirstOrThrow
|
|
1074
|
+
*/
|
|
1075
|
+
export type RefundLineFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1076
|
+
/**
|
|
1077
|
+
* Select specific fields to fetch from the RefundLine
|
|
1078
|
+
*/
|
|
1079
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Omit specific fields from the RefundLine
|
|
1082
|
+
*/
|
|
1083
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Choose, which related nodes to fetch as well
|
|
1086
|
+
*/
|
|
1087
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Filter, which RefundLine to fetch.
|
|
1090
|
+
*/
|
|
1091
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1092
|
+
/**
|
|
1093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1094
|
+
*
|
|
1095
|
+
* Determine the order of RefundLines to fetch.
|
|
1096
|
+
*/
|
|
1097
|
+
orderBy?: Prisma.RefundLineOrderByWithRelationInput | Prisma.RefundLineOrderByWithRelationInput[];
|
|
1098
|
+
/**
|
|
1099
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1100
|
+
*
|
|
1101
|
+
* Sets the position for searching for RefundLines.
|
|
1102
|
+
*/
|
|
1103
|
+
cursor?: Prisma.RefundLineWhereUniqueInput;
|
|
1104
|
+
/**
|
|
1105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1106
|
+
*
|
|
1107
|
+
* Take `±n` RefundLines from the position of the cursor.
|
|
1108
|
+
*/
|
|
1109
|
+
take?: number;
|
|
1110
|
+
/**
|
|
1111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1112
|
+
*
|
|
1113
|
+
* Skip the first `n` RefundLines.
|
|
1114
|
+
*/
|
|
1115
|
+
skip?: number;
|
|
1116
|
+
/**
|
|
1117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1118
|
+
*
|
|
1119
|
+
* Filter by unique combinations of RefundLines.
|
|
1120
|
+
*/
|
|
1121
|
+
distinct?: Prisma.RefundLineScalarFieldEnum | Prisma.RefundLineScalarFieldEnum[];
|
|
1122
|
+
};
|
|
1123
|
+
/**
|
|
1124
|
+
* RefundLine findMany
|
|
1125
|
+
*/
|
|
1126
|
+
export type RefundLineFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
/**
|
|
1128
|
+
* Select specific fields to fetch from the RefundLine
|
|
1129
|
+
*/
|
|
1130
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Omit specific fields from the RefundLine
|
|
1133
|
+
*/
|
|
1134
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1135
|
+
/**
|
|
1136
|
+
* Choose, which related nodes to fetch as well
|
|
1137
|
+
*/
|
|
1138
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1139
|
+
/**
|
|
1140
|
+
* Filter, which RefundLines to fetch.
|
|
1141
|
+
*/
|
|
1142
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1143
|
+
/**
|
|
1144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1145
|
+
*
|
|
1146
|
+
* Determine the order of RefundLines to fetch.
|
|
1147
|
+
*/
|
|
1148
|
+
orderBy?: Prisma.RefundLineOrderByWithRelationInput | Prisma.RefundLineOrderByWithRelationInput[];
|
|
1149
|
+
/**
|
|
1150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1151
|
+
*
|
|
1152
|
+
* Sets the position for listing RefundLines.
|
|
1153
|
+
*/
|
|
1154
|
+
cursor?: Prisma.RefundLineWhereUniqueInput;
|
|
1155
|
+
/**
|
|
1156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1157
|
+
*
|
|
1158
|
+
* Take `±n` RefundLines from the position of the cursor.
|
|
1159
|
+
*/
|
|
1160
|
+
take?: number;
|
|
1161
|
+
/**
|
|
1162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1163
|
+
*
|
|
1164
|
+
* Skip the first `n` RefundLines.
|
|
1165
|
+
*/
|
|
1166
|
+
skip?: number;
|
|
1167
|
+
distinct?: Prisma.RefundLineScalarFieldEnum | Prisma.RefundLineScalarFieldEnum[];
|
|
1168
|
+
};
|
|
1169
|
+
/**
|
|
1170
|
+
* RefundLine create
|
|
1171
|
+
*/
|
|
1172
|
+
export type RefundLineCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Select specific fields to fetch from the RefundLine
|
|
1175
|
+
*/
|
|
1176
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Omit specific fields from the RefundLine
|
|
1179
|
+
*/
|
|
1180
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Choose, which related nodes to fetch as well
|
|
1183
|
+
*/
|
|
1184
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* The data needed to create a RefundLine.
|
|
1187
|
+
*/
|
|
1188
|
+
data: Prisma.XOR<Prisma.RefundLineCreateInput, Prisma.RefundLineUncheckedCreateInput>;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* RefundLine createMany
|
|
1192
|
+
*/
|
|
1193
|
+
export type RefundLineCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* The data used to create many RefundLines.
|
|
1196
|
+
*/
|
|
1197
|
+
data: Prisma.RefundLineCreateManyInput | Prisma.RefundLineCreateManyInput[];
|
|
1198
|
+
skipDuplicates?: boolean;
|
|
1199
|
+
};
|
|
1200
|
+
/**
|
|
1201
|
+
* RefundLine createManyAndReturn
|
|
1202
|
+
*/
|
|
1203
|
+
export type RefundLineCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1204
|
+
/**
|
|
1205
|
+
* Select specific fields to fetch from the RefundLine
|
|
1206
|
+
*/
|
|
1207
|
+
select?: Prisma.RefundLineSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Omit specific fields from the RefundLine
|
|
1210
|
+
*/
|
|
1211
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* The data used to create many RefundLines.
|
|
1214
|
+
*/
|
|
1215
|
+
data: Prisma.RefundLineCreateManyInput | Prisma.RefundLineCreateManyInput[];
|
|
1216
|
+
skipDuplicates?: boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* Choose, which related nodes to fetch as well
|
|
1219
|
+
*/
|
|
1220
|
+
include?: Prisma.RefundLineIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1221
|
+
};
|
|
1222
|
+
/**
|
|
1223
|
+
* RefundLine update
|
|
1224
|
+
*/
|
|
1225
|
+
export type RefundLineUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1226
|
+
/**
|
|
1227
|
+
* Select specific fields to fetch from the RefundLine
|
|
1228
|
+
*/
|
|
1229
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Omit specific fields from the RefundLine
|
|
1232
|
+
*/
|
|
1233
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* Choose, which related nodes to fetch as well
|
|
1236
|
+
*/
|
|
1237
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* The data needed to update a RefundLine.
|
|
1240
|
+
*/
|
|
1241
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateInput, Prisma.RefundLineUncheckedUpdateInput>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Choose, which RefundLine to update.
|
|
1244
|
+
*/
|
|
1245
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* RefundLine updateMany
|
|
1249
|
+
*/
|
|
1250
|
+
export type RefundLineUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* The data used to update RefundLines.
|
|
1253
|
+
*/
|
|
1254
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateManyMutationInput, Prisma.RefundLineUncheckedUpdateManyInput>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Filter which RefundLines to update
|
|
1257
|
+
*/
|
|
1258
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1259
|
+
/**
|
|
1260
|
+
* Limit how many RefundLines to update.
|
|
1261
|
+
*/
|
|
1262
|
+
limit?: number;
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* RefundLine updateManyAndReturn
|
|
1266
|
+
*/
|
|
1267
|
+
export type RefundLineUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1268
|
+
/**
|
|
1269
|
+
* Select specific fields to fetch from the RefundLine
|
|
1270
|
+
*/
|
|
1271
|
+
select?: Prisma.RefundLineSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1272
|
+
/**
|
|
1273
|
+
* Omit specific fields from the RefundLine
|
|
1274
|
+
*/
|
|
1275
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1276
|
+
/**
|
|
1277
|
+
* The data used to update RefundLines.
|
|
1278
|
+
*/
|
|
1279
|
+
data: Prisma.XOR<Prisma.RefundLineUpdateManyMutationInput, Prisma.RefundLineUncheckedUpdateManyInput>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Filter which RefundLines to update
|
|
1282
|
+
*/
|
|
1283
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1284
|
+
/**
|
|
1285
|
+
* Limit how many RefundLines to update.
|
|
1286
|
+
*/
|
|
1287
|
+
limit?: number;
|
|
1288
|
+
/**
|
|
1289
|
+
* Choose, which related nodes to fetch as well
|
|
1290
|
+
*/
|
|
1291
|
+
include?: Prisma.RefundLineIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1292
|
+
};
|
|
1293
|
+
/**
|
|
1294
|
+
* RefundLine upsert
|
|
1295
|
+
*/
|
|
1296
|
+
export type RefundLineUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Select specific fields to fetch from the RefundLine
|
|
1299
|
+
*/
|
|
1300
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1301
|
+
/**
|
|
1302
|
+
* Omit specific fields from the RefundLine
|
|
1303
|
+
*/
|
|
1304
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1305
|
+
/**
|
|
1306
|
+
* Choose, which related nodes to fetch as well
|
|
1307
|
+
*/
|
|
1308
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* The filter to search for the RefundLine to update in case it exists.
|
|
1311
|
+
*/
|
|
1312
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
1313
|
+
/**
|
|
1314
|
+
* In case the RefundLine found by the `where` argument doesn't exist, create a new RefundLine with this data.
|
|
1315
|
+
*/
|
|
1316
|
+
create: Prisma.XOR<Prisma.RefundLineCreateInput, Prisma.RefundLineUncheckedCreateInput>;
|
|
1317
|
+
/**
|
|
1318
|
+
* In case the RefundLine was found with the provided `where` argument, update it with this data.
|
|
1319
|
+
*/
|
|
1320
|
+
update: Prisma.XOR<Prisma.RefundLineUpdateInput, Prisma.RefundLineUncheckedUpdateInput>;
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* RefundLine delete
|
|
1324
|
+
*/
|
|
1325
|
+
export type RefundLineDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1326
|
+
/**
|
|
1327
|
+
* Select specific fields to fetch from the RefundLine
|
|
1328
|
+
*/
|
|
1329
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Omit specific fields from the RefundLine
|
|
1332
|
+
*/
|
|
1333
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* Choose, which related nodes to fetch as well
|
|
1336
|
+
*/
|
|
1337
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1338
|
+
/**
|
|
1339
|
+
* Filter which RefundLine to delete.
|
|
1340
|
+
*/
|
|
1341
|
+
where: Prisma.RefundLineWhereUniqueInput;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* RefundLine deleteMany
|
|
1345
|
+
*/
|
|
1346
|
+
export type RefundLineDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1347
|
+
/**
|
|
1348
|
+
* Filter which RefundLines to delete
|
|
1349
|
+
*/
|
|
1350
|
+
where?: Prisma.RefundLineWhereInput;
|
|
1351
|
+
/**
|
|
1352
|
+
* Limit how many RefundLines to delete.
|
|
1353
|
+
*/
|
|
1354
|
+
limit?: number;
|
|
1355
|
+
};
|
|
1356
|
+
/**
|
|
1357
|
+
* RefundLine without action
|
|
1358
|
+
*/
|
|
1359
|
+
export type RefundLineDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1360
|
+
/**
|
|
1361
|
+
* Select specific fields to fetch from the RefundLine
|
|
1362
|
+
*/
|
|
1363
|
+
select?: Prisma.RefundLineSelect<ExtArgs> | null;
|
|
1364
|
+
/**
|
|
1365
|
+
* Omit specific fields from the RefundLine
|
|
1366
|
+
*/
|
|
1367
|
+
omit?: Prisma.RefundLineOmit<ExtArgs> | null;
|
|
1368
|
+
/**
|
|
1369
|
+
* Choose, which related nodes to fetch as well
|
|
1370
|
+
*/
|
|
1371
|
+
include?: Prisma.RefundLineInclude<ExtArgs> | null;
|
|
1372
|
+
};
|
|
1373
|
+
export {};
|