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