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