@shophost/rest-api 2.0.31 → 2.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -14
- package/src/app.js +53 -1
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.js +41 -1
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/core/auth/auth.util.js +44 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/core/auth/better-auth.lib.js +100 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.d.ts +3 -0
- package/src/core/auth/generate-password-hash.util.js +30 -1
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.js +22 -1
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.js +30 -1
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +128 -0
- package/src/core/db/__generated__/client/browser.js +18 -1
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +143 -0
- package/src/core/db/__generated__/client/client.js +35 -1
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/core/db/__generated__/client/enums.js +200 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
- package/src/core/db/__generated__/client/internal/class.js +55 -1
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Account.js +2 -1
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
- package/src/core/db/__generated__/client/models/Address.js +2 -1
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
- package/src/core/db/__generated__/client/models/Campaign.js +2 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/File.d.ts +757 -0
- package/src/core/db/__generated__/client/models/File.js +2 -1
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Invitation.js +2 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
- package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
- package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Member.js +2 -1
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
- package/src/core/db/__generated__/client/models/Modifier.js +2 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
- package/src/core/db/__generated__/client/models/Order.js +2 -1
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
- package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
- package/src/core/db/__generated__/client/models/Organization.js +2 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
- package/src/core/db/__generated__/client/models/Payment.js +2 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
- package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
- package/src/core/db/__generated__/client/models/Product.js +2 -1
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
- package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
- package/src/core/db/__generated__/client/models/Reservation.js +2 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Session.js +2 -1
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
- package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/core/db/__generated__/client/models/User.d.ts +741 -0
- package/src/core/db/__generated__/client/models/User.js +2 -1
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
- package/src/core/db/__generated__/client/models/Verification.js +2 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/core/db/__generated__/client/models.js +2 -1
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.js +2 -1
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js +9 -1
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.js +123 -1
- package/src/core/hono/hono.js.map +1 -0
- package/src/core/lib/prisma.js +11 -1
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js +5 -1
- package/src/core/logging/pino.js.map +1 -0
- package/src/core/notifications/email.service.d.ts +15 -0
- package/src/core/notifications/email.service.js +116 -1
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.js +26 -1
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js +2 -1
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js +11 -1
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/core/utils/env.util.js +8 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.d.ts +10 -0
- package/src/core/utils/object.util.js +39 -1
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js +2 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/core/utils/zod.util.d.ts +12 -0
- package/src/core/utils/zod.util.js +85 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/db.js +3 -1
- package/src/db.js.map +1 -0
- package/src/features/access/access.handler.js +91 -1
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.js +220 -1
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.js +108 -1
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.js +294 -1
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.handler.js +17 -1
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.js +32 -1
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.js +39 -1
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/features/cart/cart.service.d.ts +7 -0
- package/src/features/cart/cart.service.js +97 -1
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/features/cart/cart.util.js +76 -1
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.js +23 -1
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.js +34 -1
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.js +77 -1
- package/src/features/file/file.schema.js.map +1 -0
- package/src/features/file/file.service.d.ts +6 -0
- package/src/features/file/file.service.js +66 -1
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.js +10 -1
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.js +25 -1
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.js +16 -1
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.js +25 -1
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.js +56 -1
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.js +50 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.d.ts +3 -0
- package/src/features/location/location.service.js +141 -1
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -1
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.js +125 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
- package/src/features/manufacturer/manufacturer.service.js +190 -1
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/features/order/emails/order-confirmation.email.js +229 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/features/order/emails/order-notification.email.js +229 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.js +3 -1
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.js +54 -1
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.js +111 -1
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.js +158 -1
- package/src/features/order/order.schema.js.map +1 -0
- package/src/features/order/order.service.d.ts +15 -0
- package/src/features/order/order.service.js +306 -1
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.js +38 -1
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.js +83 -1
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.js +115 -1
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.js +48 -1
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.js +84 -1
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.js +64 -1
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/features/organization/organization.service.d.ts +15 -0
- package/src/features/organization/organization.service.js +334 -1
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.js +16 -1
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.js +22 -1
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.js +46 -1
- package/src/features/payment/payment.schema.js.map +1 -0
- package/src/features/payment/payment.service.js +100 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/features/payment/stripe.service.js +164 -1
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.js +84 -1
- package/src/features/product/product-modifier.schema.js.map +1 -0
- package/src/features/product/product.handler.js +87 -1
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.js +179 -1
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.js +143 -1
- package/src/features/product/product.schema.js.map +1 -0
- package/src/features/product/product.service.d.ts +25 -0
- package/src/features/product/product.service.js +440 -1
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.js +59 -1
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.js +139 -1
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.js +86 -1
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/features/product-category/product-category.service.d.ts +22 -0
- package/src/features/product-category/product-category.service.js +220 -1
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-notification.email.js +93 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.js +65 -1
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.js +167 -1
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.js +51 -1
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/features/reservation/reservation.service.d.ts +18 -0
- package/src/features/reservation/reservation.service.js +231 -1
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.js +32 -1
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.js +51 -1
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/features/shipping/shipping.service.d.ts +7 -0
- package/src/features/shipping/shipping.service.js +96 -1
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -1
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.js +48 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
- package/src/features/shipping-method/shipping-method.service.js +229 -1
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.js +31 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.js +50 -1
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.js +33 -1
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.js +6 -1
- package/src/index.js.map +1 -0
- package/src/integrations/next.js +82 -1
- package/src/integrations/next.js.map +1 -0
- package/src/schemas/address.schema.d.ts +8 -0
- package/src/schemas/address.schema.js +112 -1
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +42 -0
- package/src/schemas/currency.schema.js +118 -1
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.js +12 -1
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/index.js +29 -1
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/locales.schema.js +238 -1
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/number.schema.js +29 -1
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/pagination.schema.js +54 -1
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.js +20 -1
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/queries.schema.js +6 -1
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/test/global-setup.js +37 -1
- package/src/test/global-setup.js.map +1 -0
- package/src/test/integration/api-fixtures.js +160 -1
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/seed.js +368 -1
- package/src/test/integration/seed.js.map +1 -0
- package/src/test/integration/test-helpers.js +154 -1
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.js +7 -1
- package/src/test/setup-test-env.js.map +1 -0
- package/scripts/minify.mjs +0 -110
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model Organization
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type OrganizationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationPayload>;
|
|
4
8
|
export type AggregateOrganization = {
|
|
5
9
|
_count: OrganizationCountAggregateOutputType | null;
|
|
@@ -117,13 +121,51 @@ export type OrganizationCountAggregateInputType = {
|
|
|
117
121
|
_all?: true;
|
|
118
122
|
};
|
|
119
123
|
export type OrganizationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
124
|
+
/**
|
|
125
|
+
* Filter which Organization to aggregate.
|
|
126
|
+
*/
|
|
120
127
|
where?: Prisma.OrganizationWhereInput;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
130
|
+
*
|
|
131
|
+
* Determine the order of Organizations to fetch.
|
|
132
|
+
*/
|
|
121
133
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
136
|
+
*
|
|
137
|
+
* Sets the start position
|
|
138
|
+
*/
|
|
122
139
|
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
142
|
+
*
|
|
143
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
144
|
+
*/
|
|
123
145
|
take?: number;
|
|
146
|
+
/**
|
|
147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
148
|
+
*
|
|
149
|
+
* Skip the first `n` Organizations.
|
|
150
|
+
*/
|
|
124
151
|
skip?: number;
|
|
152
|
+
/**
|
|
153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
154
|
+
*
|
|
155
|
+
* Count returned Organizations
|
|
156
|
+
**/
|
|
125
157
|
_count?: true | OrganizationCountAggregateInputType;
|
|
158
|
+
/**
|
|
159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
160
|
+
*
|
|
161
|
+
* Select which fields to find the minimum value
|
|
162
|
+
**/
|
|
126
163
|
_min?: OrganizationMinAggregateInputType;
|
|
164
|
+
/**
|
|
165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
166
|
+
*
|
|
167
|
+
* Select which fields to find the maximum value
|
|
168
|
+
**/
|
|
127
169
|
_max?: OrganizationMaxAggregateInputType;
|
|
128
170
|
};
|
|
129
171
|
export type GetOrganizationAggregateType<T extends OrganizationAggregateArgs> = {
|
|
@@ -2645,6 +2687,9 @@ export type OrganizationUncheckedUpdateManyWithoutLegalEntityInput = {
|
|
|
2645
2687
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2646
2688
|
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2647
2689
|
};
|
|
2690
|
+
/**
|
|
2691
|
+
* Count Type OrganizationCountOutputType
|
|
2692
|
+
*/
|
|
2648
2693
|
export type OrganizationCountOutputType = {
|
|
2649
2694
|
files: number;
|
|
2650
2695
|
members: number;
|
|
@@ -2669,36 +2714,72 @@ export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Exte
|
|
|
2669
2714
|
products?: boolean | OrganizationCountOutputTypeCountProductsArgs;
|
|
2670
2715
|
reservations?: boolean | OrganizationCountOutputTypeCountReservationsArgs;
|
|
2671
2716
|
};
|
|
2717
|
+
/**
|
|
2718
|
+
* OrganizationCountOutputType without action
|
|
2719
|
+
*/
|
|
2672
2720
|
export type OrganizationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2721
|
+
/**
|
|
2722
|
+
* Select specific fields to fetch from the OrganizationCountOutputType
|
|
2723
|
+
*/
|
|
2673
2724
|
select?: Prisma.OrganizationCountOutputTypeSelect<ExtArgs> | null;
|
|
2674
2725
|
};
|
|
2726
|
+
/**
|
|
2727
|
+
* OrganizationCountOutputType without action
|
|
2728
|
+
*/
|
|
2675
2729
|
export type OrganizationCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2676
2730
|
where?: Prisma.FileWhereInput;
|
|
2677
2731
|
};
|
|
2732
|
+
/**
|
|
2733
|
+
* OrganizationCountOutputType without action
|
|
2734
|
+
*/
|
|
2678
2735
|
export type OrganizationCountOutputTypeCountMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2679
2736
|
where?: Prisma.MemberWhereInput;
|
|
2680
2737
|
};
|
|
2738
|
+
/**
|
|
2739
|
+
* OrganizationCountOutputType without action
|
|
2740
|
+
*/
|
|
2681
2741
|
export type OrganizationCountOutputTypeCountInvitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2682
2742
|
where?: Prisma.InvitationWhereInput;
|
|
2683
2743
|
};
|
|
2744
|
+
/**
|
|
2745
|
+
* OrganizationCountOutputType without action
|
|
2746
|
+
*/
|
|
2684
2747
|
export type OrganizationCountOutputTypeCountOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2685
2748
|
where?: Prisma.OrderWhereInput;
|
|
2686
2749
|
};
|
|
2750
|
+
/**
|
|
2751
|
+
* OrganizationCountOutputType without action
|
|
2752
|
+
*/
|
|
2687
2753
|
export type OrganizationCountOutputTypeCountCampaignsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2688
2754
|
where?: Prisma.CampaignWhereInput;
|
|
2689
2755
|
};
|
|
2756
|
+
/**
|
|
2757
|
+
* OrganizationCountOutputType without action
|
|
2758
|
+
*/
|
|
2690
2759
|
export type OrganizationCountOutputTypeCountShippingMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2691
2760
|
where?: Prisma.ShippingMethodWhereInput;
|
|
2692
2761
|
};
|
|
2762
|
+
/**
|
|
2763
|
+
* OrganizationCountOutputType without action
|
|
2764
|
+
*/
|
|
2693
2765
|
export type OrganizationCountOutputTypeCountManufacturersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2694
2766
|
where?: Prisma.ManufacturerWhereInput;
|
|
2695
2767
|
};
|
|
2768
|
+
/**
|
|
2769
|
+
* OrganizationCountOutputType without action
|
|
2770
|
+
*/
|
|
2696
2771
|
export type OrganizationCountOutputTypeCountProductCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2697
2772
|
where?: Prisma.ProductCategoryWhereInput;
|
|
2698
2773
|
};
|
|
2774
|
+
/**
|
|
2775
|
+
* OrganizationCountOutputType without action
|
|
2776
|
+
*/
|
|
2699
2777
|
export type OrganizationCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2700
2778
|
where?: Prisma.ProductWhereInput;
|
|
2701
2779
|
};
|
|
2780
|
+
/**
|
|
2781
|
+
* OrganizationCountOutputType without action
|
|
2782
|
+
*/
|
|
2702
2783
|
export type OrganizationCountOutputTypeCountReservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2703
2784
|
where?: Prisma.ReservationWhereInput;
|
|
2704
2785
|
};
|
|
@@ -2876,22 +2957,290 @@ export interface OrganizationDelegate<ExtArgs extends runtime.Types.Extensions.I
|
|
|
2876
2957
|
name: 'Organization';
|
|
2877
2958
|
};
|
|
2878
2959
|
};
|
|
2960
|
+
/**
|
|
2961
|
+
* Find zero or one Organization that matches the filter.
|
|
2962
|
+
* @param {OrganizationFindUniqueArgs} args - Arguments to find a Organization
|
|
2963
|
+
* @example
|
|
2964
|
+
* // Get one Organization
|
|
2965
|
+
* const organization = await prisma.organization.findUnique({
|
|
2966
|
+
* where: {
|
|
2967
|
+
* // ... provide filter here
|
|
2968
|
+
* }
|
|
2969
|
+
* })
|
|
2970
|
+
*/
|
|
2879
2971
|
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>;
|
|
2972
|
+
/**
|
|
2973
|
+
* Find one Organization that matches the filter or throw an error with `error.code='P2025'`
|
|
2974
|
+
* if no matches were found.
|
|
2975
|
+
* @param {OrganizationFindUniqueOrThrowArgs} args - Arguments to find a Organization
|
|
2976
|
+
* @example
|
|
2977
|
+
* // Get one Organization
|
|
2978
|
+
* const organization = await prisma.organization.findUniqueOrThrow({
|
|
2979
|
+
* where: {
|
|
2980
|
+
* // ... provide filter here
|
|
2981
|
+
* }
|
|
2982
|
+
* })
|
|
2983
|
+
*/
|
|
2880
2984
|
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>;
|
|
2985
|
+
/**
|
|
2986
|
+
* Find the first Organization that matches the filter.
|
|
2987
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2988
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2989
|
+
* @param {OrganizationFindFirstArgs} args - Arguments to find a Organization
|
|
2990
|
+
* @example
|
|
2991
|
+
* // Get one Organization
|
|
2992
|
+
* const organization = await prisma.organization.findFirst({
|
|
2993
|
+
* where: {
|
|
2994
|
+
* // ... provide filter here
|
|
2995
|
+
* }
|
|
2996
|
+
* })
|
|
2997
|
+
*/
|
|
2881
2998
|
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>;
|
|
2999
|
+
/**
|
|
3000
|
+
* Find the first Organization that matches the filter or
|
|
3001
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
3002
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3003
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3004
|
+
* @param {OrganizationFindFirstOrThrowArgs} args - Arguments to find a Organization
|
|
3005
|
+
* @example
|
|
3006
|
+
* // Get one Organization
|
|
3007
|
+
* const organization = await prisma.organization.findFirstOrThrow({
|
|
3008
|
+
* where: {
|
|
3009
|
+
* // ... provide filter here
|
|
3010
|
+
* }
|
|
3011
|
+
* })
|
|
3012
|
+
*/
|
|
2882
3013
|
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>;
|
|
3014
|
+
/**
|
|
3015
|
+
* Find zero or more Organizations that matches the filter.
|
|
3016
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3017
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3018
|
+
* @param {OrganizationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
3019
|
+
* @example
|
|
3020
|
+
* // Get all Organizations
|
|
3021
|
+
* const organizations = await prisma.organization.findMany()
|
|
3022
|
+
*
|
|
3023
|
+
* // Get first 10 Organizations
|
|
3024
|
+
* const organizations = await prisma.organization.findMany({ take: 10 })
|
|
3025
|
+
*
|
|
3026
|
+
* // Only select the `id`
|
|
3027
|
+
* const organizationWithIdOnly = await prisma.organization.findMany({ select: { id: true } })
|
|
3028
|
+
*
|
|
3029
|
+
*/
|
|
2883
3030
|
findMany<T extends OrganizationFindManyArgs>(args?: Prisma.SelectSubset<T, OrganizationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
3031
|
+
/**
|
|
3032
|
+
* Create a Organization.
|
|
3033
|
+
* @param {OrganizationCreateArgs} args - Arguments to create a Organization.
|
|
3034
|
+
* @example
|
|
3035
|
+
* // Create one Organization
|
|
3036
|
+
* const Organization = await prisma.organization.create({
|
|
3037
|
+
* data: {
|
|
3038
|
+
* // ... data to create a Organization
|
|
3039
|
+
* }
|
|
3040
|
+
* })
|
|
3041
|
+
*
|
|
3042
|
+
*/
|
|
2884
3043
|
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>;
|
|
3044
|
+
/**
|
|
3045
|
+
* Create many Organizations.
|
|
3046
|
+
* @param {OrganizationCreateManyArgs} args - Arguments to create many Organizations.
|
|
3047
|
+
* @example
|
|
3048
|
+
* // Create many Organizations
|
|
3049
|
+
* const organization = await prisma.organization.createMany({
|
|
3050
|
+
* data: [
|
|
3051
|
+
* // ... provide data here
|
|
3052
|
+
* ]
|
|
3053
|
+
* })
|
|
3054
|
+
*
|
|
3055
|
+
*/
|
|
2885
3056
|
createMany<T extends OrganizationCreateManyArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3057
|
+
/**
|
|
3058
|
+
* Create many Organizations and returns the data saved in the database.
|
|
3059
|
+
* @param {OrganizationCreateManyAndReturnArgs} args - Arguments to create many Organizations.
|
|
3060
|
+
* @example
|
|
3061
|
+
* // Create many Organizations
|
|
3062
|
+
* const organization = await prisma.organization.createManyAndReturn({
|
|
3063
|
+
* data: [
|
|
3064
|
+
* // ... provide data here
|
|
3065
|
+
* ]
|
|
3066
|
+
* })
|
|
3067
|
+
*
|
|
3068
|
+
* // Create many Organizations and only return the `id`
|
|
3069
|
+
* const organizationWithIdOnly = await prisma.organization.createManyAndReturn({
|
|
3070
|
+
* select: { id: true },
|
|
3071
|
+
* data: [
|
|
3072
|
+
* // ... provide data here
|
|
3073
|
+
* ]
|
|
3074
|
+
* })
|
|
3075
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3076
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3077
|
+
*
|
|
3078
|
+
*/
|
|
2886
3079
|
createManyAndReturn<T extends OrganizationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
3080
|
+
/**
|
|
3081
|
+
* Delete a Organization.
|
|
3082
|
+
* @param {OrganizationDeleteArgs} args - Arguments to delete one Organization.
|
|
3083
|
+
* @example
|
|
3084
|
+
* // Delete one Organization
|
|
3085
|
+
* const Organization = await prisma.organization.delete({
|
|
3086
|
+
* where: {
|
|
3087
|
+
* // ... filter to delete one Organization
|
|
3088
|
+
* }
|
|
3089
|
+
* })
|
|
3090
|
+
*
|
|
3091
|
+
*/
|
|
2887
3092
|
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>;
|
|
3093
|
+
/**
|
|
3094
|
+
* Update one Organization.
|
|
3095
|
+
* @param {OrganizationUpdateArgs} args - Arguments to update one Organization.
|
|
3096
|
+
* @example
|
|
3097
|
+
* // Update one Organization
|
|
3098
|
+
* const organization = await prisma.organization.update({
|
|
3099
|
+
* where: {
|
|
3100
|
+
* // ... provide filter here
|
|
3101
|
+
* },
|
|
3102
|
+
* data: {
|
|
3103
|
+
* // ... provide data here
|
|
3104
|
+
* }
|
|
3105
|
+
* })
|
|
3106
|
+
*
|
|
3107
|
+
*/
|
|
2888
3108
|
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>;
|
|
3109
|
+
/**
|
|
3110
|
+
* Delete zero or more Organizations.
|
|
3111
|
+
* @param {OrganizationDeleteManyArgs} args - Arguments to filter Organizations to delete.
|
|
3112
|
+
* @example
|
|
3113
|
+
* // Delete a few Organizations
|
|
3114
|
+
* const { count } = await prisma.organization.deleteMany({
|
|
3115
|
+
* where: {
|
|
3116
|
+
* // ... provide filter here
|
|
3117
|
+
* }
|
|
3118
|
+
* })
|
|
3119
|
+
*
|
|
3120
|
+
*/
|
|
2889
3121
|
deleteMany<T extends OrganizationDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrganizationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3122
|
+
/**
|
|
3123
|
+
* Update zero or more Organizations.
|
|
3124
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3125
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3126
|
+
* @param {OrganizationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
3127
|
+
* @example
|
|
3128
|
+
* // Update many Organizations
|
|
3129
|
+
* const organization = await prisma.organization.updateMany({
|
|
3130
|
+
* where: {
|
|
3131
|
+
* // ... provide filter here
|
|
3132
|
+
* },
|
|
3133
|
+
* data: {
|
|
3134
|
+
* // ... provide data here
|
|
3135
|
+
* }
|
|
3136
|
+
* })
|
|
3137
|
+
*
|
|
3138
|
+
*/
|
|
2890
3139
|
updateMany<T extends OrganizationUpdateManyArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
3140
|
+
/**
|
|
3141
|
+
* Update zero or more Organizations and returns the data updated in the database.
|
|
3142
|
+
* @param {OrganizationUpdateManyAndReturnArgs} args - Arguments to update many Organizations.
|
|
3143
|
+
* @example
|
|
3144
|
+
* // Update many Organizations
|
|
3145
|
+
* const organization = await prisma.organization.updateManyAndReturn({
|
|
3146
|
+
* where: {
|
|
3147
|
+
* // ... provide filter here
|
|
3148
|
+
* },
|
|
3149
|
+
* data: [
|
|
3150
|
+
* // ... provide data here
|
|
3151
|
+
* ]
|
|
3152
|
+
* })
|
|
3153
|
+
*
|
|
3154
|
+
* // Update zero or more Organizations and only return the `id`
|
|
3155
|
+
* const organizationWithIdOnly = await prisma.organization.updateManyAndReturn({
|
|
3156
|
+
* select: { id: true },
|
|
3157
|
+
* where: {
|
|
3158
|
+
* // ... provide filter here
|
|
3159
|
+
* },
|
|
3160
|
+
* data: [
|
|
3161
|
+
* // ... provide data here
|
|
3162
|
+
* ]
|
|
3163
|
+
* })
|
|
3164
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3165
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3166
|
+
*
|
|
3167
|
+
*/
|
|
2891
3168
|
updateManyAndReturn<T extends OrganizationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Create or update one Organization.
|
|
3171
|
+
* @param {OrganizationUpsertArgs} args - Arguments to update or create a Organization.
|
|
3172
|
+
* @example
|
|
3173
|
+
* // Update or create a Organization
|
|
3174
|
+
* const organization = await prisma.organization.upsert({
|
|
3175
|
+
* create: {
|
|
3176
|
+
* // ... data to create a Organization
|
|
3177
|
+
* },
|
|
3178
|
+
* update: {
|
|
3179
|
+
* // ... in case it already exists, update
|
|
3180
|
+
* },
|
|
3181
|
+
* where: {
|
|
3182
|
+
* // ... the filter for the Organization we want to update
|
|
3183
|
+
* }
|
|
3184
|
+
* })
|
|
3185
|
+
*/
|
|
2892
3186
|
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>;
|
|
3187
|
+
/**
|
|
3188
|
+
* Count the number of Organizations.
|
|
3189
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3190
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3191
|
+
* @param {OrganizationCountArgs} args - Arguments to filter Organizations to count.
|
|
3192
|
+
* @example
|
|
3193
|
+
* // Count the number of Organizations
|
|
3194
|
+
* const count = await prisma.organization.count({
|
|
3195
|
+
* where: {
|
|
3196
|
+
* // ... the filter for the Organizations we want to count
|
|
3197
|
+
* }
|
|
3198
|
+
* })
|
|
3199
|
+
**/
|
|
2893
3200
|
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>;
|
|
3201
|
+
/**
|
|
3202
|
+
* Allows you to perform aggregations operations on a Organization.
|
|
3203
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3204
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3205
|
+
* @param {OrganizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
3206
|
+
* @example
|
|
3207
|
+
* // Ordered by age ascending
|
|
3208
|
+
* // Where email contains prisma.io
|
|
3209
|
+
* // Limited to the 10 users
|
|
3210
|
+
* const aggregations = await prisma.user.aggregate({
|
|
3211
|
+
* _avg: {
|
|
3212
|
+
* age: true,
|
|
3213
|
+
* },
|
|
3214
|
+
* where: {
|
|
3215
|
+
* email: {
|
|
3216
|
+
* contains: "prisma.io",
|
|
3217
|
+
* },
|
|
3218
|
+
* },
|
|
3219
|
+
* orderBy: {
|
|
3220
|
+
* age: "asc",
|
|
3221
|
+
* },
|
|
3222
|
+
* take: 10,
|
|
3223
|
+
* })
|
|
3224
|
+
**/
|
|
2894
3225
|
aggregate<T extends OrganizationAggregateArgs>(args: Prisma.Subset<T, OrganizationAggregateArgs>): Prisma.PrismaPromise<GetOrganizationAggregateType<T>>;
|
|
3226
|
+
/**
|
|
3227
|
+
* Group by Organization.
|
|
3228
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3229
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3230
|
+
* @param {OrganizationGroupByArgs} args - Group by arguments.
|
|
3231
|
+
* @example
|
|
3232
|
+
* // Group by city, order by createdAt, get count
|
|
3233
|
+
* const result = await prisma.user.groupBy({
|
|
3234
|
+
* by: ['city', 'createdAt'],
|
|
3235
|
+
* orderBy: {
|
|
3236
|
+
* createdAt: true
|
|
3237
|
+
* },
|
|
3238
|
+
* _count: {
|
|
3239
|
+
* _all: true
|
|
3240
|
+
* },
|
|
3241
|
+
* })
|
|
3242
|
+
*
|
|
3243
|
+
**/
|
|
2895
3244
|
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 ? {
|
|
2896
3245
|
orderBy: OrganizationGroupByArgs['orderBy'];
|
|
2897
3246
|
} : {
|
|
@@ -2910,8 +3259,17 @@ export interface OrganizationDelegate<ExtArgs extends runtime.Types.Extensions.I
|
|
|
2910
3259
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2911
3260
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2912
3261
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
3262
|
+
/**
|
|
3263
|
+
* Fields of the Organization model
|
|
3264
|
+
*/
|
|
2913
3265
|
readonly fields: OrganizationFieldRefs;
|
|
2914
3266
|
}
|
|
3267
|
+
/**
|
|
3268
|
+
* The delegate class that acts as a "Promise-like" for Organization.
|
|
3269
|
+
* Why is this prefixed with `Prisma__`?
|
|
3270
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
3271
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
3272
|
+
*/
|
|
2915
3273
|
export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2916
3274
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2917
3275
|
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>;
|
|
@@ -2928,10 +3286,30 @@ export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends run
|
|
|
2928
3286
|
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>;
|
|
2929
3287
|
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>;
|
|
2930
3288
|
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>;
|
|
3289
|
+
/**
|
|
3290
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3291
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
3292
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3293
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
3294
|
+
*/
|
|
2931
3295
|
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>;
|
|
3296
|
+
/**
|
|
3297
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
3298
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3299
|
+
* @returns A Promise for the completion of the callback.
|
|
3300
|
+
*/
|
|
2932
3301
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
3302
|
+
/**
|
|
3303
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
3304
|
+
* resolved value cannot be modified from the callback.
|
|
3305
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
3306
|
+
* @returns A Promise for the completion of the callback.
|
|
3307
|
+
*/
|
|
2933
3308
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2934
3309
|
}
|
|
3310
|
+
/**
|
|
3311
|
+
* Fields of the Organization model
|
|
3312
|
+
*/
|
|
2935
3313
|
export interface OrganizationFieldRefs {
|
|
2936
3314
|
readonly id: Prisma.FieldRef<"Organization", 'String'>;
|
|
2937
3315
|
readonly name: Prisma.FieldRef<"Organization", 'String'>;
|
|
@@ -2950,121 +3328,439 @@ export interface OrganizationFieldRefs {
|
|
|
2950
3328
|
readonly deletedAt: Prisma.FieldRef<"Organization", 'DateTime'>;
|
|
2951
3329
|
readonly deletedBy: Prisma.FieldRef<"Organization", 'String'>;
|
|
2952
3330
|
}
|
|
3331
|
+
/**
|
|
3332
|
+
* Organization findUnique
|
|
3333
|
+
*/
|
|
2953
3334
|
export type OrganizationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3335
|
+
/**
|
|
3336
|
+
* Select specific fields to fetch from the Organization
|
|
3337
|
+
*/
|
|
2954
3338
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3339
|
+
/**
|
|
3340
|
+
* Omit specific fields from the Organization
|
|
3341
|
+
*/
|
|
2955
3342
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3343
|
+
/**
|
|
3344
|
+
* Choose, which related nodes to fetch as well
|
|
3345
|
+
*/
|
|
2956
3346
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3347
|
+
/**
|
|
3348
|
+
* Filter, which Organization to fetch.
|
|
3349
|
+
*/
|
|
2957
3350
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
2958
3351
|
};
|
|
3352
|
+
/**
|
|
3353
|
+
* Organization findUniqueOrThrow
|
|
3354
|
+
*/
|
|
2959
3355
|
export type OrganizationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3356
|
+
/**
|
|
3357
|
+
* Select specific fields to fetch from the Organization
|
|
3358
|
+
*/
|
|
2960
3359
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3360
|
+
/**
|
|
3361
|
+
* Omit specific fields from the Organization
|
|
3362
|
+
*/
|
|
2961
3363
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3364
|
+
/**
|
|
3365
|
+
* Choose, which related nodes to fetch as well
|
|
3366
|
+
*/
|
|
2962
3367
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3368
|
+
/**
|
|
3369
|
+
* Filter, which Organization to fetch.
|
|
3370
|
+
*/
|
|
2963
3371
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
2964
3372
|
};
|
|
3373
|
+
/**
|
|
3374
|
+
* Organization findFirst
|
|
3375
|
+
*/
|
|
2965
3376
|
export type OrganizationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3377
|
+
/**
|
|
3378
|
+
* Select specific fields to fetch from the Organization
|
|
3379
|
+
*/
|
|
2966
3380
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3381
|
+
/**
|
|
3382
|
+
* Omit specific fields from the Organization
|
|
3383
|
+
*/
|
|
2967
3384
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3385
|
+
/**
|
|
3386
|
+
* Choose, which related nodes to fetch as well
|
|
3387
|
+
*/
|
|
2968
3388
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3389
|
+
/**
|
|
3390
|
+
* Filter, which Organization to fetch.
|
|
3391
|
+
*/
|
|
2969
3392
|
where?: Prisma.OrganizationWhereInput;
|
|
3393
|
+
/**
|
|
3394
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3395
|
+
*
|
|
3396
|
+
* Determine the order of Organizations to fetch.
|
|
3397
|
+
*/
|
|
2970
3398
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3399
|
+
/**
|
|
3400
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3401
|
+
*
|
|
3402
|
+
* Sets the position for searching for Organizations.
|
|
3403
|
+
*/
|
|
2971
3404
|
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3405
|
+
/**
|
|
3406
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3407
|
+
*
|
|
3408
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3409
|
+
*/
|
|
2972
3410
|
take?: number;
|
|
3411
|
+
/**
|
|
3412
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3413
|
+
*
|
|
3414
|
+
* Skip the first `n` Organizations.
|
|
3415
|
+
*/
|
|
2973
3416
|
skip?: number;
|
|
3417
|
+
/**
|
|
3418
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3419
|
+
*
|
|
3420
|
+
* Filter by unique combinations of Organizations.
|
|
3421
|
+
*/
|
|
2974
3422
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
2975
3423
|
};
|
|
3424
|
+
/**
|
|
3425
|
+
* Organization findFirstOrThrow
|
|
3426
|
+
*/
|
|
2976
3427
|
export type OrganizationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3428
|
+
/**
|
|
3429
|
+
* Select specific fields to fetch from the Organization
|
|
3430
|
+
*/
|
|
2977
3431
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3432
|
+
/**
|
|
3433
|
+
* Omit specific fields from the Organization
|
|
3434
|
+
*/
|
|
2978
3435
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3436
|
+
/**
|
|
3437
|
+
* Choose, which related nodes to fetch as well
|
|
3438
|
+
*/
|
|
2979
3439
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3440
|
+
/**
|
|
3441
|
+
* Filter, which Organization to fetch.
|
|
3442
|
+
*/
|
|
2980
3443
|
where?: Prisma.OrganizationWhereInput;
|
|
3444
|
+
/**
|
|
3445
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3446
|
+
*
|
|
3447
|
+
* Determine the order of Organizations to fetch.
|
|
3448
|
+
*/
|
|
2981
3449
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3450
|
+
/**
|
|
3451
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3452
|
+
*
|
|
3453
|
+
* Sets the position for searching for Organizations.
|
|
3454
|
+
*/
|
|
2982
3455
|
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3456
|
+
/**
|
|
3457
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3458
|
+
*
|
|
3459
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3460
|
+
*/
|
|
2983
3461
|
take?: number;
|
|
3462
|
+
/**
|
|
3463
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3464
|
+
*
|
|
3465
|
+
* Skip the first `n` Organizations.
|
|
3466
|
+
*/
|
|
2984
3467
|
skip?: number;
|
|
3468
|
+
/**
|
|
3469
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3470
|
+
*
|
|
3471
|
+
* Filter by unique combinations of Organizations.
|
|
3472
|
+
*/
|
|
2985
3473
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
2986
3474
|
};
|
|
3475
|
+
/**
|
|
3476
|
+
* Organization findMany
|
|
3477
|
+
*/
|
|
2987
3478
|
export type OrganizationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3479
|
+
/**
|
|
3480
|
+
* Select specific fields to fetch from the Organization
|
|
3481
|
+
*/
|
|
2988
3482
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3483
|
+
/**
|
|
3484
|
+
* Omit specific fields from the Organization
|
|
3485
|
+
*/
|
|
2989
3486
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3487
|
+
/**
|
|
3488
|
+
* Choose, which related nodes to fetch as well
|
|
3489
|
+
*/
|
|
2990
3490
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3491
|
+
/**
|
|
3492
|
+
* Filter, which Organizations to fetch.
|
|
3493
|
+
*/
|
|
2991
3494
|
where?: Prisma.OrganizationWhereInput;
|
|
3495
|
+
/**
|
|
3496
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3497
|
+
*
|
|
3498
|
+
* Determine the order of Organizations to fetch.
|
|
3499
|
+
*/
|
|
2992
3500
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
3501
|
+
/**
|
|
3502
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3503
|
+
*
|
|
3504
|
+
* Sets the position for listing Organizations.
|
|
3505
|
+
*/
|
|
2993
3506
|
cursor?: Prisma.OrganizationWhereUniqueInput;
|
|
3507
|
+
/**
|
|
3508
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3509
|
+
*
|
|
3510
|
+
* Take `±n` Organizations from the position of the cursor.
|
|
3511
|
+
*/
|
|
2994
3512
|
take?: number;
|
|
3513
|
+
/**
|
|
3514
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3515
|
+
*
|
|
3516
|
+
* Skip the first `n` Organizations.
|
|
3517
|
+
*/
|
|
2995
3518
|
skip?: number;
|
|
3519
|
+
/**
|
|
3520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3521
|
+
*
|
|
3522
|
+
* Filter by unique combinations of Organizations.
|
|
3523
|
+
*/
|
|
2996
3524
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
2997
3525
|
};
|
|
3526
|
+
/**
|
|
3527
|
+
* Organization create
|
|
3528
|
+
*/
|
|
2998
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
|
+
*/
|
|
2999
3533
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3534
|
+
/**
|
|
3535
|
+
* Omit specific fields from the Organization
|
|
3536
|
+
*/
|
|
3000
3537
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3538
|
+
/**
|
|
3539
|
+
* Choose, which related nodes to fetch as well
|
|
3540
|
+
*/
|
|
3001
3541
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3542
|
+
/**
|
|
3543
|
+
* The data needed to create a Organization.
|
|
3544
|
+
*/
|
|
3002
3545
|
data: Prisma.XOR<Prisma.OrganizationCreateInput, Prisma.OrganizationUncheckedCreateInput>;
|
|
3003
3546
|
};
|
|
3547
|
+
/**
|
|
3548
|
+
* Organization createMany
|
|
3549
|
+
*/
|
|
3004
3550
|
export type OrganizationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3551
|
+
/**
|
|
3552
|
+
* The data used to create many Organizations.
|
|
3553
|
+
*/
|
|
3005
3554
|
data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
|
|
3006
3555
|
skipDuplicates?: boolean;
|
|
3007
3556
|
};
|
|
3557
|
+
/**
|
|
3558
|
+
* Organization createManyAndReturn
|
|
3559
|
+
*/
|
|
3008
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
|
+
*/
|
|
3009
3564
|
select?: Prisma.OrganizationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
3565
|
+
/**
|
|
3566
|
+
* Omit specific fields from the Organization
|
|
3567
|
+
*/
|
|
3010
3568
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3569
|
+
/**
|
|
3570
|
+
* The data used to create many Organizations.
|
|
3571
|
+
*/
|
|
3011
3572
|
data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
|
|
3012
3573
|
skipDuplicates?: boolean;
|
|
3574
|
+
/**
|
|
3575
|
+
* Choose, which related nodes to fetch as well
|
|
3576
|
+
*/
|
|
3013
3577
|
include?: Prisma.OrganizationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
3014
3578
|
};
|
|
3579
|
+
/**
|
|
3580
|
+
* Organization update
|
|
3581
|
+
*/
|
|
3015
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
|
+
*/
|
|
3016
3586
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3587
|
+
/**
|
|
3588
|
+
* Omit specific fields from the Organization
|
|
3589
|
+
*/
|
|
3017
3590
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3591
|
+
/**
|
|
3592
|
+
* Choose, which related nodes to fetch as well
|
|
3593
|
+
*/
|
|
3018
3594
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3595
|
+
/**
|
|
3596
|
+
* The data needed to update a Organization.
|
|
3597
|
+
*/
|
|
3019
3598
|
data: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
|
|
3599
|
+
/**
|
|
3600
|
+
* Choose, which Organization to update.
|
|
3601
|
+
*/
|
|
3020
3602
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
3021
3603
|
};
|
|
3604
|
+
/**
|
|
3605
|
+
* Organization updateMany
|
|
3606
|
+
*/
|
|
3022
3607
|
export type OrganizationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3608
|
+
/**
|
|
3609
|
+
* The data used to update Organizations.
|
|
3610
|
+
*/
|
|
3023
3611
|
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
|
|
3612
|
+
/**
|
|
3613
|
+
* Filter which Organizations to update
|
|
3614
|
+
*/
|
|
3024
3615
|
where?: Prisma.OrganizationWhereInput;
|
|
3616
|
+
/**
|
|
3617
|
+
* Limit how many Organizations to update.
|
|
3618
|
+
*/
|
|
3025
3619
|
limit?: number;
|
|
3026
3620
|
};
|
|
3621
|
+
/**
|
|
3622
|
+
* Organization updateManyAndReturn
|
|
3623
|
+
*/
|
|
3027
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
|
+
*/
|
|
3028
3628
|
select?: Prisma.OrganizationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
3629
|
+
/**
|
|
3630
|
+
* Omit specific fields from the Organization
|
|
3631
|
+
*/
|
|
3029
3632
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3633
|
+
/**
|
|
3634
|
+
* The data used to update Organizations.
|
|
3635
|
+
*/
|
|
3030
3636
|
data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
|
|
3637
|
+
/**
|
|
3638
|
+
* Filter which Organizations to update
|
|
3639
|
+
*/
|
|
3031
3640
|
where?: Prisma.OrganizationWhereInput;
|
|
3641
|
+
/**
|
|
3642
|
+
* Limit how many Organizations to update.
|
|
3643
|
+
*/
|
|
3032
3644
|
limit?: number;
|
|
3645
|
+
/**
|
|
3646
|
+
* Choose, which related nodes to fetch as well
|
|
3647
|
+
*/
|
|
3033
3648
|
include?: Prisma.OrganizationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
3034
3649
|
};
|
|
3650
|
+
/**
|
|
3651
|
+
* Organization upsert
|
|
3652
|
+
*/
|
|
3035
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
|
+
*/
|
|
3036
3657
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3658
|
+
/**
|
|
3659
|
+
* Omit specific fields from the Organization
|
|
3660
|
+
*/
|
|
3037
3661
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3662
|
+
/**
|
|
3663
|
+
* Choose, which related nodes to fetch as well
|
|
3664
|
+
*/
|
|
3038
3665
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3666
|
+
/**
|
|
3667
|
+
* The filter to search for the Organization to update in case it exists.
|
|
3668
|
+
*/
|
|
3039
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
|
+
*/
|
|
3040
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
|
+
*/
|
|
3041
3677
|
update: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
|
|
3042
3678
|
};
|
|
3679
|
+
/**
|
|
3680
|
+
* Organization delete
|
|
3681
|
+
*/
|
|
3043
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
|
+
*/
|
|
3044
3686
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3687
|
+
/**
|
|
3688
|
+
* Omit specific fields from the Organization
|
|
3689
|
+
*/
|
|
3045
3690
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3691
|
+
/**
|
|
3692
|
+
* Choose, which related nodes to fetch as well
|
|
3693
|
+
*/
|
|
3046
3694
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3695
|
+
/**
|
|
3696
|
+
* Filter which Organization to delete.
|
|
3697
|
+
*/
|
|
3047
3698
|
where: Prisma.OrganizationWhereUniqueInput;
|
|
3048
3699
|
};
|
|
3700
|
+
/**
|
|
3701
|
+
* Organization deleteMany
|
|
3702
|
+
*/
|
|
3049
3703
|
export type OrganizationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3704
|
+
/**
|
|
3705
|
+
* Filter which Organizations to delete
|
|
3706
|
+
*/
|
|
3050
3707
|
where?: Prisma.OrganizationWhereInput;
|
|
3708
|
+
/**
|
|
3709
|
+
* Limit how many Organizations to delete.
|
|
3710
|
+
*/
|
|
3051
3711
|
limit?: number;
|
|
3052
3712
|
};
|
|
3713
|
+
/**
|
|
3714
|
+
* Organization.legalEntity
|
|
3715
|
+
*/
|
|
3053
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
|
+
*/
|
|
3054
3720
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
3721
|
+
/**
|
|
3722
|
+
* Omit specific fields from the LegalEntity
|
|
3723
|
+
*/
|
|
3055
3724
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
3725
|
+
/**
|
|
3726
|
+
* Choose, which related nodes to fetch as well
|
|
3727
|
+
*/
|
|
3056
3728
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
3057
3729
|
where?: Prisma.LegalEntityWhereInput;
|
|
3058
3730
|
};
|
|
3731
|
+
/**
|
|
3732
|
+
* Organization.logoFile
|
|
3733
|
+
*/
|
|
3059
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
|
+
*/
|
|
3060
3738
|
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
3739
|
+
/**
|
|
3740
|
+
* Omit specific fields from the File
|
|
3741
|
+
*/
|
|
3061
3742
|
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
3743
|
+
/**
|
|
3744
|
+
* Choose, which related nodes to fetch as well
|
|
3745
|
+
*/
|
|
3062
3746
|
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
3063
3747
|
where?: Prisma.FileWhereInput;
|
|
3064
3748
|
};
|
|
3749
|
+
/**
|
|
3750
|
+
* Organization.files
|
|
3751
|
+
*/
|
|
3065
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
|
+
*/
|
|
3066
3756
|
select?: Prisma.FileSelect<ExtArgs> | null;
|
|
3757
|
+
/**
|
|
3758
|
+
* Omit specific fields from the File
|
|
3759
|
+
*/
|
|
3067
3760
|
omit?: Prisma.FileOmit<ExtArgs> | null;
|
|
3761
|
+
/**
|
|
3762
|
+
* Choose, which related nodes to fetch as well
|
|
3763
|
+
*/
|
|
3068
3764
|
include?: Prisma.FileInclude<ExtArgs> | null;
|
|
3069
3765
|
where?: Prisma.FileWhereInput;
|
|
3070
3766
|
orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
|
|
@@ -3073,9 +3769,21 @@ export type Organization$filesArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
3073
3769
|
skip?: number;
|
|
3074
3770
|
distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
|
|
3075
3771
|
};
|
|
3772
|
+
/**
|
|
3773
|
+
* Organization.members
|
|
3774
|
+
*/
|
|
3076
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
|
+
*/
|
|
3077
3779
|
select?: Prisma.MemberSelect<ExtArgs> | null;
|
|
3780
|
+
/**
|
|
3781
|
+
* Omit specific fields from the Member
|
|
3782
|
+
*/
|
|
3078
3783
|
omit?: Prisma.MemberOmit<ExtArgs> | null;
|
|
3784
|
+
/**
|
|
3785
|
+
* Choose, which related nodes to fetch as well
|
|
3786
|
+
*/
|
|
3079
3787
|
include?: Prisma.MemberInclude<ExtArgs> | null;
|
|
3080
3788
|
where?: Prisma.MemberWhereInput;
|
|
3081
3789
|
orderBy?: Prisma.MemberOrderByWithRelationInput | Prisma.MemberOrderByWithRelationInput[];
|
|
@@ -3084,9 +3792,21 @@ export type Organization$membersArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
3084
3792
|
skip?: number;
|
|
3085
3793
|
distinct?: Prisma.MemberScalarFieldEnum | Prisma.MemberScalarFieldEnum[];
|
|
3086
3794
|
};
|
|
3795
|
+
/**
|
|
3796
|
+
* Organization.invitations
|
|
3797
|
+
*/
|
|
3087
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
|
+
*/
|
|
3088
3802
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
3803
|
+
/**
|
|
3804
|
+
* Omit specific fields from the Invitation
|
|
3805
|
+
*/
|
|
3089
3806
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
3807
|
+
/**
|
|
3808
|
+
* Choose, which related nodes to fetch as well
|
|
3809
|
+
*/
|
|
3090
3810
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
3091
3811
|
where?: Prisma.InvitationWhereInput;
|
|
3092
3812
|
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
@@ -3095,9 +3815,21 @@ export type Organization$invitationsArgs<ExtArgs extends runtime.Types.Extension
|
|
|
3095
3815
|
skip?: number;
|
|
3096
3816
|
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
3097
3817
|
};
|
|
3818
|
+
/**
|
|
3819
|
+
* Organization.orders
|
|
3820
|
+
*/
|
|
3098
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
|
+
*/
|
|
3099
3825
|
select?: Prisma.OrderSelect<ExtArgs> | null;
|
|
3826
|
+
/**
|
|
3827
|
+
* Omit specific fields from the Order
|
|
3828
|
+
*/
|
|
3100
3829
|
omit?: Prisma.OrderOmit<ExtArgs> | null;
|
|
3830
|
+
/**
|
|
3831
|
+
* Choose, which related nodes to fetch as well
|
|
3832
|
+
*/
|
|
3101
3833
|
include?: Prisma.OrderInclude<ExtArgs> | null;
|
|
3102
3834
|
where?: Prisma.OrderWhereInput;
|
|
3103
3835
|
orderBy?: Prisma.OrderOrderByWithRelationInput | Prisma.OrderOrderByWithRelationInput[];
|
|
@@ -3106,9 +3838,21 @@ export type Organization$ordersArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
3106
3838
|
skip?: number;
|
|
3107
3839
|
distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
|
|
3108
3840
|
};
|
|
3841
|
+
/**
|
|
3842
|
+
* Organization.campaigns
|
|
3843
|
+
*/
|
|
3109
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
|
+
*/
|
|
3110
3848
|
select?: Prisma.CampaignSelect<ExtArgs> | null;
|
|
3849
|
+
/**
|
|
3850
|
+
* Omit specific fields from the Campaign
|
|
3851
|
+
*/
|
|
3111
3852
|
omit?: Prisma.CampaignOmit<ExtArgs> | null;
|
|
3853
|
+
/**
|
|
3854
|
+
* Choose, which related nodes to fetch as well
|
|
3855
|
+
*/
|
|
3112
3856
|
include?: Prisma.CampaignInclude<ExtArgs> | null;
|
|
3113
3857
|
where?: Prisma.CampaignWhereInput;
|
|
3114
3858
|
orderBy?: Prisma.CampaignOrderByWithRelationInput | Prisma.CampaignOrderByWithRelationInput[];
|
|
@@ -3117,9 +3861,21 @@ export type Organization$campaignsArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
3117
3861
|
skip?: number;
|
|
3118
3862
|
distinct?: Prisma.CampaignScalarFieldEnum | Prisma.CampaignScalarFieldEnum[];
|
|
3119
3863
|
};
|
|
3864
|
+
/**
|
|
3865
|
+
* Organization.shippingMethods
|
|
3866
|
+
*/
|
|
3120
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
|
+
*/
|
|
3121
3871
|
select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
|
|
3872
|
+
/**
|
|
3873
|
+
* Omit specific fields from the ShippingMethod
|
|
3874
|
+
*/
|
|
3122
3875
|
omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
|
|
3876
|
+
/**
|
|
3877
|
+
* Choose, which related nodes to fetch as well
|
|
3878
|
+
*/
|
|
3123
3879
|
include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
|
|
3124
3880
|
where?: Prisma.ShippingMethodWhereInput;
|
|
3125
3881
|
orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
|
|
@@ -3128,9 +3884,21 @@ export type Organization$shippingMethodsArgs<ExtArgs extends runtime.Types.Exten
|
|
|
3128
3884
|
skip?: number;
|
|
3129
3885
|
distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
|
|
3130
3886
|
};
|
|
3887
|
+
/**
|
|
3888
|
+
* Organization.manufacturers
|
|
3889
|
+
*/
|
|
3131
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
|
+
*/
|
|
3132
3894
|
select?: Prisma.ManufacturerSelect<ExtArgs> | null;
|
|
3895
|
+
/**
|
|
3896
|
+
* Omit specific fields from the Manufacturer
|
|
3897
|
+
*/
|
|
3133
3898
|
omit?: Prisma.ManufacturerOmit<ExtArgs> | null;
|
|
3899
|
+
/**
|
|
3900
|
+
* Choose, which related nodes to fetch as well
|
|
3901
|
+
*/
|
|
3134
3902
|
include?: Prisma.ManufacturerInclude<ExtArgs> | null;
|
|
3135
3903
|
where?: Prisma.ManufacturerWhereInput;
|
|
3136
3904
|
orderBy?: Prisma.ManufacturerOrderByWithRelationInput | Prisma.ManufacturerOrderByWithRelationInput[];
|
|
@@ -3139,9 +3907,21 @@ export type Organization$manufacturersArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
3139
3907
|
skip?: number;
|
|
3140
3908
|
distinct?: Prisma.ManufacturerScalarFieldEnum | Prisma.ManufacturerScalarFieldEnum[];
|
|
3141
3909
|
};
|
|
3910
|
+
/**
|
|
3911
|
+
* Organization.productCategories
|
|
3912
|
+
*/
|
|
3142
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
|
+
*/
|
|
3143
3917
|
select?: Prisma.ProductCategorySelect<ExtArgs> | null;
|
|
3918
|
+
/**
|
|
3919
|
+
* Omit specific fields from the ProductCategory
|
|
3920
|
+
*/
|
|
3144
3921
|
omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
|
|
3922
|
+
/**
|
|
3923
|
+
* Choose, which related nodes to fetch as well
|
|
3924
|
+
*/
|
|
3145
3925
|
include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
|
|
3146
3926
|
where?: Prisma.ProductCategoryWhereInput;
|
|
3147
3927
|
orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
|
|
@@ -3150,9 +3930,21 @@ export type Organization$productCategoriesArgs<ExtArgs extends runtime.Types.Ext
|
|
|
3150
3930
|
skip?: number;
|
|
3151
3931
|
distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
|
|
3152
3932
|
};
|
|
3933
|
+
/**
|
|
3934
|
+
* Organization.products
|
|
3935
|
+
*/
|
|
3153
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
|
+
*/
|
|
3154
3940
|
select?: Prisma.ProductSelect<ExtArgs> | null;
|
|
3941
|
+
/**
|
|
3942
|
+
* Omit specific fields from the Product
|
|
3943
|
+
*/
|
|
3155
3944
|
omit?: Prisma.ProductOmit<ExtArgs> | null;
|
|
3945
|
+
/**
|
|
3946
|
+
* Choose, which related nodes to fetch as well
|
|
3947
|
+
*/
|
|
3156
3948
|
include?: Prisma.ProductInclude<ExtArgs> | null;
|
|
3157
3949
|
where?: Prisma.ProductWhereInput;
|
|
3158
3950
|
orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
|
|
@@ -3161,9 +3953,21 @@ export type Organization$productsArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
3161
3953
|
skip?: number;
|
|
3162
3954
|
distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
|
|
3163
3955
|
};
|
|
3956
|
+
/**
|
|
3957
|
+
* Organization.reservations
|
|
3958
|
+
*/
|
|
3164
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
|
+
*/
|
|
3165
3963
|
select?: Prisma.ReservationSelect<ExtArgs> | null;
|
|
3964
|
+
/**
|
|
3965
|
+
* Omit specific fields from the Reservation
|
|
3966
|
+
*/
|
|
3166
3967
|
omit?: Prisma.ReservationOmit<ExtArgs> | null;
|
|
3968
|
+
/**
|
|
3969
|
+
* Choose, which related nodes to fetch as well
|
|
3970
|
+
*/
|
|
3167
3971
|
include?: Prisma.ReservationInclude<ExtArgs> | null;
|
|
3168
3972
|
where?: Prisma.ReservationWhereInput;
|
|
3169
3973
|
orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
|
|
@@ -3172,9 +3976,21 @@ export type Organization$reservationsArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
3172
3976
|
skip?: number;
|
|
3173
3977
|
distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
|
|
3174
3978
|
};
|
|
3979
|
+
/**
|
|
3980
|
+
* Organization without action
|
|
3981
|
+
*/
|
|
3175
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
|
+
*/
|
|
3176
3986
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3987
|
+
/**
|
|
3988
|
+
* Omit specific fields from the Organization
|
|
3989
|
+
*/
|
|
3177
3990
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3991
|
+
/**
|
|
3992
|
+
* Choose, which related nodes to fetch as well
|
|
3993
|
+
*/
|
|
3178
3994
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3179
3995
|
};
|
|
3180
3996
|
export {};
|