@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,6 +1,10 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as $Enums from "../enums";
|
|
3
3
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
4
|
+
/**
|
|
5
|
+
* Model OrganizationConfiguration
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
4
8
|
export type OrganizationConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationConfigurationPayload>;
|
|
5
9
|
export type AggregateOrganizationConfiguration = {
|
|
6
10
|
_count: OrganizationConfigurationCountAggregateOutputType | null;
|
|
@@ -128,13 +132,51 @@ export type OrganizationConfigurationCountAggregateInputType = {
|
|
|
128
132
|
_all?: true;
|
|
129
133
|
};
|
|
130
134
|
export type OrganizationConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
/**
|
|
136
|
+
* Filter which OrganizationConfiguration to aggregate.
|
|
137
|
+
*/
|
|
131
138
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
141
|
+
*
|
|
142
|
+
* Determine the order of OrganizationConfigurations to fetch.
|
|
143
|
+
*/
|
|
132
144
|
orderBy?: Prisma.OrganizationConfigurationOrderByWithRelationInput | Prisma.OrganizationConfigurationOrderByWithRelationInput[];
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
147
|
+
*
|
|
148
|
+
* Sets the start position
|
|
149
|
+
*/
|
|
133
150
|
cursor?: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
153
|
+
*
|
|
154
|
+
* Take `±n` OrganizationConfigurations from the position of the cursor.
|
|
155
|
+
*/
|
|
134
156
|
take?: number;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
159
|
+
*
|
|
160
|
+
* Skip the first `n` OrganizationConfigurations.
|
|
161
|
+
*/
|
|
135
162
|
skip?: number;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Count returned OrganizationConfigurations
|
|
167
|
+
**/
|
|
136
168
|
_count?: true | OrganizationConfigurationCountAggregateInputType;
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
+
*
|
|
172
|
+
* Select which fields to find the minimum value
|
|
173
|
+
**/
|
|
137
174
|
_min?: OrganizationConfigurationMinAggregateInputType;
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Select which fields to find the maximum value
|
|
179
|
+
**/
|
|
138
180
|
_max?: OrganizationConfigurationMaxAggregateInputType;
|
|
139
181
|
};
|
|
140
182
|
export type GetOrganizationConfigurationAggregateType<T extends OrganizationConfigurationAggregateArgs> = {
|
|
@@ -916,15 +958,27 @@ export type OrganizationConfigurationUncheckedUpdateWithoutClosingTimesInput = {
|
|
|
916
958
|
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
917
959
|
organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutConfigurationNestedInput;
|
|
918
960
|
};
|
|
961
|
+
/**
|
|
962
|
+
* Count Type OrganizationConfigurationCountOutputType
|
|
963
|
+
*/
|
|
919
964
|
export type OrganizationConfigurationCountOutputType = {
|
|
920
965
|
organizations: number;
|
|
921
966
|
};
|
|
922
967
|
export type OrganizationConfigurationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
923
968
|
organizations?: boolean | OrganizationConfigurationCountOutputTypeCountOrganizationsArgs;
|
|
924
969
|
};
|
|
970
|
+
/**
|
|
971
|
+
* OrganizationConfigurationCountOutputType without action
|
|
972
|
+
*/
|
|
925
973
|
export type OrganizationConfigurationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
|
+
/**
|
|
975
|
+
* Select specific fields to fetch from the OrganizationConfigurationCountOutputType
|
|
976
|
+
*/
|
|
926
977
|
select?: Prisma.OrganizationConfigurationCountOutputTypeSelect<ExtArgs> | null;
|
|
927
978
|
};
|
|
979
|
+
/**
|
|
980
|
+
* OrganizationConfigurationCountOutputType without action
|
|
981
|
+
*/
|
|
928
982
|
export type OrganizationConfigurationCountOutputTypeCountOrganizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
929
983
|
where?: Prisma.OrganizationWhereInput;
|
|
930
984
|
};
|
|
@@ -1076,22 +1130,290 @@ export interface OrganizationConfigurationDelegate<ExtArgs extends runtime.Types
|
|
|
1076
1130
|
name: 'OrganizationConfiguration';
|
|
1077
1131
|
};
|
|
1078
1132
|
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Find zero or one OrganizationConfiguration that matches the filter.
|
|
1135
|
+
* @param {OrganizationConfigurationFindUniqueArgs} args - Arguments to find a OrganizationConfiguration
|
|
1136
|
+
* @example
|
|
1137
|
+
* // Get one OrganizationConfiguration
|
|
1138
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.findUnique({
|
|
1139
|
+
* where: {
|
|
1140
|
+
* // ... provide filter here
|
|
1141
|
+
* }
|
|
1142
|
+
* })
|
|
1143
|
+
*/
|
|
1079
1144
|
findUnique<T extends OrganizationConfigurationFindUniqueArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Find one OrganizationConfiguration that matches the filter or throw an error with `error.code='P2025'`
|
|
1147
|
+
* if no matches were found.
|
|
1148
|
+
* @param {OrganizationConfigurationFindUniqueOrThrowArgs} args - Arguments to find a OrganizationConfiguration
|
|
1149
|
+
* @example
|
|
1150
|
+
* // Get one OrganizationConfiguration
|
|
1151
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.findUniqueOrThrow({
|
|
1152
|
+
* where: {
|
|
1153
|
+
* // ... provide filter here
|
|
1154
|
+
* }
|
|
1155
|
+
* })
|
|
1156
|
+
*/
|
|
1080
1157
|
findUniqueOrThrow<T extends OrganizationConfigurationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Find the first OrganizationConfiguration that matches the filter.
|
|
1160
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1161
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1162
|
+
* @param {OrganizationConfigurationFindFirstArgs} args - Arguments to find a OrganizationConfiguration
|
|
1163
|
+
* @example
|
|
1164
|
+
* // Get one OrganizationConfiguration
|
|
1165
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.findFirst({
|
|
1166
|
+
* where: {
|
|
1167
|
+
* // ... provide filter here
|
|
1168
|
+
* }
|
|
1169
|
+
* })
|
|
1170
|
+
*/
|
|
1081
1171
|
findFirst<T extends OrganizationConfigurationFindFirstArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationFindFirstArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Find the first OrganizationConfiguration that matches the filter or
|
|
1174
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1175
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1176
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1177
|
+
* @param {OrganizationConfigurationFindFirstOrThrowArgs} args - Arguments to find a OrganizationConfiguration
|
|
1178
|
+
* @example
|
|
1179
|
+
* // Get one OrganizationConfiguration
|
|
1180
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.findFirstOrThrow({
|
|
1181
|
+
* where: {
|
|
1182
|
+
* // ... provide filter here
|
|
1183
|
+
* }
|
|
1184
|
+
* })
|
|
1185
|
+
*/
|
|
1082
1186
|
findFirstOrThrow<T extends OrganizationConfigurationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Find zero or more OrganizationConfigurations that matches the filter.
|
|
1189
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1190
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1191
|
+
* @param {OrganizationConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Get all OrganizationConfigurations
|
|
1194
|
+
* const organizationConfigurations = await prisma.organizationConfiguration.findMany()
|
|
1195
|
+
*
|
|
1196
|
+
* // Get first 10 OrganizationConfigurations
|
|
1197
|
+
* const organizationConfigurations = await prisma.organizationConfiguration.findMany({ take: 10 })
|
|
1198
|
+
*
|
|
1199
|
+
* // Only select the `id`
|
|
1200
|
+
* const organizationConfigurationWithIdOnly = await prisma.organizationConfiguration.findMany({ select: { id: true } })
|
|
1201
|
+
*
|
|
1202
|
+
*/
|
|
1083
1203
|
findMany<T extends OrganizationConfigurationFindManyArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Create a OrganizationConfiguration.
|
|
1206
|
+
* @param {OrganizationConfigurationCreateArgs} args - Arguments to create a OrganizationConfiguration.
|
|
1207
|
+
* @example
|
|
1208
|
+
* // Create one OrganizationConfiguration
|
|
1209
|
+
* const OrganizationConfiguration = await prisma.organizationConfiguration.create({
|
|
1210
|
+
* data: {
|
|
1211
|
+
* // ... data to create a OrganizationConfiguration
|
|
1212
|
+
* }
|
|
1213
|
+
* })
|
|
1214
|
+
*
|
|
1215
|
+
*/
|
|
1084
1216
|
create<T extends OrganizationConfigurationCreateArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationCreateArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Create many OrganizationConfigurations.
|
|
1219
|
+
* @param {OrganizationConfigurationCreateManyArgs} args - Arguments to create many OrganizationConfigurations.
|
|
1220
|
+
* @example
|
|
1221
|
+
* // Create many OrganizationConfigurations
|
|
1222
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.createMany({
|
|
1223
|
+
* data: [
|
|
1224
|
+
* // ... provide data here
|
|
1225
|
+
* ]
|
|
1226
|
+
* })
|
|
1227
|
+
*
|
|
1228
|
+
*/
|
|
1085
1229
|
createMany<T extends OrganizationConfigurationCreateManyArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Create many OrganizationConfigurations and returns the data saved in the database.
|
|
1232
|
+
* @param {OrganizationConfigurationCreateManyAndReturnArgs} args - Arguments to create many OrganizationConfigurations.
|
|
1233
|
+
* @example
|
|
1234
|
+
* // Create many OrganizationConfigurations
|
|
1235
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.createManyAndReturn({
|
|
1236
|
+
* data: [
|
|
1237
|
+
* // ... provide data here
|
|
1238
|
+
* ]
|
|
1239
|
+
* })
|
|
1240
|
+
*
|
|
1241
|
+
* // Create many OrganizationConfigurations and only return the `id`
|
|
1242
|
+
* const organizationConfigurationWithIdOnly = await prisma.organizationConfiguration.createManyAndReturn({
|
|
1243
|
+
* select: { id: true },
|
|
1244
|
+
* data: [
|
|
1245
|
+
* // ... provide data here
|
|
1246
|
+
* ]
|
|
1247
|
+
* })
|
|
1248
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1249
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1250
|
+
*
|
|
1251
|
+
*/
|
|
1086
1252
|
createManyAndReturn<T extends OrganizationConfigurationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Delete a OrganizationConfiguration.
|
|
1255
|
+
* @param {OrganizationConfigurationDeleteArgs} args - Arguments to delete one OrganizationConfiguration.
|
|
1256
|
+
* @example
|
|
1257
|
+
* // Delete one OrganizationConfiguration
|
|
1258
|
+
* const OrganizationConfiguration = await prisma.organizationConfiguration.delete({
|
|
1259
|
+
* where: {
|
|
1260
|
+
* // ... filter to delete one OrganizationConfiguration
|
|
1261
|
+
* }
|
|
1262
|
+
* })
|
|
1263
|
+
*
|
|
1264
|
+
*/
|
|
1087
1265
|
delete<T extends OrganizationConfigurationDeleteArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationDeleteArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Update one OrganizationConfiguration.
|
|
1268
|
+
* @param {OrganizationConfigurationUpdateArgs} args - Arguments to update one OrganizationConfiguration.
|
|
1269
|
+
* @example
|
|
1270
|
+
* // Update one OrganizationConfiguration
|
|
1271
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.update({
|
|
1272
|
+
* where: {
|
|
1273
|
+
* // ... provide filter here
|
|
1274
|
+
* },
|
|
1275
|
+
* data: {
|
|
1276
|
+
* // ... provide data here
|
|
1277
|
+
* }
|
|
1278
|
+
* })
|
|
1279
|
+
*
|
|
1280
|
+
*/
|
|
1088
1281
|
update<T extends OrganizationConfigurationUpdateArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationUpdateArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1282
|
+
/**
|
|
1283
|
+
* Delete zero or more OrganizationConfigurations.
|
|
1284
|
+
* @param {OrganizationConfigurationDeleteManyArgs} args - Arguments to filter OrganizationConfigurations to delete.
|
|
1285
|
+
* @example
|
|
1286
|
+
* // Delete a few OrganizationConfigurations
|
|
1287
|
+
* const { count } = await prisma.organizationConfiguration.deleteMany({
|
|
1288
|
+
* where: {
|
|
1289
|
+
* // ... provide filter here
|
|
1290
|
+
* }
|
|
1291
|
+
* })
|
|
1292
|
+
*
|
|
1293
|
+
*/
|
|
1089
1294
|
deleteMany<T extends OrganizationConfigurationDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrganizationConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Update zero or more OrganizationConfigurations.
|
|
1297
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1298
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1299
|
+
* @param {OrganizationConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1300
|
+
* @example
|
|
1301
|
+
* // Update many OrganizationConfigurations
|
|
1302
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.updateMany({
|
|
1303
|
+
* where: {
|
|
1304
|
+
* // ... provide filter here
|
|
1305
|
+
* },
|
|
1306
|
+
* data: {
|
|
1307
|
+
* // ... provide data here
|
|
1308
|
+
* }
|
|
1309
|
+
* })
|
|
1310
|
+
*
|
|
1311
|
+
*/
|
|
1090
1312
|
updateMany<T extends OrganizationConfigurationUpdateManyArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1313
|
+
/**
|
|
1314
|
+
* Update zero or more OrganizationConfigurations and returns the data updated in the database.
|
|
1315
|
+
* @param {OrganizationConfigurationUpdateManyAndReturnArgs} args - Arguments to update many OrganizationConfigurations.
|
|
1316
|
+
* @example
|
|
1317
|
+
* // Update many OrganizationConfigurations
|
|
1318
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.updateManyAndReturn({
|
|
1319
|
+
* where: {
|
|
1320
|
+
* // ... provide filter here
|
|
1321
|
+
* },
|
|
1322
|
+
* data: [
|
|
1323
|
+
* // ... provide data here
|
|
1324
|
+
* ]
|
|
1325
|
+
* })
|
|
1326
|
+
*
|
|
1327
|
+
* // Update zero or more OrganizationConfigurations and only return the `id`
|
|
1328
|
+
* const organizationConfigurationWithIdOnly = await prisma.organizationConfiguration.updateManyAndReturn({
|
|
1329
|
+
* select: { id: true },
|
|
1330
|
+
* where: {
|
|
1331
|
+
* // ... provide filter here
|
|
1332
|
+
* },
|
|
1333
|
+
* data: [
|
|
1334
|
+
* // ... provide data here
|
|
1335
|
+
* ]
|
|
1336
|
+
* })
|
|
1337
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1338
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1339
|
+
*
|
|
1340
|
+
*/
|
|
1091
1341
|
updateManyAndReturn<T extends OrganizationConfigurationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Create or update one OrganizationConfiguration.
|
|
1344
|
+
* @param {OrganizationConfigurationUpsertArgs} args - Arguments to update or create a OrganizationConfiguration.
|
|
1345
|
+
* @example
|
|
1346
|
+
* // Update or create a OrganizationConfiguration
|
|
1347
|
+
* const organizationConfiguration = await prisma.organizationConfiguration.upsert({
|
|
1348
|
+
* create: {
|
|
1349
|
+
* // ... data to create a OrganizationConfiguration
|
|
1350
|
+
* },
|
|
1351
|
+
* update: {
|
|
1352
|
+
* // ... in case it already exists, update
|
|
1353
|
+
* },
|
|
1354
|
+
* where: {
|
|
1355
|
+
* // ... the filter for the OrganizationConfiguration we want to update
|
|
1356
|
+
* }
|
|
1357
|
+
* })
|
|
1358
|
+
*/
|
|
1092
1359
|
upsert<T extends OrganizationConfigurationUpsertArgs>(args: Prisma.SelectSubset<T, OrganizationConfigurationUpsertArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1360
|
+
/**
|
|
1361
|
+
* Count the number of OrganizationConfigurations.
|
|
1362
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1363
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1364
|
+
* @param {OrganizationConfigurationCountArgs} args - Arguments to filter OrganizationConfigurations to count.
|
|
1365
|
+
* @example
|
|
1366
|
+
* // Count the number of OrganizationConfigurations
|
|
1367
|
+
* const count = await prisma.organizationConfiguration.count({
|
|
1368
|
+
* where: {
|
|
1369
|
+
* // ... the filter for the OrganizationConfigurations we want to count
|
|
1370
|
+
* }
|
|
1371
|
+
* })
|
|
1372
|
+
**/
|
|
1093
1373
|
count<T extends OrganizationConfigurationCountArgs>(args?: Prisma.Subset<T, OrganizationConfigurationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OrganizationConfigurationCountAggregateOutputType> : number>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Allows you to perform aggregations operations on a OrganizationConfiguration.
|
|
1376
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1377
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1378
|
+
* @param {OrganizationConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1379
|
+
* @example
|
|
1380
|
+
* // Ordered by age ascending
|
|
1381
|
+
* // Where email contains prisma.io
|
|
1382
|
+
* // Limited to the 10 users
|
|
1383
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1384
|
+
* _avg: {
|
|
1385
|
+
* age: true,
|
|
1386
|
+
* },
|
|
1387
|
+
* where: {
|
|
1388
|
+
* email: {
|
|
1389
|
+
* contains: "prisma.io",
|
|
1390
|
+
* },
|
|
1391
|
+
* },
|
|
1392
|
+
* orderBy: {
|
|
1393
|
+
* age: "asc",
|
|
1394
|
+
* },
|
|
1395
|
+
* take: 10,
|
|
1396
|
+
* })
|
|
1397
|
+
**/
|
|
1094
1398
|
aggregate<T extends OrganizationConfigurationAggregateArgs>(args: Prisma.Subset<T, OrganizationConfigurationAggregateArgs>): Prisma.PrismaPromise<GetOrganizationConfigurationAggregateType<T>>;
|
|
1399
|
+
/**
|
|
1400
|
+
* Group by OrganizationConfiguration.
|
|
1401
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1402
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1403
|
+
* @param {OrganizationConfigurationGroupByArgs} args - Group by arguments.
|
|
1404
|
+
* @example
|
|
1405
|
+
* // Group by city, order by createdAt, get count
|
|
1406
|
+
* const result = await prisma.user.groupBy({
|
|
1407
|
+
* by: ['city', 'createdAt'],
|
|
1408
|
+
* orderBy: {
|
|
1409
|
+
* createdAt: true
|
|
1410
|
+
* },
|
|
1411
|
+
* _count: {
|
|
1412
|
+
* _all: true
|
|
1413
|
+
* },
|
|
1414
|
+
* })
|
|
1415
|
+
*
|
|
1416
|
+
**/
|
|
1095
1417
|
groupBy<T extends OrganizationConfigurationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1096
1418
|
orderBy: OrganizationConfigurationGroupByArgs['orderBy'];
|
|
1097
1419
|
} : {
|
|
@@ -1110,17 +1432,46 @@ export interface OrganizationConfigurationDelegate<ExtArgs extends runtime.Types
|
|
|
1110
1432
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1111
1433
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1112
1434
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1435
|
+
/**
|
|
1436
|
+
* Fields of the OrganizationConfiguration model
|
|
1437
|
+
*/
|
|
1113
1438
|
readonly fields: OrganizationConfigurationFieldRefs;
|
|
1114
1439
|
}
|
|
1440
|
+
/**
|
|
1441
|
+
* The delegate class that acts as a "Promise-like" for OrganizationConfiguration.
|
|
1442
|
+
* Why is this prefixed with `Prisma__`?
|
|
1443
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1444
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1445
|
+
*/
|
|
1115
1446
|
export interface Prisma__OrganizationConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1116
1447
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1117
1448
|
openingTimes<T extends Prisma.OrganizationConfiguration$openingTimesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationConfiguration$openingTimesArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1118
1449
|
closingTimes<T extends Prisma.OrganizationConfiguration$closingTimesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationConfiguration$closingTimesArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1119
1450
|
organizations<T extends Prisma.OrganizationConfiguration$organizationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationConfiguration$organizationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1453
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1454
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1455
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1456
|
+
*/
|
|
1120
1457
|
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>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1460
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1461
|
+
* @returns A Promise for the completion of the callback.
|
|
1462
|
+
*/
|
|
1121
1463
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1466
|
+
* resolved value cannot be modified from the callback.
|
|
1467
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1468
|
+
* @returns A Promise for the completion of the callback.
|
|
1469
|
+
*/
|
|
1122
1470
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1123
1471
|
}
|
|
1472
|
+
/**
|
|
1473
|
+
* Fields of the OrganizationConfiguration model
|
|
1474
|
+
*/
|
|
1124
1475
|
export interface OrganizationConfigurationFieldRefs {
|
|
1125
1476
|
readonly id: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
1126
1477
|
readonly hostname: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
@@ -1142,121 +1493,439 @@ export interface OrganizationConfigurationFieldRefs {
|
|
|
1142
1493
|
readonly updatedAt: Prisma.FieldRef<"OrganizationConfiguration", 'DateTime'>;
|
|
1143
1494
|
readonly updatedBy: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
1144
1495
|
}
|
|
1496
|
+
/**
|
|
1497
|
+
* OrganizationConfiguration findUnique
|
|
1498
|
+
*/
|
|
1145
1499
|
export type OrganizationConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
+
/**
|
|
1501
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1502
|
+
*/
|
|
1146
1503
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1506
|
+
*/
|
|
1147
1507
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1508
|
+
/**
|
|
1509
|
+
* Choose, which related nodes to fetch as well
|
|
1510
|
+
*/
|
|
1148
1511
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Filter, which OrganizationConfiguration to fetch.
|
|
1514
|
+
*/
|
|
1149
1515
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1150
1516
|
};
|
|
1517
|
+
/**
|
|
1518
|
+
* OrganizationConfiguration findUniqueOrThrow
|
|
1519
|
+
*/
|
|
1151
1520
|
export type OrganizationConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1521
|
+
/**
|
|
1522
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1523
|
+
*/
|
|
1152
1524
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1525
|
+
/**
|
|
1526
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1527
|
+
*/
|
|
1153
1528
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* Choose, which related nodes to fetch as well
|
|
1531
|
+
*/
|
|
1154
1532
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1533
|
+
/**
|
|
1534
|
+
* Filter, which OrganizationConfiguration to fetch.
|
|
1535
|
+
*/
|
|
1155
1536
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1156
1537
|
};
|
|
1538
|
+
/**
|
|
1539
|
+
* OrganizationConfiguration findFirst
|
|
1540
|
+
*/
|
|
1157
1541
|
export type OrganizationConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1544
|
+
*/
|
|
1158
1545
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1548
|
+
*/
|
|
1159
1549
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1160
1553
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter, which OrganizationConfiguration to fetch.
|
|
1556
|
+
*/
|
|
1161
1557
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1558
|
+
/**
|
|
1559
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1560
|
+
*
|
|
1561
|
+
* Determine the order of OrganizationConfigurations to fetch.
|
|
1562
|
+
*/
|
|
1162
1563
|
orderBy?: Prisma.OrganizationConfigurationOrderByWithRelationInput | Prisma.OrganizationConfigurationOrderByWithRelationInput[];
|
|
1564
|
+
/**
|
|
1565
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1566
|
+
*
|
|
1567
|
+
* Sets the position for searching for OrganizationConfigurations.
|
|
1568
|
+
*/
|
|
1163
1569
|
cursor?: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1570
|
+
/**
|
|
1571
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1572
|
+
*
|
|
1573
|
+
* Take `±n` OrganizationConfigurations from the position of the cursor.
|
|
1574
|
+
*/
|
|
1164
1575
|
take?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1578
|
+
*
|
|
1579
|
+
* Skip the first `n` OrganizationConfigurations.
|
|
1580
|
+
*/
|
|
1165
1581
|
skip?: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1584
|
+
*
|
|
1585
|
+
* Filter by unique combinations of OrganizationConfigurations.
|
|
1586
|
+
*/
|
|
1166
1587
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1167
1588
|
};
|
|
1589
|
+
/**
|
|
1590
|
+
* OrganizationConfiguration findFirstOrThrow
|
|
1591
|
+
*/
|
|
1168
1592
|
export type OrganizationConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1593
|
+
/**
|
|
1594
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1595
|
+
*/
|
|
1169
1596
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1599
|
+
*/
|
|
1170
1600
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* Choose, which related nodes to fetch as well
|
|
1603
|
+
*/
|
|
1171
1604
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1605
|
+
/**
|
|
1606
|
+
* Filter, which OrganizationConfiguration to fetch.
|
|
1607
|
+
*/
|
|
1172
1608
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1609
|
+
/**
|
|
1610
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1611
|
+
*
|
|
1612
|
+
* Determine the order of OrganizationConfigurations to fetch.
|
|
1613
|
+
*/
|
|
1173
1614
|
orderBy?: Prisma.OrganizationConfigurationOrderByWithRelationInput | Prisma.OrganizationConfigurationOrderByWithRelationInput[];
|
|
1615
|
+
/**
|
|
1616
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1617
|
+
*
|
|
1618
|
+
* Sets the position for searching for OrganizationConfigurations.
|
|
1619
|
+
*/
|
|
1174
1620
|
cursor?: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1621
|
+
/**
|
|
1622
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1623
|
+
*
|
|
1624
|
+
* Take `±n` OrganizationConfigurations from the position of the cursor.
|
|
1625
|
+
*/
|
|
1175
1626
|
take?: number;
|
|
1627
|
+
/**
|
|
1628
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1629
|
+
*
|
|
1630
|
+
* Skip the first `n` OrganizationConfigurations.
|
|
1631
|
+
*/
|
|
1176
1632
|
skip?: number;
|
|
1633
|
+
/**
|
|
1634
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1635
|
+
*
|
|
1636
|
+
* Filter by unique combinations of OrganizationConfigurations.
|
|
1637
|
+
*/
|
|
1177
1638
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1178
1639
|
};
|
|
1640
|
+
/**
|
|
1641
|
+
* OrganizationConfiguration findMany
|
|
1642
|
+
*/
|
|
1179
1643
|
export type OrganizationConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1644
|
+
/**
|
|
1645
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1646
|
+
*/
|
|
1180
1647
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1648
|
+
/**
|
|
1649
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1650
|
+
*/
|
|
1181
1651
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1652
|
+
/**
|
|
1653
|
+
* Choose, which related nodes to fetch as well
|
|
1654
|
+
*/
|
|
1182
1655
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1656
|
+
/**
|
|
1657
|
+
* Filter, which OrganizationConfigurations to fetch.
|
|
1658
|
+
*/
|
|
1183
1659
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1660
|
+
/**
|
|
1661
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1662
|
+
*
|
|
1663
|
+
* Determine the order of OrganizationConfigurations to fetch.
|
|
1664
|
+
*/
|
|
1184
1665
|
orderBy?: Prisma.OrganizationConfigurationOrderByWithRelationInput | Prisma.OrganizationConfigurationOrderByWithRelationInput[];
|
|
1666
|
+
/**
|
|
1667
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1668
|
+
*
|
|
1669
|
+
* Sets the position for listing OrganizationConfigurations.
|
|
1670
|
+
*/
|
|
1185
1671
|
cursor?: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1672
|
+
/**
|
|
1673
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1674
|
+
*
|
|
1675
|
+
* Take `±n` OrganizationConfigurations from the position of the cursor.
|
|
1676
|
+
*/
|
|
1186
1677
|
take?: number;
|
|
1678
|
+
/**
|
|
1679
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1680
|
+
*
|
|
1681
|
+
* Skip the first `n` OrganizationConfigurations.
|
|
1682
|
+
*/
|
|
1187
1683
|
skip?: number;
|
|
1684
|
+
/**
|
|
1685
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1686
|
+
*
|
|
1687
|
+
* Filter by unique combinations of OrganizationConfigurations.
|
|
1688
|
+
*/
|
|
1188
1689
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1189
1690
|
};
|
|
1691
|
+
/**
|
|
1692
|
+
* OrganizationConfiguration create
|
|
1693
|
+
*/
|
|
1190
1694
|
export type OrganizationConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1695
|
+
/**
|
|
1696
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1697
|
+
*/
|
|
1191
1698
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1701
|
+
*/
|
|
1192
1702
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1703
|
+
/**
|
|
1704
|
+
* Choose, which related nodes to fetch as well
|
|
1705
|
+
*/
|
|
1193
1706
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1707
|
+
/**
|
|
1708
|
+
* The data needed to create a OrganizationConfiguration.
|
|
1709
|
+
*/
|
|
1194
1710
|
data: Prisma.XOR<Prisma.OrganizationConfigurationCreateInput, Prisma.OrganizationConfigurationUncheckedCreateInput>;
|
|
1195
1711
|
};
|
|
1712
|
+
/**
|
|
1713
|
+
* OrganizationConfiguration createMany
|
|
1714
|
+
*/
|
|
1196
1715
|
export type OrganizationConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1716
|
+
/**
|
|
1717
|
+
* The data used to create many OrganizationConfigurations.
|
|
1718
|
+
*/
|
|
1197
1719
|
data: Prisma.OrganizationConfigurationCreateManyInput | Prisma.OrganizationConfigurationCreateManyInput[];
|
|
1198
1720
|
skipDuplicates?: boolean;
|
|
1199
1721
|
};
|
|
1722
|
+
/**
|
|
1723
|
+
* OrganizationConfiguration createManyAndReturn
|
|
1724
|
+
*/
|
|
1200
1725
|
export type OrganizationConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
+
/**
|
|
1727
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1728
|
+
*/
|
|
1201
1729
|
select?: Prisma.OrganizationConfigurationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1730
|
+
/**
|
|
1731
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1732
|
+
*/
|
|
1202
1733
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1734
|
+
/**
|
|
1735
|
+
* The data used to create many OrganizationConfigurations.
|
|
1736
|
+
*/
|
|
1203
1737
|
data: Prisma.OrganizationConfigurationCreateManyInput | Prisma.OrganizationConfigurationCreateManyInput[];
|
|
1204
1738
|
skipDuplicates?: boolean;
|
|
1739
|
+
/**
|
|
1740
|
+
* Choose, which related nodes to fetch as well
|
|
1741
|
+
*/
|
|
1205
1742
|
include?: Prisma.OrganizationConfigurationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1206
1743
|
};
|
|
1744
|
+
/**
|
|
1745
|
+
* OrganizationConfiguration update
|
|
1746
|
+
*/
|
|
1207
1747
|
export type OrganizationConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1750
|
+
*/
|
|
1208
1751
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1754
|
+
*/
|
|
1209
1755
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1756
|
+
/**
|
|
1757
|
+
* Choose, which related nodes to fetch as well
|
|
1758
|
+
*/
|
|
1210
1759
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1760
|
+
/**
|
|
1761
|
+
* The data needed to update a OrganizationConfiguration.
|
|
1762
|
+
*/
|
|
1211
1763
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateInput, Prisma.OrganizationConfigurationUncheckedUpdateInput>;
|
|
1764
|
+
/**
|
|
1765
|
+
* Choose, which OrganizationConfiguration to update.
|
|
1766
|
+
*/
|
|
1212
1767
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1213
1768
|
};
|
|
1769
|
+
/**
|
|
1770
|
+
* OrganizationConfiguration updateMany
|
|
1771
|
+
*/
|
|
1214
1772
|
export type OrganizationConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1773
|
+
/**
|
|
1774
|
+
* The data used to update OrganizationConfigurations.
|
|
1775
|
+
*/
|
|
1215
1776
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateManyMutationInput, Prisma.OrganizationConfigurationUncheckedUpdateManyInput>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Filter which OrganizationConfigurations to update
|
|
1779
|
+
*/
|
|
1216
1780
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1781
|
+
/**
|
|
1782
|
+
* Limit how many OrganizationConfigurations to update.
|
|
1783
|
+
*/
|
|
1217
1784
|
limit?: number;
|
|
1218
1785
|
};
|
|
1786
|
+
/**
|
|
1787
|
+
* OrganizationConfiguration updateManyAndReturn
|
|
1788
|
+
*/
|
|
1219
1789
|
export type OrganizationConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1790
|
+
/**
|
|
1791
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1792
|
+
*/
|
|
1220
1793
|
select?: Prisma.OrganizationConfigurationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1796
|
+
*/
|
|
1221
1797
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1798
|
+
/**
|
|
1799
|
+
* The data used to update OrganizationConfigurations.
|
|
1800
|
+
*/
|
|
1222
1801
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateManyMutationInput, Prisma.OrganizationConfigurationUncheckedUpdateManyInput>;
|
|
1802
|
+
/**
|
|
1803
|
+
* Filter which OrganizationConfigurations to update
|
|
1804
|
+
*/
|
|
1223
1805
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1806
|
+
/**
|
|
1807
|
+
* Limit how many OrganizationConfigurations to update.
|
|
1808
|
+
*/
|
|
1224
1809
|
limit?: number;
|
|
1810
|
+
/**
|
|
1811
|
+
* Choose, which related nodes to fetch as well
|
|
1812
|
+
*/
|
|
1225
1813
|
include?: Prisma.OrganizationConfigurationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1226
1814
|
};
|
|
1815
|
+
/**
|
|
1816
|
+
* OrganizationConfiguration upsert
|
|
1817
|
+
*/
|
|
1227
1818
|
export type OrganizationConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1819
|
+
/**
|
|
1820
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1821
|
+
*/
|
|
1228
1822
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1823
|
+
/**
|
|
1824
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1825
|
+
*/
|
|
1229
1826
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Choose, which related nodes to fetch as well
|
|
1829
|
+
*/
|
|
1230
1830
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1831
|
+
/**
|
|
1832
|
+
* The filter to search for the OrganizationConfiguration to update in case it exists.
|
|
1833
|
+
*/
|
|
1231
1834
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1835
|
+
/**
|
|
1836
|
+
* In case the OrganizationConfiguration found by the `where` argument doesn't exist, create a new OrganizationConfiguration with this data.
|
|
1837
|
+
*/
|
|
1232
1838
|
create: Prisma.XOR<Prisma.OrganizationConfigurationCreateInput, Prisma.OrganizationConfigurationUncheckedCreateInput>;
|
|
1839
|
+
/**
|
|
1840
|
+
* In case the OrganizationConfiguration was found with the provided `where` argument, update it with this data.
|
|
1841
|
+
*/
|
|
1233
1842
|
update: Prisma.XOR<Prisma.OrganizationConfigurationUpdateInput, Prisma.OrganizationConfigurationUncheckedUpdateInput>;
|
|
1234
1843
|
};
|
|
1844
|
+
/**
|
|
1845
|
+
* OrganizationConfiguration delete
|
|
1846
|
+
*/
|
|
1235
1847
|
export type OrganizationConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1848
|
+
/**
|
|
1849
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1850
|
+
*/
|
|
1236
1851
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1852
|
+
/**
|
|
1853
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1854
|
+
*/
|
|
1237
1855
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* Choose, which related nodes to fetch as well
|
|
1858
|
+
*/
|
|
1238
1859
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1860
|
+
/**
|
|
1861
|
+
* Filter which OrganizationConfiguration to delete.
|
|
1862
|
+
*/
|
|
1239
1863
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1240
1864
|
};
|
|
1865
|
+
/**
|
|
1866
|
+
* OrganizationConfiguration deleteMany
|
|
1867
|
+
*/
|
|
1241
1868
|
export type OrganizationConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1869
|
+
/**
|
|
1870
|
+
* Filter which OrganizationConfigurations to delete
|
|
1871
|
+
*/
|
|
1242
1872
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1873
|
+
/**
|
|
1874
|
+
* Limit how many OrganizationConfigurations to delete.
|
|
1875
|
+
*/
|
|
1243
1876
|
limit?: number;
|
|
1244
1877
|
};
|
|
1878
|
+
/**
|
|
1879
|
+
* OrganizationConfiguration.openingTimes
|
|
1880
|
+
*/
|
|
1245
1881
|
export type OrganizationConfiguration$openingTimesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1882
|
+
/**
|
|
1883
|
+
* Select specific fields to fetch from the OpeningTimes
|
|
1884
|
+
*/
|
|
1246
1885
|
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Omit specific fields from the OpeningTimes
|
|
1888
|
+
*/
|
|
1247
1889
|
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* Choose, which related nodes to fetch as well
|
|
1892
|
+
*/
|
|
1248
1893
|
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1249
1894
|
where?: Prisma.OpeningTimesWhereInput;
|
|
1250
1895
|
};
|
|
1896
|
+
/**
|
|
1897
|
+
* OrganizationConfiguration.closingTimes
|
|
1898
|
+
*/
|
|
1251
1899
|
export type OrganizationConfiguration$closingTimesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1900
|
+
/**
|
|
1901
|
+
* Select specific fields to fetch from the ClosingTimes
|
|
1902
|
+
*/
|
|
1252
1903
|
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* Omit specific fields from the ClosingTimes
|
|
1906
|
+
*/
|
|
1253
1907
|
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* Choose, which related nodes to fetch as well
|
|
1910
|
+
*/
|
|
1254
1911
|
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1255
1912
|
where?: Prisma.ClosingTimesWhereInput;
|
|
1256
1913
|
};
|
|
1914
|
+
/**
|
|
1915
|
+
* OrganizationConfiguration.organizations
|
|
1916
|
+
*/
|
|
1257
1917
|
export type OrganizationConfiguration$organizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Select specific fields to fetch from the Organization
|
|
1920
|
+
*/
|
|
1258
1921
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
1922
|
+
/**
|
|
1923
|
+
* Omit specific fields from the Organization
|
|
1924
|
+
*/
|
|
1259
1925
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
1926
|
+
/**
|
|
1927
|
+
* Choose, which related nodes to fetch as well
|
|
1928
|
+
*/
|
|
1260
1929
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
1261
1930
|
where?: Prisma.OrganizationWhereInput;
|
|
1262
1931
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
@@ -1265,9 +1934,21 @@ export type OrganizationConfiguration$organizationsArgs<ExtArgs extends runtime.
|
|
|
1265
1934
|
skip?: number;
|
|
1266
1935
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
1267
1936
|
};
|
|
1937
|
+
/**
|
|
1938
|
+
* OrganizationConfiguration without action
|
|
1939
|
+
*/
|
|
1268
1940
|
export type OrganizationConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1941
|
+
/**
|
|
1942
|
+
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1943
|
+
*/
|
|
1269
1944
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1945
|
+
/**
|
|
1946
|
+
* Omit specific fields from the OrganizationConfiguration
|
|
1947
|
+
*/
|
|
1270
1948
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1949
|
+
/**
|
|
1950
|
+
* Choose, which related nodes to fetch as well
|
|
1951
|
+
*/
|
|
1271
1952
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1272
1953
|
};
|
|
1273
1954
|
export {};
|