@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,1934 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `ShippingMethod` 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 ShippingMethod
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type ShippingMethodModel = runtime.Types.Result.DefaultSelection<Prisma.$ShippingMethodPayload>;
|
|
13
|
+
export type AggregateShippingMethod = {
|
|
14
|
+
_count: ShippingMethodCountAggregateOutputType | null;
|
|
15
|
+
_min: ShippingMethodMinAggregateOutputType | null;
|
|
16
|
+
_max: ShippingMethodMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type ShippingMethodMinAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
title: string | null;
|
|
21
|
+
providerName: string | null;
|
|
22
|
+
providerLogoId: string | null;
|
|
23
|
+
requireDateOfDelivery: boolean | null;
|
|
24
|
+
organizationId: string | null;
|
|
25
|
+
archivedAt: Date | null;
|
|
26
|
+
archivedBy: string | null;
|
|
27
|
+
publishedAt: Date | null;
|
|
28
|
+
publishedBy: string | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
createdBy: string | null;
|
|
31
|
+
updatedAt: Date | null;
|
|
32
|
+
updatedBy: string | null;
|
|
33
|
+
};
|
|
34
|
+
export type ShippingMethodMaxAggregateOutputType = {
|
|
35
|
+
id: string | null;
|
|
36
|
+
title: string | null;
|
|
37
|
+
providerName: string | null;
|
|
38
|
+
providerLogoId: string | null;
|
|
39
|
+
requireDateOfDelivery: boolean | null;
|
|
40
|
+
organizationId: string | null;
|
|
41
|
+
archivedAt: Date | null;
|
|
42
|
+
archivedBy: string | null;
|
|
43
|
+
publishedAt: Date | null;
|
|
44
|
+
publishedBy: string | null;
|
|
45
|
+
createdAt: Date | null;
|
|
46
|
+
createdBy: string | null;
|
|
47
|
+
updatedAt: Date | null;
|
|
48
|
+
updatedBy: string | null;
|
|
49
|
+
};
|
|
50
|
+
export type ShippingMethodCountAggregateOutputType = {
|
|
51
|
+
id: number;
|
|
52
|
+
title: number;
|
|
53
|
+
providerName: number;
|
|
54
|
+
providerLogoId: number;
|
|
55
|
+
requireDateOfDelivery: number;
|
|
56
|
+
organizationId: number;
|
|
57
|
+
archivedAt: number;
|
|
58
|
+
archivedBy: number;
|
|
59
|
+
publishedAt: number;
|
|
60
|
+
publishedBy: number;
|
|
61
|
+
createdAt: number;
|
|
62
|
+
createdBy: number;
|
|
63
|
+
updatedAt: number;
|
|
64
|
+
updatedBy: number;
|
|
65
|
+
_all: number;
|
|
66
|
+
};
|
|
67
|
+
export type ShippingMethodMinAggregateInputType = {
|
|
68
|
+
id?: true;
|
|
69
|
+
title?: true;
|
|
70
|
+
providerName?: true;
|
|
71
|
+
providerLogoId?: true;
|
|
72
|
+
requireDateOfDelivery?: true;
|
|
73
|
+
organizationId?: true;
|
|
74
|
+
archivedAt?: true;
|
|
75
|
+
archivedBy?: true;
|
|
76
|
+
publishedAt?: true;
|
|
77
|
+
publishedBy?: true;
|
|
78
|
+
createdAt?: true;
|
|
79
|
+
createdBy?: true;
|
|
80
|
+
updatedAt?: true;
|
|
81
|
+
updatedBy?: true;
|
|
82
|
+
};
|
|
83
|
+
export type ShippingMethodMaxAggregateInputType = {
|
|
84
|
+
id?: true;
|
|
85
|
+
title?: true;
|
|
86
|
+
providerName?: true;
|
|
87
|
+
providerLogoId?: true;
|
|
88
|
+
requireDateOfDelivery?: true;
|
|
89
|
+
organizationId?: true;
|
|
90
|
+
archivedAt?: true;
|
|
91
|
+
archivedBy?: true;
|
|
92
|
+
publishedAt?: true;
|
|
93
|
+
publishedBy?: true;
|
|
94
|
+
createdAt?: true;
|
|
95
|
+
createdBy?: true;
|
|
96
|
+
updatedAt?: true;
|
|
97
|
+
updatedBy?: true;
|
|
98
|
+
};
|
|
99
|
+
export type ShippingMethodCountAggregateInputType = {
|
|
100
|
+
id?: true;
|
|
101
|
+
title?: true;
|
|
102
|
+
providerName?: true;
|
|
103
|
+
providerLogoId?: true;
|
|
104
|
+
requireDateOfDelivery?: true;
|
|
105
|
+
organizationId?: true;
|
|
106
|
+
archivedAt?: true;
|
|
107
|
+
archivedBy?: true;
|
|
108
|
+
publishedAt?: true;
|
|
109
|
+
publishedBy?: true;
|
|
110
|
+
createdAt?: true;
|
|
111
|
+
createdBy?: true;
|
|
112
|
+
updatedAt?: true;
|
|
113
|
+
updatedBy?: true;
|
|
114
|
+
_all?: true;
|
|
115
|
+
};
|
|
116
|
+
export type ShippingMethodAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
117
|
+
/**
|
|
118
|
+
* Filter which ShippingMethod to aggregate.
|
|
119
|
+
*/
|
|
120
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
123
|
+
*
|
|
124
|
+
* Determine the order of ShippingMethods to fetch.
|
|
125
|
+
*/
|
|
126
|
+
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
129
|
+
*
|
|
130
|
+
* Sets the start position
|
|
131
|
+
*/
|
|
132
|
+
cursor?: Prisma.ShippingMethodWhereUniqueInput;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Take `±n` ShippingMethods from the position of the cursor.
|
|
137
|
+
*/
|
|
138
|
+
take?: number;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
+
*
|
|
142
|
+
* Skip the first `n` ShippingMethods.
|
|
143
|
+
*/
|
|
144
|
+
skip?: number;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Count returned ShippingMethods
|
|
149
|
+
**/
|
|
150
|
+
_count?: true | ShippingMethodCountAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to find the minimum value
|
|
155
|
+
**/
|
|
156
|
+
_min?: ShippingMethodMinAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to find the maximum value
|
|
161
|
+
**/
|
|
162
|
+
_max?: ShippingMethodMaxAggregateInputType;
|
|
163
|
+
};
|
|
164
|
+
export type GetShippingMethodAggregateType<T extends ShippingMethodAggregateArgs> = {
|
|
165
|
+
[P in keyof T & keyof AggregateShippingMethod]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShippingMethod[P]> : Prisma.GetScalarType<T[P], AggregateShippingMethod[P]>;
|
|
166
|
+
};
|
|
167
|
+
export type ShippingMethodGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
168
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
169
|
+
orderBy?: Prisma.ShippingMethodOrderByWithAggregationInput | Prisma.ShippingMethodOrderByWithAggregationInput[];
|
|
170
|
+
by: Prisma.ShippingMethodScalarFieldEnum[] | Prisma.ShippingMethodScalarFieldEnum;
|
|
171
|
+
having?: Prisma.ShippingMethodScalarWhereWithAggregatesInput;
|
|
172
|
+
take?: number;
|
|
173
|
+
skip?: number;
|
|
174
|
+
_count?: ShippingMethodCountAggregateInputType | true;
|
|
175
|
+
_min?: ShippingMethodMinAggregateInputType;
|
|
176
|
+
_max?: ShippingMethodMaxAggregateInputType;
|
|
177
|
+
};
|
|
178
|
+
export type ShippingMethodGroupByOutputType = {
|
|
179
|
+
id: string;
|
|
180
|
+
title: string;
|
|
181
|
+
providerName: string;
|
|
182
|
+
providerLogoId: string | null;
|
|
183
|
+
requireDateOfDelivery: boolean | null;
|
|
184
|
+
organizationId: string;
|
|
185
|
+
archivedAt: Date | null;
|
|
186
|
+
archivedBy: string | null;
|
|
187
|
+
publishedAt: Date | null;
|
|
188
|
+
publishedBy: string | null;
|
|
189
|
+
createdAt: Date;
|
|
190
|
+
createdBy: string | null;
|
|
191
|
+
updatedAt: Date;
|
|
192
|
+
updatedBy: string | null;
|
|
193
|
+
_count: ShippingMethodCountAggregateOutputType | null;
|
|
194
|
+
_min: ShippingMethodMinAggregateOutputType | null;
|
|
195
|
+
_max: ShippingMethodMaxAggregateOutputType | null;
|
|
196
|
+
};
|
|
197
|
+
type GetShippingMethodGroupByPayload<T extends ShippingMethodGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ShippingMethodGroupByOutputType, T['by']> & {
|
|
198
|
+
[P in ((keyof T) & (keyof ShippingMethodGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ShippingMethodGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ShippingMethodGroupByOutputType[P]>;
|
|
199
|
+
}>>;
|
|
200
|
+
export type ShippingMethodWhereInput = {
|
|
201
|
+
AND?: Prisma.ShippingMethodWhereInput | Prisma.ShippingMethodWhereInput[];
|
|
202
|
+
OR?: Prisma.ShippingMethodWhereInput[];
|
|
203
|
+
NOT?: Prisma.ShippingMethodWhereInput | Prisma.ShippingMethodWhereInput[];
|
|
204
|
+
id?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
205
|
+
title?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
206
|
+
providerName?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
207
|
+
providerLogoId?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
208
|
+
requireDateOfDelivery?: Prisma.BoolNullableFilter<"ShippingMethod"> | boolean | null;
|
|
209
|
+
organizationId?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
210
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
211
|
+
archivedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
212
|
+
publishedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
213
|
+
publishedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
214
|
+
createdAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
215
|
+
createdBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
216
|
+
updatedAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
217
|
+
updatedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
218
|
+
providerLogo?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
|
|
219
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
220
|
+
shippingZones?: Prisma.ShippingZoneListRelationFilter;
|
|
221
|
+
orders?: Prisma.OrderListRelationFilter;
|
|
222
|
+
};
|
|
223
|
+
export type ShippingMethodOrderByWithRelationInput = {
|
|
224
|
+
id?: Prisma.SortOrder;
|
|
225
|
+
title?: Prisma.SortOrder;
|
|
226
|
+
providerName?: Prisma.SortOrder;
|
|
227
|
+
providerLogoId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
228
|
+
requireDateOfDelivery?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
organizationId?: Prisma.SortOrder;
|
|
230
|
+
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
archivedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
publishedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
createdAt?: Prisma.SortOrder;
|
|
235
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
236
|
+
updatedAt?: Prisma.SortOrder;
|
|
237
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
238
|
+
providerLogo?: Prisma.FileOrderByWithRelationInput;
|
|
239
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
240
|
+
shippingZones?: Prisma.ShippingZoneOrderByRelationAggregateInput;
|
|
241
|
+
orders?: Prisma.OrderOrderByRelationAggregateInput;
|
|
242
|
+
};
|
|
243
|
+
export type ShippingMethodWhereUniqueInput = Prisma.AtLeast<{
|
|
244
|
+
id?: string;
|
|
245
|
+
providerLogoId?: string;
|
|
246
|
+
AND?: Prisma.ShippingMethodWhereInput | Prisma.ShippingMethodWhereInput[];
|
|
247
|
+
OR?: Prisma.ShippingMethodWhereInput[];
|
|
248
|
+
NOT?: Prisma.ShippingMethodWhereInput | Prisma.ShippingMethodWhereInput[];
|
|
249
|
+
title?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
250
|
+
providerName?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
251
|
+
requireDateOfDelivery?: Prisma.BoolNullableFilter<"ShippingMethod"> | boolean | null;
|
|
252
|
+
organizationId?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
253
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
254
|
+
archivedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
255
|
+
publishedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
256
|
+
publishedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
257
|
+
createdAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
258
|
+
createdBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
259
|
+
updatedAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
260
|
+
updatedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
261
|
+
providerLogo?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
|
|
262
|
+
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
263
|
+
shippingZones?: Prisma.ShippingZoneListRelationFilter;
|
|
264
|
+
orders?: Prisma.OrderListRelationFilter;
|
|
265
|
+
}, "id" | "providerLogoId">;
|
|
266
|
+
export type ShippingMethodOrderByWithAggregationInput = {
|
|
267
|
+
id?: Prisma.SortOrder;
|
|
268
|
+
title?: Prisma.SortOrder;
|
|
269
|
+
providerName?: Prisma.SortOrder;
|
|
270
|
+
providerLogoId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
requireDateOfDelivery?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
272
|
+
organizationId?: Prisma.SortOrder;
|
|
273
|
+
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
274
|
+
archivedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
|
+
publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
276
|
+
publishedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
+
createdAt?: Prisma.SortOrder;
|
|
278
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
279
|
+
updatedAt?: Prisma.SortOrder;
|
|
280
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
_count?: Prisma.ShippingMethodCountOrderByAggregateInput;
|
|
282
|
+
_max?: Prisma.ShippingMethodMaxOrderByAggregateInput;
|
|
283
|
+
_min?: Prisma.ShippingMethodMinOrderByAggregateInput;
|
|
284
|
+
};
|
|
285
|
+
export type ShippingMethodScalarWhereWithAggregatesInput = {
|
|
286
|
+
AND?: Prisma.ShippingMethodScalarWhereWithAggregatesInput | Prisma.ShippingMethodScalarWhereWithAggregatesInput[];
|
|
287
|
+
OR?: Prisma.ShippingMethodScalarWhereWithAggregatesInput[];
|
|
288
|
+
NOT?: Prisma.ShippingMethodScalarWhereWithAggregatesInput | Prisma.ShippingMethodScalarWhereWithAggregatesInput[];
|
|
289
|
+
id?: Prisma.StringWithAggregatesFilter<"ShippingMethod"> | string;
|
|
290
|
+
title?: Prisma.StringWithAggregatesFilter<"ShippingMethod"> | string;
|
|
291
|
+
providerName?: Prisma.StringWithAggregatesFilter<"ShippingMethod"> | string;
|
|
292
|
+
providerLogoId?: Prisma.StringNullableWithAggregatesFilter<"ShippingMethod"> | string | null;
|
|
293
|
+
requireDateOfDelivery?: Prisma.BoolNullableWithAggregatesFilter<"ShippingMethod"> | boolean | null;
|
|
294
|
+
organizationId?: Prisma.StringWithAggregatesFilter<"ShippingMethod"> | string;
|
|
295
|
+
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShippingMethod"> | Date | string | null;
|
|
296
|
+
archivedBy?: Prisma.StringNullableWithAggregatesFilter<"ShippingMethod"> | string | null;
|
|
297
|
+
publishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShippingMethod"> | Date | string | null;
|
|
298
|
+
publishedBy?: Prisma.StringNullableWithAggregatesFilter<"ShippingMethod"> | string | null;
|
|
299
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ShippingMethod"> | Date | string;
|
|
300
|
+
createdBy?: Prisma.StringNullableWithAggregatesFilter<"ShippingMethod"> | string | null;
|
|
301
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ShippingMethod"> | Date | string;
|
|
302
|
+
updatedBy?: Prisma.StringNullableWithAggregatesFilter<"ShippingMethod"> | string | null;
|
|
303
|
+
};
|
|
304
|
+
export type ShippingMethodCreateInput = {
|
|
305
|
+
id?: string;
|
|
306
|
+
title: string;
|
|
307
|
+
providerName: string;
|
|
308
|
+
requireDateOfDelivery?: boolean | null;
|
|
309
|
+
archivedAt?: Date | string | null;
|
|
310
|
+
archivedBy?: string | null;
|
|
311
|
+
publishedAt?: Date | string | null;
|
|
312
|
+
publishedBy?: string | null;
|
|
313
|
+
createdAt?: Date | string;
|
|
314
|
+
createdBy?: string | null;
|
|
315
|
+
updatedAt?: Date | string;
|
|
316
|
+
updatedBy?: string | null;
|
|
317
|
+
providerLogo?: Prisma.FileCreateNestedOneWithoutShippingMethodLogoForInput;
|
|
318
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutShippingMethodsInput;
|
|
319
|
+
shippingZones?: Prisma.ShippingZoneCreateNestedManyWithoutShippingMethodInput;
|
|
320
|
+
orders?: Prisma.OrderCreateNestedManyWithoutShippingMethodInput;
|
|
321
|
+
};
|
|
322
|
+
export type ShippingMethodUncheckedCreateInput = {
|
|
323
|
+
id?: string;
|
|
324
|
+
title: string;
|
|
325
|
+
providerName: string;
|
|
326
|
+
providerLogoId?: string | null;
|
|
327
|
+
requireDateOfDelivery?: boolean | null;
|
|
328
|
+
organizationId: string;
|
|
329
|
+
archivedAt?: Date | string | null;
|
|
330
|
+
archivedBy?: string | null;
|
|
331
|
+
publishedAt?: Date | string | null;
|
|
332
|
+
publishedBy?: string | null;
|
|
333
|
+
createdAt?: Date | string;
|
|
334
|
+
createdBy?: string | null;
|
|
335
|
+
updatedAt?: Date | string;
|
|
336
|
+
updatedBy?: string | null;
|
|
337
|
+
shippingZones?: Prisma.ShippingZoneUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
338
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
339
|
+
};
|
|
340
|
+
export type ShippingMethodUpdateInput = {
|
|
341
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
344
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
345
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
346
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
348
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
350
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
351
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
352
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
353
|
+
providerLogo?: Prisma.FileUpdateOneWithoutShippingMethodLogoForNestedInput;
|
|
354
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutShippingMethodsNestedInput;
|
|
355
|
+
shippingZones?: Prisma.ShippingZoneUpdateManyWithoutShippingMethodNestedInput;
|
|
356
|
+
orders?: Prisma.OrderUpdateManyWithoutShippingMethodNestedInput;
|
|
357
|
+
};
|
|
358
|
+
export type ShippingMethodUncheckedUpdateInput = {
|
|
359
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
360
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
362
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
363
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
364
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
365
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
366
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
367
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
368
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
369
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
370
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
371
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
372
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
373
|
+
shippingZones?: Prisma.ShippingZoneUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
374
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
375
|
+
};
|
|
376
|
+
export type ShippingMethodCreateManyInput = {
|
|
377
|
+
id?: string;
|
|
378
|
+
title: string;
|
|
379
|
+
providerName: string;
|
|
380
|
+
providerLogoId?: string | null;
|
|
381
|
+
requireDateOfDelivery?: boolean | null;
|
|
382
|
+
organizationId: string;
|
|
383
|
+
archivedAt?: Date | string | null;
|
|
384
|
+
archivedBy?: string | null;
|
|
385
|
+
publishedAt?: Date | string | null;
|
|
386
|
+
publishedBy?: string | null;
|
|
387
|
+
createdAt?: Date | string;
|
|
388
|
+
createdBy?: string | null;
|
|
389
|
+
updatedAt?: Date | string;
|
|
390
|
+
updatedBy?: string | null;
|
|
391
|
+
};
|
|
392
|
+
export type ShippingMethodUpdateManyMutationInput = {
|
|
393
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
397
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
398
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
399
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
400
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
402
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
405
|
+
};
|
|
406
|
+
export type ShippingMethodUncheckedUpdateManyInput = {
|
|
407
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
408
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
409
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
410
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
411
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
412
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
414
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
415
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
416
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
417
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
418
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
419
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
420
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
|
+
};
|
|
422
|
+
export type ShippingMethodListRelationFilter = {
|
|
423
|
+
every?: Prisma.ShippingMethodWhereInput;
|
|
424
|
+
some?: Prisma.ShippingMethodWhereInput;
|
|
425
|
+
none?: Prisma.ShippingMethodWhereInput;
|
|
426
|
+
};
|
|
427
|
+
export type ShippingMethodOrderByRelationAggregateInput = {
|
|
428
|
+
_count?: Prisma.SortOrder;
|
|
429
|
+
};
|
|
430
|
+
export type ShippingMethodNullableScalarRelationFilter = {
|
|
431
|
+
is?: Prisma.ShippingMethodWhereInput | null;
|
|
432
|
+
isNot?: Prisma.ShippingMethodWhereInput | null;
|
|
433
|
+
};
|
|
434
|
+
export type ShippingMethodCountOrderByAggregateInput = {
|
|
435
|
+
id?: Prisma.SortOrder;
|
|
436
|
+
title?: Prisma.SortOrder;
|
|
437
|
+
providerName?: Prisma.SortOrder;
|
|
438
|
+
providerLogoId?: Prisma.SortOrder;
|
|
439
|
+
requireDateOfDelivery?: Prisma.SortOrder;
|
|
440
|
+
organizationId?: Prisma.SortOrder;
|
|
441
|
+
archivedAt?: Prisma.SortOrder;
|
|
442
|
+
archivedBy?: Prisma.SortOrder;
|
|
443
|
+
publishedAt?: Prisma.SortOrder;
|
|
444
|
+
publishedBy?: Prisma.SortOrder;
|
|
445
|
+
createdAt?: Prisma.SortOrder;
|
|
446
|
+
createdBy?: Prisma.SortOrder;
|
|
447
|
+
updatedAt?: Prisma.SortOrder;
|
|
448
|
+
updatedBy?: Prisma.SortOrder;
|
|
449
|
+
};
|
|
450
|
+
export type ShippingMethodMaxOrderByAggregateInput = {
|
|
451
|
+
id?: Prisma.SortOrder;
|
|
452
|
+
title?: Prisma.SortOrder;
|
|
453
|
+
providerName?: Prisma.SortOrder;
|
|
454
|
+
providerLogoId?: Prisma.SortOrder;
|
|
455
|
+
requireDateOfDelivery?: Prisma.SortOrder;
|
|
456
|
+
organizationId?: Prisma.SortOrder;
|
|
457
|
+
archivedAt?: Prisma.SortOrder;
|
|
458
|
+
archivedBy?: Prisma.SortOrder;
|
|
459
|
+
publishedAt?: Prisma.SortOrder;
|
|
460
|
+
publishedBy?: Prisma.SortOrder;
|
|
461
|
+
createdAt?: Prisma.SortOrder;
|
|
462
|
+
createdBy?: Prisma.SortOrder;
|
|
463
|
+
updatedAt?: Prisma.SortOrder;
|
|
464
|
+
updatedBy?: Prisma.SortOrder;
|
|
465
|
+
};
|
|
466
|
+
export type ShippingMethodMinOrderByAggregateInput = {
|
|
467
|
+
id?: Prisma.SortOrder;
|
|
468
|
+
title?: Prisma.SortOrder;
|
|
469
|
+
providerName?: Prisma.SortOrder;
|
|
470
|
+
providerLogoId?: Prisma.SortOrder;
|
|
471
|
+
requireDateOfDelivery?: Prisma.SortOrder;
|
|
472
|
+
organizationId?: Prisma.SortOrder;
|
|
473
|
+
archivedAt?: Prisma.SortOrder;
|
|
474
|
+
archivedBy?: Prisma.SortOrder;
|
|
475
|
+
publishedAt?: Prisma.SortOrder;
|
|
476
|
+
publishedBy?: Prisma.SortOrder;
|
|
477
|
+
createdAt?: Prisma.SortOrder;
|
|
478
|
+
createdBy?: Prisma.SortOrder;
|
|
479
|
+
updatedAt?: Prisma.SortOrder;
|
|
480
|
+
updatedBy?: Prisma.SortOrder;
|
|
481
|
+
};
|
|
482
|
+
export type ShippingMethodScalarRelationFilter = {
|
|
483
|
+
is?: Prisma.ShippingMethodWhereInput;
|
|
484
|
+
isNot?: Prisma.ShippingMethodWhereInput;
|
|
485
|
+
};
|
|
486
|
+
export type ShippingMethodCreateNestedManyWithoutOrganizationInput = {
|
|
487
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput> | Prisma.ShippingMethodCreateWithoutOrganizationInput[] | Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput[];
|
|
488
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput | Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput[];
|
|
489
|
+
createMany?: Prisma.ShippingMethodCreateManyOrganizationInputEnvelope;
|
|
490
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
491
|
+
};
|
|
492
|
+
export type ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
493
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput> | Prisma.ShippingMethodCreateWithoutOrganizationInput[] | Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput[];
|
|
494
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput | Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput[];
|
|
495
|
+
createMany?: Prisma.ShippingMethodCreateManyOrganizationInputEnvelope;
|
|
496
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
497
|
+
};
|
|
498
|
+
export type ShippingMethodUpdateManyWithoutOrganizationNestedInput = {
|
|
499
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput> | Prisma.ShippingMethodCreateWithoutOrganizationInput[] | Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput[];
|
|
500
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput | Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput[];
|
|
501
|
+
upsert?: Prisma.ShippingMethodUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.ShippingMethodUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
502
|
+
createMany?: Prisma.ShippingMethodCreateManyOrganizationInputEnvelope;
|
|
503
|
+
set?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
504
|
+
disconnect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
505
|
+
delete?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
506
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
507
|
+
update?: Prisma.ShippingMethodUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.ShippingMethodUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
508
|
+
updateMany?: Prisma.ShippingMethodUpdateManyWithWhereWithoutOrganizationInput | Prisma.ShippingMethodUpdateManyWithWhereWithoutOrganizationInput[];
|
|
509
|
+
deleteMany?: Prisma.ShippingMethodScalarWhereInput | Prisma.ShippingMethodScalarWhereInput[];
|
|
510
|
+
};
|
|
511
|
+
export type ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
512
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput> | Prisma.ShippingMethodCreateWithoutOrganizationInput[] | Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput[];
|
|
513
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput | Prisma.ShippingMethodCreateOrConnectWithoutOrganizationInput[];
|
|
514
|
+
upsert?: Prisma.ShippingMethodUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.ShippingMethodUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
515
|
+
createMany?: Prisma.ShippingMethodCreateManyOrganizationInputEnvelope;
|
|
516
|
+
set?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
517
|
+
disconnect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
518
|
+
delete?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
519
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput | Prisma.ShippingMethodWhereUniqueInput[];
|
|
520
|
+
update?: Prisma.ShippingMethodUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.ShippingMethodUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
521
|
+
updateMany?: Prisma.ShippingMethodUpdateManyWithWhereWithoutOrganizationInput | Prisma.ShippingMethodUpdateManyWithWhereWithoutOrganizationInput[];
|
|
522
|
+
deleteMany?: Prisma.ShippingMethodScalarWhereInput | Prisma.ShippingMethodScalarWhereInput[];
|
|
523
|
+
};
|
|
524
|
+
export type ShippingMethodCreateNestedOneWithoutProviderLogoInput = {
|
|
525
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
526
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutProviderLogoInput;
|
|
527
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
528
|
+
};
|
|
529
|
+
export type ShippingMethodUncheckedCreateNestedOneWithoutProviderLogoInput = {
|
|
530
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
531
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutProviderLogoInput;
|
|
532
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
533
|
+
};
|
|
534
|
+
export type ShippingMethodUpdateOneWithoutProviderLogoNestedInput = {
|
|
535
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
536
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutProviderLogoInput;
|
|
537
|
+
upsert?: Prisma.ShippingMethodUpsertWithoutProviderLogoInput;
|
|
538
|
+
disconnect?: Prisma.ShippingMethodWhereInput | boolean;
|
|
539
|
+
delete?: Prisma.ShippingMethodWhereInput | boolean;
|
|
540
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
541
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ShippingMethodUpdateToOneWithWhereWithoutProviderLogoInput, Prisma.ShippingMethodUpdateWithoutProviderLogoInput>, Prisma.ShippingMethodUncheckedUpdateWithoutProviderLogoInput>;
|
|
542
|
+
};
|
|
543
|
+
export type ShippingMethodUncheckedUpdateOneWithoutProviderLogoNestedInput = {
|
|
544
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
545
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutProviderLogoInput;
|
|
546
|
+
upsert?: Prisma.ShippingMethodUpsertWithoutProviderLogoInput;
|
|
547
|
+
disconnect?: Prisma.ShippingMethodWhereInput | boolean;
|
|
548
|
+
delete?: Prisma.ShippingMethodWhereInput | boolean;
|
|
549
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
550
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ShippingMethodUpdateToOneWithWhereWithoutProviderLogoInput, Prisma.ShippingMethodUpdateWithoutProviderLogoInput>, Prisma.ShippingMethodUncheckedUpdateWithoutProviderLogoInput>;
|
|
551
|
+
};
|
|
552
|
+
export type ShippingMethodCreateNestedOneWithoutOrdersInput = {
|
|
553
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrdersInput, Prisma.ShippingMethodUncheckedCreateWithoutOrdersInput>;
|
|
554
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrdersInput;
|
|
555
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
556
|
+
};
|
|
557
|
+
export type ShippingMethodUpdateOneWithoutOrdersNestedInput = {
|
|
558
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrdersInput, Prisma.ShippingMethodUncheckedCreateWithoutOrdersInput>;
|
|
559
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutOrdersInput;
|
|
560
|
+
upsert?: Prisma.ShippingMethodUpsertWithoutOrdersInput;
|
|
561
|
+
disconnect?: Prisma.ShippingMethodWhereInput | boolean;
|
|
562
|
+
delete?: Prisma.ShippingMethodWhereInput | boolean;
|
|
563
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
564
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ShippingMethodUpdateToOneWithWhereWithoutOrdersInput, Prisma.ShippingMethodUpdateWithoutOrdersInput>, Prisma.ShippingMethodUncheckedUpdateWithoutOrdersInput>;
|
|
565
|
+
};
|
|
566
|
+
export type ShippingMethodCreateNestedOneWithoutShippingZonesInput = {
|
|
567
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedCreateWithoutShippingZonesInput>;
|
|
568
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutShippingZonesInput;
|
|
569
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
570
|
+
};
|
|
571
|
+
export type ShippingMethodUpdateOneRequiredWithoutShippingZonesNestedInput = {
|
|
572
|
+
create?: Prisma.XOR<Prisma.ShippingMethodCreateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedCreateWithoutShippingZonesInput>;
|
|
573
|
+
connectOrCreate?: Prisma.ShippingMethodCreateOrConnectWithoutShippingZonesInput;
|
|
574
|
+
upsert?: Prisma.ShippingMethodUpsertWithoutShippingZonesInput;
|
|
575
|
+
connect?: Prisma.ShippingMethodWhereUniqueInput;
|
|
576
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ShippingMethodUpdateToOneWithWhereWithoutShippingZonesInput, Prisma.ShippingMethodUpdateWithoutShippingZonesInput>, Prisma.ShippingMethodUncheckedUpdateWithoutShippingZonesInput>;
|
|
577
|
+
};
|
|
578
|
+
export type ShippingMethodCreateWithoutOrganizationInput = {
|
|
579
|
+
id?: string;
|
|
580
|
+
title: string;
|
|
581
|
+
providerName: string;
|
|
582
|
+
requireDateOfDelivery?: boolean | null;
|
|
583
|
+
archivedAt?: Date | string | null;
|
|
584
|
+
archivedBy?: string | null;
|
|
585
|
+
publishedAt?: Date | string | null;
|
|
586
|
+
publishedBy?: string | null;
|
|
587
|
+
createdAt?: Date | string;
|
|
588
|
+
createdBy?: string | null;
|
|
589
|
+
updatedAt?: Date | string;
|
|
590
|
+
updatedBy?: string | null;
|
|
591
|
+
providerLogo?: Prisma.FileCreateNestedOneWithoutShippingMethodLogoForInput;
|
|
592
|
+
shippingZones?: Prisma.ShippingZoneCreateNestedManyWithoutShippingMethodInput;
|
|
593
|
+
orders?: Prisma.OrderCreateNestedManyWithoutShippingMethodInput;
|
|
594
|
+
};
|
|
595
|
+
export type ShippingMethodUncheckedCreateWithoutOrganizationInput = {
|
|
596
|
+
id?: string;
|
|
597
|
+
title: string;
|
|
598
|
+
providerName: string;
|
|
599
|
+
providerLogoId?: string | null;
|
|
600
|
+
requireDateOfDelivery?: boolean | null;
|
|
601
|
+
archivedAt?: Date | string | null;
|
|
602
|
+
archivedBy?: string | null;
|
|
603
|
+
publishedAt?: Date | string | null;
|
|
604
|
+
publishedBy?: string | null;
|
|
605
|
+
createdAt?: Date | string;
|
|
606
|
+
createdBy?: string | null;
|
|
607
|
+
updatedAt?: Date | string;
|
|
608
|
+
updatedBy?: string | null;
|
|
609
|
+
shippingZones?: Prisma.ShippingZoneUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
610
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
611
|
+
};
|
|
612
|
+
export type ShippingMethodCreateOrConnectWithoutOrganizationInput = {
|
|
613
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
614
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput>;
|
|
615
|
+
};
|
|
616
|
+
export type ShippingMethodCreateManyOrganizationInputEnvelope = {
|
|
617
|
+
data: Prisma.ShippingMethodCreateManyOrganizationInput | Prisma.ShippingMethodCreateManyOrganizationInput[];
|
|
618
|
+
skipDuplicates?: boolean;
|
|
619
|
+
};
|
|
620
|
+
export type ShippingMethodUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
621
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
622
|
+
update: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedUpdateWithoutOrganizationInput>;
|
|
623
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedCreateWithoutOrganizationInput>;
|
|
624
|
+
};
|
|
625
|
+
export type ShippingMethodUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
626
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
627
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutOrganizationInput, Prisma.ShippingMethodUncheckedUpdateWithoutOrganizationInput>;
|
|
628
|
+
};
|
|
629
|
+
export type ShippingMethodUpdateManyWithWhereWithoutOrganizationInput = {
|
|
630
|
+
where: Prisma.ShippingMethodScalarWhereInput;
|
|
631
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateManyMutationInput, Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationInput>;
|
|
632
|
+
};
|
|
633
|
+
export type ShippingMethodScalarWhereInput = {
|
|
634
|
+
AND?: Prisma.ShippingMethodScalarWhereInput | Prisma.ShippingMethodScalarWhereInput[];
|
|
635
|
+
OR?: Prisma.ShippingMethodScalarWhereInput[];
|
|
636
|
+
NOT?: Prisma.ShippingMethodScalarWhereInput | Prisma.ShippingMethodScalarWhereInput[];
|
|
637
|
+
id?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
638
|
+
title?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
639
|
+
providerName?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
640
|
+
providerLogoId?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
641
|
+
requireDateOfDelivery?: Prisma.BoolNullableFilter<"ShippingMethod"> | boolean | null;
|
|
642
|
+
organizationId?: Prisma.StringFilter<"ShippingMethod"> | string;
|
|
643
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
644
|
+
archivedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
645
|
+
publishedAt?: Prisma.DateTimeNullableFilter<"ShippingMethod"> | Date | string | null;
|
|
646
|
+
publishedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
647
|
+
createdAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
648
|
+
createdBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
649
|
+
updatedAt?: Prisma.DateTimeFilter<"ShippingMethod"> | Date | string;
|
|
650
|
+
updatedBy?: Prisma.StringNullableFilter<"ShippingMethod"> | string | null;
|
|
651
|
+
};
|
|
652
|
+
export type ShippingMethodCreateWithoutProviderLogoInput = {
|
|
653
|
+
id?: string;
|
|
654
|
+
title: string;
|
|
655
|
+
providerName: string;
|
|
656
|
+
requireDateOfDelivery?: boolean | null;
|
|
657
|
+
archivedAt?: Date | string | null;
|
|
658
|
+
archivedBy?: string | null;
|
|
659
|
+
publishedAt?: Date | string | null;
|
|
660
|
+
publishedBy?: string | null;
|
|
661
|
+
createdAt?: Date | string;
|
|
662
|
+
createdBy?: string | null;
|
|
663
|
+
updatedAt?: Date | string;
|
|
664
|
+
updatedBy?: string | null;
|
|
665
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutShippingMethodsInput;
|
|
666
|
+
shippingZones?: Prisma.ShippingZoneCreateNestedManyWithoutShippingMethodInput;
|
|
667
|
+
orders?: Prisma.OrderCreateNestedManyWithoutShippingMethodInput;
|
|
668
|
+
};
|
|
669
|
+
export type ShippingMethodUncheckedCreateWithoutProviderLogoInput = {
|
|
670
|
+
id?: string;
|
|
671
|
+
title: string;
|
|
672
|
+
providerName: string;
|
|
673
|
+
requireDateOfDelivery?: boolean | null;
|
|
674
|
+
organizationId: string;
|
|
675
|
+
archivedAt?: Date | string | null;
|
|
676
|
+
archivedBy?: string | null;
|
|
677
|
+
publishedAt?: Date | string | null;
|
|
678
|
+
publishedBy?: string | null;
|
|
679
|
+
createdAt?: Date | string;
|
|
680
|
+
createdBy?: string | null;
|
|
681
|
+
updatedAt?: Date | string;
|
|
682
|
+
updatedBy?: string | null;
|
|
683
|
+
shippingZones?: Prisma.ShippingZoneUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
684
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
685
|
+
};
|
|
686
|
+
export type ShippingMethodCreateOrConnectWithoutProviderLogoInput = {
|
|
687
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
688
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
689
|
+
};
|
|
690
|
+
export type ShippingMethodUpsertWithoutProviderLogoInput = {
|
|
691
|
+
update: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedUpdateWithoutProviderLogoInput>;
|
|
692
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedCreateWithoutProviderLogoInput>;
|
|
693
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
694
|
+
};
|
|
695
|
+
export type ShippingMethodUpdateToOneWithWhereWithoutProviderLogoInput = {
|
|
696
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
697
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutProviderLogoInput, Prisma.ShippingMethodUncheckedUpdateWithoutProviderLogoInput>;
|
|
698
|
+
};
|
|
699
|
+
export type ShippingMethodUpdateWithoutProviderLogoInput = {
|
|
700
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
701
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
702
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
703
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
704
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
705
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
706
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
707
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
708
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
709
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
710
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
711
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
712
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutShippingMethodsNestedInput;
|
|
713
|
+
shippingZones?: Prisma.ShippingZoneUpdateManyWithoutShippingMethodNestedInput;
|
|
714
|
+
orders?: Prisma.OrderUpdateManyWithoutShippingMethodNestedInput;
|
|
715
|
+
};
|
|
716
|
+
export type ShippingMethodUncheckedUpdateWithoutProviderLogoInput = {
|
|
717
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
718
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
719
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
720
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
721
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
722
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
723
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
724
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
725
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
726
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
727
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
728
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
729
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
730
|
+
shippingZones?: Prisma.ShippingZoneUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
731
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
732
|
+
};
|
|
733
|
+
export type ShippingMethodCreateWithoutOrdersInput = {
|
|
734
|
+
id?: string;
|
|
735
|
+
title: string;
|
|
736
|
+
providerName: string;
|
|
737
|
+
requireDateOfDelivery?: boolean | null;
|
|
738
|
+
archivedAt?: Date | string | null;
|
|
739
|
+
archivedBy?: string | null;
|
|
740
|
+
publishedAt?: Date | string | null;
|
|
741
|
+
publishedBy?: string | null;
|
|
742
|
+
createdAt?: Date | string;
|
|
743
|
+
createdBy?: string | null;
|
|
744
|
+
updatedAt?: Date | string;
|
|
745
|
+
updatedBy?: string | null;
|
|
746
|
+
providerLogo?: Prisma.FileCreateNestedOneWithoutShippingMethodLogoForInput;
|
|
747
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutShippingMethodsInput;
|
|
748
|
+
shippingZones?: Prisma.ShippingZoneCreateNestedManyWithoutShippingMethodInput;
|
|
749
|
+
};
|
|
750
|
+
export type ShippingMethodUncheckedCreateWithoutOrdersInput = {
|
|
751
|
+
id?: string;
|
|
752
|
+
title: string;
|
|
753
|
+
providerName: string;
|
|
754
|
+
providerLogoId?: string | null;
|
|
755
|
+
requireDateOfDelivery?: boolean | null;
|
|
756
|
+
organizationId: string;
|
|
757
|
+
archivedAt?: Date | string | null;
|
|
758
|
+
archivedBy?: string | null;
|
|
759
|
+
publishedAt?: Date | string | null;
|
|
760
|
+
publishedBy?: string | null;
|
|
761
|
+
createdAt?: Date | string;
|
|
762
|
+
createdBy?: string | null;
|
|
763
|
+
updatedAt?: Date | string;
|
|
764
|
+
updatedBy?: string | null;
|
|
765
|
+
shippingZones?: Prisma.ShippingZoneUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
766
|
+
};
|
|
767
|
+
export type ShippingMethodCreateOrConnectWithoutOrdersInput = {
|
|
768
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
769
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrdersInput, Prisma.ShippingMethodUncheckedCreateWithoutOrdersInput>;
|
|
770
|
+
};
|
|
771
|
+
export type ShippingMethodUpsertWithoutOrdersInput = {
|
|
772
|
+
update: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutOrdersInput, Prisma.ShippingMethodUncheckedUpdateWithoutOrdersInput>;
|
|
773
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutOrdersInput, Prisma.ShippingMethodUncheckedCreateWithoutOrdersInput>;
|
|
774
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
775
|
+
};
|
|
776
|
+
export type ShippingMethodUpdateToOneWithWhereWithoutOrdersInput = {
|
|
777
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
778
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutOrdersInput, Prisma.ShippingMethodUncheckedUpdateWithoutOrdersInput>;
|
|
779
|
+
};
|
|
780
|
+
export type ShippingMethodUpdateWithoutOrdersInput = {
|
|
781
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
782
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
783
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
785
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
786
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
787
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
788
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
789
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
790
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
791
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
792
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
793
|
+
providerLogo?: Prisma.FileUpdateOneWithoutShippingMethodLogoForNestedInput;
|
|
794
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutShippingMethodsNestedInput;
|
|
795
|
+
shippingZones?: Prisma.ShippingZoneUpdateManyWithoutShippingMethodNestedInput;
|
|
796
|
+
};
|
|
797
|
+
export type ShippingMethodUncheckedUpdateWithoutOrdersInput = {
|
|
798
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
799
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
800
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
801
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
802
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
803
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
804
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
805
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
806
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
807
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
808
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
809
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
810
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
811
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
812
|
+
shippingZones?: Prisma.ShippingZoneUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
813
|
+
};
|
|
814
|
+
export type ShippingMethodCreateWithoutShippingZonesInput = {
|
|
815
|
+
id?: string;
|
|
816
|
+
title: string;
|
|
817
|
+
providerName: string;
|
|
818
|
+
requireDateOfDelivery?: boolean | null;
|
|
819
|
+
archivedAt?: Date | string | null;
|
|
820
|
+
archivedBy?: string | null;
|
|
821
|
+
publishedAt?: Date | string | null;
|
|
822
|
+
publishedBy?: string | null;
|
|
823
|
+
createdAt?: Date | string;
|
|
824
|
+
createdBy?: string | null;
|
|
825
|
+
updatedAt?: Date | string;
|
|
826
|
+
updatedBy?: string | null;
|
|
827
|
+
providerLogo?: Prisma.FileCreateNestedOneWithoutShippingMethodLogoForInput;
|
|
828
|
+
organization: Prisma.OrganizationCreateNestedOneWithoutShippingMethodsInput;
|
|
829
|
+
orders?: Prisma.OrderCreateNestedManyWithoutShippingMethodInput;
|
|
830
|
+
};
|
|
831
|
+
export type ShippingMethodUncheckedCreateWithoutShippingZonesInput = {
|
|
832
|
+
id?: string;
|
|
833
|
+
title: string;
|
|
834
|
+
providerName: string;
|
|
835
|
+
providerLogoId?: string | null;
|
|
836
|
+
requireDateOfDelivery?: boolean | null;
|
|
837
|
+
organizationId: string;
|
|
838
|
+
archivedAt?: Date | string | null;
|
|
839
|
+
archivedBy?: string | null;
|
|
840
|
+
publishedAt?: Date | string | null;
|
|
841
|
+
publishedBy?: string | null;
|
|
842
|
+
createdAt?: Date | string;
|
|
843
|
+
createdBy?: string | null;
|
|
844
|
+
updatedAt?: Date | string;
|
|
845
|
+
updatedBy?: string | null;
|
|
846
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutShippingMethodInput;
|
|
847
|
+
};
|
|
848
|
+
export type ShippingMethodCreateOrConnectWithoutShippingZonesInput = {
|
|
849
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
850
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedCreateWithoutShippingZonesInput>;
|
|
851
|
+
};
|
|
852
|
+
export type ShippingMethodUpsertWithoutShippingZonesInput = {
|
|
853
|
+
update: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedUpdateWithoutShippingZonesInput>;
|
|
854
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedCreateWithoutShippingZonesInput>;
|
|
855
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
856
|
+
};
|
|
857
|
+
export type ShippingMethodUpdateToOneWithWhereWithoutShippingZonesInput = {
|
|
858
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
859
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateWithoutShippingZonesInput, Prisma.ShippingMethodUncheckedUpdateWithoutShippingZonesInput>;
|
|
860
|
+
};
|
|
861
|
+
export type ShippingMethodUpdateWithoutShippingZonesInput = {
|
|
862
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
863
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
864
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
865
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
866
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
867
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
868
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
869
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
870
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
871
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
872
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
873
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
874
|
+
providerLogo?: Prisma.FileUpdateOneWithoutShippingMethodLogoForNestedInput;
|
|
875
|
+
organization?: Prisma.OrganizationUpdateOneRequiredWithoutShippingMethodsNestedInput;
|
|
876
|
+
orders?: Prisma.OrderUpdateManyWithoutShippingMethodNestedInput;
|
|
877
|
+
};
|
|
878
|
+
export type ShippingMethodUncheckedUpdateWithoutShippingZonesInput = {
|
|
879
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
880
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
881
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
882
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
883
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
884
|
+
organizationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
885
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
886
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
887
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
888
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
889
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
890
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
891
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
892
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
893
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
894
|
+
};
|
|
895
|
+
export type ShippingMethodCreateManyOrganizationInput = {
|
|
896
|
+
id?: string;
|
|
897
|
+
title: string;
|
|
898
|
+
providerName: string;
|
|
899
|
+
providerLogoId?: string | null;
|
|
900
|
+
requireDateOfDelivery?: boolean | null;
|
|
901
|
+
archivedAt?: Date | string | null;
|
|
902
|
+
archivedBy?: string | null;
|
|
903
|
+
publishedAt?: Date | string | null;
|
|
904
|
+
publishedBy?: string | null;
|
|
905
|
+
createdAt?: Date | string;
|
|
906
|
+
createdBy?: string | null;
|
|
907
|
+
updatedAt?: Date | string;
|
|
908
|
+
updatedBy?: string | null;
|
|
909
|
+
};
|
|
910
|
+
export type ShippingMethodUpdateWithoutOrganizationInput = {
|
|
911
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
912
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
913
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
914
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
915
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
916
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
917
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
918
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
919
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
920
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
921
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
922
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
923
|
+
providerLogo?: Prisma.FileUpdateOneWithoutShippingMethodLogoForNestedInput;
|
|
924
|
+
shippingZones?: Prisma.ShippingZoneUpdateManyWithoutShippingMethodNestedInput;
|
|
925
|
+
orders?: Prisma.OrderUpdateManyWithoutShippingMethodNestedInput;
|
|
926
|
+
};
|
|
927
|
+
export type ShippingMethodUncheckedUpdateWithoutOrganizationInput = {
|
|
928
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
929
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
930
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
931
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
932
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
933
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
934
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
935
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
936
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
937
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
939
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
940
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
941
|
+
shippingZones?: Prisma.ShippingZoneUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
942
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutShippingMethodNestedInput;
|
|
943
|
+
};
|
|
944
|
+
export type ShippingMethodUncheckedUpdateManyWithoutOrganizationInput = {
|
|
945
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
946
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
947
|
+
providerName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
948
|
+
providerLogoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
949
|
+
requireDateOfDelivery?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
950
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
951
|
+
archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
952
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
953
|
+
publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
954
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
955
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
956
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
957
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Count Type ShippingMethodCountOutputType
|
|
961
|
+
*/
|
|
962
|
+
export type ShippingMethodCountOutputType = {
|
|
963
|
+
shippingZones: number;
|
|
964
|
+
orders: number;
|
|
965
|
+
};
|
|
966
|
+
export type ShippingMethodCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
967
|
+
shippingZones?: boolean | ShippingMethodCountOutputTypeCountShippingZonesArgs;
|
|
968
|
+
orders?: boolean | ShippingMethodCountOutputTypeCountOrdersArgs;
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* ShippingMethodCountOutputType without action
|
|
972
|
+
*/
|
|
973
|
+
export type ShippingMethodCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
|
+
/**
|
|
975
|
+
* Select specific fields to fetch from the ShippingMethodCountOutputType
|
|
976
|
+
*/
|
|
977
|
+
select?: Prisma.ShippingMethodCountOutputTypeSelect<ExtArgs> | null;
|
|
978
|
+
};
|
|
979
|
+
/**
|
|
980
|
+
* ShippingMethodCountOutputType without action
|
|
981
|
+
*/
|
|
982
|
+
export type ShippingMethodCountOutputTypeCountShippingZonesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
+
where?: Prisma.ShippingZoneWhereInput;
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* ShippingMethodCountOutputType without action
|
|
987
|
+
*/
|
|
988
|
+
export type ShippingMethodCountOutputTypeCountOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
where?: Prisma.OrderWhereInput;
|
|
990
|
+
};
|
|
991
|
+
export type ShippingMethodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
992
|
+
id?: boolean;
|
|
993
|
+
title?: boolean;
|
|
994
|
+
providerName?: boolean;
|
|
995
|
+
providerLogoId?: boolean;
|
|
996
|
+
requireDateOfDelivery?: boolean;
|
|
997
|
+
organizationId?: boolean;
|
|
998
|
+
archivedAt?: boolean;
|
|
999
|
+
archivedBy?: boolean;
|
|
1000
|
+
publishedAt?: boolean;
|
|
1001
|
+
publishedBy?: boolean;
|
|
1002
|
+
createdAt?: boolean;
|
|
1003
|
+
createdBy?: boolean;
|
|
1004
|
+
updatedAt?: boolean;
|
|
1005
|
+
updatedBy?: boolean;
|
|
1006
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1007
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1008
|
+
shippingZones?: boolean | Prisma.ShippingMethod$shippingZonesArgs<ExtArgs>;
|
|
1009
|
+
orders?: boolean | Prisma.ShippingMethod$ordersArgs<ExtArgs>;
|
|
1010
|
+
_count?: boolean | Prisma.ShippingMethodCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1011
|
+
}, ExtArgs["result"]["shippingMethod"]>;
|
|
1012
|
+
export type ShippingMethodSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1013
|
+
id?: boolean;
|
|
1014
|
+
title?: boolean;
|
|
1015
|
+
providerName?: boolean;
|
|
1016
|
+
providerLogoId?: boolean;
|
|
1017
|
+
requireDateOfDelivery?: boolean;
|
|
1018
|
+
organizationId?: boolean;
|
|
1019
|
+
archivedAt?: boolean;
|
|
1020
|
+
archivedBy?: boolean;
|
|
1021
|
+
publishedAt?: boolean;
|
|
1022
|
+
publishedBy?: boolean;
|
|
1023
|
+
createdAt?: boolean;
|
|
1024
|
+
createdBy?: boolean;
|
|
1025
|
+
updatedAt?: boolean;
|
|
1026
|
+
updatedBy?: boolean;
|
|
1027
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1028
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1029
|
+
}, ExtArgs["result"]["shippingMethod"]>;
|
|
1030
|
+
export type ShippingMethodSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1031
|
+
id?: boolean;
|
|
1032
|
+
title?: boolean;
|
|
1033
|
+
providerName?: boolean;
|
|
1034
|
+
providerLogoId?: boolean;
|
|
1035
|
+
requireDateOfDelivery?: boolean;
|
|
1036
|
+
organizationId?: boolean;
|
|
1037
|
+
archivedAt?: boolean;
|
|
1038
|
+
archivedBy?: boolean;
|
|
1039
|
+
publishedAt?: boolean;
|
|
1040
|
+
publishedBy?: boolean;
|
|
1041
|
+
createdAt?: boolean;
|
|
1042
|
+
createdBy?: boolean;
|
|
1043
|
+
updatedAt?: boolean;
|
|
1044
|
+
updatedBy?: boolean;
|
|
1045
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1046
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1047
|
+
}, ExtArgs["result"]["shippingMethod"]>;
|
|
1048
|
+
export type ShippingMethodSelectScalar = {
|
|
1049
|
+
id?: boolean;
|
|
1050
|
+
title?: boolean;
|
|
1051
|
+
providerName?: boolean;
|
|
1052
|
+
providerLogoId?: boolean;
|
|
1053
|
+
requireDateOfDelivery?: boolean;
|
|
1054
|
+
organizationId?: boolean;
|
|
1055
|
+
archivedAt?: boolean;
|
|
1056
|
+
archivedBy?: boolean;
|
|
1057
|
+
publishedAt?: boolean;
|
|
1058
|
+
publishedBy?: boolean;
|
|
1059
|
+
createdAt?: boolean;
|
|
1060
|
+
createdBy?: boolean;
|
|
1061
|
+
updatedAt?: boolean;
|
|
1062
|
+
updatedBy?: boolean;
|
|
1063
|
+
};
|
|
1064
|
+
export type ShippingMethodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "providerName" | "providerLogoId" | "requireDateOfDelivery" | "organizationId" | "archivedAt" | "archivedBy" | "publishedAt" | "publishedBy" | "createdAt" | "createdBy" | "updatedAt" | "updatedBy", ExtArgs["result"]["shippingMethod"]>;
|
|
1065
|
+
export type ShippingMethodInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1067
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1068
|
+
shippingZones?: boolean | Prisma.ShippingMethod$shippingZonesArgs<ExtArgs>;
|
|
1069
|
+
orders?: boolean | Prisma.ShippingMethod$ordersArgs<ExtArgs>;
|
|
1070
|
+
_count?: boolean | Prisma.ShippingMethodCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1071
|
+
};
|
|
1072
|
+
export type ShippingMethodIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1073
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1074
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1075
|
+
};
|
|
1076
|
+
export type ShippingMethodIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1077
|
+
providerLogo?: boolean | Prisma.ShippingMethod$providerLogoArgs<ExtArgs>;
|
|
1078
|
+
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
1079
|
+
};
|
|
1080
|
+
export type $ShippingMethodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1081
|
+
name: "ShippingMethod";
|
|
1082
|
+
objects: {
|
|
1083
|
+
providerLogo: Prisma.$FilePayload<ExtArgs> | null;
|
|
1084
|
+
organization: Prisma.$OrganizationPayload<ExtArgs>;
|
|
1085
|
+
shippingZones: Prisma.$ShippingZonePayload<ExtArgs>[];
|
|
1086
|
+
orders: Prisma.$OrderPayload<ExtArgs>[];
|
|
1087
|
+
};
|
|
1088
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1089
|
+
id: string;
|
|
1090
|
+
title: string;
|
|
1091
|
+
providerName: string;
|
|
1092
|
+
providerLogoId: string | null;
|
|
1093
|
+
requireDateOfDelivery: boolean | null;
|
|
1094
|
+
organizationId: string;
|
|
1095
|
+
archivedAt: Date | null;
|
|
1096
|
+
archivedBy: string | null;
|
|
1097
|
+
publishedAt: Date | null;
|
|
1098
|
+
publishedBy: string | null;
|
|
1099
|
+
createdAt: Date;
|
|
1100
|
+
createdBy: string | null;
|
|
1101
|
+
updatedAt: Date;
|
|
1102
|
+
updatedBy: string | null;
|
|
1103
|
+
}, ExtArgs["result"]["shippingMethod"]>;
|
|
1104
|
+
composites: {};
|
|
1105
|
+
};
|
|
1106
|
+
export type ShippingMethodGetPayload<S extends boolean | null | undefined | ShippingMethodDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload, S>;
|
|
1107
|
+
export type ShippingMethodCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ShippingMethodFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1108
|
+
select?: ShippingMethodCountAggregateInputType | true;
|
|
1109
|
+
};
|
|
1110
|
+
export interface ShippingMethodDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1111
|
+
[K: symbol]: {
|
|
1112
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ShippingMethod'];
|
|
1113
|
+
meta: {
|
|
1114
|
+
name: 'ShippingMethod';
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* Find zero or one ShippingMethod that matches the filter.
|
|
1119
|
+
* @param {ShippingMethodFindUniqueArgs} args - Arguments to find a ShippingMethod
|
|
1120
|
+
* @example
|
|
1121
|
+
* // Get one ShippingMethod
|
|
1122
|
+
* const shippingMethod = await prisma.shippingMethod.findUnique({
|
|
1123
|
+
* where: {
|
|
1124
|
+
* // ... provide filter here
|
|
1125
|
+
* }
|
|
1126
|
+
* })
|
|
1127
|
+
*/
|
|
1128
|
+
findUnique<T extends ShippingMethodFindUniqueArgs>(args: Prisma.SelectSubset<T, ShippingMethodFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Find one ShippingMethod that matches the filter or throw an error with `error.code='P2025'`
|
|
1131
|
+
* if no matches were found.
|
|
1132
|
+
* @param {ShippingMethodFindUniqueOrThrowArgs} args - Arguments to find a ShippingMethod
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Get one ShippingMethod
|
|
1135
|
+
* const shippingMethod = await prisma.shippingMethod.findUniqueOrThrow({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... provide filter here
|
|
1138
|
+
* }
|
|
1139
|
+
* })
|
|
1140
|
+
*/
|
|
1141
|
+
findUniqueOrThrow<T extends ShippingMethodFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ShippingMethodFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Find the first ShippingMethod that matches the filter.
|
|
1144
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1145
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1146
|
+
* @param {ShippingMethodFindFirstArgs} args - Arguments to find a ShippingMethod
|
|
1147
|
+
* @example
|
|
1148
|
+
* // Get one ShippingMethod
|
|
1149
|
+
* const shippingMethod = await prisma.shippingMethod.findFirst({
|
|
1150
|
+
* where: {
|
|
1151
|
+
* // ... provide filter here
|
|
1152
|
+
* }
|
|
1153
|
+
* })
|
|
1154
|
+
*/
|
|
1155
|
+
findFirst<T extends ShippingMethodFindFirstArgs>(args?: Prisma.SelectSubset<T, ShippingMethodFindFirstArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Find the first ShippingMethod that matches the filter or
|
|
1158
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1159
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1160
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1161
|
+
* @param {ShippingMethodFindFirstOrThrowArgs} args - Arguments to find a ShippingMethod
|
|
1162
|
+
* @example
|
|
1163
|
+
* // Get one ShippingMethod
|
|
1164
|
+
* const shippingMethod = await prisma.shippingMethod.findFirstOrThrow({
|
|
1165
|
+
* where: {
|
|
1166
|
+
* // ... provide filter here
|
|
1167
|
+
* }
|
|
1168
|
+
* })
|
|
1169
|
+
*/
|
|
1170
|
+
findFirstOrThrow<T extends ShippingMethodFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ShippingMethodFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Find zero or more ShippingMethods that matches the filter.
|
|
1173
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1174
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1175
|
+
* @param {ShippingMethodFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1176
|
+
* @example
|
|
1177
|
+
* // Get all ShippingMethods
|
|
1178
|
+
* const shippingMethods = await prisma.shippingMethod.findMany()
|
|
1179
|
+
*
|
|
1180
|
+
* // Get first 10 ShippingMethods
|
|
1181
|
+
* const shippingMethods = await prisma.shippingMethod.findMany({ take: 10 })
|
|
1182
|
+
*
|
|
1183
|
+
* // Only select the `id`
|
|
1184
|
+
* const shippingMethodWithIdOnly = await prisma.shippingMethod.findMany({ select: { id: true } })
|
|
1185
|
+
*
|
|
1186
|
+
*/
|
|
1187
|
+
findMany<T extends ShippingMethodFindManyArgs>(args?: Prisma.SelectSubset<T, ShippingMethodFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Create a ShippingMethod.
|
|
1190
|
+
* @param {ShippingMethodCreateArgs} args - Arguments to create a ShippingMethod.
|
|
1191
|
+
* @example
|
|
1192
|
+
* // Create one ShippingMethod
|
|
1193
|
+
* const ShippingMethod = await prisma.shippingMethod.create({
|
|
1194
|
+
* data: {
|
|
1195
|
+
* // ... data to create a ShippingMethod
|
|
1196
|
+
* }
|
|
1197
|
+
* })
|
|
1198
|
+
*
|
|
1199
|
+
*/
|
|
1200
|
+
create<T extends ShippingMethodCreateArgs>(args: Prisma.SelectSubset<T, ShippingMethodCreateArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Create many ShippingMethods.
|
|
1203
|
+
* @param {ShippingMethodCreateManyArgs} args - Arguments to create many ShippingMethods.
|
|
1204
|
+
* @example
|
|
1205
|
+
* // Create many ShippingMethods
|
|
1206
|
+
* const shippingMethod = await prisma.shippingMethod.createMany({
|
|
1207
|
+
* data: [
|
|
1208
|
+
* // ... provide data here
|
|
1209
|
+
* ]
|
|
1210
|
+
* })
|
|
1211
|
+
*
|
|
1212
|
+
*/
|
|
1213
|
+
createMany<T extends ShippingMethodCreateManyArgs>(args?: Prisma.SelectSubset<T, ShippingMethodCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Create many ShippingMethods and returns the data saved in the database.
|
|
1216
|
+
* @param {ShippingMethodCreateManyAndReturnArgs} args - Arguments to create many ShippingMethods.
|
|
1217
|
+
* @example
|
|
1218
|
+
* // Create many ShippingMethods
|
|
1219
|
+
* const shippingMethod = await prisma.shippingMethod.createManyAndReturn({
|
|
1220
|
+
* data: [
|
|
1221
|
+
* // ... provide data here
|
|
1222
|
+
* ]
|
|
1223
|
+
* })
|
|
1224
|
+
*
|
|
1225
|
+
* // Create many ShippingMethods and only return the `id`
|
|
1226
|
+
* const shippingMethodWithIdOnly = await prisma.shippingMethod.createManyAndReturn({
|
|
1227
|
+
* select: { id: true },
|
|
1228
|
+
* data: [
|
|
1229
|
+
* // ... provide data here
|
|
1230
|
+
* ]
|
|
1231
|
+
* })
|
|
1232
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1233
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1234
|
+
*
|
|
1235
|
+
*/
|
|
1236
|
+
createManyAndReturn<T extends ShippingMethodCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ShippingMethodCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Delete a ShippingMethod.
|
|
1239
|
+
* @param {ShippingMethodDeleteArgs} args - Arguments to delete one ShippingMethod.
|
|
1240
|
+
* @example
|
|
1241
|
+
* // Delete one ShippingMethod
|
|
1242
|
+
* const ShippingMethod = await prisma.shippingMethod.delete({
|
|
1243
|
+
* where: {
|
|
1244
|
+
* // ... filter to delete one ShippingMethod
|
|
1245
|
+
* }
|
|
1246
|
+
* })
|
|
1247
|
+
*
|
|
1248
|
+
*/
|
|
1249
|
+
delete<T extends ShippingMethodDeleteArgs>(args: Prisma.SelectSubset<T, ShippingMethodDeleteArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Update one ShippingMethod.
|
|
1252
|
+
* @param {ShippingMethodUpdateArgs} args - Arguments to update one ShippingMethod.
|
|
1253
|
+
* @example
|
|
1254
|
+
* // Update one ShippingMethod
|
|
1255
|
+
* const shippingMethod = await prisma.shippingMethod.update({
|
|
1256
|
+
* where: {
|
|
1257
|
+
* // ... provide filter here
|
|
1258
|
+
* },
|
|
1259
|
+
* data: {
|
|
1260
|
+
* // ... provide data here
|
|
1261
|
+
* }
|
|
1262
|
+
* })
|
|
1263
|
+
*
|
|
1264
|
+
*/
|
|
1265
|
+
update<T extends ShippingMethodUpdateArgs>(args: Prisma.SelectSubset<T, ShippingMethodUpdateArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Delete zero or more ShippingMethods.
|
|
1268
|
+
* @param {ShippingMethodDeleteManyArgs} args - Arguments to filter ShippingMethods to delete.
|
|
1269
|
+
* @example
|
|
1270
|
+
* // Delete a few ShippingMethods
|
|
1271
|
+
* const { count } = await prisma.shippingMethod.deleteMany({
|
|
1272
|
+
* where: {
|
|
1273
|
+
* // ... provide filter here
|
|
1274
|
+
* }
|
|
1275
|
+
* })
|
|
1276
|
+
*
|
|
1277
|
+
*/
|
|
1278
|
+
deleteMany<T extends ShippingMethodDeleteManyArgs>(args?: Prisma.SelectSubset<T, ShippingMethodDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Update zero or more ShippingMethods.
|
|
1281
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1282
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1283
|
+
* @param {ShippingMethodUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1284
|
+
* @example
|
|
1285
|
+
* // Update many ShippingMethods
|
|
1286
|
+
* const shippingMethod = await prisma.shippingMethod.updateMany({
|
|
1287
|
+
* where: {
|
|
1288
|
+
* // ... provide filter here
|
|
1289
|
+
* },
|
|
1290
|
+
* data: {
|
|
1291
|
+
* // ... provide data here
|
|
1292
|
+
* }
|
|
1293
|
+
* })
|
|
1294
|
+
*
|
|
1295
|
+
*/
|
|
1296
|
+
updateMany<T extends ShippingMethodUpdateManyArgs>(args: Prisma.SelectSubset<T, ShippingMethodUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Update zero or more ShippingMethods and returns the data updated in the database.
|
|
1299
|
+
* @param {ShippingMethodUpdateManyAndReturnArgs} args - Arguments to update many ShippingMethods.
|
|
1300
|
+
* @example
|
|
1301
|
+
* // Update many ShippingMethods
|
|
1302
|
+
* const shippingMethod = await prisma.shippingMethod.updateManyAndReturn({
|
|
1303
|
+
* where: {
|
|
1304
|
+
* // ... provide filter here
|
|
1305
|
+
* },
|
|
1306
|
+
* data: [
|
|
1307
|
+
* // ... provide data here
|
|
1308
|
+
* ]
|
|
1309
|
+
* })
|
|
1310
|
+
*
|
|
1311
|
+
* // Update zero or more ShippingMethods and only return the `id`
|
|
1312
|
+
* const shippingMethodWithIdOnly = await prisma.shippingMethod.updateManyAndReturn({
|
|
1313
|
+
* select: { id: true },
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* },
|
|
1317
|
+
* data: [
|
|
1318
|
+
* // ... provide data here
|
|
1319
|
+
* ]
|
|
1320
|
+
* })
|
|
1321
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1322
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1323
|
+
*
|
|
1324
|
+
*/
|
|
1325
|
+
updateManyAndReturn<T extends ShippingMethodUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ShippingMethodUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Create or update one ShippingMethod.
|
|
1328
|
+
* @param {ShippingMethodUpsertArgs} args - Arguments to update or create a ShippingMethod.
|
|
1329
|
+
* @example
|
|
1330
|
+
* // Update or create a ShippingMethod
|
|
1331
|
+
* const shippingMethod = await prisma.shippingMethod.upsert({
|
|
1332
|
+
* create: {
|
|
1333
|
+
* // ... data to create a ShippingMethod
|
|
1334
|
+
* },
|
|
1335
|
+
* update: {
|
|
1336
|
+
* // ... in case it already exists, update
|
|
1337
|
+
* },
|
|
1338
|
+
* where: {
|
|
1339
|
+
* // ... the filter for the ShippingMethod we want to update
|
|
1340
|
+
* }
|
|
1341
|
+
* })
|
|
1342
|
+
*/
|
|
1343
|
+
upsert<T extends ShippingMethodUpsertArgs>(args: Prisma.SelectSubset<T, ShippingMethodUpsertArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Count the number of ShippingMethods.
|
|
1346
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1347
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1348
|
+
* @param {ShippingMethodCountArgs} args - Arguments to filter ShippingMethods to count.
|
|
1349
|
+
* @example
|
|
1350
|
+
* // Count the number of ShippingMethods
|
|
1351
|
+
* const count = await prisma.shippingMethod.count({
|
|
1352
|
+
* where: {
|
|
1353
|
+
* // ... the filter for the ShippingMethods we want to count
|
|
1354
|
+
* }
|
|
1355
|
+
* })
|
|
1356
|
+
**/
|
|
1357
|
+
count<T extends ShippingMethodCountArgs>(args?: Prisma.Subset<T, ShippingMethodCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ShippingMethodCountAggregateOutputType> : number>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Allows you to perform aggregations operations on a ShippingMethod.
|
|
1360
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1361
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1362
|
+
* @param {ShippingMethodAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1363
|
+
* @example
|
|
1364
|
+
* // Ordered by age ascending
|
|
1365
|
+
* // Where email contains prisma.io
|
|
1366
|
+
* // Limited to the 10 users
|
|
1367
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1368
|
+
* _avg: {
|
|
1369
|
+
* age: true,
|
|
1370
|
+
* },
|
|
1371
|
+
* where: {
|
|
1372
|
+
* email: {
|
|
1373
|
+
* contains: "prisma.io",
|
|
1374
|
+
* },
|
|
1375
|
+
* },
|
|
1376
|
+
* orderBy: {
|
|
1377
|
+
* age: "asc",
|
|
1378
|
+
* },
|
|
1379
|
+
* take: 10,
|
|
1380
|
+
* })
|
|
1381
|
+
**/
|
|
1382
|
+
aggregate<T extends ShippingMethodAggregateArgs>(args: Prisma.Subset<T, ShippingMethodAggregateArgs>): Prisma.PrismaPromise<GetShippingMethodAggregateType<T>>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Group by ShippingMethod.
|
|
1385
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1386
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1387
|
+
* @param {ShippingMethodGroupByArgs} args - Group by arguments.
|
|
1388
|
+
* @example
|
|
1389
|
+
* // Group by city, order by createdAt, get count
|
|
1390
|
+
* const result = await prisma.user.groupBy({
|
|
1391
|
+
* by: ['city', 'createdAt'],
|
|
1392
|
+
* orderBy: {
|
|
1393
|
+
* createdAt: true
|
|
1394
|
+
* },
|
|
1395
|
+
* _count: {
|
|
1396
|
+
* _all: true
|
|
1397
|
+
* },
|
|
1398
|
+
* })
|
|
1399
|
+
*
|
|
1400
|
+
**/
|
|
1401
|
+
groupBy<T extends ShippingMethodGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1402
|
+
orderBy: ShippingMethodGroupByArgs['orderBy'];
|
|
1403
|
+
} : {
|
|
1404
|
+
orderBy?: ShippingMethodGroupByArgs['orderBy'];
|
|
1405
|
+
}, 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 ? {
|
|
1406
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1407
|
+
Error,
|
|
1408
|
+
'Field ',
|
|
1409
|
+
P,
|
|
1410
|
+
` in "having" needs to be provided in "by"`
|
|
1411
|
+
];
|
|
1412
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1413
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1414
|
+
}[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 ? {} : {
|
|
1415
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1416
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1417
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1418
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ShippingMethodGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShippingMethodGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1419
|
+
/**
|
|
1420
|
+
* Fields of the ShippingMethod model
|
|
1421
|
+
*/
|
|
1422
|
+
readonly fields: ShippingMethodFieldRefs;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* The delegate class that acts as a "Promise-like" for ShippingMethod.
|
|
1426
|
+
* Why is this prefixed with `Prisma__`?
|
|
1427
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1428
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1429
|
+
*/
|
|
1430
|
+
export interface Prisma__ShippingMethodClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1431
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1432
|
+
providerLogo<T extends Prisma.ShippingMethod$providerLogoArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShippingMethod$providerLogoArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1433
|
+
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1434
|
+
shippingZones<T extends Prisma.ShippingMethod$shippingZonesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShippingMethod$shippingZonesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShippingZonePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1435
|
+
orders<T extends Prisma.ShippingMethod$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShippingMethod$ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1436
|
+
/**
|
|
1437
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1438
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1439
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1440
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1441
|
+
*/
|
|
1442
|
+
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>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1445
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1446
|
+
* @returns A Promise for the completion of the callback.
|
|
1447
|
+
*/
|
|
1448
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1451
|
+
* resolved value cannot be modified from the callback.
|
|
1452
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1453
|
+
* @returns A Promise for the completion of the callback.
|
|
1454
|
+
*/
|
|
1455
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Fields of the ShippingMethod model
|
|
1459
|
+
*/
|
|
1460
|
+
export interface ShippingMethodFieldRefs {
|
|
1461
|
+
readonly id: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1462
|
+
readonly title: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1463
|
+
readonly providerName: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1464
|
+
readonly providerLogoId: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1465
|
+
readonly requireDateOfDelivery: Prisma.FieldRef<"ShippingMethod", 'Boolean'>;
|
|
1466
|
+
readonly organizationId: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1467
|
+
readonly archivedAt: Prisma.FieldRef<"ShippingMethod", 'DateTime'>;
|
|
1468
|
+
readonly archivedBy: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1469
|
+
readonly publishedAt: Prisma.FieldRef<"ShippingMethod", 'DateTime'>;
|
|
1470
|
+
readonly publishedBy: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1471
|
+
readonly createdAt: Prisma.FieldRef<"ShippingMethod", 'DateTime'>;
|
|
1472
|
+
readonly createdBy: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1473
|
+
readonly updatedAt: Prisma.FieldRef<"ShippingMethod", 'DateTime'>;
|
|
1474
|
+
readonly updatedBy: Prisma.FieldRef<"ShippingMethod", 'String'>;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* ShippingMethod findUnique
|
|
1478
|
+
*/
|
|
1479
|
+
export type ShippingMethodFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1480
|
+
/**
|
|
1481
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1482
|
+
*/
|
|
1483
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Omit specific fields from the ShippingMethod
|
|
1486
|
+
*/
|
|
1487
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Choose, which related nodes to fetch as well
|
|
1490
|
+
*/
|
|
1491
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Filter, which ShippingMethod to fetch.
|
|
1494
|
+
*/
|
|
1495
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
1496
|
+
};
|
|
1497
|
+
/**
|
|
1498
|
+
* ShippingMethod findUniqueOrThrow
|
|
1499
|
+
*/
|
|
1500
|
+
export type ShippingMethodFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1501
|
+
/**
|
|
1502
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1503
|
+
*/
|
|
1504
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Omit specific fields from the ShippingMethod
|
|
1507
|
+
*/
|
|
1508
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Choose, which related nodes to fetch as well
|
|
1511
|
+
*/
|
|
1512
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* Filter, which ShippingMethod to fetch.
|
|
1515
|
+
*/
|
|
1516
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
1517
|
+
};
|
|
1518
|
+
/**
|
|
1519
|
+
* ShippingMethod findFirst
|
|
1520
|
+
*/
|
|
1521
|
+
export type ShippingMethodFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1522
|
+
/**
|
|
1523
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1524
|
+
*/
|
|
1525
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* Omit specific fields from the ShippingMethod
|
|
1528
|
+
*/
|
|
1529
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Choose, which related nodes to fetch as well
|
|
1532
|
+
*/
|
|
1533
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1534
|
+
/**
|
|
1535
|
+
* Filter, which ShippingMethod to fetch.
|
|
1536
|
+
*/
|
|
1537
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1538
|
+
/**
|
|
1539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1540
|
+
*
|
|
1541
|
+
* Determine the order of ShippingMethods to fetch.
|
|
1542
|
+
*/
|
|
1543
|
+
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
1544
|
+
/**
|
|
1545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1546
|
+
*
|
|
1547
|
+
* Sets the position for searching for ShippingMethods.
|
|
1548
|
+
*/
|
|
1549
|
+
cursor?: Prisma.ShippingMethodWhereUniqueInput;
|
|
1550
|
+
/**
|
|
1551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1552
|
+
*
|
|
1553
|
+
* Take `±n` ShippingMethods from the position of the cursor.
|
|
1554
|
+
*/
|
|
1555
|
+
take?: number;
|
|
1556
|
+
/**
|
|
1557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1558
|
+
*
|
|
1559
|
+
* Skip the first `n` ShippingMethods.
|
|
1560
|
+
*/
|
|
1561
|
+
skip?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1564
|
+
*
|
|
1565
|
+
* Filter by unique combinations of ShippingMethods.
|
|
1566
|
+
*/
|
|
1567
|
+
distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
|
|
1568
|
+
};
|
|
1569
|
+
/**
|
|
1570
|
+
* ShippingMethod findFirstOrThrow
|
|
1571
|
+
*/
|
|
1572
|
+
export type ShippingMethodFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1573
|
+
/**
|
|
1574
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1575
|
+
*/
|
|
1576
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1577
|
+
/**
|
|
1578
|
+
* Omit specific fields from the ShippingMethod
|
|
1579
|
+
*/
|
|
1580
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1581
|
+
/**
|
|
1582
|
+
* Choose, which related nodes to fetch as well
|
|
1583
|
+
*/
|
|
1584
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1585
|
+
/**
|
|
1586
|
+
* Filter, which ShippingMethod to fetch.
|
|
1587
|
+
*/
|
|
1588
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1589
|
+
/**
|
|
1590
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1591
|
+
*
|
|
1592
|
+
* Determine the order of ShippingMethods to fetch.
|
|
1593
|
+
*/
|
|
1594
|
+
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
1595
|
+
/**
|
|
1596
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1597
|
+
*
|
|
1598
|
+
* Sets the position for searching for ShippingMethods.
|
|
1599
|
+
*/
|
|
1600
|
+
cursor?: Prisma.ShippingMethodWhereUniqueInput;
|
|
1601
|
+
/**
|
|
1602
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1603
|
+
*
|
|
1604
|
+
* Take `±n` ShippingMethods from the position of the cursor.
|
|
1605
|
+
*/
|
|
1606
|
+
take?: number;
|
|
1607
|
+
/**
|
|
1608
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1609
|
+
*
|
|
1610
|
+
* Skip the first `n` ShippingMethods.
|
|
1611
|
+
*/
|
|
1612
|
+
skip?: number;
|
|
1613
|
+
/**
|
|
1614
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1615
|
+
*
|
|
1616
|
+
* Filter by unique combinations of ShippingMethods.
|
|
1617
|
+
*/
|
|
1618
|
+
distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
|
|
1619
|
+
};
|
|
1620
|
+
/**
|
|
1621
|
+
* ShippingMethod findMany
|
|
1622
|
+
*/
|
|
1623
|
+
export type ShippingMethodFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1624
|
+
/**
|
|
1625
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1626
|
+
*/
|
|
1627
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1628
|
+
/**
|
|
1629
|
+
* Omit specific fields from the ShippingMethod
|
|
1630
|
+
*/
|
|
1631
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1632
|
+
/**
|
|
1633
|
+
* Choose, which related nodes to fetch as well
|
|
1634
|
+
*/
|
|
1635
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1636
|
+
/**
|
|
1637
|
+
* Filter, which ShippingMethods to fetch.
|
|
1638
|
+
*/
|
|
1639
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1640
|
+
/**
|
|
1641
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1642
|
+
*
|
|
1643
|
+
* Determine the order of ShippingMethods to fetch.
|
|
1644
|
+
*/
|
|
1645
|
+
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
1646
|
+
/**
|
|
1647
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1648
|
+
*
|
|
1649
|
+
* Sets the position for listing ShippingMethods.
|
|
1650
|
+
*/
|
|
1651
|
+
cursor?: Prisma.ShippingMethodWhereUniqueInput;
|
|
1652
|
+
/**
|
|
1653
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1654
|
+
*
|
|
1655
|
+
* Take `±n` ShippingMethods from the position of the cursor.
|
|
1656
|
+
*/
|
|
1657
|
+
take?: number;
|
|
1658
|
+
/**
|
|
1659
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1660
|
+
*
|
|
1661
|
+
* Skip the first `n` ShippingMethods.
|
|
1662
|
+
*/
|
|
1663
|
+
skip?: number;
|
|
1664
|
+
distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
|
|
1665
|
+
};
|
|
1666
|
+
/**
|
|
1667
|
+
* ShippingMethod create
|
|
1668
|
+
*/
|
|
1669
|
+
export type ShippingMethodCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1672
|
+
*/
|
|
1673
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1674
|
+
/**
|
|
1675
|
+
* Omit specific fields from the ShippingMethod
|
|
1676
|
+
*/
|
|
1677
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1678
|
+
/**
|
|
1679
|
+
* Choose, which related nodes to fetch as well
|
|
1680
|
+
*/
|
|
1681
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1682
|
+
/**
|
|
1683
|
+
* The data needed to create a ShippingMethod.
|
|
1684
|
+
*/
|
|
1685
|
+
data: Prisma.XOR<Prisma.ShippingMethodCreateInput, Prisma.ShippingMethodUncheckedCreateInput>;
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
* ShippingMethod createMany
|
|
1689
|
+
*/
|
|
1690
|
+
export type ShippingMethodCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1691
|
+
/**
|
|
1692
|
+
* The data used to create many ShippingMethods.
|
|
1693
|
+
*/
|
|
1694
|
+
data: Prisma.ShippingMethodCreateManyInput | Prisma.ShippingMethodCreateManyInput[];
|
|
1695
|
+
skipDuplicates?: boolean;
|
|
1696
|
+
};
|
|
1697
|
+
/**
|
|
1698
|
+
* ShippingMethod createManyAndReturn
|
|
1699
|
+
*/
|
|
1700
|
+
export type ShippingMethodCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1701
|
+
/**
|
|
1702
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1703
|
+
*/
|
|
1704
|
+
select?: Prisma.ShippingMethodSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1705
|
+
/**
|
|
1706
|
+
* Omit specific fields from the ShippingMethod
|
|
1707
|
+
*/
|
|
1708
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1709
|
+
/**
|
|
1710
|
+
* The data used to create many ShippingMethods.
|
|
1711
|
+
*/
|
|
1712
|
+
data: Prisma.ShippingMethodCreateManyInput | Prisma.ShippingMethodCreateManyInput[];
|
|
1713
|
+
skipDuplicates?: boolean;
|
|
1714
|
+
/**
|
|
1715
|
+
* Choose, which related nodes to fetch as well
|
|
1716
|
+
*/
|
|
1717
|
+
include?: Prisma.ShippingMethodIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* ShippingMethod update
|
|
1721
|
+
*/
|
|
1722
|
+
export type ShippingMethodUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1723
|
+
/**
|
|
1724
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1725
|
+
*/
|
|
1726
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1727
|
+
/**
|
|
1728
|
+
* Omit specific fields from the ShippingMethod
|
|
1729
|
+
*/
|
|
1730
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1731
|
+
/**
|
|
1732
|
+
* Choose, which related nodes to fetch as well
|
|
1733
|
+
*/
|
|
1734
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1735
|
+
/**
|
|
1736
|
+
* The data needed to update a ShippingMethod.
|
|
1737
|
+
*/
|
|
1738
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateInput, Prisma.ShippingMethodUncheckedUpdateInput>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Choose, which ShippingMethod to update.
|
|
1741
|
+
*/
|
|
1742
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
1743
|
+
};
|
|
1744
|
+
/**
|
|
1745
|
+
* ShippingMethod updateMany
|
|
1746
|
+
*/
|
|
1747
|
+
export type ShippingMethodUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* The data used to update ShippingMethods.
|
|
1750
|
+
*/
|
|
1751
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateManyMutationInput, Prisma.ShippingMethodUncheckedUpdateManyInput>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Filter which ShippingMethods to update
|
|
1754
|
+
*/
|
|
1755
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1756
|
+
/**
|
|
1757
|
+
* Limit how many ShippingMethods to update.
|
|
1758
|
+
*/
|
|
1759
|
+
limit?: number;
|
|
1760
|
+
};
|
|
1761
|
+
/**
|
|
1762
|
+
* ShippingMethod updateManyAndReturn
|
|
1763
|
+
*/
|
|
1764
|
+
export type ShippingMethodUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1765
|
+
/**
|
|
1766
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1767
|
+
*/
|
|
1768
|
+
select?: Prisma.ShippingMethodSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1769
|
+
/**
|
|
1770
|
+
* Omit specific fields from the ShippingMethod
|
|
1771
|
+
*/
|
|
1772
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1773
|
+
/**
|
|
1774
|
+
* The data used to update ShippingMethods.
|
|
1775
|
+
*/
|
|
1776
|
+
data: Prisma.XOR<Prisma.ShippingMethodUpdateManyMutationInput, Prisma.ShippingMethodUncheckedUpdateManyInput>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Filter which ShippingMethods to update
|
|
1779
|
+
*/
|
|
1780
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1781
|
+
/**
|
|
1782
|
+
* Limit how many ShippingMethods to update.
|
|
1783
|
+
*/
|
|
1784
|
+
limit?: number;
|
|
1785
|
+
/**
|
|
1786
|
+
* Choose, which related nodes to fetch as well
|
|
1787
|
+
*/
|
|
1788
|
+
include?: Prisma.ShippingMethodIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1789
|
+
};
|
|
1790
|
+
/**
|
|
1791
|
+
* ShippingMethod upsert
|
|
1792
|
+
*/
|
|
1793
|
+
export type ShippingMethodUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1794
|
+
/**
|
|
1795
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1796
|
+
*/
|
|
1797
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1798
|
+
/**
|
|
1799
|
+
* Omit specific fields from the ShippingMethod
|
|
1800
|
+
*/
|
|
1801
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1802
|
+
/**
|
|
1803
|
+
* Choose, which related nodes to fetch as well
|
|
1804
|
+
*/
|
|
1805
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* The filter to search for the ShippingMethod to update in case it exists.
|
|
1808
|
+
*/
|
|
1809
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
1810
|
+
/**
|
|
1811
|
+
* In case the ShippingMethod found by the `where` argument doesn't exist, create a new ShippingMethod with this data.
|
|
1812
|
+
*/
|
|
1813
|
+
create: Prisma.XOR<Prisma.ShippingMethodCreateInput, Prisma.ShippingMethodUncheckedCreateInput>;
|
|
1814
|
+
/**
|
|
1815
|
+
* In case the ShippingMethod was found with the provided `where` argument, update it with this data.
|
|
1816
|
+
*/
|
|
1817
|
+
update: Prisma.XOR<Prisma.ShippingMethodUpdateInput, Prisma.ShippingMethodUncheckedUpdateInput>;
|
|
1818
|
+
};
|
|
1819
|
+
/**
|
|
1820
|
+
* ShippingMethod delete
|
|
1821
|
+
*/
|
|
1822
|
+
export type ShippingMethodDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1825
|
+
*/
|
|
1826
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Omit specific fields from the ShippingMethod
|
|
1829
|
+
*/
|
|
1830
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* Choose, which related nodes to fetch as well
|
|
1833
|
+
*/
|
|
1834
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* Filter which ShippingMethod to delete.
|
|
1837
|
+
*/
|
|
1838
|
+
where: Prisma.ShippingMethodWhereUniqueInput;
|
|
1839
|
+
};
|
|
1840
|
+
/**
|
|
1841
|
+
* ShippingMethod deleteMany
|
|
1842
|
+
*/
|
|
1843
|
+
export type ShippingMethodDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1844
|
+
/**
|
|
1845
|
+
* Filter which ShippingMethods to delete
|
|
1846
|
+
*/
|
|
1847
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
1848
|
+
/**
|
|
1849
|
+
* Limit how many ShippingMethods to delete.
|
|
1850
|
+
*/
|
|
1851
|
+
limit?: number;
|
|
1852
|
+
};
|
|
1853
|
+
/**
|
|
1854
|
+
* ShippingMethod.providerLogo
|
|
1855
|
+
*/
|
|
1856
|
+
export type ShippingMethod$providerLogoArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1857
|
+
/**
|
|
1858
|
+
* Select specific fields to fetch from the File
|
|
1859
|
+
*/
|
|
1860
|
+
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
1861
|
+
/**
|
|
1862
|
+
* Omit specific fields from the File
|
|
1863
|
+
*/
|
|
1864
|
+
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
1865
|
+
/**
|
|
1866
|
+
* Choose, which related nodes to fetch as well
|
|
1867
|
+
*/
|
|
1868
|
+
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
1869
|
+
where?: Prisma.FileWhereInput;
|
|
1870
|
+
};
|
|
1871
|
+
/**
|
|
1872
|
+
* ShippingMethod.shippingZones
|
|
1873
|
+
*/
|
|
1874
|
+
export type ShippingMethod$shippingZonesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Select specific fields to fetch from the ShippingZone
|
|
1877
|
+
*/
|
|
1878
|
+
select?: Prisma.ShippingZoneSelect<ExtArgs> | null;
|
|
1879
|
+
/**
|
|
1880
|
+
* Omit specific fields from the ShippingZone
|
|
1881
|
+
*/
|
|
1882
|
+
omit?: Prisma.ShippingZoneOmit<ExtArgs> | null;
|
|
1883
|
+
/**
|
|
1884
|
+
* Choose, which related nodes to fetch as well
|
|
1885
|
+
*/
|
|
1886
|
+
include?: Prisma.ShippingZoneInclude<ExtArgs> | null;
|
|
1887
|
+
where?: Prisma.ShippingZoneWhereInput;
|
|
1888
|
+
orderBy?: Prisma.ShippingZoneOrderByWithRelationInput | Prisma.ShippingZoneOrderByWithRelationInput[];
|
|
1889
|
+
cursor?: Prisma.ShippingZoneWhereUniqueInput;
|
|
1890
|
+
take?: number;
|
|
1891
|
+
skip?: number;
|
|
1892
|
+
distinct?: Prisma.ShippingZoneScalarFieldEnum | Prisma.ShippingZoneScalarFieldEnum[];
|
|
1893
|
+
};
|
|
1894
|
+
/**
|
|
1895
|
+
* ShippingMethod.orders
|
|
1896
|
+
*/
|
|
1897
|
+
export type ShippingMethod$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1898
|
+
/**
|
|
1899
|
+
* Select specific fields to fetch from the Order
|
|
1900
|
+
*/
|
|
1901
|
+
select?: Prisma.OrderSelect<ExtArgs> | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* Omit specific fields from the Order
|
|
1904
|
+
*/
|
|
1905
|
+
omit?: Prisma.OrderOmit<ExtArgs> | null;
|
|
1906
|
+
/**
|
|
1907
|
+
* Choose, which related nodes to fetch as well
|
|
1908
|
+
*/
|
|
1909
|
+
include?: Prisma.OrderInclude<ExtArgs> | null;
|
|
1910
|
+
where?: Prisma.OrderWhereInput;
|
|
1911
|
+
orderBy?: Prisma.OrderOrderByWithRelationInput | Prisma.OrderOrderByWithRelationInput[];
|
|
1912
|
+
cursor?: Prisma.OrderWhereUniqueInput;
|
|
1913
|
+
take?: number;
|
|
1914
|
+
skip?: number;
|
|
1915
|
+
distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
|
|
1916
|
+
};
|
|
1917
|
+
/**
|
|
1918
|
+
* ShippingMethod without action
|
|
1919
|
+
*/
|
|
1920
|
+
export type ShippingMethodDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1921
|
+
/**
|
|
1922
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
1923
|
+
*/
|
|
1924
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
1925
|
+
/**
|
|
1926
|
+
* Omit specific fields from the ShippingMethod
|
|
1927
|
+
*/
|
|
1928
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
1929
|
+
/**
|
|
1930
|
+
* Choose, which related nodes to fetch as well
|
|
1931
|
+
*/
|
|
1932
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
1933
|
+
};
|
|
1934
|
+
export {};
|