@shophost/rest-api 2.0.30 → 2.0.32
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/package.json +18 -13
- package/scripts/minify.mjs +123 -0
- package/src/app.js +1 -53
- package/src/core/auth/auth.schema.js +1 -41
- package/src/core/auth/auth.util.js +1 -44
- package/src/core/auth/better-auth.lib.js +1 -100
- package/src/core/auth/generate-password-hash.util.d.ts +0 -3
- package/src/core/auth/generate-password-hash.util.js +1 -30
- package/src/core/auth/headers.schema.js +1 -22
- package/src/core/auth/user.schema.js +1 -30
- package/src/core/db/__generated__/client/browser.d.ts +0 -128
- package/src/core/db/__generated__/client/browser.js +1 -18
- package/src/core/db/__generated__/client/client.d.ts +0 -143
- package/src/core/db/__generated__/client/client.js +1 -35
- package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
- package/src/core/db/__generated__/client/enums.js +1 -200
- package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
- package/src/core/db/__generated__/client/internal/class.js +1 -55
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Account.js +1 -2
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
- package/src/core/db/__generated__/client/models/Address.js +1 -2
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
- package/src/core/db/__generated__/client/models/Campaign.js +1 -2
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
- package/src/core/db/__generated__/client/models/File.d.ts +0 -752
- package/src/core/db/__generated__/client/models/File.js +1 -2
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Invitation.js +1 -2
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
- package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
- package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Member.js +1 -2
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
- package/src/core/db/__generated__/client/models/Modifier.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
- package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
- package/src/core/db/__generated__/client/models/Order.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
- package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
- package/src/core/db/__generated__/client/models/Organization.js +1 -2
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
- package/src/core/db/__generated__/client/models/Payment.js +1 -2
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
- package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
- package/src/core/db/__generated__/client/models/Product.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
- package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
- package/src/core/db/__generated__/client/models/Reservation.js +1 -2
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Session.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
- package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
- package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
- package/src/core/db/__generated__/client/models/User.d.ts +0 -736
- package/src/core/db/__generated__/client/models/User.js +1 -2
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
- package/src/core/db/__generated__/client/models/Verification.js +1 -2
- package/src/core/db/__generated__/client/models.js +1 -2
- package/src/core/db/index.js +1 -2
- package/src/core/exceptions/http-exception.js +1 -9
- package/src/core/hono/hono.js +1 -123
- package/src/core/lib/prisma.d.ts +9 -1
- package/src/core/lib/prisma.js +1 -11
- package/src/core/logging/pino.js +1 -5
- package/src/core/notifications/email.service.d.ts +0 -15
- package/src/core/notifications/email.service.js +1 -116
- package/src/core/openapi/openapi.lib.js +1 -26
- package/src/core/types/google-maps.types.js +1 -2
- package/src/core/utils/currency.util.js +1 -11
- package/src/core/utils/env.util.js +1 -8
- package/src/core/utils/object.util.d.ts +0 -10
- package/src/core/utils/object.util.js +1 -39
- package/src/core/utils/translations.util.js +0 -2
- package/src/core/utils/zod.util.d.ts +0 -12
- package/src/core/utils/zod.util.js +1 -85
- package/src/db.js +1 -3
- package/src/features/access/access.handler.js +1 -91
- package/src/features/access/access.route.js +1 -220
- package/src/features/access/access.schema.js +1 -108
- package/src/features/access/access.service.js +1 -294
- package/src/features/cart/cart.handler.js +1 -17
- package/src/features/cart/cart.route.js +1 -32
- package/src/features/cart/cart.schema.js +1 -39
- package/src/features/cart/cart.service.d.ts +0 -7
- package/src/features/cart/cart.service.js +1 -97
- package/src/features/cart/cart.util.js +1 -76
- package/src/features/file/file.handler.js +1 -23
- package/src/features/file/file.route.js +1 -34
- package/src/features/file/file.schema.js +1 -77
- package/src/features/file/file.service.d.ts +0 -6
- package/src/features/file/file.service.js +1 -66
- package/src/features/health/health.handler.js +1 -10
- package/src/features/health/health.route.js +1 -25
- package/src/features/index.js +1 -16
- package/src/features/location/location.handler.js +1 -25
- package/src/features/location/location.route.js +1 -56
- package/src/features/location/location.schema.js +1 -50
- package/src/features/location/location.service.d.ts +0 -3
- package/src/features/location/location.service.js +1 -141
- package/src/features/manufacturer/manufacturer.handler.js +1 -53
- package/src/features/manufacturer/manufacturer.route.js +1 -97
- package/src/features/manufacturer/manufacturer.schema.js +1 -125
- package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
- package/src/features/manufacturer/manufacturer.service.js +1 -190
- package/src/features/order/emails/order-confirmation.email.js +1 -229
- package/src/features/order/emails/order-notification.email.js +1 -229
- package/src/features/order/fulfilment.schema.js +1 -3
- package/src/features/order/order.handler.js +1 -54
- package/src/features/order/order.route.js +1 -111
- package/src/features/order/order.schema.js +1 -158
- package/src/features/order/order.service.d.ts +0 -15
- package/src/features/order/order.service.js +1 -306
- package/src/features/order/recipient.schema.js +1 -38
- package/src/features/organization/legal-entity.schema.js +1 -83
- package/src/features/organization/organization-configuration.schema.js +1 -115
- package/src/features/organization/organization.handler.js +1 -48
- package/src/features/organization/organization.route.js +1 -84
- package/src/features/organization/organization.schema.js +1 -64
- package/src/features/organization/organization.service.d.ts +0 -15
- package/src/features/organization/organization.service.js +1 -334
- package/src/features/payment/payment.handler.js +1 -16
- package/src/features/payment/payment.route.js +1 -22
- package/src/features/payment/payment.schema.js +1 -46
- package/src/features/payment/payment.service.js +1 -100
- package/src/features/payment/stripe.service.js +1 -164
- package/src/features/product/product-modifier.schema.js +1 -84
- package/src/features/product/product.handler.js +1 -87
- package/src/features/product/product.route.js +1 -179
- package/src/features/product/product.schema.js +1 -143
- package/src/features/product/product.service.d.ts +0 -25
- package/src/features/product/product.service.js +1 -440
- package/src/features/product-category/product-category.handler.js +1 -59
- package/src/features/product-category/product-category.route.js +1 -139
- package/src/features/product-category/product-category.schema.js +1 -86
- package/src/features/product-category/product-category.service.d.ts +0 -22
- package/src/features/product-category/product-category.service.js +1 -220
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
- package/src/features/reservation/emails/reservation-notification.email.js +1 -93
- package/src/features/reservation/reservation.handler.js +1 -65
- package/src/features/reservation/reservation.route.js +1 -167
- package/src/features/reservation/reservation.schema.js +1 -51
- package/src/features/reservation/reservation.service.d.ts +0 -18
- package/src/features/reservation/reservation.service.js +1 -231
- package/src/features/shipping/shipping.handler.js +1 -32
- package/src/features/shipping/shipping.route.js +1 -51
- package/src/features/shipping/shipping.service.d.ts +0 -7
- package/src/features/shipping/shipping.service.js +1 -96
- package/src/features/shipping-method/shipping-method.handler.js +1 -60
- package/src/features/shipping-method/shipping-method.route.js +1 -144
- package/src/features/shipping-method/shipping-method.schema.js +1 -48
- package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
- package/src/features/shipping-method/shipping-method.service.js +1 -229
- package/src/features/shipping-method/shipping-zone.schema.js +1 -31
- package/src/features/webhook/webhook.handler.js +1 -50
- package/src/features/webhook/webhook.route.js +1 -33
- package/src/index.js +1 -6
- package/src/integrations/next.js +1 -82
- package/src/schemas/address.schema.d.ts +0 -8
- package/src/schemas/address.schema.js +1 -112
- package/src/schemas/currency.schema.d.ts +0 -42
- package/src/schemas/currency.schema.js +1 -118
- package/src/schemas/error.schema.js +1 -12
- package/src/schemas/index.js +1 -29
- package/src/schemas/locales.schema.js +1 -238
- package/src/schemas/number.schema.js +1 -29
- package/src/schemas/pagination.schema.js +1 -54
- package/src/schemas/params.schema.js +1 -20
- package/src/schemas/queries.schema.js +1 -6
- package/src/test/global-setup.d.ts +1 -0
- package/src/test/global-setup.js +1 -0
- package/src/test/integration/api-fixtures.d.ts +4 -16
- package/src/test/integration/api-fixtures.js +1 -225
- package/src/test/integration/seed.d.ts +81 -0
- package/src/test/integration/seed.js +1 -0
- package/src/test/integration/test-helpers.d.ts +107 -924
- package/src/test/integration/test-helpers.js +1 -1100
- package/src/test/setup-test-env.d.ts +1 -1
- package/src/test/setup-test-env.js +1 -29
- package/src/app.js.map +0 -1
- package/src/core/auth/auth.schema.js.map +0 -1
- package/src/core/auth/auth.util.js.map +0 -1
- package/src/core/auth/better-auth.lib.js.map +0 -1
- package/src/core/auth/generate-password-hash.util.js.map +0 -1
- package/src/core/auth/headers.schema.js.map +0 -1
- package/src/core/auth/user.schema.js.map +0 -1
- package/src/core/db/__generated__/client/browser.js.map +0 -1
- package/src/core/db/__generated__/client/client.js.map +0 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/core/db/__generated__/client/enums.js.map +0 -1
- package/src/core/db/__generated__/client/internal/class.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
- package/src/core/db/__generated__/client/models/Account.js.map +0 -1
- package/src/core/db/__generated__/client/models/Address.js.map +0 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/File.js.map +0 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Member.js.map +0 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/Order.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/core/db/__generated__/client/models/Product.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Session.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/core/db/__generated__/client/models/User.js.map +0 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/core/db/__generated__/client/models.js.map +0 -1
- package/src/core/db/index.js.map +0 -1
- package/src/core/exceptions/http-exception.js.map +0 -1
- package/src/core/hono/hono.js.map +0 -1
- package/src/core/lib/prisma.js.map +0 -1
- package/src/core/logging/pino.js.map +0 -1
- package/src/core/notifications/email.service.js.map +0 -1
- package/src/core/openapi/openapi.lib.js.map +0 -1
- package/src/core/types/google-maps.types.js.map +0 -1
- package/src/core/utils/currency.util.js.map +0 -1
- package/src/core/utils/env.util.js.map +0 -1
- package/src/core/utils/object.util.js.map +0 -1
- package/src/core/utils/translations.util.js.map +0 -1
- package/src/core/utils/zod.util.js.map +0 -1
- package/src/db.js.map +0 -1
- package/src/features/access/access.handler.js.map +0 -1
- package/src/features/access/access.route.js.map +0 -1
- package/src/features/access/access.schema.js.map +0 -1
- package/src/features/access/access.service.js.map +0 -1
- package/src/features/cart/cart.handler.js.map +0 -1
- package/src/features/cart/cart.route.js.map +0 -1
- package/src/features/cart/cart.schema.js.map +0 -1
- package/src/features/cart/cart.service.js.map +0 -1
- package/src/features/cart/cart.util.js.map +0 -1
- package/src/features/file/file.handler.js.map +0 -1
- package/src/features/file/file.route.js.map +0 -1
- package/src/features/file/file.schema.js.map +0 -1
- package/src/features/file/file.service.js.map +0 -1
- package/src/features/health/health.handler.js.map +0 -1
- package/src/features/health/health.route.js.map +0 -1
- package/src/features/index.js.map +0 -1
- package/src/features/location/location.handler.js.map +0 -1
- package/src/features/location/location.route.js.map +0 -1
- package/src/features/location/location.schema.js.map +0 -1
- package/src/features/location/location.service.js.map +0 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
- package/src/features/manufacturer/manufacturer.route.js.map +0 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
- package/src/features/manufacturer/manufacturer.service.js.map +0 -1
- package/src/features/order/emails/order-confirmation.email.js.map +0 -1
- package/src/features/order/emails/order-notification.email.js.map +0 -1
- package/src/features/order/fulfilment.schema.js.map +0 -1
- package/src/features/order/order.handler.js.map +0 -1
- package/src/features/order/order.route.js.map +0 -1
- package/src/features/order/order.schema.js.map +0 -1
- package/src/features/order/order.service.js.map +0 -1
- package/src/features/order/recipient.schema.js.map +0 -1
- package/src/features/organization/legal-entity.schema.js.map +0 -1
- package/src/features/organization/organization-configuration.schema.js.map +0 -1
- package/src/features/organization/organization.handler.js.map +0 -1
- package/src/features/organization/organization.route.js.map +0 -1
- package/src/features/organization/organization.schema.js.map +0 -1
- package/src/features/organization/organization.service.js.map +0 -1
- package/src/features/payment/payment.handler.js.map +0 -1
- package/src/features/payment/payment.route.js.map +0 -1
- package/src/features/payment/payment.schema.js.map +0 -1
- package/src/features/payment/payment.service.js.map +0 -1
- package/src/features/payment/stripe.service.js.map +0 -1
- package/src/features/product/product-modifier.schema.js.map +0 -1
- package/src/features/product/product.handler.js.map +0 -1
- package/src/features/product/product.route.js.map +0 -1
- package/src/features/product/product.schema.js.map +0 -1
- package/src/features/product/product.service.js.map +0 -1
- package/src/features/product-category/product-category.handler.js.map +0 -1
- package/src/features/product-category/product-category.route.js.map +0 -1
- package/src/features/product-category/product-category.schema.js.map +0 -1
- package/src/features/product-category/product-category.service.js.map +0 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
- package/src/features/reservation/reservation.handler.js.map +0 -1
- package/src/features/reservation/reservation.route.js.map +0 -1
- package/src/features/reservation/reservation.schema.js.map +0 -1
- package/src/features/reservation/reservation.service.js.map +0 -1
- package/src/features/shipping/shipping.handler.js.map +0 -1
- package/src/features/shipping/shipping.route.js.map +0 -1
- package/src/features/shipping/shipping.service.js.map +0 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
- package/src/features/shipping-method/shipping-method.route.js.map +0 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
- package/src/features/shipping-method/shipping-method.service.js.map +0 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
- package/src/features/webhook/webhook.handler.js.map +0 -1
- package/src/features/webhook/webhook.route.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/integrations/next.js.map +0 -1
- package/src/schemas/address.schema.js.map +0 -1
- package/src/schemas/currency.schema.js.map +0 -1
- package/src/schemas/error.schema.js.map +0 -1
- package/src/schemas/index.js.map +0 -1
- package/src/schemas/locales.schema.js.map +0 -1
- package/src/schemas/number.schema.js.map +0 -1
- package/src/schemas/pagination.schema.js.map +0 -1
- package/src/schemas/params.schema.js.map +0 -1
- package/src/schemas/queries.schema.js.map +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.js.map +0 -1
|
@@ -2,163 +2,35 @@ import * as Prisma from './internal/prismaNamespaceBrowser';
|
|
|
2
2
|
export { Prisma };
|
|
3
3
|
export * as $Enums from './enums';
|
|
4
4
|
export * from './enums';
|
|
5
|
-
/**
|
|
6
|
-
* Model User
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
5
|
export type User = Prisma.UserModel;
|
|
10
|
-
/**
|
|
11
|
-
* Model Session
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
6
|
export type Session = Prisma.SessionModel;
|
|
15
|
-
/**
|
|
16
|
-
* Model Account
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
7
|
export type Account = Prisma.AccountModel;
|
|
20
|
-
/**
|
|
21
|
-
* Model Verification
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
8
|
export type Verification = Prisma.VerificationModel;
|
|
25
|
-
/**
|
|
26
|
-
* Model Member
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
9
|
export type Member = Prisma.MemberModel;
|
|
30
|
-
/**
|
|
31
|
-
* Model Invitation
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
10
|
export type Invitation = Prisma.InvitationModel;
|
|
35
|
-
/**
|
|
36
|
-
* Model Organization
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
11
|
export type Organization = Prisma.OrganizationModel;
|
|
40
|
-
/**
|
|
41
|
-
* Model OpeningTimes
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
12
|
export type OpeningTimes = Prisma.OpeningTimesModel;
|
|
45
|
-
/**
|
|
46
|
-
* Model ClosingTimes
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
13
|
export type ClosingTimes = Prisma.ClosingTimesModel;
|
|
50
|
-
/**
|
|
51
|
-
* Model OrganizationConfiguration
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
14
|
export type OrganizationConfiguration = Prisma.OrganizationConfigurationModel;
|
|
55
|
-
/**
|
|
56
|
-
* Model Address
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
15
|
export type Address = Prisma.AddressModel;
|
|
60
|
-
/**
|
|
61
|
-
* Model LegalEntity
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
16
|
export type LegalEntity = Prisma.LegalEntityModel;
|
|
65
|
-
/**
|
|
66
|
-
* Model File
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
17
|
export type File = Prisma.FileModel;
|
|
70
|
-
/**
|
|
71
|
-
* Model Manufacturer
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
18
|
export type Manufacturer = Prisma.ManufacturerModel;
|
|
75
|
-
/**
|
|
76
|
-
* Model ManufacturerTranslation
|
|
77
|
-
*
|
|
78
|
-
*/
|
|
79
19
|
export type ManufacturerTranslation = Prisma.ManufacturerTranslationModel;
|
|
80
|
-
/**
|
|
81
|
-
* Model ProductCategory
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
20
|
export type ProductCategory = Prisma.ProductCategoryModel;
|
|
85
|
-
/**
|
|
86
|
-
* Model ProductCategoryTranslation
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
21
|
export type ProductCategoryTranslation = Prisma.ProductCategoryTranslationModel;
|
|
90
|
-
/**
|
|
91
|
-
* Model Product
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
22
|
export type Product = Prisma.ProductModel;
|
|
95
|
-
/**
|
|
96
|
-
* Model ProductSnapshot
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
23
|
export type ProductSnapshot = Prisma.ProductSnapshotModel;
|
|
100
|
-
/**
|
|
101
|
-
* Model ProductTranslation
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
104
24
|
export type ProductTranslation = Prisma.ProductTranslationModel;
|
|
105
|
-
/**
|
|
106
|
-
* Model ModifierGroup
|
|
107
|
-
*
|
|
108
|
-
*/
|
|
109
25
|
export type ModifierGroup = Prisma.ModifierGroupModel;
|
|
110
|
-
/**
|
|
111
|
-
* Model ModifierGroupTranslation
|
|
112
|
-
*
|
|
113
|
-
*/
|
|
114
26
|
export type ModifierGroupTranslation = Prisma.ModifierGroupTranslationModel;
|
|
115
|
-
/**
|
|
116
|
-
* Model Modifier
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
27
|
export type Modifier = Prisma.ModifierModel;
|
|
120
|
-
/**
|
|
121
|
-
* Model Order
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
28
|
export type Order = Prisma.OrderModel;
|
|
125
|
-
/**
|
|
126
|
-
* Model OrderItem
|
|
127
|
-
*
|
|
128
|
-
*/
|
|
129
29
|
export type OrderItem = Prisma.OrderItemModel;
|
|
130
|
-
/**
|
|
131
|
-
* Model OrderItemTranslation
|
|
132
|
-
*
|
|
133
|
-
*/
|
|
134
30
|
export type OrderItemTranslation = Prisma.OrderItemTranslationModel;
|
|
135
|
-
/**
|
|
136
|
-
* Model Payment
|
|
137
|
-
*
|
|
138
|
-
*/
|
|
139
31
|
export type Payment = Prisma.PaymentModel;
|
|
140
|
-
/**
|
|
141
|
-
* Model PaymentSession
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
32
|
export type PaymentSession = Prisma.PaymentSessionModel;
|
|
145
|
-
/**
|
|
146
|
-
* Model Campaign
|
|
147
|
-
*
|
|
148
|
-
*/
|
|
149
33
|
export type Campaign = Prisma.CampaignModel;
|
|
150
|
-
/**
|
|
151
|
-
* Model ShippingMethod
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
34
|
export type ShippingMethod = Prisma.ShippingMethodModel;
|
|
155
|
-
/**
|
|
156
|
-
* Model ShippingZone
|
|
157
|
-
*
|
|
158
|
-
*/
|
|
159
35
|
export type ShippingZone = Prisma.ShippingZoneModel;
|
|
160
|
-
/**
|
|
161
|
-
* Model Reservation
|
|
162
|
-
*
|
|
163
|
-
*/
|
|
164
36
|
export type Reservation = Prisma.ReservationModel;
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
7
|
-
* Use it to get access to models, enums, and input types.
|
|
8
|
-
*
|
|
9
|
-
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
10
|
-
* See `client.ts` for the standard, server-side entry point.
|
|
11
|
-
*
|
|
12
|
-
* 🟢 You can import this file directly.
|
|
13
|
-
*/
|
|
14
|
-
import * as Prisma from './internal/prismaNamespaceBrowser';
|
|
15
|
-
export { Prisma };
|
|
16
|
-
export * as $Enums from './enums';
|
|
17
|
-
export * from './enums';
|
|
18
|
-
//# sourceMappingURL=browser.js.map
|
|
1
|
+
import*as r from"./internal/prismaNamespaceBrowser";export{r as Prisma};export*as $Enums from"./enums";export*from"./enums";
|
|
@@ -3,181 +3,38 @@ import * as $Class from "./internal/class";
|
|
|
3
3
|
import * as Prisma from "./internal/prismaNamespace";
|
|
4
4
|
export * as $Enums from './enums';
|
|
5
5
|
export * from "./enums";
|
|
6
|
-
/**
|
|
7
|
-
* ## Prisma Client
|
|
8
|
-
*
|
|
9
|
-
* Type-safe database client for TypeScript
|
|
10
|
-
* @example
|
|
11
|
-
* ```
|
|
12
|
-
* const prisma = new PrismaClient({
|
|
13
|
-
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
14
|
-
* })
|
|
15
|
-
* // Fetch zero or more Users
|
|
16
|
-
* const users = await prisma.user.findMany()
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
20
|
-
*/
|
|
21
6
|
export declare const PrismaClient: $Class.PrismaClientConstructor;
|
|
22
7
|
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
8
|
export { Prisma };
|
|
24
|
-
/**
|
|
25
|
-
* Model User
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
export type User = Prisma.UserModel;
|
|
29
|
-
/**
|
|
30
|
-
* Model Session
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
10
|
export type Session = Prisma.SessionModel;
|
|
34
|
-
/**
|
|
35
|
-
* Model Account
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
11
|
export type Account = Prisma.AccountModel;
|
|
39
|
-
/**
|
|
40
|
-
* Model Verification
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
12
|
export type Verification = Prisma.VerificationModel;
|
|
44
|
-
/**
|
|
45
|
-
* Model Member
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
13
|
export type Member = Prisma.MemberModel;
|
|
49
|
-
/**
|
|
50
|
-
* Model Invitation
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
14
|
export type Invitation = Prisma.InvitationModel;
|
|
54
|
-
/**
|
|
55
|
-
* Model Organization
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
15
|
export type Organization = Prisma.OrganizationModel;
|
|
59
|
-
/**
|
|
60
|
-
* Model OpeningTimes
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
16
|
export type OpeningTimes = Prisma.OpeningTimesModel;
|
|
64
|
-
/**
|
|
65
|
-
* Model ClosingTimes
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
17
|
export type ClosingTimes = Prisma.ClosingTimesModel;
|
|
69
|
-
/**
|
|
70
|
-
* Model OrganizationConfiguration
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
18
|
export type OrganizationConfiguration = Prisma.OrganizationConfigurationModel;
|
|
74
|
-
/**
|
|
75
|
-
* Model Address
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
19
|
export type Address = Prisma.AddressModel;
|
|
79
|
-
/**
|
|
80
|
-
* Model LegalEntity
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
20
|
export type LegalEntity = Prisma.LegalEntityModel;
|
|
84
|
-
/**
|
|
85
|
-
* Model File
|
|
86
|
-
*
|
|
87
|
-
*/
|
|
88
21
|
export type File = Prisma.FileModel;
|
|
89
|
-
/**
|
|
90
|
-
* Model Manufacturer
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
22
|
export type Manufacturer = Prisma.ManufacturerModel;
|
|
94
|
-
/**
|
|
95
|
-
* Model ManufacturerTranslation
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
23
|
export type ManufacturerTranslation = Prisma.ManufacturerTranslationModel;
|
|
99
|
-
/**
|
|
100
|
-
* Model ProductCategory
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
24
|
export type ProductCategory = Prisma.ProductCategoryModel;
|
|
104
|
-
/**
|
|
105
|
-
* Model ProductCategoryTranslation
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
25
|
export type ProductCategoryTranslation = Prisma.ProductCategoryTranslationModel;
|
|
109
|
-
/**
|
|
110
|
-
* Model Product
|
|
111
|
-
*
|
|
112
|
-
*/
|
|
113
26
|
export type Product = Prisma.ProductModel;
|
|
114
|
-
/**
|
|
115
|
-
* Model ProductSnapshot
|
|
116
|
-
*
|
|
117
|
-
*/
|
|
118
27
|
export type ProductSnapshot = Prisma.ProductSnapshotModel;
|
|
119
|
-
/**
|
|
120
|
-
* Model ProductTranslation
|
|
121
|
-
*
|
|
122
|
-
*/
|
|
123
28
|
export type ProductTranslation = Prisma.ProductTranslationModel;
|
|
124
|
-
/**
|
|
125
|
-
* Model ModifierGroup
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
29
|
export type ModifierGroup = Prisma.ModifierGroupModel;
|
|
129
|
-
/**
|
|
130
|
-
* Model ModifierGroupTranslation
|
|
131
|
-
*
|
|
132
|
-
*/
|
|
133
30
|
export type ModifierGroupTranslation = Prisma.ModifierGroupTranslationModel;
|
|
134
|
-
/**
|
|
135
|
-
* Model Modifier
|
|
136
|
-
*
|
|
137
|
-
*/
|
|
138
31
|
export type Modifier = Prisma.ModifierModel;
|
|
139
|
-
/**
|
|
140
|
-
* Model Order
|
|
141
|
-
*
|
|
142
|
-
*/
|
|
143
32
|
export type Order = Prisma.OrderModel;
|
|
144
|
-
/**
|
|
145
|
-
* Model OrderItem
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
33
|
export type OrderItem = Prisma.OrderItemModel;
|
|
149
|
-
/**
|
|
150
|
-
* Model OrderItemTranslation
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
34
|
export type OrderItemTranslation = Prisma.OrderItemTranslationModel;
|
|
154
|
-
/**
|
|
155
|
-
* Model Payment
|
|
156
|
-
*
|
|
157
|
-
*/
|
|
158
35
|
export type Payment = Prisma.PaymentModel;
|
|
159
|
-
/**
|
|
160
|
-
* Model PaymentSession
|
|
161
|
-
*
|
|
162
|
-
*/
|
|
163
36
|
export type PaymentSession = Prisma.PaymentSessionModel;
|
|
164
|
-
/**
|
|
165
|
-
* Model Campaign
|
|
166
|
-
*
|
|
167
|
-
*/
|
|
168
37
|
export type Campaign = Prisma.CampaignModel;
|
|
169
|
-
/**
|
|
170
|
-
* Model ShippingMethod
|
|
171
|
-
*
|
|
172
|
-
*/
|
|
173
38
|
export type ShippingMethod = Prisma.ShippingMethodModel;
|
|
174
|
-
/**
|
|
175
|
-
* Model ShippingZone
|
|
176
|
-
*
|
|
177
|
-
*/
|
|
178
39
|
export type ShippingZone = Prisma.ShippingZoneModel;
|
|
179
|
-
/**
|
|
180
|
-
* Model Reservation
|
|
181
|
-
*
|
|
182
|
-
*/
|
|
183
40
|
export type Reservation = Prisma.ReservationModel;
|
|
@@ -1,35 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
7
|
-
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import * as path from 'node:path';
|
|
12
|
-
import { fileURLToPath } from 'node:url';
|
|
13
|
-
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url));
|
|
14
|
-
import * as $Class from "./internal/class";
|
|
15
|
-
import * as Prisma from "./internal/prismaNamespace";
|
|
16
|
-
export * as $Enums from './enums';
|
|
17
|
-
export * from "./enums";
|
|
18
|
-
/**
|
|
19
|
-
* ## Prisma Client
|
|
20
|
-
*
|
|
21
|
-
* Type-safe database client for TypeScript
|
|
22
|
-
* @example
|
|
23
|
-
* ```
|
|
24
|
-
* const prisma = new PrismaClient({
|
|
25
|
-
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
26
|
-
* })
|
|
27
|
-
* // Fetch zero or more Users
|
|
28
|
-
* const users = await prisma.user.findMany()
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* Read more in our [docs](https://pris.ly/d/client).
|
|
32
|
-
*/
|
|
33
|
-
export const PrismaClient = $Class.getPrismaClientClass();
|
|
34
|
-
export { Prisma };
|
|
35
|
-
//# sourceMappingURL=client.js.map
|
|
1
|
+
import*as r from"node:path";import{fileURLToPath as m}from"node:url";globalThis.__dirname=r.dirname(m(import.meta.url));import*as o from"./internal/class";import*as a from"./internal/prismaNamespace";export*as $Enums from"./enums";export*from"./enums";export const PrismaClient=o.getPrismaClientClass();export{a as Prisma};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|
|
7
|
-
*
|
|
8
|
-
* 🟢 You can import this file directly.
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=commonInputTypes.js.map
|
|
1
|
+
export{};
|
|
@@ -1,200 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* This file exports all enum related types from the schema.
|
|
7
|
-
*
|
|
8
|
-
* 🟢 You can import this file directly.
|
|
9
|
-
*/
|
|
10
|
-
export const FileUploadStatus = {
|
|
11
|
-
pending: 'pending',
|
|
12
|
-
completed: 'completed',
|
|
13
|
-
failed: 'failed'
|
|
14
|
-
};
|
|
15
|
-
export const Locale = {
|
|
16
|
-
af: 'af',
|
|
17
|
-
sq: 'sq',
|
|
18
|
-
ar_dz: 'ar_dz',
|
|
19
|
-
ar_bh: 'ar_bh',
|
|
20
|
-
ar_eg: 'ar_eg',
|
|
21
|
-
ar_iq: 'ar_iq',
|
|
22
|
-
ar_jo: 'ar_jo',
|
|
23
|
-
ar_kw: 'ar_kw',
|
|
24
|
-
ar_lb: 'ar_lb',
|
|
25
|
-
ar_ly: 'ar_ly',
|
|
26
|
-
ar_ma: 'ar_ma',
|
|
27
|
-
ar_om: 'ar_om',
|
|
28
|
-
ar_qa: 'ar_qa',
|
|
29
|
-
ar_sa: 'ar_sa',
|
|
30
|
-
ar_sy: 'ar_sy',
|
|
31
|
-
ar_tn: 'ar_tn',
|
|
32
|
-
ar_ae: 'ar_ae',
|
|
33
|
-
ar_ye: 'ar_ye',
|
|
34
|
-
eu: 'eu',
|
|
35
|
-
be: 'be',
|
|
36
|
-
bg: 'bg',
|
|
37
|
-
ca: 'ca',
|
|
38
|
-
zh_hk: 'zh_hk',
|
|
39
|
-
zh_cn: 'zh_cn',
|
|
40
|
-
zh_sg: 'zh_sg',
|
|
41
|
-
zh_tw: 'zh_tw',
|
|
42
|
-
hr: 'hr',
|
|
43
|
-
cs: 'cs',
|
|
44
|
-
da: 'da',
|
|
45
|
-
nl_be: 'nl_be',
|
|
46
|
-
nl: 'nl',
|
|
47
|
-
en: 'en',
|
|
48
|
-
en_au: 'en_au',
|
|
49
|
-
en_bz: 'en_bz',
|
|
50
|
-
en_ca: 'en_ca',
|
|
51
|
-
en_ie: 'en_ie',
|
|
52
|
-
en_jm: 'en_jm',
|
|
53
|
-
en_nz: 'en_nz',
|
|
54
|
-
en_za: 'en_za',
|
|
55
|
-
en_tt: 'en_tt',
|
|
56
|
-
en_gb: 'en_gb',
|
|
57
|
-
en_us: 'en_us',
|
|
58
|
-
et: 'et',
|
|
59
|
-
fo: 'fo',
|
|
60
|
-
fa: 'fa',
|
|
61
|
-
fi: 'fi',
|
|
62
|
-
fr_be: 'fr_be',
|
|
63
|
-
fr_ca: 'fr_ca',
|
|
64
|
-
fr_lu: 'fr_lu',
|
|
65
|
-
fr: 'fr',
|
|
66
|
-
fr_ch: 'fr_ch',
|
|
67
|
-
gd: 'gd',
|
|
68
|
-
de_at: 'de_at',
|
|
69
|
-
de_li: 'de_li',
|
|
70
|
-
de_lu: 'de_lu',
|
|
71
|
-
de: 'de',
|
|
72
|
-
de_ch: 'de_ch',
|
|
73
|
-
el: 'el',
|
|
74
|
-
he: 'he',
|
|
75
|
-
hi: 'hi',
|
|
76
|
-
hu: 'hu',
|
|
77
|
-
is: 'is',
|
|
78
|
-
id: 'id',
|
|
79
|
-
ga: 'ga',
|
|
80
|
-
it: 'it',
|
|
81
|
-
it_ch: 'it_ch',
|
|
82
|
-
ja: 'ja',
|
|
83
|
-
ko: 'ko',
|
|
84
|
-
ku: 'ku',
|
|
85
|
-
lv: 'lv',
|
|
86
|
-
lt: 'lt',
|
|
87
|
-
mk: 'mk',
|
|
88
|
-
ml: 'ml',
|
|
89
|
-
ms: 'ms',
|
|
90
|
-
mt: 'mt',
|
|
91
|
-
no: 'no',
|
|
92
|
-
nb: 'nb',
|
|
93
|
-
nn: 'nn',
|
|
94
|
-
pl: 'pl',
|
|
95
|
-
pt_br: 'pt_br',
|
|
96
|
-
pt: 'pt',
|
|
97
|
-
pa: 'pa',
|
|
98
|
-
rm: 'rm',
|
|
99
|
-
ro: 'ro',
|
|
100
|
-
ro_md: 'ro_md',
|
|
101
|
-
ru: 'ru',
|
|
102
|
-
ru_md: 'ru_md',
|
|
103
|
-
sr: 'sr',
|
|
104
|
-
sk: 'sk',
|
|
105
|
-
sl: 'sl',
|
|
106
|
-
sb: 'sb',
|
|
107
|
-
es_ar: 'es_ar',
|
|
108
|
-
es_bo: 'es_bo',
|
|
109
|
-
es_cl: 'es_cl',
|
|
110
|
-
es_co: 'es_co',
|
|
111
|
-
es_cr: 'es_cr',
|
|
112
|
-
es_do: 'es_do',
|
|
113
|
-
es_ec: 'es_ec',
|
|
114
|
-
es_sv: 'es_sv',
|
|
115
|
-
es_gt: 'es_gt',
|
|
116
|
-
es_hn: 'es_hn',
|
|
117
|
-
es_mx: 'es_mx',
|
|
118
|
-
es: 'es',
|
|
119
|
-
sv: 'sv',
|
|
120
|
-
sv_fi: 'sv_fi',
|
|
121
|
-
th: 'th',
|
|
122
|
-
tr: 'tr',
|
|
123
|
-
uk: 'uk',
|
|
124
|
-
ur: 'ur',
|
|
125
|
-
vi: 'vi',
|
|
126
|
-
cy: 'cy',
|
|
127
|
-
ji: 'ji',
|
|
128
|
-
zu: 'zu'
|
|
129
|
-
};
|
|
130
|
-
export const Currency = {
|
|
131
|
-
USD: 'USD',
|
|
132
|
-
EUR: 'EUR',
|
|
133
|
-
GBP: 'GBP',
|
|
134
|
-
JPY: 'JPY',
|
|
135
|
-
AUD: 'AUD',
|
|
136
|
-
CAD: 'CAD',
|
|
137
|
-
CHF: 'CHF',
|
|
138
|
-
CNY: 'CNY',
|
|
139
|
-
SEK: 'SEK',
|
|
140
|
-
NZD: 'NZD',
|
|
141
|
-
MXN: 'MXN',
|
|
142
|
-
SGD: 'SGD',
|
|
143
|
-
HKD: 'HKD',
|
|
144
|
-
NOK: 'NOK',
|
|
145
|
-
KRW: 'KRW',
|
|
146
|
-
TRY: 'TRY',
|
|
147
|
-
RUB: 'RUB',
|
|
148
|
-
INR: 'INR',
|
|
149
|
-
BRL: 'BRL',
|
|
150
|
-
ZAR: 'ZAR',
|
|
151
|
-
DKK: 'DKK',
|
|
152
|
-
PLN: 'PLN',
|
|
153
|
-
THB: 'THB',
|
|
154
|
-
IDR: 'IDR',
|
|
155
|
-
HUF: 'HUF',
|
|
156
|
-
CZK: 'CZK',
|
|
157
|
-
ILS: 'ILS',
|
|
158
|
-
PHP: 'PHP',
|
|
159
|
-
AED: 'AED',
|
|
160
|
-
COP: 'COP',
|
|
161
|
-
SAR: 'SAR',
|
|
162
|
-
MYR: 'MYR',
|
|
163
|
-
RON: 'RON'
|
|
164
|
-
};
|
|
165
|
-
export const OrderFulfilmentMethod = {
|
|
166
|
-
delivery: 'delivery',
|
|
167
|
-
pickup: 'pickup'
|
|
168
|
-
};
|
|
169
|
-
export const OrderStatus = {
|
|
170
|
-
draft: 'draft',
|
|
171
|
-
pending: 'pending',
|
|
172
|
-
confirmed: 'confirmed',
|
|
173
|
-
completed: 'completed',
|
|
174
|
-
cancelled: 'cancelled'
|
|
175
|
-
};
|
|
176
|
-
export const PaymentStatus = {
|
|
177
|
-
pending: 'pending',
|
|
178
|
-
succeeded: 'succeeded',
|
|
179
|
-
refunded: 'refunded',
|
|
180
|
-
failed: 'failed',
|
|
181
|
-
canceled: 'canceled'
|
|
182
|
-
};
|
|
183
|
-
export const PaymentProvider = {
|
|
184
|
-
stripe: 'stripe',
|
|
185
|
-
revolut: 'revolut',
|
|
186
|
-
payu: 'payu',
|
|
187
|
-
not_applicable: 'not_applicable'
|
|
188
|
-
};
|
|
189
|
-
export const PaymentMethod = {
|
|
190
|
-
card: 'card',
|
|
191
|
-
blik: 'blik',
|
|
192
|
-
paypal: 'paypal',
|
|
193
|
-
bank_transfer: 'bank_transfer',
|
|
194
|
-
cash_on_delivery: 'cash_on_delivery'
|
|
195
|
-
};
|
|
196
|
-
export const CampaignType = {
|
|
197
|
-
discount: 'discount',
|
|
198
|
-
promotion: 'promotion'
|
|
199
|
-
};
|
|
200
|
-
//# sourceMappingURL=enums.js.map
|
|
1
|
+
export const FileUploadStatus={pending:"pending",completed:"completed",failed:"failed"};export const Locale={af:"af",sq:"sq",ar_dz:"ar_dz",ar_bh:"ar_bh",ar_eg:"ar_eg",ar_iq:"ar_iq",ar_jo:"ar_jo",ar_kw:"ar_kw",ar_lb:"ar_lb",ar_ly:"ar_ly",ar_ma:"ar_ma",ar_om:"ar_om",ar_qa:"ar_qa",ar_sa:"ar_sa",ar_sy:"ar_sy",ar_tn:"ar_tn",ar_ae:"ar_ae",ar_ye:"ar_ye",eu:"eu",be:"be",bg:"bg",ca:"ca",zh_hk:"zh_hk",zh_cn:"zh_cn",zh_sg:"zh_sg",zh_tw:"zh_tw",hr:"hr",cs:"cs",da:"da",nl_be:"nl_be",nl:"nl",en:"en",en_au:"en_au",en_bz:"en_bz",en_ca:"en_ca",en_ie:"en_ie",en_jm:"en_jm",en_nz:"en_nz",en_za:"en_za",en_tt:"en_tt",en_gb:"en_gb",en_us:"en_us",et:"et",fo:"fo",fa:"fa",fi:"fi",fr_be:"fr_be",fr_ca:"fr_ca",fr_lu:"fr_lu",fr:"fr",fr_ch:"fr_ch",gd:"gd",de_at:"de_at",de_li:"de_li",de_lu:"de_lu",de:"de",de_ch:"de_ch",el:"el",he:"he",hi:"hi",hu:"hu",is:"is",id:"id",ga:"ga",it:"it",it_ch:"it_ch",ja:"ja",ko:"ko",ku:"ku",lv:"lv",lt:"lt",mk:"mk",ml:"ml",ms:"ms",mt:"mt",no:"no",nb:"nb",nn:"nn",pl:"pl",pt_br:"pt_br",pt:"pt",pa:"pa",rm:"rm",ro:"ro",ro_md:"ro_md",ru:"ru",ru_md:"ru_md",sr:"sr",sk:"sk",sl:"sl",sb:"sb",es_ar:"es_ar",es_bo:"es_bo",es_cl:"es_cl",es_co:"es_co",es_cr:"es_cr",es_do:"es_do",es_ec:"es_ec",es_sv:"es_sv",es_gt:"es_gt",es_hn:"es_hn",es_mx:"es_mx",es:"es",sv:"sv",sv_fi:"sv_fi",th:"th",tr:"tr",uk:"uk",ur:"ur",vi:"vi",cy:"cy",ji:"ji",zu:"zu"};export const Currency={USD:"USD",EUR:"EUR",GBP:"GBP",JPY:"JPY",AUD:"AUD",CAD:"CAD",CHF:"CHF",CNY:"CNY",SEK:"SEK",NZD:"NZD",MXN:"MXN",SGD:"SGD",HKD:"HKD",NOK:"NOK",KRW:"KRW",TRY:"TRY",RUB:"RUB",INR:"INR",BRL:"BRL",ZAR:"ZAR",DKK:"DKK",PLN:"PLN",THB:"THB",IDR:"IDR",HUF:"HUF",CZK:"CZK",ILS:"ILS",PHP:"PHP",AED:"AED",COP:"COP",SAR:"SAR",MYR:"MYR",RON:"RON"};export const OrderFulfilmentMethod={delivery:"delivery",pickup:"pickup"};export const OrderStatus={draft:"draft",pending:"pending",confirmed:"confirmed",completed:"completed",cancelled:"cancelled"};export const PaymentStatus={pending:"pending",succeeded:"succeeded",refunded:"refunded",failed:"failed",canceled:"canceled"};export const PaymentProvider={stripe:"stripe",revolut:"revolut",payu:"payu",not_applicable:"not_applicable"};export const PaymentMethod={card:"card",blik:"blik",paypal:"paypal",bank_transfer:"bank_transfer",cash_on_delivery:"cash_on_delivery"};export const CampaignType={discount:"discount",promotion:"promotion"};
|