@shophost/rest-api 2.0.29 → 2.0.31
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/package.json +18 -13
- package/scripts/minify.mjs +110 -0
- package/src/app.js +1 -53
- package/src/core/auth/auth.schema.js +1 -41
- package/src/core/auth/auth.util.js +1 -44
- package/src/core/auth/better-auth.lib.js +1 -100
- package/src/core/auth/generate-password-hash.util.d.ts +0 -3
- package/src/core/auth/generate-password-hash.util.js +1 -30
- package/src/core/auth/headers.schema.js +1 -22
- package/src/core/auth/user.schema.js +1 -30
- package/src/core/db/__generated__/client/browser.d.ts +0 -128
- package/src/core/db/__generated__/client/browser.js +1 -18
- package/src/core/db/__generated__/client/client.d.ts +0 -143
- package/src/core/db/__generated__/client/client.js +1 -35
- package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
- package/src/core/db/__generated__/client/enums.js +1 -200
- package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
- package/src/core/db/__generated__/client/internal/class.js +1 -55
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Account.js +1 -2
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
- package/src/core/db/__generated__/client/models/Address.js +1 -2
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
- package/src/core/db/__generated__/client/models/Campaign.js +1 -2
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
- package/src/core/db/__generated__/client/models/File.d.ts +0 -752
- package/src/core/db/__generated__/client/models/File.js +1 -2
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Invitation.js +1 -2
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
- package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
- package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Member.js +1 -2
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
- package/src/core/db/__generated__/client/models/Modifier.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
- package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
- package/src/core/db/__generated__/client/models/Order.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
- package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
- package/src/core/db/__generated__/client/models/Organization.js +1 -2
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
- package/src/core/db/__generated__/client/models/Payment.js +1 -2
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
- package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
- package/src/core/db/__generated__/client/models/Product.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
- package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
- package/src/core/db/__generated__/client/models/Reservation.js +1 -2
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Session.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
- package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
- package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
- package/src/core/db/__generated__/client/models/User.d.ts +0 -736
- package/src/core/db/__generated__/client/models/User.js +1 -2
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
- package/src/core/db/__generated__/client/models/Verification.js +1 -2
- package/src/core/db/__generated__/client/models.js +1 -2
- package/src/core/db/index.js +1 -2
- package/src/core/exceptions/http-exception.js +1 -9
- package/src/core/hono/hono.js +1 -123
- package/src/core/lib/prisma.d.ts +9 -1
- package/src/core/lib/prisma.js +1 -11
- package/src/core/logging/pino.js +1 -5
- package/src/core/notifications/email.service.d.ts +0 -15
- package/src/core/notifications/email.service.js +1 -116
- package/src/core/openapi/openapi.lib.js +1 -26
- package/src/core/types/google-maps.types.js +1 -2
- package/src/core/utils/currency.util.js +1 -11
- package/src/core/utils/env.util.js +1 -8
- package/src/core/utils/object.util.d.ts +0 -10
- package/src/core/utils/object.util.js +1 -39
- package/src/core/utils/translations.util.js +0 -2
- package/src/core/utils/zod.util.d.ts +0 -12
- package/src/core/utils/zod.util.js +1 -85
- package/src/db.js +1 -3
- package/src/features/access/access.handler.js +1 -91
- package/src/features/access/access.route.js +1 -220
- package/src/features/access/access.schema.js +1 -108
- package/src/features/access/access.service.js +1 -294
- package/src/features/cart/cart.handler.js +1 -17
- package/src/features/cart/cart.route.js +1 -32
- package/src/features/cart/cart.schema.js +1 -39
- package/src/features/cart/cart.service.d.ts +0 -7
- package/src/features/cart/cart.service.js +1 -97
- package/src/features/cart/cart.util.js +1 -76
- package/src/features/file/file.handler.js +1 -23
- package/src/features/file/file.route.js +1 -34
- package/src/features/file/file.schema.js +1 -77
- package/src/features/file/file.service.d.ts +0 -6
- package/src/features/file/file.service.js +1 -66
- package/src/features/health/health.handler.js +1 -10
- package/src/features/health/health.route.js +1 -25
- package/src/features/index.js +1 -16
- package/src/features/location/location.handler.js +1 -25
- package/src/features/location/location.route.js +1 -56
- package/src/features/location/location.schema.js +1 -50
- package/src/features/location/location.service.d.ts +0 -3
- package/src/features/location/location.service.js +1 -141
- package/src/features/manufacturer/manufacturer.handler.js +1 -53
- package/src/features/manufacturer/manufacturer.route.js +1 -97
- package/src/features/manufacturer/manufacturer.schema.js +1 -125
- package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
- package/src/features/manufacturer/manufacturer.service.js +1 -190
- package/src/features/order/emails/order-confirmation.email.js +1 -229
- package/src/features/order/emails/order-notification.email.js +1 -229
- package/src/features/order/fulfilment.schema.js +1 -3
- package/src/features/order/order.handler.js +1 -54
- package/src/features/order/order.route.js +1 -111
- package/src/features/order/order.schema.js +1 -158
- package/src/features/order/order.service.d.ts +0 -15
- package/src/features/order/order.service.js +1 -306
- package/src/features/order/recipient.schema.js +1 -38
- package/src/features/organization/legal-entity.schema.js +1 -83
- package/src/features/organization/organization-configuration.schema.js +1 -115
- package/src/features/organization/organization.handler.js +1 -48
- package/src/features/organization/organization.route.js +1 -84
- package/src/features/organization/organization.schema.js +1 -64
- package/src/features/organization/organization.service.d.ts +0 -15
- package/src/features/organization/organization.service.js +1 -334
- package/src/features/payment/payment.handler.js +1 -16
- package/src/features/payment/payment.route.js +1 -22
- package/src/features/payment/payment.schema.js +1 -46
- package/src/features/payment/payment.service.js +1 -100
- package/src/features/payment/stripe.service.js +1 -164
- package/src/features/product/product-modifier.schema.js +1 -84
- package/src/features/product/product.handler.js +1 -87
- package/src/features/product/product.route.js +1 -179
- package/src/features/product/product.schema.js +1 -143
- package/src/features/product/product.service.d.ts +0 -25
- package/src/features/product/product.service.js +1 -440
- package/src/features/product-category/product-category.handler.js +1 -59
- package/src/features/product-category/product-category.route.js +1 -139
- package/src/features/product-category/product-category.schema.js +1 -86
- package/src/features/product-category/product-category.service.d.ts +0 -22
- package/src/features/product-category/product-category.service.js +1 -220
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
- package/src/features/reservation/emails/reservation-notification.email.js +1 -93
- package/src/features/reservation/reservation.handler.js +1 -65
- package/src/features/reservation/reservation.route.js +1 -167
- package/src/features/reservation/reservation.schema.js +1 -51
- package/src/features/reservation/reservation.service.d.ts +0 -18
- package/src/features/reservation/reservation.service.js +1 -231
- package/src/features/shipping/shipping.handler.js +1 -32
- package/src/features/shipping/shipping.route.js +1 -51
- package/src/features/shipping/shipping.service.d.ts +0 -7
- package/src/features/shipping/shipping.service.js +1 -96
- package/src/features/shipping-method/shipping-method.handler.js +1 -60
- package/src/features/shipping-method/shipping-method.route.js +1 -144
- package/src/features/shipping-method/shipping-method.schema.js +1 -48
- package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
- package/src/features/shipping-method/shipping-method.service.js +1 -229
- package/src/features/shipping-method/shipping-zone.schema.js +1 -31
- package/src/features/webhook/webhook.handler.js +1 -50
- package/src/features/webhook/webhook.route.js +1 -33
- package/src/index.js +1 -6
- package/src/integrations/next.js +1 -82
- package/src/schemas/address.schema.d.ts +0 -8
- package/src/schemas/address.schema.js +1 -112
- package/src/schemas/currency.schema.d.ts +0 -42
- package/src/schemas/currency.schema.js +1 -118
- package/src/schemas/error.schema.js +1 -12
- package/src/schemas/index.js +1 -29
- package/src/schemas/locales.schema.js +1 -238
- package/src/schemas/number.schema.js +1 -29
- package/src/schemas/pagination.schema.js +1 -54
- package/src/schemas/params.schema.js +1 -20
- package/src/schemas/queries.schema.js +1 -6
- package/src/test/global-setup.d.ts +1 -0
- package/src/test/global-setup.js +1 -0
- package/src/test/integration/api-fixtures.d.ts +4 -16
- package/src/test/integration/api-fixtures.js +1 -225
- package/src/test/integration/seed.d.ts +81 -0
- package/src/test/integration/seed.js +1 -0
- package/src/test/integration/test-helpers.d.ts +107 -924
- package/src/test/integration/test-helpers.js +1 -1100
- package/src/test/setup-test-env.d.ts +1 -1
- package/src/test/setup-test-env.js +1 -29
- package/src/app.js.map +0 -1
- package/src/core/auth/auth.schema.js.map +0 -1
- package/src/core/auth/auth.util.js.map +0 -1
- package/src/core/auth/better-auth.lib.js.map +0 -1
- package/src/core/auth/generate-password-hash.util.js.map +0 -1
- package/src/core/auth/headers.schema.js.map +0 -1
- package/src/core/auth/user.schema.js.map +0 -1
- package/src/core/db/__generated__/client/browser.js.map +0 -1
- package/src/core/db/__generated__/client/client.js.map +0 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/core/db/__generated__/client/enums.js.map +0 -1
- package/src/core/db/__generated__/client/internal/class.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
- package/src/core/db/__generated__/client/models/Account.js.map +0 -1
- package/src/core/db/__generated__/client/models/Address.js.map +0 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/File.js.map +0 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Member.js.map +0 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/Order.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/core/db/__generated__/client/models/Product.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Session.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/core/db/__generated__/client/models/User.js.map +0 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/core/db/__generated__/client/models.js.map +0 -1
- package/src/core/db/index.js.map +0 -1
- package/src/core/exceptions/http-exception.js.map +0 -1
- package/src/core/hono/hono.js.map +0 -1
- package/src/core/lib/prisma.js.map +0 -1
- package/src/core/logging/pino.js.map +0 -1
- package/src/core/notifications/email.service.js.map +0 -1
- package/src/core/openapi/openapi.lib.js.map +0 -1
- package/src/core/types/google-maps.types.js.map +0 -1
- package/src/core/utils/currency.util.js.map +0 -1
- package/src/core/utils/env.util.js.map +0 -1
- package/src/core/utils/object.util.js.map +0 -1
- package/src/core/utils/translations.util.js.map +0 -1
- package/src/core/utils/zod.util.js.map +0 -1
- package/src/db.js.map +0 -1
- package/src/features/access/access.handler.js.map +0 -1
- package/src/features/access/access.route.js.map +0 -1
- package/src/features/access/access.schema.js.map +0 -1
- package/src/features/access/access.service.js.map +0 -1
- package/src/features/cart/cart.handler.js.map +0 -1
- package/src/features/cart/cart.route.js.map +0 -1
- package/src/features/cart/cart.schema.js.map +0 -1
- package/src/features/cart/cart.service.js.map +0 -1
- package/src/features/cart/cart.util.js.map +0 -1
- package/src/features/file/file.handler.js.map +0 -1
- package/src/features/file/file.route.js.map +0 -1
- package/src/features/file/file.schema.js.map +0 -1
- package/src/features/file/file.service.js.map +0 -1
- package/src/features/health/health.handler.js.map +0 -1
- package/src/features/health/health.route.js.map +0 -1
- package/src/features/index.js.map +0 -1
- package/src/features/location/location.handler.js.map +0 -1
- package/src/features/location/location.route.js.map +0 -1
- package/src/features/location/location.schema.js.map +0 -1
- package/src/features/location/location.service.js.map +0 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
- package/src/features/manufacturer/manufacturer.route.js.map +0 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
- package/src/features/manufacturer/manufacturer.service.js.map +0 -1
- package/src/features/order/emails/order-confirmation.email.js.map +0 -1
- package/src/features/order/emails/order-notification.email.js.map +0 -1
- package/src/features/order/fulfilment.schema.js.map +0 -1
- package/src/features/order/order.handler.js.map +0 -1
- package/src/features/order/order.route.js.map +0 -1
- package/src/features/order/order.schema.js.map +0 -1
- package/src/features/order/order.service.js.map +0 -1
- package/src/features/order/recipient.schema.js.map +0 -1
- package/src/features/organization/legal-entity.schema.js.map +0 -1
- package/src/features/organization/organization-configuration.schema.js.map +0 -1
- package/src/features/organization/organization.handler.js.map +0 -1
- package/src/features/organization/organization.route.js.map +0 -1
- package/src/features/organization/organization.schema.js.map +0 -1
- package/src/features/organization/organization.service.js.map +0 -1
- package/src/features/payment/payment.handler.js.map +0 -1
- package/src/features/payment/payment.route.js.map +0 -1
- package/src/features/payment/payment.schema.js.map +0 -1
- package/src/features/payment/payment.service.js.map +0 -1
- package/src/features/payment/stripe.service.js.map +0 -1
- package/src/features/product/product-modifier.schema.js.map +0 -1
- package/src/features/product/product.handler.js.map +0 -1
- package/src/features/product/product.route.js.map +0 -1
- package/src/features/product/product.schema.js.map +0 -1
- package/src/features/product/product.service.js.map +0 -1
- package/src/features/product-category/product-category.handler.js.map +0 -1
- package/src/features/product-category/product-category.route.js.map +0 -1
- package/src/features/product-category/product-category.schema.js.map +0 -1
- package/src/features/product-category/product-category.service.js.map +0 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
- package/src/features/reservation/reservation.handler.js.map +0 -1
- package/src/features/reservation/reservation.route.js.map +0 -1
- package/src/features/reservation/reservation.schema.js.map +0 -1
- package/src/features/reservation/reservation.service.js.map +0 -1
- package/src/features/shipping/shipping.handler.js.map +0 -1
- package/src/features/shipping/shipping.route.js.map +0 -1
- package/src/features/shipping/shipping.service.js.map +0 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
- package/src/features/shipping-method/shipping-method.route.js.map +0 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
- package/src/features/shipping-method/shipping-method.service.js.map +0 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
- package/src/features/webhook/webhook.handler.js.map +0 -1
- package/src/features/webhook/webhook.route.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/integrations/next.js.map +0 -1
- package/src/schemas/address.schema.js.map +0 -1
- package/src/schemas/currency.schema.js.map +0 -1
- package/src/schemas/error.schema.js.map +0 -1
- package/src/schemas/index.js.map +0 -1
- package/src/schemas/locales.schema.js.map +0 -1
- package/src/schemas/number.schema.js.map +0 -1
- package/src/schemas/pagination.schema.js.map +0 -1
- package/src/schemas/params.schema.js.map +0 -1
- package/src/schemas/queries.schema.js.map +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.js.map +0 -1
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as $Enums from "../enums";
|
|
3
3
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
4
|
-
/**
|
|
5
|
-
* Model PaymentSession
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
4
|
export type PaymentSessionModel = runtime.Types.Result.DefaultSelection<Prisma.$PaymentSessionPayload>;
|
|
9
5
|
export type AggregatePaymentSession = {
|
|
10
6
|
_count: PaymentSessionCountAggregateOutputType | null;
|
|
@@ -96,63 +92,15 @@ export type PaymentSessionCountAggregateInputType = {
|
|
|
96
92
|
_all?: true;
|
|
97
93
|
};
|
|
98
94
|
export type PaymentSessionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
99
|
-
/**
|
|
100
|
-
* Filter which PaymentSession to aggregate.
|
|
101
|
-
*/
|
|
102
95
|
where?: Prisma.PaymentSessionWhereInput;
|
|
103
|
-
/**
|
|
104
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
105
|
-
*
|
|
106
|
-
* Determine the order of PaymentSessions to fetch.
|
|
107
|
-
*/
|
|
108
96
|
orderBy?: Prisma.PaymentSessionOrderByWithRelationInput | Prisma.PaymentSessionOrderByWithRelationInput[];
|
|
109
|
-
/**
|
|
110
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
111
|
-
*
|
|
112
|
-
* Sets the start position
|
|
113
|
-
*/
|
|
114
97
|
cursor?: Prisma.PaymentSessionWhereUniqueInput;
|
|
115
|
-
/**
|
|
116
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
117
|
-
*
|
|
118
|
-
* Take `±n` PaymentSessions from the position of the cursor.
|
|
119
|
-
*/
|
|
120
98
|
take?: number;
|
|
121
|
-
/**
|
|
122
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
123
|
-
*
|
|
124
|
-
* Skip the first `n` PaymentSessions.
|
|
125
|
-
*/
|
|
126
99
|
skip?: number;
|
|
127
|
-
/**
|
|
128
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
-
*
|
|
130
|
-
* Count returned PaymentSessions
|
|
131
|
-
**/
|
|
132
100
|
_count?: true | PaymentSessionCountAggregateInputType;
|
|
133
|
-
/**
|
|
134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
-
*
|
|
136
|
-
* Select which fields to average
|
|
137
|
-
**/
|
|
138
101
|
_avg?: PaymentSessionAvgAggregateInputType;
|
|
139
|
-
/**
|
|
140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
-
*
|
|
142
|
-
* Select which fields to sum
|
|
143
|
-
**/
|
|
144
102
|
_sum?: PaymentSessionSumAggregateInputType;
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
-
*
|
|
148
|
-
* Select which fields to find the minimum value
|
|
149
|
-
**/
|
|
150
103
|
_min?: PaymentSessionMinAggregateInputType;
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
-
*
|
|
154
|
-
* Select which fields to find the maximum value
|
|
155
|
-
**/
|
|
156
104
|
_max?: PaymentSessionMaxAggregateInputType;
|
|
157
105
|
};
|
|
158
106
|
export type GetPaymentSessionAggregateType<T extends PaymentSessionAggregateArgs> = {
|
|
@@ -630,290 +578,22 @@ export interface PaymentSessionDelegate<ExtArgs extends runtime.Types.Extensions
|
|
|
630
578
|
name: 'PaymentSession';
|
|
631
579
|
};
|
|
632
580
|
};
|
|
633
|
-
/**
|
|
634
|
-
* Find zero or one PaymentSession that matches the filter.
|
|
635
|
-
* @param {PaymentSessionFindUniqueArgs} args - Arguments to find a PaymentSession
|
|
636
|
-
* @example
|
|
637
|
-
* // Get one PaymentSession
|
|
638
|
-
* const paymentSession = await prisma.paymentSession.findUnique({
|
|
639
|
-
* where: {
|
|
640
|
-
* // ... provide filter here
|
|
641
|
-
* }
|
|
642
|
-
* })
|
|
643
|
-
*/
|
|
644
581
|
findUnique<T extends PaymentSessionFindUniqueArgs>(args: Prisma.SelectSubset<T, PaymentSessionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
645
|
-
/**
|
|
646
|
-
* Find one PaymentSession that matches the filter or throw an error with `error.code='P2025'`
|
|
647
|
-
* if no matches were found.
|
|
648
|
-
* @param {PaymentSessionFindUniqueOrThrowArgs} args - Arguments to find a PaymentSession
|
|
649
|
-
* @example
|
|
650
|
-
* // Get one PaymentSession
|
|
651
|
-
* const paymentSession = await prisma.paymentSession.findUniqueOrThrow({
|
|
652
|
-
* where: {
|
|
653
|
-
* // ... provide filter here
|
|
654
|
-
* }
|
|
655
|
-
* })
|
|
656
|
-
*/
|
|
657
582
|
findUniqueOrThrow<T extends PaymentSessionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PaymentSessionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
658
|
-
/**
|
|
659
|
-
* Find the first PaymentSession that matches the filter.
|
|
660
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
661
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
662
|
-
* @param {PaymentSessionFindFirstArgs} args - Arguments to find a PaymentSession
|
|
663
|
-
* @example
|
|
664
|
-
* // Get one PaymentSession
|
|
665
|
-
* const paymentSession = await prisma.paymentSession.findFirst({
|
|
666
|
-
* where: {
|
|
667
|
-
* // ... provide filter here
|
|
668
|
-
* }
|
|
669
|
-
* })
|
|
670
|
-
*/
|
|
671
583
|
findFirst<T extends PaymentSessionFindFirstArgs>(args?: Prisma.SelectSubset<T, PaymentSessionFindFirstArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
672
|
-
/**
|
|
673
|
-
* Find the first PaymentSession that matches the filter or
|
|
674
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
675
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
676
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
677
|
-
* @param {PaymentSessionFindFirstOrThrowArgs} args - Arguments to find a PaymentSession
|
|
678
|
-
* @example
|
|
679
|
-
* // Get one PaymentSession
|
|
680
|
-
* const paymentSession = await prisma.paymentSession.findFirstOrThrow({
|
|
681
|
-
* where: {
|
|
682
|
-
* // ... provide filter here
|
|
683
|
-
* }
|
|
684
|
-
* })
|
|
685
|
-
*/
|
|
686
584
|
findFirstOrThrow<T extends PaymentSessionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PaymentSessionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
687
|
-
/**
|
|
688
|
-
* Find zero or more PaymentSessions that matches the filter.
|
|
689
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
690
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
691
|
-
* @param {PaymentSessionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
692
|
-
* @example
|
|
693
|
-
* // Get all PaymentSessions
|
|
694
|
-
* const paymentSessions = await prisma.paymentSession.findMany()
|
|
695
|
-
*
|
|
696
|
-
* // Get first 10 PaymentSessions
|
|
697
|
-
* const paymentSessions = await prisma.paymentSession.findMany({ take: 10 })
|
|
698
|
-
*
|
|
699
|
-
* // Only select the `id`
|
|
700
|
-
* const paymentSessionWithIdOnly = await prisma.paymentSession.findMany({ select: { id: true } })
|
|
701
|
-
*
|
|
702
|
-
*/
|
|
703
585
|
findMany<T extends PaymentSessionFindManyArgs>(args?: Prisma.SelectSubset<T, PaymentSessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
704
|
-
/**
|
|
705
|
-
* Create a PaymentSession.
|
|
706
|
-
* @param {PaymentSessionCreateArgs} args - Arguments to create a PaymentSession.
|
|
707
|
-
* @example
|
|
708
|
-
* // Create one PaymentSession
|
|
709
|
-
* const PaymentSession = await prisma.paymentSession.create({
|
|
710
|
-
* data: {
|
|
711
|
-
* // ... data to create a PaymentSession
|
|
712
|
-
* }
|
|
713
|
-
* })
|
|
714
|
-
*
|
|
715
|
-
*/
|
|
716
586
|
create<T extends PaymentSessionCreateArgs>(args: Prisma.SelectSubset<T, PaymentSessionCreateArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
717
|
-
/**
|
|
718
|
-
* Create many PaymentSessions.
|
|
719
|
-
* @param {PaymentSessionCreateManyArgs} args - Arguments to create many PaymentSessions.
|
|
720
|
-
* @example
|
|
721
|
-
* // Create many PaymentSessions
|
|
722
|
-
* const paymentSession = await prisma.paymentSession.createMany({
|
|
723
|
-
* data: [
|
|
724
|
-
* // ... provide data here
|
|
725
|
-
* ]
|
|
726
|
-
* })
|
|
727
|
-
*
|
|
728
|
-
*/
|
|
729
587
|
createMany<T extends PaymentSessionCreateManyArgs>(args?: Prisma.SelectSubset<T, PaymentSessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
730
|
-
/**
|
|
731
|
-
* Create many PaymentSessions and returns the data saved in the database.
|
|
732
|
-
* @param {PaymentSessionCreateManyAndReturnArgs} args - Arguments to create many PaymentSessions.
|
|
733
|
-
* @example
|
|
734
|
-
* // Create many PaymentSessions
|
|
735
|
-
* const paymentSession = await prisma.paymentSession.createManyAndReturn({
|
|
736
|
-
* data: [
|
|
737
|
-
* // ... provide data here
|
|
738
|
-
* ]
|
|
739
|
-
* })
|
|
740
|
-
*
|
|
741
|
-
* // Create many PaymentSessions and only return the `id`
|
|
742
|
-
* const paymentSessionWithIdOnly = await prisma.paymentSession.createManyAndReturn({
|
|
743
|
-
* select: { id: true },
|
|
744
|
-
* data: [
|
|
745
|
-
* // ... provide data here
|
|
746
|
-
* ]
|
|
747
|
-
* })
|
|
748
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
749
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
750
|
-
*
|
|
751
|
-
*/
|
|
752
588
|
createManyAndReturn<T extends PaymentSessionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PaymentSessionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
753
|
-
/**
|
|
754
|
-
* Delete a PaymentSession.
|
|
755
|
-
* @param {PaymentSessionDeleteArgs} args - Arguments to delete one PaymentSession.
|
|
756
|
-
* @example
|
|
757
|
-
* // Delete one PaymentSession
|
|
758
|
-
* const PaymentSession = await prisma.paymentSession.delete({
|
|
759
|
-
* where: {
|
|
760
|
-
* // ... filter to delete one PaymentSession
|
|
761
|
-
* }
|
|
762
|
-
* })
|
|
763
|
-
*
|
|
764
|
-
*/
|
|
765
589
|
delete<T extends PaymentSessionDeleteArgs>(args: Prisma.SelectSubset<T, PaymentSessionDeleteArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
766
|
-
/**
|
|
767
|
-
* Update one PaymentSession.
|
|
768
|
-
* @param {PaymentSessionUpdateArgs} args - Arguments to update one PaymentSession.
|
|
769
|
-
* @example
|
|
770
|
-
* // Update one PaymentSession
|
|
771
|
-
* const paymentSession = await prisma.paymentSession.update({
|
|
772
|
-
* where: {
|
|
773
|
-
* // ... provide filter here
|
|
774
|
-
* },
|
|
775
|
-
* data: {
|
|
776
|
-
* // ... provide data here
|
|
777
|
-
* }
|
|
778
|
-
* })
|
|
779
|
-
*
|
|
780
|
-
*/
|
|
781
590
|
update<T extends PaymentSessionUpdateArgs>(args: Prisma.SelectSubset<T, PaymentSessionUpdateArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
782
|
-
/**
|
|
783
|
-
* Delete zero or more PaymentSessions.
|
|
784
|
-
* @param {PaymentSessionDeleteManyArgs} args - Arguments to filter PaymentSessions to delete.
|
|
785
|
-
* @example
|
|
786
|
-
* // Delete a few PaymentSessions
|
|
787
|
-
* const { count } = await prisma.paymentSession.deleteMany({
|
|
788
|
-
* where: {
|
|
789
|
-
* // ... provide filter here
|
|
790
|
-
* }
|
|
791
|
-
* })
|
|
792
|
-
*
|
|
793
|
-
*/
|
|
794
591
|
deleteMany<T extends PaymentSessionDeleteManyArgs>(args?: Prisma.SelectSubset<T, PaymentSessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
795
|
-
/**
|
|
796
|
-
* Update zero or more PaymentSessions.
|
|
797
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
798
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
799
|
-
* @param {PaymentSessionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
800
|
-
* @example
|
|
801
|
-
* // Update many PaymentSessions
|
|
802
|
-
* const paymentSession = await prisma.paymentSession.updateMany({
|
|
803
|
-
* where: {
|
|
804
|
-
* // ... provide filter here
|
|
805
|
-
* },
|
|
806
|
-
* data: {
|
|
807
|
-
* // ... provide data here
|
|
808
|
-
* }
|
|
809
|
-
* })
|
|
810
|
-
*
|
|
811
|
-
*/
|
|
812
592
|
updateMany<T extends PaymentSessionUpdateManyArgs>(args: Prisma.SelectSubset<T, PaymentSessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
813
|
-
/**
|
|
814
|
-
* Update zero or more PaymentSessions and returns the data updated in the database.
|
|
815
|
-
* @param {PaymentSessionUpdateManyAndReturnArgs} args - Arguments to update many PaymentSessions.
|
|
816
|
-
* @example
|
|
817
|
-
* // Update many PaymentSessions
|
|
818
|
-
* const paymentSession = await prisma.paymentSession.updateManyAndReturn({
|
|
819
|
-
* where: {
|
|
820
|
-
* // ... provide filter here
|
|
821
|
-
* },
|
|
822
|
-
* data: [
|
|
823
|
-
* // ... provide data here
|
|
824
|
-
* ]
|
|
825
|
-
* })
|
|
826
|
-
*
|
|
827
|
-
* // Update zero or more PaymentSessions and only return the `id`
|
|
828
|
-
* const paymentSessionWithIdOnly = await prisma.paymentSession.updateManyAndReturn({
|
|
829
|
-
* select: { id: true },
|
|
830
|
-
* where: {
|
|
831
|
-
* // ... provide filter here
|
|
832
|
-
* },
|
|
833
|
-
* data: [
|
|
834
|
-
* // ... provide data here
|
|
835
|
-
* ]
|
|
836
|
-
* })
|
|
837
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
838
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
839
|
-
*
|
|
840
|
-
*/
|
|
841
593
|
updateManyAndReturn<T extends PaymentSessionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PaymentSessionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
842
|
-
/**
|
|
843
|
-
* Create or update one PaymentSession.
|
|
844
|
-
* @param {PaymentSessionUpsertArgs} args - Arguments to update or create a PaymentSession.
|
|
845
|
-
* @example
|
|
846
|
-
* // Update or create a PaymentSession
|
|
847
|
-
* const paymentSession = await prisma.paymentSession.upsert({
|
|
848
|
-
* create: {
|
|
849
|
-
* // ... data to create a PaymentSession
|
|
850
|
-
* },
|
|
851
|
-
* update: {
|
|
852
|
-
* // ... in case it already exists, update
|
|
853
|
-
* },
|
|
854
|
-
* where: {
|
|
855
|
-
* // ... the filter for the PaymentSession we want to update
|
|
856
|
-
* }
|
|
857
|
-
* })
|
|
858
|
-
*/
|
|
859
594
|
upsert<T extends PaymentSessionUpsertArgs>(args: Prisma.SelectSubset<T, PaymentSessionUpsertArgs<ExtArgs>>): Prisma.Prisma__PaymentSessionClient<runtime.Types.Result.GetResult<Prisma.$PaymentSessionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
860
|
-
/**
|
|
861
|
-
* Count the number of PaymentSessions.
|
|
862
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
863
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
864
|
-
* @param {PaymentSessionCountArgs} args - Arguments to filter PaymentSessions to count.
|
|
865
|
-
* @example
|
|
866
|
-
* // Count the number of PaymentSessions
|
|
867
|
-
* const count = await prisma.paymentSession.count({
|
|
868
|
-
* where: {
|
|
869
|
-
* // ... the filter for the PaymentSessions we want to count
|
|
870
|
-
* }
|
|
871
|
-
* })
|
|
872
|
-
**/
|
|
873
595
|
count<T extends PaymentSessionCountArgs>(args?: Prisma.Subset<T, PaymentSessionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PaymentSessionCountAggregateOutputType> : number>;
|
|
874
|
-
/**
|
|
875
|
-
* Allows you to perform aggregations operations on a PaymentSession.
|
|
876
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
877
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
878
|
-
* @param {PaymentSessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
879
|
-
* @example
|
|
880
|
-
* // Ordered by age ascending
|
|
881
|
-
* // Where email contains prisma.io
|
|
882
|
-
* // Limited to the 10 users
|
|
883
|
-
* const aggregations = await prisma.user.aggregate({
|
|
884
|
-
* _avg: {
|
|
885
|
-
* age: true,
|
|
886
|
-
* },
|
|
887
|
-
* where: {
|
|
888
|
-
* email: {
|
|
889
|
-
* contains: "prisma.io",
|
|
890
|
-
* },
|
|
891
|
-
* },
|
|
892
|
-
* orderBy: {
|
|
893
|
-
* age: "asc",
|
|
894
|
-
* },
|
|
895
|
-
* take: 10,
|
|
896
|
-
* })
|
|
897
|
-
**/
|
|
898
596
|
aggregate<T extends PaymentSessionAggregateArgs>(args: Prisma.Subset<T, PaymentSessionAggregateArgs>): Prisma.PrismaPromise<GetPaymentSessionAggregateType<T>>;
|
|
899
|
-
/**
|
|
900
|
-
* Group by PaymentSession.
|
|
901
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
902
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
903
|
-
* @param {PaymentSessionGroupByArgs} args - Group by arguments.
|
|
904
|
-
* @example
|
|
905
|
-
* // Group by city, order by createdAt, get count
|
|
906
|
-
* const result = await prisma.user.groupBy({
|
|
907
|
-
* by: ['city', 'createdAt'],
|
|
908
|
-
* orderBy: {
|
|
909
|
-
* createdAt: true
|
|
910
|
-
* },
|
|
911
|
-
* _count: {
|
|
912
|
-
* _all: true
|
|
913
|
-
* },
|
|
914
|
-
* })
|
|
915
|
-
*
|
|
916
|
-
**/
|
|
917
597
|
groupBy<T extends PaymentSessionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
918
598
|
orderBy: PaymentSessionGroupByArgs['orderBy'];
|
|
919
599
|
} : {
|
|
@@ -932,44 +612,15 @@ export interface PaymentSessionDelegate<ExtArgs extends runtime.Types.Extensions
|
|
|
932
612
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
933
613
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
934
614
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PaymentSessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPaymentSessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
935
|
-
/**
|
|
936
|
-
* Fields of the PaymentSession model
|
|
937
|
-
*/
|
|
938
615
|
readonly fields: PaymentSessionFieldRefs;
|
|
939
616
|
}
|
|
940
|
-
/**
|
|
941
|
-
* The delegate class that acts as a "Promise-like" for PaymentSession.
|
|
942
|
-
* Why is this prefixed with `Prisma__`?
|
|
943
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
944
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
945
|
-
*/
|
|
946
617
|
export interface Prisma__PaymentSessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
947
618
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
948
619
|
payment<T extends Prisma.PaymentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentDefaultArgs<ExtArgs>>): Prisma.Prisma__PaymentClient<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
949
|
-
/**
|
|
950
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
951
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
952
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
953
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
954
|
-
*/
|
|
955
620
|
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>;
|
|
956
|
-
/**
|
|
957
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
958
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
959
|
-
* @returns A Promise for the completion of the callback.
|
|
960
|
-
*/
|
|
961
621
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
962
|
-
/**
|
|
963
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
964
|
-
* resolved value cannot be modified from the callback.
|
|
965
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
966
|
-
* @returns A Promise for the completion of the callback.
|
|
967
|
-
*/
|
|
968
622
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
969
623
|
}
|
|
970
|
-
/**
|
|
971
|
-
* Fields of the PaymentSession model
|
|
972
|
-
*/
|
|
973
624
|
export interface PaymentSessionFieldRefs {
|
|
974
625
|
readonly id: Prisma.FieldRef<"PaymentSession", 'String'>;
|
|
975
626
|
readonly referenceId: Prisma.FieldRef<"PaymentSession", 'String'>;
|
|
@@ -982,398 +633,109 @@ export interface PaymentSessionFieldRefs {
|
|
|
982
633
|
readonly updatedAt: Prisma.FieldRef<"PaymentSession", 'DateTime'>;
|
|
983
634
|
readonly paymentId: Prisma.FieldRef<"PaymentSession", 'String'>;
|
|
984
635
|
}
|
|
985
|
-
/**
|
|
986
|
-
* PaymentSession findUnique
|
|
987
|
-
*/
|
|
988
636
|
export type PaymentSessionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
-
/**
|
|
990
|
-
* Select specific fields to fetch from the PaymentSession
|
|
991
|
-
*/
|
|
992
637
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
993
|
-
/**
|
|
994
|
-
* Omit specific fields from the PaymentSession
|
|
995
|
-
*/
|
|
996
638
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
997
|
-
/**
|
|
998
|
-
* Choose, which related nodes to fetch as well
|
|
999
|
-
*/
|
|
1000
639
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1001
|
-
/**
|
|
1002
|
-
* Filter, which PaymentSession to fetch.
|
|
1003
|
-
*/
|
|
1004
640
|
where: Prisma.PaymentSessionWhereUniqueInput;
|
|
1005
641
|
};
|
|
1006
|
-
/**
|
|
1007
|
-
* PaymentSession findUniqueOrThrow
|
|
1008
|
-
*/
|
|
1009
642
|
export type PaymentSessionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1010
|
-
/**
|
|
1011
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1012
|
-
*/
|
|
1013
643
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1014
|
-
/**
|
|
1015
|
-
* Omit specific fields from the PaymentSession
|
|
1016
|
-
*/
|
|
1017
644
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1018
|
-
/**
|
|
1019
|
-
* Choose, which related nodes to fetch as well
|
|
1020
|
-
*/
|
|
1021
645
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1022
|
-
/**
|
|
1023
|
-
* Filter, which PaymentSession to fetch.
|
|
1024
|
-
*/
|
|
1025
646
|
where: Prisma.PaymentSessionWhereUniqueInput;
|
|
1026
647
|
};
|
|
1027
|
-
/**
|
|
1028
|
-
* PaymentSession findFirst
|
|
1029
|
-
*/
|
|
1030
648
|
export type PaymentSessionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
-
/**
|
|
1032
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1033
|
-
*/
|
|
1034
649
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1035
|
-
/**
|
|
1036
|
-
* Omit specific fields from the PaymentSession
|
|
1037
|
-
*/
|
|
1038
650
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1039
|
-
/**
|
|
1040
|
-
* Choose, which related nodes to fetch as well
|
|
1041
|
-
*/
|
|
1042
651
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1043
|
-
/**
|
|
1044
|
-
* Filter, which PaymentSession to fetch.
|
|
1045
|
-
*/
|
|
1046
652
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1047
|
-
/**
|
|
1048
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1049
|
-
*
|
|
1050
|
-
* Determine the order of PaymentSessions to fetch.
|
|
1051
|
-
*/
|
|
1052
653
|
orderBy?: Prisma.PaymentSessionOrderByWithRelationInput | Prisma.PaymentSessionOrderByWithRelationInput[];
|
|
1053
|
-
/**
|
|
1054
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1055
|
-
*
|
|
1056
|
-
* Sets the position for searching for PaymentSessions.
|
|
1057
|
-
*/
|
|
1058
654
|
cursor?: Prisma.PaymentSessionWhereUniqueInput;
|
|
1059
|
-
/**
|
|
1060
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1061
|
-
*
|
|
1062
|
-
* Take `±n` PaymentSessions from the position of the cursor.
|
|
1063
|
-
*/
|
|
1064
655
|
take?: number;
|
|
1065
|
-
/**
|
|
1066
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1067
|
-
*
|
|
1068
|
-
* Skip the first `n` PaymentSessions.
|
|
1069
|
-
*/
|
|
1070
656
|
skip?: number;
|
|
1071
|
-
/**
|
|
1072
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1073
|
-
*
|
|
1074
|
-
* Filter by unique combinations of PaymentSessions.
|
|
1075
|
-
*/
|
|
1076
657
|
distinct?: Prisma.PaymentSessionScalarFieldEnum | Prisma.PaymentSessionScalarFieldEnum[];
|
|
1077
658
|
};
|
|
1078
|
-
/**
|
|
1079
|
-
* PaymentSession findFirstOrThrow
|
|
1080
|
-
*/
|
|
1081
659
|
export type PaymentSessionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1082
|
-
/**
|
|
1083
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1084
|
-
*/
|
|
1085
660
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1086
|
-
/**
|
|
1087
|
-
* Omit specific fields from the PaymentSession
|
|
1088
|
-
*/
|
|
1089
661
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1090
|
-
/**
|
|
1091
|
-
* Choose, which related nodes to fetch as well
|
|
1092
|
-
*/
|
|
1093
662
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1094
|
-
/**
|
|
1095
|
-
* Filter, which PaymentSession to fetch.
|
|
1096
|
-
*/
|
|
1097
663
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1098
|
-
/**
|
|
1099
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1100
|
-
*
|
|
1101
|
-
* Determine the order of PaymentSessions to fetch.
|
|
1102
|
-
*/
|
|
1103
664
|
orderBy?: Prisma.PaymentSessionOrderByWithRelationInput | Prisma.PaymentSessionOrderByWithRelationInput[];
|
|
1104
|
-
/**
|
|
1105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1106
|
-
*
|
|
1107
|
-
* Sets the position for searching for PaymentSessions.
|
|
1108
|
-
*/
|
|
1109
665
|
cursor?: Prisma.PaymentSessionWhereUniqueInput;
|
|
1110
|
-
/**
|
|
1111
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1112
|
-
*
|
|
1113
|
-
* Take `±n` PaymentSessions from the position of the cursor.
|
|
1114
|
-
*/
|
|
1115
666
|
take?: number;
|
|
1116
|
-
/**
|
|
1117
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1118
|
-
*
|
|
1119
|
-
* Skip the first `n` PaymentSessions.
|
|
1120
|
-
*/
|
|
1121
667
|
skip?: number;
|
|
1122
|
-
/**
|
|
1123
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1124
|
-
*
|
|
1125
|
-
* Filter by unique combinations of PaymentSessions.
|
|
1126
|
-
*/
|
|
1127
668
|
distinct?: Prisma.PaymentSessionScalarFieldEnum | Prisma.PaymentSessionScalarFieldEnum[];
|
|
1128
669
|
};
|
|
1129
|
-
/**
|
|
1130
|
-
* PaymentSession findMany
|
|
1131
|
-
*/
|
|
1132
670
|
export type PaymentSessionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
-
/**
|
|
1134
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1135
|
-
*/
|
|
1136
671
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1137
|
-
/**
|
|
1138
|
-
* Omit specific fields from the PaymentSession
|
|
1139
|
-
*/
|
|
1140
672
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1141
|
-
/**
|
|
1142
|
-
* Choose, which related nodes to fetch as well
|
|
1143
|
-
*/
|
|
1144
673
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1145
|
-
/**
|
|
1146
|
-
* Filter, which PaymentSessions to fetch.
|
|
1147
|
-
*/
|
|
1148
674
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1149
|
-
/**
|
|
1150
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1151
|
-
*
|
|
1152
|
-
* Determine the order of PaymentSessions to fetch.
|
|
1153
|
-
*/
|
|
1154
675
|
orderBy?: Prisma.PaymentSessionOrderByWithRelationInput | Prisma.PaymentSessionOrderByWithRelationInput[];
|
|
1155
|
-
/**
|
|
1156
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1157
|
-
*
|
|
1158
|
-
* Sets the position for listing PaymentSessions.
|
|
1159
|
-
*/
|
|
1160
676
|
cursor?: Prisma.PaymentSessionWhereUniqueInput;
|
|
1161
|
-
/**
|
|
1162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1163
|
-
*
|
|
1164
|
-
* Take `±n` PaymentSessions from the position of the cursor.
|
|
1165
|
-
*/
|
|
1166
677
|
take?: number;
|
|
1167
|
-
/**
|
|
1168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1169
|
-
*
|
|
1170
|
-
* Skip the first `n` PaymentSessions.
|
|
1171
|
-
*/
|
|
1172
678
|
skip?: number;
|
|
1173
679
|
distinct?: Prisma.PaymentSessionScalarFieldEnum | Prisma.PaymentSessionScalarFieldEnum[];
|
|
1174
680
|
};
|
|
1175
|
-
/**
|
|
1176
|
-
* PaymentSession create
|
|
1177
|
-
*/
|
|
1178
681
|
export type PaymentSessionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1179
|
-
/**
|
|
1180
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1181
|
-
*/
|
|
1182
682
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1183
|
-
/**
|
|
1184
|
-
* Omit specific fields from the PaymentSession
|
|
1185
|
-
*/
|
|
1186
683
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1187
|
-
/**
|
|
1188
|
-
* Choose, which related nodes to fetch as well
|
|
1189
|
-
*/
|
|
1190
684
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1191
|
-
/**
|
|
1192
|
-
* The data needed to create a PaymentSession.
|
|
1193
|
-
*/
|
|
1194
685
|
data: Prisma.XOR<Prisma.PaymentSessionCreateInput, Prisma.PaymentSessionUncheckedCreateInput>;
|
|
1195
686
|
};
|
|
1196
|
-
/**
|
|
1197
|
-
* PaymentSession createMany
|
|
1198
|
-
*/
|
|
1199
687
|
export type PaymentSessionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
-
/**
|
|
1201
|
-
* The data used to create many PaymentSessions.
|
|
1202
|
-
*/
|
|
1203
688
|
data: Prisma.PaymentSessionCreateManyInput | Prisma.PaymentSessionCreateManyInput[];
|
|
1204
689
|
skipDuplicates?: boolean;
|
|
1205
690
|
};
|
|
1206
|
-
/**
|
|
1207
|
-
* PaymentSession createManyAndReturn
|
|
1208
|
-
*/
|
|
1209
691
|
export type PaymentSessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1210
|
-
/**
|
|
1211
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1212
|
-
*/
|
|
1213
692
|
select?: Prisma.PaymentSessionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1214
|
-
/**
|
|
1215
|
-
* Omit specific fields from the PaymentSession
|
|
1216
|
-
*/
|
|
1217
693
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1218
|
-
/**
|
|
1219
|
-
* The data used to create many PaymentSessions.
|
|
1220
|
-
*/
|
|
1221
694
|
data: Prisma.PaymentSessionCreateManyInput | Prisma.PaymentSessionCreateManyInput[];
|
|
1222
695
|
skipDuplicates?: boolean;
|
|
1223
|
-
/**
|
|
1224
|
-
* Choose, which related nodes to fetch as well
|
|
1225
|
-
*/
|
|
1226
696
|
include?: Prisma.PaymentSessionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1227
697
|
};
|
|
1228
|
-
/**
|
|
1229
|
-
* PaymentSession update
|
|
1230
|
-
*/
|
|
1231
698
|
export type PaymentSessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1232
|
-
/**
|
|
1233
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1234
|
-
*/
|
|
1235
699
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1236
|
-
/**
|
|
1237
|
-
* Omit specific fields from the PaymentSession
|
|
1238
|
-
*/
|
|
1239
700
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1240
|
-
/**
|
|
1241
|
-
* Choose, which related nodes to fetch as well
|
|
1242
|
-
*/
|
|
1243
701
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1244
|
-
/**
|
|
1245
|
-
* The data needed to update a PaymentSession.
|
|
1246
|
-
*/
|
|
1247
702
|
data: Prisma.XOR<Prisma.PaymentSessionUpdateInput, Prisma.PaymentSessionUncheckedUpdateInput>;
|
|
1248
|
-
/**
|
|
1249
|
-
* Choose, which PaymentSession to update.
|
|
1250
|
-
*/
|
|
1251
703
|
where: Prisma.PaymentSessionWhereUniqueInput;
|
|
1252
704
|
};
|
|
1253
|
-
/**
|
|
1254
|
-
* PaymentSession updateMany
|
|
1255
|
-
*/
|
|
1256
705
|
export type PaymentSessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
-
/**
|
|
1258
|
-
* The data used to update PaymentSessions.
|
|
1259
|
-
*/
|
|
1260
706
|
data: Prisma.XOR<Prisma.PaymentSessionUpdateManyMutationInput, Prisma.PaymentSessionUncheckedUpdateManyInput>;
|
|
1261
|
-
/**
|
|
1262
|
-
* Filter which PaymentSessions to update
|
|
1263
|
-
*/
|
|
1264
707
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1265
|
-
/**
|
|
1266
|
-
* Limit how many PaymentSessions to update.
|
|
1267
|
-
*/
|
|
1268
708
|
limit?: number;
|
|
1269
709
|
};
|
|
1270
|
-
/**
|
|
1271
|
-
* PaymentSession updateManyAndReturn
|
|
1272
|
-
*/
|
|
1273
710
|
export type PaymentSessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
-
/**
|
|
1275
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1276
|
-
*/
|
|
1277
711
|
select?: Prisma.PaymentSessionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1278
|
-
/**
|
|
1279
|
-
* Omit specific fields from the PaymentSession
|
|
1280
|
-
*/
|
|
1281
712
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1282
|
-
/**
|
|
1283
|
-
* The data used to update PaymentSessions.
|
|
1284
|
-
*/
|
|
1285
713
|
data: Prisma.XOR<Prisma.PaymentSessionUpdateManyMutationInput, Prisma.PaymentSessionUncheckedUpdateManyInput>;
|
|
1286
|
-
/**
|
|
1287
|
-
* Filter which PaymentSessions to update
|
|
1288
|
-
*/
|
|
1289
714
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1290
|
-
/**
|
|
1291
|
-
* Limit how many PaymentSessions to update.
|
|
1292
|
-
*/
|
|
1293
715
|
limit?: number;
|
|
1294
|
-
/**
|
|
1295
|
-
* Choose, which related nodes to fetch as well
|
|
1296
|
-
*/
|
|
1297
716
|
include?: Prisma.PaymentSessionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1298
717
|
};
|
|
1299
|
-
/**
|
|
1300
|
-
* PaymentSession upsert
|
|
1301
|
-
*/
|
|
1302
718
|
export type PaymentSessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1303
|
-
/**
|
|
1304
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1305
|
-
*/
|
|
1306
719
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1307
|
-
/**
|
|
1308
|
-
* Omit specific fields from the PaymentSession
|
|
1309
|
-
*/
|
|
1310
720
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1311
|
-
/**
|
|
1312
|
-
* Choose, which related nodes to fetch as well
|
|
1313
|
-
*/
|
|
1314
721
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1315
|
-
/**
|
|
1316
|
-
* The filter to search for the PaymentSession to update in case it exists.
|
|
1317
|
-
*/
|
|
1318
722
|
where: Prisma.PaymentSessionWhereUniqueInput;
|
|
1319
|
-
/**
|
|
1320
|
-
* In case the PaymentSession found by the `where` argument doesn't exist, create a new PaymentSession with this data.
|
|
1321
|
-
*/
|
|
1322
723
|
create: Prisma.XOR<Prisma.PaymentSessionCreateInput, Prisma.PaymentSessionUncheckedCreateInput>;
|
|
1323
|
-
/**
|
|
1324
|
-
* In case the PaymentSession was found with the provided `where` argument, update it with this data.
|
|
1325
|
-
*/
|
|
1326
724
|
update: Prisma.XOR<Prisma.PaymentSessionUpdateInput, Prisma.PaymentSessionUncheckedUpdateInput>;
|
|
1327
725
|
};
|
|
1328
|
-
/**
|
|
1329
|
-
* PaymentSession delete
|
|
1330
|
-
*/
|
|
1331
726
|
export type PaymentSessionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1332
|
-
/**
|
|
1333
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1334
|
-
*/
|
|
1335
727
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1336
|
-
/**
|
|
1337
|
-
* Omit specific fields from the PaymentSession
|
|
1338
|
-
*/
|
|
1339
728
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1340
|
-
/**
|
|
1341
|
-
* Choose, which related nodes to fetch as well
|
|
1342
|
-
*/
|
|
1343
729
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1344
|
-
/**
|
|
1345
|
-
* Filter which PaymentSession to delete.
|
|
1346
|
-
*/
|
|
1347
730
|
where: Prisma.PaymentSessionWhereUniqueInput;
|
|
1348
731
|
};
|
|
1349
|
-
/**
|
|
1350
|
-
* PaymentSession deleteMany
|
|
1351
|
-
*/
|
|
1352
732
|
export type PaymentSessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
-
/**
|
|
1354
|
-
* Filter which PaymentSessions to delete
|
|
1355
|
-
*/
|
|
1356
733
|
where?: Prisma.PaymentSessionWhereInput;
|
|
1357
|
-
/**
|
|
1358
|
-
* Limit how many PaymentSessions to delete.
|
|
1359
|
-
*/
|
|
1360
734
|
limit?: number;
|
|
1361
735
|
};
|
|
1362
|
-
/**
|
|
1363
|
-
* PaymentSession without action
|
|
1364
|
-
*/
|
|
1365
736
|
export type PaymentSessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1366
|
-
/**
|
|
1367
|
-
* Select specific fields to fetch from the PaymentSession
|
|
1368
|
-
*/
|
|
1369
737
|
select?: Prisma.PaymentSessionSelect<ExtArgs> | null;
|
|
1370
|
-
/**
|
|
1371
|
-
* Omit specific fields from the PaymentSession
|
|
1372
|
-
*/
|
|
1373
738
|
omit?: Prisma.PaymentSessionOmit<ExtArgs> | null;
|
|
1374
|
-
/**
|
|
1375
|
-
* Choose, which related nodes to fetch as well
|
|
1376
|
-
*/
|
|
1377
739
|
include?: Prisma.PaymentSessionInclude<ExtArgs> | null;
|
|
1378
740
|
};
|
|
1379
741
|
export {};
|