@shophost/rest-api 0.1.0
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/LICENSE +17 -0
- package/README.md +69 -0
- package/global.d.ts +1 -0
- package/package.json +53 -0
- package/schemas.d.ts +1 -0
- package/schemas.js +2 -0
- package/schemas.ts +1 -0
- package/src/contract.d.ts +3853 -0
- package/src/contract.js +6 -0
- package/src/contract.js.map +1 -0
- package/src/contracts/cart.contract.d.ts +536 -0
- package/src/contracts/cart.contract.js +29 -0
- package/src/contracts/cart.contract.js.map +1 -0
- package/src/contracts/customers.contract.d.ts +903 -0
- package/src/contracts/customers.contract.js +119 -0
- package/src/contracts/customers.contract.js.map +1 -0
- package/src/contracts/files.contract.d.ts +152 -0
- package/src/contracts/files.contract.js +29 -0
- package/src/contracts/files.contract.js.map +1 -0
- package/src/contracts/health.contract.d.ts +38 -0
- package/src/contracts/health.contract.js +25 -0
- package/src/contracts/health.contract.js.map +1 -0
- package/src/contracts/index.d.ts +15466 -0
- package/src/contracts/index.js +32 -0
- package/src/contracts/index.js.map +1 -0
- package/src/contracts/location.contract.d.ts +127 -0
- package/src/contracts/location.contract.js +40 -0
- package/src/contracts/location.contract.js.map +1 -0
- package/src/contracts/manufacturers.contract.d.ts +931 -0
- package/src/contracts/manufacturers.contract.js +85 -0
- package/src/contracts/manufacturers.contract.js.map +1 -0
- package/src/contracts/orders.contract.d.ts +3910 -0
- package/src/contracts/orders.contract.js +92 -0
- package/src/contracts/orders.contract.js.map +1 -0
- package/src/contracts/organizations.contract.d.ts +2234 -0
- package/src/contracts/organizations.contract.js +71 -0
- package/src/contracts/organizations.contract.js.map +1 -0
- package/src/contracts/payment.contract.d.ts +64 -0
- package/src/contracts/payment.contract.js +20 -0
- package/src/contracts/payment.contract.js.map +1 -0
- package/src/contracts/product-categories.contract.d.ts +1172 -0
- package/src/contracts/product-categories.contract.js +103 -0
- package/src/contracts/product-categories.contract.js.map +1 -0
- package/src/contracts/products.contract.d.ts +3976 -0
- package/src/contracts/products.contract.js +128 -0
- package/src/contracts/products.contract.js.map +1 -0
- package/src/contracts/reservation.contract.d.ts +675 -0
- package/src/contracts/reservation.contract.js +141 -0
- package/src/contracts/reservation.contract.js.map +1 -0
- package/src/contracts/shipping-methods.contract.d.ts +1276 -0
- package/src/contracts/shipping-methods.contract.js +118 -0
- package/src/contracts/shipping-methods.contract.js.map +1 -0
- package/src/contracts/shipping.contract.d.ts +319 -0
- package/src/contracts/shipping.contract.js +42 -0
- package/src/contracts/shipping.contract.js.map +1 -0
- package/src/contracts/webhook.contract.d.ts +66 -0
- package/src/contracts/webhook.contract.js +28 -0
- package/src/contracts/webhook.contract.js.map +1 -0
- package/src/db/__generated__/client/client.d.ts +385 -0
- package/src/db/__generated__/client/client.js +44 -0
- package/src/db/__generated__/client/client.js.map +1 -0
- package/src/db/__generated__/client/commonInputTypes.d.ts +816 -0
- package/src/db/__generated__/client/commonInputTypes.js +10 -0
- package/src/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/db/__generated__/client/enums.d.ts +204 -0
- package/src/db/__generated__/client/enums.js +199 -0
- package/src/db/__generated__/client/enums.js.map +1 -0
- package/src/db/__generated__/client/index.d.ts +1 -0
- package/src/db/__generated__/client/index.js +5 -0
- package/src/db/__generated__/client/index.js.map +1 -0
- package/src/db/__generated__/client/internal/class.d.ts +414 -0
- package/src/db/__generated__/client/internal/class.js +76 -0
- package/src/db/__generated__/client/internal/class.js.map +1 -0
- package/src/db/__generated__/client/internal/prismaNamespace.d.ts +3474 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js +543 -0
- package/src/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/db/__generated__/client/models/Account.d.ts +1459 -0
- package/src/db/__generated__/client/models/Account.js +2 -0
- package/src/db/__generated__/client/models/Account.js.map +1 -0
- package/src/db/__generated__/client/models/Address.d.ts +2337 -0
- package/src/db/__generated__/client/models/Address.js +2 -0
- package/src/db/__generated__/client/models/Address.js.map +1 -0
- package/src/db/__generated__/client/models/Campaign.d.ts +1469 -0
- package/src/db/__generated__/client/models/Campaign.js +2 -0
- package/src/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/db/__generated__/client/models/ClosingTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/ClosingTimes.js +2 -0
- package/src/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/db/__generated__/client/models/File.d.ts +2670 -0
- package/src/db/__generated__/client/models/File.js +2 -0
- package/src/db/__generated__/client/models/File.js.map +1 -0
- package/src/db/__generated__/client/models/Invitation.d.ts +1363 -0
- package/src/db/__generated__/client/models/Invitation.js +2 -0
- package/src/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/db/__generated__/client/models/LegalEntity.d.ts +1572 -0
- package/src/db/__generated__/client/models/LegalEntity.js +2 -0
- package/src/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/db/__generated__/client/models/Manufacturer.d.ts +1746 -0
- package/src/db/__generated__/client/models/Manufacturer.js +2 -0
- package/src/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.d.ts +1286 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js +2 -0
- package/src/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Member.d.ts +1281 -0
- package/src/db/__generated__/client/models/Member.js +2 -0
- package/src/db/__generated__/client/models/Member.js.map +1 -0
- package/src/db/__generated__/client/models/Modifier.d.ts +1404 -0
- package/src/db/__generated__/client/models/Modifier.js +2 -0
- package/src/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroup.d.ts +1469 -0
- package/src/db/__generated__/client/models/ModifierGroup.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js +2 -0
- package/src/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/OpeningTimes.d.ts +1227 -0
- package/src/db/__generated__/client/models/OpeningTimes.js +2 -0
- package/src/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/db/__generated__/client/models/Order.d.ts +2820 -0
- package/src/db/__generated__/client/models/Order.js +2 -0
- package/src/db/__generated__/client/models/Order.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItem.d.ts +1755 -0
- package/src/db/__generated__/client/models/OrderItem.js +2 -0
- package/src/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.d.ts +1181 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js +2 -0
- package/src/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Organization.d.ts +3996 -0
- package/src/db/__generated__/client/models/Organization.js +2 -0
- package/src/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.d.ts +1954 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js +2 -0
- package/src/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/db/__generated__/client/models/Payment.d.ts +1538 -0
- package/src/db/__generated__/client/models/Payment.js +2 -0
- package/src/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/db/__generated__/client/models/PaymentSession.d.ts +1384 -0
- package/src/db/__generated__/client/models/PaymentSession.js +2 -0
- package/src/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/db/__generated__/client/models/Product.d.ts +3136 -0
- package/src/db/__generated__/client/models/Product.js +2 -0
- package/src/db/__generated__/client/models/Product.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategory.d.ts +1964 -0
- package/src/db/__generated__/client/models/ProductCategory.js +2 -0
- package/src/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/ProductSnapshot.d.ts +1389 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js +2 -0
- package/src/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/db/__generated__/client/models/ProductTranslation.d.ts +1321 -0
- package/src/db/__generated__/client/models/ProductTranslation.js +2 -0
- package/src/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/db/__generated__/client/models/Reservation.d.ts +1665 -0
- package/src/db/__generated__/client/models/Reservation.js +2 -0
- package/src/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/db/__generated__/client/models/Session.d.ts +1316 -0
- package/src/db/__generated__/client/models/Session.js +2 -0
- package/src/db/__generated__/client/models/Session.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingMethod.d.ts +1934 -0
- package/src/db/__generated__/client/models/ShippingMethod.js +2 -0
- package/src/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/db/__generated__/client/models/ShippingZone.d.ts +1366 -0
- package/src/db/__generated__/client/models/ShippingZone.js +2 -0
- package/src/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/db/__generated__/client/models/User.d.ts +2201 -0
- package/src/db/__generated__/client/models/User.js +2 -0
- package/src/db/__generated__/client/models/User.js.map +1 -0
- package/src/db/__generated__/client/models/Verification.d.ts +1026 -0
- package/src/db/__generated__/client/models/Verification.js +2 -0
- package/src/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/db/__generated__/client/models.d.ts +38 -0
- package/src/db/__generated__/client/models.js +2 -0
- package/src/db/__generated__/client/models.js.map +1 -0
- package/src/db/index.d.ts +1 -0
- package/src/db/index.js +2 -0
- package/src/db/index.js.map +1 -0
- package/src/emails/order-confirmation-email.d.ts +10 -0
- package/src/emails/order-confirmation-email.js +229 -0
- package/src/emails/order-confirmation-email.js.map +1 -0
- package/src/emails/order-notification-email.d.ts +10 -0
- package/src/emails/order-notification-email.js +229 -0
- package/src/emails/order-notification-email.js.map +1 -0
- package/src/emails/reservation-cancellation-email.d.ts +10 -0
- package/src/emails/reservation-cancellation-email.js +82 -0
- package/src/emails/reservation-cancellation-email.js.map +1 -0
- package/src/emails/reservation-confirmation-email.d.ts +10 -0
- package/src/emails/reservation-confirmation-email.js +82 -0
- package/src/emails/reservation-confirmation-email.js.map +1 -0
- package/src/emails/reservation-notification-email.d.ts +11 -0
- package/src/emails/reservation-notification-email.js +93 -0
- package/src/emails/reservation-notification-email.js.map +1 -0
- package/src/exceptions/http-exception.d.ts +6 -0
- package/src/exceptions/http-exception.js +9 -0
- package/src/exceptions/http-exception.js.map +1 -0
- package/src/handlers/webhook.handler.d.ts +8 -0
- package/src/handlers/webhook.handler.js +36 -0
- package/src/handlers/webhook.handler.js.map +1 -0
- package/src/index.d.ts +5 -0
- package/src/index.js +7 -0
- package/src/index.js.map +1 -0
- package/src/integrations/next.d.ts +25 -0
- package/src/integrations/next.js +69 -0
- package/src/integrations/next.js.map +1 -0
- package/src/lib/better-auth.lib.d.ts +10215 -0
- package/src/lib/better-auth.lib.js +96 -0
- package/src/lib/better-auth.lib.js.map +1 -0
- package/src/lib/openapi.lib.d.ts +2 -0
- package/src/lib/openapi.lib.js +25 -0
- package/src/lib/openapi.lib.js.map +1 -0
- package/src/lib/pino.d.ts +1 -0
- package/src/lib/pino.js +5 -0
- package/src/lib/pino.js.map +1 -0
- package/src/lib/prisma.d.ts +819 -0
- package/src/lib/prisma.js +14 -0
- package/src/lib/prisma.js.map +1 -0
- package/src/lib/stripe.d.ts +2 -0
- package/src/lib/stripe.js +8 -0
- package/src/lib/stripe.js.map +1 -0
- package/src/lib/ts-rest.d.ts +2 -0
- package/src/lib/ts-rest.js +3 -0
- package/src/lib/ts-rest.js.map +1 -0
- package/src/routers/cart.router.d.ts +536 -0
- package/src/routers/cart.router.js +20 -0
- package/src/routers/cart.router.js.map +1 -0
- package/src/routers/file.router.d.ts +153 -0
- package/src/routers/file.router.js +28 -0
- package/src/routers/file.router.js.map +1 -0
- package/src/routers/health.router.d.ts +37 -0
- package/src/routers/health.router.js +17 -0
- package/src/routers/health.router.js.map +1 -0
- package/src/routers/index.d.ts +11 -0
- package/src/routers/index.js +12 -0
- package/src/routers/index.js.map +1 -0
- package/src/routers/manufacturer.router.d.ts +931 -0
- package/src/routers/manufacturer.router.js +58 -0
- package/src/routers/manufacturer.router.js.map +1 -0
- package/src/routers/order.router.d.ts +3911 -0
- package/src/routers/order.router.js +60 -0
- package/src/routers/order.router.js.map +1 -0
- package/src/routers/organization.router.d.ts +2234 -0
- package/src/routers/organization.router.js +55 -0
- package/src/routers/organization.router.js.map +1 -0
- package/src/routers/payment.router.d.ts +65 -0
- package/src/routers/payment.router.js +22 -0
- package/src/routers/payment.router.js.map +1 -0
- package/src/routers/places.router.d.ts +132 -0
- package/src/routers/places.router.js +31 -0
- package/src/routers/places.router.js.map +1 -0
- package/src/routers/product-category.router.d.ts +1172 -0
- package/src/routers/product-category.router.js +66 -0
- package/src/routers/product-category.router.js.map +1 -0
- package/src/routers/product.router.d.ts +3976 -0
- package/src/routers/product.router.js +86 -0
- package/src/routers/product.router.js.map +1 -0
- package/src/routers/reservation.router.d.ts +675 -0
- package/src/routers/reservation.router.js +71 -0
- package/src/routers/reservation.router.js.map +1 -0
- package/src/routers/shipping-method.router.d.ts +1276 -0
- package/src/routers/shipping-method.router.js +67 -0
- package/src/routers/shipping-method.router.js.map +1 -0
- package/src/routers/shipping.router.d.ts +320 -0
- package/src/routers/shipping.router.js +38 -0
- package/src/routers/shipping.router.js.map +1 -0
- package/src/routers/webhook.router.d.ts +65 -0
- package/src/routers/webhook.router.js +19 -0
- package/src/routers/webhook.router.js.map +1 -0
- package/src/schemas/address.schema.d.ts +235 -0
- package/src/schemas/address.schema.js +114 -0
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/auth.schema.d.ts +29 -0
- package/src/schemas/auth.schema.js +39 -0
- package/src/schemas/auth.schema.js.map +1 -0
- package/src/schemas/cart.schema.d.ts +446 -0
- package/src/schemas/cart.schema.js +41 -0
- package/src/schemas/cart.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +49 -0
- package/src/schemas/currency.schema.js +120 -0
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.d.ts +11 -0
- package/src/schemas/error.schema.js +14 -0
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/file.schema.d.ts +115 -0
- package/src/schemas/file.schema.js +79 -0
- package/src/schemas/file.schema.js.map +1 -0
- package/src/schemas/fulfilment.schema.d.ts +2 -0
- package/src/schemas/fulfilment.schema.js +5 -0
- package/src/schemas/fulfilment.schema.js.map +1 -0
- package/src/schemas/headers.schema.d.ts +11 -0
- package/src/schemas/headers.schema.js +15 -0
- package/src/schemas/headers.schema.js.map +1 -0
- package/src/schemas/index.d.ts +27 -0
- package/src/schemas/index.js +28 -0
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/legal-entity.schema.d.ts +212 -0
- package/src/schemas/legal-entity.schema.js +85 -0
- package/src/schemas/legal-entity.schema.js.map +1 -0
- package/src/schemas/locales.schema.d.ts +8 -0
- package/src/schemas/locales.schema.js +240 -0
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/location.schema.d.ts +41 -0
- package/src/schemas/location.schema.js +50 -0
- package/src/schemas/location.schema.js.map +1 -0
- package/src/schemas/manufacturer.schema.d.ts +287 -0
- package/src/schemas/manufacturer.schema.js +127 -0
- package/src/schemas/manufacturer.schema.js.map +1 -0
- package/src/schemas/number.schema.d.ts +3 -0
- package/src/schemas/number.schema.js +29 -0
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/order.schema.d.ts +1046 -0
- package/src/schemas/order.schema.js +160 -0
- package/src/schemas/order.schema.js.map +1 -0
- package/src/schemas/organization-configuration.schema.d.ts +287 -0
- package/src/schemas/organization-configuration.schema.js +117 -0
- package/src/schemas/organization-configuration.schema.js.map +1 -0
- package/src/schemas/organization.schema.d.ts +894 -0
- package/src/schemas/organization.schema.js +66 -0
- package/src/schemas/organization.schema.js.map +1 -0
- package/src/schemas/pagination.schema.d.ts +51 -0
- package/src/schemas/pagination.schema.js +54 -0
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.d.ts +19 -0
- package/src/schemas/params.schema.js +22 -0
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/payment.schema.d.ts +54 -0
- package/src/schemas/payment.schema.js +48 -0
- package/src/schemas/payment.schema.js.map +1 -0
- package/src/schemas/product-category.schema.d.ts +352 -0
- package/src/schemas/product-category.schema.js +87 -0
- package/src/schemas/product-category.schema.js.map +1 -0
- package/src/schemas/product-modifier.schema.d.ts +280 -0
- package/src/schemas/product-modifier.schema.js +86 -0
- package/src/schemas/product-modifier.schema.js.map +1 -0
- package/src/schemas/product.schema.d.ts +1405 -0
- package/src/schemas/product.schema.js +136 -0
- package/src/schemas/product.schema.js.map +1 -0
- package/src/schemas/queries.schema.d.ts +8 -0
- package/src/schemas/queries.schema.js +8 -0
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/schemas/recipient.schema.d.ts +260 -0
- package/src/schemas/recipient.schema.js +40 -0
- package/src/schemas/recipient.schema.js.map +1 -0
- package/src/schemas/reservation.schema.d.ts +61 -0
- package/src/schemas/reservation.schema.js +53 -0
- package/src/schemas/reservation.schema.js.map +1 -0
- package/src/schemas/shipping-method.schema.d.ts +335 -0
- package/src/schemas/shipping-method.schema.js +50 -0
- package/src/schemas/shipping-method.schema.js.map +1 -0
- package/src/schemas/shipping-zone.schema.d.ts +24 -0
- package/src/schemas/shipping-zone.schema.js +33 -0
- package/src/schemas/shipping-zone.schema.js.map +1 -0
- package/src/schemas/user.schema.d.ts +24 -0
- package/src/schemas/user.schema.js +32 -0
- package/src/schemas/user.schema.js.map +1 -0
- package/src/services/cart.service.d.ts +60 -0
- package/src/services/cart.service.js +97 -0
- package/src/services/cart.service.js.map +1 -0
- package/src/services/email.service.d.ts +32 -0
- package/src/services/email.service.js +116 -0
- package/src/services/email.service.js.map +1 -0
- package/src/services/file.service.d.ts +28 -0
- package/src/services/file.service.js +66 -0
- package/src/services/file.service.js.map +1 -0
- package/src/services/location.service.d.ts +28 -0
- package/src/services/location.service.js +109 -0
- package/src/services/location.service.js.map +1 -0
- package/src/services/manufacturer.service.d.ts +146 -0
- package/src/services/manufacturer.service.js +190 -0
- package/src/services/manufacturer.service.js.map +1 -0
- package/src/services/order.service.d.ts +444 -0
- package/src/services/order.service.js +306 -0
- package/src/services/order.service.js.map +1 -0
- package/src/services/organization.service.d.ts +301 -0
- package/src/services/organization.service.js +312 -0
- package/src/services/organization.service.js.map +1 -0
- package/src/services/payment.service.d.ts +35 -0
- package/src/services/payment.service.js +100 -0
- package/src/services/payment.service.js.map +1 -0
- package/src/services/product-category.service.d.ts +180 -0
- package/src/services/product-category.service.js +220 -0
- package/src/services/product-category.service.js.map +1 -0
- package/src/services/product.service.d.ts +493 -0
- package/src/services/product.service.js +437 -0
- package/src/services/product.service.js.map +1 -0
- package/src/services/reservation.service.d.ts +104 -0
- package/src/services/reservation.service.js +231 -0
- package/src/services/reservation.service.js.map +1 -0
- package/src/services/shipping-method.service.d.ts +206 -0
- package/src/services/shipping-method.service.js +229 -0
- package/src/services/shipping-method.service.js.map +1 -0
- package/src/services/shipping.service.d.ts +57 -0
- package/src/services/shipping.service.js +96 -0
- package/src/services/shipping.service.js.map +1 -0
- package/src/services/stripe.service.d.ts +26 -0
- package/src/services/stripe.service.js +164 -0
- package/src/services/stripe.service.js.map +1 -0
- package/src/types/google-maps.types.d.ts +53 -0
- package/src/types/google-maps.types.js +2 -0
- package/src/types/google-maps.types.js.map +1 -0
- package/src/utils/auth.util.d.ts +3 -0
- package/src/utils/auth.util.js +36 -0
- package/src/utils/auth.util.js.map +1 -0
- package/src/utils/cart.util.d.ts +27 -0
- package/src/utils/cart.util.js +76 -0
- package/src/utils/cart.util.js.map +1 -0
- package/src/utils/client.util.d.ts +3853 -0
- package/src/utils/client.util.js +6 -0
- package/src/utils/client.util.js.map +1 -0
- package/src/utils/currency.util.d.ts +1 -0
- package/src/utils/currency.util.js +11 -0
- package/src/utils/currency.util.js.map +1 -0
- package/src/utils/env.util.d.ts +2 -0
- package/src/utils/env.util.js +8 -0
- package/src/utils/env.util.js.map +1 -0
- package/src/utils/error-handler.util.d.ts +3 -0
- package/src/utils/error-handler.util.js +30 -0
- package/src/utils/error-handler.util.js.map +1 -0
- package/src/utils/generate-password-hash.util.d.ts +7 -0
- package/src/utils/generate-password-hash.util.js +30 -0
- package/src/utils/generate-password-hash.util.js.map +1 -0
- package/src/utils/object.util.d.ts +11 -0
- package/src/utils/object.util.js +39 -0
- package/src/utils/object.util.js.map +1 -0
- package/src/utils/translations.util.d.ts +0 -0
- package/src/utils/translations.util.js +2 -0
- package/src/utils/translations.util.js.map +1 -0
- package/src/utils/zod.util.d.ts +15 -0
- package/src/utils/zod.util.js +85 -0
- package/src/utils/zod.util.js.map +1 -0
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `ProductCategoryTranslation` model and its related types.
|
|
3
|
+
*
|
|
4
|
+
* 🟢 You can import this file directly.
|
|
5
|
+
*/
|
|
6
|
+
import * as runtime from "@prisma/client/runtime/library";
|
|
7
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
8
|
+
/**
|
|
9
|
+
* Model ProductCategoryTranslation
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ProductCategoryTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductCategoryTranslationPayload>;
|
|
13
|
+
export type AggregateProductCategoryTranslation = {
|
|
14
|
+
_count: ProductCategoryTranslationCountAggregateOutputType | null;
|
|
15
|
+
_min: ProductCategoryTranslationMinAggregateOutputType | null;
|
|
16
|
+
_max: ProductCategoryTranslationMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type ProductCategoryTranslationMinAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
locale: string | null;
|
|
21
|
+
title: string | null;
|
|
22
|
+
description: string | null;
|
|
23
|
+
productCategoryId: string | null;
|
|
24
|
+
createdAt: Date | null;
|
|
25
|
+
createdBy: string | null;
|
|
26
|
+
updatedAt: Date | null;
|
|
27
|
+
updatedBy: string | null;
|
|
28
|
+
};
|
|
29
|
+
export type ProductCategoryTranslationMaxAggregateOutputType = {
|
|
30
|
+
id: string | null;
|
|
31
|
+
locale: string | null;
|
|
32
|
+
title: string | null;
|
|
33
|
+
description: string | null;
|
|
34
|
+
productCategoryId: string | null;
|
|
35
|
+
createdAt: Date | null;
|
|
36
|
+
createdBy: string | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
updatedBy: string | null;
|
|
39
|
+
};
|
|
40
|
+
export type ProductCategoryTranslationCountAggregateOutputType = {
|
|
41
|
+
id: number;
|
|
42
|
+
locale: number;
|
|
43
|
+
title: number;
|
|
44
|
+
description: number;
|
|
45
|
+
productCategoryId: number;
|
|
46
|
+
createdAt: number;
|
|
47
|
+
createdBy: number;
|
|
48
|
+
updatedAt: number;
|
|
49
|
+
updatedBy: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type ProductCategoryTranslationMinAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
locale?: true;
|
|
55
|
+
title?: true;
|
|
56
|
+
description?: true;
|
|
57
|
+
productCategoryId?: true;
|
|
58
|
+
createdAt?: true;
|
|
59
|
+
createdBy?: true;
|
|
60
|
+
updatedAt?: true;
|
|
61
|
+
updatedBy?: true;
|
|
62
|
+
};
|
|
63
|
+
export type ProductCategoryTranslationMaxAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
locale?: true;
|
|
66
|
+
title?: true;
|
|
67
|
+
description?: true;
|
|
68
|
+
productCategoryId?: true;
|
|
69
|
+
createdAt?: true;
|
|
70
|
+
createdBy?: true;
|
|
71
|
+
updatedAt?: true;
|
|
72
|
+
updatedBy?: true;
|
|
73
|
+
};
|
|
74
|
+
export type ProductCategoryTranslationCountAggregateInputType = {
|
|
75
|
+
id?: true;
|
|
76
|
+
locale?: true;
|
|
77
|
+
title?: true;
|
|
78
|
+
description?: true;
|
|
79
|
+
productCategoryId?: true;
|
|
80
|
+
createdAt?: true;
|
|
81
|
+
createdBy?: true;
|
|
82
|
+
updatedAt?: true;
|
|
83
|
+
updatedBy?: true;
|
|
84
|
+
_all?: true;
|
|
85
|
+
};
|
|
86
|
+
export type ProductCategoryTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which ProductCategoryTranslation to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of ProductCategoryTranslations to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.ProductCategoryTranslationOrderByWithRelationInput | Prisma.ProductCategoryTranslationOrderByWithRelationInput[];
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` ProductCategoryTranslations from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` ProductCategoryTranslations.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned ProductCategoryTranslations
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | ProductCategoryTranslationCountAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to find the minimum value
|
|
125
|
+
**/
|
|
126
|
+
_min?: ProductCategoryTranslationMinAggregateInputType;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to find the maximum value
|
|
131
|
+
**/
|
|
132
|
+
_max?: ProductCategoryTranslationMaxAggregateInputType;
|
|
133
|
+
};
|
|
134
|
+
export type GetProductCategoryTranslationAggregateType<T extends ProductCategoryTranslationAggregateArgs> = {
|
|
135
|
+
[P in keyof T & keyof AggregateProductCategoryTranslation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductCategoryTranslation[P]> : Prisma.GetScalarType<T[P], AggregateProductCategoryTranslation[P]>;
|
|
136
|
+
};
|
|
137
|
+
export type ProductCategoryTranslationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
138
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
139
|
+
orderBy?: Prisma.ProductCategoryTranslationOrderByWithAggregationInput | Prisma.ProductCategoryTranslationOrderByWithAggregationInput[];
|
|
140
|
+
by: Prisma.ProductCategoryTranslationScalarFieldEnum[] | Prisma.ProductCategoryTranslationScalarFieldEnum;
|
|
141
|
+
having?: Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput;
|
|
142
|
+
take?: number;
|
|
143
|
+
skip?: number;
|
|
144
|
+
_count?: ProductCategoryTranslationCountAggregateInputType | true;
|
|
145
|
+
_min?: ProductCategoryTranslationMinAggregateInputType;
|
|
146
|
+
_max?: ProductCategoryTranslationMaxAggregateInputType;
|
|
147
|
+
};
|
|
148
|
+
export type ProductCategoryTranslationGroupByOutputType = {
|
|
149
|
+
id: string;
|
|
150
|
+
locale: string;
|
|
151
|
+
title: string | null;
|
|
152
|
+
description: string | null;
|
|
153
|
+
productCategoryId: string;
|
|
154
|
+
createdAt: Date;
|
|
155
|
+
createdBy: string | null;
|
|
156
|
+
updatedAt: Date;
|
|
157
|
+
updatedBy: string | null;
|
|
158
|
+
_count: ProductCategoryTranslationCountAggregateOutputType | null;
|
|
159
|
+
_min: ProductCategoryTranslationMinAggregateOutputType | null;
|
|
160
|
+
_max: ProductCategoryTranslationMaxAggregateOutputType | null;
|
|
161
|
+
};
|
|
162
|
+
type GetProductCategoryTranslationGroupByPayload<T extends ProductCategoryTranslationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductCategoryTranslationGroupByOutputType, T['by']> & {
|
|
163
|
+
[P in ((keyof T) & (keyof ProductCategoryTranslationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductCategoryTranslationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductCategoryTranslationGroupByOutputType[P]>;
|
|
164
|
+
}>>;
|
|
165
|
+
export type ProductCategoryTranslationWhereInput = {
|
|
166
|
+
AND?: Prisma.ProductCategoryTranslationWhereInput | Prisma.ProductCategoryTranslationWhereInput[];
|
|
167
|
+
OR?: Prisma.ProductCategoryTranslationWhereInput[];
|
|
168
|
+
NOT?: Prisma.ProductCategoryTranslationWhereInput | Prisma.ProductCategoryTranslationWhereInput[];
|
|
169
|
+
id?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
170
|
+
locale?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
171
|
+
title?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
172
|
+
description?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
173
|
+
productCategoryId?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
174
|
+
createdAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
175
|
+
createdBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
176
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
177
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
178
|
+
productCategory?: Prisma.XOR<Prisma.ProductCategoryScalarRelationFilter, Prisma.ProductCategoryWhereInput>;
|
|
179
|
+
};
|
|
180
|
+
export type ProductCategoryTranslationOrderByWithRelationInput = {
|
|
181
|
+
id?: Prisma.SortOrder;
|
|
182
|
+
locale?: Prisma.SortOrder;
|
|
183
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
184
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
185
|
+
productCategoryId?: Prisma.SortOrder;
|
|
186
|
+
createdAt?: Prisma.SortOrder;
|
|
187
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
188
|
+
updatedAt?: Prisma.SortOrder;
|
|
189
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
190
|
+
productCategory?: Prisma.ProductCategoryOrderByWithRelationInput;
|
|
191
|
+
};
|
|
192
|
+
export type ProductCategoryTranslationWhereUniqueInput = Prisma.AtLeast<{
|
|
193
|
+
id?: string;
|
|
194
|
+
locale_productCategoryId?: Prisma.ProductCategoryTranslationLocaleProductCategoryIdCompoundUniqueInput;
|
|
195
|
+
AND?: Prisma.ProductCategoryTranslationWhereInput | Prisma.ProductCategoryTranslationWhereInput[];
|
|
196
|
+
OR?: Prisma.ProductCategoryTranslationWhereInput[];
|
|
197
|
+
NOT?: Prisma.ProductCategoryTranslationWhereInput | Prisma.ProductCategoryTranslationWhereInput[];
|
|
198
|
+
locale?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
199
|
+
title?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
200
|
+
description?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
201
|
+
productCategoryId?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
202
|
+
createdAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
203
|
+
createdBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
204
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
205
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
206
|
+
productCategory?: Prisma.XOR<Prisma.ProductCategoryScalarRelationFilter, Prisma.ProductCategoryWhereInput>;
|
|
207
|
+
}, "id" | "locale_productCategoryId">;
|
|
208
|
+
export type ProductCategoryTranslationOrderByWithAggregationInput = {
|
|
209
|
+
id?: Prisma.SortOrder;
|
|
210
|
+
locale?: Prisma.SortOrder;
|
|
211
|
+
title?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
212
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
213
|
+
productCategoryId?: Prisma.SortOrder;
|
|
214
|
+
createdAt?: Prisma.SortOrder;
|
|
215
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
216
|
+
updatedAt?: Prisma.SortOrder;
|
|
217
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
218
|
+
_count?: Prisma.ProductCategoryTranslationCountOrderByAggregateInput;
|
|
219
|
+
_max?: Prisma.ProductCategoryTranslationMaxOrderByAggregateInput;
|
|
220
|
+
_min?: Prisma.ProductCategoryTranslationMinOrderByAggregateInput;
|
|
221
|
+
};
|
|
222
|
+
export type ProductCategoryTranslationScalarWhereWithAggregatesInput = {
|
|
223
|
+
AND?: Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput | Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput[];
|
|
224
|
+
OR?: Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput[];
|
|
225
|
+
NOT?: Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput | Prisma.ProductCategoryTranslationScalarWhereWithAggregatesInput[];
|
|
226
|
+
id?: Prisma.StringWithAggregatesFilter<"ProductCategoryTranslation"> | string;
|
|
227
|
+
locale?: Prisma.StringWithAggregatesFilter<"ProductCategoryTranslation"> | string;
|
|
228
|
+
title?: Prisma.StringNullableWithAggregatesFilter<"ProductCategoryTranslation"> | string | null;
|
|
229
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"ProductCategoryTranslation"> | string | null;
|
|
230
|
+
productCategoryId?: Prisma.StringWithAggregatesFilter<"ProductCategoryTranslation"> | string;
|
|
231
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProductCategoryTranslation"> | Date | string;
|
|
232
|
+
createdBy?: Prisma.StringNullableWithAggregatesFilter<"ProductCategoryTranslation"> | string | null;
|
|
233
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProductCategoryTranslation"> | Date | string;
|
|
234
|
+
updatedBy?: Prisma.StringNullableWithAggregatesFilter<"ProductCategoryTranslation"> | string | null;
|
|
235
|
+
};
|
|
236
|
+
export type ProductCategoryTranslationCreateInput = {
|
|
237
|
+
id?: string;
|
|
238
|
+
locale: string;
|
|
239
|
+
title?: string | null;
|
|
240
|
+
description?: string | null;
|
|
241
|
+
createdAt?: Date | string;
|
|
242
|
+
createdBy?: string | null;
|
|
243
|
+
updatedAt?: Date | string;
|
|
244
|
+
updatedBy?: string | null;
|
|
245
|
+
productCategory: Prisma.ProductCategoryCreateNestedOneWithoutTranslationsInput;
|
|
246
|
+
};
|
|
247
|
+
export type ProductCategoryTranslationUncheckedCreateInput = {
|
|
248
|
+
id?: string;
|
|
249
|
+
locale: string;
|
|
250
|
+
title?: string | null;
|
|
251
|
+
description?: string | null;
|
|
252
|
+
productCategoryId: string;
|
|
253
|
+
createdAt?: Date | string;
|
|
254
|
+
createdBy?: string | null;
|
|
255
|
+
updatedAt?: Date | string;
|
|
256
|
+
updatedBy?: string | null;
|
|
257
|
+
};
|
|
258
|
+
export type ProductCategoryTranslationUpdateInput = {
|
|
259
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
262
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
263
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
265
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
267
|
+
productCategory?: Prisma.ProductCategoryUpdateOneRequiredWithoutTranslationsNestedInput;
|
|
268
|
+
};
|
|
269
|
+
export type ProductCategoryTranslationUncheckedUpdateInput = {
|
|
270
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
273
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
274
|
+
productCategoryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
275
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
276
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
277
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
278
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
279
|
+
};
|
|
280
|
+
export type ProductCategoryTranslationCreateManyInput = {
|
|
281
|
+
id?: string;
|
|
282
|
+
locale: string;
|
|
283
|
+
title?: string | null;
|
|
284
|
+
description?: string | null;
|
|
285
|
+
productCategoryId: string;
|
|
286
|
+
createdAt?: Date | string;
|
|
287
|
+
createdBy?: string | null;
|
|
288
|
+
updatedAt?: Date | string;
|
|
289
|
+
updatedBy?: string | null;
|
|
290
|
+
};
|
|
291
|
+
export type ProductCategoryTranslationUpdateManyMutationInput = {
|
|
292
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
295
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
296
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
297
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
298
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
299
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
300
|
+
};
|
|
301
|
+
export type ProductCategoryTranslationUncheckedUpdateManyInput = {
|
|
302
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
305
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
306
|
+
productCategoryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
308
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
309
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
310
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
311
|
+
};
|
|
312
|
+
export type ProductCategoryTranslationListRelationFilter = {
|
|
313
|
+
every?: Prisma.ProductCategoryTranslationWhereInput;
|
|
314
|
+
some?: Prisma.ProductCategoryTranslationWhereInput;
|
|
315
|
+
none?: Prisma.ProductCategoryTranslationWhereInput;
|
|
316
|
+
};
|
|
317
|
+
export type ProductCategoryTranslationOrderByRelationAggregateInput = {
|
|
318
|
+
_count?: Prisma.SortOrder;
|
|
319
|
+
};
|
|
320
|
+
export type ProductCategoryTranslationLocaleProductCategoryIdCompoundUniqueInput = {
|
|
321
|
+
locale: string;
|
|
322
|
+
productCategoryId: string;
|
|
323
|
+
};
|
|
324
|
+
export type ProductCategoryTranslationCountOrderByAggregateInput = {
|
|
325
|
+
id?: Prisma.SortOrder;
|
|
326
|
+
locale?: Prisma.SortOrder;
|
|
327
|
+
title?: Prisma.SortOrder;
|
|
328
|
+
description?: Prisma.SortOrder;
|
|
329
|
+
productCategoryId?: Prisma.SortOrder;
|
|
330
|
+
createdAt?: Prisma.SortOrder;
|
|
331
|
+
createdBy?: Prisma.SortOrder;
|
|
332
|
+
updatedAt?: Prisma.SortOrder;
|
|
333
|
+
updatedBy?: Prisma.SortOrder;
|
|
334
|
+
};
|
|
335
|
+
export type ProductCategoryTranslationMaxOrderByAggregateInput = {
|
|
336
|
+
id?: Prisma.SortOrder;
|
|
337
|
+
locale?: Prisma.SortOrder;
|
|
338
|
+
title?: Prisma.SortOrder;
|
|
339
|
+
description?: Prisma.SortOrder;
|
|
340
|
+
productCategoryId?: Prisma.SortOrder;
|
|
341
|
+
createdAt?: Prisma.SortOrder;
|
|
342
|
+
createdBy?: Prisma.SortOrder;
|
|
343
|
+
updatedAt?: Prisma.SortOrder;
|
|
344
|
+
updatedBy?: Prisma.SortOrder;
|
|
345
|
+
};
|
|
346
|
+
export type ProductCategoryTranslationMinOrderByAggregateInput = {
|
|
347
|
+
id?: Prisma.SortOrder;
|
|
348
|
+
locale?: Prisma.SortOrder;
|
|
349
|
+
title?: Prisma.SortOrder;
|
|
350
|
+
description?: Prisma.SortOrder;
|
|
351
|
+
productCategoryId?: Prisma.SortOrder;
|
|
352
|
+
createdAt?: Prisma.SortOrder;
|
|
353
|
+
createdBy?: Prisma.SortOrder;
|
|
354
|
+
updatedAt?: Prisma.SortOrder;
|
|
355
|
+
updatedBy?: Prisma.SortOrder;
|
|
356
|
+
};
|
|
357
|
+
export type ProductCategoryTranslationCreateNestedManyWithoutProductCategoryInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput> | Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput[] | Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput[];
|
|
359
|
+
connectOrCreate?: Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput | Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput[];
|
|
360
|
+
createMany?: Prisma.ProductCategoryTranslationCreateManyProductCategoryInputEnvelope;
|
|
361
|
+
connect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
362
|
+
};
|
|
363
|
+
export type ProductCategoryTranslationUncheckedCreateNestedManyWithoutProductCategoryInput = {
|
|
364
|
+
create?: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput> | Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput[] | Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput[];
|
|
365
|
+
connectOrCreate?: Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput | Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput[];
|
|
366
|
+
createMany?: Prisma.ProductCategoryTranslationCreateManyProductCategoryInputEnvelope;
|
|
367
|
+
connect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
368
|
+
};
|
|
369
|
+
export type ProductCategoryTranslationUpdateManyWithoutProductCategoryNestedInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput> | Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput[] | Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput[];
|
|
371
|
+
connectOrCreate?: Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput | Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput[];
|
|
372
|
+
upsert?: Prisma.ProductCategoryTranslationUpsertWithWhereUniqueWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpsertWithWhereUniqueWithoutProductCategoryInput[];
|
|
373
|
+
createMany?: Prisma.ProductCategoryTranslationCreateManyProductCategoryInputEnvelope;
|
|
374
|
+
set?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
375
|
+
disconnect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
376
|
+
delete?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
377
|
+
connect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
378
|
+
update?: Prisma.ProductCategoryTranslationUpdateWithWhereUniqueWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpdateWithWhereUniqueWithoutProductCategoryInput[];
|
|
379
|
+
updateMany?: Prisma.ProductCategoryTranslationUpdateManyWithWhereWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpdateManyWithWhereWithoutProductCategoryInput[];
|
|
380
|
+
deleteMany?: Prisma.ProductCategoryTranslationScalarWhereInput | Prisma.ProductCategoryTranslationScalarWhereInput[];
|
|
381
|
+
};
|
|
382
|
+
export type ProductCategoryTranslationUncheckedUpdateManyWithoutProductCategoryNestedInput = {
|
|
383
|
+
create?: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput> | Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput[] | Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput[];
|
|
384
|
+
connectOrCreate?: Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput | Prisma.ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput[];
|
|
385
|
+
upsert?: Prisma.ProductCategoryTranslationUpsertWithWhereUniqueWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpsertWithWhereUniqueWithoutProductCategoryInput[];
|
|
386
|
+
createMany?: Prisma.ProductCategoryTranslationCreateManyProductCategoryInputEnvelope;
|
|
387
|
+
set?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
388
|
+
disconnect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
389
|
+
delete?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
390
|
+
connect?: Prisma.ProductCategoryTranslationWhereUniqueInput | Prisma.ProductCategoryTranslationWhereUniqueInput[];
|
|
391
|
+
update?: Prisma.ProductCategoryTranslationUpdateWithWhereUniqueWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpdateWithWhereUniqueWithoutProductCategoryInput[];
|
|
392
|
+
updateMany?: Prisma.ProductCategoryTranslationUpdateManyWithWhereWithoutProductCategoryInput | Prisma.ProductCategoryTranslationUpdateManyWithWhereWithoutProductCategoryInput[];
|
|
393
|
+
deleteMany?: Prisma.ProductCategoryTranslationScalarWhereInput | Prisma.ProductCategoryTranslationScalarWhereInput[];
|
|
394
|
+
};
|
|
395
|
+
export type ProductCategoryTranslationCreateWithoutProductCategoryInput = {
|
|
396
|
+
id?: string;
|
|
397
|
+
locale: string;
|
|
398
|
+
title?: string | null;
|
|
399
|
+
description?: string | null;
|
|
400
|
+
createdAt?: Date | string;
|
|
401
|
+
createdBy?: string | null;
|
|
402
|
+
updatedAt?: Date | string;
|
|
403
|
+
updatedBy?: string | null;
|
|
404
|
+
};
|
|
405
|
+
export type ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput = {
|
|
406
|
+
id?: string;
|
|
407
|
+
locale: string;
|
|
408
|
+
title?: string | null;
|
|
409
|
+
description?: string | null;
|
|
410
|
+
createdAt?: Date | string;
|
|
411
|
+
createdBy?: string | null;
|
|
412
|
+
updatedAt?: Date | string;
|
|
413
|
+
updatedBy?: string | null;
|
|
414
|
+
};
|
|
415
|
+
export type ProductCategoryTranslationCreateOrConnectWithoutProductCategoryInput = {
|
|
416
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
417
|
+
create: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput>;
|
|
418
|
+
};
|
|
419
|
+
export type ProductCategoryTranslationCreateManyProductCategoryInputEnvelope = {
|
|
420
|
+
data: Prisma.ProductCategoryTranslationCreateManyProductCategoryInput | Prisma.ProductCategoryTranslationCreateManyProductCategoryInput[];
|
|
421
|
+
skipDuplicates?: boolean;
|
|
422
|
+
};
|
|
423
|
+
export type ProductCategoryTranslationUpsertWithWhereUniqueWithoutProductCategoryInput = {
|
|
424
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
425
|
+
update: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedUpdateWithoutProductCategoryInput>;
|
|
426
|
+
create: Prisma.XOR<Prisma.ProductCategoryTranslationCreateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedCreateWithoutProductCategoryInput>;
|
|
427
|
+
};
|
|
428
|
+
export type ProductCategoryTranslationUpdateWithWhereUniqueWithoutProductCategoryInput = {
|
|
429
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
430
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateWithoutProductCategoryInput, Prisma.ProductCategoryTranslationUncheckedUpdateWithoutProductCategoryInput>;
|
|
431
|
+
};
|
|
432
|
+
export type ProductCategoryTranslationUpdateManyWithWhereWithoutProductCategoryInput = {
|
|
433
|
+
where: Prisma.ProductCategoryTranslationScalarWhereInput;
|
|
434
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateManyMutationInput, Prisma.ProductCategoryTranslationUncheckedUpdateManyWithoutProductCategoryInput>;
|
|
435
|
+
};
|
|
436
|
+
export type ProductCategoryTranslationScalarWhereInput = {
|
|
437
|
+
AND?: Prisma.ProductCategoryTranslationScalarWhereInput | Prisma.ProductCategoryTranslationScalarWhereInput[];
|
|
438
|
+
OR?: Prisma.ProductCategoryTranslationScalarWhereInput[];
|
|
439
|
+
NOT?: Prisma.ProductCategoryTranslationScalarWhereInput | Prisma.ProductCategoryTranslationScalarWhereInput[];
|
|
440
|
+
id?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
441
|
+
locale?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
442
|
+
title?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
443
|
+
description?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
444
|
+
productCategoryId?: Prisma.StringFilter<"ProductCategoryTranslation"> | string;
|
|
445
|
+
createdAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
446
|
+
createdBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
447
|
+
updatedAt?: Prisma.DateTimeFilter<"ProductCategoryTranslation"> | Date | string;
|
|
448
|
+
updatedBy?: Prisma.StringNullableFilter<"ProductCategoryTranslation"> | string | null;
|
|
449
|
+
};
|
|
450
|
+
export type ProductCategoryTranslationCreateManyProductCategoryInput = {
|
|
451
|
+
id?: string;
|
|
452
|
+
locale: string;
|
|
453
|
+
title?: string | null;
|
|
454
|
+
description?: string | null;
|
|
455
|
+
createdAt?: Date | string;
|
|
456
|
+
createdBy?: string | null;
|
|
457
|
+
updatedAt?: Date | string;
|
|
458
|
+
updatedBy?: string | null;
|
|
459
|
+
};
|
|
460
|
+
export type ProductCategoryTranslationUpdateWithoutProductCategoryInput = {
|
|
461
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
462
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
463
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
464
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
465
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
466
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
468
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
469
|
+
};
|
|
470
|
+
export type ProductCategoryTranslationUncheckedUpdateWithoutProductCategoryInput = {
|
|
471
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
474
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
475
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
476
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
477
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
478
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
479
|
+
};
|
|
480
|
+
export type ProductCategoryTranslationUncheckedUpdateManyWithoutProductCategoryInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
+
locale?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
+
title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
486
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
489
|
+
};
|
|
490
|
+
export type ProductCategoryTranslationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
491
|
+
id?: boolean;
|
|
492
|
+
locale?: boolean;
|
|
493
|
+
title?: boolean;
|
|
494
|
+
description?: boolean;
|
|
495
|
+
productCategoryId?: boolean;
|
|
496
|
+
createdAt?: boolean;
|
|
497
|
+
createdBy?: boolean;
|
|
498
|
+
updatedAt?: boolean;
|
|
499
|
+
updatedBy?: boolean;
|
|
500
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
501
|
+
}, ExtArgs["result"]["productCategoryTranslation"]>;
|
|
502
|
+
export type ProductCategoryTranslationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
503
|
+
id?: boolean;
|
|
504
|
+
locale?: boolean;
|
|
505
|
+
title?: boolean;
|
|
506
|
+
description?: boolean;
|
|
507
|
+
productCategoryId?: boolean;
|
|
508
|
+
createdAt?: boolean;
|
|
509
|
+
createdBy?: boolean;
|
|
510
|
+
updatedAt?: boolean;
|
|
511
|
+
updatedBy?: boolean;
|
|
512
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
513
|
+
}, ExtArgs["result"]["productCategoryTranslation"]>;
|
|
514
|
+
export type ProductCategoryTranslationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
515
|
+
id?: boolean;
|
|
516
|
+
locale?: boolean;
|
|
517
|
+
title?: boolean;
|
|
518
|
+
description?: boolean;
|
|
519
|
+
productCategoryId?: boolean;
|
|
520
|
+
createdAt?: boolean;
|
|
521
|
+
createdBy?: boolean;
|
|
522
|
+
updatedAt?: boolean;
|
|
523
|
+
updatedBy?: boolean;
|
|
524
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
525
|
+
}, ExtArgs["result"]["productCategoryTranslation"]>;
|
|
526
|
+
export type ProductCategoryTranslationSelectScalar = {
|
|
527
|
+
id?: boolean;
|
|
528
|
+
locale?: boolean;
|
|
529
|
+
title?: boolean;
|
|
530
|
+
description?: boolean;
|
|
531
|
+
productCategoryId?: boolean;
|
|
532
|
+
createdAt?: boolean;
|
|
533
|
+
createdBy?: boolean;
|
|
534
|
+
updatedAt?: boolean;
|
|
535
|
+
updatedBy?: boolean;
|
|
536
|
+
};
|
|
537
|
+
export type ProductCategoryTranslationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "locale" | "title" | "description" | "productCategoryId" | "createdAt" | "createdBy" | "updatedAt" | "updatedBy", ExtArgs["result"]["productCategoryTranslation"]>;
|
|
538
|
+
export type ProductCategoryTranslationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
539
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
540
|
+
};
|
|
541
|
+
export type ProductCategoryTranslationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
542
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
543
|
+
};
|
|
544
|
+
export type ProductCategoryTranslationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
545
|
+
productCategory?: boolean | Prisma.ProductCategoryDefaultArgs<ExtArgs>;
|
|
546
|
+
};
|
|
547
|
+
export type $ProductCategoryTranslationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
548
|
+
name: "ProductCategoryTranslation";
|
|
549
|
+
objects: {
|
|
550
|
+
productCategory: Prisma.$ProductCategoryPayload<ExtArgs>;
|
|
551
|
+
};
|
|
552
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
553
|
+
id: string;
|
|
554
|
+
locale: string;
|
|
555
|
+
title: string | null;
|
|
556
|
+
description: string | null;
|
|
557
|
+
productCategoryId: string;
|
|
558
|
+
createdAt: Date;
|
|
559
|
+
createdBy: string | null;
|
|
560
|
+
updatedAt: Date;
|
|
561
|
+
updatedBy: string | null;
|
|
562
|
+
}, ExtArgs["result"]["productCategoryTranslation"]>;
|
|
563
|
+
composites: {};
|
|
564
|
+
};
|
|
565
|
+
export type ProductCategoryTranslationGetPayload<S extends boolean | null | undefined | ProductCategoryTranslationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload, S>;
|
|
566
|
+
export type ProductCategoryTranslationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductCategoryTranslationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
567
|
+
select?: ProductCategoryTranslationCountAggregateInputType | true;
|
|
568
|
+
};
|
|
569
|
+
export interface ProductCategoryTranslationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
570
|
+
[K: symbol]: {
|
|
571
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ProductCategoryTranslation'];
|
|
572
|
+
meta: {
|
|
573
|
+
name: 'ProductCategoryTranslation';
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
/**
|
|
577
|
+
* Find zero or one ProductCategoryTranslation that matches the filter.
|
|
578
|
+
* @param {ProductCategoryTranslationFindUniqueArgs} args - Arguments to find a ProductCategoryTranslation
|
|
579
|
+
* @example
|
|
580
|
+
* // Get one ProductCategoryTranslation
|
|
581
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.findUnique({
|
|
582
|
+
* where: {
|
|
583
|
+
* // ... provide filter here
|
|
584
|
+
* }
|
|
585
|
+
* })
|
|
586
|
+
*/
|
|
587
|
+
findUnique<T extends ProductCategoryTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
588
|
+
/**
|
|
589
|
+
* Find one ProductCategoryTranslation that matches the filter or throw an error with `error.code='P2025'`
|
|
590
|
+
* if no matches were found.
|
|
591
|
+
* @param {ProductCategoryTranslationFindUniqueOrThrowArgs} args - Arguments to find a ProductCategoryTranslation
|
|
592
|
+
* @example
|
|
593
|
+
* // Get one ProductCategoryTranslation
|
|
594
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.findUniqueOrThrow({
|
|
595
|
+
* where: {
|
|
596
|
+
* // ... provide filter here
|
|
597
|
+
* }
|
|
598
|
+
* })
|
|
599
|
+
*/
|
|
600
|
+
findUniqueOrThrow<T extends ProductCategoryTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
601
|
+
/**
|
|
602
|
+
* Find the first ProductCategoryTranslation that matches the filter.
|
|
603
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
604
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
605
|
+
* @param {ProductCategoryTranslationFindFirstArgs} args - Arguments to find a ProductCategoryTranslation
|
|
606
|
+
* @example
|
|
607
|
+
* // Get one ProductCategoryTranslation
|
|
608
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.findFirst({
|
|
609
|
+
* where: {
|
|
610
|
+
* // ... provide filter here
|
|
611
|
+
* }
|
|
612
|
+
* })
|
|
613
|
+
*/
|
|
614
|
+
findFirst<T extends ProductCategoryTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
615
|
+
/**
|
|
616
|
+
* Find the first ProductCategoryTranslation that matches the filter or
|
|
617
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
618
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
619
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
620
|
+
* @param {ProductCategoryTranslationFindFirstOrThrowArgs} args - Arguments to find a ProductCategoryTranslation
|
|
621
|
+
* @example
|
|
622
|
+
* // Get one ProductCategoryTranslation
|
|
623
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.findFirstOrThrow({
|
|
624
|
+
* where: {
|
|
625
|
+
* // ... provide filter here
|
|
626
|
+
* }
|
|
627
|
+
* })
|
|
628
|
+
*/
|
|
629
|
+
findFirstOrThrow<T extends ProductCategoryTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
630
|
+
/**
|
|
631
|
+
* Find zero or more ProductCategoryTranslations that matches the filter.
|
|
632
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
633
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
634
|
+
* @param {ProductCategoryTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
635
|
+
* @example
|
|
636
|
+
* // Get all ProductCategoryTranslations
|
|
637
|
+
* const productCategoryTranslations = await prisma.productCategoryTranslation.findMany()
|
|
638
|
+
*
|
|
639
|
+
* // Get first 10 ProductCategoryTranslations
|
|
640
|
+
* const productCategoryTranslations = await prisma.productCategoryTranslation.findMany({ take: 10 })
|
|
641
|
+
*
|
|
642
|
+
* // Only select the `id`
|
|
643
|
+
* const productCategoryTranslationWithIdOnly = await prisma.productCategoryTranslation.findMany({ select: { id: true } })
|
|
644
|
+
*
|
|
645
|
+
*/
|
|
646
|
+
findMany<T extends ProductCategoryTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
647
|
+
/**
|
|
648
|
+
* Create a ProductCategoryTranslation.
|
|
649
|
+
* @param {ProductCategoryTranslationCreateArgs} args - Arguments to create a ProductCategoryTranslation.
|
|
650
|
+
* @example
|
|
651
|
+
* // Create one ProductCategoryTranslation
|
|
652
|
+
* const ProductCategoryTranslation = await prisma.productCategoryTranslation.create({
|
|
653
|
+
* data: {
|
|
654
|
+
* // ... data to create a ProductCategoryTranslation
|
|
655
|
+
* }
|
|
656
|
+
* })
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
create<T extends ProductCategoryTranslationCreateArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
660
|
+
/**
|
|
661
|
+
* Create many ProductCategoryTranslations.
|
|
662
|
+
* @param {ProductCategoryTranslationCreateManyArgs} args - Arguments to create many ProductCategoryTranslations.
|
|
663
|
+
* @example
|
|
664
|
+
* // Create many ProductCategoryTranslations
|
|
665
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.createMany({
|
|
666
|
+
* data: [
|
|
667
|
+
* // ... provide data here
|
|
668
|
+
* ]
|
|
669
|
+
* })
|
|
670
|
+
*
|
|
671
|
+
*/
|
|
672
|
+
createMany<T extends ProductCategoryTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
673
|
+
/**
|
|
674
|
+
* Create many ProductCategoryTranslations and returns the data saved in the database.
|
|
675
|
+
* @param {ProductCategoryTranslationCreateManyAndReturnArgs} args - Arguments to create many ProductCategoryTranslations.
|
|
676
|
+
* @example
|
|
677
|
+
* // Create many ProductCategoryTranslations
|
|
678
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.createManyAndReturn({
|
|
679
|
+
* data: [
|
|
680
|
+
* // ... provide data here
|
|
681
|
+
* ]
|
|
682
|
+
* })
|
|
683
|
+
*
|
|
684
|
+
* // Create many ProductCategoryTranslations and only return the `id`
|
|
685
|
+
* const productCategoryTranslationWithIdOnly = await prisma.productCategoryTranslation.createManyAndReturn({
|
|
686
|
+
* select: { id: true },
|
|
687
|
+
* data: [
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* ]
|
|
690
|
+
* })
|
|
691
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
692
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
createManyAndReturn<T extends ProductCategoryTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
696
|
+
/**
|
|
697
|
+
* Delete a ProductCategoryTranslation.
|
|
698
|
+
* @param {ProductCategoryTranslationDeleteArgs} args - Arguments to delete one ProductCategoryTranslation.
|
|
699
|
+
* @example
|
|
700
|
+
* // Delete one ProductCategoryTranslation
|
|
701
|
+
* const ProductCategoryTranslation = await prisma.productCategoryTranslation.delete({
|
|
702
|
+
* where: {
|
|
703
|
+
* // ... filter to delete one ProductCategoryTranslation
|
|
704
|
+
* }
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
*/
|
|
708
|
+
delete<T extends ProductCategoryTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
709
|
+
/**
|
|
710
|
+
* Update one ProductCategoryTranslation.
|
|
711
|
+
* @param {ProductCategoryTranslationUpdateArgs} args - Arguments to update one ProductCategoryTranslation.
|
|
712
|
+
* @example
|
|
713
|
+
* // Update one ProductCategoryTranslation
|
|
714
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.update({
|
|
715
|
+
* where: {
|
|
716
|
+
* // ... provide filter here
|
|
717
|
+
* },
|
|
718
|
+
* data: {
|
|
719
|
+
* // ... provide data here
|
|
720
|
+
* }
|
|
721
|
+
* })
|
|
722
|
+
*
|
|
723
|
+
*/
|
|
724
|
+
update<T extends ProductCategoryTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
725
|
+
/**
|
|
726
|
+
* Delete zero or more ProductCategoryTranslations.
|
|
727
|
+
* @param {ProductCategoryTranslationDeleteManyArgs} args - Arguments to filter ProductCategoryTranslations to delete.
|
|
728
|
+
* @example
|
|
729
|
+
* // Delete a few ProductCategoryTranslations
|
|
730
|
+
* const { count } = await prisma.productCategoryTranslation.deleteMany({
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... provide filter here
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
*
|
|
736
|
+
*/
|
|
737
|
+
deleteMany<T extends ProductCategoryTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
738
|
+
/**
|
|
739
|
+
* Update zero or more ProductCategoryTranslations.
|
|
740
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
741
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
742
|
+
* @param {ProductCategoryTranslationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
743
|
+
* @example
|
|
744
|
+
* // Update many ProductCategoryTranslations
|
|
745
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.updateMany({
|
|
746
|
+
* where: {
|
|
747
|
+
* // ... provide filter here
|
|
748
|
+
* },
|
|
749
|
+
* data: {
|
|
750
|
+
* // ... provide data here
|
|
751
|
+
* }
|
|
752
|
+
* })
|
|
753
|
+
*
|
|
754
|
+
*/
|
|
755
|
+
updateMany<T extends ProductCategoryTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
756
|
+
/**
|
|
757
|
+
* Update zero or more ProductCategoryTranslations and returns the data updated in the database.
|
|
758
|
+
* @param {ProductCategoryTranslationUpdateManyAndReturnArgs} args - Arguments to update many ProductCategoryTranslations.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update many ProductCategoryTranslations
|
|
761
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.updateManyAndReturn({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* },
|
|
765
|
+
* data: [
|
|
766
|
+
* // ... provide data here
|
|
767
|
+
* ]
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
* // Update zero or more ProductCategoryTranslations and only return the `id`
|
|
771
|
+
* const productCategoryTranslationWithIdOnly = await prisma.productCategoryTranslation.updateManyAndReturn({
|
|
772
|
+
* select: { id: true },
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* },
|
|
776
|
+
* data: [
|
|
777
|
+
* // ... provide data here
|
|
778
|
+
* ]
|
|
779
|
+
* })
|
|
780
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
781
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
782
|
+
*
|
|
783
|
+
*/
|
|
784
|
+
updateManyAndReturn<T extends ProductCategoryTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
785
|
+
/**
|
|
786
|
+
* Create or update one ProductCategoryTranslation.
|
|
787
|
+
* @param {ProductCategoryTranslationUpsertArgs} args - Arguments to update or create a ProductCategoryTranslation.
|
|
788
|
+
* @example
|
|
789
|
+
* // Update or create a ProductCategoryTranslation
|
|
790
|
+
* const productCategoryTranslation = await prisma.productCategoryTranslation.upsert({
|
|
791
|
+
* create: {
|
|
792
|
+
* // ... data to create a ProductCategoryTranslation
|
|
793
|
+
* },
|
|
794
|
+
* update: {
|
|
795
|
+
* // ... in case it already exists, update
|
|
796
|
+
* },
|
|
797
|
+
* where: {
|
|
798
|
+
* // ... the filter for the ProductCategoryTranslation we want to update
|
|
799
|
+
* }
|
|
800
|
+
* })
|
|
801
|
+
*/
|
|
802
|
+
upsert<T extends ProductCategoryTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ProductCategoryTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryTranslationClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
803
|
+
/**
|
|
804
|
+
* Count the number of ProductCategoryTranslations.
|
|
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 {ProductCategoryTranslationCountArgs} args - Arguments to filter ProductCategoryTranslations to count.
|
|
808
|
+
* @example
|
|
809
|
+
* // Count the number of ProductCategoryTranslations
|
|
810
|
+
* const count = await prisma.productCategoryTranslation.count({
|
|
811
|
+
* where: {
|
|
812
|
+
* // ... the filter for the ProductCategoryTranslations we want to count
|
|
813
|
+
* }
|
|
814
|
+
* })
|
|
815
|
+
**/
|
|
816
|
+
count<T extends ProductCategoryTranslationCountArgs>(args?: Prisma.Subset<T, ProductCategoryTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductCategoryTranslationCountAggregateOutputType> : number>;
|
|
817
|
+
/**
|
|
818
|
+
* Allows you to perform aggregations operations on a ProductCategoryTranslation.
|
|
819
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
820
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
821
|
+
* @param {ProductCategoryTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
822
|
+
* @example
|
|
823
|
+
* // Ordered by age ascending
|
|
824
|
+
* // Where email contains prisma.io
|
|
825
|
+
* // Limited to the 10 users
|
|
826
|
+
* const aggregations = await prisma.user.aggregate({
|
|
827
|
+
* _avg: {
|
|
828
|
+
* age: true,
|
|
829
|
+
* },
|
|
830
|
+
* where: {
|
|
831
|
+
* email: {
|
|
832
|
+
* contains: "prisma.io",
|
|
833
|
+
* },
|
|
834
|
+
* },
|
|
835
|
+
* orderBy: {
|
|
836
|
+
* age: "asc",
|
|
837
|
+
* },
|
|
838
|
+
* take: 10,
|
|
839
|
+
* })
|
|
840
|
+
**/
|
|
841
|
+
aggregate<T extends ProductCategoryTranslationAggregateArgs>(args: Prisma.Subset<T, ProductCategoryTranslationAggregateArgs>): Prisma.PrismaPromise<GetProductCategoryTranslationAggregateType<T>>;
|
|
842
|
+
/**
|
|
843
|
+
* Group by ProductCategoryTranslation.
|
|
844
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
845
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
846
|
+
* @param {ProductCategoryTranslationGroupByArgs} args - Group by arguments.
|
|
847
|
+
* @example
|
|
848
|
+
* // Group by city, order by createdAt, get count
|
|
849
|
+
* const result = await prisma.user.groupBy({
|
|
850
|
+
* by: ['city', 'createdAt'],
|
|
851
|
+
* orderBy: {
|
|
852
|
+
* createdAt: true
|
|
853
|
+
* },
|
|
854
|
+
* _count: {
|
|
855
|
+
* _all: true
|
|
856
|
+
* },
|
|
857
|
+
* })
|
|
858
|
+
*
|
|
859
|
+
**/
|
|
860
|
+
groupBy<T extends ProductCategoryTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
861
|
+
orderBy: ProductCategoryTranslationGroupByArgs['orderBy'];
|
|
862
|
+
} : {
|
|
863
|
+
orderBy?: ProductCategoryTranslationGroupByArgs['orderBy'];
|
|
864
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
865
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
866
|
+
Error,
|
|
867
|
+
'Field ',
|
|
868
|
+
P,
|
|
869
|
+
` in "having" needs to be provided in "by"`
|
|
870
|
+
];
|
|
871
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
872
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
873
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
874
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
875
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
876
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
877
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductCategoryTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductCategoryTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
878
|
+
/**
|
|
879
|
+
* Fields of the ProductCategoryTranslation model
|
|
880
|
+
*/
|
|
881
|
+
readonly fields: ProductCategoryTranslationFieldRefs;
|
|
882
|
+
}
|
|
883
|
+
/**
|
|
884
|
+
* The delegate class that acts as a "Promise-like" for ProductCategoryTranslation.
|
|
885
|
+
* Why is this prefixed with `Prisma__`?
|
|
886
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
887
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
888
|
+
*/
|
|
889
|
+
export interface Prisma__ProductCategoryTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
890
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
891
|
+
productCategory<T extends Prisma.ProductCategoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategoryDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
892
|
+
/**
|
|
893
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
894
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
895
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
896
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
897
|
+
*/
|
|
898
|
+
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>;
|
|
899
|
+
/**
|
|
900
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
901
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
902
|
+
* @returns A Promise for the completion of the callback.
|
|
903
|
+
*/
|
|
904
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
905
|
+
/**
|
|
906
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
907
|
+
* resolved value cannot be modified from the callback.
|
|
908
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
909
|
+
* @returns A Promise for the completion of the callback.
|
|
910
|
+
*/
|
|
911
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Fields of the ProductCategoryTranslation model
|
|
915
|
+
*/
|
|
916
|
+
export interface ProductCategoryTranslationFieldRefs {
|
|
917
|
+
readonly id: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
918
|
+
readonly locale: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
919
|
+
readonly title: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
920
|
+
readonly description: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
921
|
+
readonly productCategoryId: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
922
|
+
readonly createdAt: Prisma.FieldRef<"ProductCategoryTranslation", 'DateTime'>;
|
|
923
|
+
readonly createdBy: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
924
|
+
readonly updatedAt: Prisma.FieldRef<"ProductCategoryTranslation", 'DateTime'>;
|
|
925
|
+
readonly updatedBy: Prisma.FieldRef<"ProductCategoryTranslation", 'String'>;
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* ProductCategoryTranslation findUnique
|
|
929
|
+
*/
|
|
930
|
+
export type ProductCategoryTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
939
|
+
/**
|
|
940
|
+
* Choose, which related nodes to fetch as well
|
|
941
|
+
*/
|
|
942
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
943
|
+
/**
|
|
944
|
+
* Filter, which ProductCategoryTranslation to fetch.
|
|
945
|
+
*/
|
|
946
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* ProductCategoryTranslation findUniqueOrThrow
|
|
950
|
+
*/
|
|
951
|
+
export type ProductCategoryTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
954
|
+
*/
|
|
955
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
958
|
+
*/
|
|
959
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
960
|
+
/**
|
|
961
|
+
* Choose, which related nodes to fetch as well
|
|
962
|
+
*/
|
|
963
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
964
|
+
/**
|
|
965
|
+
* Filter, which ProductCategoryTranslation to fetch.
|
|
966
|
+
*/
|
|
967
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* ProductCategoryTranslation findFirst
|
|
971
|
+
*/
|
|
972
|
+
export type ProductCategoryTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
975
|
+
*/
|
|
976
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
979
|
+
*/
|
|
980
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Choose, which related nodes to fetch as well
|
|
983
|
+
*/
|
|
984
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* Filter, which ProductCategoryTranslation to fetch.
|
|
987
|
+
*/
|
|
988
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
989
|
+
/**
|
|
990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
991
|
+
*
|
|
992
|
+
* Determine the order of ProductCategoryTranslations to fetch.
|
|
993
|
+
*/
|
|
994
|
+
orderBy?: Prisma.ProductCategoryTranslationOrderByWithRelationInput | Prisma.ProductCategoryTranslationOrderByWithRelationInput[];
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
997
|
+
*
|
|
998
|
+
* Sets the position for searching for ProductCategoryTranslations.
|
|
999
|
+
*/
|
|
1000
|
+
cursor?: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Take `±n` ProductCategoryTranslations from the position of the cursor.
|
|
1005
|
+
*/
|
|
1006
|
+
take?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1009
|
+
*
|
|
1010
|
+
* Skip the first `n` ProductCategoryTranslations.
|
|
1011
|
+
*/
|
|
1012
|
+
skip?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1015
|
+
*
|
|
1016
|
+
* Filter by unique combinations of ProductCategoryTranslations.
|
|
1017
|
+
*/
|
|
1018
|
+
distinct?: Prisma.ProductCategoryTranslationScalarFieldEnum | Prisma.ProductCategoryTranslationScalarFieldEnum[];
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* ProductCategoryTranslation findFirstOrThrow
|
|
1022
|
+
*/
|
|
1023
|
+
export type ProductCategoryTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1026
|
+
*/
|
|
1027
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1030
|
+
*/
|
|
1031
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Choose, which related nodes to fetch as well
|
|
1034
|
+
*/
|
|
1035
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Filter, which ProductCategoryTranslation to fetch.
|
|
1038
|
+
*/
|
|
1039
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
1040
|
+
/**
|
|
1041
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1042
|
+
*
|
|
1043
|
+
* Determine the order of ProductCategoryTranslations to fetch.
|
|
1044
|
+
*/
|
|
1045
|
+
orderBy?: Prisma.ProductCategoryTranslationOrderByWithRelationInput | Prisma.ProductCategoryTranslationOrderByWithRelationInput[];
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Sets the position for searching for ProductCategoryTranslations.
|
|
1050
|
+
*/
|
|
1051
|
+
cursor?: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Take `±n` ProductCategoryTranslations from the position of the cursor.
|
|
1056
|
+
*/
|
|
1057
|
+
take?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1060
|
+
*
|
|
1061
|
+
* Skip the first `n` ProductCategoryTranslations.
|
|
1062
|
+
*/
|
|
1063
|
+
skip?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1066
|
+
*
|
|
1067
|
+
* Filter by unique combinations of ProductCategoryTranslations.
|
|
1068
|
+
*/
|
|
1069
|
+
distinct?: Prisma.ProductCategoryTranslationScalarFieldEnum | Prisma.ProductCategoryTranslationScalarFieldEnum[];
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* ProductCategoryTranslation findMany
|
|
1073
|
+
*/
|
|
1074
|
+
export type ProductCategoryTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1075
|
+
/**
|
|
1076
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1077
|
+
*/
|
|
1078
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1081
|
+
*/
|
|
1082
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* Choose, which related nodes to fetch as well
|
|
1085
|
+
*/
|
|
1086
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Filter, which ProductCategoryTranslations to fetch.
|
|
1089
|
+
*/
|
|
1090
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Determine the order of ProductCategoryTranslations to fetch.
|
|
1095
|
+
*/
|
|
1096
|
+
orderBy?: Prisma.ProductCategoryTranslationOrderByWithRelationInput | Prisma.ProductCategoryTranslationOrderByWithRelationInput[];
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Sets the position for listing ProductCategoryTranslations.
|
|
1101
|
+
*/
|
|
1102
|
+
cursor?: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Take `±n` ProductCategoryTranslations from the position of the cursor.
|
|
1107
|
+
*/
|
|
1108
|
+
take?: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1111
|
+
*
|
|
1112
|
+
* Skip the first `n` ProductCategoryTranslations.
|
|
1113
|
+
*/
|
|
1114
|
+
skip?: number;
|
|
1115
|
+
distinct?: Prisma.ProductCategoryTranslationScalarFieldEnum | Prisma.ProductCategoryTranslationScalarFieldEnum[];
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* ProductCategoryTranslation create
|
|
1119
|
+
*/
|
|
1120
|
+
export type ProductCategoryTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
/**
|
|
1122
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1123
|
+
*/
|
|
1124
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1127
|
+
*/
|
|
1128
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Choose, which related nodes to fetch as well
|
|
1131
|
+
*/
|
|
1132
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* The data needed to create a ProductCategoryTranslation.
|
|
1135
|
+
*/
|
|
1136
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationCreateInput, Prisma.ProductCategoryTranslationUncheckedCreateInput>;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* ProductCategoryTranslation createMany
|
|
1140
|
+
*/
|
|
1141
|
+
export type ProductCategoryTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1142
|
+
/**
|
|
1143
|
+
* The data used to create many ProductCategoryTranslations.
|
|
1144
|
+
*/
|
|
1145
|
+
data: Prisma.ProductCategoryTranslationCreateManyInput | Prisma.ProductCategoryTranslationCreateManyInput[];
|
|
1146
|
+
skipDuplicates?: boolean;
|
|
1147
|
+
};
|
|
1148
|
+
/**
|
|
1149
|
+
* ProductCategoryTranslation createManyAndReturn
|
|
1150
|
+
*/
|
|
1151
|
+
export type ProductCategoryTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1154
|
+
*/
|
|
1155
|
+
select?: Prisma.ProductCategoryTranslationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1158
|
+
*/
|
|
1159
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* The data used to create many ProductCategoryTranslations.
|
|
1162
|
+
*/
|
|
1163
|
+
data: Prisma.ProductCategoryTranslationCreateManyInput | Prisma.ProductCategoryTranslationCreateManyInput[];
|
|
1164
|
+
skipDuplicates?: boolean;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.ProductCategoryTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* ProductCategoryTranslation update
|
|
1172
|
+
*/
|
|
1173
|
+
export type ProductCategoryTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1176
|
+
*/
|
|
1177
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1180
|
+
*/
|
|
1181
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Choose, which related nodes to fetch as well
|
|
1184
|
+
*/
|
|
1185
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* The data needed to update a ProductCategoryTranslation.
|
|
1188
|
+
*/
|
|
1189
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateInput, Prisma.ProductCategoryTranslationUncheckedUpdateInput>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which ProductCategoryTranslation to update.
|
|
1192
|
+
*/
|
|
1193
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* ProductCategoryTranslation updateMany
|
|
1197
|
+
*/
|
|
1198
|
+
export type ProductCategoryTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* The data used to update ProductCategoryTranslations.
|
|
1201
|
+
*/
|
|
1202
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateManyMutationInput, Prisma.ProductCategoryTranslationUncheckedUpdateManyInput>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Filter which ProductCategoryTranslations to update
|
|
1205
|
+
*/
|
|
1206
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
1207
|
+
/**
|
|
1208
|
+
* Limit how many ProductCategoryTranslations to update.
|
|
1209
|
+
*/
|
|
1210
|
+
limit?: number;
|
|
1211
|
+
};
|
|
1212
|
+
/**
|
|
1213
|
+
* ProductCategoryTranslation updateManyAndReturn
|
|
1214
|
+
*/
|
|
1215
|
+
export type ProductCategoryTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1218
|
+
*/
|
|
1219
|
+
select?: Prisma.ProductCategoryTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1222
|
+
*/
|
|
1223
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* The data used to update ProductCategoryTranslations.
|
|
1226
|
+
*/
|
|
1227
|
+
data: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateManyMutationInput, Prisma.ProductCategoryTranslationUncheckedUpdateManyInput>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Filter which ProductCategoryTranslations to update
|
|
1230
|
+
*/
|
|
1231
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* Limit how many ProductCategoryTranslations to update.
|
|
1234
|
+
*/
|
|
1235
|
+
limit?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Choose, which related nodes to fetch as well
|
|
1238
|
+
*/
|
|
1239
|
+
include?: Prisma.ProductCategoryTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* ProductCategoryTranslation upsert
|
|
1243
|
+
*/
|
|
1244
|
+
export type ProductCategoryTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
/**
|
|
1246
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1247
|
+
*/
|
|
1248
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1251
|
+
*/
|
|
1252
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Choose, which related nodes to fetch as well
|
|
1255
|
+
*/
|
|
1256
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* The filter to search for the ProductCategoryTranslation to update in case it exists.
|
|
1259
|
+
*/
|
|
1260
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* In case the ProductCategoryTranslation found by the `where` argument doesn't exist, create a new ProductCategoryTranslation with this data.
|
|
1263
|
+
*/
|
|
1264
|
+
create: Prisma.XOR<Prisma.ProductCategoryTranslationCreateInput, Prisma.ProductCategoryTranslationUncheckedCreateInput>;
|
|
1265
|
+
/**
|
|
1266
|
+
* In case the ProductCategoryTranslation was found with the provided `where` argument, update it with this data.
|
|
1267
|
+
*/
|
|
1268
|
+
update: Prisma.XOR<Prisma.ProductCategoryTranslationUpdateInput, Prisma.ProductCategoryTranslationUncheckedUpdateInput>;
|
|
1269
|
+
};
|
|
1270
|
+
/**
|
|
1271
|
+
* ProductCategoryTranslation delete
|
|
1272
|
+
*/
|
|
1273
|
+
export type ProductCategoryTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1274
|
+
/**
|
|
1275
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1276
|
+
*/
|
|
1277
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1280
|
+
*/
|
|
1281
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1282
|
+
/**
|
|
1283
|
+
* Choose, which related nodes to fetch as well
|
|
1284
|
+
*/
|
|
1285
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter which ProductCategoryTranslation to delete.
|
|
1288
|
+
*/
|
|
1289
|
+
where: Prisma.ProductCategoryTranslationWhereUniqueInput;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* ProductCategoryTranslation deleteMany
|
|
1293
|
+
*/
|
|
1294
|
+
export type ProductCategoryTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter which ProductCategoryTranslations to delete
|
|
1297
|
+
*/
|
|
1298
|
+
where?: Prisma.ProductCategoryTranslationWhereInput;
|
|
1299
|
+
/**
|
|
1300
|
+
* Limit how many ProductCategoryTranslations to delete.
|
|
1301
|
+
*/
|
|
1302
|
+
limit?: number;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* ProductCategoryTranslation without action
|
|
1306
|
+
*/
|
|
1307
|
+
export type ProductCategoryTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1308
|
+
/**
|
|
1309
|
+
* Select specific fields to fetch from the ProductCategoryTranslation
|
|
1310
|
+
*/
|
|
1311
|
+
select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Omit specific fields from the ProductCategoryTranslation
|
|
1314
|
+
*/
|
|
1315
|
+
omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Choose, which related nodes to fetch as well
|
|
1318
|
+
*/
|
|
1319
|
+
include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
|
|
1320
|
+
};
|
|
1321
|
+
export {};
|