@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 ManufacturerTranslation
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
3
|
export type ManufacturerTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ManufacturerTranslationPayload>;
|
|
8
4
|
export type AggregateManufacturerTranslation = {
|
|
9
5
|
_count: ManufacturerTranslationCountAggregateOutputType | null;
|
|
@@ -73,51 +69,13 @@ export type ManufacturerTranslationCountAggregateInputType = {
|
|
|
73
69
|
_all?: true;
|
|
74
70
|
};
|
|
75
71
|
export type ManufacturerTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
-
/**
|
|
77
|
-
* Filter which ManufacturerTranslation to aggregate.
|
|
78
|
-
*/
|
|
79
72
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
80
|
-
/**
|
|
81
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
-
*
|
|
83
|
-
* Determine the order of ManufacturerTranslations to fetch.
|
|
84
|
-
*/
|
|
85
73
|
orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
|
|
86
|
-
/**
|
|
87
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
-
*
|
|
89
|
-
* Sets the start position
|
|
90
|
-
*/
|
|
91
74
|
cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
92
|
-
/**
|
|
93
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
-
*
|
|
95
|
-
* Take `±n` ManufacturerTranslations from the position of the cursor.
|
|
96
|
-
*/
|
|
97
75
|
take?: number;
|
|
98
|
-
/**
|
|
99
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
-
*
|
|
101
|
-
* Skip the first `n` ManufacturerTranslations.
|
|
102
|
-
*/
|
|
103
76
|
skip?: number;
|
|
104
|
-
/**
|
|
105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
-
*
|
|
107
|
-
* Count returned ManufacturerTranslations
|
|
108
|
-
**/
|
|
109
77
|
_count?: true | ManufacturerTranslationCountAggregateInputType;
|
|
110
|
-
/**
|
|
111
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
-
*
|
|
113
|
-
* Select which fields to find the minimum value
|
|
114
|
-
**/
|
|
115
78
|
_min?: ManufacturerTranslationMinAggregateInputType;
|
|
116
|
-
/**
|
|
117
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
-
*
|
|
119
|
-
* Select which fields to find the maximum value
|
|
120
|
-
**/
|
|
121
79
|
_max?: ManufacturerTranslationMaxAggregateInputType;
|
|
122
80
|
};
|
|
123
81
|
export type GetManufacturerTranslationAggregateType<T extends ManufacturerTranslationAggregateArgs> = {
|
|
@@ -534,290 +492,22 @@ export interface ManufacturerTranslationDelegate<ExtArgs extends runtime.Types.E
|
|
|
534
492
|
name: 'ManufacturerTranslation';
|
|
535
493
|
};
|
|
536
494
|
};
|
|
537
|
-
/**
|
|
538
|
-
* Find zero or one ManufacturerTranslation that matches the filter.
|
|
539
|
-
* @param {ManufacturerTranslationFindUniqueArgs} args - Arguments to find a ManufacturerTranslation
|
|
540
|
-
* @example
|
|
541
|
-
* // Get one ManufacturerTranslation
|
|
542
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.findUnique({
|
|
543
|
-
* where: {
|
|
544
|
-
* // ... provide filter here
|
|
545
|
-
* }
|
|
546
|
-
* })
|
|
547
|
-
*/
|
|
548
495
|
findUnique<T extends ManufacturerTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
549
|
-
/**
|
|
550
|
-
* Find one ManufacturerTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
551
|
-
* if no matches were found.
|
|
552
|
-
* @param {ManufacturerTranslationFindUniqueOrThrowArgs} args - Arguments to find a ManufacturerTranslation
|
|
553
|
-
* @example
|
|
554
|
-
* // Get one ManufacturerTranslation
|
|
555
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.findUniqueOrThrow({
|
|
556
|
-
* where: {
|
|
557
|
-
* // ... provide filter here
|
|
558
|
-
* }
|
|
559
|
-
* })
|
|
560
|
-
*/
|
|
561
496
|
findUniqueOrThrow<T extends ManufacturerTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
562
|
-
/**
|
|
563
|
-
* Find the first ManufacturerTranslation that matches the filter.
|
|
564
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
565
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
566
|
-
* @param {ManufacturerTranslationFindFirstArgs} args - Arguments to find a ManufacturerTranslation
|
|
567
|
-
* @example
|
|
568
|
-
* // Get one ManufacturerTranslation
|
|
569
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.findFirst({
|
|
570
|
-
* where: {
|
|
571
|
-
* // ... provide filter here
|
|
572
|
-
* }
|
|
573
|
-
* })
|
|
574
|
-
*/
|
|
575
497
|
findFirst<T extends ManufacturerTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
576
|
-
/**
|
|
577
|
-
* Find the first ManufacturerTranslation that matches the filter or
|
|
578
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
579
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
580
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
581
|
-
* @param {ManufacturerTranslationFindFirstOrThrowArgs} args - Arguments to find a ManufacturerTranslation
|
|
582
|
-
* @example
|
|
583
|
-
* // Get one ManufacturerTranslation
|
|
584
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.findFirstOrThrow({
|
|
585
|
-
* where: {
|
|
586
|
-
* // ... provide filter here
|
|
587
|
-
* }
|
|
588
|
-
* })
|
|
589
|
-
*/
|
|
590
498
|
findFirstOrThrow<T extends ManufacturerTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
591
|
-
/**
|
|
592
|
-
* Find zero or more ManufacturerTranslations that matches the filter.
|
|
593
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
594
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
595
|
-
* @param {ManufacturerTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
596
|
-
* @example
|
|
597
|
-
* // Get all ManufacturerTranslations
|
|
598
|
-
* const manufacturerTranslations = await prisma.manufacturerTranslation.findMany()
|
|
599
|
-
*
|
|
600
|
-
* // Get first 10 ManufacturerTranslations
|
|
601
|
-
* const manufacturerTranslations = await prisma.manufacturerTranslation.findMany({ take: 10 })
|
|
602
|
-
*
|
|
603
|
-
* // Only select the `id`
|
|
604
|
-
* const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.findMany({ select: { id: true } })
|
|
605
|
-
*
|
|
606
|
-
*/
|
|
607
499
|
findMany<T extends ManufacturerTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
608
|
-
/**
|
|
609
|
-
* Create a ManufacturerTranslation.
|
|
610
|
-
* @param {ManufacturerTranslationCreateArgs} args - Arguments to create a ManufacturerTranslation.
|
|
611
|
-
* @example
|
|
612
|
-
* // Create one ManufacturerTranslation
|
|
613
|
-
* const ManufacturerTranslation = await prisma.manufacturerTranslation.create({
|
|
614
|
-
* data: {
|
|
615
|
-
* // ... data to create a ManufacturerTranslation
|
|
616
|
-
* }
|
|
617
|
-
* })
|
|
618
|
-
*
|
|
619
|
-
*/
|
|
620
500
|
create<T extends ManufacturerTranslationCreateArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
621
|
-
/**
|
|
622
|
-
* Create many ManufacturerTranslations.
|
|
623
|
-
* @param {ManufacturerTranslationCreateManyArgs} args - Arguments to create many ManufacturerTranslations.
|
|
624
|
-
* @example
|
|
625
|
-
* // Create many ManufacturerTranslations
|
|
626
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.createMany({
|
|
627
|
-
* data: [
|
|
628
|
-
* // ... provide data here
|
|
629
|
-
* ]
|
|
630
|
-
* })
|
|
631
|
-
*
|
|
632
|
-
*/
|
|
633
501
|
createMany<T extends ManufacturerTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
634
|
-
/**
|
|
635
|
-
* Create many ManufacturerTranslations and returns the data saved in the database.
|
|
636
|
-
* @param {ManufacturerTranslationCreateManyAndReturnArgs} args - Arguments to create many ManufacturerTranslations.
|
|
637
|
-
* @example
|
|
638
|
-
* // Create many ManufacturerTranslations
|
|
639
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.createManyAndReturn({
|
|
640
|
-
* data: [
|
|
641
|
-
* // ... provide data here
|
|
642
|
-
* ]
|
|
643
|
-
* })
|
|
644
|
-
*
|
|
645
|
-
* // Create many ManufacturerTranslations and only return the `id`
|
|
646
|
-
* const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.createManyAndReturn({
|
|
647
|
-
* select: { id: true },
|
|
648
|
-
* data: [
|
|
649
|
-
* // ... provide data here
|
|
650
|
-
* ]
|
|
651
|
-
* })
|
|
652
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
653
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
654
|
-
*
|
|
655
|
-
*/
|
|
656
502
|
createManyAndReturn<T extends ManufacturerTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
657
|
-
/**
|
|
658
|
-
* Delete a ManufacturerTranslation.
|
|
659
|
-
* @param {ManufacturerTranslationDeleteArgs} args - Arguments to delete one ManufacturerTranslation.
|
|
660
|
-
* @example
|
|
661
|
-
* // Delete one ManufacturerTranslation
|
|
662
|
-
* const ManufacturerTranslation = await prisma.manufacturerTranslation.delete({
|
|
663
|
-
* where: {
|
|
664
|
-
* // ... filter to delete one ManufacturerTranslation
|
|
665
|
-
* }
|
|
666
|
-
* })
|
|
667
|
-
*
|
|
668
|
-
*/
|
|
669
503
|
delete<T extends ManufacturerTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
670
|
-
/**
|
|
671
|
-
* Update one ManufacturerTranslation.
|
|
672
|
-
* @param {ManufacturerTranslationUpdateArgs} args - Arguments to update one ManufacturerTranslation.
|
|
673
|
-
* @example
|
|
674
|
-
* // Update one ManufacturerTranslation
|
|
675
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.update({
|
|
676
|
-
* where: {
|
|
677
|
-
* // ... provide filter here
|
|
678
|
-
* },
|
|
679
|
-
* data: {
|
|
680
|
-
* // ... provide data here
|
|
681
|
-
* }
|
|
682
|
-
* })
|
|
683
|
-
*
|
|
684
|
-
*/
|
|
685
504
|
update<T extends ManufacturerTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
686
|
-
/**
|
|
687
|
-
* Delete zero or more ManufacturerTranslations.
|
|
688
|
-
* @param {ManufacturerTranslationDeleteManyArgs} args - Arguments to filter ManufacturerTranslations to delete.
|
|
689
|
-
* @example
|
|
690
|
-
* // Delete a few ManufacturerTranslations
|
|
691
|
-
* const { count } = await prisma.manufacturerTranslation.deleteMany({
|
|
692
|
-
* where: {
|
|
693
|
-
* // ... provide filter here
|
|
694
|
-
* }
|
|
695
|
-
* })
|
|
696
|
-
*
|
|
697
|
-
*/
|
|
698
505
|
deleteMany<T extends ManufacturerTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
699
|
-
/**
|
|
700
|
-
* Update zero or more ManufacturerTranslations.
|
|
701
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
702
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
703
|
-
* @param {ManufacturerTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
704
|
-
* @example
|
|
705
|
-
* // Update many ManufacturerTranslations
|
|
706
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.updateMany({
|
|
707
|
-
* where: {
|
|
708
|
-
* // ... provide filter here
|
|
709
|
-
* },
|
|
710
|
-
* data: {
|
|
711
|
-
* // ... provide data here
|
|
712
|
-
* }
|
|
713
|
-
* })
|
|
714
|
-
*
|
|
715
|
-
*/
|
|
716
506
|
updateMany<T extends ManufacturerTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
717
|
-
/**
|
|
718
|
-
* Update zero or more ManufacturerTranslations and returns the data updated in the database.
|
|
719
|
-
* @param {ManufacturerTranslationUpdateManyAndReturnArgs} args - Arguments to update many ManufacturerTranslations.
|
|
720
|
-
* @example
|
|
721
|
-
* // Update many ManufacturerTranslations
|
|
722
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.updateManyAndReturn({
|
|
723
|
-
* where: {
|
|
724
|
-
* // ... provide filter here
|
|
725
|
-
* },
|
|
726
|
-
* data: [
|
|
727
|
-
* // ... provide data here
|
|
728
|
-
* ]
|
|
729
|
-
* })
|
|
730
|
-
*
|
|
731
|
-
* // Update zero or more ManufacturerTranslations and only return the `id`
|
|
732
|
-
* const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.updateManyAndReturn({
|
|
733
|
-
* select: { id: true },
|
|
734
|
-
* where: {
|
|
735
|
-
* // ... provide filter here
|
|
736
|
-
* },
|
|
737
|
-
* data: [
|
|
738
|
-
* // ... provide data here
|
|
739
|
-
* ]
|
|
740
|
-
* })
|
|
741
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
742
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
743
|
-
*
|
|
744
|
-
*/
|
|
745
507
|
updateManyAndReturn<T extends ManufacturerTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
746
|
-
/**
|
|
747
|
-
* Create or update one ManufacturerTranslation.
|
|
748
|
-
* @param {ManufacturerTranslationUpsertArgs} args - Arguments to update or create a ManufacturerTranslation.
|
|
749
|
-
* @example
|
|
750
|
-
* // Update or create a ManufacturerTranslation
|
|
751
|
-
* const manufacturerTranslation = await prisma.manufacturerTranslation.upsert({
|
|
752
|
-
* create: {
|
|
753
|
-
* // ... data to create a ManufacturerTranslation
|
|
754
|
-
* },
|
|
755
|
-
* update: {
|
|
756
|
-
* // ... in case it already exists, update
|
|
757
|
-
* },
|
|
758
|
-
* where: {
|
|
759
|
-
* // ... the filter for the ManufacturerTranslation we want to update
|
|
760
|
-
* }
|
|
761
|
-
* })
|
|
762
|
-
*/
|
|
763
508
|
upsert<T extends ManufacturerTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
764
|
-
/**
|
|
765
|
-
* Count the number of ManufacturerTranslations.
|
|
766
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
767
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
768
|
-
* @param {ManufacturerTranslationCountArgs} args - Arguments to filter ManufacturerTranslations to count.
|
|
769
|
-
* @example
|
|
770
|
-
* // Count the number of ManufacturerTranslations
|
|
771
|
-
* const count = await prisma.manufacturerTranslation.count({
|
|
772
|
-
* where: {
|
|
773
|
-
* // ... the filter for the ManufacturerTranslations we want to count
|
|
774
|
-
* }
|
|
775
|
-
* })
|
|
776
|
-
**/
|
|
777
509
|
count<T extends ManufacturerTranslationCountArgs>(args?: Prisma.Subset<T, ManufacturerTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ManufacturerTranslationCountAggregateOutputType> : number>;
|
|
778
|
-
/**
|
|
779
|
-
* Allows you to perform aggregations operations on a ManufacturerTranslation.
|
|
780
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
781
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
782
|
-
* @param {ManufacturerTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
783
|
-
* @example
|
|
784
|
-
* // Ordered by age ascending
|
|
785
|
-
* // Where email contains prisma.io
|
|
786
|
-
* // Limited to the 10 users
|
|
787
|
-
* const aggregations = await prisma.user.aggregate({
|
|
788
|
-
* _avg: {
|
|
789
|
-
* age: true,
|
|
790
|
-
* },
|
|
791
|
-
* where: {
|
|
792
|
-
* email: {
|
|
793
|
-
* contains: "prisma.io",
|
|
794
|
-
* },
|
|
795
|
-
* },
|
|
796
|
-
* orderBy: {
|
|
797
|
-
* age: "asc",
|
|
798
|
-
* },
|
|
799
|
-
* take: 10,
|
|
800
|
-
* })
|
|
801
|
-
**/
|
|
802
510
|
aggregate<T extends ManufacturerTranslationAggregateArgs>(args: Prisma.Subset<T, ManufacturerTranslationAggregateArgs>): Prisma.PrismaPromise<GetManufacturerTranslationAggregateType<T>>;
|
|
803
|
-
/**
|
|
804
|
-
* Group by ManufacturerTranslation.
|
|
805
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
806
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
807
|
-
* @param {ManufacturerTranslationGroupByArgs} args - Group by arguments.
|
|
808
|
-
* @example
|
|
809
|
-
* // Group by city, order by createdAt, get count
|
|
810
|
-
* const result = await prisma.user.groupBy({
|
|
811
|
-
* by: ['city', 'createdAt'],
|
|
812
|
-
* orderBy: {
|
|
813
|
-
* createdAt: true
|
|
814
|
-
* },
|
|
815
|
-
* _count: {
|
|
816
|
-
* _all: true
|
|
817
|
-
* },
|
|
818
|
-
* })
|
|
819
|
-
*
|
|
820
|
-
**/
|
|
821
511
|
groupBy<T extends ManufacturerTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
822
512
|
orderBy: ManufacturerTranslationGroupByArgs['orderBy'];
|
|
823
513
|
} : {
|
|
@@ -836,44 +526,15 @@ export interface ManufacturerTranslationDelegate<ExtArgs extends runtime.Types.E
|
|
|
836
526
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
837
527
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
838
528
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ManufacturerTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetManufacturerTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
839
|
-
/**
|
|
840
|
-
* Fields of the ManufacturerTranslation model
|
|
841
|
-
*/
|
|
842
529
|
readonly fields: ManufacturerTranslationFieldRefs;
|
|
843
530
|
}
|
|
844
|
-
/**
|
|
845
|
-
* The delegate class that acts as a "Promise-like" for ManufacturerTranslation.
|
|
846
|
-
* Why is this prefixed with `Prisma__`?
|
|
847
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
848
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
849
|
-
*/
|
|
850
531
|
export interface Prisma__ManufacturerTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
851
532
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
852
533
|
manufacturer<T extends Prisma.ManufacturerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ManufacturerDefaultArgs<ExtArgs>>): Prisma.Prisma__ManufacturerClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
853
|
-
/**
|
|
854
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
855
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
856
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
857
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
858
|
-
*/
|
|
859
534
|
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>;
|
|
860
|
-
/**
|
|
861
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
862
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
863
|
-
* @returns A Promise for the completion of the callback.
|
|
864
|
-
*/
|
|
865
535
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
866
|
-
/**
|
|
867
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
868
|
-
* resolved value cannot be modified from the callback.
|
|
869
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
870
|
-
* @returns A Promise for the completion of the callback.
|
|
871
|
-
*/
|
|
872
536
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
873
537
|
}
|
|
874
|
-
/**
|
|
875
|
-
* Fields of the ManufacturerTranslation model
|
|
876
|
-
*/
|
|
877
538
|
export interface ManufacturerTranslationFieldRefs {
|
|
878
539
|
readonly id: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
|
|
879
540
|
readonly locale: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
|
|
@@ -884,398 +545,109 @@ export interface ManufacturerTranslationFieldRefs {
|
|
|
884
545
|
readonly updatedAt: Prisma.FieldRef<"ManufacturerTranslation", 'DateTime'>;
|
|
885
546
|
readonly updatedBy: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
|
|
886
547
|
}
|
|
887
|
-
/**
|
|
888
|
-
* ManufacturerTranslation findUnique
|
|
889
|
-
*/
|
|
890
548
|
export type ManufacturerTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
891
|
-
/**
|
|
892
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
893
|
-
*/
|
|
894
549
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
895
|
-
/**
|
|
896
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
897
|
-
*/
|
|
898
550
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
899
|
-
/**
|
|
900
|
-
* Choose, which related nodes to fetch as well
|
|
901
|
-
*/
|
|
902
551
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
903
|
-
/**
|
|
904
|
-
* Filter, which ManufacturerTranslation to fetch.
|
|
905
|
-
*/
|
|
906
552
|
where: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
907
553
|
};
|
|
908
|
-
/**
|
|
909
|
-
* ManufacturerTranslation findUniqueOrThrow
|
|
910
|
-
*/
|
|
911
554
|
export type ManufacturerTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
912
|
-
/**
|
|
913
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
914
|
-
*/
|
|
915
555
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
916
|
-
/**
|
|
917
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
918
|
-
*/
|
|
919
556
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
920
|
-
/**
|
|
921
|
-
* Choose, which related nodes to fetch as well
|
|
922
|
-
*/
|
|
923
557
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
924
|
-
/**
|
|
925
|
-
* Filter, which ManufacturerTranslation to fetch.
|
|
926
|
-
*/
|
|
927
558
|
where: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
928
559
|
};
|
|
929
|
-
/**
|
|
930
|
-
* ManufacturerTranslation findFirst
|
|
931
|
-
*/
|
|
932
560
|
export type ManufacturerTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
|
-
/**
|
|
934
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
935
|
-
*/
|
|
936
561
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
937
|
-
/**
|
|
938
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
939
|
-
*/
|
|
940
562
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
941
|
-
/**
|
|
942
|
-
* Choose, which related nodes to fetch as well
|
|
943
|
-
*/
|
|
944
563
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
945
|
-
/**
|
|
946
|
-
* Filter, which ManufacturerTranslation to fetch.
|
|
947
|
-
*/
|
|
948
564
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
949
|
-
/**
|
|
950
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
951
|
-
*
|
|
952
|
-
* Determine the order of ManufacturerTranslations to fetch.
|
|
953
|
-
*/
|
|
954
565
|
orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
|
|
955
|
-
/**
|
|
956
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
957
|
-
*
|
|
958
|
-
* Sets the position for searching for ManufacturerTranslations.
|
|
959
|
-
*/
|
|
960
566
|
cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
961
|
-
/**
|
|
962
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
963
|
-
*
|
|
964
|
-
* Take `±n` ManufacturerTranslations from the position of the cursor.
|
|
965
|
-
*/
|
|
966
567
|
take?: number;
|
|
967
|
-
/**
|
|
968
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
969
|
-
*
|
|
970
|
-
* Skip the first `n` ManufacturerTranslations.
|
|
971
|
-
*/
|
|
972
568
|
skip?: number;
|
|
973
|
-
/**
|
|
974
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
975
|
-
*
|
|
976
|
-
* Filter by unique combinations of ManufacturerTranslations.
|
|
977
|
-
*/
|
|
978
569
|
distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
|
|
979
570
|
};
|
|
980
|
-
/**
|
|
981
|
-
* ManufacturerTranslation findFirstOrThrow
|
|
982
|
-
*/
|
|
983
571
|
export type ManufacturerTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
984
|
-
/**
|
|
985
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
986
|
-
*/
|
|
987
572
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
988
|
-
/**
|
|
989
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
990
|
-
*/
|
|
991
573
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
992
|
-
/**
|
|
993
|
-
* Choose, which related nodes to fetch as well
|
|
994
|
-
*/
|
|
995
574
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
996
|
-
/**
|
|
997
|
-
* Filter, which ManufacturerTranslation to fetch.
|
|
998
|
-
*/
|
|
999
575
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
1000
|
-
/**
|
|
1001
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1002
|
-
*
|
|
1003
|
-
* Determine the order of ManufacturerTranslations to fetch.
|
|
1004
|
-
*/
|
|
1005
576
|
orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
|
|
1006
|
-
/**
|
|
1007
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1008
|
-
*
|
|
1009
|
-
* Sets the position for searching for ManufacturerTranslations.
|
|
1010
|
-
*/
|
|
1011
577
|
cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
1012
|
-
/**
|
|
1013
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1014
|
-
*
|
|
1015
|
-
* Take `±n` ManufacturerTranslations from the position of the cursor.
|
|
1016
|
-
*/
|
|
1017
578
|
take?: number;
|
|
1018
|
-
/**
|
|
1019
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1020
|
-
*
|
|
1021
|
-
* Skip the first `n` ManufacturerTranslations.
|
|
1022
|
-
*/
|
|
1023
579
|
skip?: number;
|
|
1024
|
-
/**
|
|
1025
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1026
|
-
*
|
|
1027
|
-
* Filter by unique combinations of ManufacturerTranslations.
|
|
1028
|
-
*/
|
|
1029
580
|
distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
|
|
1030
581
|
};
|
|
1031
|
-
/**
|
|
1032
|
-
* ManufacturerTranslation findMany
|
|
1033
|
-
*/
|
|
1034
582
|
export type ManufacturerTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1035
|
-
/**
|
|
1036
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1037
|
-
*/
|
|
1038
583
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1039
|
-
/**
|
|
1040
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1041
|
-
*/
|
|
1042
584
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1043
|
-
/**
|
|
1044
|
-
* Choose, which related nodes to fetch as well
|
|
1045
|
-
*/
|
|
1046
585
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1047
|
-
/**
|
|
1048
|
-
* Filter, which ManufacturerTranslations to fetch.
|
|
1049
|
-
*/
|
|
1050
586
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
1051
|
-
/**
|
|
1052
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1053
|
-
*
|
|
1054
|
-
* Determine the order of ManufacturerTranslations to fetch.
|
|
1055
|
-
*/
|
|
1056
587
|
orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
|
|
1057
|
-
/**
|
|
1058
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1059
|
-
*
|
|
1060
|
-
* Sets the position for listing ManufacturerTranslations.
|
|
1061
|
-
*/
|
|
1062
588
|
cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
1063
|
-
/**
|
|
1064
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1065
|
-
*
|
|
1066
|
-
* Take `±n` ManufacturerTranslations from the position of the cursor.
|
|
1067
|
-
*/
|
|
1068
589
|
take?: number;
|
|
1069
|
-
/**
|
|
1070
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1071
|
-
*
|
|
1072
|
-
* Skip the first `n` ManufacturerTranslations.
|
|
1073
|
-
*/
|
|
1074
590
|
skip?: number;
|
|
1075
591
|
distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
|
|
1076
592
|
};
|
|
1077
|
-
/**
|
|
1078
|
-
* ManufacturerTranslation create
|
|
1079
|
-
*/
|
|
1080
593
|
export type ManufacturerTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1081
|
-
/**
|
|
1082
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1083
|
-
*/
|
|
1084
594
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1085
|
-
/**
|
|
1086
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1087
|
-
*/
|
|
1088
595
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1089
|
-
/**
|
|
1090
|
-
* Choose, which related nodes to fetch as well
|
|
1091
|
-
*/
|
|
1092
596
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1093
|
-
/**
|
|
1094
|
-
* The data needed to create a ManufacturerTranslation.
|
|
1095
|
-
*/
|
|
1096
597
|
data: Prisma.XOR<Prisma.ManufacturerTranslationCreateInput, Prisma.ManufacturerTranslationUncheckedCreateInput>;
|
|
1097
598
|
};
|
|
1098
|
-
/**
|
|
1099
|
-
* ManufacturerTranslation createMany
|
|
1100
|
-
*/
|
|
1101
599
|
export type ManufacturerTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1102
|
-
/**
|
|
1103
|
-
* The data used to create many ManufacturerTranslations.
|
|
1104
|
-
*/
|
|
1105
600
|
data: Prisma.ManufacturerTranslationCreateManyInput | Prisma.ManufacturerTranslationCreateManyInput[];
|
|
1106
601
|
skipDuplicates?: boolean;
|
|
1107
602
|
};
|
|
1108
|
-
/**
|
|
1109
|
-
* ManufacturerTranslation createManyAndReturn
|
|
1110
|
-
*/
|
|
1111
603
|
export type ManufacturerTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
-
/**
|
|
1113
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1114
|
-
*/
|
|
1115
604
|
select?: Prisma.ManufacturerTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1116
|
-
/**
|
|
1117
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1118
|
-
*/
|
|
1119
605
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1120
|
-
/**
|
|
1121
|
-
* The data used to create many ManufacturerTranslations.
|
|
1122
|
-
*/
|
|
1123
606
|
data: Prisma.ManufacturerTranslationCreateManyInput | Prisma.ManufacturerTranslationCreateManyInput[];
|
|
1124
607
|
skipDuplicates?: boolean;
|
|
1125
|
-
/**
|
|
1126
|
-
* Choose, which related nodes to fetch as well
|
|
1127
|
-
*/
|
|
1128
608
|
include?: Prisma.ManufacturerTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1129
609
|
};
|
|
1130
|
-
/**
|
|
1131
|
-
* ManufacturerTranslation update
|
|
1132
|
-
*/
|
|
1133
610
|
export type ManufacturerTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1134
|
-
/**
|
|
1135
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1136
|
-
*/
|
|
1137
611
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1138
|
-
/**
|
|
1139
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1140
|
-
*/
|
|
1141
612
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1142
|
-
/**
|
|
1143
|
-
* Choose, which related nodes to fetch as well
|
|
1144
|
-
*/
|
|
1145
613
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1146
|
-
/**
|
|
1147
|
-
* The data needed to update a ManufacturerTranslation.
|
|
1148
|
-
*/
|
|
1149
614
|
data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateInput, Prisma.ManufacturerTranslationUncheckedUpdateInput>;
|
|
1150
|
-
/**
|
|
1151
|
-
* Choose, which ManufacturerTranslation to update.
|
|
1152
|
-
*/
|
|
1153
615
|
where: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
1154
616
|
};
|
|
1155
|
-
/**
|
|
1156
|
-
* ManufacturerTranslation updateMany
|
|
1157
|
-
*/
|
|
1158
617
|
export type ManufacturerTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
-
/**
|
|
1160
|
-
* The data used to update ManufacturerTranslations.
|
|
1161
|
-
*/
|
|
1162
618
|
data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateManyMutationInput, Prisma.ManufacturerTranslationUncheckedUpdateManyInput>;
|
|
1163
|
-
/**
|
|
1164
|
-
* Filter which ManufacturerTranslations to update
|
|
1165
|
-
*/
|
|
1166
619
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
1167
|
-
/**
|
|
1168
|
-
* Limit how many ManufacturerTranslations to update.
|
|
1169
|
-
*/
|
|
1170
620
|
limit?: number;
|
|
1171
621
|
};
|
|
1172
|
-
/**
|
|
1173
|
-
* ManufacturerTranslation updateManyAndReturn
|
|
1174
|
-
*/
|
|
1175
622
|
export type ManufacturerTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
-
/**
|
|
1177
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1178
|
-
*/
|
|
1179
623
|
select?: Prisma.ManufacturerTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1180
|
-
/**
|
|
1181
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1182
|
-
*/
|
|
1183
624
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1184
|
-
/**
|
|
1185
|
-
* The data used to update ManufacturerTranslations.
|
|
1186
|
-
*/
|
|
1187
625
|
data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateManyMutationInput, Prisma.ManufacturerTranslationUncheckedUpdateManyInput>;
|
|
1188
|
-
/**
|
|
1189
|
-
* Filter which ManufacturerTranslations to update
|
|
1190
|
-
*/
|
|
1191
626
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
1192
|
-
/**
|
|
1193
|
-
* Limit how many ManufacturerTranslations to update.
|
|
1194
|
-
*/
|
|
1195
627
|
limit?: number;
|
|
1196
|
-
/**
|
|
1197
|
-
* Choose, which related nodes to fetch as well
|
|
1198
|
-
*/
|
|
1199
628
|
include?: Prisma.ManufacturerTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1200
629
|
};
|
|
1201
|
-
/**
|
|
1202
|
-
* ManufacturerTranslation upsert
|
|
1203
|
-
*/
|
|
1204
630
|
export type ManufacturerTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1205
|
-
/**
|
|
1206
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1207
|
-
*/
|
|
1208
631
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1209
|
-
/**
|
|
1210
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1211
|
-
*/
|
|
1212
632
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1213
|
-
/**
|
|
1214
|
-
* Choose, which related nodes to fetch as well
|
|
1215
|
-
*/
|
|
1216
633
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1217
|
-
/**
|
|
1218
|
-
* The filter to search for the ManufacturerTranslation to update in case it exists.
|
|
1219
|
-
*/
|
|
1220
634
|
where: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
1221
|
-
/**
|
|
1222
|
-
* In case the ManufacturerTranslation found by the `where` argument doesn't exist, create a new ManufacturerTranslation with this data.
|
|
1223
|
-
*/
|
|
1224
635
|
create: Prisma.XOR<Prisma.ManufacturerTranslationCreateInput, Prisma.ManufacturerTranslationUncheckedCreateInput>;
|
|
1225
|
-
/**
|
|
1226
|
-
* In case the ManufacturerTranslation was found with the provided `where` argument, update it with this data.
|
|
1227
|
-
*/
|
|
1228
636
|
update: Prisma.XOR<Prisma.ManufacturerTranslationUpdateInput, Prisma.ManufacturerTranslationUncheckedUpdateInput>;
|
|
1229
637
|
};
|
|
1230
|
-
/**
|
|
1231
|
-
* ManufacturerTranslation delete
|
|
1232
|
-
*/
|
|
1233
638
|
export type ManufacturerTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1234
|
-
/**
|
|
1235
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1236
|
-
*/
|
|
1237
639
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1238
|
-
/**
|
|
1239
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1240
|
-
*/
|
|
1241
640
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1242
|
-
/**
|
|
1243
|
-
* Choose, which related nodes to fetch as well
|
|
1244
|
-
*/
|
|
1245
641
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1246
|
-
/**
|
|
1247
|
-
* Filter which ManufacturerTranslation to delete.
|
|
1248
|
-
*/
|
|
1249
642
|
where: Prisma.ManufacturerTranslationWhereUniqueInput;
|
|
1250
643
|
};
|
|
1251
|
-
/**
|
|
1252
|
-
* ManufacturerTranslation deleteMany
|
|
1253
|
-
*/
|
|
1254
644
|
export type ManufacturerTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
-
/**
|
|
1256
|
-
* Filter which ManufacturerTranslations to delete
|
|
1257
|
-
*/
|
|
1258
645
|
where?: Prisma.ManufacturerTranslationWhereInput;
|
|
1259
|
-
/**
|
|
1260
|
-
* Limit how many ManufacturerTranslations to delete.
|
|
1261
|
-
*/
|
|
1262
646
|
limit?: number;
|
|
1263
647
|
};
|
|
1264
|
-
/**
|
|
1265
|
-
* ManufacturerTranslation without action
|
|
1266
|
-
*/
|
|
1267
648
|
export type ManufacturerTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1268
|
-
/**
|
|
1269
|
-
* Select specific fields to fetch from the ManufacturerTranslation
|
|
1270
|
-
*/
|
|
1271
649
|
select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
|
|
1272
|
-
/**
|
|
1273
|
-
* Omit specific fields from the ManufacturerTranslation
|
|
1274
|
-
*/
|
|
1275
650
|
omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
|
|
1276
|
-
/**
|
|
1277
|
-
* Choose, which related nodes to fetch as well
|
|
1278
|
-
*/
|
|
1279
651
|
include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
|
|
1280
652
|
};
|
|
1281
653
|
export {};
|