@shophost/rest-api 0.1.21 → 2.0.1
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/README.md +8 -2
- package/global.d.ts +1 -1
- package/package.json +11 -17
- package/src/app.d.ts +16 -0
- package/src/app.js +52 -0
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.d.ts +11 -0
- package/src/{schemas → core/auth}/auth.schema.js +10 -8
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/{utils → core/auth}/auth.util.d.ts +1 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/{lib → core/auth}/better-auth.lib.d.ts +1 -1
- package/src/{lib → core/auth}/better-auth.lib.js +1 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.d.ts +5 -0
- package/src/{schemas → core/auth}/headers.schema.js +10 -3
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.d.ts +10 -0
- package/src/{schemas → core/auth}/user.schema.js +1 -3
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +164 -0
- package/src/core/db/__generated__/client/browser.js +18 -0
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +183 -0
- package/src/core/db/__generated__/client/client.js +35 -0
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/commonInputTypes.d.ts +1 -6
- package/src/{db → core/db}/__generated__/client/commonInputTypes.js +2 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/enums.d.ts +0 -5
- package/src/{db → core/db}/__generated__/client/enums.js +2 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/internal/class.d.ts +117 -60
- package/src/core/db/__generated__/client/internal/class.js +55 -0
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/internal/prismaNamespace.d.ts +62 -125
- package/src/{db → core/db}/__generated__/client/internal/prismaNamespace.js +13 -16
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +535 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Account.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Address.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Campaign.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ClosingTimes.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/File.d.ts +1 -6
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Invitation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/LegalEntity.d.ts +1 -6
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Manufacturer.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ManufacturerTranslation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Member.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Modifier.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ModifierGroup.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ModifierGroupTranslation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/OpeningTimes.d.ts +1 -6
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Order.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/OrderItem.d.ts +1 -6
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/OrderItemTranslation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Organization.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/OrganizationConfiguration.d.ts +1 -6
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Payment.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/PaymentSession.d.ts +1 -6
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Product.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ProductCategory.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ProductCategoryTranslation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ProductSnapshot.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ProductTranslation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Reservation.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Session.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ShippingMethod.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/ShippingZone.d.ts +1 -6
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/User.d.ts +1 -6
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models/Verification.d.ts +1 -6
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/{db → core/db}/__generated__/client/models.d.ts +0 -5
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.d.ts +1 -0
- package/src/core/db/index.js +2 -0
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.d.ts +34 -0
- package/src/core/hono/hono.js +123 -0
- package/src/core/hono/hono.js.map +1 -0
- package/src/{lib → core/lib}/prisma.d.ts +333 -340
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js.map +1 -0
- package/src/{services → core/notifications}/email.service.d.ts +1 -1
- package/src/{services → core/notifications}/email.service.js +5 -5
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.d.ts +14 -0
- package/src/core/openapi/openapi.lib.js +26 -0
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/{utils → core/utils}/env.util.js +1 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/{utils → core/utils}/zod.util.d.ts +1 -1
- package/src/{utils → core/utils}/zod.util.js +1 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/features/cart/cart.handler.d.ts +2 -0
- package/src/features/cart/cart.handler.js +17 -0
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.d.ts +3 -0
- package/src/features/cart/cart.route.js +32 -0
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.d.ts +180 -0
- package/src/{schemas → features/cart}/cart.schema.js +2 -4
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/{services → features/cart}/cart.service.d.ts +6 -6
- package/src/{services → features/cart}/cart.service.js +2 -2
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/{utils → features/cart}/cart.util.d.ts +3 -3
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.d.ts +2 -0
- package/src/features/file/file.handler.js +23 -0
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.d.ts +4 -0
- package/src/features/file/file.route.js +34 -0
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.d.ts +37 -0
- package/src/{schemas → features/file}/file.schema.js +1 -3
- package/src/features/file/file.schema.js.map +1 -0
- package/src/{services → features/file}/file.service.d.ts +4 -4
- package/src/{services → features/file}/file.service.js +2 -2
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.d.ts +1 -0
- package/src/features/health/health.handler.js +10 -0
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.d.ts +3 -0
- package/src/features/health/health.route.js +25 -0
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.d.ts +14 -0
- package/src/features/index.js +15 -0
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.d.ts +7 -0
- package/src/features/location/location.handler.js +25 -0
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.d.ts +4 -0
- package/src/features/location/location.route.js +56 -0
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.d.ts +17 -0
- package/src/{schemas → features/location}/location.schema.js +1 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.d.ts +2 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -0
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.d.ts +7 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -0
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.d.ts +66 -0
- package/src/{schemas → features/manufacturer}/manufacturer.schema.js +3 -5
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/{services → features/manufacturer}/manufacturer.service.d.ts +29 -29
- package/src/{services → features/manufacturer}/manufacturer.service.js +4 -4
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/{emails/order-confirmation-email.d.ts → features/order/emails/order-confirmation.email.d.ts} +1 -1
- package/src/{emails/order-confirmation-email.js → features/order/emails/order-confirmation.email.js} +1 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/{emails/order-notification-email.d.ts → features/order/emails/order-notification.email.d.ts} +1 -1
- package/src/{emails/order-notification-email.js → features/order/emails/order-notification.email.js} +1 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.d.ts +5 -0
- package/src/features/order/fulfilment.schema.js +3 -0
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.d.ts +3 -0
- package/src/features/order/order.handler.js +54 -0
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.d.ts +7 -0
- package/src/features/order/order.route.js +111 -0
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.d.ts +697 -0
- package/src/{schemas → features/order}/order.schema.js +8 -10
- package/src/features/order/order.schema.js.map +1 -0
- package/src/{services → features/order}/order.service.d.ts +64 -64
- package/src/{services → features/order}/order.service.js +5 -5
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.d.ts +54 -0
- package/src/{schemas → features/order}/recipient.schema.js +2 -4
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.d.ts +56 -0
- package/src/{schemas → features/organization}/legal-entity.schema.js +2 -4
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.d.ts +601 -0
- package/src/{schemas → features/organization}/organization-configuration.schema.js +3 -5
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.d.ts +2 -0
- package/src/features/organization/organization.handler.js +48 -0
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.d.ts +7 -0
- package/src/features/organization/organization.route.js +84 -0
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.d.ts +669 -0
- package/src/{schemas → features/organization}/organization.schema.js +4 -6
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/{services → features/organization}/organization.service.d.ts +19 -19
- package/src/{services → features/organization}/organization.service.js +8 -7
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.d.ts +3 -0
- package/src/features/payment/payment.handler.js +16 -0
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.d.ts +3 -0
- package/src/features/payment/payment.route.js +22 -0
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.d.ts +100 -0
- package/src/{schemas → features/payment}/payment.schema.js +2 -4
- package/src/{schemas → features/payment}/payment.schema.js.map +1 -1
- package/src/{services → features/payment}/payment.service.d.ts +4 -4
- package/src/{services → features/payment}/payment.service.js +1 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/{services → features/payment}/stripe.service.d.ts +3 -3
- package/src/{services → features/payment}/stripe.service.js +3 -3
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.d.ts +621 -0
- package/src/{schemas → features/product}/product-modifier.schema.js +3 -5
- package/src/{schemas → features/product}/product-modifier.schema.js.map +1 -1
- package/src/features/product/product.handler.d.ts +2 -0
- package/src/features/product/product.handler.js +87 -0
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.d.ts +9 -0
- package/src/features/product/product.route.js +179 -0
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.d.ts +1316 -0
- package/src/{schemas → features/product}/product.schema.js +6 -8
- package/src/features/product/product.schema.js.map +1 -0
- package/src/{services → features/product}/product.service.d.ts +129 -129
- package/src/{services → features/product}/product.service.js +4 -4
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.d.ts +2 -0
- package/src/features/product-category/product-category.handler.js +59 -0
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.d.ts +8 -0
- package/src/features/product-category/product-category.route.js +139 -0
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.d.ts +72 -0
- package/src/{schemas → features/product-category}/product-category.schema.js +3 -5
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/{services → features/product-category}/product-category.service.d.ts +25 -25
- package/src/{services → features/product-category}/product-category.service.js +4 -4
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/{emails/reservation-cancellation-email.d.ts → features/reservation/emails/reservation-cancellation.email.d.ts} +1 -1
- package/src/{emails/reservation-cancellation-email.js → features/reservation/emails/reservation-cancellation.email.js} +1 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/{emails/reservation-confirmation-email.d.ts → features/reservation/emails/reservation-confirmation.email.d.ts} +1 -1
- package/src/{emails/reservation-confirmation-email.js → features/reservation/emails/reservation-confirmation.email.js} +1 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/{emails/reservation-notification-email.d.ts → features/reservation/emails/reservation-notification.email.d.ts} +1 -1
- package/src/{emails/reservation-notification-email.js → features/reservation/emails/reservation-notification.email.js} +1 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.d.ts +2 -0
- package/src/features/reservation/reservation.handler.js +65 -0
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.d.ts +8 -0
- package/src/features/reservation/reservation.route.js +167 -0
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.d.ts +22 -0
- package/src/{schemas → features/reservation}/reservation.schema.js +2 -4
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/{services → features/reservation}/reservation.service.d.ts +18 -18
- package/src/{services → features/reservation}/reservation.service.js +4 -4
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.d.ts +2 -0
- package/src/features/shipping/shipping.handler.js +32 -0
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.d.ts +5 -0
- package/src/features/shipping/shipping.route.js +51 -0
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/{services → features/shipping}/shipping.service.d.ts +11 -11
- package/src/{services → features/shipping}/shipping.service.js +3 -3
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.d.ts +2 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -0
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.d.ts +8 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -0
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.d.ts +77 -0
- package/src/{schemas → features/shipping-method}/shipping-method.schema.js +2 -4
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/{services → features/shipping-method}/shipping-method.service.d.ts +23 -23
- package/src/{services → features/shipping-method}/shipping-method.service.js +3 -3
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.d.ts +10 -0
- package/src/{schemas → features/shipping-method}/shipping-zone.schema.js +2 -4
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.d.ts +4 -0
- package/src/features/webhook/webhook.handler.js +50 -0
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.d.ts +3 -0
- package/src/features/webhook/webhook.route.js +33 -0
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.d.ts +4 -4
- package/src/index.js +4 -5
- package/src/index.js.map +1 -1
- package/src/integrations/next.d.ts +6 -5
- package/src/integrations/next.js +30 -51
- package/src/integrations/next.js.map +1 -1
- package/src/schemas/address.schema.d.ts +12 -153
- package/src/schemas/address.schema.js +1 -3
- package/src/schemas/address.schema.js.map +1 -1
- package/src/schemas/currency.schema.d.ts +36 -2
- package/src/schemas/currency.schema.js +1 -3
- package/src/schemas/currency.schema.js.map +1 -1
- package/src/schemas/error.schema.d.ts +2 -8
- package/src/schemas/error.schema.js +1 -3
- package/src/schemas/error.schema.js.map +1 -1
- package/src/schemas/index.d.ts +20 -20
- package/src/schemas/index.js +20 -20
- package/src/schemas/index.js.map +1 -1
- package/src/schemas/locales.schema.d.ts +116 -2
- package/src/schemas/locales.schema.js +1 -3
- package/src/schemas/locales.schema.js.map +1 -1
- package/src/schemas/number.schema.d.ts +3 -3
- package/src/schemas/number.schema.js +1 -1
- package/src/schemas/number.schema.js.map +1 -1
- package/src/schemas/pagination.schema.d.ts +121 -35
- package/src/schemas/pagination.schema.js +1 -1
- package/src/schemas/pagination.schema.js.map +1 -1
- package/src/schemas/params.schema.d.ts +3 -14
- package/src/schemas/params.schema.js +1 -3
- package/src/schemas/params.schema.js.map +1 -1
- package/src/schemas/queries.schema.d.ts +117 -7
- package/src/schemas/queries.schema.js +1 -3
- package/src/schemas/queries.schema.js.map +1 -1
- package/src/test/integration/api-fixtures.d.ts +159 -0
- package/src/test/integration/api-fixtures.js +225 -0
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/test-helpers.d.ts +961 -0
- package/src/test/integration/test-helpers.js +1100 -0
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.d.ts +1 -0
- package/src/test/setup-test-env.js +29 -0
- package/src/test/setup-test-env.js.map +1 -0
- package/src/contract.d.ts +0 -3864
- package/src/contract.js +0 -6
- package/src/contract.js.map +0 -1
- package/src/contracts/cart.contract.d.ts +0 -407
- package/src/contracts/cart.contract.js +0 -29
- package/src/contracts/cart.contract.js.map +0 -1
- package/src/contracts/customers.contract.d.ts +0 -903
- package/src/contracts/customers.contract.js +0 -119
- package/src/contracts/customers.contract.js.map +0 -1
- package/src/contracts/files.contract.d.ts +0 -152
- package/src/contracts/files.contract.js +0 -29
- package/src/contracts/files.contract.js.map +0 -1
- package/src/contracts/health.contract.d.ts +0 -38
- package/src/contracts/health.contract.js +0 -25
- package/src/contracts/health.contract.js.map +0 -1
- package/src/contracts/index.d.ts +0 -15096
- package/src/contracts/index.js +0 -32
- package/src/contracts/index.js.map +0 -1
- package/src/contracts/location.contract.d.ts +0 -127
- package/src/contracts/location.contract.js +0 -40
- package/src/contracts/location.contract.js.map +0 -1
- package/src/contracts/manufacturers.contract.d.ts +0 -931
- package/src/contracts/manufacturers.contract.js +0 -85
- package/src/contracts/manufacturers.contract.js.map +0 -1
- package/src/contracts/orders.contract.d.ts +0 -3910
- package/src/contracts/orders.contract.js +0 -92
- package/src/contracts/orders.contract.js.map +0 -1
- package/src/contracts/organizations.contract.d.ts +0 -2234
- package/src/contracts/organizations.contract.js +0 -71
- package/src/contracts/organizations.contract.js.map +0 -1
- package/src/contracts/payment.contract.d.ts +0 -64
- package/src/contracts/payment.contract.js +0 -20
- package/src/contracts/payment.contract.js.map +0 -1
- package/src/contracts/product-categories.contract.d.ts +0 -1172
- package/src/contracts/product-categories.contract.js +0 -103
- package/src/contracts/product-categories.contract.js.map +0 -1
- package/src/contracts/products.contract.d.ts +0 -3748
- package/src/contracts/products.contract.js +0 -128
- package/src/contracts/products.contract.js.map +0 -1
- package/src/contracts/reservation.contract.d.ts +0 -675
- package/src/contracts/reservation.contract.js +0 -141
- package/src/contracts/reservation.contract.js.map +0 -1
- package/src/contracts/shipping-methods.contract.d.ts +0 -1276
- package/src/contracts/shipping-methods.contract.js +0 -118
- package/src/contracts/shipping-methods.contract.js.map +0 -1
- package/src/contracts/shipping.contract.d.ts +0 -306
- package/src/contracts/shipping.contract.js +0 -42
- package/src/contracts/shipping.contract.js.map +0 -1
- package/src/contracts/webhook.contract.d.ts +0 -66
- package/src/contracts/webhook.contract.js +0 -28
- package/src/contracts/webhook.contract.js.map +0 -1
- package/src/db/__generated__/client/client.d.ts +0 -385
- package/src/db/__generated__/client/client.js +0 -50
- package/src/db/__generated__/client/client.js.map +0 -1
- package/src/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/db/__generated__/client/enums.js.map +0 -1
- package/src/db/__generated__/client/index.d.ts +0 -1
- package/src/db/__generated__/client/index.js +0 -5
- package/src/db/__generated__/client/index.js.map +0 -1
- package/src/db/__generated__/client/internal/class.js +0 -83
- package/src/db/__generated__/client/internal/class.js.map +0 -1
- package/src/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/db/__generated__/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/src/db/__generated__/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/db/__generated__/client/libquery_engine-rhel-openssl-3.0.x.so.node +0 -0
- package/src/db/__generated__/client/models/Account.js.map +0 -1
- package/src/db/__generated__/client/models/Address.js.map +0 -1
- package/src/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/db/__generated__/client/models/File.js.map +0 -1
- package/src/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/db/__generated__/client/models/Member.js.map +0 -1
- package/src/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/db/__generated__/client/models/Order.js.map +0 -1
- package/src/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/db/__generated__/client/models/Product.js.map +0 -1
- package/src/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/db/__generated__/client/models/Session.js.map +0 -1
- package/src/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/db/__generated__/client/models/User.js.map +0 -1
- package/src/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/db/__generated__/client/models.js.map +0 -1
- package/src/db/index.d.ts +0 -1
- package/src/db/index.js +0 -2
- package/src/db/index.js.map +0 -1
- package/src/emails/order-confirmation-email.js.map +0 -1
- package/src/emails/order-notification-email.js.map +0 -1
- package/src/emails/reservation-cancellation-email.js.map +0 -1
- package/src/emails/reservation-confirmation-email.js.map +0 -1
- package/src/emails/reservation-notification-email.js.map +0 -1
- package/src/exceptions/http-exception.js.map +0 -1
- package/src/handlers/webhook.handler.d.ts +0 -8
- package/src/handlers/webhook.handler.js +0 -36
- package/src/handlers/webhook.handler.js.map +0 -1
- package/src/lib/better-auth.lib.js.map +0 -1
- package/src/lib/openapi.lib.d.ts +0 -2
- package/src/lib/openapi.lib.js +0 -25
- package/src/lib/openapi.lib.js.map +0 -1
- package/src/lib/pino.js.map +0 -1
- package/src/lib/prisma.js.map +0 -1
- package/src/lib/stripe.d.ts +0 -2
- package/src/lib/stripe.js +0 -8
- package/src/lib/stripe.js.map +0 -1
- package/src/lib/ts-rest.d.ts +0 -2
- package/src/lib/ts-rest.js +0 -3
- package/src/lib/ts-rest.js.map +0 -1
- package/src/routers/cart.router.d.ts +0 -407
- package/src/routers/cart.router.js +0 -20
- package/src/routers/cart.router.js.map +0 -1
- package/src/routers/file.router.d.ts +0 -153
- package/src/routers/file.router.js +0 -28
- package/src/routers/file.router.js.map +0 -1
- package/src/routers/health.router.d.ts +0 -37
- package/src/routers/health.router.js +0 -17
- package/src/routers/health.router.js.map +0 -1
- package/src/routers/index.d.ts +0 -11
- package/src/routers/index.js +0 -12
- package/src/routers/index.js.map +0 -1
- package/src/routers/manufacturer.router.d.ts +0 -931
- package/src/routers/manufacturer.router.js +0 -58
- package/src/routers/manufacturer.router.js.map +0 -1
- package/src/routers/order.router.d.ts +0 -3911
- package/src/routers/order.router.js +0 -60
- package/src/routers/order.router.js.map +0 -1
- package/src/routers/organization.router.d.ts +0 -2234
- package/src/routers/organization.router.js +0 -55
- package/src/routers/organization.router.js.map +0 -1
- package/src/routers/payment.router.d.ts +0 -65
- package/src/routers/payment.router.js +0 -22
- package/src/routers/payment.router.js.map +0 -1
- package/src/routers/places.router.d.ts +0 -132
- package/src/routers/places.router.js +0 -31
- package/src/routers/places.router.js.map +0 -1
- package/src/routers/product-category.router.d.ts +0 -1172
- package/src/routers/product-category.router.js +0 -66
- package/src/routers/product-category.router.js.map +0 -1
- package/src/routers/product.router.d.ts +0 -3748
- package/src/routers/product.router.js +0 -94
- package/src/routers/product.router.js.map +0 -1
- package/src/routers/reservation.router.d.ts +0 -675
- package/src/routers/reservation.router.js +0 -71
- package/src/routers/reservation.router.js.map +0 -1
- package/src/routers/shipping-method.router.d.ts +0 -1276
- package/src/routers/shipping-method.router.js +0 -67
- package/src/routers/shipping-method.router.js.map +0 -1
- package/src/routers/shipping.router.d.ts +0 -307
- package/src/routers/shipping.router.js +0 -38
- package/src/routers/shipping.router.js.map +0 -1
- package/src/routers/webhook.router.d.ts +0 -65
- package/src/routers/webhook.router.js +0 -19
- package/src/routers/webhook.router.js.map +0 -1
- package/src/schemas/auth.schema.d.ts +0 -29
- package/src/schemas/auth.schema.js.map +0 -1
- package/src/schemas/cart.schema.d.ts +0 -315
- package/src/schemas/cart.schema.js.map +0 -1
- package/src/schemas/file.schema.d.ts +0 -115
- package/src/schemas/file.schema.js.map +0 -1
- package/src/schemas/fulfilment.schema.d.ts +0 -2
- package/src/schemas/fulfilment.schema.js +0 -5
- package/src/schemas/fulfilment.schema.js.map +0 -1
- package/src/schemas/headers.schema.d.ts +0 -11
- package/src/schemas/headers.schema.js.map +0 -1
- package/src/schemas/legal-entity.schema.d.ts +0 -212
- package/src/schemas/legal-entity.schema.js.map +0 -1
- package/src/schemas/location.schema.d.ts +0 -41
- package/src/schemas/location.schema.js.map +0 -1
- package/src/schemas/manufacturer.schema.d.ts +0 -287
- package/src/schemas/manufacturer.schema.js.map +0 -1
- package/src/schemas/order.schema.d.ts +0 -1046
- package/src/schemas/order.schema.js.map +0 -1
- package/src/schemas/organization-configuration.schema.d.ts +0 -287
- package/src/schemas/organization-configuration.schema.js.map +0 -1
- package/src/schemas/organization.schema.d.ts +0 -894
- package/src/schemas/organization.schema.js.map +0 -1
- package/src/schemas/payment.schema.d.ts +0 -54
- package/src/schemas/product-category.schema.d.ts +0 -352
- package/src/schemas/product-category.schema.js.map +0 -1
- package/src/schemas/product-modifier.schema.d.ts +0 -280
- package/src/schemas/product.schema.d.ts +0 -1287
- package/src/schemas/product.schema.js.map +0 -1
- package/src/schemas/recipient.schema.d.ts +0 -260
- package/src/schemas/recipient.schema.js.map +0 -1
- package/src/schemas/reservation.schema.d.ts +0 -61
- package/src/schemas/reservation.schema.js.map +0 -1
- package/src/schemas/shipping-method.schema.d.ts +0 -335
- package/src/schemas/shipping-method.schema.js.map +0 -1
- package/src/schemas/shipping-zone.schema.d.ts +0 -24
- package/src/schemas/shipping-zone.schema.js.map +0 -1
- package/src/schemas/user.schema.d.ts +0 -24
- package/src/schemas/user.schema.js.map +0 -1
- package/src/services/cart.service.js.map +0 -1
- package/src/services/email.service.js.map +0 -1
- package/src/services/file.service.js.map +0 -1
- package/src/services/location.service.js.map +0 -1
- package/src/services/manufacturer.service.js.map +0 -1
- package/src/services/order.service.js.map +0 -1
- package/src/services/organization.service.js.map +0 -1
- package/src/services/payment.service.js.map +0 -1
- package/src/services/product-category.service.js.map +0 -1
- package/src/services/product.service.js.map +0 -1
- package/src/services/reservation.service.js.map +0 -1
- package/src/services/shipping-method.service.js.map +0 -1
- package/src/services/shipping.service.js.map +0 -1
- package/src/services/stripe.service.js.map +0 -1
- package/src/types/google-maps.types.js.map +0 -1
- package/src/utils/auth.util.js.map +0 -1
- package/src/utils/cart.util.js.map +0 -1
- package/src/utils/client.util.d.ts +0 -3864
- package/src/utils/client.util.js +0 -6
- package/src/utils/client.util.js.map +0 -1
- package/src/utils/currency.util.js.map +0 -1
- package/src/utils/env.util.js.map +0 -1
- package/src/utils/error-handler.util.d.ts +0 -3
- package/src/utils/error-handler.util.js +0 -30
- package/src/utils/error-handler.util.js.map +0 -1
- package/src/utils/generate-password-hash.util.js.map +0 -1
- package/src/utils/object.util.js.map +0 -1
- package/src/utils/translations.util.js.map +0 -1
- package/src/utils/zod.util.js.map +0 -1
- /package/src/{utils → core/auth}/auth.util.js +0 -0
- /package/src/{utils → core/auth}/generate-password-hash.util.d.ts +0 -0
- /package/src/{utils → core/auth}/generate-password-hash.util.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Account.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Address.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Campaign.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ClosingTimes.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/File.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Invitation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/LegalEntity.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Manufacturer.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ManufacturerTranslation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Member.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Modifier.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ModifierGroup.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ModifierGroupTranslation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/OpeningTimes.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Order.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/OrderItem.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/OrderItemTranslation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Organization.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/OrganizationConfiguration.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Payment.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/PaymentSession.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Product.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ProductCategory.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ProductCategoryTranslation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ProductSnapshot.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ProductTranslation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Reservation.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Session.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ShippingMethod.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/ShippingZone.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/User.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models/Verification.js +0 -0
- /package/src/{db → core/db}/__generated__/client/models.js +0 -0
- /package/src/{exceptions → core/exceptions}/http-exception.d.ts +0 -0
- /package/src/{exceptions → core/exceptions}/http-exception.js +0 -0
- /package/src/{lib → core/lib}/prisma.js +0 -0
- /package/src/{lib → core/logging}/pino.d.ts +0 -0
- /package/src/{lib → core/logging}/pino.js +0 -0
- /package/src/{types → core/types}/google-maps.types.d.ts +0 -0
- /package/src/{types → core/types}/google-maps.types.js +0 -0
- /package/src/{utils → core/utils}/currency.util.d.ts +0 -0
- /package/src/{utils → core/utils}/currency.util.js +0 -0
- /package/src/{utils → core/utils}/env.util.d.ts +0 -0
- /package/src/{utils → core/utils}/object.util.d.ts +0 -0
- /package/src/{utils → core/utils}/object.util.js +0 -0
- /package/src/{utils → core/utils}/translations.util.d.ts +0 -0
- /package/src/{utils → core/utils}/translations.util.js +0 -0
- /package/src/{utils → features/cart}/cart.util.js +0 -0
- /package/src/{services → features/location}/location.service.d.ts +0 -0
- /package/src/{services → features/location}/location.service.js +0 -0
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* WARNING: This is an internal file that is subject to change!
|
|
3
|
-
*
|
|
4
|
-
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
5
|
-
*
|
|
6
|
-
* Please import the `PrismaClient` class from the `client.ts` file instead.
|
|
7
|
-
*/
|
|
8
|
-
import * as runtime from "@prisma/client/runtime/library";
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
9
2
|
import type * as Prisma from "./prismaNamespace";
|
|
10
3
|
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
11
4
|
export interface PrismaClientConstructor {
|
|
@@ -15,14 +8,18 @@ export interface PrismaClientConstructor {
|
|
|
15
8
|
* Type-safe database client for TypeScript
|
|
16
9
|
* @example
|
|
17
10
|
* ```
|
|
18
|
-
* const prisma = new PrismaClient(
|
|
11
|
+
* const prisma = new PrismaClient({
|
|
12
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
13
|
+
* })
|
|
19
14
|
* // Fetch zero or more Users
|
|
20
15
|
* const users = await prisma.user.findMany()
|
|
21
16
|
* ```
|
|
22
17
|
*
|
|
23
|
-
* Read more in our [docs](https://
|
|
18
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
24
19
|
*/
|
|
25
|
-
new <
|
|
20
|
+
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
21
|
+
omit: infer U;
|
|
22
|
+
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
26
23
|
}
|
|
27
24
|
/**
|
|
28
25
|
* ## Prisma Client
|
|
@@ -30,18 +27,20 @@ export interface PrismaClientConstructor {
|
|
|
30
27
|
* Type-safe database client for TypeScript
|
|
31
28
|
* @example
|
|
32
29
|
* ```
|
|
33
|
-
* const prisma = new PrismaClient(
|
|
30
|
+
* const prisma = new PrismaClient({
|
|
31
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
32
|
+
* })
|
|
34
33
|
* // Fetch zero or more Users
|
|
35
34
|
* const users = await prisma.user.findMany()
|
|
36
35
|
* ```
|
|
37
36
|
*
|
|
38
|
-
* Read more in our [docs](https://
|
|
37
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
39
38
|
*/
|
|
40
|
-
export interface PrismaClient<
|
|
39
|
+
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
41
40
|
[K: symbol]: {
|
|
42
41
|
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
43
42
|
};
|
|
44
|
-
$on<V extends
|
|
43
|
+
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
45
44
|
/**
|
|
46
45
|
* Connect with the database
|
|
47
46
|
*/
|
|
@@ -50,12 +49,6 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
50
49
|
* Disconnect from the database
|
|
51
50
|
*/
|
|
52
51
|
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* Add a middleware
|
|
55
|
-
* @deprecated since 4.16.0. For new code, prefer client extensions instead.
|
|
56
|
-
* @see https://pris.ly/d/extensions
|
|
57
|
-
*/
|
|
58
|
-
$use(cb: Prisma.Middleware): void;
|
|
59
52
|
/**
|
|
60
53
|
* Executes a prepared raw query and returns the number of affected rows.
|
|
61
54
|
* @example
|
|
@@ -63,7 +56,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
63
56
|
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
64
57
|
* ```
|
|
65
58
|
*
|
|
66
|
-
* Read more in our [docs](https://
|
|
59
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
67
60
|
*/
|
|
68
61
|
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
69
62
|
/**
|
|
@@ -74,7 +67,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
74
67
|
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
75
68
|
* ```
|
|
76
69
|
*
|
|
77
|
-
* Read more in our [docs](https://
|
|
70
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
78
71
|
*/
|
|
79
72
|
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
80
73
|
/**
|
|
@@ -84,7 +77,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
84
77
|
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
85
78
|
* ```
|
|
86
79
|
*
|
|
87
|
-
* Read more in our [docs](https://
|
|
80
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
88
81
|
*/
|
|
89
82
|
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
90
83
|
/**
|
|
@@ -95,7 +88,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
95
88
|
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
96
89
|
* ```
|
|
97
90
|
*
|
|
98
|
-
* Read more in our [docs](https://
|
|
91
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
99
92
|
*/
|
|
100
93
|
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
101
94
|
/**
|
|
@@ -109,7 +102,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
109
102
|
* ])
|
|
110
103
|
* ```
|
|
111
104
|
*
|
|
112
|
-
* Read more in our [docs](https://www.prisma.io/docs/
|
|
105
|
+
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
113
106
|
*/
|
|
114
107
|
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
115
108
|
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
@@ -119,7 +112,7 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
119
112
|
timeout?: number;
|
|
120
113
|
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
121
114
|
}): runtime.Types.Utils.JsPromise<R>;
|
|
122
|
-
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<
|
|
115
|
+
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
123
116
|
extArgs: ExtArgs;
|
|
124
117
|
}>>;
|
|
125
118
|
/**
|
|
@@ -130,7 +123,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
130
123
|
* const users = await prisma.user.findMany()
|
|
131
124
|
* ```
|
|
132
125
|
*/
|
|
133
|
-
get user(): Prisma.UserDelegate<ExtArgs,
|
|
126
|
+
get user(): Prisma.UserDelegate<ExtArgs, {
|
|
127
|
+
omit: OmitOpts;
|
|
128
|
+
}>;
|
|
134
129
|
/**
|
|
135
130
|
* `prisma.session`: Exposes CRUD operations for the **Session** model.
|
|
136
131
|
* Example usage:
|
|
@@ -139,7 +134,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
139
134
|
* const sessions = await prisma.session.findMany()
|
|
140
135
|
* ```
|
|
141
136
|
*/
|
|
142
|
-
get session(): Prisma.SessionDelegate<ExtArgs,
|
|
137
|
+
get session(): Prisma.SessionDelegate<ExtArgs, {
|
|
138
|
+
omit: OmitOpts;
|
|
139
|
+
}>;
|
|
143
140
|
/**
|
|
144
141
|
* `prisma.account`: Exposes CRUD operations for the **Account** model.
|
|
145
142
|
* Example usage:
|
|
@@ -148,7 +145,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
148
145
|
* const accounts = await prisma.account.findMany()
|
|
149
146
|
* ```
|
|
150
147
|
*/
|
|
151
|
-
get account(): Prisma.AccountDelegate<ExtArgs,
|
|
148
|
+
get account(): Prisma.AccountDelegate<ExtArgs, {
|
|
149
|
+
omit: OmitOpts;
|
|
150
|
+
}>;
|
|
152
151
|
/**
|
|
153
152
|
* `prisma.verification`: Exposes CRUD operations for the **Verification** model.
|
|
154
153
|
* Example usage:
|
|
@@ -157,7 +156,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
157
156
|
* const verifications = await prisma.verification.findMany()
|
|
158
157
|
* ```
|
|
159
158
|
*/
|
|
160
|
-
get verification(): Prisma.VerificationDelegate<ExtArgs,
|
|
159
|
+
get verification(): Prisma.VerificationDelegate<ExtArgs, {
|
|
160
|
+
omit: OmitOpts;
|
|
161
|
+
}>;
|
|
161
162
|
/**
|
|
162
163
|
* `prisma.member`: Exposes CRUD operations for the **Member** model.
|
|
163
164
|
* Example usage:
|
|
@@ -166,7 +167,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
166
167
|
* const members = await prisma.member.findMany()
|
|
167
168
|
* ```
|
|
168
169
|
*/
|
|
169
|
-
get member(): Prisma.MemberDelegate<ExtArgs,
|
|
170
|
+
get member(): Prisma.MemberDelegate<ExtArgs, {
|
|
171
|
+
omit: OmitOpts;
|
|
172
|
+
}>;
|
|
170
173
|
/**
|
|
171
174
|
* `prisma.invitation`: Exposes CRUD operations for the **Invitation** model.
|
|
172
175
|
* Example usage:
|
|
@@ -175,7 +178,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
175
178
|
* const invitations = await prisma.invitation.findMany()
|
|
176
179
|
* ```
|
|
177
180
|
*/
|
|
178
|
-
get invitation(): Prisma.InvitationDelegate<ExtArgs,
|
|
181
|
+
get invitation(): Prisma.InvitationDelegate<ExtArgs, {
|
|
182
|
+
omit: OmitOpts;
|
|
183
|
+
}>;
|
|
179
184
|
/**
|
|
180
185
|
* `prisma.organization`: Exposes CRUD operations for the **Organization** model.
|
|
181
186
|
* Example usage:
|
|
@@ -184,7 +189,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
184
189
|
* const organizations = await prisma.organization.findMany()
|
|
185
190
|
* ```
|
|
186
191
|
*/
|
|
187
|
-
get organization(): Prisma.OrganizationDelegate<ExtArgs,
|
|
192
|
+
get organization(): Prisma.OrganizationDelegate<ExtArgs, {
|
|
193
|
+
omit: OmitOpts;
|
|
194
|
+
}>;
|
|
188
195
|
/**
|
|
189
196
|
* `prisma.openingTimes`: Exposes CRUD operations for the **OpeningTimes** model.
|
|
190
197
|
* Example usage:
|
|
@@ -193,7 +200,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
193
200
|
* const openingTimes = await prisma.openingTimes.findMany()
|
|
194
201
|
* ```
|
|
195
202
|
*/
|
|
196
|
-
get openingTimes(): Prisma.OpeningTimesDelegate<ExtArgs,
|
|
203
|
+
get openingTimes(): Prisma.OpeningTimesDelegate<ExtArgs, {
|
|
204
|
+
omit: OmitOpts;
|
|
205
|
+
}>;
|
|
197
206
|
/**
|
|
198
207
|
* `prisma.closingTimes`: Exposes CRUD operations for the **ClosingTimes** model.
|
|
199
208
|
* Example usage:
|
|
@@ -202,7 +211,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
202
211
|
* const closingTimes = await prisma.closingTimes.findMany()
|
|
203
212
|
* ```
|
|
204
213
|
*/
|
|
205
|
-
get closingTimes(): Prisma.ClosingTimesDelegate<ExtArgs,
|
|
214
|
+
get closingTimes(): Prisma.ClosingTimesDelegate<ExtArgs, {
|
|
215
|
+
omit: OmitOpts;
|
|
216
|
+
}>;
|
|
206
217
|
/**
|
|
207
218
|
* `prisma.organizationConfiguration`: Exposes CRUD operations for the **OrganizationConfiguration** model.
|
|
208
219
|
* Example usage:
|
|
@@ -211,7 +222,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
211
222
|
* const organizationConfigurations = await prisma.organizationConfiguration.findMany()
|
|
212
223
|
* ```
|
|
213
224
|
*/
|
|
214
|
-
get organizationConfiguration(): Prisma.OrganizationConfigurationDelegate<ExtArgs,
|
|
225
|
+
get organizationConfiguration(): Prisma.OrganizationConfigurationDelegate<ExtArgs, {
|
|
226
|
+
omit: OmitOpts;
|
|
227
|
+
}>;
|
|
215
228
|
/**
|
|
216
229
|
* `prisma.address`: Exposes CRUD operations for the **Address** model.
|
|
217
230
|
* Example usage:
|
|
@@ -220,7 +233,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
220
233
|
* const addresses = await prisma.address.findMany()
|
|
221
234
|
* ```
|
|
222
235
|
*/
|
|
223
|
-
get address(): Prisma.AddressDelegate<ExtArgs,
|
|
236
|
+
get address(): Prisma.AddressDelegate<ExtArgs, {
|
|
237
|
+
omit: OmitOpts;
|
|
238
|
+
}>;
|
|
224
239
|
/**
|
|
225
240
|
* `prisma.legalEntity`: Exposes CRUD operations for the **LegalEntity** model.
|
|
226
241
|
* Example usage:
|
|
@@ -229,7 +244,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
229
244
|
* const legalEntities = await prisma.legalEntity.findMany()
|
|
230
245
|
* ```
|
|
231
246
|
*/
|
|
232
|
-
get legalEntity(): Prisma.LegalEntityDelegate<ExtArgs,
|
|
247
|
+
get legalEntity(): Prisma.LegalEntityDelegate<ExtArgs, {
|
|
248
|
+
omit: OmitOpts;
|
|
249
|
+
}>;
|
|
233
250
|
/**
|
|
234
251
|
* `prisma.file`: Exposes CRUD operations for the **File** model.
|
|
235
252
|
* Example usage:
|
|
@@ -238,7 +255,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
238
255
|
* const files = await prisma.file.findMany()
|
|
239
256
|
* ```
|
|
240
257
|
*/
|
|
241
|
-
get file(): Prisma.FileDelegate<ExtArgs,
|
|
258
|
+
get file(): Prisma.FileDelegate<ExtArgs, {
|
|
259
|
+
omit: OmitOpts;
|
|
260
|
+
}>;
|
|
242
261
|
/**
|
|
243
262
|
* `prisma.manufacturer`: Exposes CRUD operations for the **Manufacturer** model.
|
|
244
263
|
* Example usage:
|
|
@@ -247,7 +266,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
247
266
|
* const manufacturers = await prisma.manufacturer.findMany()
|
|
248
267
|
* ```
|
|
249
268
|
*/
|
|
250
|
-
get manufacturer(): Prisma.ManufacturerDelegate<ExtArgs,
|
|
269
|
+
get manufacturer(): Prisma.ManufacturerDelegate<ExtArgs, {
|
|
270
|
+
omit: OmitOpts;
|
|
271
|
+
}>;
|
|
251
272
|
/**
|
|
252
273
|
* `prisma.manufacturerTranslation`: Exposes CRUD operations for the **ManufacturerTranslation** model.
|
|
253
274
|
* Example usage:
|
|
@@ -256,7 +277,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
256
277
|
* const manufacturerTranslations = await prisma.manufacturerTranslation.findMany()
|
|
257
278
|
* ```
|
|
258
279
|
*/
|
|
259
|
-
get manufacturerTranslation(): Prisma.ManufacturerTranslationDelegate<ExtArgs,
|
|
280
|
+
get manufacturerTranslation(): Prisma.ManufacturerTranslationDelegate<ExtArgs, {
|
|
281
|
+
omit: OmitOpts;
|
|
282
|
+
}>;
|
|
260
283
|
/**
|
|
261
284
|
* `prisma.productCategory`: Exposes CRUD operations for the **ProductCategory** model.
|
|
262
285
|
* Example usage:
|
|
@@ -265,7 +288,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
265
288
|
* const productCategories = await prisma.productCategory.findMany()
|
|
266
289
|
* ```
|
|
267
290
|
*/
|
|
268
|
-
get productCategory(): Prisma.ProductCategoryDelegate<ExtArgs,
|
|
291
|
+
get productCategory(): Prisma.ProductCategoryDelegate<ExtArgs, {
|
|
292
|
+
omit: OmitOpts;
|
|
293
|
+
}>;
|
|
269
294
|
/**
|
|
270
295
|
* `prisma.productCategoryTranslation`: Exposes CRUD operations for the **ProductCategoryTranslation** model.
|
|
271
296
|
* Example usage:
|
|
@@ -274,7 +299,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
274
299
|
* const productCategoryTranslations = await prisma.productCategoryTranslation.findMany()
|
|
275
300
|
* ```
|
|
276
301
|
*/
|
|
277
|
-
get productCategoryTranslation(): Prisma.ProductCategoryTranslationDelegate<ExtArgs,
|
|
302
|
+
get productCategoryTranslation(): Prisma.ProductCategoryTranslationDelegate<ExtArgs, {
|
|
303
|
+
omit: OmitOpts;
|
|
304
|
+
}>;
|
|
278
305
|
/**
|
|
279
306
|
* `prisma.product`: Exposes CRUD operations for the **Product** model.
|
|
280
307
|
* Example usage:
|
|
@@ -283,7 +310,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
283
310
|
* const products = await prisma.product.findMany()
|
|
284
311
|
* ```
|
|
285
312
|
*/
|
|
286
|
-
get product(): Prisma.ProductDelegate<ExtArgs,
|
|
313
|
+
get product(): Prisma.ProductDelegate<ExtArgs, {
|
|
314
|
+
omit: OmitOpts;
|
|
315
|
+
}>;
|
|
287
316
|
/**
|
|
288
317
|
* `prisma.productSnapshot`: Exposes CRUD operations for the **ProductSnapshot** model.
|
|
289
318
|
* Example usage:
|
|
@@ -292,7 +321,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
292
321
|
* const productSnapshots = await prisma.productSnapshot.findMany()
|
|
293
322
|
* ```
|
|
294
323
|
*/
|
|
295
|
-
get productSnapshot(): Prisma.ProductSnapshotDelegate<ExtArgs,
|
|
324
|
+
get productSnapshot(): Prisma.ProductSnapshotDelegate<ExtArgs, {
|
|
325
|
+
omit: OmitOpts;
|
|
326
|
+
}>;
|
|
296
327
|
/**
|
|
297
328
|
* `prisma.productTranslation`: Exposes CRUD operations for the **ProductTranslation** model.
|
|
298
329
|
* Example usage:
|
|
@@ -301,7 +332,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
301
332
|
* const productTranslations = await prisma.productTranslation.findMany()
|
|
302
333
|
* ```
|
|
303
334
|
*/
|
|
304
|
-
get productTranslation(): Prisma.ProductTranslationDelegate<ExtArgs,
|
|
335
|
+
get productTranslation(): Prisma.ProductTranslationDelegate<ExtArgs, {
|
|
336
|
+
omit: OmitOpts;
|
|
337
|
+
}>;
|
|
305
338
|
/**
|
|
306
339
|
* `prisma.modifierGroup`: Exposes CRUD operations for the **ModifierGroup** model.
|
|
307
340
|
* Example usage:
|
|
@@ -310,7 +343,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
310
343
|
* const modifierGroups = await prisma.modifierGroup.findMany()
|
|
311
344
|
* ```
|
|
312
345
|
*/
|
|
313
|
-
get modifierGroup(): Prisma.ModifierGroupDelegate<ExtArgs,
|
|
346
|
+
get modifierGroup(): Prisma.ModifierGroupDelegate<ExtArgs, {
|
|
347
|
+
omit: OmitOpts;
|
|
348
|
+
}>;
|
|
314
349
|
/**
|
|
315
350
|
* `prisma.modifierGroupTranslation`: Exposes CRUD operations for the **ModifierGroupTranslation** model.
|
|
316
351
|
* Example usage:
|
|
@@ -319,7 +354,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
319
354
|
* const modifierGroupTranslations = await prisma.modifierGroupTranslation.findMany()
|
|
320
355
|
* ```
|
|
321
356
|
*/
|
|
322
|
-
get modifierGroupTranslation(): Prisma.ModifierGroupTranslationDelegate<ExtArgs,
|
|
357
|
+
get modifierGroupTranslation(): Prisma.ModifierGroupTranslationDelegate<ExtArgs, {
|
|
358
|
+
omit: OmitOpts;
|
|
359
|
+
}>;
|
|
323
360
|
/**
|
|
324
361
|
* `prisma.modifier`: Exposes CRUD operations for the **Modifier** model.
|
|
325
362
|
* Example usage:
|
|
@@ -328,7 +365,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
328
365
|
* const modifiers = await prisma.modifier.findMany()
|
|
329
366
|
* ```
|
|
330
367
|
*/
|
|
331
|
-
get modifier(): Prisma.ModifierDelegate<ExtArgs,
|
|
368
|
+
get modifier(): Prisma.ModifierDelegate<ExtArgs, {
|
|
369
|
+
omit: OmitOpts;
|
|
370
|
+
}>;
|
|
332
371
|
/**
|
|
333
372
|
* `prisma.order`: Exposes CRUD operations for the **Order** model.
|
|
334
373
|
* Example usage:
|
|
@@ -337,7 +376,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
337
376
|
* const orders = await prisma.order.findMany()
|
|
338
377
|
* ```
|
|
339
378
|
*/
|
|
340
|
-
get order(): Prisma.OrderDelegate<ExtArgs,
|
|
379
|
+
get order(): Prisma.OrderDelegate<ExtArgs, {
|
|
380
|
+
omit: OmitOpts;
|
|
381
|
+
}>;
|
|
341
382
|
/**
|
|
342
383
|
* `prisma.orderItem`: Exposes CRUD operations for the **OrderItem** model.
|
|
343
384
|
* Example usage:
|
|
@@ -346,7 +387,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
346
387
|
* const orderItems = await prisma.orderItem.findMany()
|
|
347
388
|
* ```
|
|
348
389
|
*/
|
|
349
|
-
get orderItem(): Prisma.OrderItemDelegate<ExtArgs,
|
|
390
|
+
get orderItem(): Prisma.OrderItemDelegate<ExtArgs, {
|
|
391
|
+
omit: OmitOpts;
|
|
392
|
+
}>;
|
|
350
393
|
/**
|
|
351
394
|
* `prisma.orderItemTranslation`: Exposes CRUD operations for the **OrderItemTranslation** model.
|
|
352
395
|
* Example usage:
|
|
@@ -355,7 +398,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
355
398
|
* const orderItemTranslations = await prisma.orderItemTranslation.findMany()
|
|
356
399
|
* ```
|
|
357
400
|
*/
|
|
358
|
-
get orderItemTranslation(): Prisma.OrderItemTranslationDelegate<ExtArgs,
|
|
401
|
+
get orderItemTranslation(): Prisma.OrderItemTranslationDelegate<ExtArgs, {
|
|
402
|
+
omit: OmitOpts;
|
|
403
|
+
}>;
|
|
359
404
|
/**
|
|
360
405
|
* `prisma.payment`: Exposes CRUD operations for the **Payment** model.
|
|
361
406
|
* Example usage:
|
|
@@ -364,7 +409,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
364
409
|
* const payments = await prisma.payment.findMany()
|
|
365
410
|
* ```
|
|
366
411
|
*/
|
|
367
|
-
get payment(): Prisma.PaymentDelegate<ExtArgs,
|
|
412
|
+
get payment(): Prisma.PaymentDelegate<ExtArgs, {
|
|
413
|
+
omit: OmitOpts;
|
|
414
|
+
}>;
|
|
368
415
|
/**
|
|
369
416
|
* `prisma.paymentSession`: Exposes CRUD operations for the **PaymentSession** model.
|
|
370
417
|
* Example usage:
|
|
@@ -373,7 +420,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
373
420
|
* const paymentSessions = await prisma.paymentSession.findMany()
|
|
374
421
|
* ```
|
|
375
422
|
*/
|
|
376
|
-
get paymentSession(): Prisma.PaymentSessionDelegate<ExtArgs,
|
|
423
|
+
get paymentSession(): Prisma.PaymentSessionDelegate<ExtArgs, {
|
|
424
|
+
omit: OmitOpts;
|
|
425
|
+
}>;
|
|
377
426
|
/**
|
|
378
427
|
* `prisma.campaign`: Exposes CRUD operations for the **Campaign** model.
|
|
379
428
|
* Example usage:
|
|
@@ -382,7 +431,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
382
431
|
* const campaigns = await prisma.campaign.findMany()
|
|
383
432
|
* ```
|
|
384
433
|
*/
|
|
385
|
-
get campaign(): Prisma.CampaignDelegate<ExtArgs,
|
|
434
|
+
get campaign(): Prisma.CampaignDelegate<ExtArgs, {
|
|
435
|
+
omit: OmitOpts;
|
|
436
|
+
}>;
|
|
386
437
|
/**
|
|
387
438
|
* `prisma.shippingMethod`: Exposes CRUD operations for the **ShippingMethod** model.
|
|
388
439
|
* Example usage:
|
|
@@ -391,7 +442,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
391
442
|
* const shippingMethods = await prisma.shippingMethod.findMany()
|
|
392
443
|
* ```
|
|
393
444
|
*/
|
|
394
|
-
get shippingMethod(): Prisma.ShippingMethodDelegate<ExtArgs,
|
|
445
|
+
get shippingMethod(): Prisma.ShippingMethodDelegate<ExtArgs, {
|
|
446
|
+
omit: OmitOpts;
|
|
447
|
+
}>;
|
|
395
448
|
/**
|
|
396
449
|
* `prisma.shippingZone`: Exposes CRUD operations for the **ShippingZone** model.
|
|
397
450
|
* Example usage:
|
|
@@ -400,7 +453,9 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
400
453
|
* const shippingZones = await prisma.shippingZone.findMany()
|
|
401
454
|
* ```
|
|
402
455
|
*/
|
|
403
|
-
get shippingZone(): Prisma.ShippingZoneDelegate<ExtArgs,
|
|
456
|
+
get shippingZone(): Prisma.ShippingZoneDelegate<ExtArgs, {
|
|
457
|
+
omit: OmitOpts;
|
|
458
|
+
}>;
|
|
404
459
|
/**
|
|
405
460
|
* `prisma.reservation`: Exposes CRUD operations for the **Reservation** model.
|
|
406
461
|
* Example usage:
|
|
@@ -409,6 +464,8 @@ export interface PrismaClient<ClientOptions extends Prisma.PrismaClientOptions =
|
|
|
409
464
|
* const reservations = await prisma.reservation.findMany()
|
|
410
465
|
* ```
|
|
411
466
|
*/
|
|
412
|
-
get reservation(): Prisma.ReservationDelegate<ExtArgs,
|
|
467
|
+
get reservation(): Prisma.ReservationDelegate<ExtArgs, {
|
|
468
|
+
omit: OmitOpts;
|
|
469
|
+
}>;
|
|
413
470
|
}
|
|
414
|
-
export declare function getPrismaClientClass(
|
|
471
|
+
export declare function getPrismaClientClass(): PrismaClientConstructor;
|