@shophost/rest-api 2.0.30 → 2.0.31
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 +110 -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
|
@@ -1,924 +1,100 @@
|
|
|
1
1
|
import { type BuildApiAppOptions } from "../../app";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type
|
|
5
|
-
addressId: string;
|
|
6
|
-
configurationId: string;
|
|
2
|
+
export { SEED } from "./seed";
|
|
3
|
+
export declare const resetToSeed: () => Promise<void>;
|
|
4
|
+
type SeedUser = {
|
|
7
5
|
id: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
productId: string;
|
|
14
|
-
productSnapshotId: string;
|
|
15
|
-
};
|
|
16
|
-
type SeededShippingMethodRecord = {
|
|
17
|
-
id: string;
|
|
18
|
-
};
|
|
19
|
-
type SeededShippingAddressRecord = {
|
|
20
|
-
id: string;
|
|
21
|
-
};
|
|
22
|
-
export type SeededFixtureContext = {
|
|
23
|
-
authUser: User;
|
|
24
|
-
dbUser: Awaited<ReturnType<typeof ensureSeededUser>>;
|
|
25
|
-
fixture: SeededTestFixture;
|
|
26
|
-
};
|
|
27
|
-
export type SeededTestGraphOptions = {
|
|
28
|
-
includeDefaultShippingAddress?: boolean;
|
|
29
|
-
includePrimaryCatalog?: boolean;
|
|
30
|
-
includePrimaryShippingMethod?: boolean;
|
|
31
|
-
includeSecondaryCatalog?: boolean;
|
|
32
|
-
includeSecondaryShippingMethod?: boolean;
|
|
6
|
+
email: string;
|
|
7
|
+
firstname: string;
|
|
8
|
+
lastname: string;
|
|
9
|
+
name: string;
|
|
10
|
+
image: string | null;
|
|
33
11
|
};
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
12
|
+
export declare const createTestApp: (user?: SeedUser, options?: Partial<BuildApiAppOptions>) => import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
13
|
+
export declare const primaryContext: (options?: Partial<BuildApiAppOptions>) => {
|
|
14
|
+
app: import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
15
|
+
user: {
|
|
16
|
+
readonly id: "test-owner-user-00000001";
|
|
17
|
+
readonly email: "owner@shophost.test";
|
|
18
|
+
readonly firstname: "Test";
|
|
19
|
+
readonly lastname: "Owner";
|
|
20
|
+
readonly name: "Test Owner";
|
|
21
|
+
readonly image: null;
|
|
22
|
+
};
|
|
23
|
+
org: {
|
|
24
|
+
readonly id: "cseedorgprimary000001";
|
|
25
|
+
readonly slug: "test-primary";
|
|
26
|
+
readonly name: "Test Primary Organization";
|
|
27
|
+
readonly email: "primary@shophost.test";
|
|
28
|
+
readonly phone: "+15550001111";
|
|
29
|
+
readonly addressId: "cseedaddrorgprim00001";
|
|
30
|
+
readonly configurationId: "cseedcfgprimary000001";
|
|
31
|
+
};
|
|
32
|
+
catalog: {
|
|
33
|
+
readonly categoryId: "cseedcatprimary000001";
|
|
34
|
+
readonly manufacturerId: "cseedmfgprimary000001";
|
|
35
|
+
readonly productId: "cseedprdprimary000001";
|
|
36
|
+
readonly productSnapshotId: "cseedsnpprimary000001";
|
|
37
|
+
};
|
|
38
|
+
shipping: {
|
|
39
|
+
readonly methodId: "cseedshpprimary000001";
|
|
40
|
+
readonly zoneId: "cseedzneprimary000001";
|
|
41
|
+
};
|
|
42
42
|
};
|
|
43
|
-
export declare const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
53
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
54
|
-
limit: P_1["limit"];
|
|
55
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
user: {
|
|
59
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
60
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
61
|
-
limit?: P["limit"] | undefined;
|
|
62
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
63
|
-
includePageCount: boolean;
|
|
64
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
65
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
66
|
-
limit: P_1["limit"];
|
|
67
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
member: {
|
|
71
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
72
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
73
|
-
limit?: P["limit"] | undefined;
|
|
74
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
75
|
-
includePageCount: boolean;
|
|
76
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
77
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
78
|
-
limit: P_1["limit"];
|
|
79
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
organization: {
|
|
83
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
84
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
85
|
-
limit?: P["limit"] | undefined;
|
|
86
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
87
|
-
includePageCount: boolean;
|
|
88
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
89
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
90
|
-
limit: P_1["limit"];
|
|
91
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
file: {
|
|
95
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
96
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
97
|
-
limit?: P["limit"] | undefined;
|
|
98
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
99
|
-
includePageCount: boolean;
|
|
100
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
101
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
102
|
-
limit: P_1["limit"];
|
|
103
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
payment: {
|
|
107
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
108
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
109
|
-
limit?: P["limit"] | undefined;
|
|
110
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
111
|
-
includePageCount: boolean;
|
|
112
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
113
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
114
|
-
limit: P_1["limit"];
|
|
115
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
shippingMethod: {
|
|
119
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
120
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
121
|
-
limit?: P["limit"] | undefined;
|
|
122
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
123
|
-
includePageCount: boolean;
|
|
124
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
125
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
126
|
-
limit: P_1["limit"];
|
|
127
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
openingTimes: {
|
|
131
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
132
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
133
|
-
limit?: P["limit"] | undefined;
|
|
134
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
135
|
-
includePageCount: boolean;
|
|
136
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
137
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
138
|
-
limit: P_1["limit"];
|
|
139
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
closingTimes: {
|
|
143
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
144
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
145
|
-
limit?: P["limit"] | undefined;
|
|
146
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
147
|
-
includePageCount: boolean;
|
|
148
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
149
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
150
|
-
limit: P_1["limit"];
|
|
151
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
address: {
|
|
155
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
156
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
157
|
-
limit?: P["limit"] | undefined;
|
|
158
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
159
|
-
includePageCount: boolean;
|
|
160
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
161
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
162
|
-
limit: P_1["limit"];
|
|
163
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
session: {
|
|
167
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
168
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
169
|
-
limit?: P["limit"] | undefined;
|
|
170
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
171
|
-
includePageCount: boolean;
|
|
172
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
173
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
174
|
-
limit: P_1["limit"];
|
|
175
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
account: {
|
|
179
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
180
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
181
|
-
limit?: P["limit"] | undefined;
|
|
182
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
183
|
-
includePageCount: boolean;
|
|
184
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
185
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
186
|
-
limit: P_1["limit"];
|
|
187
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
verification: {
|
|
191
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
192
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
193
|
-
limit?: P["limit"] | undefined;
|
|
194
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
195
|
-
includePageCount: boolean;
|
|
196
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
197
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
198
|
-
limit: P_1["limit"];
|
|
199
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
invitation: {
|
|
203
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
204
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
205
|
-
limit?: P["limit"] | undefined;
|
|
206
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
207
|
-
includePageCount: boolean;
|
|
208
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
209
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
210
|
-
limit: P_1["limit"];
|
|
211
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
organizationConfiguration: {
|
|
215
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
216
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
217
|
-
limit?: P["limit"] | undefined;
|
|
218
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
219
|
-
includePageCount: boolean;
|
|
220
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
221
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
222
|
-
limit: P_1["limit"];
|
|
223
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
legalEntity: {
|
|
227
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
228
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
229
|
-
limit?: P["limit"] | undefined;
|
|
230
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
231
|
-
includePageCount: boolean;
|
|
232
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
233
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
234
|
-
limit: P_1["limit"];
|
|
235
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
manufacturer: {
|
|
239
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
240
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
241
|
-
limit?: P["limit"] | undefined;
|
|
242
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
243
|
-
includePageCount: boolean;
|
|
244
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
245
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
246
|
-
limit: P_1["limit"];
|
|
247
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
manufacturerTranslation: {
|
|
251
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
252
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
253
|
-
limit?: P["limit"] | undefined;
|
|
254
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
255
|
-
includePageCount: boolean;
|
|
256
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
257
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
258
|
-
limit: P_1["limit"];
|
|
259
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
productCategory: {
|
|
263
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
264
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
265
|
-
limit?: P["limit"] | undefined;
|
|
266
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
267
|
-
includePageCount: boolean;
|
|
268
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
269
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
270
|
-
limit: P_1["limit"];
|
|
271
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
productCategoryTranslation: {
|
|
275
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
276
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
277
|
-
limit?: P["limit"] | undefined;
|
|
278
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
279
|
-
includePageCount: boolean;
|
|
280
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
281
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
282
|
-
limit: P_1["limit"];
|
|
283
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
product: {
|
|
287
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
288
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
289
|
-
limit?: P["limit"] | undefined;
|
|
290
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
291
|
-
includePageCount: boolean;
|
|
292
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
293
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
294
|
-
limit: P_1["limit"];
|
|
295
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
productSnapshot: {
|
|
299
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
300
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
301
|
-
limit?: P["limit"] | undefined;
|
|
302
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
303
|
-
includePageCount: boolean;
|
|
304
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
305
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
306
|
-
limit: P_1["limit"];
|
|
307
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
productTranslation: {
|
|
311
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
312
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
313
|
-
limit?: P["limit"] | undefined;
|
|
314
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
315
|
-
includePageCount: boolean;
|
|
316
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
317
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
318
|
-
limit: P_1["limit"];
|
|
319
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
modifierGroup: {
|
|
323
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
324
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
325
|
-
limit?: P["limit"] | undefined;
|
|
326
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
327
|
-
includePageCount: boolean;
|
|
328
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
329
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
330
|
-
limit: P_1["limit"];
|
|
331
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
modifierGroupTranslation: {
|
|
335
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
336
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
337
|
-
limit?: P["limit"] | undefined;
|
|
338
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
339
|
-
includePageCount: boolean;
|
|
340
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
341
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
342
|
-
limit: P_1["limit"];
|
|
343
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
344
|
-
};
|
|
345
|
-
};
|
|
346
|
-
modifier: {
|
|
347
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
348
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
349
|
-
limit?: P["limit"] | undefined;
|
|
350
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
351
|
-
includePageCount: boolean;
|
|
352
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
353
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
354
|
-
limit: P_1["limit"];
|
|
355
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
order: {
|
|
359
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
360
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
361
|
-
limit?: P["limit"] | undefined;
|
|
362
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
363
|
-
includePageCount: boolean;
|
|
364
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
365
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
366
|
-
limit: P_1["limit"];
|
|
367
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
orderItem: {
|
|
371
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
372
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
373
|
-
limit?: P["limit"] | undefined;
|
|
374
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
375
|
-
includePageCount: boolean;
|
|
376
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
377
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
378
|
-
limit: P_1["limit"];
|
|
379
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
orderItemTranslation: {
|
|
383
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
384
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
385
|
-
limit?: P["limit"] | undefined;
|
|
386
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
387
|
-
includePageCount: boolean;
|
|
388
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
389
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
390
|
-
limit: P_1["limit"];
|
|
391
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
paymentSession: {
|
|
395
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
396
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
397
|
-
limit?: P["limit"] | undefined;
|
|
398
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
399
|
-
includePageCount: boolean;
|
|
400
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
401
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
402
|
-
limit: P_1["limit"];
|
|
403
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
campaign: {
|
|
407
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
408
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
409
|
-
limit?: P["limit"] | undefined;
|
|
410
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
411
|
-
includePageCount: boolean;
|
|
412
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
413
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
414
|
-
limit: P_1["limit"];
|
|
415
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
shippingZone: {
|
|
419
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
420
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
421
|
-
limit?: P["limit"] | undefined;
|
|
422
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
423
|
-
includePageCount: boolean;
|
|
424
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
425
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
426
|
-
limit: P_1["limit"];
|
|
427
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
reservation: {
|
|
431
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
432
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
433
|
-
limit?: P["limit"] | undefined;
|
|
434
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
435
|
-
includePageCount: boolean;
|
|
436
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
437
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
438
|
-
limit: P_1["limit"];
|
|
439
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
440
|
-
};
|
|
441
|
-
};
|
|
43
|
+
export declare const secondaryContext: (options?: Partial<BuildApiAppOptions>) => {
|
|
44
|
+
app: import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
45
|
+
user: {
|
|
46
|
+
readonly id: "test-owner-user-00000001";
|
|
47
|
+
readonly email: "owner@shophost.test";
|
|
48
|
+
readonly firstname: "Test";
|
|
49
|
+
readonly lastname: "Owner";
|
|
50
|
+
readonly name: "Test Owner";
|
|
51
|
+
readonly image: null;
|
|
442
52
|
};
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
limit?: P["limit"] | undefined;
|
|
452
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
453
|
-
includePageCount: boolean;
|
|
454
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
455
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
456
|
-
limit: P_1["limit"];
|
|
457
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
user: {
|
|
461
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
462
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
463
|
-
limit?: P["limit"] | undefined;
|
|
464
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
465
|
-
includePageCount: boolean;
|
|
466
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
467
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
468
|
-
limit: P_1["limit"];
|
|
469
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
member: {
|
|
473
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
474
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
475
|
-
limit?: P["limit"] | undefined;
|
|
476
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
477
|
-
includePageCount: boolean;
|
|
478
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
479
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
480
|
-
limit: P_1["limit"];
|
|
481
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
organization: {
|
|
485
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
486
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
487
|
-
limit?: P["limit"] | undefined;
|
|
488
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
489
|
-
includePageCount: boolean;
|
|
490
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
491
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
492
|
-
limit: P_1["limit"];
|
|
493
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
file: {
|
|
497
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
498
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
499
|
-
limit?: P["limit"] | undefined;
|
|
500
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
501
|
-
includePageCount: boolean;
|
|
502
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
503
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
504
|
-
limit: P_1["limit"];
|
|
505
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
506
|
-
};
|
|
507
|
-
};
|
|
508
|
-
payment: {
|
|
509
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
510
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
511
|
-
limit?: P["limit"] | undefined;
|
|
512
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
513
|
-
includePageCount: boolean;
|
|
514
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
515
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
516
|
-
limit: P_1["limit"];
|
|
517
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
shippingMethod: {
|
|
521
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
522
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
523
|
-
limit?: P["limit"] | undefined;
|
|
524
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
525
|
-
includePageCount: boolean;
|
|
526
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
527
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
528
|
-
limit: P_1["limit"];
|
|
529
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
openingTimes: {
|
|
533
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
534
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
535
|
-
limit?: P["limit"] | undefined;
|
|
536
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
537
|
-
includePageCount: boolean;
|
|
538
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
539
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
540
|
-
limit: P_1["limit"];
|
|
541
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
closingTimes: {
|
|
545
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
546
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
547
|
-
limit?: P["limit"] | undefined;
|
|
548
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
549
|
-
includePageCount: boolean;
|
|
550
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
551
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
552
|
-
limit: P_1["limit"];
|
|
553
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
556
|
-
address: {
|
|
557
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
558
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
559
|
-
limit?: P["limit"] | undefined;
|
|
560
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
561
|
-
includePageCount: boolean;
|
|
562
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
563
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
564
|
-
limit: P_1["limit"];
|
|
565
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
566
|
-
};
|
|
567
|
-
};
|
|
568
|
-
session: {
|
|
569
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
570
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
571
|
-
limit?: P["limit"] | undefined;
|
|
572
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
573
|
-
includePageCount: boolean;
|
|
574
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
575
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
576
|
-
limit: P_1["limit"];
|
|
577
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
account: {
|
|
581
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
582
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
583
|
-
limit?: P["limit"] | undefined;
|
|
584
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
585
|
-
includePageCount: boolean;
|
|
586
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
587
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
588
|
-
limit: P_1["limit"];
|
|
589
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
verification: {
|
|
593
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
594
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
595
|
-
limit?: P["limit"] | undefined;
|
|
596
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
597
|
-
includePageCount: boolean;
|
|
598
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
599
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
600
|
-
limit: P_1["limit"];
|
|
601
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
602
|
-
};
|
|
603
|
-
};
|
|
604
|
-
invitation: {
|
|
605
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
606
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
607
|
-
limit?: P["limit"] | undefined;
|
|
608
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
609
|
-
includePageCount: boolean;
|
|
610
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
611
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
612
|
-
limit: P_1["limit"];
|
|
613
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
614
|
-
};
|
|
615
|
-
};
|
|
616
|
-
organizationConfiguration: {
|
|
617
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
618
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
619
|
-
limit?: P["limit"] | undefined;
|
|
620
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
621
|
-
includePageCount: boolean;
|
|
622
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
623
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
624
|
-
limit: P_1["limit"];
|
|
625
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
legalEntity: {
|
|
629
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
630
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
631
|
-
limit?: P["limit"] | undefined;
|
|
632
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
633
|
-
includePageCount: boolean;
|
|
634
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
635
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
636
|
-
limit: P_1["limit"];
|
|
637
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
manufacturer: {
|
|
641
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
642
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
643
|
-
limit?: P["limit"] | undefined;
|
|
644
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
645
|
-
includePageCount: boolean;
|
|
646
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
647
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
648
|
-
limit: P_1["limit"];
|
|
649
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
manufacturerTranslation: {
|
|
653
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
654
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
655
|
-
limit?: P["limit"] | undefined;
|
|
656
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
657
|
-
includePageCount: boolean;
|
|
658
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
659
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
660
|
-
limit: P_1["limit"];
|
|
661
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
productCategory: {
|
|
665
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
666
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
667
|
-
limit?: P["limit"] | undefined;
|
|
668
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
669
|
-
includePageCount: boolean;
|
|
670
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
671
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
672
|
-
limit: P_1["limit"];
|
|
673
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
productCategoryTranslation: {
|
|
677
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
678
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
679
|
-
limit?: P["limit"] | undefined;
|
|
680
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
681
|
-
includePageCount: boolean;
|
|
682
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
683
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
684
|
-
limit: P_1["limit"];
|
|
685
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
686
|
-
};
|
|
687
|
-
};
|
|
688
|
-
product: {
|
|
689
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
690
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
691
|
-
limit?: P["limit"] | undefined;
|
|
692
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
693
|
-
includePageCount: boolean;
|
|
694
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
695
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
696
|
-
limit: P_1["limit"];
|
|
697
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
698
|
-
};
|
|
699
|
-
};
|
|
700
|
-
productSnapshot: {
|
|
701
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
702
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
703
|
-
limit?: P["limit"] | undefined;
|
|
704
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
705
|
-
includePageCount: boolean;
|
|
706
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
707
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
708
|
-
limit: P_1["limit"];
|
|
709
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
productTranslation: {
|
|
713
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
714
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
715
|
-
limit?: P["limit"] | undefined;
|
|
716
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
717
|
-
includePageCount: boolean;
|
|
718
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
719
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
720
|
-
limit: P_1["limit"];
|
|
721
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
modifierGroup: {
|
|
725
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
726
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
727
|
-
limit?: P["limit"] | undefined;
|
|
728
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
729
|
-
includePageCount: boolean;
|
|
730
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
731
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
732
|
-
limit: P_1["limit"];
|
|
733
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
modifierGroupTranslation: {
|
|
737
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
738
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
739
|
-
limit?: P["limit"] | undefined;
|
|
740
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
741
|
-
includePageCount: boolean;
|
|
742
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
743
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
744
|
-
limit: P_1["limit"];
|
|
745
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
746
|
-
};
|
|
747
|
-
};
|
|
748
|
-
modifier: {
|
|
749
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
750
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
751
|
-
limit?: P["limit"] | undefined;
|
|
752
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
753
|
-
includePageCount: boolean;
|
|
754
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
755
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
756
|
-
limit: P_1["limit"];
|
|
757
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
758
|
-
};
|
|
759
|
-
};
|
|
760
|
-
order: {
|
|
761
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
762
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
763
|
-
limit?: P["limit"] | undefined;
|
|
764
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
765
|
-
includePageCount: boolean;
|
|
766
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
767
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
768
|
-
limit: P_1["limit"];
|
|
769
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
orderItem: {
|
|
773
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
774
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
775
|
-
limit?: P["limit"] | undefined;
|
|
776
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
777
|
-
includePageCount: boolean;
|
|
778
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
779
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
780
|
-
limit: P_1["limit"];
|
|
781
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
782
|
-
};
|
|
783
|
-
};
|
|
784
|
-
orderItemTranslation: {
|
|
785
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
786
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
787
|
-
limit?: P["limit"] | undefined;
|
|
788
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
789
|
-
includePageCount: boolean;
|
|
790
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
791
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
792
|
-
limit: P_1["limit"];
|
|
793
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
paymentSession: {
|
|
797
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
798
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
799
|
-
limit?: P["limit"] | undefined;
|
|
800
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
801
|
-
includePageCount: boolean;
|
|
802
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
803
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
804
|
-
limit: P_1["limit"];
|
|
805
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
806
|
-
};
|
|
807
|
-
};
|
|
808
|
-
campaign: {
|
|
809
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
810
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
811
|
-
limit?: P["limit"] | undefined;
|
|
812
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
813
|
-
includePageCount: boolean;
|
|
814
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
815
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
816
|
-
limit: P_1["limit"];
|
|
817
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
shippingZone: {
|
|
821
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
822
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
823
|
-
limit?: P["limit"] | undefined;
|
|
824
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
825
|
-
includePageCount: boolean;
|
|
826
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
827
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
828
|
-
limit: P_1["limit"];
|
|
829
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
reservation: {
|
|
833
|
-
paginate: () => <T, A>(this: T, args?: import("@prisma/client/runtime/client").Exact<A, Omit<import("@prisma/client/runtime/client").Args<T, "findMany">, "cursor" | "take" | "skip">> | undefined) => {
|
|
834
|
-
withPages: <TOptions extends Omit<P, "limit">, P extends import("prisma-extension-pagination").PageNumberPaginationOptions>(options?: (TOptions & {
|
|
835
|
-
limit?: P["limit"] | undefined;
|
|
836
|
-
}) | undefined) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").PageNumberPaginationMeta<TOptions extends {
|
|
837
|
-
includePageCount: boolean;
|
|
838
|
-
} ? TOptions["includePageCount"] : true>]>;
|
|
839
|
-
withCursor: <TOptions extends Omit<P_1, "limit">, P_1 extends import("prisma-extension-pagination").CursorPaginationOptions<import("@prisma/client/runtime/client").Result<T, A, "findMany">[number], NonNullable<import("@prisma/client/runtime/client").Args<T, "findMany">["cursor"]>>>(options: TOptions & {
|
|
840
|
-
limit: P_1["limit"];
|
|
841
|
-
}) => Promise<[import("@prisma/client/runtime/client").Result<T, A, "findMany">, import("prisma-extension-pagination").CursorPaginationMeta]>;
|
|
842
|
-
};
|
|
843
|
-
};
|
|
53
|
+
org: {
|
|
54
|
+
readonly id: "cseedorgsecondary0001";
|
|
55
|
+
readonly slug: "test-secondary";
|
|
56
|
+
readonly name: "Test Secondary Organization";
|
|
57
|
+
readonly email: "secondary@shophost.test";
|
|
58
|
+
readonly phone: "+15550002222";
|
|
59
|
+
readonly addressId: "cseedaddrorgsec000001";
|
|
60
|
+
readonly configurationId: "cseedcfgsecondary0001";
|
|
844
61
|
};
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
62
|
+
catalog: {
|
|
63
|
+
readonly categoryId: "cseedcatsecondary0001";
|
|
64
|
+
readonly manufacturerId: "cseedmfgsecondary0001";
|
|
65
|
+
readonly productId: "cseedprdsecondary0001";
|
|
66
|
+
readonly productSnapshotId: "cseedsnpsecondary0001";
|
|
67
|
+
};
|
|
68
|
+
shipping: {
|
|
69
|
+
readonly methodId: "cseedshpsecondary0001";
|
|
70
|
+
readonly zoneId: "cseedznrsecondary0001";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export declare const outsiderContext: (options?: Partial<BuildApiAppOptions>) => {
|
|
74
|
+
app: import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
75
|
+
user: {
|
|
76
|
+
readonly id: "test-outsider-user-00002";
|
|
77
|
+
readonly email: "outsider@shophost.test";
|
|
78
|
+
readonly firstname: "Test";
|
|
79
|
+
readonly lastname: "Outsider";
|
|
80
|
+
readonly name: "Test Outsider";
|
|
81
|
+
readonly image: null;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export declare const createAdditionalUser: (overrides?: Partial<{
|
|
849
85
|
email: string;
|
|
850
86
|
firstname: string;
|
|
851
87
|
lastname: string;
|
|
852
88
|
name: string;
|
|
853
89
|
}>) => Promise<{
|
|
854
|
-
id: string;
|
|
855
|
-
createdAt: Date;
|
|
856
|
-
firstname: string;
|
|
857
|
-
lastname: string;
|
|
858
|
-
email: string;
|
|
859
|
-
image: string | null;
|
|
860
|
-
name: string;
|
|
861
|
-
updatedAt: Date;
|
|
862
|
-
emailVerified: boolean;
|
|
863
|
-
}>;
|
|
864
|
-
declare const ensureSeededUser: (prisma: PrismaClientType, fixtureKey: string) => Promise<{
|
|
865
|
-
id: string;
|
|
866
|
-
createdAt: Date;
|
|
867
|
-
firstname: string;
|
|
868
|
-
lastname: string;
|
|
869
|
-
email: string;
|
|
870
|
-
image: string | null;
|
|
871
|
-
name: string;
|
|
872
|
-
updatedAt: Date;
|
|
873
|
-
emailVerified: boolean;
|
|
874
|
-
}>;
|
|
875
|
-
export declare const resetManufacturerResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
876
|
-
export declare const resetProductCategoryResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
877
|
-
export declare const resetProductResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
878
|
-
export declare const resetOrganizationResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
879
|
-
export declare const hardDeleteOrganization: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
880
|
-
export declare const resetUserShippingAddresses: (prisma: PrismaClientType, userId: string) => Promise<void>;
|
|
881
|
-
export declare const resetFileResources: (prisma: PrismaClientType, userId: string) => Promise<void>;
|
|
882
|
-
export declare const resetReservationResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
883
|
-
export declare const resetShippingMethodResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
884
|
-
export declare const resetOrderResources: (prisma: PrismaClientType, organizationId: string) => Promise<void>;
|
|
885
|
-
export declare const ensureSeededTestFixture: (prisma: PrismaClientType, fixtureKey: string, graph?: SeededTestGraphOptions) => Promise<SeededFixtureContext>;
|
|
886
|
-
export declare const createSeededApiContext: (prisma: PrismaClientType, context: SeededFixtureContext, appOptions?: Partial<BuildApiAppOptions>) => {
|
|
887
90
|
app: import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
888
|
-
|
|
91
|
+
user: {
|
|
889
92
|
id: string;
|
|
890
93
|
email: string;
|
|
891
94
|
firstname: string;
|
|
892
95
|
lastname: string;
|
|
893
|
-
image?: string | null | undefined;
|
|
894
|
-
name?: string | null | undefined;
|
|
895
|
-
};
|
|
896
|
-
dbUser: {
|
|
897
|
-
id: string;
|
|
898
|
-
createdAt: Date;
|
|
899
|
-
firstname: string;
|
|
900
|
-
lastname: string;
|
|
901
|
-
email: string;
|
|
902
|
-
image: string | null;
|
|
903
96
|
name: string;
|
|
904
|
-
|
|
905
|
-
emailVerified: boolean;
|
|
906
|
-
};
|
|
907
|
-
fixture: SeededTestFixture;
|
|
908
|
-
};
|
|
909
|
-
export declare const createSeededTestContext: (prisma: PrismaClientType, fixtureKey: string, options?: {
|
|
910
|
-
appOptions?: Partial<BuildApiAppOptions>;
|
|
911
|
-
graph?: SeededTestGraphOptions;
|
|
912
|
-
}) => Promise<{
|
|
913
|
-
cleanup: () => Promise<void>;
|
|
914
|
-
app: import("@hono/zod-openapi").OpenAPIHono<import("../../core/hono/hono").AppBindings, {}, "/">;
|
|
915
|
-
authUser: {
|
|
916
|
-
id: string;
|
|
917
|
-
email: string;
|
|
918
|
-
firstname: string;
|
|
919
|
-
lastname: string;
|
|
920
|
-
image?: string | null | undefined;
|
|
921
|
-
name?: string | null | undefined;
|
|
97
|
+
image: string | null;
|
|
922
98
|
};
|
|
923
99
|
dbUser: {
|
|
924
100
|
id: string;
|
|
@@ -931,31 +107,38 @@ export declare const createSeededTestContext: (prisma: PrismaClientType, fixture
|
|
|
931
107
|
updatedAt: Date;
|
|
932
108
|
emailVerified: boolean;
|
|
933
109
|
};
|
|
934
|
-
fixture: SeededTestFixture;
|
|
935
110
|
}>;
|
|
936
|
-
export declare const
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
email: string;
|
|
943
|
-
firstname: string;
|
|
944
|
-
lastname: string;
|
|
945
|
-
image?: string | null | undefined;
|
|
946
|
-
name?: string | null | undefined;
|
|
947
|
-
};
|
|
948
|
-
dbUser: {
|
|
111
|
+
export declare const seedMember: (input: {
|
|
112
|
+
organizationId: string;
|
|
113
|
+
role?: string;
|
|
114
|
+
userId: string;
|
|
115
|
+
}) => Promise<{
|
|
116
|
+
user: {
|
|
949
117
|
id: string;
|
|
950
|
-
createdAt: Date;
|
|
951
118
|
firstname: string;
|
|
952
119
|
lastname: string;
|
|
953
120
|
email: string;
|
|
954
121
|
image: string | null;
|
|
955
|
-
name: string;
|
|
956
|
-
updatedAt: Date;
|
|
957
|
-
emailVerified: boolean;
|
|
958
122
|
};
|
|
959
|
-
|
|
123
|
+
} & {
|
|
124
|
+
id: string;
|
|
125
|
+
organizationId: string;
|
|
126
|
+
userId: string;
|
|
127
|
+
role: string;
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
}>;
|
|
130
|
+
export declare const seedInvitation: (input: {
|
|
131
|
+
email: string;
|
|
132
|
+
expiresAt?: Date;
|
|
133
|
+
organizationId: string;
|
|
134
|
+
role?: string;
|
|
135
|
+
status?: string;
|
|
136
|
+
}) => Promise<{
|
|
137
|
+
id: string;
|
|
138
|
+
organizationId: string;
|
|
139
|
+
role: string | null;
|
|
140
|
+
email: string;
|
|
141
|
+
status: string;
|
|
142
|
+
expiresAt: Date;
|
|
143
|
+
inviterId: string;
|
|
960
144
|
}>;
|
|
961
|
-
export {};
|