@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 `ClosingTimes` 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 ClosingTimes
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ClosingTimesModel = runtime.Types.Result.DefaultSelection<Prisma.$ClosingTimesPayload>;
|
|
13
|
+
export type AggregateClosingTimes = {
|
|
14
|
+
_count: ClosingTimesCountAggregateOutputType | null;
|
|
15
|
+
_min: ClosingTimesMinAggregateOutputType | null;
|
|
16
|
+
_max: ClosingTimesMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type ClosingTimesMinAggregateOutputType = {
|
|
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 ClosingTimesMaxAggregateOutputType = {
|
|
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 ClosingTimesCountAggregateOutputType = {
|
|
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 ClosingTimesMinAggregateInputType = {
|
|
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 ClosingTimesMaxAggregateInputType = {
|
|
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 ClosingTimesCountAggregateInputType = {
|
|
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 ClosingTimesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
81
|
+
/**
|
|
82
|
+
* Filter which ClosingTimes to aggregate.
|
|
83
|
+
*/
|
|
84
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
87
|
+
*
|
|
88
|
+
* Determine the order of ClosingTimes to fetch.
|
|
89
|
+
*/
|
|
90
|
+
orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
|
|
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.ClosingTimesWhereUniqueInput;
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
99
|
+
*
|
|
100
|
+
* Take `±n` ClosingTimes 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` ClosingTimes.
|
|
107
|
+
*/
|
|
108
|
+
skip?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Count returned ClosingTimes
|
|
113
|
+
**/
|
|
114
|
+
_count?: true | ClosingTimesCountAggregateInputType;
|
|
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?: ClosingTimesMinAggregateInputType;
|
|
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?: ClosingTimesMaxAggregateInputType;
|
|
127
|
+
};
|
|
128
|
+
export type GetClosingTimesAggregateType<T extends ClosingTimesAggregateArgs> = {
|
|
129
|
+
[P in keyof T & keyof AggregateClosingTimes]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateClosingTimes[P]> : Prisma.GetScalarType<T[P], AggregateClosingTimes[P]>;
|
|
130
|
+
};
|
|
131
|
+
export type ClosingTimesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
133
|
+
orderBy?: Prisma.ClosingTimesOrderByWithAggregationInput | Prisma.ClosingTimesOrderByWithAggregationInput[];
|
|
134
|
+
by: Prisma.ClosingTimesScalarFieldEnum[] | Prisma.ClosingTimesScalarFieldEnum;
|
|
135
|
+
having?: Prisma.ClosingTimesScalarWhereWithAggregatesInput;
|
|
136
|
+
take?: number;
|
|
137
|
+
skip?: number;
|
|
138
|
+
_count?: ClosingTimesCountAggregateInputType | true;
|
|
139
|
+
_min?: ClosingTimesMinAggregateInputType;
|
|
140
|
+
_max?: ClosingTimesMaxAggregateInputType;
|
|
141
|
+
};
|
|
142
|
+
export type ClosingTimesGroupByOutputType = {
|
|
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: ClosingTimesCountAggregateOutputType | null;
|
|
152
|
+
_min: ClosingTimesMinAggregateOutputType | null;
|
|
153
|
+
_max: ClosingTimesMaxAggregateOutputType | null;
|
|
154
|
+
};
|
|
155
|
+
type GetClosingTimesGroupByPayload<T extends ClosingTimesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ClosingTimesGroupByOutputType, T['by']> & {
|
|
156
|
+
[P in ((keyof T) & (keyof ClosingTimesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ClosingTimesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ClosingTimesGroupByOutputType[P]>;
|
|
157
|
+
}>>;
|
|
158
|
+
export type ClosingTimesWhereInput = {
|
|
159
|
+
AND?: Prisma.ClosingTimesWhereInput | Prisma.ClosingTimesWhereInput[];
|
|
160
|
+
OR?: Prisma.ClosingTimesWhereInput[];
|
|
161
|
+
NOT?: Prisma.ClosingTimesWhereInput | Prisma.ClosingTimesWhereInput[];
|
|
162
|
+
id?: Prisma.StringFilter<"ClosingTimes"> | string;
|
|
163
|
+
monday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
164
|
+
tuesday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
165
|
+
wednesday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
166
|
+
thursday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
167
|
+
friday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
168
|
+
saturday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
169
|
+
sunday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
170
|
+
organizationConfiguration?: Prisma.XOR<Prisma.OrganizationConfigurationNullableScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput> | null;
|
|
171
|
+
};
|
|
172
|
+
export type ClosingTimesOrderByWithRelationInput = {
|
|
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 ClosingTimesWhereUniqueInput = Prisma.AtLeast<{
|
|
184
|
+
id?: string;
|
|
185
|
+
AND?: Prisma.ClosingTimesWhereInput | Prisma.ClosingTimesWhereInput[];
|
|
186
|
+
OR?: Prisma.ClosingTimesWhereInput[];
|
|
187
|
+
NOT?: Prisma.ClosingTimesWhereInput | Prisma.ClosingTimesWhereInput[];
|
|
188
|
+
monday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
189
|
+
tuesday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
190
|
+
wednesday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
191
|
+
thursday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
192
|
+
friday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
193
|
+
saturday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
194
|
+
sunday?: Prisma.DateTimeNullableFilter<"ClosingTimes"> | Date | string | null;
|
|
195
|
+
organizationConfiguration?: Prisma.XOR<Prisma.OrganizationConfigurationNullableScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput> | null;
|
|
196
|
+
}, "id">;
|
|
197
|
+
export type ClosingTimesOrderByWithAggregationInput = {
|
|
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.ClosingTimesCountOrderByAggregateInput;
|
|
207
|
+
_max?: Prisma.ClosingTimesMaxOrderByAggregateInput;
|
|
208
|
+
_min?: Prisma.ClosingTimesMinOrderByAggregateInput;
|
|
209
|
+
};
|
|
210
|
+
export type ClosingTimesScalarWhereWithAggregatesInput = {
|
|
211
|
+
AND?: Prisma.ClosingTimesScalarWhereWithAggregatesInput | Prisma.ClosingTimesScalarWhereWithAggregatesInput[];
|
|
212
|
+
OR?: Prisma.ClosingTimesScalarWhereWithAggregatesInput[];
|
|
213
|
+
NOT?: Prisma.ClosingTimesScalarWhereWithAggregatesInput | Prisma.ClosingTimesScalarWhereWithAggregatesInput[];
|
|
214
|
+
id?: Prisma.StringWithAggregatesFilter<"ClosingTimes"> | string;
|
|
215
|
+
monday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
216
|
+
tuesday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
217
|
+
wednesday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
218
|
+
thursday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
219
|
+
friday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
220
|
+
saturday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
221
|
+
sunday?: Prisma.DateTimeNullableWithAggregatesFilter<"ClosingTimes"> | Date | string | null;
|
|
222
|
+
};
|
|
223
|
+
export type ClosingTimesCreateInput = {
|
|
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.OrganizationConfigurationCreateNestedOneWithoutClosingTimesInput;
|
|
233
|
+
};
|
|
234
|
+
export type ClosingTimesUncheckedCreateInput = {
|
|
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.OrganizationConfigurationUncheckedCreateNestedOneWithoutClosingTimesInput;
|
|
244
|
+
};
|
|
245
|
+
export type ClosingTimesUpdateInput = {
|
|
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.OrganizationConfigurationUpdateOneWithoutClosingTimesNestedInput;
|
|
255
|
+
};
|
|
256
|
+
export type ClosingTimesUncheckedUpdateInput = {
|
|
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.OrganizationConfigurationUncheckedUpdateOneWithoutClosingTimesNestedInput;
|
|
266
|
+
};
|
|
267
|
+
export type ClosingTimesCreateManyInput = {
|
|
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 ClosingTimesUpdateManyMutationInput = {
|
|
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 ClosingTimesUncheckedUpdateManyInput = {
|
|
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 ClosingTimesCountOrderByAggregateInput = {
|
|
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 ClosingTimesMaxOrderByAggregateInput = {
|
|
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 ClosingTimesMinOrderByAggregateInput = {
|
|
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 ClosingTimesNullableScalarRelationFilter = {
|
|
328
|
+
is?: Prisma.ClosingTimesWhereInput | null;
|
|
329
|
+
isNot?: Prisma.ClosingTimesWhereInput | null;
|
|
330
|
+
};
|
|
331
|
+
export type ClosingTimesCreateNestedOneWithoutOrganizationConfigurationInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.ClosingTimesCreateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
333
|
+
connectOrCreate?: Prisma.ClosingTimesCreateOrConnectWithoutOrganizationConfigurationInput;
|
|
334
|
+
connect?: Prisma.ClosingTimesWhereUniqueInput;
|
|
335
|
+
};
|
|
336
|
+
export type ClosingTimesUpdateOneWithoutOrganizationConfigurationNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.ClosingTimesCreateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
338
|
+
connectOrCreate?: Prisma.ClosingTimesCreateOrConnectWithoutOrganizationConfigurationInput;
|
|
339
|
+
upsert?: Prisma.ClosingTimesUpsertWithoutOrganizationConfigurationInput;
|
|
340
|
+
disconnect?: Prisma.ClosingTimesWhereInput | boolean;
|
|
341
|
+
delete?: Prisma.ClosingTimesWhereInput | boolean;
|
|
342
|
+
connect?: Prisma.ClosingTimesWhereUniqueInput;
|
|
343
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ClosingTimesUpdateToOneWithWhereWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUpdateWithoutOrganizationConfigurationInput>, Prisma.ClosingTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
344
|
+
};
|
|
345
|
+
export type ClosingTimesCreateWithoutOrganizationConfigurationInput = {
|
|
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 ClosingTimesUncheckedCreateWithoutOrganizationConfigurationInput = {
|
|
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 ClosingTimesCreateOrConnectWithoutOrganizationConfigurationInput = {
|
|
366
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
367
|
+
create: Prisma.XOR<Prisma.ClosingTimesCreateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
368
|
+
};
|
|
369
|
+
export type ClosingTimesUpsertWithoutOrganizationConfigurationInput = {
|
|
370
|
+
update: Prisma.XOR<Prisma.ClosingTimesUpdateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
371
|
+
create: Prisma.XOR<Prisma.ClosingTimesCreateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedCreateWithoutOrganizationConfigurationInput>;
|
|
372
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
373
|
+
};
|
|
374
|
+
export type ClosingTimesUpdateToOneWithWhereWithoutOrganizationConfigurationInput = {
|
|
375
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
376
|
+
data: Prisma.XOR<Prisma.ClosingTimesUpdateWithoutOrganizationConfigurationInput, Prisma.ClosingTimesUncheckedUpdateWithoutOrganizationConfigurationInput>;
|
|
377
|
+
};
|
|
378
|
+
export type ClosingTimesUpdateWithoutOrganizationConfigurationInput = {
|
|
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 ClosingTimesUncheckedUpdateWithoutOrganizationConfigurationInput = {
|
|
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 ClosingTimesSelect<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.ClosingTimes$organizationConfigurationArgs<ExtArgs>;
|
|
408
|
+
}, ExtArgs["result"]["closingTimes"]>;
|
|
409
|
+
export type ClosingTimesSelectCreateManyAndReturn<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"]["closingTimes"]>;
|
|
419
|
+
export type ClosingTimesSelectUpdateManyAndReturn<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"]["closingTimes"]>;
|
|
429
|
+
export type ClosingTimesSelectScalar = {
|
|
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 ClosingTimesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday", ExtArgs["result"]["closingTimes"]>;
|
|
440
|
+
export type ClosingTimesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
organizationConfiguration?: boolean | Prisma.ClosingTimes$organizationConfigurationArgs<ExtArgs>;
|
|
442
|
+
};
|
|
443
|
+
export type ClosingTimesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
444
|
+
export type ClosingTimesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
445
|
+
export type $ClosingTimesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
446
|
+
name: "ClosingTimes";
|
|
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"]["closingTimes"]>;
|
|
460
|
+
composites: {};
|
|
461
|
+
};
|
|
462
|
+
export type ClosingTimesGetPayload<S extends boolean | null | undefined | ClosingTimesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload, S>;
|
|
463
|
+
export type ClosingTimesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ClosingTimesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
464
|
+
select?: ClosingTimesCountAggregateInputType | true;
|
|
465
|
+
};
|
|
466
|
+
export interface ClosingTimesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
467
|
+
[K: symbol]: {
|
|
468
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ClosingTimes'];
|
|
469
|
+
meta: {
|
|
470
|
+
name: 'ClosingTimes';
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Find zero or one ClosingTimes that matches the filter.
|
|
475
|
+
* @param {ClosingTimesFindUniqueArgs} args - Arguments to find a ClosingTimes
|
|
476
|
+
* @example
|
|
477
|
+
* // Get one ClosingTimes
|
|
478
|
+
* const closingTimes = await prisma.closingTimes.findUnique({
|
|
479
|
+
* where: {
|
|
480
|
+
* // ... provide filter here
|
|
481
|
+
* }
|
|
482
|
+
* })
|
|
483
|
+
*/
|
|
484
|
+
findUnique<T extends ClosingTimesFindUniqueArgs>(args: Prisma.SelectSubset<T, ClosingTimesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
485
|
+
/**
|
|
486
|
+
* Find one ClosingTimes that matches the filter or throw an error with `error.code='P2025'`
|
|
487
|
+
* if no matches were found.
|
|
488
|
+
* @param {ClosingTimesFindUniqueOrThrowArgs} args - Arguments to find a ClosingTimes
|
|
489
|
+
* @example
|
|
490
|
+
* // Get one ClosingTimes
|
|
491
|
+
* const closingTimes = await prisma.closingTimes.findUniqueOrThrow({
|
|
492
|
+
* where: {
|
|
493
|
+
* // ... provide filter here
|
|
494
|
+
* }
|
|
495
|
+
* })
|
|
496
|
+
*/
|
|
497
|
+
findUniqueOrThrow<T extends ClosingTimesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ClosingTimesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
498
|
+
/**
|
|
499
|
+
* Find the first ClosingTimes 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 {ClosingTimesFindFirstArgs} args - Arguments to find a ClosingTimes
|
|
503
|
+
* @example
|
|
504
|
+
* // Get one ClosingTimes
|
|
505
|
+
* const closingTimes = await prisma.closingTimes.findFirst({
|
|
506
|
+
* where: {
|
|
507
|
+
* // ... provide filter here
|
|
508
|
+
* }
|
|
509
|
+
* })
|
|
510
|
+
*/
|
|
511
|
+
findFirst<T extends ClosingTimesFindFirstArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindFirstArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
512
|
+
/**
|
|
513
|
+
* Find the first ClosingTimes 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 {ClosingTimesFindFirstOrThrowArgs} args - Arguments to find a ClosingTimes
|
|
518
|
+
* @example
|
|
519
|
+
* // Get one ClosingTimes
|
|
520
|
+
* const closingTimes = await prisma.closingTimes.findFirstOrThrow({
|
|
521
|
+
* where: {
|
|
522
|
+
* // ... provide filter here
|
|
523
|
+
* }
|
|
524
|
+
* })
|
|
525
|
+
*/
|
|
526
|
+
findFirstOrThrow<T extends ClosingTimesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
527
|
+
/**
|
|
528
|
+
* Find zero or more ClosingTimes 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 {ClosingTimesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
532
|
+
* @example
|
|
533
|
+
* // Get all ClosingTimes
|
|
534
|
+
* const closingTimes = await prisma.closingTimes.findMany()
|
|
535
|
+
*
|
|
536
|
+
* // Get first 10 ClosingTimes
|
|
537
|
+
* const closingTimes = await prisma.closingTimes.findMany({ take: 10 })
|
|
538
|
+
*
|
|
539
|
+
* // Only select the `id`
|
|
540
|
+
* const closingTimesWithIdOnly = await prisma.closingTimes.findMany({ select: { id: true } })
|
|
541
|
+
*
|
|
542
|
+
*/
|
|
543
|
+
findMany<T extends ClosingTimesFindManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
544
|
+
/**
|
|
545
|
+
* Create a ClosingTimes.
|
|
546
|
+
* @param {ClosingTimesCreateArgs} args - Arguments to create a ClosingTimes.
|
|
547
|
+
* @example
|
|
548
|
+
* // Create one ClosingTimes
|
|
549
|
+
* const ClosingTimes = await prisma.closingTimes.create({
|
|
550
|
+
* data: {
|
|
551
|
+
* // ... data to create a ClosingTimes
|
|
552
|
+
* }
|
|
553
|
+
* })
|
|
554
|
+
*
|
|
555
|
+
*/
|
|
556
|
+
create<T extends ClosingTimesCreateArgs>(args: Prisma.SelectSubset<T, ClosingTimesCreateArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
557
|
+
/**
|
|
558
|
+
* Create many ClosingTimes.
|
|
559
|
+
* @param {ClosingTimesCreateManyArgs} args - Arguments to create many ClosingTimes.
|
|
560
|
+
* @example
|
|
561
|
+
* // Create many ClosingTimes
|
|
562
|
+
* const closingTimes = await prisma.closingTimes.createMany({
|
|
563
|
+
* data: [
|
|
564
|
+
* // ... provide data here
|
|
565
|
+
* ]
|
|
566
|
+
* })
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
569
|
+
createMany<T extends ClosingTimesCreateManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
570
|
+
/**
|
|
571
|
+
* Create many ClosingTimes and returns the data saved in the database.
|
|
572
|
+
* @param {ClosingTimesCreateManyAndReturnArgs} args - Arguments to create many ClosingTimes.
|
|
573
|
+
* @example
|
|
574
|
+
* // Create many ClosingTimes
|
|
575
|
+
* const closingTimes = await prisma.closingTimes.createManyAndReturn({
|
|
576
|
+
* data: [
|
|
577
|
+
* // ... provide data here
|
|
578
|
+
* ]
|
|
579
|
+
* })
|
|
580
|
+
*
|
|
581
|
+
* // Create many ClosingTimes and only return the `id`
|
|
582
|
+
* const closingTimesWithIdOnly = await prisma.closingTimes.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 ClosingTimesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ClosingTimesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
593
|
+
/**
|
|
594
|
+
* Delete a ClosingTimes.
|
|
595
|
+
* @param {ClosingTimesDeleteArgs} args - Arguments to delete one ClosingTimes.
|
|
596
|
+
* @example
|
|
597
|
+
* // Delete one ClosingTimes
|
|
598
|
+
* const ClosingTimes = await prisma.closingTimes.delete({
|
|
599
|
+
* where: {
|
|
600
|
+
* // ... filter to delete one ClosingTimes
|
|
601
|
+
* }
|
|
602
|
+
* })
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
delete<T extends ClosingTimesDeleteArgs>(args: Prisma.SelectSubset<T, ClosingTimesDeleteArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
606
|
+
/**
|
|
607
|
+
* Update one ClosingTimes.
|
|
608
|
+
* @param {ClosingTimesUpdateArgs} args - Arguments to update one ClosingTimes.
|
|
609
|
+
* @example
|
|
610
|
+
* // Update one ClosingTimes
|
|
611
|
+
* const closingTimes = await prisma.closingTimes.update({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* },
|
|
615
|
+
* data: {
|
|
616
|
+
* // ... provide data here
|
|
617
|
+
* }
|
|
618
|
+
* })
|
|
619
|
+
*
|
|
620
|
+
*/
|
|
621
|
+
update<T extends ClosingTimesUpdateArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
622
|
+
/**
|
|
623
|
+
* Delete zero or more ClosingTimes.
|
|
624
|
+
* @param {ClosingTimesDeleteManyArgs} args - Arguments to filter ClosingTimes to delete.
|
|
625
|
+
* @example
|
|
626
|
+
* // Delete a few ClosingTimes
|
|
627
|
+
* const { count } = await prisma.closingTimes.deleteMany({
|
|
628
|
+
* where: {
|
|
629
|
+
* // ... provide filter here
|
|
630
|
+
* }
|
|
631
|
+
* })
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
deleteMany<T extends ClosingTimesDeleteManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
635
|
+
/**
|
|
636
|
+
* Update zero or more ClosingTimes.
|
|
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 {ClosingTimesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
640
|
+
* @example
|
|
641
|
+
* // Update many ClosingTimes
|
|
642
|
+
* const closingTimes = await prisma.closingTimes.updateMany({
|
|
643
|
+
* where: {
|
|
644
|
+
* // ... provide filter here
|
|
645
|
+
* },
|
|
646
|
+
* data: {
|
|
647
|
+
* // ... provide data here
|
|
648
|
+
* }
|
|
649
|
+
* })
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
updateMany<T extends ClosingTimesUpdateManyArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
653
|
+
/**
|
|
654
|
+
* Update zero or more ClosingTimes and returns the data updated in the database.
|
|
655
|
+
* @param {ClosingTimesUpdateManyAndReturnArgs} args - Arguments to update many ClosingTimes.
|
|
656
|
+
* @example
|
|
657
|
+
* // Update many ClosingTimes
|
|
658
|
+
* const closingTimes = await prisma.closingTimes.updateManyAndReturn({
|
|
659
|
+
* where: {
|
|
660
|
+
* // ... provide filter here
|
|
661
|
+
* },
|
|
662
|
+
* data: [
|
|
663
|
+
* // ... provide data here
|
|
664
|
+
* ]
|
|
665
|
+
* })
|
|
666
|
+
*
|
|
667
|
+
* // Update zero or more ClosingTimes and only return the `id`
|
|
668
|
+
* const closingTimesWithIdOnly = await prisma.closingTimes.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 ClosingTimesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
682
|
+
/**
|
|
683
|
+
* Create or update one ClosingTimes.
|
|
684
|
+
* @param {ClosingTimesUpsertArgs} args - Arguments to update or create a ClosingTimes.
|
|
685
|
+
* @example
|
|
686
|
+
* // Update or create a ClosingTimes
|
|
687
|
+
* const closingTimes = await prisma.closingTimes.upsert({
|
|
688
|
+
* create: {
|
|
689
|
+
* // ... data to create a ClosingTimes
|
|
690
|
+
* },
|
|
691
|
+
* update: {
|
|
692
|
+
* // ... in case it already exists, update
|
|
693
|
+
* },
|
|
694
|
+
* where: {
|
|
695
|
+
* // ... the filter for the ClosingTimes we want to update
|
|
696
|
+
* }
|
|
697
|
+
* })
|
|
698
|
+
*/
|
|
699
|
+
upsert<T extends ClosingTimesUpsertArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpsertArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
700
|
+
/**
|
|
701
|
+
* Count the number of ClosingTimes.
|
|
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 {ClosingTimesCountArgs} args - Arguments to filter ClosingTimes to count.
|
|
705
|
+
* @example
|
|
706
|
+
* // Count the number of ClosingTimes
|
|
707
|
+
* const count = await prisma.closingTimes.count({
|
|
708
|
+
* where: {
|
|
709
|
+
* // ... the filter for the ClosingTimes we want to count
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
**/
|
|
713
|
+
count<T extends ClosingTimesCountArgs>(args?: Prisma.Subset<T, ClosingTimesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ClosingTimesCountAggregateOutputType> : number>;
|
|
714
|
+
/**
|
|
715
|
+
* Allows you to perform aggregations operations on a ClosingTimes.
|
|
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 {ClosingTimesAggregateArgs} 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 ClosingTimesAggregateArgs>(args: Prisma.Subset<T, ClosingTimesAggregateArgs>): Prisma.PrismaPromise<GetClosingTimesAggregateType<T>>;
|
|
739
|
+
/**
|
|
740
|
+
* Group by ClosingTimes.
|
|
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 {ClosingTimesGroupByArgs} 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 ClosingTimesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
758
|
+
orderBy: ClosingTimesGroupByArgs['orderBy'];
|
|
759
|
+
} : {
|
|
760
|
+
orderBy?: ClosingTimesGroupByArgs['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, ClosingTimesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClosingTimesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
775
|
+
/**
|
|
776
|
+
* Fields of the ClosingTimes model
|
|
777
|
+
*/
|
|
778
|
+
readonly fields: ClosingTimesFieldRefs;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* The delegate class that acts as a "Promise-like" for ClosingTimes.
|
|
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__ClosingTimesClient<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.ClosingTimes$organizationConfigurationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ClosingTimes$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 ClosingTimes model
|
|
812
|
+
*/
|
|
813
|
+
export interface ClosingTimesFieldRefs {
|
|
814
|
+
readonly id: Prisma.FieldRef<"ClosingTimes", 'String'>;
|
|
815
|
+
readonly monday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
816
|
+
readonly tuesday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
817
|
+
readonly wednesday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
818
|
+
readonly thursday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
819
|
+
readonly friday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
820
|
+
readonly saturday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
821
|
+
readonly sunday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* ClosingTimes findUnique
|
|
825
|
+
*/
|
|
826
|
+
export type ClosingTimesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
827
|
+
/**
|
|
828
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
829
|
+
*/
|
|
830
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
831
|
+
/**
|
|
832
|
+
* Omit specific fields from the ClosingTimes
|
|
833
|
+
*/
|
|
834
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
835
|
+
/**
|
|
836
|
+
* Choose, which related nodes to fetch as well
|
|
837
|
+
*/
|
|
838
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
839
|
+
/**
|
|
840
|
+
* Filter, which ClosingTimes to fetch.
|
|
841
|
+
*/
|
|
842
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* ClosingTimes findUniqueOrThrow
|
|
846
|
+
*/
|
|
847
|
+
export type ClosingTimesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
848
|
+
/**
|
|
849
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
850
|
+
*/
|
|
851
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
852
|
+
/**
|
|
853
|
+
* Omit specific fields from the ClosingTimes
|
|
854
|
+
*/
|
|
855
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
856
|
+
/**
|
|
857
|
+
* Choose, which related nodes to fetch as well
|
|
858
|
+
*/
|
|
859
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
860
|
+
/**
|
|
861
|
+
* Filter, which ClosingTimes to fetch.
|
|
862
|
+
*/
|
|
863
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* ClosingTimes findFirst
|
|
867
|
+
*/
|
|
868
|
+
export type ClosingTimesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
869
|
+
/**
|
|
870
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
871
|
+
*/
|
|
872
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
873
|
+
/**
|
|
874
|
+
* Omit specific fields from the ClosingTimes
|
|
875
|
+
*/
|
|
876
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
877
|
+
/**
|
|
878
|
+
* Choose, which related nodes to fetch as well
|
|
879
|
+
*/
|
|
880
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
881
|
+
/**
|
|
882
|
+
* Filter, which ClosingTimes to fetch.
|
|
883
|
+
*/
|
|
884
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
887
|
+
*
|
|
888
|
+
* Determine the order of ClosingTimes to fetch.
|
|
889
|
+
*/
|
|
890
|
+
orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
|
|
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 ClosingTimes.
|
|
895
|
+
*/
|
|
896
|
+
cursor?: Prisma.ClosingTimesWhereUniqueInput;
|
|
897
|
+
/**
|
|
898
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
899
|
+
*
|
|
900
|
+
* Take `±n` ClosingTimes 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` ClosingTimes.
|
|
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 ClosingTimes.
|
|
913
|
+
*/
|
|
914
|
+
distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
|
|
915
|
+
};
|
|
916
|
+
/**
|
|
917
|
+
* ClosingTimes findFirstOrThrow
|
|
918
|
+
*/
|
|
919
|
+
export type ClosingTimesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
920
|
+
/**
|
|
921
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
922
|
+
*/
|
|
923
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
924
|
+
/**
|
|
925
|
+
* Omit specific fields from the ClosingTimes
|
|
926
|
+
*/
|
|
927
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
928
|
+
/**
|
|
929
|
+
* Choose, which related nodes to fetch as well
|
|
930
|
+
*/
|
|
931
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
932
|
+
/**
|
|
933
|
+
* Filter, which ClosingTimes to fetch.
|
|
934
|
+
*/
|
|
935
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
936
|
+
/**
|
|
937
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
938
|
+
*
|
|
939
|
+
* Determine the order of ClosingTimes to fetch.
|
|
940
|
+
*/
|
|
941
|
+
orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
|
|
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 ClosingTimes.
|
|
946
|
+
*/
|
|
947
|
+
cursor?: Prisma.ClosingTimesWhereUniqueInput;
|
|
948
|
+
/**
|
|
949
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
950
|
+
*
|
|
951
|
+
* Take `±n` ClosingTimes 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` ClosingTimes.
|
|
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 ClosingTimes.
|
|
964
|
+
*/
|
|
965
|
+
distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* ClosingTimes findMany
|
|
969
|
+
*/
|
|
970
|
+
export type ClosingTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
/**
|
|
972
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
973
|
+
*/
|
|
974
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
975
|
+
/**
|
|
976
|
+
* Omit specific fields from the ClosingTimes
|
|
977
|
+
*/
|
|
978
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
979
|
+
/**
|
|
980
|
+
* Choose, which related nodes to fetch as well
|
|
981
|
+
*/
|
|
982
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
983
|
+
/**
|
|
984
|
+
* Filter, which ClosingTimes to fetch.
|
|
985
|
+
*/
|
|
986
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
989
|
+
*
|
|
990
|
+
* Determine the order of ClosingTimes to fetch.
|
|
991
|
+
*/
|
|
992
|
+
orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
|
|
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 ClosingTimes.
|
|
997
|
+
*/
|
|
998
|
+
cursor?: Prisma.ClosingTimesWhereUniqueInput;
|
|
999
|
+
/**
|
|
1000
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1001
|
+
*
|
|
1002
|
+
* Take `±n` ClosingTimes 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` ClosingTimes.
|
|
1009
|
+
*/
|
|
1010
|
+
skip?: number;
|
|
1011
|
+
distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* ClosingTimes create
|
|
1015
|
+
*/
|
|
1016
|
+
export type ClosingTimesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1017
|
+
/**
|
|
1018
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1019
|
+
*/
|
|
1020
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Omit specific fields from the ClosingTimes
|
|
1023
|
+
*/
|
|
1024
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Choose, which related nodes to fetch as well
|
|
1027
|
+
*/
|
|
1028
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1029
|
+
/**
|
|
1030
|
+
* The data needed to create a ClosingTimes.
|
|
1031
|
+
*/
|
|
1032
|
+
data?: Prisma.XOR<Prisma.ClosingTimesCreateInput, Prisma.ClosingTimesUncheckedCreateInput>;
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* ClosingTimes createMany
|
|
1036
|
+
*/
|
|
1037
|
+
export type ClosingTimesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
+
/**
|
|
1039
|
+
* The data used to create many ClosingTimes.
|
|
1040
|
+
*/
|
|
1041
|
+
data: Prisma.ClosingTimesCreateManyInput | Prisma.ClosingTimesCreateManyInput[];
|
|
1042
|
+
skipDuplicates?: boolean;
|
|
1043
|
+
};
|
|
1044
|
+
/**
|
|
1045
|
+
* ClosingTimes createManyAndReturn
|
|
1046
|
+
*/
|
|
1047
|
+
export type ClosingTimesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1048
|
+
/**
|
|
1049
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1050
|
+
*/
|
|
1051
|
+
select?: Prisma.ClosingTimesSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* Omit specific fields from the ClosingTimes
|
|
1054
|
+
*/
|
|
1055
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1056
|
+
/**
|
|
1057
|
+
* The data used to create many ClosingTimes.
|
|
1058
|
+
*/
|
|
1059
|
+
data: Prisma.ClosingTimesCreateManyInput | Prisma.ClosingTimesCreateManyInput[];
|
|
1060
|
+
skipDuplicates?: boolean;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* ClosingTimes update
|
|
1064
|
+
*/
|
|
1065
|
+
export type ClosingTimesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the ClosingTimes
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* The data needed to update a ClosingTimes.
|
|
1080
|
+
*/
|
|
1081
|
+
data: Prisma.XOR<Prisma.ClosingTimesUpdateInput, Prisma.ClosingTimesUncheckedUpdateInput>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Choose, which ClosingTimes to update.
|
|
1084
|
+
*/
|
|
1085
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* ClosingTimes updateMany
|
|
1089
|
+
*/
|
|
1090
|
+
export type ClosingTimesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* The data used to update ClosingTimes.
|
|
1093
|
+
*/
|
|
1094
|
+
data: Prisma.XOR<Prisma.ClosingTimesUpdateManyMutationInput, Prisma.ClosingTimesUncheckedUpdateManyInput>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter which ClosingTimes to update
|
|
1097
|
+
*/
|
|
1098
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* Limit how many ClosingTimes to update.
|
|
1101
|
+
*/
|
|
1102
|
+
limit?: number;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* ClosingTimes updateManyAndReturn
|
|
1106
|
+
*/
|
|
1107
|
+
export type ClosingTimesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1110
|
+
*/
|
|
1111
|
+
select?: Prisma.ClosingTimesSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Omit specific fields from the ClosingTimes
|
|
1114
|
+
*/
|
|
1115
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The data used to update ClosingTimes.
|
|
1118
|
+
*/
|
|
1119
|
+
data: Prisma.XOR<Prisma.ClosingTimesUpdateManyMutationInput, Prisma.ClosingTimesUncheckedUpdateManyInput>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter which ClosingTimes to update
|
|
1122
|
+
*/
|
|
1123
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
1124
|
+
/**
|
|
1125
|
+
* Limit how many ClosingTimes to update.
|
|
1126
|
+
*/
|
|
1127
|
+
limit?: number;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* ClosingTimes upsert
|
|
1131
|
+
*/
|
|
1132
|
+
export type ClosingTimesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1135
|
+
*/
|
|
1136
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Omit specific fields from the ClosingTimes
|
|
1139
|
+
*/
|
|
1140
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* Choose, which related nodes to fetch as well
|
|
1143
|
+
*/
|
|
1144
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* The filter to search for the ClosingTimes to update in case it exists.
|
|
1147
|
+
*/
|
|
1148
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
1149
|
+
/**
|
|
1150
|
+
* In case the ClosingTimes found by the `where` argument doesn't exist, create a new ClosingTimes with this data.
|
|
1151
|
+
*/
|
|
1152
|
+
create: Prisma.XOR<Prisma.ClosingTimesCreateInput, Prisma.ClosingTimesUncheckedCreateInput>;
|
|
1153
|
+
/**
|
|
1154
|
+
* In case the ClosingTimes was found with the provided `where` argument, update it with this data.
|
|
1155
|
+
*/
|
|
1156
|
+
update: Prisma.XOR<Prisma.ClosingTimesUpdateInput, Prisma.ClosingTimesUncheckedUpdateInput>;
|
|
1157
|
+
};
|
|
1158
|
+
/**
|
|
1159
|
+
* ClosingTimes delete
|
|
1160
|
+
*/
|
|
1161
|
+
export type ClosingTimesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1164
|
+
*/
|
|
1165
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* Omit specific fields from the ClosingTimes
|
|
1168
|
+
*/
|
|
1169
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Choose, which related nodes to fetch as well
|
|
1172
|
+
*/
|
|
1173
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter which ClosingTimes to delete.
|
|
1176
|
+
*/
|
|
1177
|
+
where: Prisma.ClosingTimesWhereUniqueInput;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* ClosingTimes deleteMany
|
|
1181
|
+
*/
|
|
1182
|
+
export type ClosingTimesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Filter which ClosingTimes to delete
|
|
1185
|
+
*/
|
|
1186
|
+
where?: Prisma.ClosingTimesWhereInput;
|
|
1187
|
+
/**
|
|
1188
|
+
* Limit how many ClosingTimes to delete.
|
|
1189
|
+
*/
|
|
1190
|
+
limit?: number;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* ClosingTimes.organizationConfiguration
|
|
1194
|
+
*/
|
|
1195
|
+
export type ClosingTimes$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
|
+
* ClosingTimes without action
|
|
1212
|
+
*/
|
|
1213
|
+
export type ClosingTimesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the ClosingTimes
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1226
|
+
};
|
|
1227
|
+
export {};
|