@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,3996 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file exports the `Organization` 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 Organization
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export type OrganizationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationPayload>;
|
|
13
|
+
export type AggregateOrganization = {
|
|
14
|
+
_count: OrganizationCountAggregateOutputType | null;
|
|
15
|
+
_min: OrganizationMinAggregateOutputType | null;
|
|
16
|
+
_max: OrganizationMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type OrganizationMinAggregateOutputType = {
|
|
19
|
+
id: string | null;
|
|
20
|
+
name: string | null;
|
|
21
|
+
slug: string | null;
|
|
22
|
+
phone: string | null;
|
|
23
|
+
email: string | null;
|
|
24
|
+
legalEntityId: string | null;
|
|
25
|
+
addressId: string | null;
|
|
26
|
+
configurationId: string | null;
|
|
27
|
+
logo: string | null;
|
|
28
|
+
logoId: string | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
createdBy: string | null;
|
|
31
|
+
updatedAt: Date | null;
|
|
32
|
+
updatedBy: string | null;
|
|
33
|
+
deletedAt: Date | null;
|
|
34
|
+
deletedBy: string | null;
|
|
35
|
+
};
|
|
36
|
+
export type OrganizationMaxAggregateOutputType = {
|
|
37
|
+
id: string | null;
|
|
38
|
+
name: string | null;
|
|
39
|
+
slug: string | null;
|
|
40
|
+
phone: string | null;
|
|
41
|
+
email: string | null;
|
|
42
|
+
legalEntityId: string | null;
|
|
43
|
+
addressId: string | null;
|
|
44
|
+
configurationId: string | null;
|
|
45
|
+
logo: string | null;
|
|
46
|
+
logoId: string | null;
|
|
47
|
+
createdAt: Date | null;
|
|
48
|
+
createdBy: string | null;
|
|
49
|
+
updatedAt: Date | null;
|
|
50
|
+
updatedBy: string | null;
|
|
51
|
+
deletedAt: Date | null;
|
|
52
|
+
deletedBy: string | null;
|
|
53
|
+
};
|
|
54
|
+
export type OrganizationCountAggregateOutputType = {
|
|
55
|
+
id: number;
|
|
56
|
+
name: number;
|
|
57
|
+
slug: number;
|
|
58
|
+
phone: number;
|
|
59
|
+
email: number;
|
|
60
|
+
legalEntityId: number;
|
|
61
|
+
addressId: number;
|
|
62
|
+
configurationId: number;
|
|
63
|
+
logo: number;
|
|
64
|
+
logoId: number;
|
|
65
|
+
createdAt: number;
|
|
66
|
+
createdBy: number;
|
|
67
|
+
updatedAt: number;
|
|
68
|
+
updatedBy: number;
|
|
69
|
+
deletedAt: number;
|
|
70
|
+
deletedBy: number;
|
|
71
|
+
_all: number;
|
|
72
|
+
};
|
|
73
|
+
export type OrganizationMinAggregateInputType = {
|
|
74
|
+
id?: true;
|
|
75
|
+
name?: true;
|
|
76
|
+
slug?: true;
|
|
77
|
+
phone?: true;
|
|
78
|
+
email?: true;
|
|
79
|
+
legalEntityId?: true;
|
|
80
|
+
addressId?: true;
|
|
81
|
+
configurationId?: true;
|
|
82
|
+
logo?: true;
|
|
83
|
+
logoId?: true;
|
|
84
|
+
createdAt?: true;
|
|
85
|
+
createdBy?: true;
|
|
86
|
+
updatedAt?: true;
|
|
87
|
+
updatedBy?: true;
|
|
88
|
+
deletedAt?: true;
|
|
89
|
+
deletedBy?: true;
|
|
90
|
+
};
|
|
91
|
+
export type OrganizationMaxAggregateInputType = {
|
|
92
|
+
id?: true;
|
|
93
|
+
name?: true;
|
|
94
|
+
slug?: true;
|
|
95
|
+
phone?: true;
|
|
96
|
+
email?: true;
|
|
97
|
+
legalEntityId?: true;
|
|
98
|
+
addressId?: true;
|
|
99
|
+
configurationId?: true;
|
|
100
|
+
logo?: true;
|
|
101
|
+
logoId?: true;
|
|
102
|
+
createdAt?: true;
|
|
103
|
+
createdBy?: true;
|
|
104
|
+
updatedAt?: true;
|
|
105
|
+
updatedBy?: true;
|
|
106
|
+
deletedAt?: true;
|
|
107
|
+
deletedBy?: true;
|
|
108
|
+
};
|
|
109
|
+
export type OrganizationCountAggregateInputType = {
|
|
110
|
+
id?: true;
|
|
111
|
+
name?: true;
|
|
112
|
+
slug?: true;
|
|
113
|
+
phone?: true;
|
|
114
|
+
email?: true;
|
|
115
|
+
legalEntityId?: true;
|
|
116
|
+
addressId?: true;
|
|
117
|
+
configurationId?: true;
|
|
118
|
+
logo?: true;
|
|
119
|
+
logoId?: true;
|
|
120
|
+
createdAt?: true;
|
|
121
|
+
createdBy?: true;
|
|
122
|
+
updatedAt?: true;
|
|
123
|
+
updatedBy?: true;
|
|
124
|
+
deletedAt?: true;
|
|
125
|
+
deletedBy?: true;
|
|
126
|
+
_all?: true;
|
|
127
|
+
};
|
|
128
|
+
export type OrganizationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
+
/**
|
|
130
|
+
* Filter which Organization to aggregate.
|
|
131
|
+
*/
|
|
132
|
+
where?: Prisma.OrganizationWhereInput;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
135
|
+
*
|
|
136
|
+
* Determine the order of Organizations to fetch.
|
|
137
|
+
*/
|
|
138
|
+
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
141
|
+
*
|
|
142
|
+
* Sets the start position
|
|
143
|
+
*/
|
|
144
|
+
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
147
|
+
*
|
|
148
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
149
|
+
*/
|
|
150
|
+
take?: number;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
153
|
+
*
|
|
154
|
+
* Skip the first `n` Organizations.
|
|
155
|
+
*/
|
|
156
|
+
skip?: number;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Count returned Organizations
|
|
161
|
+
**/
|
|
162
|
+
_count?: true | OrganizationCountAggregateInputType;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to find the minimum value
|
|
167
|
+
**/
|
|
168
|
+
_min?: OrganizationMinAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the maximum value
|
|
173
|
+
**/
|
|
174
|
+
_max?: OrganizationMaxAggregateInputType;
|
|
175
|
+
};
|
|
176
|
+
export type GetOrganizationAggregateType<T extends OrganizationAggregateArgs> = {
|
|
177
|
+
[P in keyof T & keyof AggregateOrganization]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOrganization[P]> : Prisma.GetScalarType<T[P], AggregateOrganization[P]>;
|
|
178
|
+
};
|
|
179
|
+
export type OrganizationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
180
|
+
where?: Prisma.OrganizationWhereInput;
|
|
181
|
+
orderBy?: Prisma.OrganizationOrderByWithAggregationInput | Prisma.OrganizationOrderByWithAggregationInput[];
|
|
182
|
+
by: Prisma.OrganizationScalarFieldEnum[] | Prisma.OrganizationScalarFieldEnum;
|
|
183
|
+
having?: Prisma.OrganizationScalarWhereWithAggregatesInput;
|
|
184
|
+
take?: number;
|
|
185
|
+
skip?: number;
|
|
186
|
+
_count?: OrganizationCountAggregateInputType | true;
|
|
187
|
+
_min?: OrganizationMinAggregateInputType;
|
|
188
|
+
_max?: OrganizationMaxAggregateInputType;
|
|
189
|
+
};
|
|
190
|
+
export type OrganizationGroupByOutputType = {
|
|
191
|
+
id: string;
|
|
192
|
+
name: string;
|
|
193
|
+
slug: string | null;
|
|
194
|
+
phone: string | null;
|
|
195
|
+
email: string | null;
|
|
196
|
+
legalEntityId: string | null;
|
|
197
|
+
addressId: string;
|
|
198
|
+
configurationId: string;
|
|
199
|
+
logo: string | null;
|
|
200
|
+
logoId: string | null;
|
|
201
|
+
createdAt: Date;
|
|
202
|
+
createdBy: string | null;
|
|
203
|
+
updatedAt: Date;
|
|
204
|
+
updatedBy: string | null;
|
|
205
|
+
deletedAt: Date | null;
|
|
206
|
+
deletedBy: string | null;
|
|
207
|
+
_count: OrganizationCountAggregateOutputType | null;
|
|
208
|
+
_min: OrganizationMinAggregateOutputType | null;
|
|
209
|
+
_max: OrganizationMaxAggregateOutputType | null;
|
|
210
|
+
};
|
|
211
|
+
type GetOrganizationGroupByPayload<T extends OrganizationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OrganizationGroupByOutputType, T['by']> & {
|
|
212
|
+
[P in ((keyof T) & (keyof OrganizationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OrganizationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OrganizationGroupByOutputType[P]>;
|
|
213
|
+
}>>;
|
|
214
|
+
export type OrganizationWhereInput = {
|
|
215
|
+
AND?: Prisma.OrganizationWhereInput | Prisma.OrganizationWhereInput[];
|
|
216
|
+
OR?: Prisma.OrganizationWhereInput[];
|
|
217
|
+
NOT?: Prisma.OrganizationWhereInput | Prisma.OrganizationWhereInput[];
|
|
218
|
+
id?: Prisma.StringFilter<"Organization"> | string;
|
|
219
|
+
name?: Prisma.StringFilter<"Organization"> | string;
|
|
220
|
+
slug?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
221
|
+
phone?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
222
|
+
email?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
223
|
+
legalEntityId?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
224
|
+
addressId?: Prisma.StringFilter<"Organization"> | string;
|
|
225
|
+
configurationId?: Prisma.StringFilter<"Organization"> | string;
|
|
226
|
+
logo?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
227
|
+
logoId?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
228
|
+
createdAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
229
|
+
createdBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
230
|
+
updatedAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
231
|
+
updatedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
232
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Organization"> | Date | string | null;
|
|
233
|
+
deletedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
234
|
+
legalEntity?: Prisma.XOR<Prisma.LegalEntityNullableScalarRelationFilter, Prisma.LegalEntityWhereInput> | null;
|
|
235
|
+
address?: Prisma.XOR<Prisma.AddressScalarRelationFilter, Prisma.AddressWhereInput>;
|
|
236
|
+
configuration?: Prisma.XOR<Prisma.OrganizationConfigurationScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput>;
|
|
237
|
+
logoFile?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
|
|
238
|
+
files?: Prisma.FileListRelationFilter;
|
|
239
|
+
members?: Prisma.MemberListRelationFilter;
|
|
240
|
+
invitations?: Prisma.InvitationListRelationFilter;
|
|
241
|
+
orders?: Prisma.OrderListRelationFilter;
|
|
242
|
+
campaigns?: Prisma.CampaignListRelationFilter;
|
|
243
|
+
shippingMethods?: Prisma.ShippingMethodListRelationFilter;
|
|
244
|
+
manufacturers?: Prisma.ManufacturerListRelationFilter;
|
|
245
|
+
productCategories?: Prisma.ProductCategoryListRelationFilter;
|
|
246
|
+
products?: Prisma.ProductListRelationFilter;
|
|
247
|
+
reservations?: Prisma.ReservationListRelationFilter;
|
|
248
|
+
};
|
|
249
|
+
export type OrganizationOrderByWithRelationInput = {
|
|
250
|
+
id?: Prisma.SortOrder;
|
|
251
|
+
name?: Prisma.SortOrder;
|
|
252
|
+
slug?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
255
|
+
legalEntityId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
|
+
addressId?: Prisma.SortOrder;
|
|
257
|
+
configurationId?: Prisma.SortOrder;
|
|
258
|
+
logo?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
259
|
+
logoId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
260
|
+
createdAt?: Prisma.SortOrder;
|
|
261
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
262
|
+
updatedAt?: Prisma.SortOrder;
|
|
263
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
deletedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
legalEntity?: Prisma.LegalEntityOrderByWithRelationInput;
|
|
267
|
+
address?: Prisma.AddressOrderByWithRelationInput;
|
|
268
|
+
configuration?: Prisma.OrganizationConfigurationOrderByWithRelationInput;
|
|
269
|
+
logoFile?: Prisma.FileOrderByWithRelationInput;
|
|
270
|
+
files?: Prisma.FileOrderByRelationAggregateInput;
|
|
271
|
+
members?: Prisma.MemberOrderByRelationAggregateInput;
|
|
272
|
+
invitations?: Prisma.InvitationOrderByRelationAggregateInput;
|
|
273
|
+
orders?: Prisma.OrderOrderByRelationAggregateInput;
|
|
274
|
+
campaigns?: Prisma.CampaignOrderByRelationAggregateInput;
|
|
275
|
+
shippingMethods?: Prisma.ShippingMethodOrderByRelationAggregateInput;
|
|
276
|
+
manufacturers?: Prisma.ManufacturerOrderByRelationAggregateInput;
|
|
277
|
+
productCategories?: Prisma.ProductCategoryOrderByRelationAggregateInput;
|
|
278
|
+
products?: Prisma.ProductOrderByRelationAggregateInput;
|
|
279
|
+
reservations?: Prisma.ReservationOrderByRelationAggregateInput;
|
|
280
|
+
};
|
|
281
|
+
export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
|
|
282
|
+
id?: string;
|
|
283
|
+
slug?: string;
|
|
284
|
+
logoId?: string;
|
|
285
|
+
AND?: Prisma.OrganizationWhereInput | Prisma.OrganizationWhereInput[];
|
|
286
|
+
OR?: Prisma.OrganizationWhereInput[];
|
|
287
|
+
NOT?: Prisma.OrganizationWhereInput | Prisma.OrganizationWhereInput[];
|
|
288
|
+
name?: Prisma.StringFilter<"Organization"> | string;
|
|
289
|
+
phone?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
290
|
+
email?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
291
|
+
legalEntityId?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
292
|
+
addressId?: Prisma.StringFilter<"Organization"> | string;
|
|
293
|
+
configurationId?: Prisma.StringFilter<"Organization"> | string;
|
|
294
|
+
logo?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
295
|
+
createdAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
296
|
+
createdBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
297
|
+
updatedAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
298
|
+
updatedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
299
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Organization"> | Date | string | null;
|
|
300
|
+
deletedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
301
|
+
legalEntity?: Prisma.XOR<Prisma.LegalEntityNullableScalarRelationFilter, Prisma.LegalEntityWhereInput> | null;
|
|
302
|
+
address?: Prisma.XOR<Prisma.AddressScalarRelationFilter, Prisma.AddressWhereInput>;
|
|
303
|
+
configuration?: Prisma.XOR<Prisma.OrganizationConfigurationScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput>;
|
|
304
|
+
logoFile?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
|
|
305
|
+
files?: Prisma.FileListRelationFilter;
|
|
306
|
+
members?: Prisma.MemberListRelationFilter;
|
|
307
|
+
invitations?: Prisma.InvitationListRelationFilter;
|
|
308
|
+
orders?: Prisma.OrderListRelationFilter;
|
|
309
|
+
campaigns?: Prisma.CampaignListRelationFilter;
|
|
310
|
+
shippingMethods?: Prisma.ShippingMethodListRelationFilter;
|
|
311
|
+
manufacturers?: Prisma.ManufacturerListRelationFilter;
|
|
312
|
+
productCategories?: Prisma.ProductCategoryListRelationFilter;
|
|
313
|
+
products?: Prisma.ProductListRelationFilter;
|
|
314
|
+
reservations?: Prisma.ReservationListRelationFilter;
|
|
315
|
+
}, "id" | "logoId" | "slug">;
|
|
316
|
+
export type OrganizationOrderByWithAggregationInput = {
|
|
317
|
+
id?: Prisma.SortOrder;
|
|
318
|
+
name?: Prisma.SortOrder;
|
|
319
|
+
slug?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
320
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
321
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
322
|
+
legalEntityId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
323
|
+
addressId?: Prisma.SortOrder;
|
|
324
|
+
configurationId?: Prisma.SortOrder;
|
|
325
|
+
logo?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
326
|
+
logoId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
327
|
+
createdAt?: Prisma.SortOrder;
|
|
328
|
+
createdBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
|
+
updatedAt?: Prisma.SortOrder;
|
|
330
|
+
updatedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
332
|
+
deletedBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
333
|
+
_count?: Prisma.OrganizationCountOrderByAggregateInput;
|
|
334
|
+
_max?: Prisma.OrganizationMaxOrderByAggregateInput;
|
|
335
|
+
_min?: Prisma.OrganizationMinOrderByAggregateInput;
|
|
336
|
+
};
|
|
337
|
+
export type OrganizationScalarWhereWithAggregatesInput = {
|
|
338
|
+
AND?: Prisma.OrganizationScalarWhereWithAggregatesInput | Prisma.OrganizationScalarWhereWithAggregatesInput[];
|
|
339
|
+
OR?: Prisma.OrganizationScalarWhereWithAggregatesInput[];
|
|
340
|
+
NOT?: Prisma.OrganizationScalarWhereWithAggregatesInput | Prisma.OrganizationScalarWhereWithAggregatesInput[];
|
|
341
|
+
id?: Prisma.StringWithAggregatesFilter<"Organization"> | string;
|
|
342
|
+
name?: Prisma.StringWithAggregatesFilter<"Organization"> | string;
|
|
343
|
+
slug?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
344
|
+
phone?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
345
|
+
email?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
346
|
+
legalEntityId?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
347
|
+
addressId?: Prisma.StringWithAggregatesFilter<"Organization"> | string;
|
|
348
|
+
configurationId?: Prisma.StringWithAggregatesFilter<"Organization"> | string;
|
|
349
|
+
logo?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
350
|
+
logoId?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
351
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Organization"> | Date | string;
|
|
352
|
+
createdBy?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
353
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Organization"> | Date | string;
|
|
354
|
+
updatedBy?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
355
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Organization"> | Date | string | null;
|
|
356
|
+
deletedBy?: Prisma.StringNullableWithAggregatesFilter<"Organization"> | string | null;
|
|
357
|
+
};
|
|
358
|
+
export type OrganizationCreateInput = {
|
|
359
|
+
id?: string;
|
|
360
|
+
name: string;
|
|
361
|
+
slug?: string | null;
|
|
362
|
+
phone?: string | null;
|
|
363
|
+
email?: string | null;
|
|
364
|
+
logo?: string | null;
|
|
365
|
+
createdAt?: Date | string;
|
|
366
|
+
createdBy?: string | null;
|
|
367
|
+
updatedAt?: Date | string;
|
|
368
|
+
updatedBy?: string | null;
|
|
369
|
+
deletedAt?: Date | string | null;
|
|
370
|
+
deletedBy?: string | null;
|
|
371
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
372
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
373
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
374
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
375
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
376
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
377
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
378
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
379
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
380
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
381
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
382
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
383
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
384
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
385
|
+
};
|
|
386
|
+
export type OrganizationUncheckedCreateInput = {
|
|
387
|
+
id?: string;
|
|
388
|
+
name: string;
|
|
389
|
+
slug?: string | null;
|
|
390
|
+
phone?: string | null;
|
|
391
|
+
email?: string | null;
|
|
392
|
+
legalEntityId?: string | null;
|
|
393
|
+
addressId: string;
|
|
394
|
+
configurationId: string;
|
|
395
|
+
logo?: string | null;
|
|
396
|
+
logoId?: string | null;
|
|
397
|
+
createdAt?: Date | string;
|
|
398
|
+
createdBy?: string | null;
|
|
399
|
+
updatedAt?: Date | string;
|
|
400
|
+
updatedBy?: string | null;
|
|
401
|
+
deletedAt?: Date | string | null;
|
|
402
|
+
deletedBy?: string | null;
|
|
403
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
404
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
405
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
406
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
407
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
408
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
409
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
410
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
411
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
412
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
413
|
+
};
|
|
414
|
+
export type OrganizationUpdateInput = {
|
|
415
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
419
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
420
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
422
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
423
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
424
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
425
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
426
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
427
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
428
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
429
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
430
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
431
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
432
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
433
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
434
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
435
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
436
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
437
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
438
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
439
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
440
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
441
|
+
};
|
|
442
|
+
export type OrganizationUncheckedUpdateInput = {
|
|
443
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
444
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
447
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
448
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
449
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
450
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
451
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
452
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
453
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
454
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
455
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
456
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
457
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
458
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
459
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
460
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
461
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
462
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
463
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
464
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
465
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
466
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
467
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
468
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
469
|
+
};
|
|
470
|
+
export type OrganizationCreateManyInput = {
|
|
471
|
+
id?: string;
|
|
472
|
+
name: string;
|
|
473
|
+
slug?: string | null;
|
|
474
|
+
phone?: string | null;
|
|
475
|
+
email?: string | null;
|
|
476
|
+
legalEntityId?: string | null;
|
|
477
|
+
addressId: string;
|
|
478
|
+
configurationId: string;
|
|
479
|
+
logo?: string | null;
|
|
480
|
+
logoId?: string | null;
|
|
481
|
+
createdAt?: Date | string;
|
|
482
|
+
createdBy?: string | null;
|
|
483
|
+
updatedAt?: Date | string;
|
|
484
|
+
updatedBy?: string | null;
|
|
485
|
+
deletedAt?: Date | string | null;
|
|
486
|
+
deletedBy?: string | null;
|
|
487
|
+
};
|
|
488
|
+
export type OrganizationUpdateManyMutationInput = {
|
|
489
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
490
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
492
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
493
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
494
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
495
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
497
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
498
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
499
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
500
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
|
+
};
|
|
502
|
+
export type OrganizationUncheckedUpdateManyInput = {
|
|
503
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
504
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
505
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
508
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
509
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
510
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
512
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
513
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
515
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
516
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
517
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
518
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
519
|
+
};
|
|
520
|
+
export type OrganizationScalarRelationFilter = {
|
|
521
|
+
is?: Prisma.OrganizationWhereInput;
|
|
522
|
+
isNot?: Prisma.OrganizationWhereInput;
|
|
523
|
+
};
|
|
524
|
+
export type OrganizationCountOrderByAggregateInput = {
|
|
525
|
+
id?: Prisma.SortOrder;
|
|
526
|
+
name?: Prisma.SortOrder;
|
|
527
|
+
slug?: Prisma.SortOrder;
|
|
528
|
+
phone?: Prisma.SortOrder;
|
|
529
|
+
email?: Prisma.SortOrder;
|
|
530
|
+
legalEntityId?: Prisma.SortOrder;
|
|
531
|
+
addressId?: Prisma.SortOrder;
|
|
532
|
+
configurationId?: Prisma.SortOrder;
|
|
533
|
+
logo?: Prisma.SortOrder;
|
|
534
|
+
logoId?: Prisma.SortOrder;
|
|
535
|
+
createdAt?: Prisma.SortOrder;
|
|
536
|
+
createdBy?: Prisma.SortOrder;
|
|
537
|
+
updatedAt?: Prisma.SortOrder;
|
|
538
|
+
updatedBy?: Prisma.SortOrder;
|
|
539
|
+
deletedAt?: Prisma.SortOrder;
|
|
540
|
+
deletedBy?: Prisma.SortOrder;
|
|
541
|
+
};
|
|
542
|
+
export type OrganizationMaxOrderByAggregateInput = {
|
|
543
|
+
id?: Prisma.SortOrder;
|
|
544
|
+
name?: Prisma.SortOrder;
|
|
545
|
+
slug?: Prisma.SortOrder;
|
|
546
|
+
phone?: Prisma.SortOrder;
|
|
547
|
+
email?: Prisma.SortOrder;
|
|
548
|
+
legalEntityId?: Prisma.SortOrder;
|
|
549
|
+
addressId?: Prisma.SortOrder;
|
|
550
|
+
configurationId?: Prisma.SortOrder;
|
|
551
|
+
logo?: Prisma.SortOrder;
|
|
552
|
+
logoId?: Prisma.SortOrder;
|
|
553
|
+
createdAt?: Prisma.SortOrder;
|
|
554
|
+
createdBy?: Prisma.SortOrder;
|
|
555
|
+
updatedAt?: Prisma.SortOrder;
|
|
556
|
+
updatedBy?: Prisma.SortOrder;
|
|
557
|
+
deletedAt?: Prisma.SortOrder;
|
|
558
|
+
deletedBy?: Prisma.SortOrder;
|
|
559
|
+
};
|
|
560
|
+
export type OrganizationMinOrderByAggregateInput = {
|
|
561
|
+
id?: Prisma.SortOrder;
|
|
562
|
+
name?: Prisma.SortOrder;
|
|
563
|
+
slug?: Prisma.SortOrder;
|
|
564
|
+
phone?: Prisma.SortOrder;
|
|
565
|
+
email?: Prisma.SortOrder;
|
|
566
|
+
legalEntityId?: Prisma.SortOrder;
|
|
567
|
+
addressId?: Prisma.SortOrder;
|
|
568
|
+
configurationId?: Prisma.SortOrder;
|
|
569
|
+
logo?: Prisma.SortOrder;
|
|
570
|
+
logoId?: Prisma.SortOrder;
|
|
571
|
+
createdAt?: Prisma.SortOrder;
|
|
572
|
+
createdBy?: Prisma.SortOrder;
|
|
573
|
+
updatedAt?: Prisma.SortOrder;
|
|
574
|
+
updatedBy?: Prisma.SortOrder;
|
|
575
|
+
deletedAt?: Prisma.SortOrder;
|
|
576
|
+
deletedBy?: Prisma.SortOrder;
|
|
577
|
+
};
|
|
578
|
+
export type OrganizationListRelationFilter = {
|
|
579
|
+
every?: Prisma.OrganizationWhereInput;
|
|
580
|
+
some?: Prisma.OrganizationWhereInput;
|
|
581
|
+
none?: Prisma.OrganizationWhereInput;
|
|
582
|
+
};
|
|
583
|
+
export type OrganizationOrderByRelationAggregateInput = {
|
|
584
|
+
_count?: Prisma.SortOrder;
|
|
585
|
+
};
|
|
586
|
+
export type OrganizationNullableScalarRelationFilter = {
|
|
587
|
+
is?: Prisma.OrganizationWhereInput | null;
|
|
588
|
+
isNot?: Prisma.OrganizationWhereInput | null;
|
|
589
|
+
};
|
|
590
|
+
export type OrganizationCreateNestedOneWithoutMembersInput = {
|
|
591
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutMembersInput, Prisma.OrganizationUncheckedCreateWithoutMembersInput>;
|
|
592
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutMembersInput;
|
|
593
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
594
|
+
};
|
|
595
|
+
export type OrganizationUpdateOneRequiredWithoutMembersNestedInput = {
|
|
596
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutMembersInput, Prisma.OrganizationUncheckedCreateWithoutMembersInput>;
|
|
597
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutMembersInput;
|
|
598
|
+
upsert?: Prisma.OrganizationUpsertWithoutMembersInput;
|
|
599
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
600
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutMembersInput, Prisma.OrganizationUpdateWithoutMembersInput>, Prisma.OrganizationUncheckedUpdateWithoutMembersInput>;
|
|
601
|
+
};
|
|
602
|
+
export type OrganizationCreateNestedOneWithoutInvitationsInput = {
|
|
603
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutInvitationsInput, Prisma.OrganizationUncheckedCreateWithoutInvitationsInput>;
|
|
604
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutInvitationsInput;
|
|
605
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
606
|
+
};
|
|
607
|
+
export type OrganizationUpdateOneRequiredWithoutInvitationsNestedInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutInvitationsInput, Prisma.OrganizationUncheckedCreateWithoutInvitationsInput>;
|
|
609
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutInvitationsInput;
|
|
610
|
+
upsert?: Prisma.OrganizationUpsertWithoutInvitationsInput;
|
|
611
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
612
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutInvitationsInput, Prisma.OrganizationUpdateWithoutInvitationsInput>, Prisma.OrganizationUncheckedUpdateWithoutInvitationsInput>;
|
|
613
|
+
};
|
|
614
|
+
export type OrganizationCreateNestedManyWithoutConfigurationInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput> | Prisma.OrganizationCreateWithoutConfigurationInput[] | Prisma.OrganizationUncheckedCreateWithoutConfigurationInput[];
|
|
616
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutConfigurationInput | Prisma.OrganizationCreateOrConnectWithoutConfigurationInput[];
|
|
617
|
+
createMany?: Prisma.OrganizationCreateManyConfigurationInputEnvelope;
|
|
618
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
619
|
+
};
|
|
620
|
+
export type OrganizationUncheckedCreateNestedManyWithoutConfigurationInput = {
|
|
621
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput> | Prisma.OrganizationCreateWithoutConfigurationInput[] | Prisma.OrganizationUncheckedCreateWithoutConfigurationInput[];
|
|
622
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutConfigurationInput | Prisma.OrganizationCreateOrConnectWithoutConfigurationInput[];
|
|
623
|
+
createMany?: Prisma.OrganizationCreateManyConfigurationInputEnvelope;
|
|
624
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
625
|
+
};
|
|
626
|
+
export type OrganizationUpdateManyWithoutConfigurationNestedInput = {
|
|
627
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput> | Prisma.OrganizationCreateWithoutConfigurationInput[] | Prisma.OrganizationUncheckedCreateWithoutConfigurationInput[];
|
|
628
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutConfigurationInput | Prisma.OrganizationCreateOrConnectWithoutConfigurationInput[];
|
|
629
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutConfigurationInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutConfigurationInput[];
|
|
630
|
+
createMany?: Prisma.OrganizationCreateManyConfigurationInputEnvelope;
|
|
631
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
632
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
633
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
634
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
635
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutConfigurationInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutConfigurationInput[];
|
|
636
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput | Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput[];
|
|
637
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
638
|
+
};
|
|
639
|
+
export type OrganizationUncheckedUpdateManyWithoutConfigurationNestedInput = {
|
|
640
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput> | Prisma.OrganizationCreateWithoutConfigurationInput[] | Prisma.OrganizationUncheckedCreateWithoutConfigurationInput[];
|
|
641
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutConfigurationInput | Prisma.OrganizationCreateOrConnectWithoutConfigurationInput[];
|
|
642
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutConfigurationInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutConfigurationInput[];
|
|
643
|
+
createMany?: Prisma.OrganizationCreateManyConfigurationInputEnvelope;
|
|
644
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
645
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
646
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
647
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
648
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutConfigurationInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutConfigurationInput[];
|
|
649
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput | Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput[];
|
|
650
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
651
|
+
};
|
|
652
|
+
export type OrganizationCreateNestedManyWithoutAddressInput = {
|
|
653
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput> | Prisma.OrganizationCreateWithoutAddressInput[] | Prisma.OrganizationUncheckedCreateWithoutAddressInput[];
|
|
654
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutAddressInput | Prisma.OrganizationCreateOrConnectWithoutAddressInput[];
|
|
655
|
+
createMany?: Prisma.OrganizationCreateManyAddressInputEnvelope;
|
|
656
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
657
|
+
};
|
|
658
|
+
export type OrganizationUncheckedCreateNestedManyWithoutAddressInput = {
|
|
659
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput> | Prisma.OrganizationCreateWithoutAddressInput[] | Prisma.OrganizationUncheckedCreateWithoutAddressInput[];
|
|
660
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutAddressInput | Prisma.OrganizationCreateOrConnectWithoutAddressInput[];
|
|
661
|
+
createMany?: Prisma.OrganizationCreateManyAddressInputEnvelope;
|
|
662
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
663
|
+
};
|
|
664
|
+
export type OrganizationUpdateManyWithoutAddressNestedInput = {
|
|
665
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput> | Prisma.OrganizationCreateWithoutAddressInput[] | Prisma.OrganizationUncheckedCreateWithoutAddressInput[];
|
|
666
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutAddressInput | Prisma.OrganizationCreateOrConnectWithoutAddressInput[];
|
|
667
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutAddressInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutAddressInput[];
|
|
668
|
+
createMany?: Prisma.OrganizationCreateManyAddressInputEnvelope;
|
|
669
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
670
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
671
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
672
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
673
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutAddressInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutAddressInput[];
|
|
674
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutAddressInput | Prisma.OrganizationUpdateManyWithWhereWithoutAddressInput[];
|
|
675
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
676
|
+
};
|
|
677
|
+
export type OrganizationUncheckedUpdateManyWithoutAddressNestedInput = {
|
|
678
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput> | Prisma.OrganizationCreateWithoutAddressInput[] | Prisma.OrganizationUncheckedCreateWithoutAddressInput[];
|
|
679
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutAddressInput | Prisma.OrganizationCreateOrConnectWithoutAddressInput[];
|
|
680
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutAddressInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutAddressInput[];
|
|
681
|
+
createMany?: Prisma.OrganizationCreateManyAddressInputEnvelope;
|
|
682
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
683
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
684
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
685
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
686
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutAddressInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutAddressInput[];
|
|
687
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutAddressInput | Prisma.OrganizationUpdateManyWithWhereWithoutAddressInput[];
|
|
688
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
689
|
+
};
|
|
690
|
+
export type OrganizationCreateNestedManyWithoutLegalEntityInput = {
|
|
691
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput> | Prisma.OrganizationCreateWithoutLegalEntityInput[] | Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput[];
|
|
692
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput | Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput[];
|
|
693
|
+
createMany?: Prisma.OrganizationCreateManyLegalEntityInputEnvelope;
|
|
694
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
695
|
+
};
|
|
696
|
+
export type OrganizationUncheckedCreateNestedManyWithoutLegalEntityInput = {
|
|
697
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput> | Prisma.OrganizationCreateWithoutLegalEntityInput[] | Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput[];
|
|
698
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput | Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput[];
|
|
699
|
+
createMany?: Prisma.OrganizationCreateManyLegalEntityInputEnvelope;
|
|
700
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
701
|
+
};
|
|
702
|
+
export type OrganizationUpdateManyWithoutLegalEntityNestedInput = {
|
|
703
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput> | Prisma.OrganizationCreateWithoutLegalEntityInput[] | Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput[];
|
|
704
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput | Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput[];
|
|
705
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutLegalEntityInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutLegalEntityInput[];
|
|
706
|
+
createMany?: Prisma.OrganizationCreateManyLegalEntityInputEnvelope;
|
|
707
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
708
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
709
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
710
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
711
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutLegalEntityInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutLegalEntityInput[];
|
|
712
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutLegalEntityInput | Prisma.OrganizationUpdateManyWithWhereWithoutLegalEntityInput[];
|
|
713
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
714
|
+
};
|
|
715
|
+
export type OrganizationUncheckedUpdateManyWithoutLegalEntityNestedInput = {
|
|
716
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput> | Prisma.OrganizationCreateWithoutLegalEntityInput[] | Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput[];
|
|
717
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput | Prisma.OrganizationCreateOrConnectWithoutLegalEntityInput[];
|
|
718
|
+
upsert?: Prisma.OrganizationUpsertWithWhereUniqueWithoutLegalEntityInput | Prisma.OrganizationUpsertWithWhereUniqueWithoutLegalEntityInput[];
|
|
719
|
+
createMany?: Prisma.OrganizationCreateManyLegalEntityInputEnvelope;
|
|
720
|
+
set?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
721
|
+
disconnect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
722
|
+
delete?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
723
|
+
connect?: Prisma.OrganizationWhereUniqueInput | Prisma.OrganizationWhereUniqueInput[];
|
|
724
|
+
update?: Prisma.OrganizationUpdateWithWhereUniqueWithoutLegalEntityInput | Prisma.OrganizationUpdateWithWhereUniqueWithoutLegalEntityInput[];
|
|
725
|
+
updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutLegalEntityInput | Prisma.OrganizationUpdateManyWithWhereWithoutLegalEntityInput[];
|
|
726
|
+
deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
727
|
+
};
|
|
728
|
+
export type OrganizationCreateNestedOneWithoutFilesInput = {
|
|
729
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutFilesInput, Prisma.OrganizationUncheckedCreateWithoutFilesInput>;
|
|
730
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutFilesInput;
|
|
731
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
732
|
+
};
|
|
733
|
+
export type OrganizationCreateNestedOneWithoutLogoFileInput = {
|
|
734
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
735
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLogoFileInput;
|
|
736
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
737
|
+
};
|
|
738
|
+
export type OrganizationUncheckedCreateNestedOneWithoutLogoFileInput = {
|
|
739
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
740
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLogoFileInput;
|
|
741
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
742
|
+
};
|
|
743
|
+
export type OrganizationUpdateOneWithoutFilesNestedInput = {
|
|
744
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutFilesInput, Prisma.OrganizationUncheckedCreateWithoutFilesInput>;
|
|
745
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutFilesInput;
|
|
746
|
+
upsert?: Prisma.OrganizationUpsertWithoutFilesInput;
|
|
747
|
+
disconnect?: Prisma.OrganizationWhereInput | boolean;
|
|
748
|
+
delete?: Prisma.OrganizationWhereInput | boolean;
|
|
749
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
750
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutFilesInput, Prisma.OrganizationUpdateWithoutFilesInput>, Prisma.OrganizationUncheckedUpdateWithoutFilesInput>;
|
|
751
|
+
};
|
|
752
|
+
export type OrganizationUpdateOneWithoutLogoFileNestedInput = {
|
|
753
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
754
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLogoFileInput;
|
|
755
|
+
upsert?: Prisma.OrganizationUpsertWithoutLogoFileInput;
|
|
756
|
+
disconnect?: Prisma.OrganizationWhereInput | boolean;
|
|
757
|
+
delete?: Prisma.OrganizationWhereInput | boolean;
|
|
758
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
759
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutLogoFileInput, Prisma.OrganizationUpdateWithoutLogoFileInput>, Prisma.OrganizationUncheckedUpdateWithoutLogoFileInput>;
|
|
760
|
+
};
|
|
761
|
+
export type OrganizationUncheckedUpdateOneWithoutLogoFileNestedInput = {
|
|
762
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
763
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutLogoFileInput;
|
|
764
|
+
upsert?: Prisma.OrganizationUpsertWithoutLogoFileInput;
|
|
765
|
+
disconnect?: Prisma.OrganizationWhereInput | boolean;
|
|
766
|
+
delete?: Prisma.OrganizationWhereInput | boolean;
|
|
767
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
768
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutLogoFileInput, Prisma.OrganizationUpdateWithoutLogoFileInput>, Prisma.OrganizationUncheckedUpdateWithoutLogoFileInput>;
|
|
769
|
+
};
|
|
770
|
+
export type OrganizationCreateNestedOneWithoutManufacturersInput = {
|
|
771
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutManufacturersInput, Prisma.OrganizationUncheckedCreateWithoutManufacturersInput>;
|
|
772
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutManufacturersInput;
|
|
773
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
774
|
+
};
|
|
775
|
+
export type OrganizationUpdateOneRequiredWithoutManufacturersNestedInput = {
|
|
776
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutManufacturersInput, Prisma.OrganizationUncheckedCreateWithoutManufacturersInput>;
|
|
777
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutManufacturersInput;
|
|
778
|
+
upsert?: Prisma.OrganizationUpsertWithoutManufacturersInput;
|
|
779
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
780
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutManufacturersInput, Prisma.OrganizationUpdateWithoutManufacturersInput>, Prisma.OrganizationUncheckedUpdateWithoutManufacturersInput>;
|
|
781
|
+
};
|
|
782
|
+
export type OrganizationCreateNestedOneWithoutProductCategoriesInput = {
|
|
783
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedCreateWithoutProductCategoriesInput>;
|
|
784
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutProductCategoriesInput;
|
|
785
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
786
|
+
};
|
|
787
|
+
export type OrganizationUpdateOneRequiredWithoutProductCategoriesNestedInput = {
|
|
788
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedCreateWithoutProductCategoriesInput>;
|
|
789
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutProductCategoriesInput;
|
|
790
|
+
upsert?: Prisma.OrganizationUpsertWithoutProductCategoriesInput;
|
|
791
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
792
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutProductCategoriesInput, Prisma.OrganizationUpdateWithoutProductCategoriesInput>, Prisma.OrganizationUncheckedUpdateWithoutProductCategoriesInput>;
|
|
793
|
+
};
|
|
794
|
+
export type OrganizationCreateNestedOneWithoutProductsInput = {
|
|
795
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutProductsInput, Prisma.OrganizationUncheckedCreateWithoutProductsInput>;
|
|
796
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutProductsInput;
|
|
797
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
798
|
+
};
|
|
799
|
+
export type OrganizationUpdateOneRequiredWithoutProductsNestedInput = {
|
|
800
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutProductsInput, Prisma.OrganizationUncheckedCreateWithoutProductsInput>;
|
|
801
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutProductsInput;
|
|
802
|
+
upsert?: Prisma.OrganizationUpsertWithoutProductsInput;
|
|
803
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
804
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutProductsInput, Prisma.OrganizationUpdateWithoutProductsInput>, Prisma.OrganizationUncheckedUpdateWithoutProductsInput>;
|
|
805
|
+
};
|
|
806
|
+
export type OrganizationCreateNestedOneWithoutOrdersInput = {
|
|
807
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutOrdersInput, Prisma.OrganizationUncheckedCreateWithoutOrdersInput>;
|
|
808
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutOrdersInput;
|
|
809
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
810
|
+
};
|
|
811
|
+
export type OrganizationUpdateOneRequiredWithoutOrdersNestedInput = {
|
|
812
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutOrdersInput, Prisma.OrganizationUncheckedCreateWithoutOrdersInput>;
|
|
813
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutOrdersInput;
|
|
814
|
+
upsert?: Prisma.OrganizationUpsertWithoutOrdersInput;
|
|
815
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
816
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutOrdersInput, Prisma.OrganizationUpdateWithoutOrdersInput>, Prisma.OrganizationUncheckedUpdateWithoutOrdersInput>;
|
|
817
|
+
};
|
|
818
|
+
export type OrganizationCreateNestedOneWithoutCampaignsInput = {
|
|
819
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutCampaignsInput, Prisma.OrganizationUncheckedCreateWithoutCampaignsInput>;
|
|
820
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutCampaignsInput;
|
|
821
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
822
|
+
};
|
|
823
|
+
export type OrganizationUpdateOneRequiredWithoutCampaignsNestedInput = {
|
|
824
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutCampaignsInput, Prisma.OrganizationUncheckedCreateWithoutCampaignsInput>;
|
|
825
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutCampaignsInput;
|
|
826
|
+
upsert?: Prisma.OrganizationUpsertWithoutCampaignsInput;
|
|
827
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
828
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutCampaignsInput, Prisma.OrganizationUpdateWithoutCampaignsInput>, Prisma.OrganizationUncheckedUpdateWithoutCampaignsInput>;
|
|
829
|
+
};
|
|
830
|
+
export type OrganizationCreateNestedOneWithoutShippingMethodsInput = {
|
|
831
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedCreateWithoutShippingMethodsInput>;
|
|
832
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutShippingMethodsInput;
|
|
833
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
834
|
+
};
|
|
835
|
+
export type OrganizationUpdateOneRequiredWithoutShippingMethodsNestedInput = {
|
|
836
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedCreateWithoutShippingMethodsInput>;
|
|
837
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutShippingMethodsInput;
|
|
838
|
+
upsert?: Prisma.OrganizationUpsertWithoutShippingMethodsInput;
|
|
839
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
840
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutShippingMethodsInput, Prisma.OrganizationUpdateWithoutShippingMethodsInput>, Prisma.OrganizationUncheckedUpdateWithoutShippingMethodsInput>;
|
|
841
|
+
};
|
|
842
|
+
export type OrganizationCreateNestedOneWithoutReservationsInput = {
|
|
843
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutReservationsInput, Prisma.OrganizationUncheckedCreateWithoutReservationsInput>;
|
|
844
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutReservationsInput;
|
|
845
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
846
|
+
};
|
|
847
|
+
export type OrganizationUpdateOneRequiredWithoutReservationsNestedInput = {
|
|
848
|
+
create?: Prisma.XOR<Prisma.OrganizationCreateWithoutReservationsInput, Prisma.OrganizationUncheckedCreateWithoutReservationsInput>;
|
|
849
|
+
connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutReservationsInput;
|
|
850
|
+
upsert?: Prisma.OrganizationUpsertWithoutReservationsInput;
|
|
851
|
+
connect?: Prisma.OrganizationWhereUniqueInput;
|
|
852
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutReservationsInput, Prisma.OrganizationUpdateWithoutReservationsInput>, Prisma.OrganizationUncheckedUpdateWithoutReservationsInput>;
|
|
853
|
+
};
|
|
854
|
+
export type OrganizationCreateWithoutMembersInput = {
|
|
855
|
+
id?: string;
|
|
856
|
+
name: string;
|
|
857
|
+
slug?: string | null;
|
|
858
|
+
phone?: string | null;
|
|
859
|
+
email?: string | null;
|
|
860
|
+
logo?: string | null;
|
|
861
|
+
createdAt?: Date | string;
|
|
862
|
+
createdBy?: string | null;
|
|
863
|
+
updatedAt?: Date | string;
|
|
864
|
+
updatedBy?: string | null;
|
|
865
|
+
deletedAt?: Date | string | null;
|
|
866
|
+
deletedBy?: string | null;
|
|
867
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
868
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
869
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
870
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
871
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
872
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
873
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
874
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
875
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
876
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
877
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
878
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
879
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
880
|
+
};
|
|
881
|
+
export type OrganizationUncheckedCreateWithoutMembersInput = {
|
|
882
|
+
id?: string;
|
|
883
|
+
name: string;
|
|
884
|
+
slug?: string | null;
|
|
885
|
+
phone?: string | null;
|
|
886
|
+
email?: string | null;
|
|
887
|
+
legalEntityId?: string | null;
|
|
888
|
+
addressId: string;
|
|
889
|
+
configurationId: string;
|
|
890
|
+
logo?: string | null;
|
|
891
|
+
logoId?: string | null;
|
|
892
|
+
createdAt?: Date | string;
|
|
893
|
+
createdBy?: string | null;
|
|
894
|
+
updatedAt?: Date | string;
|
|
895
|
+
updatedBy?: string | null;
|
|
896
|
+
deletedAt?: Date | string | null;
|
|
897
|
+
deletedBy?: string | null;
|
|
898
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
899
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
900
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
901
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
902
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
903
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
904
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
905
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
906
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
907
|
+
};
|
|
908
|
+
export type OrganizationCreateOrConnectWithoutMembersInput = {
|
|
909
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
910
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutMembersInput, Prisma.OrganizationUncheckedCreateWithoutMembersInput>;
|
|
911
|
+
};
|
|
912
|
+
export type OrganizationUpsertWithoutMembersInput = {
|
|
913
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutMembersInput, Prisma.OrganizationUncheckedUpdateWithoutMembersInput>;
|
|
914
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutMembersInput, Prisma.OrganizationUncheckedCreateWithoutMembersInput>;
|
|
915
|
+
where?: Prisma.OrganizationWhereInput;
|
|
916
|
+
};
|
|
917
|
+
export type OrganizationUpdateToOneWithWhereWithoutMembersInput = {
|
|
918
|
+
where?: Prisma.OrganizationWhereInput;
|
|
919
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutMembersInput, Prisma.OrganizationUncheckedUpdateWithoutMembersInput>;
|
|
920
|
+
};
|
|
921
|
+
export type OrganizationUpdateWithoutMembersInput = {
|
|
922
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
924
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
925
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
926
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
927
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
928
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
929
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
930
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
932
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
933
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
934
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
935
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
936
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
937
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
938
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
939
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
940
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
941
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
942
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
943
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
944
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
945
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
946
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
947
|
+
};
|
|
948
|
+
export type OrganizationUncheckedUpdateWithoutMembersInput = {
|
|
949
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
950
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
951
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
952
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
953
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
954
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
955
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
956
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
957
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
958
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
959
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
960
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
961
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
962
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
963
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
964
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
965
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
966
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
967
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
968
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
969
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
970
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
971
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
972
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
973
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
974
|
+
};
|
|
975
|
+
export type OrganizationCreateWithoutInvitationsInput = {
|
|
976
|
+
id?: string;
|
|
977
|
+
name: string;
|
|
978
|
+
slug?: string | null;
|
|
979
|
+
phone?: string | null;
|
|
980
|
+
email?: string | null;
|
|
981
|
+
logo?: string | null;
|
|
982
|
+
createdAt?: Date | string;
|
|
983
|
+
createdBy?: string | null;
|
|
984
|
+
updatedAt?: Date | string;
|
|
985
|
+
updatedBy?: string | null;
|
|
986
|
+
deletedAt?: Date | string | null;
|
|
987
|
+
deletedBy?: string | null;
|
|
988
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
989
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
990
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
991
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
992
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
993
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
994
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
995
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
996
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
997
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
998
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
999
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1000
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1001
|
+
};
|
|
1002
|
+
export type OrganizationUncheckedCreateWithoutInvitationsInput = {
|
|
1003
|
+
id?: string;
|
|
1004
|
+
name: string;
|
|
1005
|
+
slug?: string | null;
|
|
1006
|
+
phone?: string | null;
|
|
1007
|
+
email?: string | null;
|
|
1008
|
+
legalEntityId?: string | null;
|
|
1009
|
+
addressId: string;
|
|
1010
|
+
configurationId: string;
|
|
1011
|
+
logo?: string | null;
|
|
1012
|
+
logoId?: string | null;
|
|
1013
|
+
createdAt?: Date | string;
|
|
1014
|
+
createdBy?: string | null;
|
|
1015
|
+
updatedAt?: Date | string;
|
|
1016
|
+
updatedBy?: string | null;
|
|
1017
|
+
deletedAt?: Date | string | null;
|
|
1018
|
+
deletedBy?: string | null;
|
|
1019
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1020
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1021
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1022
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1023
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1024
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1025
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1026
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1027
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1028
|
+
};
|
|
1029
|
+
export type OrganizationCreateOrConnectWithoutInvitationsInput = {
|
|
1030
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1031
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutInvitationsInput, Prisma.OrganizationUncheckedCreateWithoutInvitationsInput>;
|
|
1032
|
+
};
|
|
1033
|
+
export type OrganizationUpsertWithoutInvitationsInput = {
|
|
1034
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutInvitationsInput, Prisma.OrganizationUncheckedUpdateWithoutInvitationsInput>;
|
|
1035
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutInvitationsInput, Prisma.OrganizationUncheckedCreateWithoutInvitationsInput>;
|
|
1036
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1037
|
+
};
|
|
1038
|
+
export type OrganizationUpdateToOneWithWhereWithoutInvitationsInput = {
|
|
1039
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1040
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutInvitationsInput, Prisma.OrganizationUncheckedUpdateWithoutInvitationsInput>;
|
|
1041
|
+
};
|
|
1042
|
+
export type OrganizationUpdateWithoutInvitationsInput = {
|
|
1043
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1044
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1045
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1046
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1047
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1048
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1049
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1050
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1051
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1052
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1053
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1054
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1055
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1056
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1057
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1058
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
1059
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
1060
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1061
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1062
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1063
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1064
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
1065
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
1066
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
1067
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1068
|
+
};
|
|
1069
|
+
export type OrganizationUncheckedUpdateWithoutInvitationsInput = {
|
|
1070
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1071
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1072
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1073
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1074
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1075
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1076
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1077
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1078
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1079
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1080
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1081
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1082
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1083
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1084
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1085
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1086
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1087
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1088
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1089
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1090
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1091
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1092
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1093
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1094
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1095
|
+
};
|
|
1096
|
+
export type OrganizationCreateWithoutConfigurationInput = {
|
|
1097
|
+
id?: string;
|
|
1098
|
+
name: string;
|
|
1099
|
+
slug?: string | null;
|
|
1100
|
+
phone?: string | null;
|
|
1101
|
+
email?: string | null;
|
|
1102
|
+
logo?: string | null;
|
|
1103
|
+
createdAt?: Date | string;
|
|
1104
|
+
createdBy?: string | null;
|
|
1105
|
+
updatedAt?: Date | string;
|
|
1106
|
+
updatedBy?: string | null;
|
|
1107
|
+
deletedAt?: Date | string | null;
|
|
1108
|
+
deletedBy?: string | null;
|
|
1109
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1110
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1111
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1112
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1113
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1114
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1115
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1116
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1117
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1118
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1119
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1120
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1121
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1122
|
+
};
|
|
1123
|
+
export type OrganizationUncheckedCreateWithoutConfigurationInput = {
|
|
1124
|
+
id?: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
slug?: string | null;
|
|
1127
|
+
phone?: string | null;
|
|
1128
|
+
email?: string | null;
|
|
1129
|
+
legalEntityId?: string | null;
|
|
1130
|
+
addressId: string;
|
|
1131
|
+
logo?: string | null;
|
|
1132
|
+
logoId?: string | null;
|
|
1133
|
+
createdAt?: Date | string;
|
|
1134
|
+
createdBy?: string | null;
|
|
1135
|
+
updatedAt?: Date | string;
|
|
1136
|
+
updatedBy?: string | null;
|
|
1137
|
+
deletedAt?: Date | string | null;
|
|
1138
|
+
deletedBy?: string | null;
|
|
1139
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1140
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1141
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1142
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1143
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1144
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1145
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1146
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1147
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1148
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1149
|
+
};
|
|
1150
|
+
export type OrganizationCreateOrConnectWithoutConfigurationInput = {
|
|
1151
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1152
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput>;
|
|
1153
|
+
};
|
|
1154
|
+
export type OrganizationCreateManyConfigurationInputEnvelope = {
|
|
1155
|
+
data: Prisma.OrganizationCreateManyConfigurationInput | Prisma.OrganizationCreateManyConfigurationInput[];
|
|
1156
|
+
skipDuplicates?: boolean;
|
|
1157
|
+
};
|
|
1158
|
+
export type OrganizationUpsertWithWhereUniqueWithoutConfigurationInput = {
|
|
1159
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1160
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutConfigurationInput, Prisma.OrganizationUncheckedUpdateWithoutConfigurationInput>;
|
|
1161
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutConfigurationInput, Prisma.OrganizationUncheckedCreateWithoutConfigurationInput>;
|
|
1162
|
+
};
|
|
1163
|
+
export type OrganizationUpdateWithWhereUniqueWithoutConfigurationInput = {
|
|
1164
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1165
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutConfigurationInput, Prisma.OrganizationUncheckedUpdateWithoutConfigurationInput>;
|
|
1166
|
+
};
|
|
1167
|
+
export type OrganizationUpdateManyWithWhereWithoutConfigurationInput = {
|
|
1168
|
+
where: Prisma.OrganizationScalarWhereInput;
|
|
1169
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyWithoutConfigurationInput>;
|
|
1170
|
+
};
|
|
1171
|
+
export type OrganizationScalarWhereInput = {
|
|
1172
|
+
AND?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
1173
|
+
OR?: Prisma.OrganizationScalarWhereInput[];
|
|
1174
|
+
NOT?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
|
|
1175
|
+
id?: Prisma.StringFilter<"Organization"> | string;
|
|
1176
|
+
name?: Prisma.StringFilter<"Organization"> | string;
|
|
1177
|
+
slug?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1178
|
+
phone?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1179
|
+
email?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1180
|
+
legalEntityId?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1181
|
+
addressId?: Prisma.StringFilter<"Organization"> | string;
|
|
1182
|
+
configurationId?: Prisma.StringFilter<"Organization"> | string;
|
|
1183
|
+
logo?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1184
|
+
logoId?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1185
|
+
createdAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
1186
|
+
createdBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1187
|
+
updatedAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
|
|
1188
|
+
updatedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1189
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Organization"> | Date | string | null;
|
|
1190
|
+
deletedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
|
|
1191
|
+
};
|
|
1192
|
+
export type OrganizationCreateWithoutAddressInput = {
|
|
1193
|
+
id?: string;
|
|
1194
|
+
name: string;
|
|
1195
|
+
slug?: string | null;
|
|
1196
|
+
phone?: string | null;
|
|
1197
|
+
email?: string | null;
|
|
1198
|
+
logo?: string | null;
|
|
1199
|
+
createdAt?: Date | string;
|
|
1200
|
+
createdBy?: string | null;
|
|
1201
|
+
updatedAt?: Date | string;
|
|
1202
|
+
updatedBy?: string | null;
|
|
1203
|
+
deletedAt?: Date | string | null;
|
|
1204
|
+
deletedBy?: string | null;
|
|
1205
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1206
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1207
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1208
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1209
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1210
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1211
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1212
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1213
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1214
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1215
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1216
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1217
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1218
|
+
};
|
|
1219
|
+
export type OrganizationUncheckedCreateWithoutAddressInput = {
|
|
1220
|
+
id?: string;
|
|
1221
|
+
name: string;
|
|
1222
|
+
slug?: string | null;
|
|
1223
|
+
phone?: string | null;
|
|
1224
|
+
email?: string | null;
|
|
1225
|
+
legalEntityId?: string | null;
|
|
1226
|
+
configurationId: string;
|
|
1227
|
+
logo?: string | null;
|
|
1228
|
+
logoId?: string | null;
|
|
1229
|
+
createdAt?: Date | string;
|
|
1230
|
+
createdBy?: string | null;
|
|
1231
|
+
updatedAt?: Date | string;
|
|
1232
|
+
updatedBy?: string | null;
|
|
1233
|
+
deletedAt?: Date | string | null;
|
|
1234
|
+
deletedBy?: string | null;
|
|
1235
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1236
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1237
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1238
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1239
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1240
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1241
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1242
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1243
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1244
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1245
|
+
};
|
|
1246
|
+
export type OrganizationCreateOrConnectWithoutAddressInput = {
|
|
1247
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1248
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput>;
|
|
1249
|
+
};
|
|
1250
|
+
export type OrganizationCreateManyAddressInputEnvelope = {
|
|
1251
|
+
data: Prisma.OrganizationCreateManyAddressInput | Prisma.OrganizationCreateManyAddressInput[];
|
|
1252
|
+
skipDuplicates?: boolean;
|
|
1253
|
+
};
|
|
1254
|
+
export type OrganizationUpsertWithWhereUniqueWithoutAddressInput = {
|
|
1255
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1256
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutAddressInput, Prisma.OrganizationUncheckedUpdateWithoutAddressInput>;
|
|
1257
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput>;
|
|
1258
|
+
};
|
|
1259
|
+
export type OrganizationUpdateWithWhereUniqueWithoutAddressInput = {
|
|
1260
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1261
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutAddressInput, Prisma.OrganizationUncheckedUpdateWithoutAddressInput>;
|
|
1262
|
+
};
|
|
1263
|
+
export type OrganizationUpdateManyWithWhereWithoutAddressInput = {
|
|
1264
|
+
where: Prisma.OrganizationScalarWhereInput;
|
|
1265
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyWithoutAddressInput>;
|
|
1266
|
+
};
|
|
1267
|
+
export type OrganizationCreateWithoutLegalEntityInput = {
|
|
1268
|
+
id?: string;
|
|
1269
|
+
name: string;
|
|
1270
|
+
slug?: string | null;
|
|
1271
|
+
phone?: string | null;
|
|
1272
|
+
email?: string | null;
|
|
1273
|
+
logo?: string | null;
|
|
1274
|
+
createdAt?: Date | string;
|
|
1275
|
+
createdBy?: string | null;
|
|
1276
|
+
updatedAt?: Date | string;
|
|
1277
|
+
updatedBy?: string | null;
|
|
1278
|
+
deletedAt?: Date | string | null;
|
|
1279
|
+
deletedBy?: string | null;
|
|
1280
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1281
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1282
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1283
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1284
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1285
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1286
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1287
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1288
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1289
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1290
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1291
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1292
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1293
|
+
};
|
|
1294
|
+
export type OrganizationUncheckedCreateWithoutLegalEntityInput = {
|
|
1295
|
+
id?: string;
|
|
1296
|
+
name: string;
|
|
1297
|
+
slug?: string | null;
|
|
1298
|
+
phone?: string | null;
|
|
1299
|
+
email?: string | null;
|
|
1300
|
+
addressId: string;
|
|
1301
|
+
configurationId: string;
|
|
1302
|
+
logo?: string | null;
|
|
1303
|
+
logoId?: string | null;
|
|
1304
|
+
createdAt?: Date | string;
|
|
1305
|
+
createdBy?: string | null;
|
|
1306
|
+
updatedAt?: Date | string;
|
|
1307
|
+
updatedBy?: string | null;
|
|
1308
|
+
deletedAt?: Date | string | null;
|
|
1309
|
+
deletedBy?: string | null;
|
|
1310
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1311
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1312
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1313
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1314
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1315
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1316
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1317
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1318
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1319
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1320
|
+
};
|
|
1321
|
+
export type OrganizationCreateOrConnectWithoutLegalEntityInput = {
|
|
1322
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1323
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput>;
|
|
1324
|
+
};
|
|
1325
|
+
export type OrganizationCreateManyLegalEntityInputEnvelope = {
|
|
1326
|
+
data: Prisma.OrganizationCreateManyLegalEntityInput | Prisma.OrganizationCreateManyLegalEntityInput[];
|
|
1327
|
+
skipDuplicates?: boolean;
|
|
1328
|
+
};
|
|
1329
|
+
export type OrganizationUpsertWithWhereUniqueWithoutLegalEntityInput = {
|
|
1330
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1331
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutLegalEntityInput, Prisma.OrganizationUncheckedUpdateWithoutLegalEntityInput>;
|
|
1332
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutLegalEntityInput, Prisma.OrganizationUncheckedCreateWithoutLegalEntityInput>;
|
|
1333
|
+
};
|
|
1334
|
+
export type OrganizationUpdateWithWhereUniqueWithoutLegalEntityInput = {
|
|
1335
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1336
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutLegalEntityInput, Prisma.OrganizationUncheckedUpdateWithoutLegalEntityInput>;
|
|
1337
|
+
};
|
|
1338
|
+
export type OrganizationUpdateManyWithWhereWithoutLegalEntityInput = {
|
|
1339
|
+
where: Prisma.OrganizationScalarWhereInput;
|
|
1340
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyWithoutLegalEntityInput>;
|
|
1341
|
+
};
|
|
1342
|
+
export type OrganizationCreateWithoutFilesInput = {
|
|
1343
|
+
id?: string;
|
|
1344
|
+
name: string;
|
|
1345
|
+
slug?: string | null;
|
|
1346
|
+
phone?: string | null;
|
|
1347
|
+
email?: string | null;
|
|
1348
|
+
logo?: string | null;
|
|
1349
|
+
createdAt?: Date | string;
|
|
1350
|
+
createdBy?: string | null;
|
|
1351
|
+
updatedAt?: Date | string;
|
|
1352
|
+
updatedBy?: string | null;
|
|
1353
|
+
deletedAt?: Date | string | null;
|
|
1354
|
+
deletedBy?: string | null;
|
|
1355
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1356
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1357
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1358
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1359
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1360
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1361
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1362
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1363
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1364
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1365
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1366
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1367
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1368
|
+
};
|
|
1369
|
+
export type OrganizationUncheckedCreateWithoutFilesInput = {
|
|
1370
|
+
id?: string;
|
|
1371
|
+
name: string;
|
|
1372
|
+
slug?: string | null;
|
|
1373
|
+
phone?: string | null;
|
|
1374
|
+
email?: string | null;
|
|
1375
|
+
legalEntityId?: string | null;
|
|
1376
|
+
addressId: string;
|
|
1377
|
+
configurationId: string;
|
|
1378
|
+
logo?: string | null;
|
|
1379
|
+
logoId?: string | null;
|
|
1380
|
+
createdAt?: Date | string;
|
|
1381
|
+
createdBy?: string | null;
|
|
1382
|
+
updatedAt?: Date | string;
|
|
1383
|
+
updatedBy?: string | null;
|
|
1384
|
+
deletedAt?: Date | string | null;
|
|
1385
|
+
deletedBy?: string | null;
|
|
1386
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1387
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1388
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1389
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1390
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1391
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1392
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1393
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1394
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1395
|
+
};
|
|
1396
|
+
export type OrganizationCreateOrConnectWithoutFilesInput = {
|
|
1397
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1398
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutFilesInput, Prisma.OrganizationUncheckedCreateWithoutFilesInput>;
|
|
1399
|
+
};
|
|
1400
|
+
export type OrganizationCreateWithoutLogoFileInput = {
|
|
1401
|
+
id?: string;
|
|
1402
|
+
name: string;
|
|
1403
|
+
slug?: string | null;
|
|
1404
|
+
phone?: string | null;
|
|
1405
|
+
email?: string | null;
|
|
1406
|
+
logo?: string | null;
|
|
1407
|
+
createdAt?: Date | string;
|
|
1408
|
+
createdBy?: string | null;
|
|
1409
|
+
updatedAt?: Date | string;
|
|
1410
|
+
updatedBy?: string | null;
|
|
1411
|
+
deletedAt?: Date | string | null;
|
|
1412
|
+
deletedBy?: string | null;
|
|
1413
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1414
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1415
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1416
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1417
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1418
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1419
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1420
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1421
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1422
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1423
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1424
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1425
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1426
|
+
};
|
|
1427
|
+
export type OrganizationUncheckedCreateWithoutLogoFileInput = {
|
|
1428
|
+
id?: string;
|
|
1429
|
+
name: string;
|
|
1430
|
+
slug?: string | null;
|
|
1431
|
+
phone?: string | null;
|
|
1432
|
+
email?: string | null;
|
|
1433
|
+
legalEntityId?: string | null;
|
|
1434
|
+
addressId: string;
|
|
1435
|
+
configurationId: string;
|
|
1436
|
+
logo?: string | null;
|
|
1437
|
+
createdAt?: Date | string;
|
|
1438
|
+
createdBy?: string | null;
|
|
1439
|
+
updatedAt?: Date | string;
|
|
1440
|
+
updatedBy?: string | null;
|
|
1441
|
+
deletedAt?: Date | string | null;
|
|
1442
|
+
deletedBy?: string | null;
|
|
1443
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1444
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1445
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1446
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1447
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1448
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1449
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1450
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1451
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1452
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1453
|
+
};
|
|
1454
|
+
export type OrganizationCreateOrConnectWithoutLogoFileInput = {
|
|
1455
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1456
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
1457
|
+
};
|
|
1458
|
+
export type OrganizationUpsertWithoutFilesInput = {
|
|
1459
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutFilesInput, Prisma.OrganizationUncheckedUpdateWithoutFilesInput>;
|
|
1460
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutFilesInput, Prisma.OrganizationUncheckedCreateWithoutFilesInput>;
|
|
1461
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1462
|
+
};
|
|
1463
|
+
export type OrganizationUpdateToOneWithWhereWithoutFilesInput = {
|
|
1464
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1465
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutFilesInput, Prisma.OrganizationUncheckedUpdateWithoutFilesInput>;
|
|
1466
|
+
};
|
|
1467
|
+
export type OrganizationUpdateWithoutFilesInput = {
|
|
1468
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1469
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1470
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1471
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1472
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1473
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1474
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1475
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1476
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1477
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1478
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1479
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1480
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1481
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1482
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1483
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
1484
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1485
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
1486
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1487
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1488
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1489
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
1490
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
1491
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
1492
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1493
|
+
};
|
|
1494
|
+
export type OrganizationUncheckedUpdateWithoutFilesInput = {
|
|
1495
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1496
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1497
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1498
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1499
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1500
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1501
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1502
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1503
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1504
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1505
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1506
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1507
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1508
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1509
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1510
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1511
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1512
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1513
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1514
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1515
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1516
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1517
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1518
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1519
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1520
|
+
};
|
|
1521
|
+
export type OrganizationUpsertWithoutLogoFileInput = {
|
|
1522
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutLogoFileInput, Prisma.OrganizationUncheckedUpdateWithoutLogoFileInput>;
|
|
1523
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutLogoFileInput, Prisma.OrganizationUncheckedCreateWithoutLogoFileInput>;
|
|
1524
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1525
|
+
};
|
|
1526
|
+
export type OrganizationUpdateToOneWithWhereWithoutLogoFileInput = {
|
|
1527
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1528
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutLogoFileInput, Prisma.OrganizationUncheckedUpdateWithoutLogoFileInput>;
|
|
1529
|
+
};
|
|
1530
|
+
export type OrganizationUpdateWithoutLogoFileInput = {
|
|
1531
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1532
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1533
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1534
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1535
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1536
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1537
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1538
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1539
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1540
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1541
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1542
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1543
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1544
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1545
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1546
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
1547
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1548
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
1549
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1550
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1551
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1552
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
1553
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
1554
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
1555
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1556
|
+
};
|
|
1557
|
+
export type OrganizationUncheckedUpdateWithoutLogoFileInput = {
|
|
1558
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1559
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1560
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1561
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1562
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1563
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1564
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1565
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1566
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1567
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1568
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1569
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1570
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1571
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1572
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1573
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1574
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1575
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1576
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1577
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1578
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1579
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1580
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1581
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1582
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1583
|
+
};
|
|
1584
|
+
export type OrganizationCreateWithoutManufacturersInput = {
|
|
1585
|
+
id?: string;
|
|
1586
|
+
name: string;
|
|
1587
|
+
slug?: string | null;
|
|
1588
|
+
phone?: string | null;
|
|
1589
|
+
email?: string | null;
|
|
1590
|
+
logo?: string | null;
|
|
1591
|
+
createdAt?: Date | string;
|
|
1592
|
+
createdBy?: string | null;
|
|
1593
|
+
updatedAt?: Date | string;
|
|
1594
|
+
updatedBy?: string | null;
|
|
1595
|
+
deletedAt?: Date | string | null;
|
|
1596
|
+
deletedBy?: string | null;
|
|
1597
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1598
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1599
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1600
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1601
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1602
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1603
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1604
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1605
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1606
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1607
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1608
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1609
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1610
|
+
};
|
|
1611
|
+
export type OrganizationUncheckedCreateWithoutManufacturersInput = {
|
|
1612
|
+
id?: string;
|
|
1613
|
+
name: string;
|
|
1614
|
+
slug?: string | null;
|
|
1615
|
+
phone?: string | null;
|
|
1616
|
+
email?: string | null;
|
|
1617
|
+
legalEntityId?: string | null;
|
|
1618
|
+
addressId: string;
|
|
1619
|
+
configurationId: string;
|
|
1620
|
+
logo?: string | null;
|
|
1621
|
+
logoId?: string | null;
|
|
1622
|
+
createdAt?: Date | string;
|
|
1623
|
+
createdBy?: string | null;
|
|
1624
|
+
updatedAt?: Date | string;
|
|
1625
|
+
updatedBy?: string | null;
|
|
1626
|
+
deletedAt?: Date | string | null;
|
|
1627
|
+
deletedBy?: string | null;
|
|
1628
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1629
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1630
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1631
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1632
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1633
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1634
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1635
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1636
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1637
|
+
};
|
|
1638
|
+
export type OrganizationCreateOrConnectWithoutManufacturersInput = {
|
|
1639
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1640
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutManufacturersInput, Prisma.OrganizationUncheckedCreateWithoutManufacturersInput>;
|
|
1641
|
+
};
|
|
1642
|
+
export type OrganizationUpsertWithoutManufacturersInput = {
|
|
1643
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutManufacturersInput, Prisma.OrganizationUncheckedUpdateWithoutManufacturersInput>;
|
|
1644
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutManufacturersInput, Prisma.OrganizationUncheckedCreateWithoutManufacturersInput>;
|
|
1645
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1646
|
+
};
|
|
1647
|
+
export type OrganizationUpdateToOneWithWhereWithoutManufacturersInput = {
|
|
1648
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1649
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutManufacturersInput, Prisma.OrganizationUncheckedUpdateWithoutManufacturersInput>;
|
|
1650
|
+
};
|
|
1651
|
+
export type OrganizationUpdateWithoutManufacturersInput = {
|
|
1652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1653
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1654
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1655
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1656
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1657
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1658
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1659
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1660
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1661
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1662
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1663
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1664
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1665
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1666
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1667
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
1668
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
1669
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1670
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
1671
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1672
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1673
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1674
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
1675
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
1676
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1677
|
+
};
|
|
1678
|
+
export type OrganizationUncheckedUpdateWithoutManufacturersInput = {
|
|
1679
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1680
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1681
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1682
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1683
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1684
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1685
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1686
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1687
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1688
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1689
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1690
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1691
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1692
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1693
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1694
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1695
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1696
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1697
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1698
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1699
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1700
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1701
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1702
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1703
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1704
|
+
};
|
|
1705
|
+
export type OrganizationCreateWithoutProductCategoriesInput = {
|
|
1706
|
+
id?: string;
|
|
1707
|
+
name: string;
|
|
1708
|
+
slug?: string | null;
|
|
1709
|
+
phone?: string | null;
|
|
1710
|
+
email?: string | null;
|
|
1711
|
+
logo?: string | null;
|
|
1712
|
+
createdAt?: Date | string;
|
|
1713
|
+
createdBy?: string | null;
|
|
1714
|
+
updatedAt?: Date | string;
|
|
1715
|
+
updatedBy?: string | null;
|
|
1716
|
+
deletedAt?: Date | string | null;
|
|
1717
|
+
deletedBy?: string | null;
|
|
1718
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1719
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1720
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1721
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1722
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1723
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1724
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1725
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1726
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1727
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1728
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1729
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1730
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1731
|
+
};
|
|
1732
|
+
export type OrganizationUncheckedCreateWithoutProductCategoriesInput = {
|
|
1733
|
+
id?: string;
|
|
1734
|
+
name: string;
|
|
1735
|
+
slug?: string | null;
|
|
1736
|
+
phone?: string | null;
|
|
1737
|
+
email?: string | null;
|
|
1738
|
+
legalEntityId?: string | null;
|
|
1739
|
+
addressId: string;
|
|
1740
|
+
configurationId: string;
|
|
1741
|
+
logo?: string | null;
|
|
1742
|
+
logoId?: string | null;
|
|
1743
|
+
createdAt?: Date | string;
|
|
1744
|
+
createdBy?: string | null;
|
|
1745
|
+
updatedAt?: Date | string;
|
|
1746
|
+
updatedBy?: string | null;
|
|
1747
|
+
deletedAt?: Date | string | null;
|
|
1748
|
+
deletedBy?: string | null;
|
|
1749
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1750
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1751
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1752
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1753
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1754
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1755
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1756
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1757
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1758
|
+
};
|
|
1759
|
+
export type OrganizationCreateOrConnectWithoutProductCategoriesInput = {
|
|
1760
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1761
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedCreateWithoutProductCategoriesInput>;
|
|
1762
|
+
};
|
|
1763
|
+
export type OrganizationUpsertWithoutProductCategoriesInput = {
|
|
1764
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedUpdateWithoutProductCategoriesInput>;
|
|
1765
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedCreateWithoutProductCategoriesInput>;
|
|
1766
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1767
|
+
};
|
|
1768
|
+
export type OrganizationUpdateToOneWithWhereWithoutProductCategoriesInput = {
|
|
1769
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1770
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutProductCategoriesInput, Prisma.OrganizationUncheckedUpdateWithoutProductCategoriesInput>;
|
|
1771
|
+
};
|
|
1772
|
+
export type OrganizationUpdateWithoutProductCategoriesInput = {
|
|
1773
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1774
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1775
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1776
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1777
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1778
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1779
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1780
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1781
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1782
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1783
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1784
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1785
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1786
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1787
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1788
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
1789
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
1790
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1791
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
1792
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1793
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1794
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1795
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
1796
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
1797
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1798
|
+
};
|
|
1799
|
+
export type OrganizationUncheckedUpdateWithoutProductCategoriesInput = {
|
|
1800
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1801
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1802
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1803
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1804
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1805
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1806
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1807
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1808
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1809
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1810
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1811
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1812
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1813
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1814
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1815
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1816
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1817
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1818
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1819
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1820
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1821
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1822
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1823
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1824
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1825
|
+
};
|
|
1826
|
+
export type OrganizationCreateWithoutProductsInput = {
|
|
1827
|
+
id?: string;
|
|
1828
|
+
name: string;
|
|
1829
|
+
slug?: string | null;
|
|
1830
|
+
phone?: string | null;
|
|
1831
|
+
email?: string | null;
|
|
1832
|
+
logo?: string | null;
|
|
1833
|
+
createdAt?: Date | string;
|
|
1834
|
+
createdBy?: string | null;
|
|
1835
|
+
updatedAt?: Date | string;
|
|
1836
|
+
updatedBy?: string | null;
|
|
1837
|
+
deletedAt?: Date | string | null;
|
|
1838
|
+
deletedBy?: string | null;
|
|
1839
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1840
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1841
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1842
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1843
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1844
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1845
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1846
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
1847
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1848
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1849
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1850
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1851
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1852
|
+
};
|
|
1853
|
+
export type OrganizationUncheckedCreateWithoutProductsInput = {
|
|
1854
|
+
id?: string;
|
|
1855
|
+
name: string;
|
|
1856
|
+
slug?: string | null;
|
|
1857
|
+
phone?: string | null;
|
|
1858
|
+
email?: string | null;
|
|
1859
|
+
legalEntityId?: string | null;
|
|
1860
|
+
addressId: string;
|
|
1861
|
+
configurationId: string;
|
|
1862
|
+
logo?: string | null;
|
|
1863
|
+
logoId?: string | null;
|
|
1864
|
+
createdAt?: Date | string;
|
|
1865
|
+
createdBy?: string | null;
|
|
1866
|
+
updatedAt?: Date | string;
|
|
1867
|
+
updatedBy?: string | null;
|
|
1868
|
+
deletedAt?: Date | string | null;
|
|
1869
|
+
deletedBy?: string | null;
|
|
1870
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1871
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1872
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1873
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1874
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1875
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1876
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1877
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1878
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1879
|
+
};
|
|
1880
|
+
export type OrganizationCreateOrConnectWithoutProductsInput = {
|
|
1881
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
1882
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutProductsInput, Prisma.OrganizationUncheckedCreateWithoutProductsInput>;
|
|
1883
|
+
};
|
|
1884
|
+
export type OrganizationUpsertWithoutProductsInput = {
|
|
1885
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutProductsInput, Prisma.OrganizationUncheckedUpdateWithoutProductsInput>;
|
|
1886
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutProductsInput, Prisma.OrganizationUncheckedCreateWithoutProductsInput>;
|
|
1887
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1888
|
+
};
|
|
1889
|
+
export type OrganizationUpdateToOneWithWhereWithoutProductsInput = {
|
|
1890
|
+
where?: Prisma.OrganizationWhereInput;
|
|
1891
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutProductsInput, Prisma.OrganizationUncheckedUpdateWithoutProductsInput>;
|
|
1892
|
+
};
|
|
1893
|
+
export type OrganizationUpdateWithoutProductsInput = {
|
|
1894
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1895
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1896
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1897
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1898
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1899
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1900
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1901
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1902
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1903
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1904
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1905
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1906
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
1907
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1908
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
1909
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
1910
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
1911
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
1912
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
1913
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
1914
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
1915
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
1916
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
1917
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
1918
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
1919
|
+
};
|
|
1920
|
+
export type OrganizationUncheckedUpdateWithoutProductsInput = {
|
|
1921
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1922
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1923
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1924
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1925
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1926
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1927
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1928
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1929
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1930
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1931
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1932
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1933
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1934
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1935
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1936
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1937
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1938
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1939
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1940
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1941
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1942
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1943
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1944
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1945
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
1946
|
+
};
|
|
1947
|
+
export type OrganizationCreateWithoutOrdersInput = {
|
|
1948
|
+
id?: string;
|
|
1949
|
+
name: string;
|
|
1950
|
+
slug?: string | null;
|
|
1951
|
+
phone?: string | null;
|
|
1952
|
+
email?: string | null;
|
|
1953
|
+
logo?: string | null;
|
|
1954
|
+
createdAt?: Date | string;
|
|
1955
|
+
createdBy?: string | null;
|
|
1956
|
+
updatedAt?: Date | string;
|
|
1957
|
+
updatedBy?: string | null;
|
|
1958
|
+
deletedAt?: Date | string | null;
|
|
1959
|
+
deletedBy?: string | null;
|
|
1960
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
1961
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
1962
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
1963
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
1964
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
1965
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
1966
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
1967
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
1968
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
1969
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
1970
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
1971
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
1972
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
1973
|
+
};
|
|
1974
|
+
export type OrganizationUncheckedCreateWithoutOrdersInput = {
|
|
1975
|
+
id?: string;
|
|
1976
|
+
name: string;
|
|
1977
|
+
slug?: string | null;
|
|
1978
|
+
phone?: string | null;
|
|
1979
|
+
email?: string | null;
|
|
1980
|
+
legalEntityId?: string | null;
|
|
1981
|
+
addressId: string;
|
|
1982
|
+
configurationId: string;
|
|
1983
|
+
logo?: string | null;
|
|
1984
|
+
logoId?: string | null;
|
|
1985
|
+
createdAt?: Date | string;
|
|
1986
|
+
createdBy?: string | null;
|
|
1987
|
+
updatedAt?: Date | string;
|
|
1988
|
+
updatedBy?: string | null;
|
|
1989
|
+
deletedAt?: Date | string | null;
|
|
1990
|
+
deletedBy?: string | null;
|
|
1991
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1992
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1993
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1994
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1995
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1996
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1997
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1998
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
1999
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2000
|
+
};
|
|
2001
|
+
export type OrganizationCreateOrConnectWithoutOrdersInput = {
|
|
2002
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
2003
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutOrdersInput, Prisma.OrganizationUncheckedCreateWithoutOrdersInput>;
|
|
2004
|
+
};
|
|
2005
|
+
export type OrganizationUpsertWithoutOrdersInput = {
|
|
2006
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutOrdersInput, Prisma.OrganizationUncheckedUpdateWithoutOrdersInput>;
|
|
2007
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutOrdersInput, Prisma.OrganizationUncheckedCreateWithoutOrdersInput>;
|
|
2008
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2009
|
+
};
|
|
2010
|
+
export type OrganizationUpdateToOneWithWhereWithoutOrdersInput = {
|
|
2011
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2012
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutOrdersInput, Prisma.OrganizationUncheckedUpdateWithoutOrdersInput>;
|
|
2013
|
+
};
|
|
2014
|
+
export type OrganizationUpdateWithoutOrdersInput = {
|
|
2015
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2016
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2017
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2018
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2019
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2020
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2021
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2022
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2023
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2024
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2025
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2026
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2027
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2028
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2029
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2030
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2031
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2032
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2033
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2034
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2035
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2036
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2037
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2038
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2039
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2040
|
+
};
|
|
2041
|
+
export type OrganizationUncheckedUpdateWithoutOrdersInput = {
|
|
2042
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2043
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2044
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2045
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2046
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2047
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2048
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2049
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2050
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2051
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2052
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2053
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2054
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2055
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2056
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2057
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2058
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2059
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2060
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2061
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2062
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2063
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2064
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2065
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2066
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2067
|
+
};
|
|
2068
|
+
export type OrganizationCreateWithoutCampaignsInput = {
|
|
2069
|
+
id?: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
slug?: string | null;
|
|
2072
|
+
phone?: string | null;
|
|
2073
|
+
email?: string | null;
|
|
2074
|
+
logo?: string | null;
|
|
2075
|
+
createdAt?: Date | string;
|
|
2076
|
+
createdBy?: string | null;
|
|
2077
|
+
updatedAt?: Date | string;
|
|
2078
|
+
updatedBy?: string | null;
|
|
2079
|
+
deletedAt?: Date | string | null;
|
|
2080
|
+
deletedBy?: string | null;
|
|
2081
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
2082
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
2083
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
2084
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
2085
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
2086
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
2087
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
2088
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
2089
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
2090
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
2091
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
2092
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
2093
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
2094
|
+
};
|
|
2095
|
+
export type OrganizationUncheckedCreateWithoutCampaignsInput = {
|
|
2096
|
+
id?: string;
|
|
2097
|
+
name: string;
|
|
2098
|
+
slug?: string | null;
|
|
2099
|
+
phone?: string | null;
|
|
2100
|
+
email?: string | null;
|
|
2101
|
+
legalEntityId?: string | null;
|
|
2102
|
+
addressId: string;
|
|
2103
|
+
configurationId: string;
|
|
2104
|
+
logo?: string | null;
|
|
2105
|
+
logoId?: string | null;
|
|
2106
|
+
createdAt?: Date | string;
|
|
2107
|
+
createdBy?: string | null;
|
|
2108
|
+
updatedAt?: Date | string;
|
|
2109
|
+
updatedBy?: string | null;
|
|
2110
|
+
deletedAt?: Date | string | null;
|
|
2111
|
+
deletedBy?: string | null;
|
|
2112
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2113
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2114
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2115
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2116
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2117
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2118
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2119
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2120
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2121
|
+
};
|
|
2122
|
+
export type OrganizationCreateOrConnectWithoutCampaignsInput = {
|
|
2123
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
2124
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutCampaignsInput, Prisma.OrganizationUncheckedCreateWithoutCampaignsInput>;
|
|
2125
|
+
};
|
|
2126
|
+
export type OrganizationUpsertWithoutCampaignsInput = {
|
|
2127
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutCampaignsInput, Prisma.OrganizationUncheckedUpdateWithoutCampaignsInput>;
|
|
2128
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutCampaignsInput, Prisma.OrganizationUncheckedCreateWithoutCampaignsInput>;
|
|
2129
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2130
|
+
};
|
|
2131
|
+
export type OrganizationUpdateToOneWithWhereWithoutCampaignsInput = {
|
|
2132
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2133
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutCampaignsInput, Prisma.OrganizationUncheckedUpdateWithoutCampaignsInput>;
|
|
2134
|
+
};
|
|
2135
|
+
export type OrganizationUpdateWithoutCampaignsInput = {
|
|
2136
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2137
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2138
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2139
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2140
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2141
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2142
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2143
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2144
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2145
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2146
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2147
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2148
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2149
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2150
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2151
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2152
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2153
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2154
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2155
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2156
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2157
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2158
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2159
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2160
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2161
|
+
};
|
|
2162
|
+
export type OrganizationUncheckedUpdateWithoutCampaignsInput = {
|
|
2163
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2164
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2165
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2166
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2167
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2168
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2169
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2170
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2171
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2172
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2173
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2174
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2175
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2176
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2177
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2178
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2179
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2180
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2181
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2182
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2183
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2184
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2185
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2186
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2187
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2188
|
+
};
|
|
2189
|
+
export type OrganizationCreateWithoutShippingMethodsInput = {
|
|
2190
|
+
id?: string;
|
|
2191
|
+
name: string;
|
|
2192
|
+
slug?: string | null;
|
|
2193
|
+
phone?: string | null;
|
|
2194
|
+
email?: string | null;
|
|
2195
|
+
logo?: string | null;
|
|
2196
|
+
createdAt?: Date | string;
|
|
2197
|
+
createdBy?: string | null;
|
|
2198
|
+
updatedAt?: Date | string;
|
|
2199
|
+
updatedBy?: string | null;
|
|
2200
|
+
deletedAt?: Date | string | null;
|
|
2201
|
+
deletedBy?: string | null;
|
|
2202
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
2203
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
2204
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
2205
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
2206
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
2207
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
2208
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
2209
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
2210
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
2211
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
2212
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
2213
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
2214
|
+
reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
|
|
2215
|
+
};
|
|
2216
|
+
export type OrganizationUncheckedCreateWithoutShippingMethodsInput = {
|
|
2217
|
+
id?: string;
|
|
2218
|
+
name: string;
|
|
2219
|
+
slug?: string | null;
|
|
2220
|
+
phone?: string | null;
|
|
2221
|
+
email?: string | null;
|
|
2222
|
+
legalEntityId?: string | null;
|
|
2223
|
+
addressId: string;
|
|
2224
|
+
configurationId: string;
|
|
2225
|
+
logo?: string | null;
|
|
2226
|
+
logoId?: string | null;
|
|
2227
|
+
createdAt?: Date | string;
|
|
2228
|
+
createdBy?: string | null;
|
|
2229
|
+
updatedAt?: Date | string;
|
|
2230
|
+
updatedBy?: string | null;
|
|
2231
|
+
deletedAt?: Date | string | null;
|
|
2232
|
+
deletedBy?: string | null;
|
|
2233
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2234
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2235
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2236
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2237
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2238
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2239
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2240
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2241
|
+
reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2242
|
+
};
|
|
2243
|
+
export type OrganizationCreateOrConnectWithoutShippingMethodsInput = {
|
|
2244
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
2245
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedCreateWithoutShippingMethodsInput>;
|
|
2246
|
+
};
|
|
2247
|
+
export type OrganizationUpsertWithoutShippingMethodsInput = {
|
|
2248
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedUpdateWithoutShippingMethodsInput>;
|
|
2249
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedCreateWithoutShippingMethodsInput>;
|
|
2250
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2251
|
+
};
|
|
2252
|
+
export type OrganizationUpdateToOneWithWhereWithoutShippingMethodsInput = {
|
|
2253
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2254
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutShippingMethodsInput, Prisma.OrganizationUncheckedUpdateWithoutShippingMethodsInput>;
|
|
2255
|
+
};
|
|
2256
|
+
export type OrganizationUpdateWithoutShippingMethodsInput = {
|
|
2257
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2258
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2259
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2260
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2261
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2262
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2263
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2264
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2265
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2266
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2267
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2268
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2269
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2270
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2271
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2272
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2273
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2274
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2275
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2276
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2277
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2278
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2279
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2280
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2281
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2282
|
+
};
|
|
2283
|
+
export type OrganizationUncheckedUpdateWithoutShippingMethodsInput = {
|
|
2284
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2285
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2286
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2287
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2288
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2289
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2290
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2291
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2292
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2293
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2294
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2295
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2296
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2297
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2298
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2299
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2300
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2301
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2302
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2303
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2304
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2305
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2306
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2307
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2308
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2309
|
+
};
|
|
2310
|
+
export type OrganizationCreateWithoutReservationsInput = {
|
|
2311
|
+
id?: string;
|
|
2312
|
+
name: string;
|
|
2313
|
+
slug?: string | null;
|
|
2314
|
+
phone?: string | null;
|
|
2315
|
+
email?: string | null;
|
|
2316
|
+
logo?: string | null;
|
|
2317
|
+
createdAt?: Date | string;
|
|
2318
|
+
createdBy?: string | null;
|
|
2319
|
+
updatedAt?: Date | string;
|
|
2320
|
+
updatedBy?: string | null;
|
|
2321
|
+
deletedAt?: Date | string | null;
|
|
2322
|
+
deletedBy?: string | null;
|
|
2323
|
+
legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
|
|
2324
|
+
address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
|
|
2325
|
+
configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
|
|
2326
|
+
logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
|
|
2327
|
+
files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
|
|
2328
|
+
members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
|
|
2329
|
+
invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
|
|
2330
|
+
orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
|
|
2331
|
+
campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
|
|
2332
|
+
shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
|
|
2333
|
+
manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
|
|
2334
|
+
productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
|
|
2335
|
+
products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
|
|
2336
|
+
};
|
|
2337
|
+
export type OrganizationUncheckedCreateWithoutReservationsInput = {
|
|
2338
|
+
id?: string;
|
|
2339
|
+
name: string;
|
|
2340
|
+
slug?: string | null;
|
|
2341
|
+
phone?: string | null;
|
|
2342
|
+
email?: string | null;
|
|
2343
|
+
legalEntityId?: string | null;
|
|
2344
|
+
addressId: string;
|
|
2345
|
+
configurationId: string;
|
|
2346
|
+
logo?: string | null;
|
|
2347
|
+
logoId?: string | null;
|
|
2348
|
+
createdAt?: Date | string;
|
|
2349
|
+
createdBy?: string | null;
|
|
2350
|
+
updatedAt?: Date | string;
|
|
2351
|
+
updatedBy?: string | null;
|
|
2352
|
+
deletedAt?: Date | string | null;
|
|
2353
|
+
deletedBy?: string | null;
|
|
2354
|
+
files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2355
|
+
members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2356
|
+
invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2357
|
+
orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2358
|
+
campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2359
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2360
|
+
manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2361
|
+
productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2362
|
+
products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
|
|
2363
|
+
};
|
|
2364
|
+
export type OrganizationCreateOrConnectWithoutReservationsInput = {
|
|
2365
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
2366
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutReservationsInput, Prisma.OrganizationUncheckedCreateWithoutReservationsInput>;
|
|
2367
|
+
};
|
|
2368
|
+
export type OrganizationUpsertWithoutReservationsInput = {
|
|
2369
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateWithoutReservationsInput, Prisma.OrganizationUncheckedUpdateWithoutReservationsInput>;
|
|
2370
|
+
create: Prisma.XOR<Prisma.OrganizationCreateWithoutReservationsInput, Prisma.OrganizationUncheckedCreateWithoutReservationsInput>;
|
|
2371
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2372
|
+
};
|
|
2373
|
+
export type OrganizationUpdateToOneWithWhereWithoutReservationsInput = {
|
|
2374
|
+
where?: Prisma.OrganizationWhereInput;
|
|
2375
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateWithoutReservationsInput, Prisma.OrganizationUncheckedUpdateWithoutReservationsInput>;
|
|
2376
|
+
};
|
|
2377
|
+
export type OrganizationUpdateWithoutReservationsInput = {
|
|
2378
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2379
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2380
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2381
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2382
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2383
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2384
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2385
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2386
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2387
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2388
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2389
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2390
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2391
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2392
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2393
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2394
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2395
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2396
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2397
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2398
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2399
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2400
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2401
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2402
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2403
|
+
};
|
|
2404
|
+
export type OrganizationUncheckedUpdateWithoutReservationsInput = {
|
|
2405
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2406
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2407
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2408
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2409
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2410
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2411
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2412
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2413
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2414
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2415
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2416
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2417
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2418
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2419
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2420
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2421
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2422
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2423
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2424
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2425
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2426
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2427
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2428
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2429
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2430
|
+
};
|
|
2431
|
+
export type OrganizationCreateManyConfigurationInput = {
|
|
2432
|
+
id?: string;
|
|
2433
|
+
name: string;
|
|
2434
|
+
slug?: string | null;
|
|
2435
|
+
phone?: string | null;
|
|
2436
|
+
email?: string | null;
|
|
2437
|
+
legalEntityId?: string | null;
|
|
2438
|
+
addressId: string;
|
|
2439
|
+
logo?: string | null;
|
|
2440
|
+
logoId?: string | null;
|
|
2441
|
+
createdAt?: Date | string;
|
|
2442
|
+
createdBy?: string | null;
|
|
2443
|
+
updatedAt?: Date | string;
|
|
2444
|
+
updatedBy?: string | null;
|
|
2445
|
+
deletedAt?: Date | string | null;
|
|
2446
|
+
deletedBy?: string | null;
|
|
2447
|
+
};
|
|
2448
|
+
export type OrganizationUpdateWithoutConfigurationInput = {
|
|
2449
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2450
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2451
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2452
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2453
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2454
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2455
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2456
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2457
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2458
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2459
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2460
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2461
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2462
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2463
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2464
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2465
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2466
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2467
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2468
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2469
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2470
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2471
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2472
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2473
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2474
|
+
};
|
|
2475
|
+
export type OrganizationUncheckedUpdateWithoutConfigurationInput = {
|
|
2476
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2477
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2478
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2479
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2480
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2481
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2482
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2483
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2484
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2485
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2486
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2488
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2489
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2490
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2491
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2492
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2493
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2494
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2495
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2496
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2497
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2498
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2499
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2500
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2501
|
+
};
|
|
2502
|
+
export type OrganizationUncheckedUpdateManyWithoutConfigurationInput = {
|
|
2503
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2504
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2505
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2506
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2507
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2508
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2509
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2510
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2511
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2512
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2513
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2514
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2515
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2516
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2517
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2518
|
+
};
|
|
2519
|
+
export type OrganizationCreateManyAddressInput = {
|
|
2520
|
+
id?: string;
|
|
2521
|
+
name: string;
|
|
2522
|
+
slug?: string | null;
|
|
2523
|
+
phone?: string | null;
|
|
2524
|
+
email?: string | null;
|
|
2525
|
+
legalEntityId?: string | null;
|
|
2526
|
+
configurationId: string;
|
|
2527
|
+
logo?: string | null;
|
|
2528
|
+
logoId?: string | null;
|
|
2529
|
+
createdAt?: Date | string;
|
|
2530
|
+
createdBy?: string | null;
|
|
2531
|
+
updatedAt?: Date | string;
|
|
2532
|
+
updatedBy?: string | null;
|
|
2533
|
+
deletedAt?: Date | string | null;
|
|
2534
|
+
deletedBy?: string | null;
|
|
2535
|
+
};
|
|
2536
|
+
export type OrganizationUpdateWithoutAddressInput = {
|
|
2537
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2538
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2539
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2540
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2541
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2542
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2543
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2544
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2545
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2546
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2547
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2548
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2549
|
+
legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
|
|
2550
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2551
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2552
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2553
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2554
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2555
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2556
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2557
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2558
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2559
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2560
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2561
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2562
|
+
};
|
|
2563
|
+
export type OrganizationUncheckedUpdateWithoutAddressInput = {
|
|
2564
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2565
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2566
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2567
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2568
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2569
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2570
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2571
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2572
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2573
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2574
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2575
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2576
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2577
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2578
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2579
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2580
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2581
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2582
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2583
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2584
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2585
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2586
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2587
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2588
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2589
|
+
};
|
|
2590
|
+
export type OrganizationUncheckedUpdateManyWithoutAddressInput = {
|
|
2591
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2592
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2593
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2594
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2595
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2596
|
+
legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2597
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2598
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2599
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2600
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2601
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2602
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2603
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2604
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2605
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2606
|
+
};
|
|
2607
|
+
export type OrganizationCreateManyLegalEntityInput = {
|
|
2608
|
+
id?: string;
|
|
2609
|
+
name: string;
|
|
2610
|
+
slug?: string | null;
|
|
2611
|
+
phone?: string | null;
|
|
2612
|
+
email?: string | null;
|
|
2613
|
+
addressId: string;
|
|
2614
|
+
configurationId: string;
|
|
2615
|
+
logo?: string | null;
|
|
2616
|
+
logoId?: string | null;
|
|
2617
|
+
createdAt?: Date | string;
|
|
2618
|
+
createdBy?: string | null;
|
|
2619
|
+
updatedAt?: Date | string;
|
|
2620
|
+
updatedBy?: string | null;
|
|
2621
|
+
deletedAt?: Date | string | null;
|
|
2622
|
+
deletedBy?: string | null;
|
|
2623
|
+
};
|
|
2624
|
+
export type OrganizationUpdateWithoutLegalEntityInput = {
|
|
2625
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2626
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2627
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2628
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2629
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2630
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2631
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2632
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2633
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2634
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2635
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2636
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2637
|
+
address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2638
|
+
configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
|
|
2639
|
+
logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
|
|
2640
|
+
files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
|
|
2641
|
+
members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
|
|
2642
|
+
invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
|
|
2643
|
+
orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
|
|
2644
|
+
campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
|
|
2645
|
+
shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
|
|
2646
|
+
manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
|
|
2647
|
+
productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
|
|
2648
|
+
products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
|
|
2649
|
+
reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
|
|
2650
|
+
};
|
|
2651
|
+
export type OrganizationUncheckedUpdateWithoutLegalEntityInput = {
|
|
2652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2653
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2654
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2655
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2656
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2657
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2658
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2659
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2660
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2661
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2662
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2663
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2664
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2665
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2666
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2667
|
+
files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2668
|
+
members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2669
|
+
invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2670
|
+
orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2671
|
+
campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2672
|
+
shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2673
|
+
manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2674
|
+
productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2675
|
+
products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2676
|
+
reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
|
|
2677
|
+
};
|
|
2678
|
+
export type OrganizationUncheckedUpdateManyWithoutLegalEntityInput = {
|
|
2679
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2680
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2681
|
+
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2682
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2683
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2684
|
+
addressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2685
|
+
configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2686
|
+
logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2687
|
+
logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2688
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2689
|
+
createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2690
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2691
|
+
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2692
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2693
|
+
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2694
|
+
};
|
|
2695
|
+
/**
|
|
2696
|
+
* Count Type OrganizationCountOutputType
|
|
2697
|
+
*/
|
|
2698
|
+
export type OrganizationCountOutputType = {
|
|
2699
|
+
files: number;
|
|
2700
|
+
members: number;
|
|
2701
|
+
invitations: number;
|
|
2702
|
+
orders: number;
|
|
2703
|
+
campaigns: number;
|
|
2704
|
+
shippingMethods: number;
|
|
2705
|
+
manufacturers: number;
|
|
2706
|
+
productCategories: number;
|
|
2707
|
+
products: number;
|
|
2708
|
+
reservations: number;
|
|
2709
|
+
};
|
|
2710
|
+
export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2711
|
+
files?: boolean | OrganizationCountOutputTypeCountFilesArgs;
|
|
2712
|
+
members?: boolean | OrganizationCountOutputTypeCountMembersArgs;
|
|
2713
|
+
invitations?: boolean | OrganizationCountOutputTypeCountInvitationsArgs;
|
|
2714
|
+
orders?: boolean | OrganizationCountOutputTypeCountOrdersArgs;
|
|
2715
|
+
campaigns?: boolean | OrganizationCountOutputTypeCountCampaignsArgs;
|
|
2716
|
+
shippingMethods?: boolean | OrganizationCountOutputTypeCountShippingMethodsArgs;
|
|
2717
|
+
manufacturers?: boolean | OrganizationCountOutputTypeCountManufacturersArgs;
|
|
2718
|
+
productCategories?: boolean | OrganizationCountOutputTypeCountProductCategoriesArgs;
|
|
2719
|
+
products?: boolean | OrganizationCountOutputTypeCountProductsArgs;
|
|
2720
|
+
reservations?: boolean | OrganizationCountOutputTypeCountReservationsArgs;
|
|
2721
|
+
};
|
|
2722
|
+
/**
|
|
2723
|
+
* OrganizationCountOutputType without action
|
|
2724
|
+
*/
|
|
2725
|
+
export type OrganizationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2726
|
+
/**
|
|
2727
|
+
* Select specific fields to fetch from the OrganizationCountOutputType
|
|
2728
|
+
*/
|
|
2729
|
+
select?: Prisma.OrganizationCountOutputTypeSelect<ExtArgs> | null;
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* OrganizationCountOutputType without action
|
|
2733
|
+
*/
|
|
2734
|
+
export type OrganizationCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2735
|
+
where?: Prisma.FileWhereInput;
|
|
2736
|
+
};
|
|
2737
|
+
/**
|
|
2738
|
+
* OrganizationCountOutputType without action
|
|
2739
|
+
*/
|
|
2740
|
+
export type OrganizationCountOutputTypeCountMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2741
|
+
where?: Prisma.MemberWhereInput;
|
|
2742
|
+
};
|
|
2743
|
+
/**
|
|
2744
|
+
* OrganizationCountOutputType without action
|
|
2745
|
+
*/
|
|
2746
|
+
export type OrganizationCountOutputTypeCountInvitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2747
|
+
where?: Prisma.InvitationWhereInput;
|
|
2748
|
+
};
|
|
2749
|
+
/**
|
|
2750
|
+
* OrganizationCountOutputType without action
|
|
2751
|
+
*/
|
|
2752
|
+
export type OrganizationCountOutputTypeCountOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2753
|
+
where?: Prisma.OrderWhereInput;
|
|
2754
|
+
};
|
|
2755
|
+
/**
|
|
2756
|
+
* OrganizationCountOutputType without action
|
|
2757
|
+
*/
|
|
2758
|
+
export type OrganizationCountOutputTypeCountCampaignsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2759
|
+
where?: Prisma.CampaignWhereInput;
|
|
2760
|
+
};
|
|
2761
|
+
/**
|
|
2762
|
+
* OrganizationCountOutputType without action
|
|
2763
|
+
*/
|
|
2764
|
+
export type OrganizationCountOutputTypeCountShippingMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2765
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
2766
|
+
};
|
|
2767
|
+
/**
|
|
2768
|
+
* OrganizationCountOutputType without action
|
|
2769
|
+
*/
|
|
2770
|
+
export type OrganizationCountOutputTypeCountManufacturersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2771
|
+
where?: Prisma.ManufacturerWhereInput;
|
|
2772
|
+
};
|
|
2773
|
+
/**
|
|
2774
|
+
* OrganizationCountOutputType without action
|
|
2775
|
+
*/
|
|
2776
|
+
export type OrganizationCountOutputTypeCountProductCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2777
|
+
where?: Prisma.ProductCategoryWhereInput;
|
|
2778
|
+
};
|
|
2779
|
+
/**
|
|
2780
|
+
* OrganizationCountOutputType without action
|
|
2781
|
+
*/
|
|
2782
|
+
export type OrganizationCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2783
|
+
where?: Prisma.ProductWhereInput;
|
|
2784
|
+
};
|
|
2785
|
+
/**
|
|
2786
|
+
* OrganizationCountOutputType without action
|
|
2787
|
+
*/
|
|
2788
|
+
export type OrganizationCountOutputTypeCountReservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2789
|
+
where?: Prisma.ReservationWhereInput;
|
|
2790
|
+
};
|
|
2791
|
+
export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2792
|
+
id?: boolean;
|
|
2793
|
+
name?: boolean;
|
|
2794
|
+
slug?: boolean;
|
|
2795
|
+
phone?: boolean;
|
|
2796
|
+
email?: boolean;
|
|
2797
|
+
legalEntityId?: boolean;
|
|
2798
|
+
addressId?: boolean;
|
|
2799
|
+
configurationId?: boolean;
|
|
2800
|
+
logo?: boolean;
|
|
2801
|
+
logoId?: boolean;
|
|
2802
|
+
createdAt?: boolean;
|
|
2803
|
+
createdBy?: boolean;
|
|
2804
|
+
updatedAt?: boolean;
|
|
2805
|
+
updatedBy?: boolean;
|
|
2806
|
+
deletedAt?: boolean;
|
|
2807
|
+
deletedBy?: boolean;
|
|
2808
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2809
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2810
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2811
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2812
|
+
files?: boolean | Prisma.Organization$filesArgs<ExtArgs>;
|
|
2813
|
+
members?: boolean | Prisma.Organization$membersArgs<ExtArgs>;
|
|
2814
|
+
invitations?: boolean | Prisma.Organization$invitationsArgs<ExtArgs>;
|
|
2815
|
+
orders?: boolean | Prisma.Organization$ordersArgs<ExtArgs>;
|
|
2816
|
+
campaigns?: boolean | Prisma.Organization$campaignsArgs<ExtArgs>;
|
|
2817
|
+
shippingMethods?: boolean | Prisma.Organization$shippingMethodsArgs<ExtArgs>;
|
|
2818
|
+
manufacturers?: boolean | Prisma.Organization$manufacturersArgs<ExtArgs>;
|
|
2819
|
+
productCategories?: boolean | Prisma.Organization$productCategoriesArgs<ExtArgs>;
|
|
2820
|
+
products?: boolean | Prisma.Organization$productsArgs<ExtArgs>;
|
|
2821
|
+
reservations?: boolean | Prisma.Organization$reservationsArgs<ExtArgs>;
|
|
2822
|
+
_count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2823
|
+
}, ExtArgs["result"]["organization"]>;
|
|
2824
|
+
export type OrganizationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2825
|
+
id?: boolean;
|
|
2826
|
+
name?: boolean;
|
|
2827
|
+
slug?: boolean;
|
|
2828
|
+
phone?: boolean;
|
|
2829
|
+
email?: boolean;
|
|
2830
|
+
legalEntityId?: boolean;
|
|
2831
|
+
addressId?: boolean;
|
|
2832
|
+
configurationId?: boolean;
|
|
2833
|
+
logo?: boolean;
|
|
2834
|
+
logoId?: boolean;
|
|
2835
|
+
createdAt?: boolean;
|
|
2836
|
+
createdBy?: boolean;
|
|
2837
|
+
updatedAt?: boolean;
|
|
2838
|
+
updatedBy?: boolean;
|
|
2839
|
+
deletedAt?: boolean;
|
|
2840
|
+
deletedBy?: boolean;
|
|
2841
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2842
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2843
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2844
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2845
|
+
}, ExtArgs["result"]["organization"]>;
|
|
2846
|
+
export type OrganizationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2847
|
+
id?: boolean;
|
|
2848
|
+
name?: boolean;
|
|
2849
|
+
slug?: boolean;
|
|
2850
|
+
phone?: boolean;
|
|
2851
|
+
email?: boolean;
|
|
2852
|
+
legalEntityId?: boolean;
|
|
2853
|
+
addressId?: boolean;
|
|
2854
|
+
configurationId?: boolean;
|
|
2855
|
+
logo?: boolean;
|
|
2856
|
+
logoId?: boolean;
|
|
2857
|
+
createdAt?: boolean;
|
|
2858
|
+
createdBy?: boolean;
|
|
2859
|
+
updatedAt?: boolean;
|
|
2860
|
+
updatedBy?: boolean;
|
|
2861
|
+
deletedAt?: boolean;
|
|
2862
|
+
deletedBy?: boolean;
|
|
2863
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2864
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2865
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2866
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2867
|
+
}, ExtArgs["result"]["organization"]>;
|
|
2868
|
+
export type OrganizationSelectScalar = {
|
|
2869
|
+
id?: boolean;
|
|
2870
|
+
name?: boolean;
|
|
2871
|
+
slug?: boolean;
|
|
2872
|
+
phone?: boolean;
|
|
2873
|
+
email?: boolean;
|
|
2874
|
+
legalEntityId?: boolean;
|
|
2875
|
+
addressId?: boolean;
|
|
2876
|
+
configurationId?: boolean;
|
|
2877
|
+
logo?: boolean;
|
|
2878
|
+
logoId?: boolean;
|
|
2879
|
+
createdAt?: boolean;
|
|
2880
|
+
createdBy?: boolean;
|
|
2881
|
+
updatedAt?: boolean;
|
|
2882
|
+
updatedBy?: boolean;
|
|
2883
|
+
deletedAt?: boolean;
|
|
2884
|
+
deletedBy?: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
export type OrganizationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slug" | "phone" | "email" | "legalEntityId" | "addressId" | "configurationId" | "logo" | "logoId" | "createdAt" | "createdBy" | "updatedAt" | "updatedBy" | "deletedAt" | "deletedBy", ExtArgs["result"]["organization"]>;
|
|
2887
|
+
export type OrganizationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2888
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2889
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2890
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2891
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2892
|
+
files?: boolean | Prisma.Organization$filesArgs<ExtArgs>;
|
|
2893
|
+
members?: boolean | Prisma.Organization$membersArgs<ExtArgs>;
|
|
2894
|
+
invitations?: boolean | Prisma.Organization$invitationsArgs<ExtArgs>;
|
|
2895
|
+
orders?: boolean | Prisma.Organization$ordersArgs<ExtArgs>;
|
|
2896
|
+
campaigns?: boolean | Prisma.Organization$campaignsArgs<ExtArgs>;
|
|
2897
|
+
shippingMethods?: boolean | Prisma.Organization$shippingMethodsArgs<ExtArgs>;
|
|
2898
|
+
manufacturers?: boolean | Prisma.Organization$manufacturersArgs<ExtArgs>;
|
|
2899
|
+
productCategories?: boolean | Prisma.Organization$productCategoriesArgs<ExtArgs>;
|
|
2900
|
+
products?: boolean | Prisma.Organization$productsArgs<ExtArgs>;
|
|
2901
|
+
reservations?: boolean | Prisma.Organization$reservationsArgs<ExtArgs>;
|
|
2902
|
+
_count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2903
|
+
};
|
|
2904
|
+
export type OrganizationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2905
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2906
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2907
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2908
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2909
|
+
};
|
|
2910
|
+
export type OrganizationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2911
|
+
legalEntity?: boolean | Prisma.Organization$legalEntityArgs<ExtArgs>;
|
|
2912
|
+
address?: boolean | Prisma.AddressDefaultArgs<ExtArgs>;
|
|
2913
|
+
configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
|
|
2914
|
+
logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
|
|
2915
|
+
};
|
|
2916
|
+
export type $OrganizationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2917
|
+
name: "Organization";
|
|
2918
|
+
objects: {
|
|
2919
|
+
legalEntity: Prisma.$LegalEntityPayload<ExtArgs> | null;
|
|
2920
|
+
address: Prisma.$AddressPayload<ExtArgs>;
|
|
2921
|
+
configuration: Prisma.$OrganizationConfigurationPayload<ExtArgs>;
|
|
2922
|
+
logoFile: Prisma.$FilePayload<ExtArgs> | null;
|
|
2923
|
+
files: Prisma.$FilePayload<ExtArgs>[];
|
|
2924
|
+
members: Prisma.$MemberPayload<ExtArgs>[];
|
|
2925
|
+
invitations: Prisma.$InvitationPayload<ExtArgs>[];
|
|
2926
|
+
orders: Prisma.$OrderPayload<ExtArgs>[];
|
|
2927
|
+
campaigns: Prisma.$CampaignPayload<ExtArgs>[];
|
|
2928
|
+
shippingMethods: Prisma.$ShippingMethodPayload<ExtArgs>[];
|
|
2929
|
+
manufacturers: Prisma.$ManufacturerPayload<ExtArgs>[];
|
|
2930
|
+
productCategories: Prisma.$ProductCategoryPayload<ExtArgs>[];
|
|
2931
|
+
products: Prisma.$ProductPayload<ExtArgs>[];
|
|
2932
|
+
reservations: Prisma.$ReservationPayload<ExtArgs>[];
|
|
2933
|
+
};
|
|
2934
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2935
|
+
id: string;
|
|
2936
|
+
name: string;
|
|
2937
|
+
slug: string | null;
|
|
2938
|
+
phone: string | null;
|
|
2939
|
+
email: string | null;
|
|
2940
|
+
legalEntityId: string | null;
|
|
2941
|
+
addressId: string;
|
|
2942
|
+
configurationId: string;
|
|
2943
|
+
logo: string | null;
|
|
2944
|
+
logoId: string | null;
|
|
2945
|
+
createdAt: Date;
|
|
2946
|
+
createdBy: string | null;
|
|
2947
|
+
updatedAt: Date;
|
|
2948
|
+
updatedBy: string | null;
|
|
2949
|
+
deletedAt: Date | null;
|
|
2950
|
+
deletedBy: string | null;
|
|
2951
|
+
}, ExtArgs["result"]["organization"]>;
|
|
2952
|
+
composites: {};
|
|
2953
|
+
};
|
|
2954
|
+
export type OrganizationGetPayload<S extends boolean | null | undefined | OrganizationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OrganizationPayload, S>;
|
|
2955
|
+
export type OrganizationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OrganizationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2956
|
+
select?: OrganizationCountAggregateInputType | true;
|
|
2957
|
+
};
|
|
2958
|
+
export interface OrganizationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2959
|
+
[K: symbol]: {
|
|
2960
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Organization'];
|
|
2961
|
+
meta: {
|
|
2962
|
+
name: 'Organization';
|
|
2963
|
+
};
|
|
2964
|
+
};
|
|
2965
|
+
/**
|
|
2966
|
+
* Find zero or one Organization that matches the filter.
|
|
2967
|
+
* @param {OrganizationFindUniqueArgs} args - Arguments to find a Organization
|
|
2968
|
+
* @example
|
|
2969
|
+
* // Get one Organization
|
|
2970
|
+
* const organization = await prisma.organization.findUnique({
|
|
2971
|
+
* where: {
|
|
2972
|
+
* // ... provide filter here
|
|
2973
|
+
* }
|
|
2974
|
+
* })
|
|
2975
|
+
*/
|
|
2976
|
+
findUnique<T extends OrganizationFindUniqueArgs>(args: Prisma.SelectSubset<T, OrganizationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Find one Organization that matches the filter or throw an error with `error.code='P2025'`
|
|
2979
|
+
* if no matches were found.
|
|
2980
|
+
* @param {OrganizationFindUniqueOrThrowArgs} args - Arguments to find a Organization
|
|
2981
|
+
* @example
|
|
2982
|
+
* // Get one Organization
|
|
2983
|
+
* const organization = await prisma.organization.findUniqueOrThrow({
|
|
2984
|
+
* where: {
|
|
2985
|
+
* // ... provide filter here
|
|
2986
|
+
* }
|
|
2987
|
+
* })
|
|
2988
|
+
*/
|
|
2989
|
+
findUniqueOrThrow<T extends OrganizationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OrganizationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2990
|
+
/**
|
|
2991
|
+
* Find the first Organization that matches the filter.
|
|
2992
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2993
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2994
|
+
* @param {OrganizationFindFirstArgs} args - Arguments to find a Organization
|
|
2995
|
+
* @example
|
|
2996
|
+
* // Get one Organization
|
|
2997
|
+
* const organization = await prisma.organization.findFirst({
|
|
2998
|
+
* where: {
|
|
2999
|
+
* // ... provide filter here
|
|
3000
|
+
* }
|
|
3001
|
+
* })
|
|
3002
|
+
*/
|
|
3003
|
+
findFirst<T extends OrganizationFindFirstArgs>(args?: Prisma.SelectSubset<T, OrganizationFindFirstArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
3004
|
+
/**
|
|
3005
|
+
* Find the first Organization that matches the filter or
|
|
3006
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
3007
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3008
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3009
|
+
* @param {OrganizationFindFirstOrThrowArgs} args - Arguments to find a Organization
|
|
3010
|
+
* @example
|
|
3011
|
+
* // Get one Organization
|
|
3012
|
+
* const organization = await prisma.organization.findFirstOrThrow({
|
|
3013
|
+
* where: {
|
|
3014
|
+
* // ... provide filter here
|
|
3015
|
+
* }
|
|
3016
|
+
* })
|
|
3017
|
+
*/
|
|
3018
|
+
findFirstOrThrow<T extends OrganizationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OrganizationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
3019
|
+
/**
|
|
3020
|
+
* Find zero or more Organizations that matches the filter.
|
|
3021
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3022
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3023
|
+
* @param {OrganizationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
3024
|
+
* @example
|
|
3025
|
+
* // Get all Organizations
|
|
3026
|
+
* const organizations = await prisma.organization.findMany()
|
|
3027
|
+
*
|
|
3028
|
+
* // Get first 10 Organizations
|
|
3029
|
+
* const organizations = await prisma.organization.findMany({ take: 10 })
|
|
3030
|
+
*
|
|
3031
|
+
* // Only select the `id`
|
|
3032
|
+
* const organizationWithIdOnly = await prisma.organization.findMany({ select: { id: true } })
|
|
3033
|
+
*
|
|
3034
|
+
*/
|
|
3035
|
+
findMany<T extends OrganizationFindManyArgs>(args?: Prisma.SelectSubset<T, OrganizationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
3036
|
+
/**
|
|
3037
|
+
* Create a Organization.
|
|
3038
|
+
* @param {OrganizationCreateArgs} args - Arguments to create a Organization.
|
|
3039
|
+
* @example
|
|
3040
|
+
* // Create one Organization
|
|
3041
|
+
* const Organization = await prisma.organization.create({
|
|
3042
|
+
* data: {
|
|
3043
|
+
* // ... data to create a Organization
|
|
3044
|
+
* }
|
|
3045
|
+
* })
|
|
3046
|
+
*
|
|
3047
|
+
*/
|
|
3048
|
+
create<T extends OrganizationCreateArgs>(args: Prisma.SelectSubset<T, OrganizationCreateArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
3049
|
+
/**
|
|
3050
|
+
* Create many Organizations.
|
|
3051
|
+
* @param {OrganizationCreateManyArgs} args - Arguments to create many Organizations.
|
|
3052
|
+
* @example
|
|
3053
|
+
* // Create many Organizations
|
|
3054
|
+
* const organization = await prisma.organization.createMany({
|
|
3055
|
+
* data: [
|
|
3056
|
+
* // ... provide data here
|
|
3057
|
+
* ]
|
|
3058
|
+
* })
|
|
3059
|
+
*
|
|
3060
|
+
*/
|
|
3061
|
+
createMany<T extends OrganizationCreateManyArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3062
|
+
/**
|
|
3063
|
+
* Create many Organizations and returns the data saved in the database.
|
|
3064
|
+
* @param {OrganizationCreateManyAndReturnArgs} args - Arguments to create many Organizations.
|
|
3065
|
+
* @example
|
|
3066
|
+
* // Create many Organizations
|
|
3067
|
+
* const organization = await prisma.organization.createManyAndReturn({
|
|
3068
|
+
* data: [
|
|
3069
|
+
* // ... provide data here
|
|
3070
|
+
* ]
|
|
3071
|
+
* })
|
|
3072
|
+
*
|
|
3073
|
+
* // Create many Organizations and only return the `id`
|
|
3074
|
+
* const organizationWithIdOnly = await prisma.organization.createManyAndReturn({
|
|
3075
|
+
* select: { id: true },
|
|
3076
|
+
* data: [
|
|
3077
|
+
* // ... provide data here
|
|
3078
|
+
* ]
|
|
3079
|
+
* })
|
|
3080
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3081
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3082
|
+
*
|
|
3083
|
+
*/
|
|
3084
|
+
createManyAndReturn<T extends OrganizationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Delete a Organization.
|
|
3087
|
+
* @param {OrganizationDeleteArgs} args - Arguments to delete one Organization.
|
|
3088
|
+
* @example
|
|
3089
|
+
* // Delete one Organization
|
|
3090
|
+
* const Organization = await prisma.organization.delete({
|
|
3091
|
+
* where: {
|
|
3092
|
+
* // ... filter to delete one Organization
|
|
3093
|
+
* }
|
|
3094
|
+
* })
|
|
3095
|
+
*
|
|
3096
|
+
*/
|
|
3097
|
+
delete<T extends OrganizationDeleteArgs>(args: Prisma.SelectSubset<T, OrganizationDeleteArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Update one Organization.
|
|
3100
|
+
* @param {OrganizationUpdateArgs} args - Arguments to update one Organization.
|
|
3101
|
+
* @example
|
|
3102
|
+
* // Update one Organization
|
|
3103
|
+
* const organization = await prisma.organization.update({
|
|
3104
|
+
* where: {
|
|
3105
|
+
* // ... provide filter here
|
|
3106
|
+
* },
|
|
3107
|
+
* data: {
|
|
3108
|
+
* // ... provide data here
|
|
3109
|
+
* }
|
|
3110
|
+
* })
|
|
3111
|
+
*
|
|
3112
|
+
*/
|
|
3113
|
+
update<T extends OrganizationUpdateArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
3114
|
+
/**
|
|
3115
|
+
* Delete zero or more Organizations.
|
|
3116
|
+
* @param {OrganizationDeleteManyArgs} args - Arguments to filter Organizations to delete.
|
|
3117
|
+
* @example
|
|
3118
|
+
* // Delete a few Organizations
|
|
3119
|
+
* const { count } = await prisma.organization.deleteMany({
|
|
3120
|
+
* where: {
|
|
3121
|
+
* // ... provide filter here
|
|
3122
|
+
* }
|
|
3123
|
+
* })
|
|
3124
|
+
*
|
|
3125
|
+
*/
|
|
3126
|
+
deleteMany<T extends OrganizationDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrganizationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3127
|
+
/**
|
|
3128
|
+
* Update zero or more Organizations.
|
|
3129
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3130
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3131
|
+
* @param {OrganizationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
3132
|
+
* @example
|
|
3133
|
+
* // Update many Organizations
|
|
3134
|
+
* const organization = await prisma.organization.updateMany({
|
|
3135
|
+
* where: {
|
|
3136
|
+
* // ... provide filter here
|
|
3137
|
+
* },
|
|
3138
|
+
* data: {
|
|
3139
|
+
* // ... provide data here
|
|
3140
|
+
* }
|
|
3141
|
+
* })
|
|
3142
|
+
*
|
|
3143
|
+
*/
|
|
3144
|
+
updateMany<T extends OrganizationUpdateManyArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Update zero or more Organizations and returns the data updated in the database.
|
|
3147
|
+
* @param {OrganizationUpdateManyAndReturnArgs} args - Arguments to update many Organizations.
|
|
3148
|
+
* @example
|
|
3149
|
+
* // Update many Organizations
|
|
3150
|
+
* const organization = await prisma.organization.updateManyAndReturn({
|
|
3151
|
+
* where: {
|
|
3152
|
+
* // ... provide filter here
|
|
3153
|
+
* },
|
|
3154
|
+
* data: [
|
|
3155
|
+
* // ... provide data here
|
|
3156
|
+
* ]
|
|
3157
|
+
* })
|
|
3158
|
+
*
|
|
3159
|
+
* // Update zero or more Organizations and only return the `id`
|
|
3160
|
+
* const organizationWithIdOnly = await prisma.organization.updateManyAndReturn({
|
|
3161
|
+
* select: { id: true },
|
|
3162
|
+
* where: {
|
|
3163
|
+
* // ... provide filter here
|
|
3164
|
+
* },
|
|
3165
|
+
* data: [
|
|
3166
|
+
* // ... provide data here
|
|
3167
|
+
* ]
|
|
3168
|
+
* })
|
|
3169
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3170
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3171
|
+
*
|
|
3172
|
+
*/
|
|
3173
|
+
updateManyAndReturn<T extends OrganizationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
3174
|
+
/**
|
|
3175
|
+
* Create or update one Organization.
|
|
3176
|
+
* @param {OrganizationUpsertArgs} args - Arguments to update or create a Organization.
|
|
3177
|
+
* @example
|
|
3178
|
+
* // Update or create a Organization
|
|
3179
|
+
* const organization = await prisma.organization.upsert({
|
|
3180
|
+
* create: {
|
|
3181
|
+
* // ... data to create a Organization
|
|
3182
|
+
* },
|
|
3183
|
+
* update: {
|
|
3184
|
+
* // ... in case it already exists, update
|
|
3185
|
+
* },
|
|
3186
|
+
* where: {
|
|
3187
|
+
* // ... the filter for the Organization we want to update
|
|
3188
|
+
* }
|
|
3189
|
+
* })
|
|
3190
|
+
*/
|
|
3191
|
+
upsert<T extends OrganizationUpsertArgs>(args: Prisma.SelectSubset<T, OrganizationUpsertArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
3192
|
+
/**
|
|
3193
|
+
* Count the number of Organizations.
|
|
3194
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3195
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3196
|
+
* @param {OrganizationCountArgs} args - Arguments to filter Organizations to count.
|
|
3197
|
+
* @example
|
|
3198
|
+
* // Count the number of Organizations
|
|
3199
|
+
* const count = await prisma.organization.count({
|
|
3200
|
+
* where: {
|
|
3201
|
+
* // ... the filter for the Organizations we want to count
|
|
3202
|
+
* }
|
|
3203
|
+
* })
|
|
3204
|
+
**/
|
|
3205
|
+
count<T extends OrganizationCountArgs>(args?: Prisma.Subset<T, OrganizationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OrganizationCountAggregateOutputType> : number>;
|
|
3206
|
+
/**
|
|
3207
|
+
* Allows you to perform aggregations operations on a Organization.
|
|
3208
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3209
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3210
|
+
* @param {OrganizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
3211
|
+
* @example
|
|
3212
|
+
* // Ordered by age ascending
|
|
3213
|
+
* // Where email contains prisma.io
|
|
3214
|
+
* // Limited to the 10 users
|
|
3215
|
+
* const aggregations = await prisma.user.aggregate({
|
|
3216
|
+
* _avg: {
|
|
3217
|
+
* age: true,
|
|
3218
|
+
* },
|
|
3219
|
+
* where: {
|
|
3220
|
+
* email: {
|
|
3221
|
+
* contains: "prisma.io",
|
|
3222
|
+
* },
|
|
3223
|
+
* },
|
|
3224
|
+
* orderBy: {
|
|
3225
|
+
* age: "asc",
|
|
3226
|
+
* },
|
|
3227
|
+
* take: 10,
|
|
3228
|
+
* })
|
|
3229
|
+
**/
|
|
3230
|
+
aggregate<T extends OrganizationAggregateArgs>(args: Prisma.Subset<T, OrganizationAggregateArgs>): Prisma.PrismaPromise<GetOrganizationAggregateType<T>>;
|
|
3231
|
+
/**
|
|
3232
|
+
* Group by Organization.
|
|
3233
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3234
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3235
|
+
* @param {OrganizationGroupByArgs} args - Group by arguments.
|
|
3236
|
+
* @example
|
|
3237
|
+
* // Group by city, order by createdAt, get count
|
|
3238
|
+
* const result = await prisma.user.groupBy({
|
|
3239
|
+
* by: ['city', 'createdAt'],
|
|
3240
|
+
* orderBy: {
|
|
3241
|
+
* createdAt: true
|
|
3242
|
+
* },
|
|
3243
|
+
* _count: {
|
|
3244
|
+
* _all: true
|
|
3245
|
+
* },
|
|
3246
|
+
* })
|
|
3247
|
+
*
|
|
3248
|
+
**/
|
|
3249
|
+
groupBy<T extends OrganizationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
3250
|
+
orderBy: OrganizationGroupByArgs['orderBy'];
|
|
3251
|
+
} : {
|
|
3252
|
+
orderBy?: OrganizationGroupByArgs['orderBy'];
|
|
3253
|
+
}, 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 ? {
|
|
3254
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
3255
|
+
Error,
|
|
3256
|
+
'Field ',
|
|
3257
|
+
P,
|
|
3258
|
+
` in "having" needs to be provided in "by"`
|
|
3259
|
+
];
|
|
3260
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
3261
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
3262
|
+
}[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 ? {} : {
|
|
3263
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
3264
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
3265
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
3266
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
3267
|
+
/**
|
|
3268
|
+
* Fields of the Organization model
|
|
3269
|
+
*/
|
|
3270
|
+
readonly fields: OrganizationFieldRefs;
|
|
3271
|
+
}
|
|
3272
|
+
/**
|
|
3273
|
+
* The delegate class that acts as a "Promise-like" for Organization.
|
|
3274
|
+
* Why is this prefixed with `Prisma__`?
|
|
3275
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
3276
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
3277
|
+
*/
|
|
3278
|
+
export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
3279
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
3280
|
+
legalEntity<T extends Prisma.Organization$legalEntityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$legalEntityArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
3281
|
+
address<T extends Prisma.AddressDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AddressDefaultArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
3282
|
+
configuration<T extends Prisma.OrganizationConfigurationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
3283
|
+
logoFile<T extends Prisma.Organization$logoFileArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$logoFileArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
3284
|
+
files<T extends Prisma.Organization$filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$filesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3285
|
+
members<T extends Prisma.Organization$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3286
|
+
invitations<T extends Prisma.Organization$invitationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$invitationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3287
|
+
orders<T extends Prisma.Organization$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3288
|
+
campaigns<T extends Prisma.Organization$campaignsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CampaignPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3289
|
+
shippingMethods<T extends Prisma.Organization$shippingMethodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$shippingMethodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3290
|
+
manufacturers<T extends Prisma.Organization$manufacturersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$manufacturersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3291
|
+
productCategories<T extends Prisma.Organization$productCategoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$productCategoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3292
|
+
products<T extends Prisma.Organization$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3293
|
+
reservations<T extends Prisma.Organization$reservationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$reservationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3294
|
+
/**
|
|
3295
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3296
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
3297
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3298
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
3299
|
+
*/
|
|
3300
|
+
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>;
|
|
3301
|
+
/**
|
|
3302
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
3303
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3304
|
+
* @returns A Promise for the completion of the callback.
|
|
3305
|
+
*/
|
|
3306
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
3307
|
+
/**
|
|
3308
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
3309
|
+
* resolved value cannot be modified from the callback.
|
|
3310
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
3311
|
+
* @returns A Promise for the completion of the callback.
|
|
3312
|
+
*/
|
|
3313
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
3314
|
+
}
|
|
3315
|
+
/**
|
|
3316
|
+
* Fields of the Organization model
|
|
3317
|
+
*/
|
|
3318
|
+
export interface OrganizationFieldRefs {
|
|
3319
|
+
readonly id: Prisma.FieldRef<"Organization", 'String'>;
|
|
3320
|
+
readonly name: Prisma.FieldRef<"Organization", 'String'>;
|
|
3321
|
+
readonly slug: Prisma.FieldRef<"Organization", 'String'>;
|
|
3322
|
+
readonly phone: Prisma.FieldRef<"Organization", 'String'>;
|
|
3323
|
+
readonly email: Prisma.FieldRef<"Organization", 'String'>;
|
|
3324
|
+
readonly legalEntityId: Prisma.FieldRef<"Organization", 'String'>;
|
|
3325
|
+
readonly addressId: Prisma.FieldRef<"Organization", 'String'>;
|
|
3326
|
+
readonly configurationId: Prisma.FieldRef<"Organization", 'String'>;
|
|
3327
|
+
readonly logo: Prisma.FieldRef<"Organization", 'String'>;
|
|
3328
|
+
readonly logoId: Prisma.FieldRef<"Organization", 'String'>;
|
|
3329
|
+
readonly createdAt: Prisma.FieldRef<"Organization", 'DateTime'>;
|
|
3330
|
+
readonly createdBy: Prisma.FieldRef<"Organization", 'String'>;
|
|
3331
|
+
readonly updatedAt: Prisma.FieldRef<"Organization", 'DateTime'>;
|
|
3332
|
+
readonly updatedBy: Prisma.FieldRef<"Organization", 'String'>;
|
|
3333
|
+
readonly deletedAt: Prisma.FieldRef<"Organization", 'DateTime'>;
|
|
3334
|
+
readonly deletedBy: Prisma.FieldRef<"Organization", 'String'>;
|
|
3335
|
+
}
|
|
3336
|
+
/**
|
|
3337
|
+
* Organization findUnique
|
|
3338
|
+
*/
|
|
3339
|
+
export type OrganizationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3340
|
+
/**
|
|
3341
|
+
* Select specific fields to fetch from the Organization
|
|
3342
|
+
*/
|
|
3343
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3344
|
+
/**
|
|
3345
|
+
* Omit specific fields from the Organization
|
|
3346
|
+
*/
|
|
3347
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3348
|
+
/**
|
|
3349
|
+
* Choose, which related nodes to fetch as well
|
|
3350
|
+
*/
|
|
3351
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3352
|
+
/**
|
|
3353
|
+
* Filter, which Organization to fetch.
|
|
3354
|
+
*/
|
|
3355
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
3356
|
+
};
|
|
3357
|
+
/**
|
|
3358
|
+
* Organization findUniqueOrThrow
|
|
3359
|
+
*/
|
|
3360
|
+
export type OrganizationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3361
|
+
/**
|
|
3362
|
+
* Select specific fields to fetch from the Organization
|
|
3363
|
+
*/
|
|
3364
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3365
|
+
/**
|
|
3366
|
+
* Omit specific fields from the Organization
|
|
3367
|
+
*/
|
|
3368
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3369
|
+
/**
|
|
3370
|
+
* Choose, which related nodes to fetch as well
|
|
3371
|
+
*/
|
|
3372
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3373
|
+
/**
|
|
3374
|
+
* Filter, which Organization to fetch.
|
|
3375
|
+
*/
|
|
3376
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
3377
|
+
};
|
|
3378
|
+
/**
|
|
3379
|
+
* Organization findFirst
|
|
3380
|
+
*/
|
|
3381
|
+
export type OrganizationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3382
|
+
/**
|
|
3383
|
+
* Select specific fields to fetch from the Organization
|
|
3384
|
+
*/
|
|
3385
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3386
|
+
/**
|
|
3387
|
+
* Omit specific fields from the Organization
|
|
3388
|
+
*/
|
|
3389
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3390
|
+
/**
|
|
3391
|
+
* Choose, which related nodes to fetch as well
|
|
3392
|
+
*/
|
|
3393
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3394
|
+
/**
|
|
3395
|
+
* Filter, which Organization to fetch.
|
|
3396
|
+
*/
|
|
3397
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3398
|
+
/**
|
|
3399
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3400
|
+
*
|
|
3401
|
+
* Determine the order of Organizations to fetch.
|
|
3402
|
+
*/
|
|
3403
|
+
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3404
|
+
/**
|
|
3405
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3406
|
+
*
|
|
3407
|
+
* Sets the position for searching for Organizations.
|
|
3408
|
+
*/
|
|
3409
|
+
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3410
|
+
/**
|
|
3411
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3412
|
+
*
|
|
3413
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3414
|
+
*/
|
|
3415
|
+
take?: number;
|
|
3416
|
+
/**
|
|
3417
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3418
|
+
*
|
|
3419
|
+
* Skip the first `n` Organizations.
|
|
3420
|
+
*/
|
|
3421
|
+
skip?: number;
|
|
3422
|
+
/**
|
|
3423
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3424
|
+
*
|
|
3425
|
+
* Filter by unique combinations of Organizations.
|
|
3426
|
+
*/
|
|
3427
|
+
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
3428
|
+
};
|
|
3429
|
+
/**
|
|
3430
|
+
* Organization findFirstOrThrow
|
|
3431
|
+
*/
|
|
3432
|
+
export type OrganizationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3433
|
+
/**
|
|
3434
|
+
* Select specific fields to fetch from the Organization
|
|
3435
|
+
*/
|
|
3436
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3437
|
+
/**
|
|
3438
|
+
* Omit specific fields from the Organization
|
|
3439
|
+
*/
|
|
3440
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3441
|
+
/**
|
|
3442
|
+
* Choose, which related nodes to fetch as well
|
|
3443
|
+
*/
|
|
3444
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3445
|
+
/**
|
|
3446
|
+
* Filter, which Organization to fetch.
|
|
3447
|
+
*/
|
|
3448
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3449
|
+
/**
|
|
3450
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3451
|
+
*
|
|
3452
|
+
* Determine the order of Organizations to fetch.
|
|
3453
|
+
*/
|
|
3454
|
+
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3455
|
+
/**
|
|
3456
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3457
|
+
*
|
|
3458
|
+
* Sets the position for searching for Organizations.
|
|
3459
|
+
*/
|
|
3460
|
+
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3461
|
+
/**
|
|
3462
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3463
|
+
*
|
|
3464
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3465
|
+
*/
|
|
3466
|
+
take?: number;
|
|
3467
|
+
/**
|
|
3468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3469
|
+
*
|
|
3470
|
+
* Skip the first `n` Organizations.
|
|
3471
|
+
*/
|
|
3472
|
+
skip?: number;
|
|
3473
|
+
/**
|
|
3474
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3475
|
+
*
|
|
3476
|
+
* Filter by unique combinations of Organizations.
|
|
3477
|
+
*/
|
|
3478
|
+
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
3479
|
+
};
|
|
3480
|
+
/**
|
|
3481
|
+
* Organization findMany
|
|
3482
|
+
*/
|
|
3483
|
+
export type OrganizationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3484
|
+
/**
|
|
3485
|
+
* Select specific fields to fetch from the Organization
|
|
3486
|
+
*/
|
|
3487
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3488
|
+
/**
|
|
3489
|
+
* Omit specific fields from the Organization
|
|
3490
|
+
*/
|
|
3491
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3492
|
+
/**
|
|
3493
|
+
* Choose, which related nodes to fetch as well
|
|
3494
|
+
*/
|
|
3495
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3496
|
+
/**
|
|
3497
|
+
* Filter, which Organizations to fetch.
|
|
3498
|
+
*/
|
|
3499
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3500
|
+
/**
|
|
3501
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3502
|
+
*
|
|
3503
|
+
* Determine the order of Organizations to fetch.
|
|
3504
|
+
*/
|
|
3505
|
+
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3506
|
+
/**
|
|
3507
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3508
|
+
*
|
|
3509
|
+
* Sets the position for listing Organizations.
|
|
3510
|
+
*/
|
|
3511
|
+
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3512
|
+
/**
|
|
3513
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3514
|
+
*
|
|
3515
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3516
|
+
*/
|
|
3517
|
+
take?: number;
|
|
3518
|
+
/**
|
|
3519
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3520
|
+
*
|
|
3521
|
+
* Skip the first `n` Organizations.
|
|
3522
|
+
*/
|
|
3523
|
+
skip?: number;
|
|
3524
|
+
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
3525
|
+
};
|
|
3526
|
+
/**
|
|
3527
|
+
* Organization create
|
|
3528
|
+
*/
|
|
3529
|
+
export type OrganizationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3530
|
+
/**
|
|
3531
|
+
* Select specific fields to fetch from the Organization
|
|
3532
|
+
*/
|
|
3533
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3534
|
+
/**
|
|
3535
|
+
* Omit specific fields from the Organization
|
|
3536
|
+
*/
|
|
3537
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3538
|
+
/**
|
|
3539
|
+
* Choose, which related nodes to fetch as well
|
|
3540
|
+
*/
|
|
3541
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3542
|
+
/**
|
|
3543
|
+
* The data needed to create a Organization.
|
|
3544
|
+
*/
|
|
3545
|
+
data: Prisma.XOR<Prisma.OrganizationCreateInput, Prisma.OrganizationUncheckedCreateInput>;
|
|
3546
|
+
};
|
|
3547
|
+
/**
|
|
3548
|
+
* Organization createMany
|
|
3549
|
+
*/
|
|
3550
|
+
export type OrganizationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3551
|
+
/**
|
|
3552
|
+
* The data used to create many Organizations.
|
|
3553
|
+
*/
|
|
3554
|
+
data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
|
|
3555
|
+
skipDuplicates?: boolean;
|
|
3556
|
+
};
|
|
3557
|
+
/**
|
|
3558
|
+
* Organization createManyAndReturn
|
|
3559
|
+
*/
|
|
3560
|
+
export type OrganizationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3561
|
+
/**
|
|
3562
|
+
* Select specific fields to fetch from the Organization
|
|
3563
|
+
*/
|
|
3564
|
+
select?: Prisma.OrganizationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
3565
|
+
/**
|
|
3566
|
+
* Omit specific fields from the Organization
|
|
3567
|
+
*/
|
|
3568
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3569
|
+
/**
|
|
3570
|
+
* The data used to create many Organizations.
|
|
3571
|
+
*/
|
|
3572
|
+
data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
|
|
3573
|
+
skipDuplicates?: boolean;
|
|
3574
|
+
/**
|
|
3575
|
+
* Choose, which related nodes to fetch as well
|
|
3576
|
+
*/
|
|
3577
|
+
include?: Prisma.OrganizationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
3578
|
+
};
|
|
3579
|
+
/**
|
|
3580
|
+
* Organization update
|
|
3581
|
+
*/
|
|
3582
|
+
export type OrganizationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3583
|
+
/**
|
|
3584
|
+
* Select specific fields to fetch from the Organization
|
|
3585
|
+
*/
|
|
3586
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3587
|
+
/**
|
|
3588
|
+
* Omit specific fields from the Organization
|
|
3589
|
+
*/
|
|
3590
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3591
|
+
/**
|
|
3592
|
+
* Choose, which related nodes to fetch as well
|
|
3593
|
+
*/
|
|
3594
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3595
|
+
/**
|
|
3596
|
+
* The data needed to update a Organization.
|
|
3597
|
+
*/
|
|
3598
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
|
|
3599
|
+
/**
|
|
3600
|
+
* Choose, which Organization to update.
|
|
3601
|
+
*/
|
|
3602
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
3603
|
+
};
|
|
3604
|
+
/**
|
|
3605
|
+
* Organization updateMany
|
|
3606
|
+
*/
|
|
3607
|
+
export type OrganizationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3608
|
+
/**
|
|
3609
|
+
* The data used to update Organizations.
|
|
3610
|
+
*/
|
|
3611
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
|
|
3612
|
+
/**
|
|
3613
|
+
* Filter which Organizations to update
|
|
3614
|
+
*/
|
|
3615
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3616
|
+
/**
|
|
3617
|
+
* Limit how many Organizations to update.
|
|
3618
|
+
*/
|
|
3619
|
+
limit?: number;
|
|
3620
|
+
};
|
|
3621
|
+
/**
|
|
3622
|
+
* Organization updateManyAndReturn
|
|
3623
|
+
*/
|
|
3624
|
+
export type OrganizationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3625
|
+
/**
|
|
3626
|
+
* Select specific fields to fetch from the Organization
|
|
3627
|
+
*/
|
|
3628
|
+
select?: Prisma.OrganizationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
3629
|
+
/**
|
|
3630
|
+
* Omit specific fields from the Organization
|
|
3631
|
+
*/
|
|
3632
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3633
|
+
/**
|
|
3634
|
+
* The data used to update Organizations.
|
|
3635
|
+
*/
|
|
3636
|
+
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
|
|
3637
|
+
/**
|
|
3638
|
+
* Filter which Organizations to update
|
|
3639
|
+
*/
|
|
3640
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3641
|
+
/**
|
|
3642
|
+
* Limit how many Organizations to update.
|
|
3643
|
+
*/
|
|
3644
|
+
limit?: number;
|
|
3645
|
+
/**
|
|
3646
|
+
* Choose, which related nodes to fetch as well
|
|
3647
|
+
*/
|
|
3648
|
+
include?: Prisma.OrganizationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
3649
|
+
};
|
|
3650
|
+
/**
|
|
3651
|
+
* Organization upsert
|
|
3652
|
+
*/
|
|
3653
|
+
export type OrganizationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3654
|
+
/**
|
|
3655
|
+
* Select specific fields to fetch from the Organization
|
|
3656
|
+
*/
|
|
3657
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3658
|
+
/**
|
|
3659
|
+
* Omit specific fields from the Organization
|
|
3660
|
+
*/
|
|
3661
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3662
|
+
/**
|
|
3663
|
+
* Choose, which related nodes to fetch as well
|
|
3664
|
+
*/
|
|
3665
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3666
|
+
/**
|
|
3667
|
+
* The filter to search for the Organization to update in case it exists.
|
|
3668
|
+
*/
|
|
3669
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
3670
|
+
/**
|
|
3671
|
+
* In case the Organization found by the `where` argument doesn't exist, create a new Organization with this data.
|
|
3672
|
+
*/
|
|
3673
|
+
create: Prisma.XOR<Prisma.OrganizationCreateInput, Prisma.OrganizationUncheckedCreateInput>;
|
|
3674
|
+
/**
|
|
3675
|
+
* In case the Organization was found with the provided `where` argument, update it with this data.
|
|
3676
|
+
*/
|
|
3677
|
+
update: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
|
|
3678
|
+
};
|
|
3679
|
+
/**
|
|
3680
|
+
* Organization delete
|
|
3681
|
+
*/
|
|
3682
|
+
export type OrganizationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3683
|
+
/**
|
|
3684
|
+
* Select specific fields to fetch from the Organization
|
|
3685
|
+
*/
|
|
3686
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3687
|
+
/**
|
|
3688
|
+
* Omit specific fields from the Organization
|
|
3689
|
+
*/
|
|
3690
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3691
|
+
/**
|
|
3692
|
+
* Choose, which related nodes to fetch as well
|
|
3693
|
+
*/
|
|
3694
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3695
|
+
/**
|
|
3696
|
+
* Filter which Organization to delete.
|
|
3697
|
+
*/
|
|
3698
|
+
where: Prisma.OrganizationWhereUniqueInput;
|
|
3699
|
+
};
|
|
3700
|
+
/**
|
|
3701
|
+
* Organization deleteMany
|
|
3702
|
+
*/
|
|
3703
|
+
export type OrganizationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3704
|
+
/**
|
|
3705
|
+
* Filter which Organizations to delete
|
|
3706
|
+
*/
|
|
3707
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3708
|
+
/**
|
|
3709
|
+
* Limit how many Organizations to delete.
|
|
3710
|
+
*/
|
|
3711
|
+
limit?: number;
|
|
3712
|
+
};
|
|
3713
|
+
/**
|
|
3714
|
+
* Organization.legalEntity
|
|
3715
|
+
*/
|
|
3716
|
+
export type Organization$legalEntityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3717
|
+
/**
|
|
3718
|
+
* Select specific fields to fetch from the LegalEntity
|
|
3719
|
+
*/
|
|
3720
|
+
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
3721
|
+
/**
|
|
3722
|
+
* Omit specific fields from the LegalEntity
|
|
3723
|
+
*/
|
|
3724
|
+
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
3725
|
+
/**
|
|
3726
|
+
* Choose, which related nodes to fetch as well
|
|
3727
|
+
*/
|
|
3728
|
+
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
3729
|
+
where?: Prisma.LegalEntityWhereInput;
|
|
3730
|
+
};
|
|
3731
|
+
/**
|
|
3732
|
+
* Organization.logoFile
|
|
3733
|
+
*/
|
|
3734
|
+
export type Organization$logoFileArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3735
|
+
/**
|
|
3736
|
+
* Select specific fields to fetch from the File
|
|
3737
|
+
*/
|
|
3738
|
+
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
3739
|
+
/**
|
|
3740
|
+
* Omit specific fields from the File
|
|
3741
|
+
*/
|
|
3742
|
+
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
3743
|
+
/**
|
|
3744
|
+
* Choose, which related nodes to fetch as well
|
|
3745
|
+
*/
|
|
3746
|
+
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
3747
|
+
where?: Prisma.FileWhereInput;
|
|
3748
|
+
};
|
|
3749
|
+
/**
|
|
3750
|
+
* Organization.files
|
|
3751
|
+
*/
|
|
3752
|
+
export type Organization$filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3753
|
+
/**
|
|
3754
|
+
* Select specific fields to fetch from the File
|
|
3755
|
+
*/
|
|
3756
|
+
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
3757
|
+
/**
|
|
3758
|
+
* Omit specific fields from the File
|
|
3759
|
+
*/
|
|
3760
|
+
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
3761
|
+
/**
|
|
3762
|
+
* Choose, which related nodes to fetch as well
|
|
3763
|
+
*/
|
|
3764
|
+
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
3765
|
+
where?: Prisma.FileWhereInput;
|
|
3766
|
+
orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
|
|
3767
|
+
cursor?: Prisma.FileWhereUniqueInput;
|
|
3768
|
+
take?: number;
|
|
3769
|
+
skip?: number;
|
|
3770
|
+
distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
|
|
3771
|
+
};
|
|
3772
|
+
/**
|
|
3773
|
+
* Organization.members
|
|
3774
|
+
*/
|
|
3775
|
+
export type Organization$membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3776
|
+
/**
|
|
3777
|
+
* Select specific fields to fetch from the Member
|
|
3778
|
+
*/
|
|
3779
|
+
select?: Prisma.MemberSelect<ExtArgs> | null;
|
|
3780
|
+
/**
|
|
3781
|
+
* Omit specific fields from the Member
|
|
3782
|
+
*/
|
|
3783
|
+
omit?: Prisma.MemberOmit<ExtArgs> | null;
|
|
3784
|
+
/**
|
|
3785
|
+
* Choose, which related nodes to fetch as well
|
|
3786
|
+
*/
|
|
3787
|
+
include?: Prisma.MemberInclude<ExtArgs> | null;
|
|
3788
|
+
where?: Prisma.MemberWhereInput;
|
|
3789
|
+
orderBy?: Prisma.MemberOrderByWithRelationInput | Prisma.MemberOrderByWithRelationInput[];
|
|
3790
|
+
cursor?: Prisma.MemberWhereUniqueInput;
|
|
3791
|
+
take?: number;
|
|
3792
|
+
skip?: number;
|
|
3793
|
+
distinct?: Prisma.MemberScalarFieldEnum | Prisma.MemberScalarFieldEnum[];
|
|
3794
|
+
};
|
|
3795
|
+
/**
|
|
3796
|
+
* Organization.invitations
|
|
3797
|
+
*/
|
|
3798
|
+
export type Organization$invitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3799
|
+
/**
|
|
3800
|
+
* Select specific fields to fetch from the Invitation
|
|
3801
|
+
*/
|
|
3802
|
+
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
3803
|
+
/**
|
|
3804
|
+
* Omit specific fields from the Invitation
|
|
3805
|
+
*/
|
|
3806
|
+
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
3807
|
+
/**
|
|
3808
|
+
* Choose, which related nodes to fetch as well
|
|
3809
|
+
*/
|
|
3810
|
+
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
3811
|
+
where?: Prisma.InvitationWhereInput;
|
|
3812
|
+
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
3813
|
+
cursor?: Prisma.InvitationWhereUniqueInput;
|
|
3814
|
+
take?: number;
|
|
3815
|
+
skip?: number;
|
|
3816
|
+
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
3817
|
+
};
|
|
3818
|
+
/**
|
|
3819
|
+
* Organization.orders
|
|
3820
|
+
*/
|
|
3821
|
+
export type Organization$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3822
|
+
/**
|
|
3823
|
+
* Select specific fields to fetch from the Order
|
|
3824
|
+
*/
|
|
3825
|
+
select?: Prisma.OrderSelect<ExtArgs> | null;
|
|
3826
|
+
/**
|
|
3827
|
+
* Omit specific fields from the Order
|
|
3828
|
+
*/
|
|
3829
|
+
omit?: Prisma.OrderOmit<ExtArgs> | null;
|
|
3830
|
+
/**
|
|
3831
|
+
* Choose, which related nodes to fetch as well
|
|
3832
|
+
*/
|
|
3833
|
+
include?: Prisma.OrderInclude<ExtArgs> | null;
|
|
3834
|
+
where?: Prisma.OrderWhereInput;
|
|
3835
|
+
orderBy?: Prisma.OrderOrderByWithRelationInput | Prisma.OrderOrderByWithRelationInput[];
|
|
3836
|
+
cursor?: Prisma.OrderWhereUniqueInput;
|
|
3837
|
+
take?: number;
|
|
3838
|
+
skip?: number;
|
|
3839
|
+
distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
|
|
3840
|
+
};
|
|
3841
|
+
/**
|
|
3842
|
+
* Organization.campaigns
|
|
3843
|
+
*/
|
|
3844
|
+
export type Organization$campaignsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3845
|
+
/**
|
|
3846
|
+
* Select specific fields to fetch from the Campaign
|
|
3847
|
+
*/
|
|
3848
|
+
select?: Prisma.CampaignSelect<ExtArgs> | null;
|
|
3849
|
+
/**
|
|
3850
|
+
* Omit specific fields from the Campaign
|
|
3851
|
+
*/
|
|
3852
|
+
omit?: Prisma.CampaignOmit<ExtArgs> | null;
|
|
3853
|
+
/**
|
|
3854
|
+
* Choose, which related nodes to fetch as well
|
|
3855
|
+
*/
|
|
3856
|
+
include?: Prisma.CampaignInclude<ExtArgs> | null;
|
|
3857
|
+
where?: Prisma.CampaignWhereInput;
|
|
3858
|
+
orderBy?: Prisma.CampaignOrderByWithRelationInput | Prisma.CampaignOrderByWithRelationInput[];
|
|
3859
|
+
cursor?: Prisma.CampaignWhereUniqueInput;
|
|
3860
|
+
take?: number;
|
|
3861
|
+
skip?: number;
|
|
3862
|
+
distinct?: Prisma.CampaignScalarFieldEnum | Prisma.CampaignScalarFieldEnum[];
|
|
3863
|
+
};
|
|
3864
|
+
/**
|
|
3865
|
+
* Organization.shippingMethods
|
|
3866
|
+
*/
|
|
3867
|
+
export type Organization$shippingMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3868
|
+
/**
|
|
3869
|
+
* Select specific fields to fetch from the ShippingMethod
|
|
3870
|
+
*/
|
|
3871
|
+
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
3872
|
+
/**
|
|
3873
|
+
* Omit specific fields from the ShippingMethod
|
|
3874
|
+
*/
|
|
3875
|
+
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
3876
|
+
/**
|
|
3877
|
+
* Choose, which related nodes to fetch as well
|
|
3878
|
+
*/
|
|
3879
|
+
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
3880
|
+
where?: Prisma.ShippingMethodWhereInput;
|
|
3881
|
+
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
3882
|
+
cursor?: Prisma.ShippingMethodWhereUniqueInput;
|
|
3883
|
+
take?: number;
|
|
3884
|
+
skip?: number;
|
|
3885
|
+
distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
|
|
3886
|
+
};
|
|
3887
|
+
/**
|
|
3888
|
+
* Organization.manufacturers
|
|
3889
|
+
*/
|
|
3890
|
+
export type Organization$manufacturersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3891
|
+
/**
|
|
3892
|
+
* Select specific fields to fetch from the Manufacturer
|
|
3893
|
+
*/
|
|
3894
|
+
select?: Prisma.ManufacturerSelect<ExtArgs> | null;
|
|
3895
|
+
/**
|
|
3896
|
+
* Omit specific fields from the Manufacturer
|
|
3897
|
+
*/
|
|
3898
|
+
omit?: Prisma.ManufacturerOmit<ExtArgs> | null;
|
|
3899
|
+
/**
|
|
3900
|
+
* Choose, which related nodes to fetch as well
|
|
3901
|
+
*/
|
|
3902
|
+
include?: Prisma.ManufacturerInclude<ExtArgs> | null;
|
|
3903
|
+
where?: Prisma.ManufacturerWhereInput;
|
|
3904
|
+
orderBy?: Prisma.ManufacturerOrderByWithRelationInput | Prisma.ManufacturerOrderByWithRelationInput[];
|
|
3905
|
+
cursor?: Prisma.ManufacturerWhereUniqueInput;
|
|
3906
|
+
take?: number;
|
|
3907
|
+
skip?: number;
|
|
3908
|
+
distinct?: Prisma.ManufacturerScalarFieldEnum | Prisma.ManufacturerScalarFieldEnum[];
|
|
3909
|
+
};
|
|
3910
|
+
/**
|
|
3911
|
+
* Organization.productCategories
|
|
3912
|
+
*/
|
|
3913
|
+
export type Organization$productCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3914
|
+
/**
|
|
3915
|
+
* Select specific fields to fetch from the ProductCategory
|
|
3916
|
+
*/
|
|
3917
|
+
select?: Prisma.ProductCategorySelect<ExtArgs> | null;
|
|
3918
|
+
/**
|
|
3919
|
+
* Omit specific fields from the ProductCategory
|
|
3920
|
+
*/
|
|
3921
|
+
omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
|
|
3922
|
+
/**
|
|
3923
|
+
* Choose, which related nodes to fetch as well
|
|
3924
|
+
*/
|
|
3925
|
+
include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
|
|
3926
|
+
where?: Prisma.ProductCategoryWhereInput;
|
|
3927
|
+
orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
|
|
3928
|
+
cursor?: Prisma.ProductCategoryWhereUniqueInput;
|
|
3929
|
+
take?: number;
|
|
3930
|
+
skip?: number;
|
|
3931
|
+
distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
|
|
3932
|
+
};
|
|
3933
|
+
/**
|
|
3934
|
+
* Organization.products
|
|
3935
|
+
*/
|
|
3936
|
+
export type Organization$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3937
|
+
/**
|
|
3938
|
+
* Select specific fields to fetch from the Product
|
|
3939
|
+
*/
|
|
3940
|
+
select?: Prisma.ProductSelect<ExtArgs> | null;
|
|
3941
|
+
/**
|
|
3942
|
+
* Omit specific fields from the Product
|
|
3943
|
+
*/
|
|
3944
|
+
omit?: Prisma.ProductOmit<ExtArgs> | null;
|
|
3945
|
+
/**
|
|
3946
|
+
* Choose, which related nodes to fetch as well
|
|
3947
|
+
*/
|
|
3948
|
+
include?: Prisma.ProductInclude<ExtArgs> | null;
|
|
3949
|
+
where?: Prisma.ProductWhereInput;
|
|
3950
|
+
orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
|
|
3951
|
+
cursor?: Prisma.ProductWhereUniqueInput;
|
|
3952
|
+
take?: number;
|
|
3953
|
+
skip?: number;
|
|
3954
|
+
distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
|
|
3955
|
+
};
|
|
3956
|
+
/**
|
|
3957
|
+
* Organization.reservations
|
|
3958
|
+
*/
|
|
3959
|
+
export type Organization$reservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3960
|
+
/**
|
|
3961
|
+
* Select specific fields to fetch from the Reservation
|
|
3962
|
+
*/
|
|
3963
|
+
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
3964
|
+
/**
|
|
3965
|
+
* Omit specific fields from the Reservation
|
|
3966
|
+
*/
|
|
3967
|
+
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
3968
|
+
/**
|
|
3969
|
+
* Choose, which related nodes to fetch as well
|
|
3970
|
+
*/
|
|
3971
|
+
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
3972
|
+
where?: Prisma.ReservationWhereInput;
|
|
3973
|
+
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
3974
|
+
cursor?: Prisma.ReservationWhereUniqueInput;
|
|
3975
|
+
take?: number;
|
|
3976
|
+
skip?: number;
|
|
3977
|
+
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
3978
|
+
};
|
|
3979
|
+
/**
|
|
3980
|
+
* Organization without action
|
|
3981
|
+
*/
|
|
3982
|
+
export type OrganizationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3983
|
+
/**
|
|
3984
|
+
* Select specific fields to fetch from the Organization
|
|
3985
|
+
*/
|
|
3986
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3987
|
+
/**
|
|
3988
|
+
* Omit specific fields from the Organization
|
|
3989
|
+
*/
|
|
3990
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3991
|
+
/**
|
|
3992
|
+
* Choose, which related nodes to fetch as well
|
|
3993
|
+
*/
|
|
3994
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3995
|
+
};
|
|
3996
|
+
export {};
|