@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,1227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `OpeningTimes` 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 OpeningTimes
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type OpeningTimesModel = runtime.Types.Result.DefaultSelection<Prisma.$OpeningTimesPayload>;
|
|
13
|
+
export type AggregateOpeningTimes = {
|
|
14
|
+
_count: OpeningTimesCountAggregateOutputType | null;
|
|
15
|
+
_min: OpeningTimesMinAggregateOutputType | null;
|
|
16
|
+
_max: OpeningTimesMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type OpeningTimesMinAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
monday: Date | null;
|
|
21
|
+
tuesday: Date | null;
|
|
22
|
+
wednesday: Date | null;
|
|
23
|
+
thursday: Date | null;
|
|
24
|
+
friday: Date | null;
|
|
25
|
+
saturday: Date | null;
|
|
26
|
+
sunday: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type OpeningTimesMaxAggregateOutputType = {
|
|
29
|
+
id: string | null;
|
|
30
|
+
monday: Date | null;
|
|
31
|
+
tuesday: Date | null;
|
|
32
|
+
wednesday: Date | null;
|
|
33
|
+
thursday: Date | null;
|
|
34
|
+
friday: Date | null;
|
|
35
|
+
saturday: Date | null;
|
|
36
|
+
sunday: Date | null;
|
|
37
|
+
};
|
|
38
|
+
export type OpeningTimesCountAggregateOutputType = {
|
|
39
|
+
id: number;
|
|
40
|
+
monday: number;
|
|
41
|
+
tuesday: number;
|
|
42
|
+
wednesday: number;
|
|
43
|
+
thursday: number;
|
|
44
|
+
friday: number;
|
|
45
|
+
saturday: number;
|
|
46
|
+
sunday: number;
|
|
47
|
+
_all: number;
|
|
48
|
+
};
|
|
49
|
+
export type OpeningTimesMinAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
monday?: true;
|
|
52
|
+
tuesday?: true;
|
|
53
|
+
wednesday?: true;
|
|
54
|
+
thursday?: true;
|
|
55
|
+
friday?: true;
|
|
56
|
+
saturday?: true;
|
|
57
|
+
sunday?: true;
|
|
58
|
+
};
|
|
59
|
+
export type OpeningTimesMaxAggregateInputType = {
|
|
60
|
+
id?: true;
|
|
61
|
+
monday?: true;
|
|
62
|
+
tuesday?: true;
|
|
63
|
+
wednesday?: true;
|
|
64
|
+
thursday?: true;
|
|
65
|
+
friday?: true;
|
|
66
|
+
saturday?: true;
|
|
67
|
+
sunday?: true;
|
|
68
|
+
};
|
|
69
|
+
export type OpeningTimesCountAggregateInputType = {
|
|
70
|
+
id?: true;
|
|
71
|
+
monday?: true;
|
|
72
|
+
tuesday?: true;
|
|
73
|
+
wednesday?: true;
|
|
74
|
+
thursday?: true;
|
|
75
|
+
friday?: true;
|
|
76
|
+
saturday?: true;
|
|
77
|
+
sunday?: true;
|
|
78
|
+
_all?: true;
|
|
79
|
+
};
|
|
80
|
+
export type OpeningTimesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
81
|
+
/**
|
|
82
|
+
* Filter which OpeningTimes to aggregate.
|
|
83
|
+
*/
|
|
84
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
87
|
+
*
|
|
88
|
+
* Determine the order of OpeningTimes to fetch.
|
|
89
|
+
*/
|
|
90
|
+
orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
93
|
+
*
|
|
94
|
+
* Sets the start position
|
|
95
|
+
*/
|
|
96
|
+
cursor?: Prisma.OpeningTimesWhereUniqueInput;
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
99
|
+
*
|
|
100
|
+
* Take `±n` OpeningTimes from the position of the cursor.
|
|
101
|
+
*/
|
|
102
|
+
take?: number;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Skip the first `n` OpeningTimes.
|
|
107
|
+
*/
|
|
108
|
+
skip?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Count returned OpeningTimes
|
|
113
|
+
**/
|
|
114
|
+
_count?: true | OpeningTimesCountAggregateInputType;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Select which fields to find the minimum value
|
|
119
|
+
**/
|
|
120
|
+
_min?: OpeningTimesMinAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to find the maximum value
|
|
125
|
+
**/
|
|
126
|
+
_max?: OpeningTimesMaxAggregateInputType;
|
|
127
|
+
};
|
|
128
|
+
export type GetOpeningTimesAggregateType<T extends OpeningTimesAggregateArgs> = {
|
|
129
|
+
[P in keyof T & keyof AggregateOpeningTimes]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOpeningTimes[P]> : Prisma.GetScalarType<T[P], AggregateOpeningTimes[P]>;
|
|
130
|
+
};
|
|
131
|
+
export type OpeningTimesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
133
|
+
orderBy?: Prisma.OpeningTimesOrderByWithAggregationInput | Prisma.OpeningTimesOrderByWithAggregationInput[];
|
|
134
|
+
by: Prisma.OpeningTimesScalarFieldEnum[] | Prisma.OpeningTimesScalarFieldEnum;
|
|
135
|
+
having?: Prisma.OpeningTimesScalarWhereWithAggregatesInput;
|
|
136
|
+
take?: number;
|
|
137
|
+
skip?: number;
|
|
138
|
+
_count?: OpeningTimesCountAggregateInputType | true;
|
|
139
|
+
_min?: OpeningTimesMinAggregateInputType;
|
|
140
|
+
_max?: OpeningTimesMaxAggregateInputType;
|
|
141
|
+
};
|
|
142
|
+
export type OpeningTimesGroupByOutputType = {
|
|
143
|
+
id: string;
|
|
144
|
+
monday: Date | null;
|
|
145
|
+
tuesday: Date | null;
|
|
146
|
+
wednesday: Date | null;
|
|
147
|
+
thursday: Date | null;
|
|
148
|
+
friday: Date | null;
|
|
149
|
+
saturday: Date | null;
|
|
150
|
+
sunday: Date | null;
|
|
151
|
+
_count: OpeningTimesCountAggregateOutputType | null;
|
|
152
|
+
_min: OpeningTimesMinAggregateOutputType | null;
|
|
153
|
+
_max: OpeningTimesMaxAggregateOutputType | null;
|
|
154
|
+
};
|
|
155
|
+
type GetOpeningTimesGroupByPayload<T extends OpeningTimesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OpeningTimesGroupByOutputType, T['by']> & {
|
|
156
|
+
[P in ((keyof T) & (keyof OpeningTimesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OpeningTimesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OpeningTimesGroupByOutputType[P]>;
|
|
157
|
+
}>>;
|
|
158
|
+
export type OpeningTimesWhereInput = {
|
|
159
|
+
AND?: Prisma.OpeningTimesWhereInput | Prisma.OpeningTimesWhereInput[];
|
|
160
|
+
OR?: Prisma.OpeningTimesWhereInput[];
|
|
161
|
+
NOT?: Prisma.OpeningTimesWhereInput | Prisma.OpeningTimesWhereInput[];
|
|
162
|
+
id?: Prisma.StringFilter<"OpeningTimes"> | string;
|
|
163
|
+
monday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
164
|
+
tuesday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
165
|
+
wednesday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
166
|
+
thursday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
167
|
+
friday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
168
|
+
saturday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
169
|
+
sunday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
170
|
+
organizationConfiguration?: Prisma.XOR<Prisma.OrganizationConfigurationNullableScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput> | null;
|
|
171
|
+
};
|
|
172
|
+
export type OpeningTimesOrderByWithRelationInput = {
|
|
173
|
+
id?: Prisma.SortOrder;
|
|
174
|
+
monday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
175
|
+
tuesday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
176
|
+
wednesday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
177
|
+
thursday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
178
|
+
friday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
179
|
+
saturday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
180
|
+
sunday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
181
|
+
organizationConfiguration?: Prisma.OrganizationConfigurationOrderByWithRelationInput;
|
|
182
|
+
};
|
|
183
|
+
export type OpeningTimesWhereUniqueInput = Prisma.AtLeast<{
|
|
184
|
+
id?: string;
|
|
185
|
+
AND?: Prisma.OpeningTimesWhereInput | Prisma.OpeningTimesWhereInput[];
|
|
186
|
+
OR?: Prisma.OpeningTimesWhereInput[];
|
|
187
|
+
NOT?: Prisma.OpeningTimesWhereInput | Prisma.OpeningTimesWhereInput[];
|
|
188
|
+
monday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
189
|
+
tuesday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
190
|
+
wednesday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
191
|
+
thursday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
192
|
+
friday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
193
|
+
saturday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
194
|
+
sunday?: Prisma.DateTimeNullableFilter<"OpeningTimes"> | Date | string | null;
|
|
195
|
+
organizationConfiguration?: Prisma.XOR<Prisma.OrganizationConfigurationNullableScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput> | null;
|
|
196
|
+
}, "id">;
|
|
197
|
+
export type OpeningTimesOrderByWithAggregationInput = {
|
|
198
|
+
id?: Prisma.SortOrder;
|
|
199
|
+
monday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
200
|
+
tuesday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
201
|
+
wednesday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
202
|
+
thursday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
203
|
+
friday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
204
|
+
saturday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
205
|
+
sunday?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
|
+
_count?: Prisma.OpeningTimesCountOrderByAggregateInput;
|
|
207
|
+
_max?: Prisma.OpeningTimesMaxOrderByAggregateInput;
|
|
208
|
+
_min?: Prisma.OpeningTimesMinOrderByAggregateInput;
|
|
209
|
+
};
|
|
210
|
+
export type OpeningTimesScalarWhereWithAggregatesInput = {
|
|
211
|
+
AND?: Prisma.OpeningTimesScalarWhereWithAggregatesInput | Prisma.OpeningTimesScalarWhereWithAggregatesInput[];
|
|
212
|
+
OR?: Prisma.OpeningTimesScalarWhereWithAggregatesInput[];
|
|
213
|
+
NOT?: Prisma.OpeningTimesScalarWhereWithAggregatesInput | Prisma.OpeningTimesScalarWhereWithAggregatesInput[];
|
|
214
|
+
id?: Prisma.StringWithAggregatesFilter<"OpeningTimes"> | string;
|
|
215
|
+
monday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
216
|
+
tuesday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
217
|
+
wednesday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
218
|
+
thursday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
219
|
+
friday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
220
|
+
saturday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
221
|
+
sunday?: Prisma.DateTimeNullableWithAggregatesFilter<"OpeningTimes"> | Date | string | null;
|
|
222
|
+
};
|
|
223
|
+
export type OpeningTimesCreateInput = {
|
|
224
|
+
id?: string;
|
|
225
|
+
monday?: Date | string | null;
|
|
226
|
+
tuesday?: Date | string | null;
|
|
227
|
+
wednesday?: Date | string | null;
|
|
228
|
+
thursday?: Date | string | null;
|
|
229
|
+
friday?: Date | string | null;
|
|
230
|
+
saturday?: Date | string | null;
|
|
231
|
+
sunday?: Date | string | null;
|
|
232
|
+
organizationConfiguration?: Prisma.OrganizationConfigurationCreateNestedOneWithoutOpeningTimesInput;
|
|
233
|
+
};
|
|
234
|
+
export type OpeningTimesUncheckedCreateInput = {
|
|
235
|
+
id?: string;
|
|
236
|
+
monday?: Date | string | null;
|
|
237
|
+
tuesday?: Date | string | null;
|
|
238
|
+
wednesday?: Date | string | null;
|
|
239
|
+
thursday?: Date | string | null;
|
|
240
|
+
friday?: Date | string | null;
|
|
241
|
+
saturday?: Date | string | null;
|
|
242
|
+
sunday?: Date | string | null;
|
|
243
|
+
organizationConfiguration?: Prisma.OrganizationConfigurationUncheckedCreateNestedOneWithoutOpeningTimesInput;
|
|
244
|
+
};
|
|
245
|
+
export type OpeningTimesUpdateInput = {
|
|
246
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
248
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
249
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
250
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
251
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
252
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
253
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
254
|
+
organizationConfiguration?: Prisma.OrganizationConfigurationUpdateOneWithoutOpeningTimesNestedInput;
|
|
255
|
+
};
|
|
256
|
+
export type OpeningTimesUncheckedUpdateInput = {
|
|
257
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
258
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
259
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
260
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
261
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
262
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
263
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
264
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
265
|
+
organizationConfiguration?: Prisma.OrganizationConfigurationUncheckedUpdateOneWithoutOpeningTimesNestedInput;
|
|
266
|
+
};
|
|
267
|
+
export type OpeningTimesCreateManyInput = {
|
|
268
|
+
id?: string;
|
|
269
|
+
monday?: Date | string | null;
|
|
270
|
+
tuesday?: Date | string | null;
|
|
271
|
+
wednesday?: Date | string | null;
|
|
272
|
+
thursday?: Date | string | null;
|
|
273
|
+
friday?: Date | string | null;
|
|
274
|
+
saturday?: Date | string | null;
|
|
275
|
+
sunday?: Date | string | null;
|
|
276
|
+
};
|
|
277
|
+
export type OpeningTimesUpdateManyMutationInput = {
|
|
278
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
280
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
281
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
282
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
283
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
284
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
285
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
286
|
+
};
|
|
287
|
+
export type OpeningTimesUncheckedUpdateManyInput = {
|
|
288
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
290
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
291
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
292
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
293
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
294
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
295
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
296
|
+
};
|
|
297
|
+
export type OpeningTimesCountOrderByAggregateInput = {
|
|
298
|
+
id?: Prisma.SortOrder;
|
|
299
|
+
monday?: Prisma.SortOrder;
|
|
300
|
+
tuesday?: Prisma.SortOrder;
|
|
301
|
+
wednesday?: Prisma.SortOrder;
|
|
302
|
+
thursday?: Prisma.SortOrder;
|
|
303
|
+
friday?: Prisma.SortOrder;
|
|
304
|
+
saturday?: Prisma.SortOrder;
|
|
305
|
+
sunday?: Prisma.SortOrder;
|
|
306
|
+
};
|
|
307
|
+
export type OpeningTimesMaxOrderByAggregateInput = {
|
|
308
|
+
id?: Prisma.SortOrder;
|
|
309
|
+
monday?: Prisma.SortOrder;
|
|
310
|
+
tuesday?: Prisma.SortOrder;
|
|
311
|
+
wednesday?: Prisma.SortOrder;
|
|
312
|
+
thursday?: Prisma.SortOrder;
|
|
313
|
+
friday?: Prisma.SortOrder;
|
|
314
|
+
saturday?: Prisma.SortOrder;
|
|
315
|
+
sunday?: Prisma.SortOrder;
|
|
316
|
+
};
|
|
317
|
+
export type OpeningTimesMinOrderByAggregateInput = {
|
|
318
|
+
id?: Prisma.SortOrder;
|
|
319
|
+
monday?: Prisma.SortOrder;
|
|
320
|
+
tuesday?: Prisma.SortOrder;
|
|
321
|
+
wednesday?: Prisma.SortOrder;
|
|
322
|
+
thursday?: Prisma.SortOrder;
|
|
323
|
+
friday?: Prisma.SortOrder;
|
|
324
|
+
saturday?: Prisma.SortOrder;
|
|
325
|
+
sunday?: Prisma.SortOrder;
|
|
326
|
+
};
|
|
327
|
+
export type OpeningTimesNullableScalarRelationFilter = {
|
|
328
|
+
is?: Prisma.OpeningTimesWhereInput | null;
|
|
329
|
+
isNot?: Prisma.OpeningTimesWhereInput | null;
|
|
330
|
+
};
|
|
331
|
+
export type OpeningTimesCreateNestedOneWithoutOrganizationConfigurationInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.OpeningTimesCreateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
333
|
+
connectOrCreate?: Prisma.OpeningTimesCreateOrConnectWithoutOrganizationConfigurationInput;
|
|
334
|
+
connect?: Prisma.OpeningTimesWhereUniqueInput;
|
|
335
|
+
};
|
|
336
|
+
export type OpeningTimesUpdateOneWithoutOrganizationConfigurationNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.OpeningTimesCreateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
338
|
+
connectOrCreate?: Prisma.OpeningTimesCreateOrConnectWithoutOrganizationConfigurationInput;
|
|
339
|
+
upsert?: Prisma.OpeningTimesUpsertWithoutOrganizationConfigurationInput;
|
|
340
|
+
disconnect?: Prisma.OpeningTimesWhereInput | boolean;
|
|
341
|
+
delete?: Prisma.OpeningTimesWhereInput | boolean;
|
|
342
|
+
connect?: Prisma.OpeningTimesWhereUniqueInput;
|
|
343
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OpeningTimesUpdateToOneWithWhereWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUpdateWithoutOrganizationConfigurationInput>, Prisma.OpeningTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
344
|
+
};
|
|
345
|
+
export type OpeningTimesCreateWithoutOrganizationConfigurationInput = {
|
|
346
|
+
id?: string;
|
|
347
|
+
monday?: Date | string | null;
|
|
348
|
+
tuesday?: Date | string | null;
|
|
349
|
+
wednesday?: Date | string | null;
|
|
350
|
+
thursday?: Date | string | null;
|
|
351
|
+
friday?: Date | string | null;
|
|
352
|
+
saturday?: Date | string | null;
|
|
353
|
+
sunday?: Date | string | null;
|
|
354
|
+
};
|
|
355
|
+
export type OpeningTimesUncheckedCreateWithoutOrganizationConfigurationInput = {
|
|
356
|
+
id?: string;
|
|
357
|
+
monday?: Date | string | null;
|
|
358
|
+
tuesday?: Date | string | null;
|
|
359
|
+
wednesday?: Date | string | null;
|
|
360
|
+
thursday?: Date | string | null;
|
|
361
|
+
friday?: Date | string | null;
|
|
362
|
+
saturday?: Date | string | null;
|
|
363
|
+
sunday?: Date | string | null;
|
|
364
|
+
};
|
|
365
|
+
export type OpeningTimesCreateOrConnectWithoutOrganizationConfigurationInput = {
|
|
366
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
367
|
+
create: Prisma.XOR<Prisma.OpeningTimesCreateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
368
|
+
};
|
|
369
|
+
export type OpeningTimesUpsertWithoutOrganizationConfigurationInput = {
|
|
370
|
+
update: Prisma.XOR<Prisma.OpeningTimesUpdateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
371
|
+
create: Prisma.XOR<Prisma.OpeningTimesCreateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
372
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
373
|
+
};
|
|
374
|
+
export type OpeningTimesUpdateToOneWithWhereWithoutOrganizationConfigurationInput = {
|
|
375
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
376
|
+
data: Prisma.XOR<Prisma.OpeningTimesUpdateWithoutOrganizationConfigurationInput, Prisma.OpeningTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
377
|
+
};
|
|
378
|
+
export type OpeningTimesUpdateWithoutOrganizationConfigurationInput = {
|
|
379
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
380
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
381
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
382
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
383
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
384
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
385
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
386
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
387
|
+
};
|
|
388
|
+
export type OpeningTimesUncheckedUpdateWithoutOrganizationConfigurationInput = {
|
|
389
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
monday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
391
|
+
tuesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
392
|
+
wednesday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
393
|
+
thursday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
394
|
+
friday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
395
|
+
saturday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
396
|
+
sunday?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
397
|
+
};
|
|
398
|
+
export type OpeningTimesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
399
|
+
id?: boolean;
|
|
400
|
+
monday?: boolean;
|
|
401
|
+
tuesday?: boolean;
|
|
402
|
+
wednesday?: boolean;
|
|
403
|
+
thursday?: boolean;
|
|
404
|
+
friday?: boolean;
|
|
405
|
+
saturday?: boolean;
|
|
406
|
+
sunday?: boolean;
|
|
407
|
+
organizationConfiguration?: boolean | Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs>;
|
|
408
|
+
}, ExtArgs["result"]["openingTimes"]>;
|
|
409
|
+
export type OpeningTimesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
410
|
+
id?: boolean;
|
|
411
|
+
monday?: boolean;
|
|
412
|
+
tuesday?: boolean;
|
|
413
|
+
wednesday?: boolean;
|
|
414
|
+
thursday?: boolean;
|
|
415
|
+
friday?: boolean;
|
|
416
|
+
saturday?: boolean;
|
|
417
|
+
sunday?: boolean;
|
|
418
|
+
}, ExtArgs["result"]["openingTimes"]>;
|
|
419
|
+
export type OpeningTimesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
420
|
+
id?: boolean;
|
|
421
|
+
monday?: boolean;
|
|
422
|
+
tuesday?: boolean;
|
|
423
|
+
wednesday?: boolean;
|
|
424
|
+
thursday?: boolean;
|
|
425
|
+
friday?: boolean;
|
|
426
|
+
saturday?: boolean;
|
|
427
|
+
sunday?: boolean;
|
|
428
|
+
}, ExtArgs["result"]["openingTimes"]>;
|
|
429
|
+
export type OpeningTimesSelectScalar = {
|
|
430
|
+
id?: boolean;
|
|
431
|
+
monday?: boolean;
|
|
432
|
+
tuesday?: boolean;
|
|
433
|
+
wednesday?: boolean;
|
|
434
|
+
thursday?: boolean;
|
|
435
|
+
friday?: boolean;
|
|
436
|
+
saturday?: boolean;
|
|
437
|
+
sunday?: boolean;
|
|
438
|
+
};
|
|
439
|
+
export type OpeningTimesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday", ExtArgs["result"]["openingTimes"]>;
|
|
440
|
+
export type OpeningTimesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
organizationConfiguration?: boolean | Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs>;
|
|
442
|
+
};
|
|
443
|
+
export type OpeningTimesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
444
|
+
export type OpeningTimesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
445
|
+
export type $OpeningTimesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
446
|
+
name: "OpeningTimes";
|
|
447
|
+
objects: {
|
|
448
|
+
organizationConfiguration: Prisma.$OrganizationConfigurationPayload<ExtArgs> | null;
|
|
449
|
+
};
|
|
450
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
451
|
+
id: string;
|
|
452
|
+
monday: Date | null;
|
|
453
|
+
tuesday: Date | null;
|
|
454
|
+
wednesday: Date | null;
|
|
455
|
+
thursday: Date | null;
|
|
456
|
+
friday: Date | null;
|
|
457
|
+
saturday: Date | null;
|
|
458
|
+
sunday: Date | null;
|
|
459
|
+
}, ExtArgs["result"]["openingTimes"]>;
|
|
460
|
+
composites: {};
|
|
461
|
+
};
|
|
462
|
+
export type OpeningTimesGetPayload<S extends boolean | null | undefined | OpeningTimesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload, S>;
|
|
463
|
+
export type OpeningTimesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OpeningTimesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
464
|
+
select?: OpeningTimesCountAggregateInputType | true;
|
|
465
|
+
};
|
|
466
|
+
export interface OpeningTimesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
467
|
+
[K: symbol]: {
|
|
468
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OpeningTimes'];
|
|
469
|
+
meta: {
|
|
470
|
+
name: 'OpeningTimes';
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Find zero or one OpeningTimes that matches the filter.
|
|
475
|
+
* @param {OpeningTimesFindUniqueArgs} args - Arguments to find a OpeningTimes
|
|
476
|
+
* @example
|
|
477
|
+
* // Get one OpeningTimes
|
|
478
|
+
* const openingTimes = await prisma.openingTimes.findUnique({
|
|
479
|
+
* where: {
|
|
480
|
+
* // ... provide filter here
|
|
481
|
+
* }
|
|
482
|
+
* })
|
|
483
|
+
*/
|
|
484
|
+
findUnique<T extends OpeningTimesFindUniqueArgs>(args: Prisma.SelectSubset<T, OpeningTimesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
485
|
+
/**
|
|
486
|
+
* Find one OpeningTimes that matches the filter or throw an error with `error.code='P2025'`
|
|
487
|
+
* if no matches were found.
|
|
488
|
+
* @param {OpeningTimesFindUniqueOrThrowArgs} args - Arguments to find a OpeningTimes
|
|
489
|
+
* @example
|
|
490
|
+
* // Get one OpeningTimes
|
|
491
|
+
* const openingTimes = await prisma.openingTimes.findUniqueOrThrow({
|
|
492
|
+
* where: {
|
|
493
|
+
* // ... provide filter here
|
|
494
|
+
* }
|
|
495
|
+
* })
|
|
496
|
+
*/
|
|
497
|
+
findUniqueOrThrow<T extends OpeningTimesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OpeningTimesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
498
|
+
/**
|
|
499
|
+
* Find the first OpeningTimes that matches the filter.
|
|
500
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
501
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
502
|
+
* @param {OpeningTimesFindFirstArgs} args - Arguments to find a OpeningTimes
|
|
503
|
+
* @example
|
|
504
|
+
* // Get one OpeningTimes
|
|
505
|
+
* const openingTimes = await prisma.openingTimes.findFirst({
|
|
506
|
+
* where: {
|
|
507
|
+
* // ... provide filter here
|
|
508
|
+
* }
|
|
509
|
+
* })
|
|
510
|
+
*/
|
|
511
|
+
findFirst<T extends OpeningTimesFindFirstArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindFirstArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
512
|
+
/**
|
|
513
|
+
* Find the first OpeningTimes that matches the filter or
|
|
514
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
515
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
516
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
517
|
+
* @param {OpeningTimesFindFirstOrThrowArgs} args - Arguments to find a OpeningTimes
|
|
518
|
+
* @example
|
|
519
|
+
* // Get one OpeningTimes
|
|
520
|
+
* const openingTimes = await prisma.openingTimes.findFirstOrThrow({
|
|
521
|
+
* where: {
|
|
522
|
+
* // ... provide filter here
|
|
523
|
+
* }
|
|
524
|
+
* })
|
|
525
|
+
*/
|
|
526
|
+
findFirstOrThrow<T extends OpeningTimesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
527
|
+
/**
|
|
528
|
+
* Find zero or more OpeningTimes that matches the filter.
|
|
529
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
530
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
531
|
+
* @param {OpeningTimesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
532
|
+
* @example
|
|
533
|
+
* // Get all OpeningTimes
|
|
534
|
+
* const openingTimes = await prisma.openingTimes.findMany()
|
|
535
|
+
*
|
|
536
|
+
* // Get first 10 OpeningTimes
|
|
537
|
+
* const openingTimes = await prisma.openingTimes.findMany({ take: 10 })
|
|
538
|
+
*
|
|
539
|
+
* // Only select the `id`
|
|
540
|
+
* const openingTimesWithIdOnly = await prisma.openingTimes.findMany({ select: { id: true } })
|
|
541
|
+
*
|
|
542
|
+
*/
|
|
543
|
+
findMany<T extends OpeningTimesFindManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
544
|
+
/**
|
|
545
|
+
* Create a OpeningTimes.
|
|
546
|
+
* @param {OpeningTimesCreateArgs} args - Arguments to create a OpeningTimes.
|
|
547
|
+
* @example
|
|
548
|
+
* // Create one OpeningTimes
|
|
549
|
+
* const OpeningTimes = await prisma.openingTimes.create({
|
|
550
|
+
* data: {
|
|
551
|
+
* // ... data to create a OpeningTimes
|
|
552
|
+
* }
|
|
553
|
+
* })
|
|
554
|
+
*
|
|
555
|
+
*/
|
|
556
|
+
create<T extends OpeningTimesCreateArgs>(args: Prisma.SelectSubset<T, OpeningTimesCreateArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
557
|
+
/**
|
|
558
|
+
* Create many OpeningTimes.
|
|
559
|
+
* @param {OpeningTimesCreateManyArgs} args - Arguments to create many OpeningTimes.
|
|
560
|
+
* @example
|
|
561
|
+
* // Create many OpeningTimes
|
|
562
|
+
* const openingTimes = await prisma.openingTimes.createMany({
|
|
563
|
+
* data: [
|
|
564
|
+
* // ... provide data here
|
|
565
|
+
* ]
|
|
566
|
+
* })
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
569
|
+
createMany<T extends OpeningTimesCreateManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
570
|
+
/**
|
|
571
|
+
* Create many OpeningTimes and returns the data saved in the database.
|
|
572
|
+
* @param {OpeningTimesCreateManyAndReturnArgs} args - Arguments to create many OpeningTimes.
|
|
573
|
+
* @example
|
|
574
|
+
* // Create many OpeningTimes
|
|
575
|
+
* const openingTimes = await prisma.openingTimes.createManyAndReturn({
|
|
576
|
+
* data: [
|
|
577
|
+
* // ... provide data here
|
|
578
|
+
* ]
|
|
579
|
+
* })
|
|
580
|
+
*
|
|
581
|
+
* // Create many OpeningTimes and only return the `id`
|
|
582
|
+
* const openingTimesWithIdOnly = await prisma.openingTimes.createManyAndReturn({
|
|
583
|
+
* select: { id: true },
|
|
584
|
+
* data: [
|
|
585
|
+
* // ... provide data here
|
|
586
|
+
* ]
|
|
587
|
+
* })
|
|
588
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
589
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
590
|
+
*
|
|
591
|
+
*/
|
|
592
|
+
createManyAndReturn<T extends OpeningTimesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OpeningTimesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
593
|
+
/**
|
|
594
|
+
* Delete a OpeningTimes.
|
|
595
|
+
* @param {OpeningTimesDeleteArgs} args - Arguments to delete one OpeningTimes.
|
|
596
|
+
* @example
|
|
597
|
+
* // Delete one OpeningTimes
|
|
598
|
+
* const OpeningTimes = await prisma.openingTimes.delete({
|
|
599
|
+
* where: {
|
|
600
|
+
* // ... filter to delete one OpeningTimes
|
|
601
|
+
* }
|
|
602
|
+
* })
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
delete<T extends OpeningTimesDeleteArgs>(args: Prisma.SelectSubset<T, OpeningTimesDeleteArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
606
|
+
/**
|
|
607
|
+
* Update one OpeningTimes.
|
|
608
|
+
* @param {OpeningTimesUpdateArgs} args - Arguments to update one OpeningTimes.
|
|
609
|
+
* @example
|
|
610
|
+
* // Update one OpeningTimes
|
|
611
|
+
* const openingTimes = await prisma.openingTimes.update({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* },
|
|
615
|
+
* data: {
|
|
616
|
+
* // ... provide data here
|
|
617
|
+
* }
|
|
618
|
+
* })
|
|
619
|
+
*
|
|
620
|
+
*/
|
|
621
|
+
update<T extends OpeningTimesUpdateArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
622
|
+
/**
|
|
623
|
+
* Delete zero or more OpeningTimes.
|
|
624
|
+
* @param {OpeningTimesDeleteManyArgs} args - Arguments to filter OpeningTimes to delete.
|
|
625
|
+
* @example
|
|
626
|
+
* // Delete a few OpeningTimes
|
|
627
|
+
* const { count } = await prisma.openingTimes.deleteMany({
|
|
628
|
+
* where: {
|
|
629
|
+
* // ... provide filter here
|
|
630
|
+
* }
|
|
631
|
+
* })
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
deleteMany<T extends OpeningTimesDeleteManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
635
|
+
/**
|
|
636
|
+
* Update zero or more OpeningTimes.
|
|
637
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
638
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
639
|
+
* @param {OpeningTimesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
640
|
+
* @example
|
|
641
|
+
* // Update many OpeningTimes
|
|
642
|
+
* const openingTimes = await prisma.openingTimes.updateMany({
|
|
643
|
+
* where: {
|
|
644
|
+
* // ... provide filter here
|
|
645
|
+
* },
|
|
646
|
+
* data: {
|
|
647
|
+
* // ... provide data here
|
|
648
|
+
* }
|
|
649
|
+
* })
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
updateMany<T extends OpeningTimesUpdateManyArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
653
|
+
/**
|
|
654
|
+
* Update zero or more OpeningTimes and returns the data updated in the database.
|
|
655
|
+
* @param {OpeningTimesUpdateManyAndReturnArgs} args - Arguments to update many OpeningTimes.
|
|
656
|
+
* @example
|
|
657
|
+
* // Update many OpeningTimes
|
|
658
|
+
* const openingTimes = await prisma.openingTimes.updateManyAndReturn({
|
|
659
|
+
* where: {
|
|
660
|
+
* // ... provide filter here
|
|
661
|
+
* },
|
|
662
|
+
* data: [
|
|
663
|
+
* // ... provide data here
|
|
664
|
+
* ]
|
|
665
|
+
* })
|
|
666
|
+
*
|
|
667
|
+
* // Update zero or more OpeningTimes and only return the `id`
|
|
668
|
+
* const openingTimesWithIdOnly = await prisma.openingTimes.updateManyAndReturn({
|
|
669
|
+
* select: { id: true },
|
|
670
|
+
* where: {
|
|
671
|
+
* // ... provide filter here
|
|
672
|
+
* },
|
|
673
|
+
* data: [
|
|
674
|
+
* // ... provide data here
|
|
675
|
+
* ]
|
|
676
|
+
* })
|
|
677
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
678
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
679
|
+
*
|
|
680
|
+
*/
|
|
681
|
+
updateManyAndReturn<T extends OpeningTimesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
682
|
+
/**
|
|
683
|
+
* Create or update one OpeningTimes.
|
|
684
|
+
* @param {OpeningTimesUpsertArgs} args - Arguments to update or create a OpeningTimes.
|
|
685
|
+
* @example
|
|
686
|
+
* // Update or create a OpeningTimes
|
|
687
|
+
* const openingTimes = await prisma.openingTimes.upsert({
|
|
688
|
+
* create: {
|
|
689
|
+
* // ... data to create a OpeningTimes
|
|
690
|
+
* },
|
|
691
|
+
* update: {
|
|
692
|
+
* // ... in case it already exists, update
|
|
693
|
+
* },
|
|
694
|
+
* where: {
|
|
695
|
+
* // ... the filter for the OpeningTimes we want to update
|
|
696
|
+
* }
|
|
697
|
+
* })
|
|
698
|
+
*/
|
|
699
|
+
upsert<T extends OpeningTimesUpsertArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpsertArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
700
|
+
/**
|
|
701
|
+
* Count the number of OpeningTimes.
|
|
702
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
703
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
704
|
+
* @param {OpeningTimesCountArgs} args - Arguments to filter OpeningTimes to count.
|
|
705
|
+
* @example
|
|
706
|
+
* // Count the number of OpeningTimes
|
|
707
|
+
* const count = await prisma.openingTimes.count({
|
|
708
|
+
* where: {
|
|
709
|
+
* // ... the filter for the OpeningTimes we want to count
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
**/
|
|
713
|
+
count<T extends OpeningTimesCountArgs>(args?: Prisma.Subset<T, OpeningTimesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OpeningTimesCountAggregateOutputType> : number>;
|
|
714
|
+
/**
|
|
715
|
+
* Allows you to perform aggregations operations on a OpeningTimes.
|
|
716
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
717
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
718
|
+
* @param {OpeningTimesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
719
|
+
* @example
|
|
720
|
+
* // Ordered by age ascending
|
|
721
|
+
* // Where email contains prisma.io
|
|
722
|
+
* // Limited to the 10 users
|
|
723
|
+
* const aggregations = await prisma.user.aggregate({
|
|
724
|
+
* _avg: {
|
|
725
|
+
* age: true,
|
|
726
|
+
* },
|
|
727
|
+
* where: {
|
|
728
|
+
* email: {
|
|
729
|
+
* contains: "prisma.io",
|
|
730
|
+
* },
|
|
731
|
+
* },
|
|
732
|
+
* orderBy: {
|
|
733
|
+
* age: "asc",
|
|
734
|
+
* },
|
|
735
|
+
* take: 10,
|
|
736
|
+
* })
|
|
737
|
+
**/
|
|
738
|
+
aggregate<T extends OpeningTimesAggregateArgs>(args: Prisma.Subset<T, OpeningTimesAggregateArgs>): Prisma.PrismaPromise<GetOpeningTimesAggregateType<T>>;
|
|
739
|
+
/**
|
|
740
|
+
* Group by OpeningTimes.
|
|
741
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
742
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
743
|
+
* @param {OpeningTimesGroupByArgs} args - Group by arguments.
|
|
744
|
+
* @example
|
|
745
|
+
* // Group by city, order by createdAt, get count
|
|
746
|
+
* const result = await prisma.user.groupBy({
|
|
747
|
+
* by: ['city', 'createdAt'],
|
|
748
|
+
* orderBy: {
|
|
749
|
+
* createdAt: true
|
|
750
|
+
* },
|
|
751
|
+
* _count: {
|
|
752
|
+
* _all: true
|
|
753
|
+
* },
|
|
754
|
+
* })
|
|
755
|
+
*
|
|
756
|
+
**/
|
|
757
|
+
groupBy<T extends OpeningTimesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
758
|
+
orderBy: OpeningTimesGroupByArgs['orderBy'];
|
|
759
|
+
} : {
|
|
760
|
+
orderBy?: OpeningTimesGroupByArgs['orderBy'];
|
|
761
|
+
}, 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 ? {
|
|
762
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
763
|
+
Error,
|
|
764
|
+
'Field ',
|
|
765
|
+
P,
|
|
766
|
+
` in "having" needs to be provided in "by"`
|
|
767
|
+
];
|
|
768
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
769
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
770
|
+
}[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 ? {} : {
|
|
771
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
772
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
773
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
774
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OpeningTimesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOpeningTimesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
775
|
+
/**
|
|
776
|
+
* Fields of the OpeningTimes model
|
|
777
|
+
*/
|
|
778
|
+
readonly fields: OpeningTimesFieldRefs;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* The delegate class that acts as a "Promise-like" for OpeningTimes.
|
|
782
|
+
* Why is this prefixed with `Prisma__`?
|
|
783
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
784
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
785
|
+
*/
|
|
786
|
+
export interface Prisma__OpeningTimesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
787
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
788
|
+
organizationConfiguration<T extends Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
789
|
+
/**
|
|
790
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
791
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
792
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
793
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
794
|
+
*/
|
|
795
|
+
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>;
|
|
796
|
+
/**
|
|
797
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
798
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
799
|
+
* @returns A Promise for the completion of the callback.
|
|
800
|
+
*/
|
|
801
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
802
|
+
/**
|
|
803
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
804
|
+
* resolved value cannot be modified from the callback.
|
|
805
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
806
|
+
* @returns A Promise for the completion of the callback.
|
|
807
|
+
*/
|
|
808
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* Fields of the OpeningTimes model
|
|
812
|
+
*/
|
|
813
|
+
export interface OpeningTimesFieldRefs {
|
|
814
|
+
readonly id: Prisma.FieldRef<"OpeningTimes", 'String'>;
|
|
815
|
+
readonly monday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
816
|
+
readonly tuesday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
817
|
+
readonly wednesday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
818
|
+
readonly thursday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
819
|
+
readonly friday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
820
|
+
readonly saturday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
821
|
+
readonly sunday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* OpeningTimes findUnique
|
|
825
|
+
*/
|
|
826
|
+
export type OpeningTimesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
827
|
+
/**
|
|
828
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
829
|
+
*/
|
|
830
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
831
|
+
/**
|
|
832
|
+
* Omit specific fields from the OpeningTimes
|
|
833
|
+
*/
|
|
834
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
835
|
+
/**
|
|
836
|
+
* Choose, which related nodes to fetch as well
|
|
837
|
+
*/
|
|
838
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
839
|
+
/**
|
|
840
|
+
* Filter, which OpeningTimes to fetch.
|
|
841
|
+
*/
|
|
842
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* OpeningTimes findUniqueOrThrow
|
|
846
|
+
*/
|
|
847
|
+
export type OpeningTimesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
848
|
+
/**
|
|
849
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
850
|
+
*/
|
|
851
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
852
|
+
/**
|
|
853
|
+
* Omit specific fields from the OpeningTimes
|
|
854
|
+
*/
|
|
855
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
856
|
+
/**
|
|
857
|
+
* Choose, which related nodes to fetch as well
|
|
858
|
+
*/
|
|
859
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
860
|
+
/**
|
|
861
|
+
* Filter, which OpeningTimes to fetch.
|
|
862
|
+
*/
|
|
863
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* OpeningTimes findFirst
|
|
867
|
+
*/
|
|
868
|
+
export type OpeningTimesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
869
|
+
/**
|
|
870
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
871
|
+
*/
|
|
872
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
873
|
+
/**
|
|
874
|
+
* Omit specific fields from the OpeningTimes
|
|
875
|
+
*/
|
|
876
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
877
|
+
/**
|
|
878
|
+
* Choose, which related nodes to fetch as well
|
|
879
|
+
*/
|
|
880
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
881
|
+
/**
|
|
882
|
+
* Filter, which OpeningTimes to fetch.
|
|
883
|
+
*/
|
|
884
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
887
|
+
*
|
|
888
|
+
* Determine the order of OpeningTimes to fetch.
|
|
889
|
+
*/
|
|
890
|
+
orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
|
|
891
|
+
/**
|
|
892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
893
|
+
*
|
|
894
|
+
* Sets the position for searching for OpeningTimes.
|
|
895
|
+
*/
|
|
896
|
+
cursor?: Prisma.OpeningTimesWhereUniqueInput;
|
|
897
|
+
/**
|
|
898
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
899
|
+
*
|
|
900
|
+
* Take `±n` OpeningTimes from the position of the cursor.
|
|
901
|
+
*/
|
|
902
|
+
take?: number;
|
|
903
|
+
/**
|
|
904
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
905
|
+
*
|
|
906
|
+
* Skip the first `n` OpeningTimes.
|
|
907
|
+
*/
|
|
908
|
+
skip?: number;
|
|
909
|
+
/**
|
|
910
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
911
|
+
*
|
|
912
|
+
* Filter by unique combinations of OpeningTimes.
|
|
913
|
+
*/
|
|
914
|
+
distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
|
|
915
|
+
};
|
|
916
|
+
/**
|
|
917
|
+
* OpeningTimes findFirstOrThrow
|
|
918
|
+
*/
|
|
919
|
+
export type OpeningTimesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
920
|
+
/**
|
|
921
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
922
|
+
*/
|
|
923
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
924
|
+
/**
|
|
925
|
+
* Omit specific fields from the OpeningTimes
|
|
926
|
+
*/
|
|
927
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
928
|
+
/**
|
|
929
|
+
* Choose, which related nodes to fetch as well
|
|
930
|
+
*/
|
|
931
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
932
|
+
/**
|
|
933
|
+
* Filter, which OpeningTimes to fetch.
|
|
934
|
+
*/
|
|
935
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
936
|
+
/**
|
|
937
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
938
|
+
*
|
|
939
|
+
* Determine the order of OpeningTimes to fetch.
|
|
940
|
+
*/
|
|
941
|
+
orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
|
|
942
|
+
/**
|
|
943
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
944
|
+
*
|
|
945
|
+
* Sets the position for searching for OpeningTimes.
|
|
946
|
+
*/
|
|
947
|
+
cursor?: Prisma.OpeningTimesWhereUniqueInput;
|
|
948
|
+
/**
|
|
949
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
950
|
+
*
|
|
951
|
+
* Take `±n` OpeningTimes from the position of the cursor.
|
|
952
|
+
*/
|
|
953
|
+
take?: number;
|
|
954
|
+
/**
|
|
955
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
956
|
+
*
|
|
957
|
+
* Skip the first `n` OpeningTimes.
|
|
958
|
+
*/
|
|
959
|
+
skip?: number;
|
|
960
|
+
/**
|
|
961
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
962
|
+
*
|
|
963
|
+
* Filter by unique combinations of OpeningTimes.
|
|
964
|
+
*/
|
|
965
|
+
distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* OpeningTimes findMany
|
|
969
|
+
*/
|
|
970
|
+
export type OpeningTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
/**
|
|
972
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
973
|
+
*/
|
|
974
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
975
|
+
/**
|
|
976
|
+
* Omit specific fields from the OpeningTimes
|
|
977
|
+
*/
|
|
978
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
979
|
+
/**
|
|
980
|
+
* Choose, which related nodes to fetch as well
|
|
981
|
+
*/
|
|
982
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
983
|
+
/**
|
|
984
|
+
* Filter, which OpeningTimes to fetch.
|
|
985
|
+
*/
|
|
986
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
989
|
+
*
|
|
990
|
+
* Determine the order of OpeningTimes to fetch.
|
|
991
|
+
*/
|
|
992
|
+
orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
|
|
993
|
+
/**
|
|
994
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
995
|
+
*
|
|
996
|
+
* Sets the position for listing OpeningTimes.
|
|
997
|
+
*/
|
|
998
|
+
cursor?: Prisma.OpeningTimesWhereUniqueInput;
|
|
999
|
+
/**
|
|
1000
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1001
|
+
*
|
|
1002
|
+
* Take `±n` OpeningTimes from the position of the cursor.
|
|
1003
|
+
*/
|
|
1004
|
+
take?: number;
|
|
1005
|
+
/**
|
|
1006
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1007
|
+
*
|
|
1008
|
+
* Skip the first `n` OpeningTimes.
|
|
1009
|
+
*/
|
|
1010
|
+
skip?: number;
|
|
1011
|
+
distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* OpeningTimes create
|
|
1015
|
+
*/
|
|
1016
|
+
export type OpeningTimesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1017
|
+
/**
|
|
1018
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1019
|
+
*/
|
|
1020
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Omit specific fields from the OpeningTimes
|
|
1023
|
+
*/
|
|
1024
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Choose, which related nodes to fetch as well
|
|
1027
|
+
*/
|
|
1028
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* The data needed to create a OpeningTimes.
|
|
1031
|
+
*/
|
|
1032
|
+
data?: Prisma.XOR<Prisma.OpeningTimesCreateInput, Prisma.OpeningTimesUncheckedCreateInput>;
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* OpeningTimes createMany
|
|
1036
|
+
*/
|
|
1037
|
+
export type OpeningTimesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
+
/**
|
|
1039
|
+
* The data used to create many OpeningTimes.
|
|
1040
|
+
*/
|
|
1041
|
+
data: Prisma.OpeningTimesCreateManyInput | Prisma.OpeningTimesCreateManyInput[];
|
|
1042
|
+
skipDuplicates?: boolean;
|
|
1043
|
+
};
|
|
1044
|
+
/**
|
|
1045
|
+
* OpeningTimes createManyAndReturn
|
|
1046
|
+
*/
|
|
1047
|
+
export type OpeningTimesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1048
|
+
/**
|
|
1049
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1050
|
+
*/
|
|
1051
|
+
select?: Prisma.OpeningTimesSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* Omit specific fields from the OpeningTimes
|
|
1054
|
+
*/
|
|
1055
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1056
|
+
/**
|
|
1057
|
+
* The data used to create many OpeningTimes.
|
|
1058
|
+
*/
|
|
1059
|
+
data: Prisma.OpeningTimesCreateManyInput | Prisma.OpeningTimesCreateManyInput[];
|
|
1060
|
+
skipDuplicates?: boolean;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* OpeningTimes update
|
|
1064
|
+
*/
|
|
1065
|
+
export type OpeningTimesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the OpeningTimes
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* The data needed to update a OpeningTimes.
|
|
1080
|
+
*/
|
|
1081
|
+
data: Prisma.XOR<Prisma.OpeningTimesUpdateInput, Prisma.OpeningTimesUncheckedUpdateInput>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Choose, which OpeningTimes to update.
|
|
1084
|
+
*/
|
|
1085
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* OpeningTimes updateMany
|
|
1089
|
+
*/
|
|
1090
|
+
export type OpeningTimesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* The data used to update OpeningTimes.
|
|
1093
|
+
*/
|
|
1094
|
+
data: Prisma.XOR<Prisma.OpeningTimesUpdateManyMutationInput, Prisma.OpeningTimesUncheckedUpdateManyInput>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter which OpeningTimes to update
|
|
1097
|
+
*/
|
|
1098
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* Limit how many OpeningTimes to update.
|
|
1101
|
+
*/
|
|
1102
|
+
limit?: number;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* OpeningTimes updateManyAndReturn
|
|
1106
|
+
*/
|
|
1107
|
+
export type OpeningTimesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1110
|
+
*/
|
|
1111
|
+
select?: Prisma.OpeningTimesSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Omit specific fields from the OpeningTimes
|
|
1114
|
+
*/
|
|
1115
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The data used to update OpeningTimes.
|
|
1118
|
+
*/
|
|
1119
|
+
data: Prisma.XOR<Prisma.OpeningTimesUpdateManyMutationInput, Prisma.OpeningTimesUncheckedUpdateManyInput>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter which OpeningTimes to update
|
|
1122
|
+
*/
|
|
1123
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
1124
|
+
/**
|
|
1125
|
+
* Limit how many OpeningTimes to update.
|
|
1126
|
+
*/
|
|
1127
|
+
limit?: number;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* OpeningTimes upsert
|
|
1131
|
+
*/
|
|
1132
|
+
export type OpeningTimesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1135
|
+
*/
|
|
1136
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Omit specific fields from the OpeningTimes
|
|
1139
|
+
*/
|
|
1140
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* Choose, which related nodes to fetch as well
|
|
1143
|
+
*/
|
|
1144
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* The filter to search for the OpeningTimes to update in case it exists.
|
|
1147
|
+
*/
|
|
1148
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
1149
|
+
/**
|
|
1150
|
+
* In case the OpeningTimes found by the `where` argument doesn't exist, create a new OpeningTimes with this data.
|
|
1151
|
+
*/
|
|
1152
|
+
create: Prisma.XOR<Prisma.OpeningTimesCreateInput, Prisma.OpeningTimesUncheckedCreateInput>;
|
|
1153
|
+
/**
|
|
1154
|
+
* In case the OpeningTimes was found with the provided `where` argument, update it with this data.
|
|
1155
|
+
*/
|
|
1156
|
+
update: Prisma.XOR<Prisma.OpeningTimesUpdateInput, Prisma.OpeningTimesUncheckedUpdateInput>;
|
|
1157
|
+
};
|
|
1158
|
+
/**
|
|
1159
|
+
* OpeningTimes delete
|
|
1160
|
+
*/
|
|
1161
|
+
export type OpeningTimesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1164
|
+
*/
|
|
1165
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* Omit specific fields from the OpeningTimes
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Choose, which related nodes to fetch as well
|
|
1172
|
+
*/
|
|
1173
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter which OpeningTimes to delete.
|
|
1176
|
+
*/
|
|
1177
|
+
where: Prisma.OpeningTimesWhereUniqueInput;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* OpeningTimes deleteMany
|
|
1181
|
+
*/
|
|
1182
|
+
export type OpeningTimesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Filter which OpeningTimes to delete
|
|
1185
|
+
*/
|
|
1186
|
+
where?: Prisma.OpeningTimesWhereInput;
|
|
1187
|
+
/**
|
|
1188
|
+
* Limit how many OpeningTimes to delete.
|
|
1189
|
+
*/
|
|
1190
|
+
limit?: number;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* OpeningTimes.organizationConfiguration
|
|
1194
|
+
*/
|
|
1195
|
+
export type OpeningTimes$organizationConfigurationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1196
|
+
/**
|
|
1197
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1198
|
+
*/
|
|
1199
|
+
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1200
|
+
/**
|
|
1201
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1202
|
+
*/
|
|
1203
|
+
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Choose, which related nodes to fetch as well
|
|
1206
|
+
*/
|
|
1207
|
+
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1208
|
+
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* OpeningTimes without action
|
|
1212
|
+
*/
|
|
1213
|
+
export type OpeningTimesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the OpeningTimes
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1226
|
+
};
|
|
1227
|
+
export {};
|