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