@shophost/rest-api 2.0.32 → 2.0.34
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 +13 -14
- package/src/app.js +53 -1
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.js +41 -1
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/core/auth/auth.util.js +44 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/core/auth/better-auth.lib.js +100 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.d.ts +3 -0
- package/src/core/auth/generate-password-hash.util.js +30 -1
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.js +22 -1
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.js +30 -1
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +128 -0
- package/src/core/db/__generated__/client/browser.js +18 -1
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +143 -0
- package/src/core/db/__generated__/client/client.js +35 -1
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/core/db/__generated__/client/enums.js +200 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
- package/src/core/db/__generated__/client/internal/class.js +55 -1
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Account.js +2 -1
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
- package/src/core/db/__generated__/client/models/Address.js +2 -1
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
- package/src/core/db/__generated__/client/models/Campaign.js +2 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/File.d.ts +757 -0
- package/src/core/db/__generated__/client/models/File.js +2 -1
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Invitation.js +2 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
- package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
- package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Member.js +2 -1
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
- package/src/core/db/__generated__/client/models/Modifier.js +2 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
- package/src/core/db/__generated__/client/models/Order.js +2 -1
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
- package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
- package/src/core/db/__generated__/client/models/Organization.js +2 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
- package/src/core/db/__generated__/client/models/Payment.js +2 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
- package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
- package/src/core/db/__generated__/client/models/Product.js +2 -1
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
- package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
- package/src/core/db/__generated__/client/models/Reservation.js +2 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Session.js +2 -1
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
- package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/core/db/__generated__/client/models/User.d.ts +741 -0
- package/src/core/db/__generated__/client/models/User.js +2 -1
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
- package/src/core/db/__generated__/client/models/Verification.js +2 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/core/db/__generated__/client/models.js +2 -1
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.js +2 -1
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js +9 -1
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.js +123 -1
- package/src/core/hono/hono.js.map +1 -0
- package/src/core/lib/prisma.js +11 -1
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js +5 -1
- package/src/core/logging/pino.js.map +1 -0
- package/src/core/notifications/email.service.d.ts +15 -0
- package/src/core/notifications/email.service.js +116 -1
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.js +26 -1
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js +2 -1
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js +11 -1
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/core/utils/env.util.js +8 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.d.ts +10 -0
- package/src/core/utils/object.util.js +39 -1
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js +2 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/core/utils/zod.util.d.ts +12 -0
- package/src/core/utils/zod.util.js +85 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/db.js +3 -1
- package/src/db.js.map +1 -0
- package/src/features/access/access.handler.js +91 -1
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.js +220 -1
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.js +108 -1
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.js +294 -1
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.handler.js +17 -1
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.js +32 -1
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.js +39 -1
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/features/cart/cart.service.d.ts +7 -0
- package/src/features/cart/cart.service.js +97 -1
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/features/cart/cart.util.js +76 -1
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.js +23 -1
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.js +34 -1
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.js +77 -1
- package/src/features/file/file.schema.js.map +1 -0
- package/src/features/file/file.service.d.ts +6 -0
- package/src/features/file/file.service.js +66 -1
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.js +10 -1
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.js +25 -1
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.js +16 -1
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.js +25 -1
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.js +56 -1
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.js +50 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.d.ts +3 -0
- package/src/features/location/location.service.js +141 -1
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -1
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.js +125 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
- package/src/features/manufacturer/manufacturer.service.js +190 -1
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/features/order/emails/order-confirmation.email.js +229 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/features/order/emails/order-notification.email.js +229 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.js +3 -1
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.js +54 -1
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.js +111 -1
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.js +158 -1
- package/src/features/order/order.schema.js.map +1 -0
- package/src/features/order/order.service.d.ts +15 -0
- package/src/features/order/order.service.js +306 -1
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.js +38 -1
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.js +83 -1
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.js +115 -1
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.js +48 -1
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.js +84 -1
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.js +64 -1
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/features/organization/organization.service.d.ts +15 -0
- package/src/features/organization/organization.service.js +334 -1
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.js +16 -1
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.js +22 -1
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.js +46 -1
- package/src/features/payment/payment.schema.js.map +1 -0
- package/src/features/payment/payment.service.js +100 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/features/payment/stripe.service.js +164 -1
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.js +84 -1
- package/src/features/product/product-modifier.schema.js.map +1 -0
- package/src/features/product/product.handler.js +87 -1
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.js +179 -1
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.js +143 -1
- package/src/features/product/product.schema.js.map +1 -0
- package/src/features/product/product.service.d.ts +25 -0
- package/src/features/product/product.service.js +440 -1
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.js +59 -1
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.js +139 -1
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.js +86 -1
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/features/product-category/product-category.service.d.ts +22 -0
- package/src/features/product-category/product-category.service.js +220 -1
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-notification.email.js +93 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.js +65 -1
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.js +167 -1
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.js +51 -1
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/features/reservation/reservation.service.d.ts +18 -0
- package/src/features/reservation/reservation.service.js +231 -1
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.js +32 -1
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.js +51 -1
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/features/shipping/shipping.service.d.ts +7 -0
- package/src/features/shipping/shipping.service.js +96 -1
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -1
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.js +48 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
- package/src/features/shipping-method/shipping-method.service.js +229 -1
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.js +31 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.js +50 -1
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.js +33 -1
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.js +6 -1
- package/src/index.js.map +1 -0
- package/src/integrations/next.js +82 -1
- package/src/integrations/next.js.map +1 -0
- package/src/schemas/address.schema.d.ts +8 -0
- package/src/schemas/address.schema.js +112 -1
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +42 -0
- package/src/schemas/currency.schema.js +118 -1
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.js +12 -1
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/index.js +29 -1
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/locales.schema.js +238 -1
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/number.schema.js +29 -1
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/pagination.schema.js +54 -1
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.js +20 -1
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/queries.schema.js +6 -1
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/test/global-setup.js +37 -1
- package/src/test/global-setup.js.map +1 -0
- package/src/test/integration/api-fixtures.js +160 -1
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/seed.js +368 -1
- package/src/test/integration/seed.js.map +1 -0
- package/src/test/integration/test-helpers.js +154 -1
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.js +7 -1
- package/src/test/setup-test-env.js.map +1 -0
- package/scripts/minify.mjs +0 -123
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model Reservation
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type ReservationModel = runtime.Types.Result.DefaultSelection<Prisma.$ReservationPayload>;
|
|
4
8
|
export type AggregateReservation = {
|
|
5
9
|
_count: ReservationCountAggregateOutputType | null;
|
|
@@ -113,15 +117,63 @@ export type ReservationCountAggregateInputType = {
|
|
|
113
117
|
_all?: true;
|
|
114
118
|
};
|
|
115
119
|
export type ReservationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
120
|
+
/**
|
|
121
|
+
* Filter which Reservation to aggregate.
|
|
122
|
+
*/
|
|
116
123
|
where?: Prisma.ReservationWhereInput;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
126
|
+
*
|
|
127
|
+
* Determine the order of Reservations to fetch.
|
|
128
|
+
*/
|
|
117
129
|
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
132
|
+
*
|
|
133
|
+
* Sets the start position
|
|
134
|
+
*/
|
|
118
135
|
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
138
|
+
*
|
|
139
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
140
|
+
*/
|
|
119
141
|
take?: number;
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
144
|
+
*
|
|
145
|
+
* Skip the first `n` Reservations.
|
|
146
|
+
*/
|
|
120
147
|
skip?: number;
|
|
148
|
+
/**
|
|
149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
150
|
+
*
|
|
151
|
+
* Count returned Reservations
|
|
152
|
+
**/
|
|
121
153
|
_count?: true | ReservationCountAggregateInputType;
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
156
|
+
*
|
|
157
|
+
* Select which fields to average
|
|
158
|
+
**/
|
|
122
159
|
_avg?: ReservationAvgAggregateInputType;
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
162
|
+
*
|
|
163
|
+
* Select which fields to sum
|
|
164
|
+
**/
|
|
123
165
|
_sum?: ReservationSumAggregateInputType;
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
168
|
+
*
|
|
169
|
+
* Select which fields to find the minimum value
|
|
170
|
+
**/
|
|
124
171
|
_min?: ReservationMinAggregateInputType;
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
+
*
|
|
175
|
+
* Select which fields to find the maximum value
|
|
176
|
+
**/
|
|
125
177
|
_max?: ReservationMaxAggregateInputType;
|
|
126
178
|
};
|
|
127
179
|
export type GetReservationAggregateType<T extends ReservationAggregateArgs> = {
|
|
@@ -837,22 +889,290 @@ export interface ReservationDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
837
889
|
name: 'Reservation';
|
|
838
890
|
};
|
|
839
891
|
};
|
|
892
|
+
/**
|
|
893
|
+
* Find zero or one Reservation that matches the filter.
|
|
894
|
+
* @param {ReservationFindUniqueArgs} args - Arguments to find a Reservation
|
|
895
|
+
* @example
|
|
896
|
+
* // Get one Reservation
|
|
897
|
+
* const reservation = await prisma.reservation.findUnique({
|
|
898
|
+
* where: {
|
|
899
|
+
* // ... provide filter here
|
|
900
|
+
* }
|
|
901
|
+
* })
|
|
902
|
+
*/
|
|
840
903
|
findUnique<T extends ReservationFindUniqueArgs>(args: Prisma.SelectSubset<T, ReservationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
904
|
+
/**
|
|
905
|
+
* Find one Reservation that matches the filter or throw an error with `error.code='P2025'`
|
|
906
|
+
* if no matches were found.
|
|
907
|
+
* @param {ReservationFindUniqueOrThrowArgs} args - Arguments to find a Reservation
|
|
908
|
+
* @example
|
|
909
|
+
* // Get one Reservation
|
|
910
|
+
* const reservation = await prisma.reservation.findUniqueOrThrow({
|
|
911
|
+
* where: {
|
|
912
|
+
* // ... provide filter here
|
|
913
|
+
* }
|
|
914
|
+
* })
|
|
915
|
+
*/
|
|
841
916
|
findUniqueOrThrow<T extends ReservationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ReservationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
917
|
+
/**
|
|
918
|
+
* Find the first Reservation that matches the filter.
|
|
919
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
920
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
921
|
+
* @param {ReservationFindFirstArgs} args - Arguments to find a Reservation
|
|
922
|
+
* @example
|
|
923
|
+
* // Get one Reservation
|
|
924
|
+
* const reservation = await prisma.reservation.findFirst({
|
|
925
|
+
* where: {
|
|
926
|
+
* // ... provide filter here
|
|
927
|
+
* }
|
|
928
|
+
* })
|
|
929
|
+
*/
|
|
842
930
|
findFirst<T extends ReservationFindFirstArgs>(args?: Prisma.SelectSubset<T, ReservationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
931
|
+
/**
|
|
932
|
+
* Find the first Reservation that matches the filter or
|
|
933
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
934
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
935
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
936
|
+
* @param {ReservationFindFirstOrThrowArgs} args - Arguments to find a Reservation
|
|
937
|
+
* @example
|
|
938
|
+
* // Get one Reservation
|
|
939
|
+
* const reservation = await prisma.reservation.findFirstOrThrow({
|
|
940
|
+
* where: {
|
|
941
|
+
* // ... provide filter here
|
|
942
|
+
* }
|
|
943
|
+
* })
|
|
944
|
+
*/
|
|
843
945
|
findFirstOrThrow<T extends ReservationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ReservationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
946
|
+
/**
|
|
947
|
+
* Find zero or more Reservations that matches the filter.
|
|
948
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
949
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
950
|
+
* @param {ReservationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
951
|
+
* @example
|
|
952
|
+
* // Get all Reservations
|
|
953
|
+
* const reservations = await prisma.reservation.findMany()
|
|
954
|
+
*
|
|
955
|
+
* // Get first 10 Reservations
|
|
956
|
+
* const reservations = await prisma.reservation.findMany({ take: 10 })
|
|
957
|
+
*
|
|
958
|
+
* // Only select the `id`
|
|
959
|
+
* const reservationWithIdOnly = await prisma.reservation.findMany({ select: { id: true } })
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
844
962
|
findMany<T extends ReservationFindManyArgs>(args?: Prisma.SelectSubset<T, ReservationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
963
|
+
/**
|
|
964
|
+
* Create a Reservation.
|
|
965
|
+
* @param {ReservationCreateArgs} args - Arguments to create a Reservation.
|
|
966
|
+
* @example
|
|
967
|
+
* // Create one Reservation
|
|
968
|
+
* const Reservation = await prisma.reservation.create({
|
|
969
|
+
* data: {
|
|
970
|
+
* // ... data to create a Reservation
|
|
971
|
+
* }
|
|
972
|
+
* })
|
|
973
|
+
*
|
|
974
|
+
*/
|
|
845
975
|
create<T extends ReservationCreateArgs>(args: Prisma.SelectSubset<T, ReservationCreateArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
976
|
+
/**
|
|
977
|
+
* Create many Reservations.
|
|
978
|
+
* @param {ReservationCreateManyArgs} args - Arguments to create many Reservations.
|
|
979
|
+
* @example
|
|
980
|
+
* // Create many Reservations
|
|
981
|
+
* const reservation = await prisma.reservation.createMany({
|
|
982
|
+
* data: [
|
|
983
|
+
* // ... provide data here
|
|
984
|
+
* ]
|
|
985
|
+
* })
|
|
986
|
+
*
|
|
987
|
+
*/
|
|
846
988
|
createMany<T extends ReservationCreateManyArgs>(args?: Prisma.SelectSubset<T, ReservationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
989
|
+
/**
|
|
990
|
+
* Create many Reservations and returns the data saved in the database.
|
|
991
|
+
* @param {ReservationCreateManyAndReturnArgs} args - Arguments to create many Reservations.
|
|
992
|
+
* @example
|
|
993
|
+
* // Create many Reservations
|
|
994
|
+
* const reservation = await prisma.reservation.createManyAndReturn({
|
|
995
|
+
* data: [
|
|
996
|
+
* // ... provide data here
|
|
997
|
+
* ]
|
|
998
|
+
* })
|
|
999
|
+
*
|
|
1000
|
+
* // Create many Reservations and only return the `id`
|
|
1001
|
+
* const reservationWithIdOnly = await prisma.reservation.createManyAndReturn({
|
|
1002
|
+
* select: { id: true },
|
|
1003
|
+
* data: [
|
|
1004
|
+
* // ... provide data here
|
|
1005
|
+
* ]
|
|
1006
|
+
* })
|
|
1007
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1008
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1009
|
+
*
|
|
1010
|
+
*/
|
|
847
1011
|
createManyAndReturn<T extends ReservationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ReservationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Delete a Reservation.
|
|
1014
|
+
* @param {ReservationDeleteArgs} args - Arguments to delete one Reservation.
|
|
1015
|
+
* @example
|
|
1016
|
+
* // Delete one Reservation
|
|
1017
|
+
* const Reservation = await prisma.reservation.delete({
|
|
1018
|
+
* where: {
|
|
1019
|
+
* // ... filter to delete one Reservation
|
|
1020
|
+
* }
|
|
1021
|
+
* })
|
|
1022
|
+
*
|
|
1023
|
+
*/
|
|
848
1024
|
delete<T extends ReservationDeleteArgs>(args: Prisma.SelectSubset<T, ReservationDeleteArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Update one Reservation.
|
|
1027
|
+
* @param {ReservationUpdateArgs} args - Arguments to update one Reservation.
|
|
1028
|
+
* @example
|
|
1029
|
+
* // Update one Reservation
|
|
1030
|
+
* const reservation = await prisma.reservation.update({
|
|
1031
|
+
* where: {
|
|
1032
|
+
* // ... provide filter here
|
|
1033
|
+
* },
|
|
1034
|
+
* data: {
|
|
1035
|
+
* // ... provide data here
|
|
1036
|
+
* }
|
|
1037
|
+
* })
|
|
1038
|
+
*
|
|
1039
|
+
*/
|
|
849
1040
|
update<T extends ReservationUpdateArgs>(args: Prisma.SelectSubset<T, ReservationUpdateArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1041
|
+
/**
|
|
1042
|
+
* Delete zero or more Reservations.
|
|
1043
|
+
* @param {ReservationDeleteManyArgs} args - Arguments to filter Reservations to delete.
|
|
1044
|
+
* @example
|
|
1045
|
+
* // Delete a few Reservations
|
|
1046
|
+
* const { count } = await prisma.reservation.deleteMany({
|
|
1047
|
+
* where: {
|
|
1048
|
+
* // ... provide filter here
|
|
1049
|
+
* }
|
|
1050
|
+
* })
|
|
1051
|
+
*
|
|
1052
|
+
*/
|
|
850
1053
|
deleteMany<T extends ReservationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ReservationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Update zero or more Reservations.
|
|
1056
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1057
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1058
|
+
* @param {ReservationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1059
|
+
* @example
|
|
1060
|
+
* // Update many Reservations
|
|
1061
|
+
* const reservation = await prisma.reservation.updateMany({
|
|
1062
|
+
* where: {
|
|
1063
|
+
* // ... provide filter here
|
|
1064
|
+
* },
|
|
1065
|
+
* data: {
|
|
1066
|
+
* // ... provide data here
|
|
1067
|
+
* }
|
|
1068
|
+
* })
|
|
1069
|
+
*
|
|
1070
|
+
*/
|
|
851
1071
|
updateMany<T extends ReservationUpdateManyArgs>(args: Prisma.SelectSubset<T, ReservationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Update zero or more Reservations and returns the data updated in the database.
|
|
1074
|
+
* @param {ReservationUpdateManyAndReturnArgs} args - Arguments to update many Reservations.
|
|
1075
|
+
* @example
|
|
1076
|
+
* // Update many Reservations
|
|
1077
|
+
* const reservation = await prisma.reservation.updateManyAndReturn({
|
|
1078
|
+
* where: {
|
|
1079
|
+
* // ... provide filter here
|
|
1080
|
+
* },
|
|
1081
|
+
* data: [
|
|
1082
|
+
* // ... provide data here
|
|
1083
|
+
* ]
|
|
1084
|
+
* })
|
|
1085
|
+
*
|
|
1086
|
+
* // Update zero or more Reservations and only return the `id`
|
|
1087
|
+
* const reservationWithIdOnly = await prisma.reservation.updateManyAndReturn({
|
|
1088
|
+
* select: { id: true },
|
|
1089
|
+
* where: {
|
|
1090
|
+
* // ... provide filter here
|
|
1091
|
+
* },
|
|
1092
|
+
* data: [
|
|
1093
|
+
* // ... provide data here
|
|
1094
|
+
* ]
|
|
1095
|
+
* })
|
|
1096
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1097
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1098
|
+
*
|
|
1099
|
+
*/
|
|
852
1100
|
updateManyAndReturn<T extends ReservationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ReservationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Create or update one Reservation.
|
|
1103
|
+
* @param {ReservationUpsertArgs} args - Arguments to update or create a Reservation.
|
|
1104
|
+
* @example
|
|
1105
|
+
* // Update or create a Reservation
|
|
1106
|
+
* const reservation = await prisma.reservation.upsert({
|
|
1107
|
+
* create: {
|
|
1108
|
+
* // ... data to create a Reservation
|
|
1109
|
+
* },
|
|
1110
|
+
* update: {
|
|
1111
|
+
* // ... in case it already exists, update
|
|
1112
|
+
* },
|
|
1113
|
+
* where: {
|
|
1114
|
+
* // ... the filter for the Reservation we want to update
|
|
1115
|
+
* }
|
|
1116
|
+
* })
|
|
1117
|
+
*/
|
|
853
1118
|
upsert<T extends ReservationUpsertArgs>(args: Prisma.SelectSubset<T, ReservationUpsertArgs<ExtArgs>>): Prisma.Prisma__ReservationClient<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Count the number of Reservations.
|
|
1121
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1122
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1123
|
+
* @param {ReservationCountArgs} args - Arguments to filter Reservations to count.
|
|
1124
|
+
* @example
|
|
1125
|
+
* // Count the number of Reservations
|
|
1126
|
+
* const count = await prisma.reservation.count({
|
|
1127
|
+
* where: {
|
|
1128
|
+
* // ... the filter for the Reservations we want to count
|
|
1129
|
+
* }
|
|
1130
|
+
* })
|
|
1131
|
+
**/
|
|
854
1132
|
count<T extends ReservationCountArgs>(args?: Prisma.Subset<T, ReservationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ReservationCountAggregateOutputType> : number>;
|
|
1133
|
+
/**
|
|
1134
|
+
* Allows you to perform aggregations operations on a Reservation.
|
|
1135
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1136
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1137
|
+
* @param {ReservationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1138
|
+
* @example
|
|
1139
|
+
* // Ordered by age ascending
|
|
1140
|
+
* // Where email contains prisma.io
|
|
1141
|
+
* // Limited to the 10 users
|
|
1142
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1143
|
+
* _avg: {
|
|
1144
|
+
* age: true,
|
|
1145
|
+
* },
|
|
1146
|
+
* where: {
|
|
1147
|
+
* email: {
|
|
1148
|
+
* contains: "prisma.io",
|
|
1149
|
+
* },
|
|
1150
|
+
* },
|
|
1151
|
+
* orderBy: {
|
|
1152
|
+
* age: "asc",
|
|
1153
|
+
* },
|
|
1154
|
+
* take: 10,
|
|
1155
|
+
* })
|
|
1156
|
+
**/
|
|
855
1157
|
aggregate<T extends ReservationAggregateArgs>(args: Prisma.Subset<T, ReservationAggregateArgs>): Prisma.PrismaPromise<GetReservationAggregateType<T>>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Group by Reservation.
|
|
1160
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1161
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1162
|
+
* @param {ReservationGroupByArgs} args - Group by arguments.
|
|
1163
|
+
* @example
|
|
1164
|
+
* // Group by city, order by createdAt, get count
|
|
1165
|
+
* const result = await prisma.user.groupBy({
|
|
1166
|
+
* by: ['city', 'createdAt'],
|
|
1167
|
+
* orderBy: {
|
|
1168
|
+
* createdAt: true
|
|
1169
|
+
* },
|
|
1170
|
+
* _count: {
|
|
1171
|
+
* _all: true
|
|
1172
|
+
* },
|
|
1173
|
+
* })
|
|
1174
|
+
*
|
|
1175
|
+
**/
|
|
856
1176
|
groupBy<T extends ReservationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
857
1177
|
orderBy: ReservationGroupByArgs['orderBy'];
|
|
858
1178
|
} : {
|
|
@@ -871,16 +1191,45 @@ export interface ReservationDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
871
1191
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
872
1192
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
873
1193
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ReservationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReservationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Fields of the Reservation model
|
|
1196
|
+
*/
|
|
874
1197
|
readonly fields: ReservationFieldRefs;
|
|
875
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* The delegate class that acts as a "Promise-like" for Reservation.
|
|
1201
|
+
* Why is this prefixed with `Prisma__`?
|
|
1202
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1203
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1204
|
+
*/
|
|
876
1205
|
export interface Prisma__ReservationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
877
1206
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
878
1207
|
user<T extends Prisma.Reservation$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Reservation$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
879
1208
|
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1211
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1212
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1213
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1214
|
+
*/
|
|
880
1215
|
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>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1218
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1219
|
+
* @returns A Promise for the completion of the callback.
|
|
1220
|
+
*/
|
|
881
1221
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1224
|
+
* resolved value cannot be modified from the callback.
|
|
1225
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1226
|
+
* @returns A Promise for the completion of the callback.
|
|
1227
|
+
*/
|
|
882
1228
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
883
1229
|
}
|
|
1230
|
+
/**
|
|
1231
|
+
* Fields of the Reservation model
|
|
1232
|
+
*/
|
|
884
1233
|
export interface ReservationFieldRefs {
|
|
885
1234
|
readonly id: Prisma.FieldRef<"Reservation", 'String'>;
|
|
886
1235
|
readonly firstname: Prisma.FieldRef<"Reservation", 'String'>;
|
|
@@ -896,115 +1245,421 @@ export interface ReservationFieldRefs {
|
|
|
896
1245
|
readonly cancelledAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
897
1246
|
readonly updatedAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
898
1247
|
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Reservation findUnique
|
|
1250
|
+
*/
|
|
899
1251
|
export type ReservationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
/**
|
|
1253
|
+
* Select specific fields to fetch from the Reservation
|
|
1254
|
+
*/
|
|
900
1255
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1256
|
+
/**
|
|
1257
|
+
* Omit specific fields from the Reservation
|
|
1258
|
+
*/
|
|
901
1259
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* Choose, which related nodes to fetch as well
|
|
1262
|
+
*/
|
|
902
1263
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Filter, which Reservation to fetch.
|
|
1266
|
+
*/
|
|
903
1267
|
where: Prisma.ReservationWhereUniqueInput;
|
|
904
1268
|
};
|
|
1269
|
+
/**
|
|
1270
|
+
* Reservation findUniqueOrThrow
|
|
1271
|
+
*/
|
|
905
1272
|
export type ReservationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Select specific fields to fetch from the Reservation
|
|
1275
|
+
*/
|
|
906
1276
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Omit specific fields from the Reservation
|
|
1279
|
+
*/
|
|
907
1280
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
908
1284
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1285
|
+
/**
|
|
1286
|
+
* Filter, which Reservation to fetch.
|
|
1287
|
+
*/
|
|
909
1288
|
where: Prisma.ReservationWhereUniqueInput;
|
|
910
1289
|
};
|
|
1290
|
+
/**
|
|
1291
|
+
* Reservation findFirst
|
|
1292
|
+
*/
|
|
911
1293
|
export type ReservationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1294
|
+
/**
|
|
1295
|
+
* Select specific fields to fetch from the Reservation
|
|
1296
|
+
*/
|
|
912
1297
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* Omit specific fields from the Reservation
|
|
1300
|
+
*/
|
|
913
1301
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* Choose, which related nodes to fetch as well
|
|
1304
|
+
*/
|
|
914
1305
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Filter, which Reservation to fetch.
|
|
1308
|
+
*/
|
|
915
1309
|
where?: Prisma.ReservationWhereInput;
|
|
1310
|
+
/**
|
|
1311
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1312
|
+
*
|
|
1313
|
+
* Determine the order of Reservations to fetch.
|
|
1314
|
+
*/
|
|
916
1315
|
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1316
|
+
/**
|
|
1317
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1318
|
+
*
|
|
1319
|
+
* Sets the position for searching for Reservations.
|
|
1320
|
+
*/
|
|
917
1321
|
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1322
|
+
/**
|
|
1323
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1324
|
+
*
|
|
1325
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1326
|
+
*/
|
|
918
1327
|
take?: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1330
|
+
*
|
|
1331
|
+
* Skip the first `n` Reservations.
|
|
1332
|
+
*/
|
|
919
1333
|
skip?: number;
|
|
1334
|
+
/**
|
|
1335
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1336
|
+
*
|
|
1337
|
+
* Filter by unique combinations of Reservations.
|
|
1338
|
+
*/
|
|
920
1339
|
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
921
1340
|
};
|
|
1341
|
+
/**
|
|
1342
|
+
* Reservation findFirstOrThrow
|
|
1343
|
+
*/
|
|
922
1344
|
export type ReservationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1345
|
+
/**
|
|
1346
|
+
* Select specific fields to fetch from the Reservation
|
|
1347
|
+
*/
|
|
923
1348
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Omit specific fields from the Reservation
|
|
1351
|
+
*/
|
|
924
1352
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Choose, which related nodes to fetch as well
|
|
1355
|
+
*/
|
|
925
1356
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Filter, which Reservation to fetch.
|
|
1359
|
+
*/
|
|
926
1360
|
where?: Prisma.ReservationWhereInput;
|
|
1361
|
+
/**
|
|
1362
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1363
|
+
*
|
|
1364
|
+
* Determine the order of Reservations to fetch.
|
|
1365
|
+
*/
|
|
927
1366
|
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1367
|
+
/**
|
|
1368
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1369
|
+
*
|
|
1370
|
+
* Sets the position for searching for Reservations.
|
|
1371
|
+
*/
|
|
928
1372
|
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1373
|
+
/**
|
|
1374
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1375
|
+
*
|
|
1376
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1377
|
+
*/
|
|
929
1378
|
take?: number;
|
|
1379
|
+
/**
|
|
1380
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1381
|
+
*
|
|
1382
|
+
* Skip the first `n` Reservations.
|
|
1383
|
+
*/
|
|
930
1384
|
skip?: number;
|
|
1385
|
+
/**
|
|
1386
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1387
|
+
*
|
|
1388
|
+
* Filter by unique combinations of Reservations.
|
|
1389
|
+
*/
|
|
931
1390
|
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
932
1391
|
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Reservation findMany
|
|
1394
|
+
*/
|
|
933
1395
|
export type ReservationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Select specific fields to fetch from the Reservation
|
|
1398
|
+
*/
|
|
934
1399
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* Omit specific fields from the Reservation
|
|
1402
|
+
*/
|
|
935
1403
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Choose, which related nodes to fetch as well
|
|
1406
|
+
*/
|
|
936
1407
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* Filter, which Reservations to fetch.
|
|
1410
|
+
*/
|
|
937
1411
|
where?: Prisma.ReservationWhereInput;
|
|
1412
|
+
/**
|
|
1413
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1414
|
+
*
|
|
1415
|
+
* Determine the order of Reservations to fetch.
|
|
1416
|
+
*/
|
|
938
1417
|
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1418
|
+
/**
|
|
1419
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1420
|
+
*
|
|
1421
|
+
* Sets the position for listing Reservations.
|
|
1422
|
+
*/
|
|
939
1423
|
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1424
|
+
/**
|
|
1425
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1426
|
+
*
|
|
1427
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1428
|
+
*/
|
|
940
1429
|
take?: number;
|
|
1430
|
+
/**
|
|
1431
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1432
|
+
*
|
|
1433
|
+
* Skip the first `n` Reservations.
|
|
1434
|
+
*/
|
|
941
1435
|
skip?: number;
|
|
1436
|
+
/**
|
|
1437
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1438
|
+
*
|
|
1439
|
+
* Filter by unique combinations of Reservations.
|
|
1440
|
+
*/
|
|
942
1441
|
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
943
1442
|
};
|
|
1443
|
+
/**
|
|
1444
|
+
* Reservation create
|
|
1445
|
+
*/
|
|
944
1446
|
export type ReservationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1447
|
+
/**
|
|
1448
|
+
* Select specific fields to fetch from the Reservation
|
|
1449
|
+
*/
|
|
945
1450
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* Omit specific fields from the Reservation
|
|
1453
|
+
*/
|
|
946
1454
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Choose, which related nodes to fetch as well
|
|
1457
|
+
*/
|
|
947
1458
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* The data needed to create a Reservation.
|
|
1461
|
+
*/
|
|
948
1462
|
data: Prisma.XOR<Prisma.ReservationCreateInput, Prisma.ReservationUncheckedCreateInput>;
|
|
949
1463
|
};
|
|
1464
|
+
/**
|
|
1465
|
+
* Reservation createMany
|
|
1466
|
+
*/
|
|
950
1467
|
export type ReservationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* The data used to create many Reservations.
|
|
1470
|
+
*/
|
|
951
1471
|
data: Prisma.ReservationCreateManyInput | Prisma.ReservationCreateManyInput[];
|
|
952
1472
|
skipDuplicates?: boolean;
|
|
953
1473
|
};
|
|
1474
|
+
/**
|
|
1475
|
+
* Reservation createManyAndReturn
|
|
1476
|
+
*/
|
|
954
1477
|
export type ReservationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Select specific fields to fetch from the Reservation
|
|
1480
|
+
*/
|
|
955
1481
|
select?: Prisma.ReservationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the Reservation
|
|
1484
|
+
*/
|
|
956
1485
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1486
|
+
/**
|
|
1487
|
+
* The data used to create many Reservations.
|
|
1488
|
+
*/
|
|
957
1489
|
data: Prisma.ReservationCreateManyInput | Prisma.ReservationCreateManyInput[];
|
|
958
1490
|
skipDuplicates?: boolean;
|
|
1491
|
+
/**
|
|
1492
|
+
* Choose, which related nodes to fetch as well
|
|
1493
|
+
*/
|
|
959
1494
|
include?: Prisma.ReservationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
960
1495
|
};
|
|
1496
|
+
/**
|
|
1497
|
+
* Reservation update
|
|
1498
|
+
*/
|
|
961
1499
|
export type ReservationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Select specific fields to fetch from the Reservation
|
|
1502
|
+
*/
|
|
962
1503
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Omit specific fields from the Reservation
|
|
1506
|
+
*/
|
|
963
1507
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1508
|
+
/**
|
|
1509
|
+
* Choose, which related nodes to fetch as well
|
|
1510
|
+
*/
|
|
964
1511
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* The data needed to update a Reservation.
|
|
1514
|
+
*/
|
|
965
1515
|
data: Prisma.XOR<Prisma.ReservationUpdateInput, Prisma.ReservationUncheckedUpdateInput>;
|
|
1516
|
+
/**
|
|
1517
|
+
* Choose, which Reservation to update.
|
|
1518
|
+
*/
|
|
966
1519
|
where: Prisma.ReservationWhereUniqueInput;
|
|
967
1520
|
};
|
|
1521
|
+
/**
|
|
1522
|
+
* Reservation updateMany
|
|
1523
|
+
*/
|
|
968
1524
|
export type ReservationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1525
|
+
/**
|
|
1526
|
+
* The data used to update Reservations.
|
|
1527
|
+
*/
|
|
969
1528
|
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyInput>;
|
|
1529
|
+
/**
|
|
1530
|
+
* Filter which Reservations to update
|
|
1531
|
+
*/
|
|
970
1532
|
where?: Prisma.ReservationWhereInput;
|
|
1533
|
+
/**
|
|
1534
|
+
* Limit how many Reservations to update.
|
|
1535
|
+
*/
|
|
971
1536
|
limit?: number;
|
|
972
1537
|
};
|
|
1538
|
+
/**
|
|
1539
|
+
* Reservation updateManyAndReturn
|
|
1540
|
+
*/
|
|
973
1541
|
export type ReservationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the Reservation
|
|
1544
|
+
*/
|
|
974
1545
|
select?: Prisma.ReservationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the Reservation
|
|
1548
|
+
*/
|
|
975
1549
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* The data used to update Reservations.
|
|
1552
|
+
*/
|
|
976
1553
|
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyInput>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter which Reservations to update
|
|
1556
|
+
*/
|
|
977
1557
|
where?: Prisma.ReservationWhereInput;
|
|
1558
|
+
/**
|
|
1559
|
+
* Limit how many Reservations to update.
|
|
1560
|
+
*/
|
|
978
1561
|
limit?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* Choose, which related nodes to fetch as well
|
|
1564
|
+
*/
|
|
979
1565
|
include?: Prisma.ReservationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
980
1566
|
};
|
|
1567
|
+
/**
|
|
1568
|
+
* Reservation upsert
|
|
1569
|
+
*/
|
|
981
1570
|
export type ReservationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1571
|
+
/**
|
|
1572
|
+
* Select specific fields to fetch from the Reservation
|
|
1573
|
+
*/
|
|
982
1574
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Omit specific fields from the Reservation
|
|
1577
|
+
*/
|
|
983
1578
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Choose, which related nodes to fetch as well
|
|
1581
|
+
*/
|
|
984
1582
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* The filter to search for the Reservation to update in case it exists.
|
|
1585
|
+
*/
|
|
985
1586
|
where: Prisma.ReservationWhereUniqueInput;
|
|
1587
|
+
/**
|
|
1588
|
+
* In case the Reservation found by the `where` argument doesn't exist, create a new Reservation with this data.
|
|
1589
|
+
*/
|
|
986
1590
|
create: Prisma.XOR<Prisma.ReservationCreateInput, Prisma.ReservationUncheckedCreateInput>;
|
|
1591
|
+
/**
|
|
1592
|
+
* In case the Reservation was found with the provided `where` argument, update it with this data.
|
|
1593
|
+
*/
|
|
987
1594
|
update: Prisma.XOR<Prisma.ReservationUpdateInput, Prisma.ReservationUncheckedUpdateInput>;
|
|
988
1595
|
};
|
|
1596
|
+
/**
|
|
1597
|
+
* Reservation delete
|
|
1598
|
+
*/
|
|
989
1599
|
export type ReservationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1600
|
+
/**
|
|
1601
|
+
* Select specific fields to fetch from the Reservation
|
|
1602
|
+
*/
|
|
990
1603
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* Omit specific fields from the Reservation
|
|
1606
|
+
*/
|
|
991
1607
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Choose, which related nodes to fetch as well
|
|
1610
|
+
*/
|
|
992
1611
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* Filter which Reservation to delete.
|
|
1614
|
+
*/
|
|
993
1615
|
where: Prisma.ReservationWhereUniqueInput;
|
|
994
1616
|
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Reservation deleteMany
|
|
1619
|
+
*/
|
|
995
1620
|
export type ReservationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1621
|
+
/**
|
|
1622
|
+
* Filter which Reservations to delete
|
|
1623
|
+
*/
|
|
996
1624
|
where?: Prisma.ReservationWhereInput;
|
|
1625
|
+
/**
|
|
1626
|
+
* Limit how many Reservations to delete.
|
|
1627
|
+
*/
|
|
997
1628
|
limit?: number;
|
|
998
1629
|
};
|
|
1630
|
+
/**
|
|
1631
|
+
* Reservation.user
|
|
1632
|
+
*/
|
|
999
1633
|
export type Reservation$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1634
|
+
/**
|
|
1635
|
+
* Select specific fields to fetch from the User
|
|
1636
|
+
*/
|
|
1000
1637
|
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Omit specific fields from the User
|
|
1640
|
+
*/
|
|
1001
1641
|
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Choose, which related nodes to fetch as well
|
|
1644
|
+
*/
|
|
1002
1645
|
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1003
1646
|
where?: Prisma.UserWhereInput;
|
|
1004
1647
|
};
|
|
1648
|
+
/**
|
|
1649
|
+
* Reservation without action
|
|
1650
|
+
*/
|
|
1005
1651
|
export type ReservationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1652
|
+
/**
|
|
1653
|
+
* Select specific fields to fetch from the Reservation
|
|
1654
|
+
*/
|
|
1006
1655
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1656
|
+
/**
|
|
1657
|
+
* Omit specific fields from the Reservation
|
|
1658
|
+
*/
|
|
1007
1659
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1660
|
+
/**
|
|
1661
|
+
* Choose, which related nodes to fetch as well
|
|
1662
|
+
*/
|
|
1008
1663
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1009
1664
|
};
|
|
1010
1665
|
export {};
|