@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
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/index-browser";
|
|
2
|
+
export type * from '../models';
|
|
3
|
+
export type * from './prismaNamespace';
|
|
4
|
+
export declare const Decimal: typeof runtime.Decimal;
|
|
5
|
+
export declare const NullTypes: {
|
|
6
|
+
DbNull: (new (secret: never) => typeof runtime.DbNull);
|
|
7
|
+
JsonNull: (new (secret: never) => typeof runtime.JsonNull);
|
|
8
|
+
AnyNull: (new (secret: never) => typeof runtime.AnyNull);
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
12
|
+
*
|
|
13
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
14
|
+
*/
|
|
15
|
+
export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
16
|
+
/**
|
|
17
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
18
|
+
*
|
|
19
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
20
|
+
*/
|
|
21
|
+
export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
22
|
+
/**
|
|
23
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
24
|
+
*
|
|
25
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
26
|
+
*/
|
|
27
|
+
export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
|
|
28
|
+
export declare const ModelName: {
|
|
29
|
+
readonly User: "User";
|
|
30
|
+
readonly Session: "Session";
|
|
31
|
+
readonly Account: "Account";
|
|
32
|
+
readonly Verification: "Verification";
|
|
33
|
+
readonly Member: "Member";
|
|
34
|
+
readonly Invitation: "Invitation";
|
|
35
|
+
readonly Organization: "Organization";
|
|
36
|
+
readonly OpeningTimes: "OpeningTimes";
|
|
37
|
+
readonly ClosingTimes: "ClosingTimes";
|
|
38
|
+
readonly OrganizationConfiguration: "OrganizationConfiguration";
|
|
39
|
+
readonly Address: "Address";
|
|
40
|
+
readonly LegalEntity: "LegalEntity";
|
|
41
|
+
readonly File: "File";
|
|
42
|
+
readonly Manufacturer: "Manufacturer";
|
|
43
|
+
readonly ManufacturerTranslation: "ManufacturerTranslation";
|
|
44
|
+
readonly ProductCategory: "ProductCategory";
|
|
45
|
+
readonly ProductCategoryTranslation: "ProductCategoryTranslation";
|
|
46
|
+
readonly Product: "Product";
|
|
47
|
+
readonly ProductSnapshot: "ProductSnapshot";
|
|
48
|
+
readonly ProductTranslation: "ProductTranslation";
|
|
49
|
+
readonly ModifierGroup: "ModifierGroup";
|
|
50
|
+
readonly ModifierGroupTranslation: "ModifierGroupTranslation";
|
|
51
|
+
readonly Modifier: "Modifier";
|
|
52
|
+
readonly Order: "Order";
|
|
53
|
+
readonly OrderItem: "OrderItem";
|
|
54
|
+
readonly OrderItemTranslation: "OrderItemTranslation";
|
|
55
|
+
readonly Payment: "Payment";
|
|
56
|
+
readonly PaymentSession: "PaymentSession";
|
|
57
|
+
readonly Campaign: "Campaign";
|
|
58
|
+
readonly ShippingMethod: "ShippingMethod";
|
|
59
|
+
readonly ShippingZone: "ShippingZone";
|
|
60
|
+
readonly Reservation: "Reservation";
|
|
61
|
+
};
|
|
62
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
63
|
+
export declare const TransactionIsolationLevel: {
|
|
64
|
+
readonly ReadUncommitted: "ReadUncommitted";
|
|
65
|
+
readonly ReadCommitted: "ReadCommitted";
|
|
66
|
+
readonly RepeatableRead: "RepeatableRead";
|
|
67
|
+
readonly Serializable: "Serializable";
|
|
68
|
+
};
|
|
69
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
70
|
+
export declare const UserScalarFieldEnum: {
|
|
71
|
+
readonly id: "id";
|
|
72
|
+
readonly name: "name";
|
|
73
|
+
readonly firstname: "firstname";
|
|
74
|
+
readonly lastname: "lastname";
|
|
75
|
+
readonly email: "email";
|
|
76
|
+
readonly emailVerified: "emailVerified";
|
|
77
|
+
readonly image: "image";
|
|
78
|
+
readonly createdAt: "createdAt";
|
|
79
|
+
readonly updatedAt: "updatedAt";
|
|
80
|
+
};
|
|
81
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum];
|
|
82
|
+
export declare const SessionScalarFieldEnum: {
|
|
83
|
+
readonly id: "id";
|
|
84
|
+
readonly expiresAt: "expiresAt";
|
|
85
|
+
readonly token: "token";
|
|
86
|
+
readonly createdAt: "createdAt";
|
|
87
|
+
readonly updatedAt: "updatedAt";
|
|
88
|
+
readonly ipAddress: "ipAddress";
|
|
89
|
+
readonly userAgent: "userAgent";
|
|
90
|
+
readonly userId: "userId";
|
|
91
|
+
readonly activeOrganizationId: "activeOrganizationId";
|
|
92
|
+
};
|
|
93
|
+
export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum];
|
|
94
|
+
export declare const AccountScalarFieldEnum: {
|
|
95
|
+
readonly id: "id";
|
|
96
|
+
readonly accountId: "accountId";
|
|
97
|
+
readonly providerId: "providerId";
|
|
98
|
+
readonly userId: "userId";
|
|
99
|
+
readonly accessToken: "accessToken";
|
|
100
|
+
readonly refreshToken: "refreshToken";
|
|
101
|
+
readonly idToken: "idToken";
|
|
102
|
+
readonly accessTokenExpiresAt: "accessTokenExpiresAt";
|
|
103
|
+
readonly refreshTokenExpiresAt: "refreshTokenExpiresAt";
|
|
104
|
+
readonly scope: "scope";
|
|
105
|
+
readonly password: "password";
|
|
106
|
+
readonly createdAt: "createdAt";
|
|
107
|
+
readonly updatedAt: "updatedAt";
|
|
108
|
+
};
|
|
109
|
+
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum];
|
|
110
|
+
export declare const VerificationScalarFieldEnum: {
|
|
111
|
+
readonly id: "id";
|
|
112
|
+
readonly identifier: "identifier";
|
|
113
|
+
readonly value: "value";
|
|
114
|
+
readonly expiresAt: "expiresAt";
|
|
115
|
+
readonly createdAt: "createdAt";
|
|
116
|
+
readonly updatedAt: "updatedAt";
|
|
117
|
+
};
|
|
118
|
+
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum];
|
|
119
|
+
export declare const MemberScalarFieldEnum: {
|
|
120
|
+
readonly id: "id";
|
|
121
|
+
readonly organizationId: "organizationId";
|
|
122
|
+
readonly userId: "userId";
|
|
123
|
+
readonly role: "role";
|
|
124
|
+
readonly createdAt: "createdAt";
|
|
125
|
+
};
|
|
126
|
+
export type MemberScalarFieldEnum = (typeof MemberScalarFieldEnum)[keyof typeof MemberScalarFieldEnum];
|
|
127
|
+
export declare const InvitationScalarFieldEnum: {
|
|
128
|
+
readonly id: "id";
|
|
129
|
+
readonly organizationId: "organizationId";
|
|
130
|
+
readonly email: "email";
|
|
131
|
+
readonly role: "role";
|
|
132
|
+
readonly status: "status";
|
|
133
|
+
readonly expiresAt: "expiresAt";
|
|
134
|
+
readonly inviterId: "inviterId";
|
|
135
|
+
};
|
|
136
|
+
export type InvitationScalarFieldEnum = (typeof InvitationScalarFieldEnum)[keyof typeof InvitationScalarFieldEnum];
|
|
137
|
+
export declare const OrganizationScalarFieldEnum: {
|
|
138
|
+
readonly id: "id";
|
|
139
|
+
readonly name: "name";
|
|
140
|
+
readonly slug: "slug";
|
|
141
|
+
readonly phone: "phone";
|
|
142
|
+
readonly email: "email";
|
|
143
|
+
readonly legalEntityId: "legalEntityId";
|
|
144
|
+
readonly addressId: "addressId";
|
|
145
|
+
readonly configurationId: "configurationId";
|
|
146
|
+
readonly logo: "logo";
|
|
147
|
+
readonly logoId: "logoId";
|
|
148
|
+
readonly createdAt: "createdAt";
|
|
149
|
+
readonly createdBy: "createdBy";
|
|
150
|
+
readonly updatedAt: "updatedAt";
|
|
151
|
+
readonly updatedBy: "updatedBy";
|
|
152
|
+
readonly deletedAt: "deletedAt";
|
|
153
|
+
readonly deletedBy: "deletedBy";
|
|
154
|
+
};
|
|
155
|
+
export type OrganizationScalarFieldEnum = (typeof OrganizationScalarFieldEnum)[keyof typeof OrganizationScalarFieldEnum];
|
|
156
|
+
export declare const OpeningTimesScalarFieldEnum: {
|
|
157
|
+
readonly id: "id";
|
|
158
|
+
readonly monday: "monday";
|
|
159
|
+
readonly tuesday: "tuesday";
|
|
160
|
+
readonly wednesday: "wednesday";
|
|
161
|
+
readonly thursday: "thursday";
|
|
162
|
+
readonly friday: "friday";
|
|
163
|
+
readonly saturday: "saturday";
|
|
164
|
+
readonly sunday: "sunday";
|
|
165
|
+
};
|
|
166
|
+
export type OpeningTimesScalarFieldEnum = (typeof OpeningTimesScalarFieldEnum)[keyof typeof OpeningTimesScalarFieldEnum];
|
|
167
|
+
export declare const ClosingTimesScalarFieldEnum: {
|
|
168
|
+
readonly id: "id";
|
|
169
|
+
readonly monday: "monday";
|
|
170
|
+
readonly tuesday: "tuesday";
|
|
171
|
+
readonly wednesday: "wednesday";
|
|
172
|
+
readonly thursday: "thursday";
|
|
173
|
+
readonly friday: "friday";
|
|
174
|
+
readonly saturday: "saturday";
|
|
175
|
+
readonly sunday: "sunday";
|
|
176
|
+
};
|
|
177
|
+
export type ClosingTimesScalarFieldEnum = (typeof ClosingTimesScalarFieldEnum)[keyof typeof ClosingTimesScalarFieldEnum];
|
|
178
|
+
export declare const OrganizationConfigurationScalarFieldEnum: {
|
|
179
|
+
readonly id: "id";
|
|
180
|
+
readonly hostname: "hostname";
|
|
181
|
+
readonly countriesShipping: "countriesShipping";
|
|
182
|
+
readonly stripeAccountId: "stripeAccountId";
|
|
183
|
+
readonly enableHostCheckout: "enableHostCheckout";
|
|
184
|
+
readonly enableHostTracking: "enableHostTracking";
|
|
185
|
+
readonly isAcceptingOrders: "isAcceptingOrders";
|
|
186
|
+
readonly defaultCurrency: "defaultCurrency";
|
|
187
|
+
readonly defaultLocale: "defaultLocale";
|
|
188
|
+
readonly supportedLocales: "supportedLocales";
|
|
189
|
+
readonly openingTimesId: "openingTimesId";
|
|
190
|
+
readonly closingTimesId: "closingTimesId";
|
|
191
|
+
readonly facebookProfile: "facebookProfile";
|
|
192
|
+
readonly instagramProfile: "instagramProfile";
|
|
193
|
+
readonly xProfile: "xProfile";
|
|
194
|
+
readonly createdAt: "createdAt";
|
|
195
|
+
readonly createdBy: "createdBy";
|
|
196
|
+
readonly updatedAt: "updatedAt";
|
|
197
|
+
readonly updatedBy: "updatedBy";
|
|
198
|
+
};
|
|
199
|
+
export type OrganizationConfigurationScalarFieldEnum = (typeof OrganizationConfigurationScalarFieldEnum)[keyof typeof OrganizationConfigurationScalarFieldEnum];
|
|
200
|
+
export declare const AddressScalarFieldEnum: {
|
|
201
|
+
readonly id: "id";
|
|
202
|
+
readonly firstname: "firstname";
|
|
203
|
+
readonly lastname: "lastname";
|
|
204
|
+
readonly phone: "phone";
|
|
205
|
+
readonly addressLineOne: "addressLineOne";
|
|
206
|
+
readonly doorNumber: "doorNumber";
|
|
207
|
+
readonly addressLineTwo: "addressLineTwo";
|
|
208
|
+
readonly zipCode: "zipCode";
|
|
209
|
+
readonly placeId: "placeId";
|
|
210
|
+
readonly deliveryInstructions: "deliveryInstructions";
|
|
211
|
+
readonly city: "city";
|
|
212
|
+
readonly country: "country";
|
|
213
|
+
readonly latitude: "latitude";
|
|
214
|
+
readonly longitude: "longitude";
|
|
215
|
+
readonly isDefault: "isDefault";
|
|
216
|
+
readonly createdAt: "createdAt";
|
|
217
|
+
readonly createdBy: "createdBy";
|
|
218
|
+
readonly updatedAt: "updatedAt";
|
|
219
|
+
readonly updatedBy: "updatedBy";
|
|
220
|
+
readonly deletedAt: "deletedAt";
|
|
221
|
+
readonly deletedBy: "deletedBy";
|
|
222
|
+
};
|
|
223
|
+
export type AddressScalarFieldEnum = (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum];
|
|
224
|
+
export declare const LegalEntityScalarFieldEnum: {
|
|
225
|
+
readonly id: "id";
|
|
226
|
+
readonly name: "name";
|
|
227
|
+
readonly taxId: "taxId";
|
|
228
|
+
readonly addressId: "addressId";
|
|
229
|
+
readonly email: "email";
|
|
230
|
+
readonly phone: "phone";
|
|
231
|
+
readonly createdAt: "createdAt";
|
|
232
|
+
readonly createdBy: "createdBy";
|
|
233
|
+
readonly updatedAt: "updatedAt";
|
|
234
|
+
readonly updatedBy: "updatedBy";
|
|
235
|
+
readonly deletedAt: "deletedAt";
|
|
236
|
+
readonly deletedBy: "deletedBy";
|
|
237
|
+
};
|
|
238
|
+
export type LegalEntityScalarFieldEnum = (typeof LegalEntityScalarFieldEnum)[keyof typeof LegalEntityScalarFieldEnum];
|
|
239
|
+
export declare const FileScalarFieldEnum: {
|
|
240
|
+
readonly id: "id";
|
|
241
|
+
readonly mimeType: "mimeType";
|
|
242
|
+
readonly size: "size";
|
|
243
|
+
readonly filename: "filename";
|
|
244
|
+
readonly url: "url";
|
|
245
|
+
readonly status: "status";
|
|
246
|
+
readonly organizationId: "organizationId";
|
|
247
|
+
readonly createdAt: "createdAt";
|
|
248
|
+
readonly createdBy: "createdBy";
|
|
249
|
+
readonly updatedAt: "updatedAt";
|
|
250
|
+
readonly updatedBy: "updatedBy";
|
|
251
|
+
readonly deletedAt: "deletedAt";
|
|
252
|
+
readonly deletedBy: "deletedBy";
|
|
253
|
+
};
|
|
254
|
+
export type FileScalarFieldEnum = (typeof FileScalarFieldEnum)[keyof typeof FileScalarFieldEnum];
|
|
255
|
+
export declare const ManufacturerScalarFieldEnum: {
|
|
256
|
+
readonly id: "id";
|
|
257
|
+
readonly name: "name";
|
|
258
|
+
readonly logoId: "logoId";
|
|
259
|
+
readonly organizationId: "organizationId";
|
|
260
|
+
readonly createdAt: "createdAt";
|
|
261
|
+
readonly createdBy: "createdBy";
|
|
262
|
+
readonly updatedAt: "updatedAt";
|
|
263
|
+
readonly updatedBy: "updatedBy";
|
|
264
|
+
readonly deletedAt: "deletedAt";
|
|
265
|
+
readonly deletedBy: "deletedBy";
|
|
266
|
+
};
|
|
267
|
+
export type ManufacturerScalarFieldEnum = (typeof ManufacturerScalarFieldEnum)[keyof typeof ManufacturerScalarFieldEnum];
|
|
268
|
+
export declare const ManufacturerTranslationScalarFieldEnum: {
|
|
269
|
+
readonly id: "id";
|
|
270
|
+
readonly locale: "locale";
|
|
271
|
+
readonly about: "about";
|
|
272
|
+
readonly manufacturerId: "manufacturerId";
|
|
273
|
+
readonly createdAt: "createdAt";
|
|
274
|
+
readonly createdBy: "createdBy";
|
|
275
|
+
readonly updatedAt: "updatedAt";
|
|
276
|
+
readonly updatedBy: "updatedBy";
|
|
277
|
+
};
|
|
278
|
+
export type ManufacturerTranslationScalarFieldEnum = (typeof ManufacturerTranslationScalarFieldEnum)[keyof typeof ManufacturerTranslationScalarFieldEnum];
|
|
279
|
+
export declare const ProductCategoryScalarFieldEnum: {
|
|
280
|
+
readonly id: "id";
|
|
281
|
+
readonly slug: "slug";
|
|
282
|
+
readonly organizationId: "organizationId";
|
|
283
|
+
readonly priority: "priority";
|
|
284
|
+
readonly imageId: "imageId";
|
|
285
|
+
readonly createdAt: "createdAt";
|
|
286
|
+
readonly createdBy: "createdBy";
|
|
287
|
+
readonly updatedAt: "updatedAt";
|
|
288
|
+
readonly updatedBy: "updatedBy";
|
|
289
|
+
readonly deletedAt: "deletedAt";
|
|
290
|
+
readonly deletedBy: "deletedBy";
|
|
291
|
+
readonly publishedAt: "publishedAt";
|
|
292
|
+
readonly publishedBy: "publishedBy";
|
|
293
|
+
};
|
|
294
|
+
export type ProductCategoryScalarFieldEnum = (typeof ProductCategoryScalarFieldEnum)[keyof typeof ProductCategoryScalarFieldEnum];
|
|
295
|
+
export declare const ProductCategoryTranslationScalarFieldEnum: {
|
|
296
|
+
readonly id: "id";
|
|
297
|
+
readonly locale: "locale";
|
|
298
|
+
readonly title: "title";
|
|
299
|
+
readonly description: "description";
|
|
300
|
+
readonly productCategoryId: "productCategoryId";
|
|
301
|
+
readonly createdAt: "createdAt";
|
|
302
|
+
readonly createdBy: "createdBy";
|
|
303
|
+
readonly updatedAt: "updatedAt";
|
|
304
|
+
readonly updatedBy: "updatedBy";
|
|
305
|
+
};
|
|
306
|
+
export type ProductCategoryTranslationScalarFieldEnum = (typeof ProductCategoryTranslationScalarFieldEnum)[keyof typeof ProductCategoryTranslationScalarFieldEnum];
|
|
307
|
+
export declare const ProductScalarFieldEnum: {
|
|
308
|
+
readonly id: "id";
|
|
309
|
+
readonly content: "content";
|
|
310
|
+
readonly slug: "slug";
|
|
311
|
+
readonly sku: "sku";
|
|
312
|
+
readonly basePrice: "basePrice";
|
|
313
|
+
readonly discountedBasePrice: "discountedBasePrice";
|
|
314
|
+
readonly currency: "currency";
|
|
315
|
+
readonly organizationId: "organizationId";
|
|
316
|
+
readonly manufacturerId: "manufacturerId";
|
|
317
|
+
readonly tags: "tags";
|
|
318
|
+
readonly metadata: "metadata";
|
|
319
|
+
readonly publishedAt: "publishedAt";
|
|
320
|
+
readonly publishedBy: "publishedBy";
|
|
321
|
+
readonly deletedAt: "deletedAt";
|
|
322
|
+
readonly deletedBy: "deletedBy";
|
|
323
|
+
readonly createdAt: "createdAt";
|
|
324
|
+
readonly createdBy: "createdBy";
|
|
325
|
+
readonly updatedAt: "updatedAt";
|
|
326
|
+
readonly updatedBy: "updatedBy";
|
|
327
|
+
readonly latestSnapshotId: "latestSnapshotId";
|
|
328
|
+
};
|
|
329
|
+
export type ProductScalarFieldEnum = (typeof ProductScalarFieldEnum)[keyof typeof ProductScalarFieldEnum];
|
|
330
|
+
export declare const ProductSnapshotScalarFieldEnum: {
|
|
331
|
+
readonly id: "id";
|
|
332
|
+
readonly productId: "productId";
|
|
333
|
+
readonly data: "data";
|
|
334
|
+
readonly createdAt: "createdAt";
|
|
335
|
+
readonly createdBy: "createdBy";
|
|
336
|
+
};
|
|
337
|
+
export type ProductSnapshotScalarFieldEnum = (typeof ProductSnapshotScalarFieldEnum)[keyof typeof ProductSnapshotScalarFieldEnum];
|
|
338
|
+
export declare const ProductTranslationScalarFieldEnum: {
|
|
339
|
+
readonly id: "id";
|
|
340
|
+
readonly locale: "locale";
|
|
341
|
+
readonly title: "title";
|
|
342
|
+
readonly description: "description";
|
|
343
|
+
readonly productId: "productId";
|
|
344
|
+
readonly createdAt: "createdAt";
|
|
345
|
+
readonly createdBy: "createdBy";
|
|
346
|
+
readonly updatedAt: "updatedAt";
|
|
347
|
+
readonly updatedBy: "updatedBy";
|
|
348
|
+
};
|
|
349
|
+
export type ProductTranslationScalarFieldEnum = (typeof ProductTranslationScalarFieldEnum)[keyof typeof ProductTranslationScalarFieldEnum];
|
|
350
|
+
export declare const ModifierGroupScalarFieldEnum: {
|
|
351
|
+
readonly id: "id";
|
|
352
|
+
readonly selectMin: "selectMin";
|
|
353
|
+
readonly selectMax: "selectMax";
|
|
354
|
+
readonly createdAt: "createdAt";
|
|
355
|
+
readonly updatedAt: "updatedAt";
|
|
356
|
+
};
|
|
357
|
+
export type ModifierGroupScalarFieldEnum = (typeof ModifierGroupScalarFieldEnum)[keyof typeof ModifierGroupScalarFieldEnum];
|
|
358
|
+
export declare const ModifierGroupTranslationScalarFieldEnum: {
|
|
359
|
+
readonly id: "id";
|
|
360
|
+
readonly locale: "locale";
|
|
361
|
+
readonly title: "title";
|
|
362
|
+
readonly description: "description";
|
|
363
|
+
readonly modifierGroupId: "modifierGroupId";
|
|
364
|
+
};
|
|
365
|
+
export type ModifierGroupTranslationScalarFieldEnum = (typeof ModifierGroupTranslationScalarFieldEnum)[keyof typeof ModifierGroupTranslationScalarFieldEnum];
|
|
366
|
+
export declare const ModifierScalarFieldEnum: {
|
|
367
|
+
readonly id: "id";
|
|
368
|
+
readonly title: "title";
|
|
369
|
+
readonly description: "description";
|
|
370
|
+
readonly sku: "sku";
|
|
371
|
+
readonly price: "price";
|
|
372
|
+
readonly modifierGroupId: "modifierGroupId";
|
|
373
|
+
};
|
|
374
|
+
export type ModifierScalarFieldEnum = (typeof ModifierScalarFieldEnum)[keyof typeof ModifierScalarFieldEnum];
|
|
375
|
+
export declare const OrderScalarFieldEnum: {
|
|
376
|
+
readonly id: "id";
|
|
377
|
+
readonly organizationId: "organizationId";
|
|
378
|
+
readonly userId: "userId";
|
|
379
|
+
readonly paymentId: "paymentId";
|
|
380
|
+
readonly token: "token";
|
|
381
|
+
readonly expiresAt: "expiresAt";
|
|
382
|
+
readonly referenceId: "referenceId";
|
|
383
|
+
readonly fulfilmentMethod: "fulfilmentMethod";
|
|
384
|
+
readonly shippingMethodId: "shippingMethodId";
|
|
385
|
+
readonly shippingAddressId: "shippingAddressId";
|
|
386
|
+
readonly dateOfExecution: "dateOfExecution";
|
|
387
|
+
readonly currency: "currency";
|
|
388
|
+
readonly sourceIp: "sourceIp";
|
|
389
|
+
readonly acceptedAt: "acceptedAt";
|
|
390
|
+
readonly readyForDispatchAt: "readyForDispatchAt";
|
|
391
|
+
readonly dispatchedAt: "dispatchedAt";
|
|
392
|
+
readonly completedAt: "completedAt";
|
|
393
|
+
readonly cancelledAt: "cancelledAt";
|
|
394
|
+
readonly deletedAt: "deletedAt";
|
|
395
|
+
readonly deletedBy: "deletedBy";
|
|
396
|
+
readonly createdAt: "createdAt";
|
|
397
|
+
readonly updatedAt: "updatedAt";
|
|
398
|
+
};
|
|
399
|
+
export type OrderScalarFieldEnum = (typeof OrderScalarFieldEnum)[keyof typeof OrderScalarFieldEnum];
|
|
400
|
+
export declare const OrderItemScalarFieldEnum: {
|
|
401
|
+
readonly id: "id";
|
|
402
|
+
readonly quantity: "quantity";
|
|
403
|
+
readonly unitPrice: "unitPrice";
|
|
404
|
+
readonly totalPrice: "totalPrice";
|
|
405
|
+
readonly orderId: "orderId";
|
|
406
|
+
readonly rawData: "rawData";
|
|
407
|
+
readonly productSnapshotId: "productSnapshotId";
|
|
408
|
+
readonly imageId: "imageId";
|
|
409
|
+
};
|
|
410
|
+
export type OrderItemScalarFieldEnum = (typeof OrderItemScalarFieldEnum)[keyof typeof OrderItemScalarFieldEnum];
|
|
411
|
+
export declare const OrderItemTranslationScalarFieldEnum: {
|
|
412
|
+
readonly id: "id";
|
|
413
|
+
readonly locale: "locale";
|
|
414
|
+
readonly title: "title";
|
|
415
|
+
readonly subtitle: "subtitle";
|
|
416
|
+
readonly orderItemId: "orderItemId";
|
|
417
|
+
};
|
|
418
|
+
export type OrderItemTranslationScalarFieldEnum = (typeof OrderItemTranslationScalarFieldEnum)[keyof typeof OrderItemTranslationScalarFieldEnum];
|
|
419
|
+
export declare const PaymentScalarFieldEnum: {
|
|
420
|
+
readonly id: "id";
|
|
421
|
+
readonly method: "method";
|
|
422
|
+
readonly provider: "provider";
|
|
423
|
+
readonly shipping: "shipping";
|
|
424
|
+
readonly subtotal: "subtotal";
|
|
425
|
+
readonly total: "total";
|
|
426
|
+
readonly discount: "discount";
|
|
427
|
+
readonly currency: "currency";
|
|
428
|
+
readonly status: "status";
|
|
429
|
+
readonly createdAt: "createdAt";
|
|
430
|
+
readonly updatedAt: "updatedAt";
|
|
431
|
+
};
|
|
432
|
+
export type PaymentScalarFieldEnum = (typeof PaymentScalarFieldEnum)[keyof typeof PaymentScalarFieldEnum];
|
|
433
|
+
export declare const PaymentSessionScalarFieldEnum: {
|
|
434
|
+
readonly id: "id";
|
|
435
|
+
readonly referenceId: "referenceId";
|
|
436
|
+
readonly amount: "amount";
|
|
437
|
+
readonly currency: "currency";
|
|
438
|
+
readonly rawData: "rawData";
|
|
439
|
+
readonly capturedAt: "capturedAt";
|
|
440
|
+
readonly expiredAt: "expiredAt";
|
|
441
|
+
readonly createdAt: "createdAt";
|
|
442
|
+
readonly updatedAt: "updatedAt";
|
|
443
|
+
readonly paymentId: "paymentId";
|
|
444
|
+
};
|
|
445
|
+
export type PaymentSessionScalarFieldEnum = (typeof PaymentSessionScalarFieldEnum)[keyof typeof PaymentSessionScalarFieldEnum];
|
|
446
|
+
export declare const CampaignScalarFieldEnum: {
|
|
447
|
+
readonly id: "id";
|
|
448
|
+
readonly title: "title";
|
|
449
|
+
readonly type: "type";
|
|
450
|
+
readonly validFrom: "validFrom";
|
|
451
|
+
readonly validTo: "validTo";
|
|
452
|
+
readonly organizationId: "organizationId";
|
|
453
|
+
readonly amount: "amount";
|
|
454
|
+
readonly percentage: "percentage";
|
|
455
|
+
readonly publishedAt: "publishedAt";
|
|
456
|
+
readonly publishedBy: "publishedBy";
|
|
457
|
+
readonly createdAt: "createdAt";
|
|
458
|
+
readonly updatedAt: "updatedAt";
|
|
459
|
+
};
|
|
460
|
+
export type CampaignScalarFieldEnum = (typeof CampaignScalarFieldEnum)[keyof typeof CampaignScalarFieldEnum];
|
|
461
|
+
export declare const ShippingMethodScalarFieldEnum: {
|
|
462
|
+
readonly id: "id";
|
|
463
|
+
readonly title: "title";
|
|
464
|
+
readonly providerName: "providerName";
|
|
465
|
+
readonly providerLogoId: "providerLogoId";
|
|
466
|
+
readonly requireDateOfDelivery: "requireDateOfDelivery";
|
|
467
|
+
readonly organizationId: "organizationId";
|
|
468
|
+
readonly archivedAt: "archivedAt";
|
|
469
|
+
readonly archivedBy: "archivedBy";
|
|
470
|
+
readonly publishedAt: "publishedAt";
|
|
471
|
+
readonly publishedBy: "publishedBy";
|
|
472
|
+
readonly createdAt: "createdAt";
|
|
473
|
+
readonly createdBy: "createdBy";
|
|
474
|
+
readonly updatedAt: "updatedAt";
|
|
475
|
+
readonly updatedBy: "updatedBy";
|
|
476
|
+
};
|
|
477
|
+
export type ShippingMethodScalarFieldEnum = (typeof ShippingMethodScalarFieldEnum)[keyof typeof ShippingMethodScalarFieldEnum];
|
|
478
|
+
export declare const ShippingZoneScalarFieldEnum: {
|
|
479
|
+
readonly id: "id";
|
|
480
|
+
readonly title: "title";
|
|
481
|
+
readonly distanceUpto: "distanceUpto";
|
|
482
|
+
readonly price: "price";
|
|
483
|
+
readonly minimumOrderAmount: "minimumOrderAmount";
|
|
484
|
+
readonly shippingMethodId: "shippingMethodId";
|
|
485
|
+
readonly eta: "eta";
|
|
486
|
+
readonly createdAt: "createdAt";
|
|
487
|
+
readonly updatedAt: "updatedAt";
|
|
488
|
+
};
|
|
489
|
+
export type ShippingZoneScalarFieldEnum = (typeof ShippingZoneScalarFieldEnum)[keyof typeof ShippingZoneScalarFieldEnum];
|
|
490
|
+
export declare const ReservationScalarFieldEnum: {
|
|
491
|
+
readonly id: "id";
|
|
492
|
+
readonly firstname: "firstname";
|
|
493
|
+
readonly lastname: "lastname";
|
|
494
|
+
readonly userId: "userId";
|
|
495
|
+
readonly guests: "guests";
|
|
496
|
+
readonly phone: "phone";
|
|
497
|
+
readonly date: "date";
|
|
498
|
+
readonly referenceId: "referenceId";
|
|
499
|
+
readonly organizationId: "organizationId";
|
|
500
|
+
readonly createdAt: "createdAt";
|
|
501
|
+
readonly acceptedAt: "acceptedAt";
|
|
502
|
+
readonly cancelledAt: "cancelledAt";
|
|
503
|
+
readonly updatedAt: "updatedAt";
|
|
504
|
+
};
|
|
505
|
+
export type ReservationScalarFieldEnum = (typeof ReservationScalarFieldEnum)[keyof typeof ReservationScalarFieldEnum];
|
|
506
|
+
export declare const SortOrder: {
|
|
507
|
+
readonly asc: "asc";
|
|
508
|
+
readonly desc: "desc";
|
|
509
|
+
};
|
|
510
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
511
|
+
export declare const NullableJsonNullValueInput: {
|
|
512
|
+
readonly DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
513
|
+
readonly JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
514
|
+
};
|
|
515
|
+
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput];
|
|
516
|
+
export declare const JsonNullValueInput: {
|
|
517
|
+
readonly JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
518
|
+
};
|
|
519
|
+
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput];
|
|
520
|
+
export declare const QueryMode: {
|
|
521
|
+
readonly default: "default";
|
|
522
|
+
readonly insensitive: "insensitive";
|
|
523
|
+
};
|
|
524
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
|
|
525
|
+
export declare const NullsOrder: {
|
|
526
|
+
readonly first: "first";
|
|
527
|
+
readonly last: "last";
|
|
528
|
+
};
|
|
529
|
+
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
|
|
530
|
+
export declare const JsonNullValueFilter: {
|
|
531
|
+
readonly DbNull: import("@prisma/client-runtime-utils").DbNullClass;
|
|
532
|
+
readonly JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
|
|
533
|
+
readonly AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
|
|
534
|
+
};
|
|
535
|
+
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter];
|