@shophost/rest-api 2.0.30 → 2.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +18 -13
- package/scripts/minify.mjs +123 -0
- package/src/app.js +1 -53
- package/src/core/auth/auth.schema.js +1 -41
- package/src/core/auth/auth.util.js +1 -44
- package/src/core/auth/better-auth.lib.js +1 -100
- package/src/core/auth/generate-password-hash.util.d.ts +0 -3
- package/src/core/auth/generate-password-hash.util.js +1 -30
- package/src/core/auth/headers.schema.js +1 -22
- package/src/core/auth/user.schema.js +1 -30
- package/src/core/db/__generated__/client/browser.d.ts +0 -128
- package/src/core/db/__generated__/client/browser.js +1 -18
- package/src/core/db/__generated__/client/client.d.ts +0 -143
- package/src/core/db/__generated__/client/client.js +1 -35
- package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
- package/src/core/db/__generated__/client/enums.js +1 -200
- package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
- package/src/core/db/__generated__/client/internal/class.js +1 -55
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Account.js +1 -2
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
- package/src/core/db/__generated__/client/models/Address.js +1 -2
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
- package/src/core/db/__generated__/client/models/Campaign.js +1 -2
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
- package/src/core/db/__generated__/client/models/File.d.ts +0 -752
- package/src/core/db/__generated__/client/models/File.js +1 -2
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Invitation.js +1 -2
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
- package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
- package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Member.js +1 -2
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
- package/src/core/db/__generated__/client/models/Modifier.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
- package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
- package/src/core/db/__generated__/client/models/Order.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
- package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
- package/src/core/db/__generated__/client/models/Organization.js +1 -2
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
- package/src/core/db/__generated__/client/models/Payment.js +1 -2
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
- package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
- package/src/core/db/__generated__/client/models/Product.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
- package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
- package/src/core/db/__generated__/client/models/Reservation.js +1 -2
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Session.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
- package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
- package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
- package/src/core/db/__generated__/client/models/User.d.ts +0 -736
- package/src/core/db/__generated__/client/models/User.js +1 -2
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
- package/src/core/db/__generated__/client/models/Verification.js +1 -2
- package/src/core/db/__generated__/client/models.js +1 -2
- package/src/core/db/index.js +1 -2
- package/src/core/exceptions/http-exception.js +1 -9
- package/src/core/hono/hono.js +1 -123
- package/src/core/lib/prisma.d.ts +9 -1
- package/src/core/lib/prisma.js +1 -11
- package/src/core/logging/pino.js +1 -5
- package/src/core/notifications/email.service.d.ts +0 -15
- package/src/core/notifications/email.service.js +1 -116
- package/src/core/openapi/openapi.lib.js +1 -26
- package/src/core/types/google-maps.types.js +1 -2
- package/src/core/utils/currency.util.js +1 -11
- package/src/core/utils/env.util.js +1 -8
- package/src/core/utils/object.util.d.ts +0 -10
- package/src/core/utils/object.util.js +1 -39
- package/src/core/utils/translations.util.js +0 -2
- package/src/core/utils/zod.util.d.ts +0 -12
- package/src/core/utils/zod.util.js +1 -85
- package/src/db.js +1 -3
- package/src/features/access/access.handler.js +1 -91
- package/src/features/access/access.route.js +1 -220
- package/src/features/access/access.schema.js +1 -108
- package/src/features/access/access.service.js +1 -294
- package/src/features/cart/cart.handler.js +1 -17
- package/src/features/cart/cart.route.js +1 -32
- package/src/features/cart/cart.schema.js +1 -39
- package/src/features/cart/cart.service.d.ts +0 -7
- package/src/features/cart/cart.service.js +1 -97
- package/src/features/cart/cart.util.js +1 -76
- package/src/features/file/file.handler.js +1 -23
- package/src/features/file/file.route.js +1 -34
- package/src/features/file/file.schema.js +1 -77
- package/src/features/file/file.service.d.ts +0 -6
- package/src/features/file/file.service.js +1 -66
- package/src/features/health/health.handler.js +1 -10
- package/src/features/health/health.route.js +1 -25
- package/src/features/index.js +1 -16
- package/src/features/location/location.handler.js +1 -25
- package/src/features/location/location.route.js +1 -56
- package/src/features/location/location.schema.js +1 -50
- package/src/features/location/location.service.d.ts +0 -3
- package/src/features/location/location.service.js +1 -141
- package/src/features/manufacturer/manufacturer.handler.js +1 -53
- package/src/features/manufacturer/manufacturer.route.js +1 -97
- package/src/features/manufacturer/manufacturer.schema.js +1 -125
- package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
- package/src/features/manufacturer/manufacturer.service.js +1 -190
- package/src/features/order/emails/order-confirmation.email.js +1 -229
- package/src/features/order/emails/order-notification.email.js +1 -229
- package/src/features/order/fulfilment.schema.js +1 -3
- package/src/features/order/order.handler.js +1 -54
- package/src/features/order/order.route.js +1 -111
- package/src/features/order/order.schema.js +1 -158
- package/src/features/order/order.service.d.ts +0 -15
- package/src/features/order/order.service.js +1 -306
- package/src/features/order/recipient.schema.js +1 -38
- package/src/features/organization/legal-entity.schema.js +1 -83
- package/src/features/organization/organization-configuration.schema.js +1 -115
- package/src/features/organization/organization.handler.js +1 -48
- package/src/features/organization/organization.route.js +1 -84
- package/src/features/organization/organization.schema.js +1 -64
- package/src/features/organization/organization.service.d.ts +0 -15
- package/src/features/organization/organization.service.js +1 -334
- package/src/features/payment/payment.handler.js +1 -16
- package/src/features/payment/payment.route.js +1 -22
- package/src/features/payment/payment.schema.js +1 -46
- package/src/features/payment/payment.service.js +1 -100
- package/src/features/payment/stripe.service.js +1 -164
- package/src/features/product/product-modifier.schema.js +1 -84
- package/src/features/product/product.handler.js +1 -87
- package/src/features/product/product.route.js +1 -179
- package/src/features/product/product.schema.js +1 -143
- package/src/features/product/product.service.d.ts +0 -25
- package/src/features/product/product.service.js +1 -440
- package/src/features/product-category/product-category.handler.js +1 -59
- package/src/features/product-category/product-category.route.js +1 -139
- package/src/features/product-category/product-category.schema.js +1 -86
- package/src/features/product-category/product-category.service.d.ts +0 -22
- package/src/features/product-category/product-category.service.js +1 -220
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
- package/src/features/reservation/emails/reservation-notification.email.js +1 -93
- package/src/features/reservation/reservation.handler.js +1 -65
- package/src/features/reservation/reservation.route.js +1 -167
- package/src/features/reservation/reservation.schema.js +1 -51
- package/src/features/reservation/reservation.service.d.ts +0 -18
- package/src/features/reservation/reservation.service.js +1 -231
- package/src/features/shipping/shipping.handler.js +1 -32
- package/src/features/shipping/shipping.route.js +1 -51
- package/src/features/shipping/shipping.service.d.ts +0 -7
- package/src/features/shipping/shipping.service.js +1 -96
- package/src/features/shipping-method/shipping-method.handler.js +1 -60
- package/src/features/shipping-method/shipping-method.route.js +1 -144
- package/src/features/shipping-method/shipping-method.schema.js +1 -48
- package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
- package/src/features/shipping-method/shipping-method.service.js +1 -229
- package/src/features/shipping-method/shipping-zone.schema.js +1 -31
- package/src/features/webhook/webhook.handler.js +1 -50
- package/src/features/webhook/webhook.route.js +1 -33
- package/src/index.js +1 -6
- package/src/integrations/next.js +1 -82
- package/src/schemas/address.schema.d.ts +0 -8
- package/src/schemas/address.schema.js +1 -112
- package/src/schemas/currency.schema.d.ts +0 -42
- package/src/schemas/currency.schema.js +1 -118
- package/src/schemas/error.schema.js +1 -12
- package/src/schemas/index.js +1 -29
- package/src/schemas/locales.schema.js +1 -238
- package/src/schemas/number.schema.js +1 -29
- package/src/schemas/pagination.schema.js +1 -54
- package/src/schemas/params.schema.js +1 -20
- package/src/schemas/queries.schema.js +1 -6
- package/src/test/global-setup.d.ts +1 -0
- package/src/test/global-setup.js +1 -0
- package/src/test/integration/api-fixtures.d.ts +4 -16
- package/src/test/integration/api-fixtures.js +1 -225
- package/src/test/integration/seed.d.ts +81 -0
- package/src/test/integration/seed.js +1 -0
- package/src/test/integration/test-helpers.d.ts +107 -924
- package/src/test/integration/test-helpers.js +1 -1100
- package/src/test/setup-test-env.d.ts +1 -1
- package/src/test/setup-test-env.js +1 -29
- package/src/app.js.map +0 -1
- package/src/core/auth/auth.schema.js.map +0 -1
- package/src/core/auth/auth.util.js.map +0 -1
- package/src/core/auth/better-auth.lib.js.map +0 -1
- package/src/core/auth/generate-password-hash.util.js.map +0 -1
- package/src/core/auth/headers.schema.js.map +0 -1
- package/src/core/auth/user.schema.js.map +0 -1
- package/src/core/db/__generated__/client/browser.js.map +0 -1
- package/src/core/db/__generated__/client/client.js.map +0 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/core/db/__generated__/client/enums.js.map +0 -1
- package/src/core/db/__generated__/client/internal/class.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
- package/src/core/db/__generated__/client/models/Account.js.map +0 -1
- package/src/core/db/__generated__/client/models/Address.js.map +0 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/File.js.map +0 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Member.js.map +0 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/Order.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/core/db/__generated__/client/models/Product.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Session.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/core/db/__generated__/client/models/User.js.map +0 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/core/db/__generated__/client/models.js.map +0 -1
- package/src/core/db/index.js.map +0 -1
- package/src/core/exceptions/http-exception.js.map +0 -1
- package/src/core/hono/hono.js.map +0 -1
- package/src/core/lib/prisma.js.map +0 -1
- package/src/core/logging/pino.js.map +0 -1
- package/src/core/notifications/email.service.js.map +0 -1
- package/src/core/openapi/openapi.lib.js.map +0 -1
- package/src/core/types/google-maps.types.js.map +0 -1
- package/src/core/utils/currency.util.js.map +0 -1
- package/src/core/utils/env.util.js.map +0 -1
- package/src/core/utils/object.util.js.map +0 -1
- package/src/core/utils/translations.util.js.map +0 -1
- package/src/core/utils/zod.util.js.map +0 -1
- package/src/db.js.map +0 -1
- package/src/features/access/access.handler.js.map +0 -1
- package/src/features/access/access.route.js.map +0 -1
- package/src/features/access/access.schema.js.map +0 -1
- package/src/features/access/access.service.js.map +0 -1
- package/src/features/cart/cart.handler.js.map +0 -1
- package/src/features/cart/cart.route.js.map +0 -1
- package/src/features/cart/cart.schema.js.map +0 -1
- package/src/features/cart/cart.service.js.map +0 -1
- package/src/features/cart/cart.util.js.map +0 -1
- package/src/features/file/file.handler.js.map +0 -1
- package/src/features/file/file.route.js.map +0 -1
- package/src/features/file/file.schema.js.map +0 -1
- package/src/features/file/file.service.js.map +0 -1
- package/src/features/health/health.handler.js.map +0 -1
- package/src/features/health/health.route.js.map +0 -1
- package/src/features/index.js.map +0 -1
- package/src/features/location/location.handler.js.map +0 -1
- package/src/features/location/location.route.js.map +0 -1
- package/src/features/location/location.schema.js.map +0 -1
- package/src/features/location/location.service.js.map +0 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
- package/src/features/manufacturer/manufacturer.route.js.map +0 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
- package/src/features/manufacturer/manufacturer.service.js.map +0 -1
- package/src/features/order/emails/order-confirmation.email.js.map +0 -1
- package/src/features/order/emails/order-notification.email.js.map +0 -1
- package/src/features/order/fulfilment.schema.js.map +0 -1
- package/src/features/order/order.handler.js.map +0 -1
- package/src/features/order/order.route.js.map +0 -1
- package/src/features/order/order.schema.js.map +0 -1
- package/src/features/order/order.service.js.map +0 -1
- package/src/features/order/recipient.schema.js.map +0 -1
- package/src/features/organization/legal-entity.schema.js.map +0 -1
- package/src/features/organization/organization-configuration.schema.js.map +0 -1
- package/src/features/organization/organization.handler.js.map +0 -1
- package/src/features/organization/organization.route.js.map +0 -1
- package/src/features/organization/organization.schema.js.map +0 -1
- package/src/features/organization/organization.service.js.map +0 -1
- package/src/features/payment/payment.handler.js.map +0 -1
- package/src/features/payment/payment.route.js.map +0 -1
- package/src/features/payment/payment.schema.js.map +0 -1
- package/src/features/payment/payment.service.js.map +0 -1
- package/src/features/payment/stripe.service.js.map +0 -1
- package/src/features/product/product-modifier.schema.js.map +0 -1
- package/src/features/product/product.handler.js.map +0 -1
- package/src/features/product/product.route.js.map +0 -1
- package/src/features/product/product.schema.js.map +0 -1
- package/src/features/product/product.service.js.map +0 -1
- package/src/features/product-category/product-category.handler.js.map +0 -1
- package/src/features/product-category/product-category.route.js.map +0 -1
- package/src/features/product-category/product-category.schema.js.map +0 -1
- package/src/features/product-category/product-category.service.js.map +0 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
- package/src/features/reservation/reservation.handler.js.map +0 -1
- package/src/features/reservation/reservation.route.js.map +0 -1
- package/src/features/reservation/reservation.schema.js.map +0 -1
- package/src/features/reservation/reservation.service.js.map +0 -1
- package/src/features/shipping/shipping.handler.js.map +0 -1
- package/src/features/shipping/shipping.route.js.map +0 -1
- package/src/features/shipping/shipping.service.js.map +0 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
- package/src/features/shipping-method/shipping-method.route.js.map +0 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
- package/src/features/shipping-method/shipping-method.service.js.map +0 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
- package/src/features/webhook/webhook.handler.js.map +0 -1
- package/src/features/webhook/webhook.route.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/integrations/next.js.map +0 -1
- package/src/schemas/address.schema.js.map +0 -1
- package/src/schemas/currency.schema.js.map +0 -1
- package/src/schemas/error.schema.js.map +0 -1
- package/src/schemas/index.js.map +0 -1
- package/src/schemas/locales.schema.js.map +0 -1
- package/src/schemas/number.schema.js.map +0 -1
- package/src/schemas/pagination.schema.js.map +0 -1
- package/src/schemas/params.schema.js.map +0 -1
- package/src/schemas/queries.schema.js.map +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.js.map +0 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
-
/**
|
|
4
|
-
* Model OrderItemTranslation
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
3
|
export type OrderItemTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrderItemTranslationPayload>;
|
|
8
4
|
export type AggregateOrderItemTranslation = {
|
|
9
5
|
_count: OrderItemTranslationCountAggregateOutputType | null;
|
|
@@ -55,51 +51,13 @@ export type OrderItemTranslationCountAggregateInputType = {
|
|
|
55
51
|
_all?: true;
|
|
56
52
|
};
|
|
57
53
|
export type OrderItemTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
58
|
-
/**
|
|
59
|
-
* Filter which OrderItemTranslation to aggregate.
|
|
60
|
-
*/
|
|
61
54
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
62
|
-
/**
|
|
63
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
64
|
-
*
|
|
65
|
-
* Determine the order of OrderItemTranslations to fetch.
|
|
66
|
-
*/
|
|
67
55
|
orderBy?: Prisma.OrderItemTranslationOrderByWithRelationInput | Prisma.OrderItemTranslationOrderByWithRelationInput[];
|
|
68
|
-
/**
|
|
69
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
70
|
-
*
|
|
71
|
-
* Sets the start position
|
|
72
|
-
*/
|
|
73
56
|
cursor?: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
74
|
-
/**
|
|
75
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
76
|
-
*
|
|
77
|
-
* Take `±n` OrderItemTranslations from the position of the cursor.
|
|
78
|
-
*/
|
|
79
57
|
take?: number;
|
|
80
|
-
/**
|
|
81
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
-
*
|
|
83
|
-
* Skip the first `n` OrderItemTranslations.
|
|
84
|
-
*/
|
|
85
58
|
skip?: number;
|
|
86
|
-
/**
|
|
87
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
-
*
|
|
89
|
-
* Count returned OrderItemTranslations
|
|
90
|
-
**/
|
|
91
59
|
_count?: true | OrderItemTranslationCountAggregateInputType;
|
|
92
|
-
/**
|
|
93
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
-
*
|
|
95
|
-
* Select which fields to find the minimum value
|
|
96
|
-
**/
|
|
97
60
|
_min?: OrderItemTranslationMinAggregateInputType;
|
|
98
|
-
/**
|
|
99
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
-
*
|
|
101
|
-
* Select which fields to find the maximum value
|
|
102
|
-
**/
|
|
103
61
|
_max?: OrderItemTranslationMaxAggregateInputType;
|
|
104
62
|
};
|
|
105
63
|
export type GetOrderItemTranslationAggregateType<T extends OrderItemTranslationAggregateArgs> = {
|
|
@@ -432,290 +390,22 @@ export interface OrderItemTranslationDelegate<ExtArgs extends runtime.Types.Exte
|
|
|
432
390
|
name: 'OrderItemTranslation';
|
|
433
391
|
};
|
|
434
392
|
};
|
|
435
|
-
/**
|
|
436
|
-
* Find zero or one OrderItemTranslation that matches the filter.
|
|
437
|
-
* @param {OrderItemTranslationFindUniqueArgs} args - Arguments to find a OrderItemTranslation
|
|
438
|
-
* @example
|
|
439
|
-
* // Get one OrderItemTranslation
|
|
440
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.findUnique({
|
|
441
|
-
* where: {
|
|
442
|
-
* // ... provide filter here
|
|
443
|
-
* }
|
|
444
|
-
* })
|
|
445
|
-
*/
|
|
446
393
|
findUnique<T extends OrderItemTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
447
|
-
/**
|
|
448
|
-
* Find one OrderItemTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
449
|
-
* if no matches were found.
|
|
450
|
-
* @param {OrderItemTranslationFindUniqueOrThrowArgs} args - Arguments to find a OrderItemTranslation
|
|
451
|
-
* @example
|
|
452
|
-
* // Get one OrderItemTranslation
|
|
453
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.findUniqueOrThrow({
|
|
454
|
-
* where: {
|
|
455
|
-
* // ... provide filter here
|
|
456
|
-
* }
|
|
457
|
-
* })
|
|
458
|
-
*/
|
|
459
394
|
findUniqueOrThrow<T extends OrderItemTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
460
|
-
/**
|
|
461
|
-
* Find the first OrderItemTranslation that matches the filter.
|
|
462
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
463
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
464
|
-
* @param {OrderItemTranslationFindFirstArgs} args - Arguments to find a OrderItemTranslation
|
|
465
|
-
* @example
|
|
466
|
-
* // Get one OrderItemTranslation
|
|
467
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.findFirst({
|
|
468
|
-
* where: {
|
|
469
|
-
* // ... provide filter here
|
|
470
|
-
* }
|
|
471
|
-
* })
|
|
472
|
-
*/
|
|
473
395
|
findFirst<T extends OrderItemTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
474
|
-
/**
|
|
475
|
-
* Find the first OrderItemTranslation that matches the filter or
|
|
476
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
477
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
478
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
479
|
-
* @param {OrderItemTranslationFindFirstOrThrowArgs} args - Arguments to find a OrderItemTranslation
|
|
480
|
-
* @example
|
|
481
|
-
* // Get one OrderItemTranslation
|
|
482
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.findFirstOrThrow({
|
|
483
|
-
* where: {
|
|
484
|
-
* // ... provide filter here
|
|
485
|
-
* }
|
|
486
|
-
* })
|
|
487
|
-
*/
|
|
488
396
|
findFirstOrThrow<T extends OrderItemTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
489
|
-
/**
|
|
490
|
-
* Find zero or more OrderItemTranslations that matches the filter.
|
|
491
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
492
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
493
|
-
* @param {OrderItemTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
494
|
-
* @example
|
|
495
|
-
* // Get all OrderItemTranslations
|
|
496
|
-
* const orderItemTranslations = await prisma.orderItemTranslation.findMany()
|
|
497
|
-
*
|
|
498
|
-
* // Get first 10 OrderItemTranslations
|
|
499
|
-
* const orderItemTranslations = await prisma.orderItemTranslation.findMany({ take: 10 })
|
|
500
|
-
*
|
|
501
|
-
* // Only select the `id`
|
|
502
|
-
* const orderItemTranslationWithIdOnly = await prisma.orderItemTranslation.findMany({ select: { id: true } })
|
|
503
|
-
*
|
|
504
|
-
*/
|
|
505
397
|
findMany<T extends OrderItemTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
506
|
-
/**
|
|
507
|
-
* Create a OrderItemTranslation.
|
|
508
|
-
* @param {OrderItemTranslationCreateArgs} args - Arguments to create a OrderItemTranslation.
|
|
509
|
-
* @example
|
|
510
|
-
* // Create one OrderItemTranslation
|
|
511
|
-
* const OrderItemTranslation = await prisma.orderItemTranslation.create({
|
|
512
|
-
* data: {
|
|
513
|
-
* // ... data to create a OrderItemTranslation
|
|
514
|
-
* }
|
|
515
|
-
* })
|
|
516
|
-
*
|
|
517
|
-
*/
|
|
518
398
|
create<T extends OrderItemTranslationCreateArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
519
|
-
/**
|
|
520
|
-
* Create many OrderItemTranslations.
|
|
521
|
-
* @param {OrderItemTranslationCreateManyArgs} args - Arguments to create many OrderItemTranslations.
|
|
522
|
-
* @example
|
|
523
|
-
* // Create many OrderItemTranslations
|
|
524
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.createMany({
|
|
525
|
-
* data: [
|
|
526
|
-
* // ... provide data here
|
|
527
|
-
* ]
|
|
528
|
-
* })
|
|
529
|
-
*
|
|
530
|
-
*/
|
|
531
399
|
createMany<T extends OrderItemTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
532
|
-
/**
|
|
533
|
-
* Create many OrderItemTranslations and returns the data saved in the database.
|
|
534
|
-
* @param {OrderItemTranslationCreateManyAndReturnArgs} args - Arguments to create many OrderItemTranslations.
|
|
535
|
-
* @example
|
|
536
|
-
* // Create many OrderItemTranslations
|
|
537
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.createManyAndReturn({
|
|
538
|
-
* data: [
|
|
539
|
-
* // ... provide data here
|
|
540
|
-
* ]
|
|
541
|
-
* })
|
|
542
|
-
*
|
|
543
|
-
* // Create many OrderItemTranslations and only return the `id`
|
|
544
|
-
* const orderItemTranslationWithIdOnly = await prisma.orderItemTranslation.createManyAndReturn({
|
|
545
|
-
* select: { id: true },
|
|
546
|
-
* data: [
|
|
547
|
-
* // ... provide data here
|
|
548
|
-
* ]
|
|
549
|
-
* })
|
|
550
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
551
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
552
|
-
*
|
|
553
|
-
*/
|
|
554
400
|
createManyAndReturn<T extends OrderItemTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
555
|
-
/**
|
|
556
|
-
* Delete a OrderItemTranslation.
|
|
557
|
-
* @param {OrderItemTranslationDeleteArgs} args - Arguments to delete one OrderItemTranslation.
|
|
558
|
-
* @example
|
|
559
|
-
* // Delete one OrderItemTranslation
|
|
560
|
-
* const OrderItemTranslation = await prisma.orderItemTranslation.delete({
|
|
561
|
-
* where: {
|
|
562
|
-
* // ... filter to delete one OrderItemTranslation
|
|
563
|
-
* }
|
|
564
|
-
* })
|
|
565
|
-
*
|
|
566
|
-
*/
|
|
567
401
|
delete<T extends OrderItemTranslationDeleteArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
568
|
-
/**
|
|
569
|
-
* Update one OrderItemTranslation.
|
|
570
|
-
* @param {OrderItemTranslationUpdateArgs} args - Arguments to update one OrderItemTranslation.
|
|
571
|
-
* @example
|
|
572
|
-
* // Update one OrderItemTranslation
|
|
573
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.update({
|
|
574
|
-
* where: {
|
|
575
|
-
* // ... provide filter here
|
|
576
|
-
* },
|
|
577
|
-
* data: {
|
|
578
|
-
* // ... provide data here
|
|
579
|
-
* }
|
|
580
|
-
* })
|
|
581
|
-
*
|
|
582
|
-
*/
|
|
583
402
|
update<T extends OrderItemTranslationUpdateArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
584
|
-
/**
|
|
585
|
-
* Delete zero or more OrderItemTranslations.
|
|
586
|
-
* @param {OrderItemTranslationDeleteManyArgs} args - Arguments to filter OrderItemTranslations to delete.
|
|
587
|
-
* @example
|
|
588
|
-
* // Delete a few OrderItemTranslations
|
|
589
|
-
* const { count } = await prisma.orderItemTranslation.deleteMany({
|
|
590
|
-
* where: {
|
|
591
|
-
* // ... provide filter here
|
|
592
|
-
* }
|
|
593
|
-
* })
|
|
594
|
-
*
|
|
595
|
-
*/
|
|
596
403
|
deleteMany<T extends OrderItemTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrderItemTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
597
|
-
/**
|
|
598
|
-
* Update zero or more OrderItemTranslations.
|
|
599
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
600
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
601
|
-
* @param {OrderItemTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
602
|
-
* @example
|
|
603
|
-
* // Update many OrderItemTranslations
|
|
604
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.updateMany({
|
|
605
|
-
* where: {
|
|
606
|
-
* // ... provide filter here
|
|
607
|
-
* },
|
|
608
|
-
* data: {
|
|
609
|
-
* // ... provide data here
|
|
610
|
-
* }
|
|
611
|
-
* })
|
|
612
|
-
*
|
|
613
|
-
*/
|
|
614
404
|
updateMany<T extends OrderItemTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
615
|
-
/**
|
|
616
|
-
* Update zero or more OrderItemTranslations and returns the data updated in the database.
|
|
617
|
-
* @param {OrderItemTranslationUpdateManyAndReturnArgs} args - Arguments to update many OrderItemTranslations.
|
|
618
|
-
* @example
|
|
619
|
-
* // Update many OrderItemTranslations
|
|
620
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.updateManyAndReturn({
|
|
621
|
-
* where: {
|
|
622
|
-
* // ... provide filter here
|
|
623
|
-
* },
|
|
624
|
-
* data: [
|
|
625
|
-
* // ... provide data here
|
|
626
|
-
* ]
|
|
627
|
-
* })
|
|
628
|
-
*
|
|
629
|
-
* // Update zero or more OrderItemTranslations and only return the `id`
|
|
630
|
-
* const orderItemTranslationWithIdOnly = await prisma.orderItemTranslation.updateManyAndReturn({
|
|
631
|
-
* select: { id: true },
|
|
632
|
-
* where: {
|
|
633
|
-
* // ... provide filter here
|
|
634
|
-
* },
|
|
635
|
-
* data: [
|
|
636
|
-
* // ... provide data here
|
|
637
|
-
* ]
|
|
638
|
-
* })
|
|
639
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
640
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
641
|
-
*
|
|
642
|
-
*/
|
|
643
405
|
updateManyAndReturn<T extends OrderItemTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
644
|
-
/**
|
|
645
|
-
* Create or update one OrderItemTranslation.
|
|
646
|
-
* @param {OrderItemTranslationUpsertArgs} args - Arguments to update or create a OrderItemTranslation.
|
|
647
|
-
* @example
|
|
648
|
-
* // Update or create a OrderItemTranslation
|
|
649
|
-
* const orderItemTranslation = await prisma.orderItemTranslation.upsert({
|
|
650
|
-
* create: {
|
|
651
|
-
* // ... data to create a OrderItemTranslation
|
|
652
|
-
* },
|
|
653
|
-
* update: {
|
|
654
|
-
* // ... in case it already exists, update
|
|
655
|
-
* },
|
|
656
|
-
* where: {
|
|
657
|
-
* // ... the filter for the OrderItemTranslation we want to update
|
|
658
|
-
* }
|
|
659
|
-
* })
|
|
660
|
-
*/
|
|
661
406
|
upsert<T extends OrderItemTranslationUpsertArgs>(args: Prisma.SelectSubset<T, OrderItemTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__OrderItemTranslationClient<runtime.Types.Result.GetResult<Prisma.$OrderItemTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
662
|
-
/**
|
|
663
|
-
* Count the number of OrderItemTranslations.
|
|
664
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
665
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
666
|
-
* @param {OrderItemTranslationCountArgs} args - Arguments to filter OrderItemTranslations to count.
|
|
667
|
-
* @example
|
|
668
|
-
* // Count the number of OrderItemTranslations
|
|
669
|
-
* const count = await prisma.orderItemTranslation.count({
|
|
670
|
-
* where: {
|
|
671
|
-
* // ... the filter for the OrderItemTranslations we want to count
|
|
672
|
-
* }
|
|
673
|
-
* })
|
|
674
|
-
**/
|
|
675
407
|
count<T extends OrderItemTranslationCountArgs>(args?: Prisma.Subset<T, OrderItemTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OrderItemTranslationCountAggregateOutputType> : number>;
|
|
676
|
-
/**
|
|
677
|
-
* Allows you to perform aggregations operations on a OrderItemTranslation.
|
|
678
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
679
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
680
|
-
* @param {OrderItemTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
681
|
-
* @example
|
|
682
|
-
* // Ordered by age ascending
|
|
683
|
-
* // Where email contains prisma.io
|
|
684
|
-
* // Limited to the 10 users
|
|
685
|
-
* const aggregations = await prisma.user.aggregate({
|
|
686
|
-
* _avg: {
|
|
687
|
-
* age: true,
|
|
688
|
-
* },
|
|
689
|
-
* where: {
|
|
690
|
-
* email: {
|
|
691
|
-
* contains: "prisma.io",
|
|
692
|
-
* },
|
|
693
|
-
* },
|
|
694
|
-
* orderBy: {
|
|
695
|
-
* age: "asc",
|
|
696
|
-
* },
|
|
697
|
-
* take: 10,
|
|
698
|
-
* })
|
|
699
|
-
**/
|
|
700
408
|
aggregate<T extends OrderItemTranslationAggregateArgs>(args: Prisma.Subset<T, OrderItemTranslationAggregateArgs>): Prisma.PrismaPromise<GetOrderItemTranslationAggregateType<T>>;
|
|
701
|
-
/**
|
|
702
|
-
* Group by OrderItemTranslation.
|
|
703
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
704
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
705
|
-
* @param {OrderItemTranslationGroupByArgs} args - Group by arguments.
|
|
706
|
-
* @example
|
|
707
|
-
* // Group by city, order by createdAt, get count
|
|
708
|
-
* const result = await prisma.user.groupBy({
|
|
709
|
-
* by: ['city', 'createdAt'],
|
|
710
|
-
* orderBy: {
|
|
711
|
-
* createdAt: true
|
|
712
|
-
* },
|
|
713
|
-
* _count: {
|
|
714
|
-
* _all: true
|
|
715
|
-
* },
|
|
716
|
-
* })
|
|
717
|
-
*
|
|
718
|
-
**/
|
|
719
409
|
groupBy<T extends OrderItemTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
720
410
|
orderBy: OrderItemTranslationGroupByArgs['orderBy'];
|
|
721
411
|
} : {
|
|
@@ -734,44 +424,15 @@ export interface OrderItemTranslationDelegate<ExtArgs extends runtime.Types.Exte
|
|
|
734
424
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
735
425
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
736
426
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrderItemTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrderItemTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
737
|
-
/**
|
|
738
|
-
* Fields of the OrderItemTranslation model
|
|
739
|
-
*/
|
|
740
427
|
readonly fields: OrderItemTranslationFieldRefs;
|
|
741
428
|
}
|
|
742
|
-
/**
|
|
743
|
-
* The delegate class that acts as a "Promise-like" for OrderItemTranslation.
|
|
744
|
-
* Why is this prefixed with `Prisma__`?
|
|
745
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
746
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
747
|
-
*/
|
|
748
429
|
export interface Prisma__OrderItemTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
749
430
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
750
431
|
orderItem<T extends Prisma.OrderItemDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrderItemDefaultArgs<ExtArgs>>): Prisma.Prisma__OrderItemClient<runtime.Types.Result.GetResult<Prisma.$OrderItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
751
|
-
/**
|
|
752
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
753
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
754
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
755
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
756
|
-
*/
|
|
757
432
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
758
|
-
/**
|
|
759
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
760
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
761
|
-
* @returns A Promise for the completion of the callback.
|
|
762
|
-
*/
|
|
763
433
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
764
|
-
/**
|
|
765
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
766
|
-
* resolved value cannot be modified from the callback.
|
|
767
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
768
|
-
* @returns A Promise for the completion of the callback.
|
|
769
|
-
*/
|
|
770
434
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
771
435
|
}
|
|
772
|
-
/**
|
|
773
|
-
* Fields of the OrderItemTranslation model
|
|
774
|
-
*/
|
|
775
436
|
export interface OrderItemTranslationFieldRefs {
|
|
776
437
|
readonly id: Prisma.FieldRef<"OrderItemTranslation", 'String'>;
|
|
777
438
|
readonly locale: Prisma.FieldRef<"OrderItemTranslation", 'String'>;
|
|
@@ -779,398 +440,109 @@ export interface OrderItemTranslationFieldRefs {
|
|
|
779
440
|
readonly subtitle: Prisma.FieldRef<"OrderItemTranslation", 'String'>;
|
|
780
441
|
readonly orderItemId: Prisma.FieldRef<"OrderItemTranslation", 'String'>;
|
|
781
442
|
}
|
|
782
|
-
/**
|
|
783
|
-
* OrderItemTranslation findUnique
|
|
784
|
-
*/
|
|
785
443
|
export type OrderItemTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
786
|
-
/**
|
|
787
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
788
|
-
*/
|
|
789
444
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
790
|
-
/**
|
|
791
|
-
* Omit specific fields from the OrderItemTranslation
|
|
792
|
-
*/
|
|
793
445
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
794
|
-
/**
|
|
795
|
-
* Choose, which related nodes to fetch as well
|
|
796
|
-
*/
|
|
797
446
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
798
|
-
/**
|
|
799
|
-
* Filter, which OrderItemTranslation to fetch.
|
|
800
|
-
*/
|
|
801
447
|
where: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
802
448
|
};
|
|
803
|
-
/**
|
|
804
|
-
* OrderItemTranslation findUniqueOrThrow
|
|
805
|
-
*/
|
|
806
449
|
export type OrderItemTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
807
|
-
/**
|
|
808
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
809
|
-
*/
|
|
810
450
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
811
|
-
/**
|
|
812
|
-
* Omit specific fields from the OrderItemTranslation
|
|
813
|
-
*/
|
|
814
451
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
815
|
-
/**
|
|
816
|
-
* Choose, which related nodes to fetch as well
|
|
817
|
-
*/
|
|
818
452
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
819
|
-
/**
|
|
820
|
-
* Filter, which OrderItemTranslation to fetch.
|
|
821
|
-
*/
|
|
822
453
|
where: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
823
454
|
};
|
|
824
|
-
/**
|
|
825
|
-
* OrderItemTranslation findFirst
|
|
826
|
-
*/
|
|
827
455
|
export type OrderItemTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
828
|
-
/**
|
|
829
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
830
|
-
*/
|
|
831
456
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
832
|
-
/**
|
|
833
|
-
* Omit specific fields from the OrderItemTranslation
|
|
834
|
-
*/
|
|
835
457
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
836
|
-
/**
|
|
837
|
-
* Choose, which related nodes to fetch as well
|
|
838
|
-
*/
|
|
839
458
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
840
|
-
/**
|
|
841
|
-
* Filter, which OrderItemTranslation to fetch.
|
|
842
|
-
*/
|
|
843
459
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
844
|
-
/**
|
|
845
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
846
|
-
*
|
|
847
|
-
* Determine the order of OrderItemTranslations to fetch.
|
|
848
|
-
*/
|
|
849
460
|
orderBy?: Prisma.OrderItemTranslationOrderByWithRelationInput | Prisma.OrderItemTranslationOrderByWithRelationInput[];
|
|
850
|
-
/**
|
|
851
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
852
|
-
*
|
|
853
|
-
* Sets the position for searching for OrderItemTranslations.
|
|
854
|
-
*/
|
|
855
461
|
cursor?: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
856
|
-
/**
|
|
857
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
858
|
-
*
|
|
859
|
-
* Take `±n` OrderItemTranslations from the position of the cursor.
|
|
860
|
-
*/
|
|
861
462
|
take?: number;
|
|
862
|
-
/**
|
|
863
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
864
|
-
*
|
|
865
|
-
* Skip the first `n` OrderItemTranslations.
|
|
866
|
-
*/
|
|
867
463
|
skip?: number;
|
|
868
|
-
/**
|
|
869
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
870
|
-
*
|
|
871
|
-
* Filter by unique combinations of OrderItemTranslations.
|
|
872
|
-
*/
|
|
873
464
|
distinct?: Prisma.OrderItemTranslationScalarFieldEnum | Prisma.OrderItemTranslationScalarFieldEnum[];
|
|
874
465
|
};
|
|
875
|
-
/**
|
|
876
|
-
* OrderItemTranslation findFirstOrThrow
|
|
877
|
-
*/
|
|
878
466
|
export type OrderItemTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
879
|
-
/**
|
|
880
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
881
|
-
*/
|
|
882
467
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
883
|
-
/**
|
|
884
|
-
* Omit specific fields from the OrderItemTranslation
|
|
885
|
-
*/
|
|
886
468
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
887
|
-
/**
|
|
888
|
-
* Choose, which related nodes to fetch as well
|
|
889
|
-
*/
|
|
890
469
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
891
|
-
/**
|
|
892
|
-
* Filter, which OrderItemTranslation to fetch.
|
|
893
|
-
*/
|
|
894
470
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
895
|
-
/**
|
|
896
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
897
|
-
*
|
|
898
|
-
* Determine the order of OrderItemTranslations to fetch.
|
|
899
|
-
*/
|
|
900
471
|
orderBy?: Prisma.OrderItemTranslationOrderByWithRelationInput | Prisma.OrderItemTranslationOrderByWithRelationInput[];
|
|
901
|
-
/**
|
|
902
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
903
|
-
*
|
|
904
|
-
* Sets the position for searching for OrderItemTranslations.
|
|
905
|
-
*/
|
|
906
472
|
cursor?: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
907
|
-
/**
|
|
908
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
909
|
-
*
|
|
910
|
-
* Take `±n` OrderItemTranslations from the position of the cursor.
|
|
911
|
-
*/
|
|
912
473
|
take?: number;
|
|
913
|
-
/**
|
|
914
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
915
|
-
*
|
|
916
|
-
* Skip the first `n` OrderItemTranslations.
|
|
917
|
-
*/
|
|
918
474
|
skip?: number;
|
|
919
|
-
/**
|
|
920
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
921
|
-
*
|
|
922
|
-
* Filter by unique combinations of OrderItemTranslations.
|
|
923
|
-
*/
|
|
924
475
|
distinct?: Prisma.OrderItemTranslationScalarFieldEnum | Prisma.OrderItemTranslationScalarFieldEnum[];
|
|
925
476
|
};
|
|
926
|
-
/**
|
|
927
|
-
* OrderItemTranslation findMany
|
|
928
|
-
*/
|
|
929
477
|
export type OrderItemTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
930
|
-
/**
|
|
931
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
932
|
-
*/
|
|
933
478
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
934
|
-
/**
|
|
935
|
-
* Omit specific fields from the OrderItemTranslation
|
|
936
|
-
*/
|
|
937
479
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
938
|
-
/**
|
|
939
|
-
* Choose, which related nodes to fetch as well
|
|
940
|
-
*/
|
|
941
480
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
942
|
-
/**
|
|
943
|
-
* Filter, which OrderItemTranslations to fetch.
|
|
944
|
-
*/
|
|
945
481
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
946
|
-
/**
|
|
947
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
948
|
-
*
|
|
949
|
-
* Determine the order of OrderItemTranslations to fetch.
|
|
950
|
-
*/
|
|
951
482
|
orderBy?: Prisma.OrderItemTranslationOrderByWithRelationInput | Prisma.OrderItemTranslationOrderByWithRelationInput[];
|
|
952
|
-
/**
|
|
953
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
954
|
-
*
|
|
955
|
-
* Sets the position for listing OrderItemTranslations.
|
|
956
|
-
*/
|
|
957
483
|
cursor?: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
958
|
-
/**
|
|
959
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
960
|
-
*
|
|
961
|
-
* Take `±n` OrderItemTranslations from the position of the cursor.
|
|
962
|
-
*/
|
|
963
484
|
take?: number;
|
|
964
|
-
/**
|
|
965
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
966
|
-
*
|
|
967
|
-
* Skip the first `n` OrderItemTranslations.
|
|
968
|
-
*/
|
|
969
485
|
skip?: number;
|
|
970
486
|
distinct?: Prisma.OrderItemTranslationScalarFieldEnum | Prisma.OrderItemTranslationScalarFieldEnum[];
|
|
971
487
|
};
|
|
972
|
-
/**
|
|
973
|
-
* OrderItemTranslation create
|
|
974
|
-
*/
|
|
975
488
|
export type OrderItemTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
-
/**
|
|
977
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
978
|
-
*/
|
|
979
489
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
980
|
-
/**
|
|
981
|
-
* Omit specific fields from the OrderItemTranslation
|
|
982
|
-
*/
|
|
983
490
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
984
|
-
/**
|
|
985
|
-
* Choose, which related nodes to fetch as well
|
|
986
|
-
*/
|
|
987
491
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
988
|
-
/**
|
|
989
|
-
* The data needed to create a OrderItemTranslation.
|
|
990
|
-
*/
|
|
991
492
|
data: Prisma.XOR<Prisma.OrderItemTranslationCreateInput, Prisma.OrderItemTranslationUncheckedCreateInput>;
|
|
992
493
|
};
|
|
993
|
-
/**
|
|
994
|
-
* OrderItemTranslation createMany
|
|
995
|
-
*/
|
|
996
494
|
export type OrderItemTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
-
/**
|
|
998
|
-
* The data used to create many OrderItemTranslations.
|
|
999
|
-
*/
|
|
1000
495
|
data: Prisma.OrderItemTranslationCreateManyInput | Prisma.OrderItemTranslationCreateManyInput[];
|
|
1001
496
|
skipDuplicates?: boolean;
|
|
1002
497
|
};
|
|
1003
|
-
/**
|
|
1004
|
-
* OrderItemTranslation createManyAndReturn
|
|
1005
|
-
*/
|
|
1006
498
|
export type OrderItemTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
-
/**
|
|
1008
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1009
|
-
*/
|
|
1010
499
|
select?: Prisma.OrderItemTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1011
|
-
/**
|
|
1012
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1013
|
-
*/
|
|
1014
500
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1015
|
-
/**
|
|
1016
|
-
* The data used to create many OrderItemTranslations.
|
|
1017
|
-
*/
|
|
1018
501
|
data: Prisma.OrderItemTranslationCreateManyInput | Prisma.OrderItemTranslationCreateManyInput[];
|
|
1019
502
|
skipDuplicates?: boolean;
|
|
1020
|
-
/**
|
|
1021
|
-
* Choose, which related nodes to fetch as well
|
|
1022
|
-
*/
|
|
1023
503
|
include?: Prisma.OrderItemTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1024
504
|
};
|
|
1025
|
-
/**
|
|
1026
|
-
* OrderItemTranslation update
|
|
1027
|
-
*/
|
|
1028
505
|
export type OrderItemTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1029
|
-
/**
|
|
1030
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1031
|
-
*/
|
|
1032
506
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
1033
|
-
/**
|
|
1034
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1035
|
-
*/
|
|
1036
507
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1037
|
-
/**
|
|
1038
|
-
* Choose, which related nodes to fetch as well
|
|
1039
|
-
*/
|
|
1040
508
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
1041
|
-
/**
|
|
1042
|
-
* The data needed to update a OrderItemTranslation.
|
|
1043
|
-
*/
|
|
1044
509
|
data: Prisma.XOR<Prisma.OrderItemTranslationUpdateInput, Prisma.OrderItemTranslationUncheckedUpdateInput>;
|
|
1045
|
-
/**
|
|
1046
|
-
* Choose, which OrderItemTranslation to update.
|
|
1047
|
-
*/
|
|
1048
510
|
where: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
1049
511
|
};
|
|
1050
|
-
/**
|
|
1051
|
-
* OrderItemTranslation updateMany
|
|
1052
|
-
*/
|
|
1053
512
|
export type OrderItemTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1054
|
-
/**
|
|
1055
|
-
* The data used to update OrderItemTranslations.
|
|
1056
|
-
*/
|
|
1057
513
|
data: Prisma.XOR<Prisma.OrderItemTranslationUpdateManyMutationInput, Prisma.OrderItemTranslationUncheckedUpdateManyInput>;
|
|
1058
|
-
/**
|
|
1059
|
-
* Filter which OrderItemTranslations to update
|
|
1060
|
-
*/
|
|
1061
514
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
1062
|
-
/**
|
|
1063
|
-
* Limit how many OrderItemTranslations to update.
|
|
1064
|
-
*/
|
|
1065
515
|
limit?: number;
|
|
1066
516
|
};
|
|
1067
|
-
/**
|
|
1068
|
-
* OrderItemTranslation updateManyAndReturn
|
|
1069
|
-
*/
|
|
1070
517
|
export type OrderItemTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
-
/**
|
|
1072
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1073
|
-
*/
|
|
1074
518
|
select?: Prisma.OrderItemTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1075
|
-
/**
|
|
1076
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1077
|
-
*/
|
|
1078
519
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1079
|
-
/**
|
|
1080
|
-
* The data used to update OrderItemTranslations.
|
|
1081
|
-
*/
|
|
1082
520
|
data: Prisma.XOR<Prisma.OrderItemTranslationUpdateManyMutationInput, Prisma.OrderItemTranslationUncheckedUpdateManyInput>;
|
|
1083
|
-
/**
|
|
1084
|
-
* Filter which OrderItemTranslations to update
|
|
1085
|
-
*/
|
|
1086
521
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
1087
|
-
/**
|
|
1088
|
-
* Limit how many OrderItemTranslations to update.
|
|
1089
|
-
*/
|
|
1090
522
|
limit?: number;
|
|
1091
|
-
/**
|
|
1092
|
-
* Choose, which related nodes to fetch as well
|
|
1093
|
-
*/
|
|
1094
523
|
include?: Prisma.OrderItemTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1095
524
|
};
|
|
1096
|
-
/**
|
|
1097
|
-
* OrderItemTranslation upsert
|
|
1098
|
-
*/
|
|
1099
525
|
export type OrderItemTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1100
|
-
/**
|
|
1101
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1102
|
-
*/
|
|
1103
526
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
1104
|
-
/**
|
|
1105
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1106
|
-
*/
|
|
1107
527
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1108
|
-
/**
|
|
1109
|
-
* Choose, which related nodes to fetch as well
|
|
1110
|
-
*/
|
|
1111
528
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
1112
|
-
/**
|
|
1113
|
-
* The filter to search for the OrderItemTranslation to update in case it exists.
|
|
1114
|
-
*/
|
|
1115
529
|
where: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
1116
|
-
/**
|
|
1117
|
-
* In case the OrderItemTranslation found by the `where` argument doesn't exist, create a new OrderItemTranslation with this data.
|
|
1118
|
-
*/
|
|
1119
530
|
create: Prisma.XOR<Prisma.OrderItemTranslationCreateInput, Prisma.OrderItemTranslationUncheckedCreateInput>;
|
|
1120
|
-
/**
|
|
1121
|
-
* In case the OrderItemTranslation was found with the provided `where` argument, update it with this data.
|
|
1122
|
-
*/
|
|
1123
531
|
update: Prisma.XOR<Prisma.OrderItemTranslationUpdateInput, Prisma.OrderItemTranslationUncheckedUpdateInput>;
|
|
1124
532
|
};
|
|
1125
|
-
/**
|
|
1126
|
-
* OrderItemTranslation delete
|
|
1127
|
-
*/
|
|
1128
533
|
export type OrderItemTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1129
|
-
/**
|
|
1130
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1131
|
-
*/
|
|
1132
534
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
1133
|
-
/**
|
|
1134
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1135
|
-
*/
|
|
1136
535
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1137
|
-
/**
|
|
1138
|
-
* Choose, which related nodes to fetch as well
|
|
1139
|
-
*/
|
|
1140
536
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
1141
|
-
/**
|
|
1142
|
-
* Filter which OrderItemTranslation to delete.
|
|
1143
|
-
*/
|
|
1144
537
|
where: Prisma.OrderItemTranslationWhereUniqueInput;
|
|
1145
538
|
};
|
|
1146
|
-
/**
|
|
1147
|
-
* OrderItemTranslation deleteMany
|
|
1148
|
-
*/
|
|
1149
539
|
export type OrderItemTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1150
|
-
/**
|
|
1151
|
-
* Filter which OrderItemTranslations to delete
|
|
1152
|
-
*/
|
|
1153
540
|
where?: Prisma.OrderItemTranslationWhereInput;
|
|
1154
|
-
/**
|
|
1155
|
-
* Limit how many OrderItemTranslations to delete.
|
|
1156
|
-
*/
|
|
1157
541
|
limit?: number;
|
|
1158
542
|
};
|
|
1159
|
-
/**
|
|
1160
|
-
* OrderItemTranslation without action
|
|
1161
|
-
*/
|
|
1162
543
|
export type OrderItemTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1163
|
-
/**
|
|
1164
|
-
* Select specific fields to fetch from the OrderItemTranslation
|
|
1165
|
-
*/
|
|
1166
544
|
select?: Prisma.OrderItemTranslationSelect<ExtArgs> | null;
|
|
1167
|
-
/**
|
|
1168
|
-
* Omit specific fields from the OrderItemTranslation
|
|
1169
|
-
*/
|
|
1170
545
|
omit?: Prisma.OrderItemTranslationOmit<ExtArgs> | null;
|
|
1171
|
-
/**
|
|
1172
|
-
* Choose, which related nodes to fetch as well
|
|
1173
|
-
*/
|
|
1174
546
|
include?: Prisma.OrderItemTranslationInclude<ExtArgs> | null;
|
|
1175
547
|
};
|
|
1176
548
|
export {};
|