@shophost/rest-api 0.1.0
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/LICENSE +17 -0
- package/README.md +69 -0
- package/global.d.ts +1 -0
- package/package.json +53 -0
- package/schemas.d.ts +1 -0
- package/schemas.js +2 -0
- package/schemas.ts +1 -0
- package/src/contract.d.ts +3853 -0
- package/src/contract.js +6 -0
- package/src/contract.js.map +1 -0
- package/src/contracts/cart.contract.d.ts +536 -0
- package/src/contracts/cart.contract.js +29 -0
- package/src/contracts/cart.contract.js.map +1 -0
- package/src/contracts/customers.contract.d.ts +903 -0
- package/src/contracts/customers.contract.js +119 -0
- package/src/contracts/customers.contract.js.map +1 -0
- package/src/contracts/files.contract.d.ts +152 -0
- package/src/contracts/files.contract.js +29 -0
- package/src/contracts/files.contract.js.map +1 -0
- package/src/contracts/health.contract.d.ts +38 -0
- package/src/contracts/health.contract.js +25 -0
- package/src/contracts/health.contract.js.map +1 -0
- package/src/contracts/index.d.ts +15466 -0
- package/src/contracts/index.js +32 -0
- package/src/contracts/index.js.map +1 -0
- package/src/contracts/location.contract.d.ts +127 -0
- package/src/contracts/location.contract.js +40 -0
- package/src/contracts/location.contract.js.map +1 -0
- package/src/contracts/manufacturers.contract.d.ts +931 -0
- package/src/contracts/manufacturers.contract.js +85 -0
- package/src/contracts/manufacturers.contract.js.map +1 -0
- package/src/contracts/orders.contract.d.ts +3910 -0
- package/src/contracts/orders.contract.js +92 -0
- package/src/contracts/orders.contract.js.map +1 -0
- package/src/contracts/organizations.contract.d.ts +2234 -0
- package/src/contracts/organizations.contract.js +71 -0
- package/src/contracts/organizations.contract.js.map +1 -0
- package/src/contracts/payment.contract.d.ts +64 -0
- package/src/contracts/payment.contract.js +20 -0
- package/src/contracts/payment.contract.js.map +1 -0
- package/src/contracts/product-categories.contract.d.ts +1172 -0
- package/src/contracts/product-categories.contract.js +103 -0
- package/src/contracts/product-categories.contract.js.map +1 -0
- package/src/contracts/products.contract.d.ts +3976 -0
- package/src/contracts/products.contract.js +128 -0
- package/src/contracts/products.contract.js.map +1 -0
- package/src/contracts/reservation.contract.d.ts +675 -0
- package/src/contracts/reservation.contract.js +141 -0
- package/src/contracts/reservation.contract.js.map +1 -0
- package/src/contracts/shipping-methods.contract.d.ts +1276 -0
- package/src/contracts/shipping-methods.contract.js +118 -0
- package/src/contracts/shipping-methods.contract.js.map +1 -0
- package/src/contracts/shipping.contract.d.ts +319 -0
- package/src/contracts/shipping.contract.js +42 -0
- package/src/contracts/shipping.contract.js.map +1 -0
- package/src/contracts/webhook.contract.d.ts +66 -0
- package/src/contracts/webhook.contract.js +28 -0
- package/src/contracts/webhook.contract.js.map +1 -0
- package/src/db/__generated__/client/client.d.ts +385 -0
- package/src/db/__generated__/client/client.js +44 -0
- package/src/db/__generated__/client/client.js.map +1 -0
- package/src/db/__generated__/client/commonInputTypes.d.ts +816 -0
- package/src/db/__generated__/client/commonInputTypes.js +10 -0
- package/src/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/db/__generated__/client/enums.d.ts +204 -0
- package/src/db/__generated__/client/enums.js +199 -0
- package/src/db/__generated__/client/enums.js.map +1 -0
- package/src/db/__generated__/client/index.d.ts +1 -0
- package/src/db/__generated__/client/index.js +5 -0
- package/src/db/__generated__/client/index.js.map +1 -0
- package/src/db/__generated__/client/internal/class.d.ts +414 -0
- package/src/db/__generated__/client/internal/class.js +76 -0
- package/src/db/__generated__/client/internal/class.js.map +1 -0
- package/src/db/__generated__/client/internal/prismaNamespace.d.ts +3474 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js +543 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/db/__generated__/client/models/Account.d.ts +1459 -0
- package/src/db/__generated__/client/models/Account.js +2 -0
- package/src/db/__generated__/client/models/Account.js.map +1 -0
- package/src/db/__generated__/client/models/Address.d.ts +2337 -0
- package/src/db/__generated__/client/models/Address.js +2 -0
- package/src/db/__generated__/client/models/Address.js.map +1 -0
- package/src/db/__generated__/client/models/Campaign.d.ts +1469 -0
- package/src/db/__generated__/client/models/Campaign.js +2 -0
- package/src/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/db/__generated__/client/models/ClosingTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/ClosingTimes.js +2 -0
- package/src/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/db/__generated__/client/models/File.d.ts +2670 -0
- package/src/db/__generated__/client/models/File.js +2 -0
- package/src/db/__generated__/client/models/File.js.map +1 -0
- package/src/db/__generated__/client/models/Invitation.d.ts +1363 -0
- package/src/db/__generated__/client/models/Invitation.js +2 -0
- package/src/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/db/__generated__/client/models/LegalEntity.d.ts +1572 -0
- package/src/db/__generated__/client/models/LegalEntity.js +2 -0
- package/src/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/db/__generated__/client/models/Manufacturer.d.ts +1746 -0
- package/src/db/__generated__/client/models/Manufacturer.js +2 -0
- package/src/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.d.ts +1286 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js +2 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Member.d.ts +1281 -0
- package/src/db/__generated__/client/models/Member.js +2 -0
- package/src/db/__generated__/client/models/Member.js.map +1 -0
- package/src/db/__generated__/client/models/Modifier.d.ts +1404 -0
- package/src/db/__generated__/client/models/Modifier.js +2 -0
- package/src/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroup.d.ts +1469 -0
- package/src/db/__generated__/client/models/ModifierGroup.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/OpeningTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/OpeningTimes.js +2 -0
- package/src/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/db/__generated__/client/models/Order.d.ts +2820 -0
- package/src/db/__generated__/client/models/Order.js +2 -0
- package/src/db/__generated__/client/models/Order.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItem.d.ts +1755 -0
- package/src/db/__generated__/client/models/OrderItem.js +2 -0
- package/src/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js +2 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Organization.d.ts +3996 -0
- package/src/db/__generated__/client/models/Organization.js +2 -0
- package/src/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.d.ts +1954 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js +2 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/db/__generated__/client/models/Payment.d.ts +1538 -0
- package/src/db/__generated__/client/models/Payment.js +2 -0
- package/src/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/db/__generated__/client/models/PaymentSession.d.ts +1384 -0
- package/src/db/__generated__/client/models/PaymentSession.js +2 -0
- package/src/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/db/__generated__/client/models/Product.d.ts +3136 -0
- package/src/db/__generated__/client/models/Product.js +2 -0
- package/src/db/__generated__/client/models/Product.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategory.d.ts +1964 -0
- package/src/db/__generated__/client/models/ProductCategory.js +2 -0
- package/src/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/ProductSnapshot.d.ts +1389 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js +2 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/db/__generated__/client/models/ProductTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Reservation.d.ts +1665 -0
- package/src/db/__generated__/client/models/Reservation.js +2 -0
- package/src/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/db/__generated__/client/models/Session.d.ts +1316 -0
- package/src/db/__generated__/client/models/Session.js +2 -0
- package/src/db/__generated__/client/models/Session.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingMethod.d.ts +1934 -0
- package/src/db/__generated__/client/models/ShippingMethod.js +2 -0
- package/src/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingZone.d.ts +1366 -0
- package/src/db/__generated__/client/models/ShippingZone.js +2 -0
- package/src/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/db/__generated__/client/models/User.d.ts +2201 -0
- package/src/db/__generated__/client/models/User.js +2 -0
- package/src/db/__generated__/client/models/User.js.map +1 -0
- package/src/db/__generated__/client/models/Verification.d.ts +1026 -0
- package/src/db/__generated__/client/models/Verification.js +2 -0
- package/src/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/db/__generated__/client/models.d.ts +38 -0
- package/src/db/__generated__/client/models.js +2 -0
- package/src/db/__generated__/client/models.js.map +1 -0
- package/src/db/index.d.ts +1 -0
- package/src/db/index.js +2 -0
- package/src/db/index.js.map +1 -0
- package/src/emails/order-confirmation-email.d.ts +10 -0
- package/src/emails/order-confirmation-email.js +229 -0
- package/src/emails/order-confirmation-email.js.map +1 -0
- package/src/emails/order-notification-email.d.ts +10 -0
- package/src/emails/order-notification-email.js +229 -0
- package/src/emails/order-notification-email.js.map +1 -0
- package/src/emails/reservation-cancellation-email.d.ts +10 -0
- package/src/emails/reservation-cancellation-email.js +82 -0
- package/src/emails/reservation-cancellation-email.js.map +1 -0
- package/src/emails/reservation-confirmation-email.d.ts +10 -0
- package/src/emails/reservation-confirmation-email.js +82 -0
- package/src/emails/reservation-confirmation-email.js.map +1 -0
- package/src/emails/reservation-notification-email.d.ts +11 -0
- package/src/emails/reservation-notification-email.js +93 -0
- package/src/emails/reservation-notification-email.js.map +1 -0
- package/src/exceptions/http-exception.d.ts +6 -0
- package/src/exceptions/http-exception.js +9 -0
- package/src/exceptions/http-exception.js.map +1 -0
- package/src/handlers/webhook.handler.d.ts +8 -0
- package/src/handlers/webhook.handler.js +36 -0
- package/src/handlers/webhook.handler.js.map +1 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +7 -0
- package/src/index.js.map +1 -0
- package/src/integrations/next.d.ts +25 -0
- package/src/integrations/next.js +69 -0
- package/src/integrations/next.js.map +1 -0
- package/src/lib/better-auth.lib.d.ts +10215 -0
- package/src/lib/better-auth.lib.js +96 -0
- package/src/lib/better-auth.lib.js.map +1 -0
- package/src/lib/openapi.lib.d.ts +2 -0
- package/src/lib/openapi.lib.js +25 -0
- package/src/lib/openapi.lib.js.map +1 -0
- package/src/lib/pino.d.ts +1 -0
- package/src/lib/pino.js +5 -0
- package/src/lib/pino.js.map +1 -0
- package/src/lib/prisma.d.ts +819 -0
- package/src/lib/prisma.js +14 -0
- package/src/lib/prisma.js.map +1 -0
- package/src/lib/stripe.d.ts +2 -0
- package/src/lib/stripe.js +8 -0
- package/src/lib/stripe.js.map +1 -0
- package/src/lib/ts-rest.d.ts +2 -0
- package/src/lib/ts-rest.js +3 -0
- package/src/lib/ts-rest.js.map +1 -0
- package/src/routers/cart.router.d.ts +536 -0
- package/src/routers/cart.router.js +20 -0
- package/src/routers/cart.router.js.map +1 -0
- package/src/routers/file.router.d.ts +153 -0
- package/src/routers/file.router.js +28 -0
- package/src/routers/file.router.js.map +1 -0
- package/src/routers/health.router.d.ts +37 -0
- package/src/routers/health.router.js +17 -0
- package/src/routers/health.router.js.map +1 -0
- package/src/routers/index.d.ts +11 -0
- package/src/routers/index.js +12 -0
- package/src/routers/index.js.map +1 -0
- package/src/routers/manufacturer.router.d.ts +931 -0
- package/src/routers/manufacturer.router.js +58 -0
- package/src/routers/manufacturer.router.js.map +1 -0
- package/src/routers/order.router.d.ts +3911 -0
- package/src/routers/order.router.js +60 -0
- package/src/routers/order.router.js.map +1 -0
- package/src/routers/organization.router.d.ts +2234 -0
- package/src/routers/organization.router.js +55 -0
- package/src/routers/organization.router.js.map +1 -0
- package/src/routers/payment.router.d.ts +65 -0
- package/src/routers/payment.router.js +22 -0
- package/src/routers/payment.router.js.map +1 -0
- package/src/routers/places.router.d.ts +132 -0
- package/src/routers/places.router.js +31 -0
- package/src/routers/places.router.js.map +1 -0
- package/src/routers/product-category.router.d.ts +1172 -0
- package/src/routers/product-category.router.js +66 -0
- package/src/routers/product-category.router.js.map +1 -0
- package/src/routers/product.router.d.ts +3976 -0
- package/src/routers/product.router.js +86 -0
- package/src/routers/product.router.js.map +1 -0
- package/src/routers/reservation.router.d.ts +675 -0
- package/src/routers/reservation.router.js +71 -0
- package/src/routers/reservation.router.js.map +1 -0
- package/src/routers/shipping-method.router.d.ts +1276 -0
- package/src/routers/shipping-method.router.js +67 -0
- package/src/routers/shipping-method.router.js.map +1 -0
- package/src/routers/shipping.router.d.ts +320 -0
- package/src/routers/shipping.router.js +38 -0
- package/src/routers/shipping.router.js.map +1 -0
- package/src/routers/webhook.router.d.ts +65 -0
- package/src/routers/webhook.router.js +19 -0
- package/src/routers/webhook.router.js.map +1 -0
- package/src/schemas/address.schema.d.ts +235 -0
- package/src/schemas/address.schema.js +114 -0
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/auth.schema.d.ts +29 -0
- package/src/schemas/auth.schema.js +39 -0
- package/src/schemas/auth.schema.js.map +1 -0
- package/src/schemas/cart.schema.d.ts +446 -0
- package/src/schemas/cart.schema.js +41 -0
- package/src/schemas/cart.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +49 -0
- package/src/schemas/currency.schema.js +120 -0
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.d.ts +11 -0
- package/src/schemas/error.schema.js +14 -0
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/file.schema.d.ts +115 -0
- package/src/schemas/file.schema.js +79 -0
- package/src/schemas/file.schema.js.map +1 -0
- package/src/schemas/fulfilment.schema.d.ts +2 -0
- package/src/schemas/fulfilment.schema.js +5 -0
- package/src/schemas/fulfilment.schema.js.map +1 -0
- package/src/schemas/headers.schema.d.ts +11 -0
- package/src/schemas/headers.schema.js +15 -0
- package/src/schemas/headers.schema.js.map +1 -0
- package/src/schemas/index.d.ts +27 -0
- package/src/schemas/index.js +28 -0
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/legal-entity.schema.d.ts +212 -0
- package/src/schemas/legal-entity.schema.js +85 -0
- package/src/schemas/legal-entity.schema.js.map +1 -0
- package/src/schemas/locales.schema.d.ts +8 -0
- package/src/schemas/locales.schema.js +240 -0
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/location.schema.d.ts +41 -0
- package/src/schemas/location.schema.js +50 -0
- package/src/schemas/location.schema.js.map +1 -0
- package/src/schemas/manufacturer.schema.d.ts +287 -0
- package/src/schemas/manufacturer.schema.js +127 -0
- package/src/schemas/manufacturer.schema.js.map +1 -0
- package/src/schemas/number.schema.d.ts +3 -0
- package/src/schemas/number.schema.js +29 -0
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/order.schema.d.ts +1046 -0
- package/src/schemas/order.schema.js +160 -0
- package/src/schemas/order.schema.js.map +1 -0
- package/src/schemas/organization-configuration.schema.d.ts +287 -0
- package/src/schemas/organization-configuration.schema.js +117 -0
- package/src/schemas/organization-configuration.schema.js.map +1 -0
- package/src/schemas/organization.schema.d.ts +894 -0
- package/src/schemas/organization.schema.js +66 -0
- package/src/schemas/organization.schema.js.map +1 -0
- package/src/schemas/pagination.schema.d.ts +51 -0
- package/src/schemas/pagination.schema.js +54 -0
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.d.ts +19 -0
- package/src/schemas/params.schema.js +22 -0
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/payment.schema.d.ts +54 -0
- package/src/schemas/payment.schema.js +48 -0
- package/src/schemas/payment.schema.js.map +1 -0
- package/src/schemas/product-category.schema.d.ts +352 -0
- package/src/schemas/product-category.schema.js +87 -0
- package/src/schemas/product-category.schema.js.map +1 -0
- package/src/schemas/product-modifier.schema.d.ts +280 -0
- package/src/schemas/product-modifier.schema.js +86 -0
- package/src/schemas/product-modifier.schema.js.map +1 -0
- package/src/schemas/product.schema.d.ts +1405 -0
- package/src/schemas/product.schema.js +136 -0
- package/src/schemas/product.schema.js.map +1 -0
- package/src/schemas/queries.schema.d.ts +8 -0
- package/src/schemas/queries.schema.js +8 -0
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/schemas/recipient.schema.d.ts +260 -0
- package/src/schemas/recipient.schema.js +40 -0
- package/src/schemas/recipient.schema.js.map +1 -0
- package/src/schemas/reservation.schema.d.ts +61 -0
- package/src/schemas/reservation.schema.js +53 -0
- package/src/schemas/reservation.schema.js.map +1 -0
- package/src/schemas/shipping-method.schema.d.ts +335 -0
- package/src/schemas/shipping-method.schema.js +50 -0
- package/src/schemas/shipping-method.schema.js.map +1 -0
- package/src/schemas/shipping-zone.schema.d.ts +24 -0
- package/src/schemas/shipping-zone.schema.js +33 -0
- package/src/schemas/shipping-zone.schema.js.map +1 -0
- package/src/schemas/user.schema.d.ts +24 -0
- package/src/schemas/user.schema.js +32 -0
- package/src/schemas/user.schema.js.map +1 -0
- package/src/services/cart.service.d.ts +60 -0
- package/src/services/cart.service.js +97 -0
- package/src/services/cart.service.js.map +1 -0
- package/src/services/email.service.d.ts +32 -0
- package/src/services/email.service.js +116 -0
- package/src/services/email.service.js.map +1 -0
- package/src/services/file.service.d.ts +28 -0
- package/src/services/file.service.js +66 -0
- package/src/services/file.service.js.map +1 -0
- package/src/services/location.service.d.ts +28 -0
- package/src/services/location.service.js +109 -0
- package/src/services/location.service.js.map +1 -0
- package/src/services/manufacturer.service.d.ts +146 -0
- package/src/services/manufacturer.service.js +190 -0
- package/src/services/manufacturer.service.js.map +1 -0
- package/src/services/order.service.d.ts +444 -0
- package/src/services/order.service.js +306 -0
- package/src/services/order.service.js.map +1 -0
- package/src/services/organization.service.d.ts +301 -0
- package/src/services/organization.service.js +312 -0
- package/src/services/organization.service.js.map +1 -0
- package/src/services/payment.service.d.ts +35 -0
- package/src/services/payment.service.js +100 -0
- package/src/services/payment.service.js.map +1 -0
- package/src/services/product-category.service.d.ts +180 -0
- package/src/services/product-category.service.js +220 -0
- package/src/services/product-category.service.js.map +1 -0
- package/src/services/product.service.d.ts +493 -0
- package/src/services/product.service.js +437 -0
- package/src/services/product.service.js.map +1 -0
- package/src/services/reservation.service.d.ts +104 -0
- package/src/services/reservation.service.js +231 -0
- package/src/services/reservation.service.js.map +1 -0
- package/src/services/shipping-method.service.d.ts +206 -0
- package/src/services/shipping-method.service.js +229 -0
- package/src/services/shipping-method.service.js.map +1 -0
- package/src/services/shipping.service.d.ts +57 -0
- package/src/services/shipping.service.js +96 -0
- package/src/services/shipping.service.js.map +1 -0
- package/src/services/stripe.service.d.ts +26 -0
- package/src/services/stripe.service.js +164 -0
- package/src/services/stripe.service.js.map +1 -0
- package/src/types/google-maps.types.d.ts +53 -0
- package/src/types/google-maps.types.js +2 -0
- package/src/types/google-maps.types.js.map +1 -0
- package/src/utils/auth.util.d.ts +3 -0
- package/src/utils/auth.util.js +36 -0
- package/src/utils/auth.util.js.map +1 -0
- package/src/utils/cart.util.d.ts +27 -0
- package/src/utils/cart.util.js +76 -0
- package/src/utils/cart.util.js.map +1 -0
- package/src/utils/client.util.d.ts +3853 -0
- package/src/utils/client.util.js +6 -0
- package/src/utils/client.util.js.map +1 -0
- package/src/utils/currency.util.d.ts +1 -0
- package/src/utils/currency.util.js +11 -0
- package/src/utils/currency.util.js.map +1 -0
- package/src/utils/env.util.d.ts +2 -0
- package/src/utils/env.util.js +8 -0
- package/src/utils/env.util.js.map +1 -0
- package/src/utils/error-handler.util.d.ts +3 -0
- package/src/utils/error-handler.util.js +30 -0
- package/src/utils/error-handler.util.js.map +1 -0
- package/src/utils/generate-password-hash.util.d.ts +7 -0
- package/src/utils/generate-password-hash.util.js +30 -0
- package/src/utils/generate-password-hash.util.js.map +1 -0
- package/src/utils/object.util.d.ts +11 -0
- package/src/utils/object.util.js +39 -0
- package/src/utils/object.util.js.map +1 -0
- package/src/utils/translations.util.d.ts +0 -0
- package/src/utils/translations.util.js +2 -0
- package/src/utils/translations.util.js.map +1 -0
- package/src/utils/zod.util.d.ts +15 -0
- package/src/utils/zod.util.js +85 -0
- package/src/utils/zod.util.js.map +1 -0
|
@@ -0,0 +1,1665 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `Reservation` model and its related types.
|
|
3
|
+
*
|
|
4
|
+
* 🟢 You can import this file directly.
|
|
5
|
+
*/
|
|
6
|
+
import * as runtime from "@prisma/client/runtime/library";
|
|
7
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
8
|
+
/**
|
|
9
|
+
* Model Reservation
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ReservationModel = runtime.Types.Result.DefaultSelection<Prisma.$ReservationPayload>;
|
|
13
|
+
export type AggregateReservation = {
|
|
14
|
+
_count: ReservationCountAggregateOutputType | null;
|
|
15
|
+
_avg: ReservationAvgAggregateOutputType | null;
|
|
16
|
+
_sum: ReservationSumAggregateOutputType | null;
|
|
17
|
+
_min: ReservationMinAggregateOutputType | null;
|
|
18
|
+
_max: ReservationMaxAggregateOutputType | null;
|
|
19
|
+
};
|
|
20
|
+
export type ReservationAvgAggregateOutputType = {
|
|
21
|
+
guests: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type ReservationSumAggregateOutputType = {
|
|
24
|
+
guests: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type ReservationMinAggregateOutputType = {
|
|
27
|
+
id: string | null;
|
|
28
|
+
firstname: string | null;
|
|
29
|
+
lastname: string | null;
|
|
30
|
+
userId: string | null;
|
|
31
|
+
guests: number | null;
|
|
32
|
+
phone: string | null;
|
|
33
|
+
date: Date | null;
|
|
34
|
+
referenceId: string | null;
|
|
35
|
+
organizationId: string | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
acceptedAt: Date | null;
|
|
38
|
+
cancelledAt: Date | null;
|
|
39
|
+
updatedAt: Date | null;
|
|
40
|
+
};
|
|
41
|
+
export type ReservationMaxAggregateOutputType = {
|
|
42
|
+
id: string | null;
|
|
43
|
+
firstname: string | null;
|
|
44
|
+
lastname: string | null;
|
|
45
|
+
userId: string | null;
|
|
46
|
+
guests: number | null;
|
|
47
|
+
phone: string | null;
|
|
48
|
+
date: Date | null;
|
|
49
|
+
referenceId: string | null;
|
|
50
|
+
organizationId: string | null;
|
|
51
|
+
createdAt: Date | null;
|
|
52
|
+
acceptedAt: Date | null;
|
|
53
|
+
cancelledAt: Date | null;
|
|
54
|
+
updatedAt: Date | null;
|
|
55
|
+
};
|
|
56
|
+
export type ReservationCountAggregateOutputType = {
|
|
57
|
+
id: number;
|
|
58
|
+
firstname: number;
|
|
59
|
+
lastname: number;
|
|
60
|
+
userId: number;
|
|
61
|
+
guests: number;
|
|
62
|
+
phone: number;
|
|
63
|
+
date: number;
|
|
64
|
+
referenceId: number;
|
|
65
|
+
organizationId: number;
|
|
66
|
+
createdAt: number;
|
|
67
|
+
acceptedAt: number;
|
|
68
|
+
cancelledAt: number;
|
|
69
|
+
updatedAt: number;
|
|
70
|
+
_all: number;
|
|
71
|
+
};
|
|
72
|
+
export type ReservationAvgAggregateInputType = {
|
|
73
|
+
guests?: true;
|
|
74
|
+
};
|
|
75
|
+
export type ReservationSumAggregateInputType = {
|
|
76
|
+
guests?: true;
|
|
77
|
+
};
|
|
78
|
+
export type ReservationMinAggregateInputType = {
|
|
79
|
+
id?: true;
|
|
80
|
+
firstname?: true;
|
|
81
|
+
lastname?: true;
|
|
82
|
+
userId?: true;
|
|
83
|
+
guests?: true;
|
|
84
|
+
phone?: true;
|
|
85
|
+
date?: true;
|
|
86
|
+
referenceId?: true;
|
|
87
|
+
organizationId?: true;
|
|
88
|
+
createdAt?: true;
|
|
89
|
+
acceptedAt?: true;
|
|
90
|
+
cancelledAt?: true;
|
|
91
|
+
updatedAt?: true;
|
|
92
|
+
};
|
|
93
|
+
export type ReservationMaxAggregateInputType = {
|
|
94
|
+
id?: true;
|
|
95
|
+
firstname?: true;
|
|
96
|
+
lastname?: true;
|
|
97
|
+
userId?: true;
|
|
98
|
+
guests?: true;
|
|
99
|
+
phone?: true;
|
|
100
|
+
date?: true;
|
|
101
|
+
referenceId?: true;
|
|
102
|
+
organizationId?: true;
|
|
103
|
+
createdAt?: true;
|
|
104
|
+
acceptedAt?: true;
|
|
105
|
+
cancelledAt?: true;
|
|
106
|
+
updatedAt?: true;
|
|
107
|
+
};
|
|
108
|
+
export type ReservationCountAggregateInputType = {
|
|
109
|
+
id?: true;
|
|
110
|
+
firstname?: true;
|
|
111
|
+
lastname?: true;
|
|
112
|
+
userId?: true;
|
|
113
|
+
guests?: true;
|
|
114
|
+
phone?: true;
|
|
115
|
+
date?: true;
|
|
116
|
+
referenceId?: true;
|
|
117
|
+
organizationId?: true;
|
|
118
|
+
createdAt?: true;
|
|
119
|
+
acceptedAt?: true;
|
|
120
|
+
cancelledAt?: true;
|
|
121
|
+
updatedAt?: true;
|
|
122
|
+
_all?: true;
|
|
123
|
+
};
|
|
124
|
+
export type ReservationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
125
|
+
/**
|
|
126
|
+
* Filter which Reservation to aggregate.
|
|
127
|
+
*/
|
|
128
|
+
where?: Prisma.ReservationWhereInput;
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
131
|
+
*
|
|
132
|
+
* Determine the order of Reservations to fetch.
|
|
133
|
+
*/
|
|
134
|
+
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
137
|
+
*
|
|
138
|
+
* Sets the start position
|
|
139
|
+
*/
|
|
140
|
+
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
143
|
+
*
|
|
144
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
145
|
+
*/
|
|
146
|
+
take?: number;
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
149
|
+
*
|
|
150
|
+
* Skip the first `n` Reservations.
|
|
151
|
+
*/
|
|
152
|
+
skip?: number;
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Count returned Reservations
|
|
157
|
+
**/
|
|
158
|
+
_count?: true | ReservationCountAggregateInputType;
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
161
|
+
*
|
|
162
|
+
* Select which fields to average
|
|
163
|
+
**/
|
|
164
|
+
_avg?: ReservationAvgAggregateInputType;
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
167
|
+
*
|
|
168
|
+
* Select which fields to sum
|
|
169
|
+
**/
|
|
170
|
+
_sum?: ReservationSumAggregateInputType;
|
|
171
|
+
/**
|
|
172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
173
|
+
*
|
|
174
|
+
* Select which fields to find the minimum value
|
|
175
|
+
**/
|
|
176
|
+
_min?: ReservationMinAggregateInputType;
|
|
177
|
+
/**
|
|
178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
179
|
+
*
|
|
180
|
+
* Select which fields to find the maximum value
|
|
181
|
+
**/
|
|
182
|
+
_max?: ReservationMaxAggregateInputType;
|
|
183
|
+
};
|
|
184
|
+
export type GetReservationAggregateType<T extends ReservationAggregateArgs> = {
|
|
185
|
+
[P in keyof T & keyof AggregateReservation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateReservation[P]> : Prisma.GetScalarType<T[P], AggregateReservation[P]>;
|
|
186
|
+
};
|
|
187
|
+
export type ReservationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
188
|
+
where?: Prisma.ReservationWhereInput;
|
|
189
|
+
orderBy?: Prisma.ReservationOrderByWithAggregationInput | Prisma.ReservationOrderByWithAggregationInput[];
|
|
190
|
+
by: Prisma.ReservationScalarFieldEnum[] | Prisma.ReservationScalarFieldEnum;
|
|
191
|
+
having?: Prisma.ReservationScalarWhereWithAggregatesInput;
|
|
192
|
+
take?: number;
|
|
193
|
+
skip?: number;
|
|
194
|
+
_count?: ReservationCountAggregateInputType | true;
|
|
195
|
+
_avg?: ReservationAvgAggregateInputType;
|
|
196
|
+
_sum?: ReservationSumAggregateInputType;
|
|
197
|
+
_min?: ReservationMinAggregateInputType;
|
|
198
|
+
_max?: ReservationMaxAggregateInputType;
|
|
199
|
+
};
|
|
200
|
+
export type ReservationGroupByOutputType = {
|
|
201
|
+
id: string;
|
|
202
|
+
firstname: string;
|
|
203
|
+
lastname: string;
|
|
204
|
+
userId: string | null;
|
|
205
|
+
guests: number;
|
|
206
|
+
phone: string;
|
|
207
|
+
date: Date;
|
|
208
|
+
referenceId: string;
|
|
209
|
+
organizationId: string;
|
|
210
|
+
createdAt: Date;
|
|
211
|
+
acceptedAt: Date | null;
|
|
212
|
+
cancelledAt: Date | null;
|
|
213
|
+
updatedAt: Date;
|
|
214
|
+
_count: ReservationCountAggregateOutputType | null;
|
|
215
|
+
_avg: ReservationAvgAggregateOutputType | null;
|
|
216
|
+
_sum: ReservationSumAggregateOutputType | null;
|
|
217
|
+
_min: ReservationMinAggregateOutputType | null;
|
|
218
|
+
_max: ReservationMaxAggregateOutputType | null;
|
|
219
|
+
};
|
|
220
|
+
type GetReservationGroupByPayload<T extends ReservationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ReservationGroupByOutputType, T['by']> & {
|
|
221
|
+
[P in ((keyof T) & (keyof ReservationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ReservationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ReservationGroupByOutputType[P]>;
|
|
222
|
+
}>>;
|
|
223
|
+
export type ReservationWhereInput = {
|
|
224
|
+
AND?: Prisma.ReservationWhereInput | Prisma.ReservationWhereInput[];
|
|
225
|
+
OR?: Prisma.ReservationWhereInput[];
|
|
226
|
+
NOT?: Prisma.ReservationWhereInput | Prisma.ReservationWhereInput[];
|
|
227
|
+
id?: Prisma.StringFilter<"Reservation"> | string;
|
|
228
|
+
firstname?: Prisma.StringFilter<"Reservation"> | string;
|
|
229
|
+
lastname?: Prisma.StringFilter<"Reservation"> | string;
|
|
230
|
+
userId?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
231
|
+
guests?: Prisma.IntFilter<"Reservation"> | number;
|
|
232
|
+
phone?: Prisma.StringFilter<"Reservation"> | string;
|
|
233
|
+
date?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
234
|
+
referenceId?: Prisma.StringFilter<"Reservation"> | string;
|
|
235
|
+
organizationId?: Prisma.StringFilter<"Reservation"> | string;
|
|
236
|
+
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
237
|
+
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
238
|
+
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
239
|
+
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
240
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
241
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
242
|
+
};
|
|
243
|
+
export type ReservationOrderByWithRelationInput = {
|
|
244
|
+
id?: Prisma.SortOrder;
|
|
245
|
+
firstname?: Prisma.SortOrder;
|
|
246
|
+
lastname?: Prisma.SortOrder;
|
|
247
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
+
guests?: Prisma.SortOrder;
|
|
249
|
+
phone?: Prisma.SortOrder;
|
|
250
|
+
date?: Prisma.SortOrder;
|
|
251
|
+
referenceId?: Prisma.SortOrder;
|
|
252
|
+
organizationId?: Prisma.SortOrder;
|
|
253
|
+
createdAt?: Prisma.SortOrder;
|
|
254
|
+
acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
255
|
+
cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
|
+
updatedAt?: Prisma.SortOrder;
|
|
257
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
258
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
259
|
+
};
|
|
260
|
+
export type ReservationWhereUniqueInput = Prisma.AtLeast<{
|
|
261
|
+
id?: string;
|
|
262
|
+
AND?: Prisma.ReservationWhereInput | Prisma.ReservationWhereInput[];
|
|
263
|
+
OR?: Prisma.ReservationWhereInput[];
|
|
264
|
+
NOT?: Prisma.ReservationWhereInput | Prisma.ReservationWhereInput[];
|
|
265
|
+
firstname?: Prisma.StringFilter<"Reservation"> | string;
|
|
266
|
+
lastname?: Prisma.StringFilter<"Reservation"> | string;
|
|
267
|
+
userId?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
268
|
+
guests?: Prisma.IntFilter<"Reservation"> | number;
|
|
269
|
+
phone?: Prisma.StringFilter<"Reservation"> | string;
|
|
270
|
+
date?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
271
|
+
referenceId?: Prisma.StringFilter<"Reservation"> | string;
|
|
272
|
+
organizationId?: Prisma.StringFilter<"Reservation"> | string;
|
|
273
|
+
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
274
|
+
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
275
|
+
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
276
|
+
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
277
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
278
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
279
|
+
}, "id">;
|
|
280
|
+
export type ReservationOrderByWithAggregationInput = {
|
|
281
|
+
id?: Prisma.SortOrder;
|
|
282
|
+
firstname?: Prisma.SortOrder;
|
|
283
|
+
lastname?: Prisma.SortOrder;
|
|
284
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
|
+
guests?: Prisma.SortOrder;
|
|
286
|
+
phone?: Prisma.SortOrder;
|
|
287
|
+
date?: Prisma.SortOrder;
|
|
288
|
+
referenceId?: Prisma.SortOrder;
|
|
289
|
+
organizationId?: Prisma.SortOrder;
|
|
290
|
+
createdAt?: Prisma.SortOrder;
|
|
291
|
+
acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
|
+
cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
293
|
+
updatedAt?: Prisma.SortOrder;
|
|
294
|
+
_count?: Prisma.ReservationCountOrderByAggregateInput;
|
|
295
|
+
_avg?: Prisma.ReservationAvgOrderByAggregateInput;
|
|
296
|
+
_max?: Prisma.ReservationMaxOrderByAggregateInput;
|
|
297
|
+
_min?: Prisma.ReservationMinOrderByAggregateInput;
|
|
298
|
+
_sum?: Prisma.ReservationSumOrderByAggregateInput;
|
|
299
|
+
};
|
|
300
|
+
export type ReservationScalarWhereWithAggregatesInput = {
|
|
301
|
+
AND?: Prisma.ReservationScalarWhereWithAggregatesInput | Prisma.ReservationScalarWhereWithAggregatesInput[];
|
|
302
|
+
OR?: Prisma.ReservationScalarWhereWithAggregatesInput[];
|
|
303
|
+
NOT?: Prisma.ReservationScalarWhereWithAggregatesInput | Prisma.ReservationScalarWhereWithAggregatesInput[];
|
|
304
|
+
id?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
305
|
+
firstname?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
306
|
+
lastname?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
307
|
+
userId?: Prisma.StringNullableWithAggregatesFilter<"Reservation"> | string | null;
|
|
308
|
+
guests?: Prisma.IntWithAggregatesFilter<"Reservation"> | number;
|
|
309
|
+
phone?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
310
|
+
date?: Prisma.DateTimeWithAggregatesFilter<"Reservation"> | Date | string;
|
|
311
|
+
referenceId?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
312
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"Reservation"> | string;
|
|
313
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Reservation"> | Date | string;
|
|
314
|
+
acceptedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Reservation"> | Date | string | null;
|
|
315
|
+
cancelledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Reservation"> | Date | string | null;
|
|
316
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Reservation"> | Date | string;
|
|
317
|
+
};
|
|
318
|
+
export type ReservationCreateInput = {
|
|
319
|
+
id?: string;
|
|
320
|
+
firstname: string;
|
|
321
|
+
lastname: string;
|
|
322
|
+
guests: number;
|
|
323
|
+
phone: string;
|
|
324
|
+
date: Date | string;
|
|
325
|
+
referenceId: string;
|
|
326
|
+
createdAt?: Date | string;
|
|
327
|
+
acceptedAt?: Date | string | null;
|
|
328
|
+
cancelledAt?: Date | string | null;
|
|
329
|
+
updatedAt?: Date | string;
|
|
330
|
+
user?: Prisma.UserCreateNestedOneWithoutReservationsInput;
|
|
331
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutReservationsInput;
|
|
332
|
+
};
|
|
333
|
+
export type ReservationUncheckedCreateInput = {
|
|
334
|
+
id?: string;
|
|
335
|
+
firstname: string;
|
|
336
|
+
lastname: string;
|
|
337
|
+
userId?: string | null;
|
|
338
|
+
guests: number;
|
|
339
|
+
phone: string;
|
|
340
|
+
date: Date | string;
|
|
341
|
+
referenceId: string;
|
|
342
|
+
organizationId: string;
|
|
343
|
+
createdAt?: Date | string;
|
|
344
|
+
acceptedAt?: Date | string | null;
|
|
345
|
+
cancelledAt?: Date | string | null;
|
|
346
|
+
updatedAt?: Date | string;
|
|
347
|
+
};
|
|
348
|
+
export type ReservationUpdateInput = {
|
|
349
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
350
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
351
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
353
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
354
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
355
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
357
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
358
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
359
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
360
|
+
user?: Prisma.UserUpdateOneWithoutReservationsNestedInput;
|
|
361
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutReservationsNestedInput;
|
|
362
|
+
};
|
|
363
|
+
export type ReservationUncheckedUpdateInput = {
|
|
364
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
365
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
366
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
368
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
369
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
370
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
371
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
374
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
375
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
376
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
377
|
+
};
|
|
378
|
+
export type ReservationCreateManyInput = {
|
|
379
|
+
id?: string;
|
|
380
|
+
firstname: string;
|
|
381
|
+
lastname: string;
|
|
382
|
+
userId?: string | null;
|
|
383
|
+
guests: number;
|
|
384
|
+
phone: string;
|
|
385
|
+
date: Date | string;
|
|
386
|
+
referenceId: string;
|
|
387
|
+
organizationId: string;
|
|
388
|
+
createdAt?: Date | string;
|
|
389
|
+
acceptedAt?: Date | string | null;
|
|
390
|
+
cancelledAt?: Date | string | null;
|
|
391
|
+
updatedAt?: Date | string;
|
|
392
|
+
};
|
|
393
|
+
export type ReservationUpdateManyMutationInput = {
|
|
394
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
398
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
402
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
403
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
404
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
405
|
+
};
|
|
406
|
+
export type ReservationUncheckedUpdateManyInput = {
|
|
407
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
408
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
409
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
410
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
411
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
412
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
414
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
418
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
419
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
420
|
+
};
|
|
421
|
+
export type ReservationListRelationFilter = {
|
|
422
|
+
every?: Prisma.ReservationWhereInput;
|
|
423
|
+
some?: Prisma.ReservationWhereInput;
|
|
424
|
+
none?: Prisma.ReservationWhereInput;
|
|
425
|
+
};
|
|
426
|
+
export type ReservationOrderByRelationAggregateInput = {
|
|
427
|
+
_count?: Prisma.SortOrder;
|
|
428
|
+
};
|
|
429
|
+
export type ReservationCountOrderByAggregateInput = {
|
|
430
|
+
id?: Prisma.SortOrder;
|
|
431
|
+
firstname?: Prisma.SortOrder;
|
|
432
|
+
lastname?: Prisma.SortOrder;
|
|
433
|
+
userId?: Prisma.SortOrder;
|
|
434
|
+
guests?: Prisma.SortOrder;
|
|
435
|
+
phone?: Prisma.SortOrder;
|
|
436
|
+
date?: Prisma.SortOrder;
|
|
437
|
+
referenceId?: Prisma.SortOrder;
|
|
438
|
+
organizationId?: Prisma.SortOrder;
|
|
439
|
+
createdAt?: Prisma.SortOrder;
|
|
440
|
+
acceptedAt?: Prisma.SortOrder;
|
|
441
|
+
cancelledAt?: Prisma.SortOrder;
|
|
442
|
+
updatedAt?: Prisma.SortOrder;
|
|
443
|
+
};
|
|
444
|
+
export type ReservationAvgOrderByAggregateInput = {
|
|
445
|
+
guests?: Prisma.SortOrder;
|
|
446
|
+
};
|
|
447
|
+
export type ReservationMaxOrderByAggregateInput = {
|
|
448
|
+
id?: Prisma.SortOrder;
|
|
449
|
+
firstname?: Prisma.SortOrder;
|
|
450
|
+
lastname?: Prisma.SortOrder;
|
|
451
|
+
userId?: Prisma.SortOrder;
|
|
452
|
+
guests?: Prisma.SortOrder;
|
|
453
|
+
phone?: Prisma.SortOrder;
|
|
454
|
+
date?: Prisma.SortOrder;
|
|
455
|
+
referenceId?: Prisma.SortOrder;
|
|
456
|
+
organizationId?: Prisma.SortOrder;
|
|
457
|
+
createdAt?: Prisma.SortOrder;
|
|
458
|
+
acceptedAt?: Prisma.SortOrder;
|
|
459
|
+
cancelledAt?: Prisma.SortOrder;
|
|
460
|
+
updatedAt?: Prisma.SortOrder;
|
|
461
|
+
};
|
|
462
|
+
export type ReservationMinOrderByAggregateInput = {
|
|
463
|
+
id?: Prisma.SortOrder;
|
|
464
|
+
firstname?: Prisma.SortOrder;
|
|
465
|
+
lastname?: Prisma.SortOrder;
|
|
466
|
+
userId?: Prisma.SortOrder;
|
|
467
|
+
guests?: Prisma.SortOrder;
|
|
468
|
+
phone?: Prisma.SortOrder;
|
|
469
|
+
date?: Prisma.SortOrder;
|
|
470
|
+
referenceId?: Prisma.SortOrder;
|
|
471
|
+
organizationId?: Prisma.SortOrder;
|
|
472
|
+
createdAt?: Prisma.SortOrder;
|
|
473
|
+
acceptedAt?: Prisma.SortOrder;
|
|
474
|
+
cancelledAt?: Prisma.SortOrder;
|
|
475
|
+
updatedAt?: Prisma.SortOrder;
|
|
476
|
+
};
|
|
477
|
+
export type ReservationSumOrderByAggregateInput = {
|
|
478
|
+
guests?: Prisma.SortOrder;
|
|
479
|
+
};
|
|
480
|
+
export type ReservationCreateNestedManyWithoutUserInput = {
|
|
481
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput> | Prisma.ReservationCreateWithoutUserInput[] | Prisma.ReservationUncheckedCreateWithoutUserInput[];
|
|
482
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutUserInput | Prisma.ReservationCreateOrConnectWithoutUserInput[];
|
|
483
|
+
createMany?: Prisma.ReservationCreateManyUserInputEnvelope;
|
|
484
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
485
|
+
};
|
|
486
|
+
export type ReservationUncheckedCreateNestedManyWithoutUserInput = {
|
|
487
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput> | Prisma.ReservationCreateWithoutUserInput[] | Prisma.ReservationUncheckedCreateWithoutUserInput[];
|
|
488
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutUserInput | Prisma.ReservationCreateOrConnectWithoutUserInput[];
|
|
489
|
+
createMany?: Prisma.ReservationCreateManyUserInputEnvelope;
|
|
490
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
491
|
+
};
|
|
492
|
+
export type ReservationUpdateManyWithoutUserNestedInput = {
|
|
493
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput> | Prisma.ReservationCreateWithoutUserInput[] | Prisma.ReservationUncheckedCreateWithoutUserInput[];
|
|
494
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutUserInput | Prisma.ReservationCreateOrConnectWithoutUserInput[];
|
|
495
|
+
upsert?: Prisma.ReservationUpsertWithWhereUniqueWithoutUserInput | Prisma.ReservationUpsertWithWhereUniqueWithoutUserInput[];
|
|
496
|
+
createMany?: Prisma.ReservationCreateManyUserInputEnvelope;
|
|
497
|
+
set?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
498
|
+
disconnect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
499
|
+
delete?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
500
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
501
|
+
update?: Prisma.ReservationUpdateWithWhereUniqueWithoutUserInput | Prisma.ReservationUpdateWithWhereUniqueWithoutUserInput[];
|
|
502
|
+
updateMany?: Prisma.ReservationUpdateManyWithWhereWithoutUserInput | Prisma.ReservationUpdateManyWithWhereWithoutUserInput[];
|
|
503
|
+
deleteMany?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
504
|
+
};
|
|
505
|
+
export type ReservationUncheckedUpdateManyWithoutUserNestedInput = {
|
|
506
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput> | Prisma.ReservationCreateWithoutUserInput[] | Prisma.ReservationUncheckedCreateWithoutUserInput[];
|
|
507
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutUserInput | Prisma.ReservationCreateOrConnectWithoutUserInput[];
|
|
508
|
+
upsert?: Prisma.ReservationUpsertWithWhereUniqueWithoutUserInput | Prisma.ReservationUpsertWithWhereUniqueWithoutUserInput[];
|
|
509
|
+
createMany?: Prisma.ReservationCreateManyUserInputEnvelope;
|
|
510
|
+
set?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
511
|
+
disconnect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
512
|
+
delete?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
513
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
514
|
+
update?: Prisma.ReservationUpdateWithWhereUniqueWithoutUserInput | Prisma.ReservationUpdateWithWhereUniqueWithoutUserInput[];
|
|
515
|
+
updateMany?: Prisma.ReservationUpdateManyWithWhereWithoutUserInput | Prisma.ReservationUpdateManyWithWhereWithoutUserInput[];
|
|
516
|
+
deleteMany?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
517
|
+
};
|
|
518
|
+
export type ReservationCreateNestedManyWithoutOrganizationInput = {
|
|
519
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput> | Prisma.ReservationCreateWithoutOrganizationInput[] | Prisma.ReservationUncheckedCreateWithoutOrganizationInput[];
|
|
520
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutOrganizationInput | Prisma.ReservationCreateOrConnectWithoutOrganizationInput[];
|
|
521
|
+
createMany?: Prisma.ReservationCreateManyOrganizationInputEnvelope;
|
|
522
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
523
|
+
};
|
|
524
|
+
export type ReservationUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
525
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput> | Prisma.ReservationCreateWithoutOrganizationInput[] | Prisma.ReservationUncheckedCreateWithoutOrganizationInput[];
|
|
526
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutOrganizationInput | Prisma.ReservationCreateOrConnectWithoutOrganizationInput[];
|
|
527
|
+
createMany?: Prisma.ReservationCreateManyOrganizationInputEnvelope;
|
|
528
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
529
|
+
};
|
|
530
|
+
export type ReservationUpdateManyWithoutOrganizationNestedInput = {
|
|
531
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput> | Prisma.ReservationCreateWithoutOrganizationInput[] | Prisma.ReservationUncheckedCreateWithoutOrganizationInput[];
|
|
532
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutOrganizationInput | Prisma.ReservationCreateOrConnectWithoutOrganizationInput[];
|
|
533
|
+
upsert?: Prisma.ReservationUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.ReservationUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
534
|
+
createMany?: Prisma.ReservationCreateManyOrganizationInputEnvelope;
|
|
535
|
+
set?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
536
|
+
disconnect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
537
|
+
delete?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
538
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
539
|
+
update?: Prisma.ReservationUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.ReservationUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
540
|
+
updateMany?: Prisma.ReservationUpdateManyWithWhereWithoutOrganizationInput | Prisma.ReservationUpdateManyWithWhereWithoutOrganizationInput[];
|
|
541
|
+
deleteMany?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
542
|
+
};
|
|
543
|
+
export type ReservationUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
544
|
+
create?: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput> | Prisma.ReservationCreateWithoutOrganizationInput[] | Prisma.ReservationUncheckedCreateWithoutOrganizationInput[];
|
|
545
|
+
connectOrCreate?: Prisma.ReservationCreateOrConnectWithoutOrganizationInput | Prisma.ReservationCreateOrConnectWithoutOrganizationInput[];
|
|
546
|
+
upsert?: Prisma.ReservationUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.ReservationUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
547
|
+
createMany?: Prisma.ReservationCreateManyOrganizationInputEnvelope;
|
|
548
|
+
set?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
549
|
+
disconnect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
550
|
+
delete?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
551
|
+
connect?: Prisma.ReservationWhereUniqueInput | Prisma.ReservationWhereUniqueInput[];
|
|
552
|
+
update?: Prisma.ReservationUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.ReservationUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
553
|
+
updateMany?: Prisma.ReservationUpdateManyWithWhereWithoutOrganizationInput | Prisma.ReservationUpdateManyWithWhereWithoutOrganizationInput[];
|
|
554
|
+
deleteMany?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
555
|
+
};
|
|
556
|
+
export type ReservationCreateWithoutUserInput = {
|
|
557
|
+
id?: string;
|
|
558
|
+
firstname: string;
|
|
559
|
+
lastname: string;
|
|
560
|
+
guests: number;
|
|
561
|
+
phone: string;
|
|
562
|
+
date: Date | string;
|
|
563
|
+
referenceId: string;
|
|
564
|
+
createdAt?: Date | string;
|
|
565
|
+
acceptedAt?: Date | string | null;
|
|
566
|
+
cancelledAt?: Date | string | null;
|
|
567
|
+
updatedAt?: Date | string;
|
|
568
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutReservationsInput;
|
|
569
|
+
};
|
|
570
|
+
export type ReservationUncheckedCreateWithoutUserInput = {
|
|
571
|
+
id?: string;
|
|
572
|
+
firstname: string;
|
|
573
|
+
lastname: string;
|
|
574
|
+
guests: number;
|
|
575
|
+
phone: string;
|
|
576
|
+
date: Date | string;
|
|
577
|
+
referenceId: string;
|
|
578
|
+
organizationId: string;
|
|
579
|
+
createdAt?: Date | string;
|
|
580
|
+
acceptedAt?: Date | string | null;
|
|
581
|
+
cancelledAt?: Date | string | null;
|
|
582
|
+
updatedAt?: Date | string;
|
|
583
|
+
};
|
|
584
|
+
export type ReservationCreateOrConnectWithoutUserInput = {
|
|
585
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
586
|
+
create: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput>;
|
|
587
|
+
};
|
|
588
|
+
export type ReservationCreateManyUserInputEnvelope = {
|
|
589
|
+
data: Prisma.ReservationCreateManyUserInput | Prisma.ReservationCreateManyUserInput[];
|
|
590
|
+
skipDuplicates?: boolean;
|
|
591
|
+
};
|
|
592
|
+
export type ReservationUpsertWithWhereUniqueWithoutUserInput = {
|
|
593
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
594
|
+
update: Prisma.XOR<Prisma.ReservationUpdateWithoutUserInput, Prisma.ReservationUncheckedUpdateWithoutUserInput>;
|
|
595
|
+
create: Prisma.XOR<Prisma.ReservationCreateWithoutUserInput, Prisma.ReservationUncheckedCreateWithoutUserInput>;
|
|
596
|
+
};
|
|
597
|
+
export type ReservationUpdateWithWhereUniqueWithoutUserInput = {
|
|
598
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
599
|
+
data: Prisma.XOR<Prisma.ReservationUpdateWithoutUserInput, Prisma.ReservationUncheckedUpdateWithoutUserInput>;
|
|
600
|
+
};
|
|
601
|
+
export type ReservationUpdateManyWithWhereWithoutUserInput = {
|
|
602
|
+
where: Prisma.ReservationScalarWhereInput;
|
|
603
|
+
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyWithoutUserInput>;
|
|
604
|
+
};
|
|
605
|
+
export type ReservationScalarWhereInput = {
|
|
606
|
+
AND?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
607
|
+
OR?: Prisma.ReservationScalarWhereInput[];
|
|
608
|
+
NOT?: Prisma.ReservationScalarWhereInput | Prisma.ReservationScalarWhereInput[];
|
|
609
|
+
id?: Prisma.StringFilter<"Reservation"> | string;
|
|
610
|
+
firstname?: Prisma.StringFilter<"Reservation"> | string;
|
|
611
|
+
lastname?: Prisma.StringFilter<"Reservation"> | string;
|
|
612
|
+
userId?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
613
|
+
guests?: Prisma.IntFilter<"Reservation"> | number;
|
|
614
|
+
phone?: Prisma.StringFilter<"Reservation"> | string;
|
|
615
|
+
date?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
616
|
+
referenceId?: Prisma.StringFilter<"Reservation"> | string;
|
|
617
|
+
organizationId?: Prisma.StringFilter<"Reservation"> | string;
|
|
618
|
+
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
619
|
+
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
620
|
+
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
621
|
+
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
622
|
+
};
|
|
623
|
+
export type ReservationCreateWithoutOrganizationInput = {
|
|
624
|
+
id?: string;
|
|
625
|
+
firstname: string;
|
|
626
|
+
lastname: string;
|
|
627
|
+
guests: number;
|
|
628
|
+
phone: string;
|
|
629
|
+
date: Date | string;
|
|
630
|
+
referenceId: string;
|
|
631
|
+
createdAt?: Date | string;
|
|
632
|
+
acceptedAt?: Date | string | null;
|
|
633
|
+
cancelledAt?: Date | string | null;
|
|
634
|
+
updatedAt?: Date | string;
|
|
635
|
+
user?: Prisma.UserCreateNestedOneWithoutReservationsInput;
|
|
636
|
+
};
|
|
637
|
+
export type ReservationUncheckedCreateWithoutOrganizationInput = {
|
|
638
|
+
id?: string;
|
|
639
|
+
firstname: string;
|
|
640
|
+
lastname: string;
|
|
641
|
+
userId?: string | null;
|
|
642
|
+
guests: number;
|
|
643
|
+
phone: string;
|
|
644
|
+
date: Date | string;
|
|
645
|
+
referenceId: string;
|
|
646
|
+
createdAt?: Date | string;
|
|
647
|
+
acceptedAt?: Date | string | null;
|
|
648
|
+
cancelledAt?: Date | string | null;
|
|
649
|
+
updatedAt?: Date | string;
|
|
650
|
+
};
|
|
651
|
+
export type ReservationCreateOrConnectWithoutOrganizationInput = {
|
|
652
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
653
|
+
create: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput>;
|
|
654
|
+
};
|
|
655
|
+
export type ReservationCreateManyOrganizationInputEnvelope = {
|
|
656
|
+
data: Prisma.ReservationCreateManyOrganizationInput | Prisma.ReservationCreateManyOrganizationInput[];
|
|
657
|
+
skipDuplicates?: boolean;
|
|
658
|
+
};
|
|
659
|
+
export type ReservationUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
660
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
661
|
+
update: Prisma.XOR<Prisma.ReservationUpdateWithoutOrganizationInput, Prisma.ReservationUncheckedUpdateWithoutOrganizationInput>;
|
|
662
|
+
create: Prisma.XOR<Prisma.ReservationCreateWithoutOrganizationInput, Prisma.ReservationUncheckedCreateWithoutOrganizationInput>;
|
|
663
|
+
};
|
|
664
|
+
export type ReservationUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
665
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
666
|
+
data: Prisma.XOR<Prisma.ReservationUpdateWithoutOrganizationInput, Prisma.ReservationUncheckedUpdateWithoutOrganizationInput>;
|
|
667
|
+
};
|
|
668
|
+
export type ReservationUpdateManyWithWhereWithoutOrganizationInput = {
|
|
669
|
+
where: Prisma.ReservationScalarWhereInput;
|
|
670
|
+
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyWithoutOrganizationInput>;
|
|
671
|
+
};
|
|
672
|
+
export type ReservationCreateManyUserInput = {
|
|
673
|
+
id?: string;
|
|
674
|
+
firstname: string;
|
|
675
|
+
lastname: string;
|
|
676
|
+
guests: number;
|
|
677
|
+
phone: string;
|
|
678
|
+
date: Date | string;
|
|
679
|
+
referenceId: string;
|
|
680
|
+
organizationId: string;
|
|
681
|
+
createdAt?: Date | string;
|
|
682
|
+
acceptedAt?: Date | string | null;
|
|
683
|
+
cancelledAt?: Date | string | null;
|
|
684
|
+
updatedAt?: Date | string;
|
|
685
|
+
};
|
|
686
|
+
export type ReservationUpdateWithoutUserInput = {
|
|
687
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
688
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
689
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
690
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
691
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
692
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
693
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
694
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
696
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
697
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
698
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutReservationsNestedInput;
|
|
699
|
+
};
|
|
700
|
+
export type ReservationUncheckedUpdateWithoutUserInput = {
|
|
701
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
703
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
704
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
705
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
706
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
707
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
708
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
709
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
710
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
711
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
712
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
713
|
+
};
|
|
714
|
+
export type ReservationUncheckedUpdateManyWithoutUserInput = {
|
|
715
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
716
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
717
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
718
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
719
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
720
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
721
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
722
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
723
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
724
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
725
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
726
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
727
|
+
};
|
|
728
|
+
export type ReservationCreateManyOrganizationInput = {
|
|
729
|
+
id?: string;
|
|
730
|
+
firstname: string;
|
|
731
|
+
lastname: string;
|
|
732
|
+
userId?: string | null;
|
|
733
|
+
guests: number;
|
|
734
|
+
phone: string;
|
|
735
|
+
date: Date | string;
|
|
736
|
+
referenceId: string;
|
|
737
|
+
createdAt?: Date | string;
|
|
738
|
+
acceptedAt?: Date | string | null;
|
|
739
|
+
cancelledAt?: Date | string | null;
|
|
740
|
+
updatedAt?: Date | string;
|
|
741
|
+
};
|
|
742
|
+
export type ReservationUpdateWithoutOrganizationInput = {
|
|
743
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
744
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
745
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
746
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
747
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
748
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
749
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
750
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
751
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
752
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
753
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
754
|
+
user?: Prisma.UserUpdateOneWithoutReservationsNestedInput;
|
|
755
|
+
};
|
|
756
|
+
export type ReservationUncheckedUpdateWithoutOrganizationInput = {
|
|
757
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
759
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
760
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
761
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
762
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
763
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
764
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
765
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
766
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
767
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
768
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
769
|
+
};
|
|
770
|
+
export type ReservationUncheckedUpdateManyWithoutOrganizationInput = {
|
|
771
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
772
|
+
firstname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
773
|
+
lastname?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
774
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
775
|
+
guests?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
776
|
+
phone?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
777
|
+
date?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
778
|
+
referenceId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
779
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
780
|
+
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
781
|
+
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
782
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
783
|
+
};
|
|
784
|
+
export type ReservationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
785
|
+
id?: boolean;
|
|
786
|
+
firstname?: boolean;
|
|
787
|
+
lastname?: boolean;
|
|
788
|
+
userId?: boolean;
|
|
789
|
+
guests?: boolean;
|
|
790
|
+
phone?: boolean;
|
|
791
|
+
date?: boolean;
|
|
792
|
+
referenceId?: boolean;
|
|
793
|
+
organizationId?: boolean;
|
|
794
|
+
createdAt?: boolean;
|
|
795
|
+
acceptedAt?: boolean;
|
|
796
|
+
cancelledAt?: boolean;
|
|
797
|
+
updatedAt?: boolean;
|
|
798
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
799
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
800
|
+
}, ExtArgs["result"]["reservation"]>;
|
|
801
|
+
export type ReservationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
802
|
+
id?: boolean;
|
|
803
|
+
firstname?: boolean;
|
|
804
|
+
lastname?: boolean;
|
|
805
|
+
userId?: boolean;
|
|
806
|
+
guests?: boolean;
|
|
807
|
+
phone?: boolean;
|
|
808
|
+
date?: boolean;
|
|
809
|
+
referenceId?: boolean;
|
|
810
|
+
organizationId?: boolean;
|
|
811
|
+
createdAt?: boolean;
|
|
812
|
+
acceptedAt?: boolean;
|
|
813
|
+
cancelledAt?: boolean;
|
|
814
|
+
updatedAt?: boolean;
|
|
815
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
816
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
817
|
+
}, ExtArgs["result"]["reservation"]>;
|
|
818
|
+
export type ReservationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
819
|
+
id?: boolean;
|
|
820
|
+
firstname?: boolean;
|
|
821
|
+
lastname?: boolean;
|
|
822
|
+
userId?: boolean;
|
|
823
|
+
guests?: boolean;
|
|
824
|
+
phone?: boolean;
|
|
825
|
+
date?: boolean;
|
|
826
|
+
referenceId?: boolean;
|
|
827
|
+
organizationId?: boolean;
|
|
828
|
+
createdAt?: boolean;
|
|
829
|
+
acceptedAt?: boolean;
|
|
830
|
+
cancelledAt?: boolean;
|
|
831
|
+
updatedAt?: boolean;
|
|
832
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
833
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
834
|
+
}, ExtArgs["result"]["reservation"]>;
|
|
835
|
+
export type ReservationSelectScalar = {
|
|
836
|
+
id?: boolean;
|
|
837
|
+
firstname?: boolean;
|
|
838
|
+
lastname?: boolean;
|
|
839
|
+
userId?: boolean;
|
|
840
|
+
guests?: boolean;
|
|
841
|
+
phone?: boolean;
|
|
842
|
+
date?: boolean;
|
|
843
|
+
referenceId?: boolean;
|
|
844
|
+
organizationId?: boolean;
|
|
845
|
+
createdAt?: boolean;
|
|
846
|
+
acceptedAt?: boolean;
|
|
847
|
+
cancelledAt?: boolean;
|
|
848
|
+
updatedAt?: boolean;
|
|
849
|
+
};
|
|
850
|
+
export type ReservationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "firstname" | "lastname" | "userId" | "guests" | "phone" | "date" | "referenceId" | "organizationId" | "createdAt" | "acceptedAt" | "cancelledAt" | "updatedAt", ExtArgs["result"]["reservation"]>;
|
|
851
|
+
export type ReservationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
852
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
853
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
854
|
+
};
|
|
855
|
+
export type ReservationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
856
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
857
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
858
|
+
};
|
|
859
|
+
export type ReservationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
860
|
+
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
861
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
862
|
+
};
|
|
863
|
+
export type $ReservationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
864
|
+
name: "Reservation";
|
|
865
|
+
objects: {
|
|
866
|
+
user: Prisma.$UserPayload<ExtArgs> | null;
|
|
867
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
868
|
+
};
|
|
869
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
870
|
+
id: string;
|
|
871
|
+
firstname: string;
|
|
872
|
+
lastname: string;
|
|
873
|
+
userId: string | null;
|
|
874
|
+
guests: number;
|
|
875
|
+
phone: string;
|
|
876
|
+
date: Date;
|
|
877
|
+
referenceId: string;
|
|
878
|
+
organizationId: string;
|
|
879
|
+
createdAt: Date;
|
|
880
|
+
acceptedAt: Date | null;
|
|
881
|
+
cancelledAt: Date | null;
|
|
882
|
+
updatedAt: Date;
|
|
883
|
+
}, ExtArgs["result"]["reservation"]>;
|
|
884
|
+
composites: {};
|
|
885
|
+
};
|
|
886
|
+
export type ReservationGetPayload<S extends boolean | null | undefined | ReservationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ReservationPayload, S>;
|
|
887
|
+
export type ReservationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ReservationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
888
|
+
select?: ReservationCountAggregateInputType | true;
|
|
889
|
+
};
|
|
890
|
+
export interface ReservationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
891
|
+
[K: symbol]: {
|
|
892
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Reservation'];
|
|
893
|
+
meta: {
|
|
894
|
+
name: 'Reservation';
|
|
895
|
+
};
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Find zero or one Reservation that matches the filter.
|
|
899
|
+
* @param {ReservationFindUniqueArgs} args - Arguments to find a Reservation
|
|
900
|
+
* @example
|
|
901
|
+
* // Get one Reservation
|
|
902
|
+
* const reservation = await prisma.reservation.findUnique({
|
|
903
|
+
* where: {
|
|
904
|
+
* // ... provide filter here
|
|
905
|
+
* }
|
|
906
|
+
* })
|
|
907
|
+
*/
|
|
908
|
+
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>;
|
|
909
|
+
/**
|
|
910
|
+
* Find one Reservation that matches the filter or throw an error with `error.code='P2025'`
|
|
911
|
+
* if no matches were found.
|
|
912
|
+
* @param {ReservationFindUniqueOrThrowArgs} args - Arguments to find a Reservation
|
|
913
|
+
* @example
|
|
914
|
+
* // Get one Reservation
|
|
915
|
+
* const reservation = await prisma.reservation.findUniqueOrThrow({
|
|
916
|
+
* where: {
|
|
917
|
+
* // ... provide filter here
|
|
918
|
+
* }
|
|
919
|
+
* })
|
|
920
|
+
*/
|
|
921
|
+
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>;
|
|
922
|
+
/**
|
|
923
|
+
* Find the first Reservation that matches the filter.
|
|
924
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
925
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
926
|
+
* @param {ReservationFindFirstArgs} args - Arguments to find a Reservation
|
|
927
|
+
* @example
|
|
928
|
+
* // Get one Reservation
|
|
929
|
+
* const reservation = await prisma.reservation.findFirst({
|
|
930
|
+
* where: {
|
|
931
|
+
* // ... provide filter here
|
|
932
|
+
* }
|
|
933
|
+
* })
|
|
934
|
+
*/
|
|
935
|
+
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>;
|
|
936
|
+
/**
|
|
937
|
+
* Find the first Reservation that matches the filter or
|
|
938
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
939
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
940
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
941
|
+
* @param {ReservationFindFirstOrThrowArgs} args - Arguments to find a Reservation
|
|
942
|
+
* @example
|
|
943
|
+
* // Get one Reservation
|
|
944
|
+
* const reservation = await prisma.reservation.findFirstOrThrow({
|
|
945
|
+
* where: {
|
|
946
|
+
* // ... provide filter here
|
|
947
|
+
* }
|
|
948
|
+
* })
|
|
949
|
+
*/
|
|
950
|
+
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>;
|
|
951
|
+
/**
|
|
952
|
+
* Find zero or more Reservations that matches the filter.
|
|
953
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
954
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
955
|
+
* @param {ReservationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
956
|
+
* @example
|
|
957
|
+
* // Get all Reservations
|
|
958
|
+
* const reservations = await prisma.reservation.findMany()
|
|
959
|
+
*
|
|
960
|
+
* // Get first 10 Reservations
|
|
961
|
+
* const reservations = await prisma.reservation.findMany({ take: 10 })
|
|
962
|
+
*
|
|
963
|
+
* // Only select the `id`
|
|
964
|
+
* const reservationWithIdOnly = await prisma.reservation.findMany({ select: { id: true } })
|
|
965
|
+
*
|
|
966
|
+
*/
|
|
967
|
+
findMany<T extends ReservationFindManyArgs>(args?: Prisma.SelectSubset<T, ReservationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
968
|
+
/**
|
|
969
|
+
* Create a Reservation.
|
|
970
|
+
* @param {ReservationCreateArgs} args - Arguments to create a Reservation.
|
|
971
|
+
* @example
|
|
972
|
+
* // Create one Reservation
|
|
973
|
+
* const Reservation = await prisma.reservation.create({
|
|
974
|
+
* data: {
|
|
975
|
+
* // ... data to create a Reservation
|
|
976
|
+
* }
|
|
977
|
+
* })
|
|
978
|
+
*
|
|
979
|
+
*/
|
|
980
|
+
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>;
|
|
981
|
+
/**
|
|
982
|
+
* Create many Reservations.
|
|
983
|
+
* @param {ReservationCreateManyArgs} args - Arguments to create many Reservations.
|
|
984
|
+
* @example
|
|
985
|
+
* // Create many Reservations
|
|
986
|
+
* const reservation = await prisma.reservation.createMany({
|
|
987
|
+
* data: [
|
|
988
|
+
* // ... provide data here
|
|
989
|
+
* ]
|
|
990
|
+
* })
|
|
991
|
+
*
|
|
992
|
+
*/
|
|
993
|
+
createMany<T extends ReservationCreateManyArgs>(args?: Prisma.SelectSubset<T, ReservationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
994
|
+
/**
|
|
995
|
+
* Create many Reservations and returns the data saved in the database.
|
|
996
|
+
* @param {ReservationCreateManyAndReturnArgs} args - Arguments to create many Reservations.
|
|
997
|
+
* @example
|
|
998
|
+
* // Create many Reservations
|
|
999
|
+
* const reservation = await prisma.reservation.createManyAndReturn({
|
|
1000
|
+
* data: [
|
|
1001
|
+
* // ... provide data here
|
|
1002
|
+
* ]
|
|
1003
|
+
* })
|
|
1004
|
+
*
|
|
1005
|
+
* // Create many Reservations and only return the `id`
|
|
1006
|
+
* const reservationWithIdOnly = await prisma.reservation.createManyAndReturn({
|
|
1007
|
+
* select: { id: true },
|
|
1008
|
+
* data: [
|
|
1009
|
+
* // ... provide data here
|
|
1010
|
+
* ]
|
|
1011
|
+
* })
|
|
1012
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1013
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1014
|
+
*
|
|
1015
|
+
*/
|
|
1016
|
+
createManyAndReturn<T extends ReservationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ReservationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Delete a Reservation.
|
|
1019
|
+
* @param {ReservationDeleteArgs} args - Arguments to delete one Reservation.
|
|
1020
|
+
* @example
|
|
1021
|
+
* // Delete one Reservation
|
|
1022
|
+
* const Reservation = await prisma.reservation.delete({
|
|
1023
|
+
* where: {
|
|
1024
|
+
* // ... filter to delete one Reservation
|
|
1025
|
+
* }
|
|
1026
|
+
* })
|
|
1027
|
+
*
|
|
1028
|
+
*/
|
|
1029
|
+
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>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Update one Reservation.
|
|
1032
|
+
* @param {ReservationUpdateArgs} args - Arguments to update one Reservation.
|
|
1033
|
+
* @example
|
|
1034
|
+
* // Update one Reservation
|
|
1035
|
+
* const reservation = await prisma.reservation.update({
|
|
1036
|
+
* where: {
|
|
1037
|
+
* // ... provide filter here
|
|
1038
|
+
* },
|
|
1039
|
+
* data: {
|
|
1040
|
+
* // ... provide data here
|
|
1041
|
+
* }
|
|
1042
|
+
* })
|
|
1043
|
+
*
|
|
1044
|
+
*/
|
|
1045
|
+
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>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Delete zero or more Reservations.
|
|
1048
|
+
* @param {ReservationDeleteManyArgs} args - Arguments to filter Reservations to delete.
|
|
1049
|
+
* @example
|
|
1050
|
+
* // Delete a few Reservations
|
|
1051
|
+
* const { count } = await prisma.reservation.deleteMany({
|
|
1052
|
+
* where: {
|
|
1053
|
+
* // ... provide filter here
|
|
1054
|
+
* }
|
|
1055
|
+
* })
|
|
1056
|
+
*
|
|
1057
|
+
*/
|
|
1058
|
+
deleteMany<T extends ReservationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ReservationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Update zero or more Reservations.
|
|
1061
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1062
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1063
|
+
* @param {ReservationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1064
|
+
* @example
|
|
1065
|
+
* // Update many Reservations
|
|
1066
|
+
* const reservation = await prisma.reservation.updateMany({
|
|
1067
|
+
* where: {
|
|
1068
|
+
* // ... provide filter here
|
|
1069
|
+
* },
|
|
1070
|
+
* data: {
|
|
1071
|
+
* // ... provide data here
|
|
1072
|
+
* }
|
|
1073
|
+
* })
|
|
1074
|
+
*
|
|
1075
|
+
*/
|
|
1076
|
+
updateMany<T extends ReservationUpdateManyArgs>(args: Prisma.SelectSubset<T, ReservationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Update zero or more Reservations and returns the data updated in the database.
|
|
1079
|
+
* @param {ReservationUpdateManyAndReturnArgs} args - Arguments to update many Reservations.
|
|
1080
|
+
* @example
|
|
1081
|
+
* // Update many Reservations
|
|
1082
|
+
* const reservation = await prisma.reservation.updateManyAndReturn({
|
|
1083
|
+
* where: {
|
|
1084
|
+
* // ... provide filter here
|
|
1085
|
+
* },
|
|
1086
|
+
* data: [
|
|
1087
|
+
* // ... provide data here
|
|
1088
|
+
* ]
|
|
1089
|
+
* })
|
|
1090
|
+
*
|
|
1091
|
+
* // Update zero or more Reservations and only return the `id`
|
|
1092
|
+
* const reservationWithIdOnly = await prisma.reservation.updateManyAndReturn({
|
|
1093
|
+
* select: { id: true },
|
|
1094
|
+
* where: {
|
|
1095
|
+
* // ... provide filter here
|
|
1096
|
+
* },
|
|
1097
|
+
* data: [
|
|
1098
|
+
* // ... provide data here
|
|
1099
|
+
* ]
|
|
1100
|
+
* })
|
|
1101
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1102
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1103
|
+
*
|
|
1104
|
+
*/
|
|
1105
|
+
updateManyAndReturn<T extends ReservationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ReservationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Create or update one Reservation.
|
|
1108
|
+
* @param {ReservationUpsertArgs} args - Arguments to update or create a Reservation.
|
|
1109
|
+
* @example
|
|
1110
|
+
* // Update or create a Reservation
|
|
1111
|
+
* const reservation = await prisma.reservation.upsert({
|
|
1112
|
+
* create: {
|
|
1113
|
+
* // ... data to create a Reservation
|
|
1114
|
+
* },
|
|
1115
|
+
* update: {
|
|
1116
|
+
* // ... in case it already exists, update
|
|
1117
|
+
* },
|
|
1118
|
+
* where: {
|
|
1119
|
+
* // ... the filter for the Reservation we want to update
|
|
1120
|
+
* }
|
|
1121
|
+
* })
|
|
1122
|
+
*/
|
|
1123
|
+
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>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Count the number of Reservations.
|
|
1126
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1127
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1128
|
+
* @param {ReservationCountArgs} args - Arguments to filter Reservations to count.
|
|
1129
|
+
* @example
|
|
1130
|
+
* // Count the number of Reservations
|
|
1131
|
+
* const count = await prisma.reservation.count({
|
|
1132
|
+
* where: {
|
|
1133
|
+
* // ... the filter for the Reservations we want to count
|
|
1134
|
+
* }
|
|
1135
|
+
* })
|
|
1136
|
+
**/
|
|
1137
|
+
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>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Allows you to perform aggregations operations on a Reservation.
|
|
1140
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1141
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1142
|
+
* @param {ReservationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1143
|
+
* @example
|
|
1144
|
+
* // Ordered by age ascending
|
|
1145
|
+
* // Where email contains prisma.io
|
|
1146
|
+
* // Limited to the 10 users
|
|
1147
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1148
|
+
* _avg: {
|
|
1149
|
+
* age: true,
|
|
1150
|
+
* },
|
|
1151
|
+
* where: {
|
|
1152
|
+
* email: {
|
|
1153
|
+
* contains: "prisma.io",
|
|
1154
|
+
* },
|
|
1155
|
+
* },
|
|
1156
|
+
* orderBy: {
|
|
1157
|
+
* age: "asc",
|
|
1158
|
+
* },
|
|
1159
|
+
* take: 10,
|
|
1160
|
+
* })
|
|
1161
|
+
**/
|
|
1162
|
+
aggregate<T extends ReservationAggregateArgs>(args: Prisma.Subset<T, ReservationAggregateArgs>): Prisma.PrismaPromise<GetReservationAggregateType<T>>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Group by Reservation.
|
|
1165
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1166
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1167
|
+
* @param {ReservationGroupByArgs} args - Group by arguments.
|
|
1168
|
+
* @example
|
|
1169
|
+
* // Group by city, order by createdAt, get count
|
|
1170
|
+
* const result = await prisma.user.groupBy({
|
|
1171
|
+
* by: ['city', 'createdAt'],
|
|
1172
|
+
* orderBy: {
|
|
1173
|
+
* createdAt: true
|
|
1174
|
+
* },
|
|
1175
|
+
* _count: {
|
|
1176
|
+
* _all: true
|
|
1177
|
+
* },
|
|
1178
|
+
* })
|
|
1179
|
+
*
|
|
1180
|
+
**/
|
|
1181
|
+
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 ? {
|
|
1182
|
+
orderBy: ReservationGroupByArgs['orderBy'];
|
|
1183
|
+
} : {
|
|
1184
|
+
orderBy?: ReservationGroupByArgs['orderBy'];
|
|
1185
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1186
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1187
|
+
Error,
|
|
1188
|
+
'Field ',
|
|
1189
|
+
P,
|
|
1190
|
+
` in "having" needs to be provided in "by"`
|
|
1191
|
+
];
|
|
1192
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1193
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1194
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1195
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1196
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1197
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1198
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ReservationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReservationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Fields of the Reservation model
|
|
1201
|
+
*/
|
|
1202
|
+
readonly fields: ReservationFieldRefs;
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* The delegate class that acts as a "Promise-like" for Reservation.
|
|
1206
|
+
* Why is this prefixed with `Prisma__`?
|
|
1207
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1208
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1209
|
+
*/
|
|
1210
|
+
export interface Prisma__ReservationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1211
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1212
|
+
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>;
|
|
1213
|
+
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>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1216
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1217
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1218
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1219
|
+
*/
|
|
1220
|
+
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>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1223
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1224
|
+
* @returns A Promise for the completion of the callback.
|
|
1225
|
+
*/
|
|
1226
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1227
|
+
/**
|
|
1228
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1229
|
+
* resolved value cannot be modified from the callback.
|
|
1230
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1231
|
+
* @returns A Promise for the completion of the callback.
|
|
1232
|
+
*/
|
|
1233
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Fields of the Reservation model
|
|
1237
|
+
*/
|
|
1238
|
+
export interface ReservationFieldRefs {
|
|
1239
|
+
readonly id: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1240
|
+
readonly firstname: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1241
|
+
readonly lastname: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1242
|
+
readonly userId: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1243
|
+
readonly guests: Prisma.FieldRef<"Reservation", 'Int'>;
|
|
1244
|
+
readonly phone: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1245
|
+
readonly date: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1246
|
+
readonly referenceId: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1247
|
+
readonly organizationId: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1248
|
+
readonly createdAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1249
|
+
readonly acceptedAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1250
|
+
readonly cancelledAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1251
|
+
readonly updatedAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* Reservation findUnique
|
|
1255
|
+
*/
|
|
1256
|
+
export type ReservationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the Reservation
|
|
1259
|
+
*/
|
|
1260
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the Reservation
|
|
1263
|
+
*/
|
|
1264
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
1268
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Filter, which Reservation to fetch.
|
|
1271
|
+
*/
|
|
1272
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* Reservation findUniqueOrThrow
|
|
1276
|
+
*/
|
|
1277
|
+
export type ReservationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Select specific fields to fetch from the Reservation
|
|
1280
|
+
*/
|
|
1281
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Omit specific fields from the Reservation
|
|
1284
|
+
*/
|
|
1285
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which related nodes to fetch as well
|
|
1288
|
+
*/
|
|
1289
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Filter, which Reservation to fetch.
|
|
1292
|
+
*/
|
|
1293
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* Reservation findFirst
|
|
1297
|
+
*/
|
|
1298
|
+
export type ReservationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* Select specific fields to fetch from the Reservation
|
|
1301
|
+
*/
|
|
1302
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Omit specific fields from the Reservation
|
|
1305
|
+
*/
|
|
1306
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* Choose, which related nodes to fetch as well
|
|
1309
|
+
*/
|
|
1310
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* Filter, which Reservation to fetch.
|
|
1313
|
+
*/
|
|
1314
|
+
where?: Prisma.ReservationWhereInput;
|
|
1315
|
+
/**
|
|
1316
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1317
|
+
*
|
|
1318
|
+
* Determine the order of Reservations to fetch.
|
|
1319
|
+
*/
|
|
1320
|
+
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1321
|
+
/**
|
|
1322
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1323
|
+
*
|
|
1324
|
+
* Sets the position for searching for Reservations.
|
|
1325
|
+
*/
|
|
1326
|
+
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1327
|
+
/**
|
|
1328
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1329
|
+
*
|
|
1330
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1331
|
+
*/
|
|
1332
|
+
take?: number;
|
|
1333
|
+
/**
|
|
1334
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1335
|
+
*
|
|
1336
|
+
* Skip the first `n` Reservations.
|
|
1337
|
+
*/
|
|
1338
|
+
skip?: number;
|
|
1339
|
+
/**
|
|
1340
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1341
|
+
*
|
|
1342
|
+
* Filter by unique combinations of Reservations.
|
|
1343
|
+
*/
|
|
1344
|
+
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
1345
|
+
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Reservation findFirstOrThrow
|
|
1348
|
+
*/
|
|
1349
|
+
export type ReservationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1350
|
+
/**
|
|
1351
|
+
* Select specific fields to fetch from the Reservation
|
|
1352
|
+
*/
|
|
1353
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* Omit specific fields from the Reservation
|
|
1356
|
+
*/
|
|
1357
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* Choose, which related nodes to fetch as well
|
|
1360
|
+
*/
|
|
1361
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* Filter, which Reservation to fetch.
|
|
1364
|
+
*/
|
|
1365
|
+
where?: Prisma.ReservationWhereInput;
|
|
1366
|
+
/**
|
|
1367
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1368
|
+
*
|
|
1369
|
+
* Determine the order of Reservations to fetch.
|
|
1370
|
+
*/
|
|
1371
|
+
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1372
|
+
/**
|
|
1373
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1374
|
+
*
|
|
1375
|
+
* Sets the position for searching for Reservations.
|
|
1376
|
+
*/
|
|
1377
|
+
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1378
|
+
/**
|
|
1379
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1380
|
+
*
|
|
1381
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1382
|
+
*/
|
|
1383
|
+
take?: number;
|
|
1384
|
+
/**
|
|
1385
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1386
|
+
*
|
|
1387
|
+
* Skip the first `n` Reservations.
|
|
1388
|
+
*/
|
|
1389
|
+
skip?: number;
|
|
1390
|
+
/**
|
|
1391
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1392
|
+
*
|
|
1393
|
+
* Filter by unique combinations of Reservations.
|
|
1394
|
+
*/
|
|
1395
|
+
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
1396
|
+
};
|
|
1397
|
+
/**
|
|
1398
|
+
* Reservation findMany
|
|
1399
|
+
*/
|
|
1400
|
+
export type ReservationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1401
|
+
/**
|
|
1402
|
+
* Select specific fields to fetch from the Reservation
|
|
1403
|
+
*/
|
|
1404
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1405
|
+
/**
|
|
1406
|
+
* Omit specific fields from the Reservation
|
|
1407
|
+
*/
|
|
1408
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Choose, which related nodes to fetch as well
|
|
1411
|
+
*/
|
|
1412
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Filter, which Reservations to fetch.
|
|
1415
|
+
*/
|
|
1416
|
+
where?: Prisma.ReservationWhereInput;
|
|
1417
|
+
/**
|
|
1418
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1419
|
+
*
|
|
1420
|
+
* Determine the order of Reservations to fetch.
|
|
1421
|
+
*/
|
|
1422
|
+
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
1423
|
+
/**
|
|
1424
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1425
|
+
*
|
|
1426
|
+
* Sets the position for listing Reservations.
|
|
1427
|
+
*/
|
|
1428
|
+
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
1429
|
+
/**
|
|
1430
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1431
|
+
*
|
|
1432
|
+
* Take `±n` Reservations from the position of the cursor.
|
|
1433
|
+
*/
|
|
1434
|
+
take?: number;
|
|
1435
|
+
/**
|
|
1436
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1437
|
+
*
|
|
1438
|
+
* Skip the first `n` Reservations.
|
|
1439
|
+
*/
|
|
1440
|
+
skip?: number;
|
|
1441
|
+
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
1442
|
+
};
|
|
1443
|
+
/**
|
|
1444
|
+
* Reservation create
|
|
1445
|
+
*/
|
|
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
|
+
*/
|
|
1450
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* Omit specific fields from the Reservation
|
|
1453
|
+
*/
|
|
1454
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Choose, which related nodes to fetch as well
|
|
1457
|
+
*/
|
|
1458
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* The data needed to create a Reservation.
|
|
1461
|
+
*/
|
|
1462
|
+
data: Prisma.XOR<Prisma.ReservationCreateInput, Prisma.ReservationUncheckedCreateInput>;
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* Reservation createMany
|
|
1466
|
+
*/
|
|
1467
|
+
export type ReservationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* The data used to create many Reservations.
|
|
1470
|
+
*/
|
|
1471
|
+
data: Prisma.ReservationCreateManyInput | Prisma.ReservationCreateManyInput[];
|
|
1472
|
+
skipDuplicates?: boolean;
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* Reservation createManyAndReturn
|
|
1476
|
+
*/
|
|
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
|
+
*/
|
|
1481
|
+
select?: Prisma.ReservationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the Reservation
|
|
1484
|
+
*/
|
|
1485
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1486
|
+
/**
|
|
1487
|
+
* The data used to create many Reservations.
|
|
1488
|
+
*/
|
|
1489
|
+
data: Prisma.ReservationCreateManyInput | Prisma.ReservationCreateManyInput[];
|
|
1490
|
+
skipDuplicates?: boolean;
|
|
1491
|
+
/**
|
|
1492
|
+
* Choose, which related nodes to fetch as well
|
|
1493
|
+
*/
|
|
1494
|
+
include?: Prisma.ReservationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1495
|
+
};
|
|
1496
|
+
/**
|
|
1497
|
+
* Reservation update
|
|
1498
|
+
*/
|
|
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
|
+
*/
|
|
1503
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Omit specific fields from the Reservation
|
|
1506
|
+
*/
|
|
1507
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1508
|
+
/**
|
|
1509
|
+
* Choose, which related nodes to fetch as well
|
|
1510
|
+
*/
|
|
1511
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* The data needed to update a Reservation.
|
|
1514
|
+
*/
|
|
1515
|
+
data: Prisma.XOR<Prisma.ReservationUpdateInput, Prisma.ReservationUncheckedUpdateInput>;
|
|
1516
|
+
/**
|
|
1517
|
+
* Choose, which Reservation to update.
|
|
1518
|
+
*/
|
|
1519
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
1520
|
+
};
|
|
1521
|
+
/**
|
|
1522
|
+
* Reservation updateMany
|
|
1523
|
+
*/
|
|
1524
|
+
export type ReservationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1525
|
+
/**
|
|
1526
|
+
* The data used to update Reservations.
|
|
1527
|
+
*/
|
|
1528
|
+
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyInput>;
|
|
1529
|
+
/**
|
|
1530
|
+
* Filter which Reservations to update
|
|
1531
|
+
*/
|
|
1532
|
+
where?: Prisma.ReservationWhereInput;
|
|
1533
|
+
/**
|
|
1534
|
+
* Limit how many Reservations to update.
|
|
1535
|
+
*/
|
|
1536
|
+
limit?: number;
|
|
1537
|
+
};
|
|
1538
|
+
/**
|
|
1539
|
+
* Reservation updateManyAndReturn
|
|
1540
|
+
*/
|
|
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
|
+
*/
|
|
1545
|
+
select?: Prisma.ReservationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the Reservation
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* The data used to update Reservations.
|
|
1552
|
+
*/
|
|
1553
|
+
data: Prisma.XOR<Prisma.ReservationUpdateManyMutationInput, Prisma.ReservationUncheckedUpdateManyInput>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter which Reservations to update
|
|
1556
|
+
*/
|
|
1557
|
+
where?: Prisma.ReservationWhereInput;
|
|
1558
|
+
/**
|
|
1559
|
+
* Limit how many Reservations to update.
|
|
1560
|
+
*/
|
|
1561
|
+
limit?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* Choose, which related nodes to fetch as well
|
|
1564
|
+
*/
|
|
1565
|
+
include?: Prisma.ReservationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* Reservation upsert
|
|
1569
|
+
*/
|
|
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
|
+
*/
|
|
1574
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Omit specific fields from the Reservation
|
|
1577
|
+
*/
|
|
1578
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Choose, which related nodes to fetch as well
|
|
1581
|
+
*/
|
|
1582
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* The filter to search for the Reservation to update in case it exists.
|
|
1585
|
+
*/
|
|
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
|
+
*/
|
|
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
|
+
*/
|
|
1594
|
+
update: Prisma.XOR<Prisma.ReservationUpdateInput, Prisma.ReservationUncheckedUpdateInput>;
|
|
1595
|
+
};
|
|
1596
|
+
/**
|
|
1597
|
+
* Reservation delete
|
|
1598
|
+
*/
|
|
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
|
+
*/
|
|
1603
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* Omit specific fields from the Reservation
|
|
1606
|
+
*/
|
|
1607
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1608
|
+
/**
|
|
1609
|
+
* Choose, which related nodes to fetch as well
|
|
1610
|
+
*/
|
|
1611
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1612
|
+
/**
|
|
1613
|
+
* Filter which Reservation to delete.
|
|
1614
|
+
*/
|
|
1615
|
+
where: Prisma.ReservationWhereUniqueInput;
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Reservation deleteMany
|
|
1619
|
+
*/
|
|
1620
|
+
export type ReservationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1621
|
+
/**
|
|
1622
|
+
* Filter which Reservations to delete
|
|
1623
|
+
*/
|
|
1624
|
+
where?: Prisma.ReservationWhereInput;
|
|
1625
|
+
/**
|
|
1626
|
+
* Limit how many Reservations to delete.
|
|
1627
|
+
*/
|
|
1628
|
+
limit?: number;
|
|
1629
|
+
};
|
|
1630
|
+
/**
|
|
1631
|
+
* Reservation.user
|
|
1632
|
+
*/
|
|
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
|
+
*/
|
|
1637
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1638
|
+
/**
|
|
1639
|
+
* Omit specific fields from the User
|
|
1640
|
+
*/
|
|
1641
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Choose, which related nodes to fetch as well
|
|
1644
|
+
*/
|
|
1645
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1646
|
+
where?: Prisma.UserWhereInput;
|
|
1647
|
+
};
|
|
1648
|
+
/**
|
|
1649
|
+
* Reservation without action
|
|
1650
|
+
*/
|
|
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
|
+
*/
|
|
1655
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
1656
|
+
/**
|
|
1657
|
+
* Omit specific fields from the Reservation
|
|
1658
|
+
*/
|
|
1659
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
1660
|
+
/**
|
|
1661
|
+
* Choose, which related nodes to fetch as well
|
|
1662
|
+
*/
|
|
1663
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
1664
|
+
};
|
|
1665
|
+
export {};
|