@shophost/rest-api 2.0.31 → 2.0.33
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 +13 -14
- package/src/app.js +53 -1
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.js +41 -1
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/core/auth/auth.util.js +44 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/core/auth/better-auth.lib.js +100 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.d.ts +3 -0
- package/src/core/auth/generate-password-hash.util.js +30 -1
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.js +22 -1
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.js +30 -1
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +128 -0
- package/src/core/db/__generated__/client/browser.js +18 -1
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +143 -0
- package/src/core/db/__generated__/client/client.js +35 -1
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/core/db/__generated__/client/enums.js +200 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
- package/src/core/db/__generated__/client/internal/class.js +55 -1
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Account.js +2 -1
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
- package/src/core/db/__generated__/client/models/Address.js +2 -1
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
- package/src/core/db/__generated__/client/models/Campaign.js +2 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/File.d.ts +757 -0
- package/src/core/db/__generated__/client/models/File.js +2 -1
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Invitation.js +2 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
- package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
- package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Member.js +2 -1
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
- package/src/core/db/__generated__/client/models/Modifier.js +2 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
- package/src/core/db/__generated__/client/models/Order.js +2 -1
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
- package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
- package/src/core/db/__generated__/client/models/Organization.js +2 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
- package/src/core/db/__generated__/client/models/Payment.js +2 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
- package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
- package/src/core/db/__generated__/client/models/Product.js +2 -1
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
- package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
- package/src/core/db/__generated__/client/models/Reservation.js +2 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Session.js +2 -1
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
- package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/core/db/__generated__/client/models/User.d.ts +741 -0
- package/src/core/db/__generated__/client/models/User.js +2 -1
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
- package/src/core/db/__generated__/client/models/Verification.js +2 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/core/db/__generated__/client/models.js +2 -1
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.js +2 -1
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js +9 -1
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.js +123 -1
- package/src/core/hono/hono.js.map +1 -0
- package/src/core/lib/prisma.js +11 -1
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js +5 -1
- package/src/core/logging/pino.js.map +1 -0
- package/src/core/notifications/email.service.d.ts +15 -0
- package/src/core/notifications/email.service.js +116 -1
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.js +26 -1
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js +2 -1
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js +11 -1
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/core/utils/env.util.js +8 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.d.ts +10 -0
- package/src/core/utils/object.util.js +39 -1
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js +2 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/core/utils/zod.util.d.ts +12 -0
- package/src/core/utils/zod.util.js +85 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/db.js +3 -1
- package/src/db.js.map +1 -0
- package/src/features/access/access.handler.js +91 -1
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.js +220 -1
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.js +108 -1
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.js +294 -1
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.handler.js +17 -1
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.js +32 -1
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.js +39 -1
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/features/cart/cart.service.d.ts +7 -0
- package/src/features/cart/cart.service.js +97 -1
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/features/cart/cart.util.js +76 -1
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.js +23 -1
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.js +34 -1
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.js +77 -1
- package/src/features/file/file.schema.js.map +1 -0
- package/src/features/file/file.service.d.ts +6 -0
- package/src/features/file/file.service.js +66 -1
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.js +10 -1
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.js +25 -1
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.js +16 -1
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.js +25 -1
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.js +56 -1
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.js +50 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.d.ts +3 -0
- package/src/features/location/location.service.js +141 -1
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -1
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.js +125 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
- package/src/features/manufacturer/manufacturer.service.js +190 -1
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/features/order/emails/order-confirmation.email.js +229 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/features/order/emails/order-notification.email.js +229 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.js +3 -1
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.js +54 -1
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.js +111 -1
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.js +158 -1
- package/src/features/order/order.schema.js.map +1 -0
- package/src/features/order/order.service.d.ts +15 -0
- package/src/features/order/order.service.js +306 -1
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.js +38 -1
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.js +83 -1
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.js +115 -1
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.js +48 -1
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.js +84 -1
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.js +64 -1
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/features/organization/organization.service.d.ts +15 -0
- package/src/features/organization/organization.service.js +334 -1
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.js +16 -1
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.js +22 -1
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.js +46 -1
- package/src/features/payment/payment.schema.js.map +1 -0
- package/src/features/payment/payment.service.js +100 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/features/payment/stripe.service.js +164 -1
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.js +84 -1
- package/src/features/product/product-modifier.schema.js.map +1 -0
- package/src/features/product/product.handler.js +87 -1
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.js +179 -1
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.js +143 -1
- package/src/features/product/product.schema.js.map +1 -0
- package/src/features/product/product.service.d.ts +25 -0
- package/src/features/product/product.service.js +440 -1
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.js +59 -1
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.js +139 -1
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.js +86 -1
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/features/product-category/product-category.service.d.ts +22 -0
- package/src/features/product-category/product-category.service.js +220 -1
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-notification.email.js +93 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.js +65 -1
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.js +167 -1
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.js +51 -1
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/features/reservation/reservation.service.d.ts +18 -0
- package/src/features/reservation/reservation.service.js +231 -1
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.js +32 -1
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.js +51 -1
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/features/shipping/shipping.service.d.ts +7 -0
- package/src/features/shipping/shipping.service.js +96 -1
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -1
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.js +48 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
- package/src/features/shipping-method/shipping-method.service.js +229 -1
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.js +31 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.js +50 -1
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.js +33 -1
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.js +6 -1
- package/src/index.js.map +1 -0
- package/src/integrations/next.js +82 -1
- package/src/integrations/next.js.map +1 -0
- package/src/schemas/address.schema.d.ts +8 -0
- package/src/schemas/address.schema.js +112 -1
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +42 -0
- package/src/schemas/currency.schema.js +118 -1
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.js +12 -1
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/index.js +29 -1
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/locales.schema.js +238 -1
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/number.schema.js +29 -1
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/pagination.schema.js +54 -1
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.js +20 -1
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/queries.schema.js +6 -1
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/test/global-setup.js +37 -1
- package/src/test/global-setup.js.map +1 -0
- package/src/test/integration/api-fixtures.js +160 -1
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/seed.js +368 -1
- package/src/test/integration/seed.js.map +1 -0
- package/src/test/integration/test-helpers.js +154 -1
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.js +7 -1
- package/src/test/setup-test-env.js.map +1 -0
- package/scripts/minify.mjs +0 -110
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model ProductTranslation
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type ProductTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductTranslationPayload>;
|
|
4
8
|
export type AggregateProductTranslation = {
|
|
5
9
|
_count: ProductTranslationCountAggregateOutputType | null;
|
|
@@ -75,13 +79,51 @@ export type ProductTranslationCountAggregateInputType = {
|
|
|
75
79
|
_all?: true;
|
|
76
80
|
};
|
|
77
81
|
export type ProductTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
82
|
+
/**
|
|
83
|
+
* Filter which ProductTranslation to aggregate.
|
|
84
|
+
*/
|
|
78
85
|
where?: Prisma.ProductTranslationWhereInput;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
88
|
+
*
|
|
89
|
+
* Determine the order of ProductTranslations to fetch.
|
|
90
|
+
*/
|
|
79
91
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
94
|
+
*
|
|
95
|
+
* Sets the start position
|
|
96
|
+
*/
|
|
80
97
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
102
|
+
*/
|
|
81
103
|
take?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
106
|
+
*
|
|
107
|
+
* Skip the first `n` ProductTranslations.
|
|
108
|
+
*/
|
|
82
109
|
skip?: number;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Count returned ProductTranslations
|
|
114
|
+
**/
|
|
83
115
|
_count?: true | ProductTranslationCountAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the minimum value
|
|
120
|
+
**/
|
|
84
121
|
_min?: ProductTranslationMinAggregateInputType;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to find the maximum value
|
|
126
|
+
**/
|
|
85
127
|
_max?: ProductTranslationMaxAggregateInputType;
|
|
86
128
|
};
|
|
87
129
|
export type GetProductTranslationAggregateType<T extends ProductTranslationAggregateArgs> = {
|
|
@@ -526,22 +568,290 @@ export interface ProductTranslationDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
526
568
|
name: 'ProductTranslation';
|
|
527
569
|
};
|
|
528
570
|
};
|
|
571
|
+
/**
|
|
572
|
+
* Find zero or one ProductTranslation that matches the filter.
|
|
573
|
+
* @param {ProductTranslationFindUniqueArgs} args - Arguments to find a ProductTranslation
|
|
574
|
+
* @example
|
|
575
|
+
* // Get one ProductTranslation
|
|
576
|
+
* const productTranslation = await prisma.productTranslation.findUnique({
|
|
577
|
+
* where: {
|
|
578
|
+
* // ... provide filter here
|
|
579
|
+
* }
|
|
580
|
+
* })
|
|
581
|
+
*/
|
|
529
582
|
findUnique<T extends ProductTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
583
|
+
/**
|
|
584
|
+
* Find one ProductTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
585
|
+
* if no matches were found.
|
|
586
|
+
* @param {ProductTranslationFindUniqueOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
587
|
+
* @example
|
|
588
|
+
* // Get one ProductTranslation
|
|
589
|
+
* const productTranslation = await prisma.productTranslation.findUniqueOrThrow({
|
|
590
|
+
* where: {
|
|
591
|
+
* // ... provide filter here
|
|
592
|
+
* }
|
|
593
|
+
* })
|
|
594
|
+
*/
|
|
530
595
|
findUniqueOrThrow<T extends ProductTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
596
|
+
/**
|
|
597
|
+
* Find the first ProductTranslation that matches the filter.
|
|
598
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
599
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
600
|
+
* @param {ProductTranslationFindFirstArgs} args - Arguments to find a ProductTranslation
|
|
601
|
+
* @example
|
|
602
|
+
* // Get one ProductTranslation
|
|
603
|
+
* const productTranslation = await prisma.productTranslation.findFirst({
|
|
604
|
+
* where: {
|
|
605
|
+
* // ... provide filter here
|
|
606
|
+
* }
|
|
607
|
+
* })
|
|
608
|
+
*/
|
|
531
609
|
findFirst<T extends ProductTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
610
|
+
/**
|
|
611
|
+
* Find the first ProductTranslation that matches the filter or
|
|
612
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
613
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
614
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
615
|
+
* @param {ProductTranslationFindFirstOrThrowArgs} args - Arguments to find a ProductTranslation
|
|
616
|
+
* @example
|
|
617
|
+
* // Get one ProductTranslation
|
|
618
|
+
* const productTranslation = await prisma.productTranslation.findFirstOrThrow({
|
|
619
|
+
* where: {
|
|
620
|
+
* // ... provide filter here
|
|
621
|
+
* }
|
|
622
|
+
* })
|
|
623
|
+
*/
|
|
532
624
|
findFirstOrThrow<T extends ProductTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
625
|
+
/**
|
|
626
|
+
* Find zero or more ProductTranslations that matches the filter.
|
|
627
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
628
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
629
|
+
* @param {ProductTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
630
|
+
* @example
|
|
631
|
+
* // Get all ProductTranslations
|
|
632
|
+
* const productTranslations = await prisma.productTranslation.findMany()
|
|
633
|
+
*
|
|
634
|
+
* // Get first 10 ProductTranslations
|
|
635
|
+
* const productTranslations = await prisma.productTranslation.findMany({ take: 10 })
|
|
636
|
+
*
|
|
637
|
+
* // Only select the `id`
|
|
638
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.findMany({ select: { id: true } })
|
|
639
|
+
*
|
|
640
|
+
*/
|
|
533
641
|
findMany<T extends ProductTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
642
|
+
/**
|
|
643
|
+
* Create a ProductTranslation.
|
|
644
|
+
* @param {ProductTranslationCreateArgs} args - Arguments to create a ProductTranslation.
|
|
645
|
+
* @example
|
|
646
|
+
* // Create one ProductTranslation
|
|
647
|
+
* const ProductTranslation = await prisma.productTranslation.create({
|
|
648
|
+
* data: {
|
|
649
|
+
* // ... data to create a ProductTranslation
|
|
650
|
+
* }
|
|
651
|
+
* })
|
|
652
|
+
*
|
|
653
|
+
*/
|
|
534
654
|
create<T extends ProductTranslationCreateArgs>(args: Prisma.SelectSubset<T, ProductTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
655
|
+
/**
|
|
656
|
+
* Create many ProductTranslations.
|
|
657
|
+
* @param {ProductTranslationCreateManyArgs} args - Arguments to create many ProductTranslations.
|
|
658
|
+
* @example
|
|
659
|
+
* // Create many ProductTranslations
|
|
660
|
+
* const productTranslation = await prisma.productTranslation.createMany({
|
|
661
|
+
* data: [
|
|
662
|
+
* // ... provide data here
|
|
663
|
+
* ]
|
|
664
|
+
* })
|
|
665
|
+
*
|
|
666
|
+
*/
|
|
535
667
|
createMany<T extends ProductTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
668
|
+
/**
|
|
669
|
+
* Create many ProductTranslations and returns the data saved in the database.
|
|
670
|
+
* @param {ProductTranslationCreateManyAndReturnArgs} args - Arguments to create many ProductTranslations.
|
|
671
|
+
* @example
|
|
672
|
+
* // Create many ProductTranslations
|
|
673
|
+
* const productTranslation = await prisma.productTranslation.createManyAndReturn({
|
|
674
|
+
* data: [
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* ]
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
* // Create many ProductTranslations and only return the `id`
|
|
680
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.createManyAndReturn({
|
|
681
|
+
* select: { id: true },
|
|
682
|
+
* data: [
|
|
683
|
+
* // ... provide data here
|
|
684
|
+
* ]
|
|
685
|
+
* })
|
|
686
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
536
690
|
createManyAndReturn<T extends ProductTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
691
|
+
/**
|
|
692
|
+
* Delete a ProductTranslation.
|
|
693
|
+
* @param {ProductTranslationDeleteArgs} args - Arguments to delete one ProductTranslation.
|
|
694
|
+
* @example
|
|
695
|
+
* // Delete one ProductTranslation
|
|
696
|
+
* const ProductTranslation = await prisma.productTranslation.delete({
|
|
697
|
+
* where: {
|
|
698
|
+
* // ... filter to delete one ProductTranslation
|
|
699
|
+
* }
|
|
700
|
+
* })
|
|
701
|
+
*
|
|
702
|
+
*/
|
|
537
703
|
delete<T extends ProductTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ProductTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
704
|
+
/**
|
|
705
|
+
* Update one ProductTranslation.
|
|
706
|
+
* @param {ProductTranslationUpdateArgs} args - Arguments to update one ProductTranslation.
|
|
707
|
+
* @example
|
|
708
|
+
* // Update one ProductTranslation
|
|
709
|
+
* const productTranslation = await prisma.productTranslation.update({
|
|
710
|
+
* where: {
|
|
711
|
+
* // ... provide filter here
|
|
712
|
+
* },
|
|
713
|
+
* data: {
|
|
714
|
+
* // ... provide data here
|
|
715
|
+
* }
|
|
716
|
+
* })
|
|
717
|
+
*
|
|
718
|
+
*/
|
|
538
719
|
update<T extends ProductTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
720
|
+
/**
|
|
721
|
+
* Delete zero or more ProductTranslations.
|
|
722
|
+
* @param {ProductTranslationDeleteManyArgs} args - Arguments to filter ProductTranslations to delete.
|
|
723
|
+
* @example
|
|
724
|
+
* // Delete a few ProductTranslations
|
|
725
|
+
* const { count } = await prisma.productTranslation.deleteMany({
|
|
726
|
+
* where: {
|
|
727
|
+
* // ... provide filter here
|
|
728
|
+
* }
|
|
729
|
+
* })
|
|
730
|
+
*
|
|
731
|
+
*/
|
|
539
732
|
deleteMany<T extends ProductTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
733
|
+
/**
|
|
734
|
+
* Update zero or more ProductTranslations.
|
|
735
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
+
* @param {ProductTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
738
|
+
* @example
|
|
739
|
+
* // Update many ProductTranslations
|
|
740
|
+
* const productTranslation = await prisma.productTranslation.updateMany({
|
|
741
|
+
* where: {
|
|
742
|
+
* // ... provide filter here
|
|
743
|
+
* },
|
|
744
|
+
* data: {
|
|
745
|
+
* // ... provide data here
|
|
746
|
+
* }
|
|
747
|
+
* })
|
|
748
|
+
*
|
|
749
|
+
*/
|
|
540
750
|
updateMany<T extends ProductTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
751
|
+
/**
|
|
752
|
+
* Update zero or more ProductTranslations and returns the data updated in the database.
|
|
753
|
+
* @param {ProductTranslationUpdateManyAndReturnArgs} args - Arguments to update many ProductTranslations.
|
|
754
|
+
* @example
|
|
755
|
+
* // Update many ProductTranslations
|
|
756
|
+
* const productTranslation = await prisma.productTranslation.updateManyAndReturn({
|
|
757
|
+
* where: {
|
|
758
|
+
* // ... provide filter here
|
|
759
|
+
* },
|
|
760
|
+
* data: [
|
|
761
|
+
* // ... provide data here
|
|
762
|
+
* ]
|
|
763
|
+
* })
|
|
764
|
+
*
|
|
765
|
+
* // Update zero or more ProductTranslations and only return the `id`
|
|
766
|
+
* const productTranslationWithIdOnly = await prisma.productTranslation.updateManyAndReturn({
|
|
767
|
+
* select: { id: true },
|
|
768
|
+
* where: {
|
|
769
|
+
* // ... provide filter here
|
|
770
|
+
* },
|
|
771
|
+
* data: [
|
|
772
|
+
* // ... provide data here
|
|
773
|
+
* ]
|
|
774
|
+
* })
|
|
775
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
776
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
777
|
+
*
|
|
778
|
+
*/
|
|
541
779
|
updateManyAndReturn<T extends ProductTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
780
|
+
/**
|
|
781
|
+
* Create or update one ProductTranslation.
|
|
782
|
+
* @param {ProductTranslationUpsertArgs} args - Arguments to update or create a ProductTranslation.
|
|
783
|
+
* @example
|
|
784
|
+
* // Update or create a ProductTranslation
|
|
785
|
+
* const productTranslation = await prisma.productTranslation.upsert({
|
|
786
|
+
* create: {
|
|
787
|
+
* // ... data to create a ProductTranslation
|
|
788
|
+
* },
|
|
789
|
+
* update: {
|
|
790
|
+
* // ... in case it already exists, update
|
|
791
|
+
* },
|
|
792
|
+
* where: {
|
|
793
|
+
* // ... the filter for the ProductTranslation we want to update
|
|
794
|
+
* }
|
|
795
|
+
* })
|
|
796
|
+
*/
|
|
542
797
|
upsert<T extends ProductTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ProductTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
798
|
+
/**
|
|
799
|
+
* Count the number of ProductTranslations.
|
|
800
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
801
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
802
|
+
* @param {ProductTranslationCountArgs} args - Arguments to filter ProductTranslations to count.
|
|
803
|
+
* @example
|
|
804
|
+
* // Count the number of ProductTranslations
|
|
805
|
+
* const count = await prisma.productTranslation.count({
|
|
806
|
+
* where: {
|
|
807
|
+
* // ... the filter for the ProductTranslations we want to count
|
|
808
|
+
* }
|
|
809
|
+
* })
|
|
810
|
+
**/
|
|
543
811
|
count<T extends ProductTranslationCountArgs>(args?: Prisma.Subset<T, ProductTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductTranslationCountAggregateOutputType> : number>;
|
|
812
|
+
/**
|
|
813
|
+
* Allows you to perform aggregations operations on a ProductTranslation.
|
|
814
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
815
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
816
|
+
* @param {ProductTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
817
|
+
* @example
|
|
818
|
+
* // Ordered by age ascending
|
|
819
|
+
* // Where email contains prisma.io
|
|
820
|
+
* // Limited to the 10 users
|
|
821
|
+
* const aggregations = await prisma.user.aggregate({
|
|
822
|
+
* _avg: {
|
|
823
|
+
* age: true,
|
|
824
|
+
* },
|
|
825
|
+
* where: {
|
|
826
|
+
* email: {
|
|
827
|
+
* contains: "prisma.io",
|
|
828
|
+
* },
|
|
829
|
+
* },
|
|
830
|
+
* orderBy: {
|
|
831
|
+
* age: "asc",
|
|
832
|
+
* },
|
|
833
|
+
* take: 10,
|
|
834
|
+
* })
|
|
835
|
+
**/
|
|
544
836
|
aggregate<T extends ProductTranslationAggregateArgs>(args: Prisma.Subset<T, ProductTranslationAggregateArgs>): Prisma.PrismaPromise<GetProductTranslationAggregateType<T>>;
|
|
837
|
+
/**
|
|
838
|
+
* Group by ProductTranslation.
|
|
839
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
840
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
841
|
+
* @param {ProductTranslationGroupByArgs} args - Group by arguments.
|
|
842
|
+
* @example
|
|
843
|
+
* // Group by city, order by createdAt, get count
|
|
844
|
+
* const result = await prisma.user.groupBy({
|
|
845
|
+
* by: ['city', 'createdAt'],
|
|
846
|
+
* orderBy: {
|
|
847
|
+
* createdAt: true
|
|
848
|
+
* },
|
|
849
|
+
* _count: {
|
|
850
|
+
* _all: true
|
|
851
|
+
* },
|
|
852
|
+
* })
|
|
853
|
+
*
|
|
854
|
+
**/
|
|
545
855
|
groupBy<T extends ProductTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
546
856
|
orderBy: ProductTranslationGroupByArgs['orderBy'];
|
|
547
857
|
} : {
|
|
@@ -560,15 +870,44 @@ export interface ProductTranslationDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
560
870
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
561
871
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
562
872
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
873
|
+
/**
|
|
874
|
+
* Fields of the ProductTranslation model
|
|
875
|
+
*/
|
|
563
876
|
readonly fields: ProductTranslationFieldRefs;
|
|
564
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
* The delegate class that acts as a "Promise-like" for ProductTranslation.
|
|
880
|
+
* Why is this prefixed with `Prisma__`?
|
|
881
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
882
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
883
|
+
*/
|
|
565
884
|
export interface Prisma__ProductTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
566
885
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
567
886
|
product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
887
|
+
/**
|
|
888
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
889
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
890
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
891
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
892
|
+
*/
|
|
568
893
|
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>;
|
|
894
|
+
/**
|
|
895
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
896
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
897
|
+
* @returns A Promise for the completion of the callback.
|
|
898
|
+
*/
|
|
569
899
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
900
|
+
/**
|
|
901
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
902
|
+
* resolved value cannot be modified from the callback.
|
|
903
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
904
|
+
* @returns A Promise for the completion of the callback.
|
|
905
|
+
*/
|
|
570
906
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
571
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* Fields of the ProductTranslation model
|
|
910
|
+
*/
|
|
572
911
|
export interface ProductTranslationFieldRefs {
|
|
573
912
|
readonly id: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
574
913
|
readonly locale: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
@@ -580,109 +919,403 @@ export interface ProductTranslationFieldRefs {
|
|
|
580
919
|
readonly updatedAt: Prisma.FieldRef<"ProductTranslation", 'DateTime'>;
|
|
581
920
|
readonly updatedBy: Prisma.FieldRef<"ProductTranslation", 'String'>;
|
|
582
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* ProductTranslation findUnique
|
|
924
|
+
*/
|
|
583
925
|
export type ProductTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
926
|
+
/**
|
|
927
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
928
|
+
*/
|
|
584
929
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
930
|
+
/**
|
|
931
|
+
* Omit specific fields from the ProductTranslation
|
|
932
|
+
*/
|
|
585
933
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
934
|
+
/**
|
|
935
|
+
* Choose, which related nodes to fetch as well
|
|
936
|
+
*/
|
|
586
937
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
938
|
+
/**
|
|
939
|
+
* Filter, which ProductTranslation to fetch.
|
|
940
|
+
*/
|
|
587
941
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
588
942
|
};
|
|
943
|
+
/**
|
|
944
|
+
* ProductTranslation findUniqueOrThrow
|
|
945
|
+
*/
|
|
589
946
|
export type ProductTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
+
/**
|
|
948
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
949
|
+
*/
|
|
590
950
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
951
|
+
/**
|
|
952
|
+
* Omit specific fields from the ProductTranslation
|
|
953
|
+
*/
|
|
591
954
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
955
|
+
/**
|
|
956
|
+
* Choose, which related nodes to fetch as well
|
|
957
|
+
*/
|
|
592
958
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
959
|
+
/**
|
|
960
|
+
* Filter, which ProductTranslation to fetch.
|
|
961
|
+
*/
|
|
593
962
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
594
963
|
};
|
|
964
|
+
/**
|
|
965
|
+
* ProductTranslation findFirst
|
|
966
|
+
*/
|
|
595
967
|
export type ProductTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
970
|
+
*/
|
|
596
971
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the ProductTranslation
|
|
974
|
+
*/
|
|
597
975
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* Choose, which related nodes to fetch as well
|
|
978
|
+
*/
|
|
598
979
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Filter, which ProductTranslation to fetch.
|
|
982
|
+
*/
|
|
599
983
|
where?: Prisma.ProductTranslationWhereInput;
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
986
|
+
*
|
|
987
|
+
* Determine the order of ProductTranslations to fetch.
|
|
988
|
+
*/
|
|
600
989
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
992
|
+
*
|
|
993
|
+
* Sets the position for searching for ProductTranslations.
|
|
994
|
+
*/
|
|
601
995
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
+
*
|
|
999
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1000
|
+
*/
|
|
602
1001
|
take?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Skip the first `n` ProductTranslations.
|
|
1006
|
+
*/
|
|
603
1007
|
skip?: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1010
|
+
*
|
|
1011
|
+
* Filter by unique combinations of ProductTranslations.
|
|
1012
|
+
*/
|
|
604
1013
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
605
1014
|
};
|
|
1015
|
+
/**
|
|
1016
|
+
* ProductTranslation findFirstOrThrow
|
|
1017
|
+
*/
|
|
606
1018
|
export type ProductTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1019
|
+
/**
|
|
1020
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1021
|
+
*/
|
|
607
1022
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Omit specific fields from the ProductTranslation
|
|
1025
|
+
*/
|
|
608
1026
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* Choose, which related nodes to fetch as well
|
|
1029
|
+
*/
|
|
609
1030
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* Filter, which ProductTranslation to fetch.
|
|
1033
|
+
*/
|
|
610
1034
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1035
|
+
/**
|
|
1036
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1037
|
+
*
|
|
1038
|
+
* Determine the order of ProductTranslations to fetch.
|
|
1039
|
+
*/
|
|
611
1040
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1041
|
+
/**
|
|
1042
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1043
|
+
*
|
|
1044
|
+
* Sets the position for searching for ProductTranslations.
|
|
1045
|
+
*/
|
|
612
1046
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1047
|
+
/**
|
|
1048
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1049
|
+
*
|
|
1050
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1051
|
+
*/
|
|
613
1052
|
take?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1055
|
+
*
|
|
1056
|
+
* Skip the first `n` ProductTranslations.
|
|
1057
|
+
*/
|
|
614
1058
|
skip?: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1061
|
+
*
|
|
1062
|
+
* Filter by unique combinations of ProductTranslations.
|
|
1063
|
+
*/
|
|
615
1064
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
616
1065
|
};
|
|
1066
|
+
/**
|
|
1067
|
+
* ProductTranslation findMany
|
|
1068
|
+
*/
|
|
617
1069
|
export type ProductTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1072
|
+
*/
|
|
618
1073
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Omit specific fields from the ProductTranslation
|
|
1076
|
+
*/
|
|
619
1077
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* Choose, which related nodes to fetch as well
|
|
1080
|
+
*/
|
|
620
1081
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Filter, which ProductTranslations to fetch.
|
|
1084
|
+
*/
|
|
621
1085
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1086
|
+
/**
|
|
1087
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1088
|
+
*
|
|
1089
|
+
* Determine the order of ProductTranslations to fetch.
|
|
1090
|
+
*/
|
|
622
1091
|
orderBy?: Prisma.ProductTranslationOrderByWithRelationInput | Prisma.ProductTranslationOrderByWithRelationInput[];
|
|
1092
|
+
/**
|
|
1093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1094
|
+
*
|
|
1095
|
+
* Sets the position for listing ProductTranslations.
|
|
1096
|
+
*/
|
|
623
1097
|
cursor?: Prisma.ProductTranslationWhereUniqueInput;
|
|
1098
|
+
/**
|
|
1099
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1100
|
+
*
|
|
1101
|
+
* Take `±n` ProductTranslations from the position of the cursor.
|
|
1102
|
+
*/
|
|
624
1103
|
take?: number;
|
|
1104
|
+
/**
|
|
1105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1106
|
+
*
|
|
1107
|
+
* Skip the first `n` ProductTranslations.
|
|
1108
|
+
*/
|
|
625
1109
|
skip?: number;
|
|
1110
|
+
/**
|
|
1111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1112
|
+
*
|
|
1113
|
+
* Filter by unique combinations of ProductTranslations.
|
|
1114
|
+
*/
|
|
626
1115
|
distinct?: Prisma.ProductTranslationScalarFieldEnum | Prisma.ProductTranslationScalarFieldEnum[];
|
|
627
1116
|
};
|
|
1117
|
+
/**
|
|
1118
|
+
* ProductTranslation create
|
|
1119
|
+
*/
|
|
628
1120
|
export type ProductTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
/**
|
|
1122
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1123
|
+
*/
|
|
629
1124
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Omit specific fields from the ProductTranslation
|
|
1127
|
+
*/
|
|
630
1128
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Choose, which related nodes to fetch as well
|
|
1131
|
+
*/
|
|
631
1132
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* The data needed to create a ProductTranslation.
|
|
1135
|
+
*/
|
|
632
1136
|
data: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
633
1137
|
};
|
|
1138
|
+
/**
|
|
1139
|
+
* ProductTranslation createMany
|
|
1140
|
+
*/
|
|
634
1141
|
export type ProductTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1142
|
+
/**
|
|
1143
|
+
* The data used to create many ProductTranslations.
|
|
1144
|
+
*/
|
|
635
1145
|
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
636
1146
|
skipDuplicates?: boolean;
|
|
637
1147
|
};
|
|
1148
|
+
/**
|
|
1149
|
+
* ProductTranslation createManyAndReturn
|
|
1150
|
+
*/
|
|
638
1151
|
export type ProductTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1154
|
+
*/
|
|
639
1155
|
select?: Prisma.ProductTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the ProductTranslation
|
|
1158
|
+
*/
|
|
640
1159
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* The data used to create many ProductTranslations.
|
|
1162
|
+
*/
|
|
641
1163
|
data: Prisma.ProductTranslationCreateManyInput | Prisma.ProductTranslationCreateManyInput[];
|
|
642
1164
|
skipDuplicates?: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
643
1168
|
include?: Prisma.ProductTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
644
1169
|
};
|
|
1170
|
+
/**
|
|
1171
|
+
* ProductTranslation update
|
|
1172
|
+
*/
|
|
645
1173
|
export type ProductTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1176
|
+
*/
|
|
646
1177
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Omit specific fields from the ProductTranslation
|
|
1180
|
+
*/
|
|
647
1181
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Choose, which related nodes to fetch as well
|
|
1184
|
+
*/
|
|
648
1185
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* The data needed to update a ProductTranslation.
|
|
1188
|
+
*/
|
|
649
1189
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which ProductTranslation to update.
|
|
1192
|
+
*/
|
|
650
1193
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
651
1194
|
};
|
|
1195
|
+
/**
|
|
1196
|
+
* ProductTranslation updateMany
|
|
1197
|
+
*/
|
|
652
1198
|
export type ProductTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* The data used to update ProductTranslations.
|
|
1201
|
+
*/
|
|
653
1202
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Filter which ProductTranslations to update
|
|
1205
|
+
*/
|
|
654
1206
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1207
|
+
/**
|
|
1208
|
+
* Limit how many ProductTranslations to update.
|
|
1209
|
+
*/
|
|
655
1210
|
limit?: number;
|
|
656
1211
|
};
|
|
1212
|
+
/**
|
|
1213
|
+
* ProductTranslation updateManyAndReturn
|
|
1214
|
+
*/
|
|
657
1215
|
export type ProductTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1218
|
+
*/
|
|
658
1219
|
select?: Prisma.ProductTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the ProductTranslation
|
|
1222
|
+
*/
|
|
659
1223
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* The data used to update ProductTranslations.
|
|
1226
|
+
*/
|
|
660
1227
|
data: Prisma.XOR<Prisma.ProductTranslationUpdateManyMutationInput, Prisma.ProductTranslationUncheckedUpdateManyInput>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Filter which ProductTranslations to update
|
|
1230
|
+
*/
|
|
661
1231
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* Limit how many ProductTranslations to update.
|
|
1234
|
+
*/
|
|
662
1235
|
limit?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
663
1239
|
include?: Prisma.ProductTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
664
1240
|
};
|
|
1241
|
+
/**
|
|
1242
|
+
* ProductTranslation upsert
|
|
1243
|
+
*/
|
|
665
1244
|
export type ProductTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
/**
|
|
1246
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1247
|
+
*/
|
|
666
1248
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Omit specific fields from the ProductTranslation
|
|
1251
|
+
*/
|
|
667
1252
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Choose, which related nodes to fetch as well
|
|
1255
|
+
*/
|
|
668
1256
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* The filter to search for the ProductTranslation to update in case it exists.
|
|
1259
|
+
*/
|
|
669
1260
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* In case the ProductTranslation found by the `where` argument doesn't exist, create a new ProductTranslation with this data.
|
|
1263
|
+
*/
|
|
670
1264
|
create: Prisma.XOR<Prisma.ProductTranslationCreateInput, Prisma.ProductTranslationUncheckedCreateInput>;
|
|
1265
|
+
/**
|
|
1266
|
+
* In case the ProductTranslation was found with the provided `where` argument, update it with this data.
|
|
1267
|
+
*/
|
|
671
1268
|
update: Prisma.XOR<Prisma.ProductTranslationUpdateInput, Prisma.ProductTranslationUncheckedUpdateInput>;
|
|
672
1269
|
};
|
|
1270
|
+
/**
|
|
1271
|
+
* ProductTranslation delete
|
|
1272
|
+
*/
|
|
673
1273
|
export type ProductTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
+
/**
|
|
1275
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1276
|
+
*/
|
|
674
1277
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Omit specific fields from the ProductTranslation
|
|
1280
|
+
*/
|
|
675
1281
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Choose, which related nodes to fetch as well
|
|
1284
|
+
*/
|
|
676
1285
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter which ProductTranslation to delete.
|
|
1288
|
+
*/
|
|
677
1289
|
where: Prisma.ProductTranslationWhereUniqueInput;
|
|
678
1290
|
};
|
|
1291
|
+
/**
|
|
1292
|
+
* ProductTranslation deleteMany
|
|
1293
|
+
*/
|
|
679
1294
|
export type ProductTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter which ProductTranslations to delete
|
|
1297
|
+
*/
|
|
680
1298
|
where?: Prisma.ProductTranslationWhereInput;
|
|
1299
|
+
/**
|
|
1300
|
+
* Limit how many ProductTranslations to delete.
|
|
1301
|
+
*/
|
|
681
1302
|
limit?: number;
|
|
682
1303
|
};
|
|
1304
|
+
/**
|
|
1305
|
+
* ProductTranslation without action
|
|
1306
|
+
*/
|
|
683
1307
|
export type ProductTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1308
|
+
/**
|
|
1309
|
+
* Select specific fields to fetch from the ProductTranslation
|
|
1310
|
+
*/
|
|
684
1311
|
select?: Prisma.ProductTranslationSelect<ExtArgs> | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Omit specific fields from the ProductTranslation
|
|
1314
|
+
*/
|
|
685
1315
|
omit?: Prisma.ProductTranslationOmit<ExtArgs> | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Choose, which related nodes to fetch as well
|
|
1318
|
+
*/
|
|
686
1319
|
include?: Prisma.ProductTranslationInclude<ExtArgs> | null;
|
|
687
1320
|
};
|
|
688
1321
|
export {};
|