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