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