@shophost/rest-api 2.0.29 → 2.0.31
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 +18 -13
- package/scripts/minify.mjs +110 -0
- package/src/app.js +1 -53
- package/src/core/auth/auth.schema.js +1 -41
- package/src/core/auth/auth.util.js +1 -44
- package/src/core/auth/better-auth.lib.js +1 -100
- package/src/core/auth/generate-password-hash.util.d.ts +0 -3
- package/src/core/auth/generate-password-hash.util.js +1 -30
- package/src/core/auth/headers.schema.js +1 -22
- package/src/core/auth/user.schema.js +1 -30
- package/src/core/db/__generated__/client/browser.d.ts +0 -128
- package/src/core/db/__generated__/client/browser.js +1 -18
- package/src/core/db/__generated__/client/client.d.ts +0 -143
- package/src/core/db/__generated__/client/client.js +1 -35
- package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
- package/src/core/db/__generated__/client/enums.js +1 -200
- package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
- package/src/core/db/__generated__/client/internal/class.js +1 -55
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
- package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Account.js +1 -2
- package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
- package/src/core/db/__generated__/client/models/Address.js +1 -2
- package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
- package/src/core/db/__generated__/client/models/Campaign.js +1 -2
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
- package/src/core/db/__generated__/client/models/File.d.ts +0 -752
- package/src/core/db/__generated__/client/models/File.js +1 -2
- package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Invitation.js +1 -2
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
- package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
- package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Member.js +1 -2
- package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
- package/src/core/db/__generated__/client/models/Modifier.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
- package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
- package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
- package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
- package/src/core/db/__generated__/client/models/Order.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
- package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
- package/src/core/db/__generated__/client/models/Organization.js +1 -2
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
- package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
- package/src/core/db/__generated__/client/models/Payment.js +1 -2
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
- package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
- package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
- package/src/core/db/__generated__/client/models/Product.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
- package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
- package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
- package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
- package/src/core/db/__generated__/client/models/Reservation.js +1 -2
- package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
- package/src/core/db/__generated__/client/models/Session.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
- package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
- package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
- package/src/core/db/__generated__/client/models/User.d.ts +0 -736
- package/src/core/db/__generated__/client/models/User.js +1 -2
- package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
- package/src/core/db/__generated__/client/models/Verification.js +1 -2
- package/src/core/db/__generated__/client/models.js +1 -2
- package/src/core/db/index.js +1 -2
- package/src/core/exceptions/http-exception.js +1 -9
- package/src/core/hono/hono.js +1 -123
- package/src/core/lib/prisma.d.ts +9 -1
- package/src/core/lib/prisma.js +1 -11
- package/src/core/logging/pino.js +1 -5
- package/src/core/notifications/email.service.d.ts +0 -15
- package/src/core/notifications/email.service.js +1 -116
- package/src/core/openapi/openapi.lib.js +1 -26
- package/src/core/types/google-maps.types.js +1 -2
- package/src/core/utils/currency.util.js +1 -11
- package/src/core/utils/env.util.js +1 -8
- package/src/core/utils/object.util.d.ts +0 -10
- package/src/core/utils/object.util.js +1 -39
- package/src/core/utils/translations.util.js +0 -2
- package/src/core/utils/zod.util.d.ts +0 -12
- package/src/core/utils/zod.util.js +1 -85
- package/src/db.js +1 -3
- package/src/features/access/access.handler.js +1 -91
- package/src/features/access/access.route.js +1 -220
- package/src/features/access/access.schema.js +1 -108
- package/src/features/access/access.service.js +1 -294
- package/src/features/cart/cart.handler.js +1 -17
- package/src/features/cart/cart.route.js +1 -32
- package/src/features/cart/cart.schema.js +1 -39
- package/src/features/cart/cart.service.d.ts +0 -7
- package/src/features/cart/cart.service.js +1 -97
- package/src/features/cart/cart.util.js +1 -76
- package/src/features/file/file.handler.js +1 -23
- package/src/features/file/file.route.js +1 -34
- package/src/features/file/file.schema.js +1 -77
- package/src/features/file/file.service.d.ts +0 -6
- package/src/features/file/file.service.js +1 -66
- package/src/features/health/health.handler.js +1 -10
- package/src/features/health/health.route.js +1 -25
- package/src/features/index.js +1 -16
- package/src/features/location/location.handler.js +1 -25
- package/src/features/location/location.route.js +1 -56
- package/src/features/location/location.schema.js +1 -50
- package/src/features/location/location.service.d.ts +0 -3
- package/src/features/location/location.service.js +1 -141
- package/src/features/manufacturer/manufacturer.handler.js +1 -53
- package/src/features/manufacturer/manufacturer.route.js +1 -97
- package/src/features/manufacturer/manufacturer.schema.js +1 -125
- package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
- package/src/features/manufacturer/manufacturer.service.js +1 -190
- package/src/features/order/emails/order-confirmation.email.js +1 -229
- package/src/features/order/emails/order-notification.email.js +1 -229
- package/src/features/order/fulfilment.schema.js +1 -3
- package/src/features/order/order.handler.js +1 -54
- package/src/features/order/order.route.js +1 -111
- package/src/features/order/order.schema.js +1 -158
- package/src/features/order/order.service.d.ts +0 -15
- package/src/features/order/order.service.js +1 -306
- package/src/features/order/recipient.schema.js +1 -38
- package/src/features/organization/legal-entity.schema.js +1 -83
- package/src/features/organization/organization-configuration.schema.js +1 -115
- package/src/features/organization/organization.handler.js +1 -48
- package/src/features/organization/organization.route.js +1 -84
- package/src/features/organization/organization.schema.js +1 -64
- package/src/features/organization/organization.service.d.ts +0 -15
- package/src/features/organization/organization.service.js +1 -334
- package/src/features/payment/payment.handler.js +1 -16
- package/src/features/payment/payment.route.js +1 -22
- package/src/features/payment/payment.schema.js +1 -46
- package/src/features/payment/payment.service.js +1 -100
- package/src/features/payment/stripe.service.js +1 -164
- package/src/features/product/product-modifier.schema.js +1 -84
- package/src/features/product/product.handler.js +1 -87
- package/src/features/product/product.route.js +1 -179
- package/src/features/product/product.schema.js +1 -143
- package/src/features/product/product.service.d.ts +0 -25
- package/src/features/product/product.service.js +1 -440
- package/src/features/product-category/product-category.handler.js +1 -59
- package/src/features/product-category/product-category.route.js +1 -139
- package/src/features/product-category/product-category.schema.js +1 -86
- package/src/features/product-category/product-category.service.d.ts +0 -22
- package/src/features/product-category/product-category.service.js +1 -220
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
- package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
- package/src/features/reservation/emails/reservation-notification.email.js +1 -93
- package/src/features/reservation/reservation.handler.js +1 -65
- package/src/features/reservation/reservation.route.js +1 -167
- package/src/features/reservation/reservation.schema.js +1 -51
- package/src/features/reservation/reservation.service.d.ts +0 -18
- package/src/features/reservation/reservation.service.js +1 -231
- package/src/features/shipping/shipping.handler.js +1 -32
- package/src/features/shipping/shipping.route.js +1 -51
- package/src/features/shipping/shipping.service.d.ts +0 -7
- package/src/features/shipping/shipping.service.js +1 -96
- package/src/features/shipping-method/shipping-method.handler.js +1 -60
- package/src/features/shipping-method/shipping-method.route.js +1 -144
- package/src/features/shipping-method/shipping-method.schema.js +1 -48
- package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
- package/src/features/shipping-method/shipping-method.service.js +1 -229
- package/src/features/shipping-method/shipping-zone.schema.js +1 -31
- package/src/features/webhook/webhook.handler.js +1 -50
- package/src/features/webhook/webhook.route.js +1 -33
- package/src/index.js +1 -6
- package/src/integrations/next.js +1 -82
- package/src/schemas/address.schema.d.ts +0 -8
- package/src/schemas/address.schema.js +1 -112
- package/src/schemas/currency.schema.d.ts +0 -42
- package/src/schemas/currency.schema.js +1 -118
- package/src/schemas/error.schema.js +1 -12
- package/src/schemas/index.js +1 -29
- package/src/schemas/locales.schema.js +1 -238
- package/src/schemas/number.schema.js +1 -29
- package/src/schemas/pagination.schema.js +1 -54
- package/src/schemas/params.schema.js +1 -20
- package/src/schemas/queries.schema.js +1 -6
- package/src/test/global-setup.d.ts +1 -0
- package/src/test/global-setup.js +1 -0
- package/src/test/integration/api-fixtures.d.ts +4 -16
- package/src/test/integration/api-fixtures.js +1 -225
- package/src/test/integration/seed.d.ts +81 -0
- package/src/test/integration/seed.js +1 -0
- package/src/test/integration/test-helpers.d.ts +107 -924
- package/src/test/integration/test-helpers.js +1 -1100
- package/src/test/setup-test-env.d.ts +1 -1
- package/src/test/setup-test-env.js +1 -29
- package/src/app.js.map +0 -1
- package/src/core/auth/auth.schema.js.map +0 -1
- package/src/core/auth/auth.util.js.map +0 -1
- package/src/core/auth/better-auth.lib.js.map +0 -1
- package/src/core/auth/generate-password-hash.util.js.map +0 -1
- package/src/core/auth/headers.schema.js.map +0 -1
- package/src/core/auth/user.schema.js.map +0 -1
- package/src/core/db/__generated__/client/browser.js.map +0 -1
- package/src/core/db/__generated__/client/client.js.map +0 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
- package/src/core/db/__generated__/client/enums.js.map +0 -1
- package/src/core/db/__generated__/client/internal/class.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
- package/src/core/db/__generated__/client/models/Account.js.map +0 -1
- package/src/core/db/__generated__/client/models/Address.js.map +0 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/File.js.map +0 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Member.js.map +0 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
- package/src/core/db/__generated__/client/models/Order.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
- package/src/core/db/__generated__/client/models/Product.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
- package/src/core/db/__generated__/client/models/Session.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
- package/src/core/db/__generated__/client/models/User.js.map +0 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
- package/src/core/db/__generated__/client/models.js.map +0 -1
- package/src/core/db/index.js.map +0 -1
- package/src/core/exceptions/http-exception.js.map +0 -1
- package/src/core/hono/hono.js.map +0 -1
- package/src/core/lib/prisma.js.map +0 -1
- package/src/core/logging/pino.js.map +0 -1
- package/src/core/notifications/email.service.js.map +0 -1
- package/src/core/openapi/openapi.lib.js.map +0 -1
- package/src/core/types/google-maps.types.js.map +0 -1
- package/src/core/utils/currency.util.js.map +0 -1
- package/src/core/utils/env.util.js.map +0 -1
- package/src/core/utils/object.util.js.map +0 -1
- package/src/core/utils/translations.util.js.map +0 -1
- package/src/core/utils/zod.util.js.map +0 -1
- package/src/db.js.map +0 -1
- package/src/features/access/access.handler.js.map +0 -1
- package/src/features/access/access.route.js.map +0 -1
- package/src/features/access/access.schema.js.map +0 -1
- package/src/features/access/access.service.js.map +0 -1
- package/src/features/cart/cart.handler.js.map +0 -1
- package/src/features/cart/cart.route.js.map +0 -1
- package/src/features/cart/cart.schema.js.map +0 -1
- package/src/features/cart/cart.service.js.map +0 -1
- package/src/features/cart/cart.util.js.map +0 -1
- package/src/features/file/file.handler.js.map +0 -1
- package/src/features/file/file.route.js.map +0 -1
- package/src/features/file/file.schema.js.map +0 -1
- package/src/features/file/file.service.js.map +0 -1
- package/src/features/health/health.handler.js.map +0 -1
- package/src/features/health/health.route.js.map +0 -1
- package/src/features/index.js.map +0 -1
- package/src/features/location/location.handler.js.map +0 -1
- package/src/features/location/location.route.js.map +0 -1
- package/src/features/location/location.schema.js.map +0 -1
- package/src/features/location/location.service.js.map +0 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
- package/src/features/manufacturer/manufacturer.route.js.map +0 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
- package/src/features/manufacturer/manufacturer.service.js.map +0 -1
- package/src/features/order/emails/order-confirmation.email.js.map +0 -1
- package/src/features/order/emails/order-notification.email.js.map +0 -1
- package/src/features/order/fulfilment.schema.js.map +0 -1
- package/src/features/order/order.handler.js.map +0 -1
- package/src/features/order/order.route.js.map +0 -1
- package/src/features/order/order.schema.js.map +0 -1
- package/src/features/order/order.service.js.map +0 -1
- package/src/features/order/recipient.schema.js.map +0 -1
- package/src/features/organization/legal-entity.schema.js.map +0 -1
- package/src/features/organization/organization-configuration.schema.js.map +0 -1
- package/src/features/organization/organization.handler.js.map +0 -1
- package/src/features/organization/organization.route.js.map +0 -1
- package/src/features/organization/organization.schema.js.map +0 -1
- package/src/features/organization/organization.service.js.map +0 -1
- package/src/features/payment/payment.handler.js.map +0 -1
- package/src/features/payment/payment.route.js.map +0 -1
- package/src/features/payment/payment.schema.js.map +0 -1
- package/src/features/payment/payment.service.js.map +0 -1
- package/src/features/payment/stripe.service.js.map +0 -1
- package/src/features/product/product-modifier.schema.js.map +0 -1
- package/src/features/product/product.handler.js.map +0 -1
- package/src/features/product/product.route.js.map +0 -1
- package/src/features/product/product.schema.js.map +0 -1
- package/src/features/product/product.service.js.map +0 -1
- package/src/features/product-category/product-category.handler.js.map +0 -1
- package/src/features/product-category/product-category.route.js.map +0 -1
- package/src/features/product-category/product-category.schema.js.map +0 -1
- package/src/features/product-category/product-category.service.js.map +0 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
- package/src/features/reservation/reservation.handler.js.map +0 -1
- package/src/features/reservation/reservation.route.js.map +0 -1
- package/src/features/reservation/reservation.schema.js.map +0 -1
- package/src/features/reservation/reservation.service.js.map +0 -1
- package/src/features/shipping/shipping.handler.js.map +0 -1
- package/src/features/shipping/shipping.route.js.map +0 -1
- package/src/features/shipping/shipping.service.js.map +0 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
- package/src/features/shipping-method/shipping-method.route.js.map +0 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
- package/src/features/shipping-method/shipping-method.service.js.map +0 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
- package/src/features/webhook/webhook.handler.js.map +0 -1
- package/src/features/webhook/webhook.route.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/integrations/next.js.map +0 -1
- package/src/schemas/address.schema.js.map +0 -1
- package/src/schemas/currency.schema.js.map +0 -1
- package/src/schemas/error.schema.js.map +0 -1
- package/src/schemas/index.js.map +0 -1
- package/src/schemas/locales.schema.js.map +0 -1
- package/src/schemas/number.schema.js.map +0 -1
- package/src/schemas/pagination.schema.js.map +0 -1
- package/src/schemas/params.schema.js.map +0 -1
- package/src/schemas/queries.schema.js.map +0 -1
- package/src/test/integration/api-fixtures.js.map +0 -1
- package/src/test/integration/test-helpers.js.map +0 -1
- package/src/test/setup-test-env.js.map +0 -1
|
@@ -1,10 +1,6 @@
|
|
|
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
|
-
*/
|
|
8
4
|
export type OrganizationConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationConfigurationPayload>;
|
|
9
5
|
export type AggregateOrganizationConfiguration = {
|
|
10
6
|
_count: OrganizationConfigurationCountAggregateOutputType | null;
|
|
@@ -132,51 +128,13 @@ export type OrganizationConfigurationCountAggregateInputType = {
|
|
|
132
128
|
_all?: true;
|
|
133
129
|
};
|
|
134
130
|
export type OrganizationConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
-
/**
|
|
136
|
-
* Filter which OrganizationConfiguration to aggregate.
|
|
137
|
-
*/
|
|
138
131
|
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
|
-
*/
|
|
144
132
|
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
|
-
*/
|
|
150
133
|
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
|
-
*/
|
|
156
134
|
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
|
-
*/
|
|
162
135
|
skip?: number;
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
-
*
|
|
166
|
-
* Count returned OrganizationConfigurations
|
|
167
|
-
**/
|
|
168
136
|
_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
|
-
**/
|
|
174
137
|
_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
|
-
**/
|
|
180
138
|
_max?: OrganizationConfigurationMaxAggregateInputType;
|
|
181
139
|
};
|
|
182
140
|
export type GetOrganizationConfigurationAggregateType<T extends OrganizationConfigurationAggregateArgs> = {
|
|
@@ -958,27 +916,15 @@ export type OrganizationConfigurationUncheckedUpdateWithoutClosingTimesInput = {
|
|
|
958
916
|
updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
959
917
|
organizations?: Prisma.OrganizationUncheckedUpdateManyWithoutConfigurationNestedInput;
|
|
960
918
|
};
|
|
961
|
-
/**
|
|
962
|
-
* Count Type OrganizationConfigurationCountOutputType
|
|
963
|
-
*/
|
|
964
919
|
export type OrganizationConfigurationCountOutputType = {
|
|
965
920
|
organizations: number;
|
|
966
921
|
};
|
|
967
922
|
export type OrganizationConfigurationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
923
|
organizations?: boolean | OrganizationConfigurationCountOutputTypeCountOrganizationsArgs;
|
|
969
924
|
};
|
|
970
|
-
/**
|
|
971
|
-
* OrganizationConfigurationCountOutputType without action
|
|
972
|
-
*/
|
|
973
925
|
export type OrganizationConfigurationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
|
-
/**
|
|
975
|
-
* Select specific fields to fetch from the OrganizationConfigurationCountOutputType
|
|
976
|
-
*/
|
|
977
926
|
select?: Prisma.OrganizationConfigurationCountOutputTypeSelect<ExtArgs> | null;
|
|
978
927
|
};
|
|
979
|
-
/**
|
|
980
|
-
* OrganizationConfigurationCountOutputType without action
|
|
981
|
-
*/
|
|
982
928
|
export type OrganizationConfigurationCountOutputTypeCountOrganizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
929
|
where?: Prisma.OrganizationWhereInput;
|
|
984
930
|
};
|
|
@@ -1130,290 +1076,22 @@ export interface OrganizationConfigurationDelegate<ExtArgs extends runtime.Types
|
|
|
1130
1076
|
name: 'OrganizationConfiguration';
|
|
1131
1077
|
};
|
|
1132
1078
|
};
|
|
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
|
-
*/
|
|
1144
1079
|
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
|
-
*/
|
|
1157
1080
|
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
|
-
*/
|
|
1171
1081
|
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
|
-
*/
|
|
1186
1082
|
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
|
-
*/
|
|
1203
1083
|
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
|
-
*/
|
|
1216
1084
|
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
|
-
*/
|
|
1229
1085
|
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
|
-
*/
|
|
1252
1086
|
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
|
-
*/
|
|
1265
1087
|
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
|
-
*/
|
|
1281
1088
|
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
|
-
*/
|
|
1294
1089
|
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
|
-
*/
|
|
1312
1090
|
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
|
-
*/
|
|
1341
1091
|
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
|
-
*/
|
|
1359
1092
|
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
|
-
**/
|
|
1373
1093
|
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
|
-
**/
|
|
1398
1094
|
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
|
-
**/
|
|
1417
1095
|
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 ? {
|
|
1418
1096
|
orderBy: OrganizationConfigurationGroupByArgs['orderBy'];
|
|
1419
1097
|
} : {
|
|
@@ -1432,46 +1110,17 @@ export interface OrganizationConfigurationDelegate<ExtArgs extends runtime.Types
|
|
|
1432
1110
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1433
1111
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1434
1112
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1435
|
-
/**
|
|
1436
|
-
* Fields of the OrganizationConfiguration model
|
|
1437
|
-
*/
|
|
1438
1113
|
readonly fields: OrganizationConfigurationFieldRefs;
|
|
1439
1114
|
}
|
|
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
|
-
*/
|
|
1446
1115
|
export interface Prisma__OrganizationConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1447
1116
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1448
1117
|
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>;
|
|
1449
1118
|
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>;
|
|
1450
1119
|
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
|
-
*/
|
|
1457
1120
|
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
|
-
*/
|
|
1463
1121
|
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
|
-
*/
|
|
1470
1122
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1471
1123
|
}
|
|
1472
|
-
/**
|
|
1473
|
-
* Fields of the OrganizationConfiguration model
|
|
1474
|
-
*/
|
|
1475
1124
|
export interface OrganizationConfigurationFieldRefs {
|
|
1476
1125
|
readonly id: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
1477
1126
|
readonly hostname: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
@@ -1493,434 +1142,121 @@ export interface OrganizationConfigurationFieldRefs {
|
|
|
1493
1142
|
readonly updatedAt: Prisma.FieldRef<"OrganizationConfiguration", 'DateTime'>;
|
|
1494
1143
|
readonly updatedBy: Prisma.FieldRef<"OrganizationConfiguration", 'String'>;
|
|
1495
1144
|
}
|
|
1496
|
-
/**
|
|
1497
|
-
* OrganizationConfiguration findUnique
|
|
1498
|
-
*/
|
|
1499
1145
|
export type OrganizationConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1500
|
-
/**
|
|
1501
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1502
|
-
*/
|
|
1503
1146
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1504
|
-
/**
|
|
1505
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1506
|
-
*/
|
|
1507
1147
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1508
|
-
/**
|
|
1509
|
-
* Choose, which related nodes to fetch as well
|
|
1510
|
-
*/
|
|
1511
1148
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1512
|
-
/**
|
|
1513
|
-
* Filter, which OrganizationConfiguration to fetch.
|
|
1514
|
-
*/
|
|
1515
1149
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1516
1150
|
};
|
|
1517
|
-
/**
|
|
1518
|
-
* OrganizationConfiguration findUniqueOrThrow
|
|
1519
|
-
*/
|
|
1520
1151
|
export type OrganizationConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1521
|
-
/**
|
|
1522
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1523
|
-
*/
|
|
1524
1152
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1525
|
-
/**
|
|
1526
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1527
|
-
*/
|
|
1528
1153
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1529
|
-
/**
|
|
1530
|
-
* Choose, which related nodes to fetch as well
|
|
1531
|
-
*/
|
|
1532
1154
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1533
|
-
/**
|
|
1534
|
-
* Filter, which OrganizationConfiguration to fetch.
|
|
1535
|
-
*/
|
|
1536
1155
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1537
1156
|
};
|
|
1538
|
-
/**
|
|
1539
|
-
* OrganizationConfiguration findFirst
|
|
1540
|
-
*/
|
|
1541
1157
|
export type OrganizationConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
-
/**
|
|
1543
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1544
|
-
*/
|
|
1545
1158
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1546
|
-
/**
|
|
1547
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1548
|
-
*/
|
|
1549
1159
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1550
|
-
/**
|
|
1551
|
-
* Choose, which related nodes to fetch as well
|
|
1552
|
-
*/
|
|
1553
1160
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1554
|
-
/**
|
|
1555
|
-
* Filter, which OrganizationConfiguration to fetch.
|
|
1556
|
-
*/
|
|
1557
1161
|
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
|
-
*/
|
|
1563
1162
|
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
|
-
*/
|
|
1569
1163
|
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
|
-
*/
|
|
1575
1164
|
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
|
-
*/
|
|
1581
1165
|
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
|
-
*/
|
|
1587
1166
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1588
1167
|
};
|
|
1589
|
-
/**
|
|
1590
|
-
* OrganizationConfiguration findFirstOrThrow
|
|
1591
|
-
*/
|
|
1592
1168
|
export type OrganizationConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1593
|
-
/**
|
|
1594
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1595
|
-
*/
|
|
1596
1169
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1597
|
-
/**
|
|
1598
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1599
|
-
*/
|
|
1600
1170
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1601
|
-
/**
|
|
1602
|
-
* Choose, which related nodes to fetch as well
|
|
1603
|
-
*/
|
|
1604
1171
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1605
|
-
/**
|
|
1606
|
-
* Filter, which OrganizationConfiguration to fetch.
|
|
1607
|
-
*/
|
|
1608
1172
|
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
|
-
*/
|
|
1614
1173
|
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
|
-
*/
|
|
1620
1174
|
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
|
-
*/
|
|
1626
1175
|
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
|
-
*/
|
|
1632
1176
|
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
|
-
*/
|
|
1638
1177
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1639
1178
|
};
|
|
1640
|
-
/**
|
|
1641
|
-
* OrganizationConfiguration findMany
|
|
1642
|
-
*/
|
|
1643
1179
|
export type OrganizationConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1644
|
-
/**
|
|
1645
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1646
|
-
*/
|
|
1647
1180
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1648
|
-
/**
|
|
1649
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1650
|
-
*/
|
|
1651
1181
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1652
|
-
/**
|
|
1653
|
-
* Choose, which related nodes to fetch as well
|
|
1654
|
-
*/
|
|
1655
1182
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1656
|
-
/**
|
|
1657
|
-
* Filter, which OrganizationConfigurations to fetch.
|
|
1658
|
-
*/
|
|
1659
1183
|
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
|
-
*/
|
|
1665
1184
|
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
|
-
*/
|
|
1671
1185
|
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
|
-
*/
|
|
1677
1186
|
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
|
-
*/
|
|
1683
1187
|
skip?: number;
|
|
1684
1188
|
distinct?: Prisma.OrganizationConfigurationScalarFieldEnum | Prisma.OrganizationConfigurationScalarFieldEnum[];
|
|
1685
1189
|
};
|
|
1686
|
-
/**
|
|
1687
|
-
* OrganizationConfiguration create
|
|
1688
|
-
*/
|
|
1689
1190
|
export type OrganizationConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1690
|
-
/**
|
|
1691
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1692
|
-
*/
|
|
1693
1191
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1694
|
-
/**
|
|
1695
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1696
|
-
*/
|
|
1697
1192
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1698
|
-
/**
|
|
1699
|
-
* Choose, which related nodes to fetch as well
|
|
1700
|
-
*/
|
|
1701
1193
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1702
|
-
/**
|
|
1703
|
-
* The data needed to create a OrganizationConfiguration.
|
|
1704
|
-
*/
|
|
1705
1194
|
data: Prisma.XOR<Prisma.OrganizationConfigurationCreateInput, Prisma.OrganizationConfigurationUncheckedCreateInput>;
|
|
1706
1195
|
};
|
|
1707
|
-
/**
|
|
1708
|
-
* OrganizationConfiguration createMany
|
|
1709
|
-
*/
|
|
1710
1196
|
export type OrganizationConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1711
|
-
/**
|
|
1712
|
-
* The data used to create many OrganizationConfigurations.
|
|
1713
|
-
*/
|
|
1714
1197
|
data: Prisma.OrganizationConfigurationCreateManyInput | Prisma.OrganizationConfigurationCreateManyInput[];
|
|
1715
1198
|
skipDuplicates?: boolean;
|
|
1716
1199
|
};
|
|
1717
|
-
/**
|
|
1718
|
-
* OrganizationConfiguration createManyAndReturn
|
|
1719
|
-
*/
|
|
1720
1200
|
export type OrganizationConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1721
|
-
/**
|
|
1722
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1723
|
-
*/
|
|
1724
1201
|
select?: Prisma.OrganizationConfigurationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1725
|
-
/**
|
|
1726
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1727
|
-
*/
|
|
1728
1202
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1729
|
-
/**
|
|
1730
|
-
* The data used to create many OrganizationConfigurations.
|
|
1731
|
-
*/
|
|
1732
1203
|
data: Prisma.OrganizationConfigurationCreateManyInput | Prisma.OrganizationConfigurationCreateManyInput[];
|
|
1733
1204
|
skipDuplicates?: boolean;
|
|
1734
|
-
/**
|
|
1735
|
-
* Choose, which related nodes to fetch as well
|
|
1736
|
-
*/
|
|
1737
1205
|
include?: Prisma.OrganizationConfigurationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1738
1206
|
};
|
|
1739
|
-
/**
|
|
1740
|
-
* OrganizationConfiguration update
|
|
1741
|
-
*/
|
|
1742
1207
|
export type OrganizationConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1743
|
-
/**
|
|
1744
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1745
|
-
*/
|
|
1746
1208
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1747
|
-
/**
|
|
1748
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1749
|
-
*/
|
|
1750
1209
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1751
|
-
/**
|
|
1752
|
-
* Choose, which related nodes to fetch as well
|
|
1753
|
-
*/
|
|
1754
1210
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1755
|
-
/**
|
|
1756
|
-
* The data needed to update a OrganizationConfiguration.
|
|
1757
|
-
*/
|
|
1758
1211
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateInput, Prisma.OrganizationConfigurationUncheckedUpdateInput>;
|
|
1759
|
-
/**
|
|
1760
|
-
* Choose, which OrganizationConfiguration to update.
|
|
1761
|
-
*/
|
|
1762
1212
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1763
1213
|
};
|
|
1764
|
-
/**
|
|
1765
|
-
* OrganizationConfiguration updateMany
|
|
1766
|
-
*/
|
|
1767
1214
|
export type OrganizationConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1768
|
-
/**
|
|
1769
|
-
* The data used to update OrganizationConfigurations.
|
|
1770
|
-
*/
|
|
1771
1215
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateManyMutationInput, Prisma.OrganizationConfigurationUncheckedUpdateManyInput>;
|
|
1772
|
-
/**
|
|
1773
|
-
* Filter which OrganizationConfigurations to update
|
|
1774
|
-
*/
|
|
1775
1216
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1776
|
-
/**
|
|
1777
|
-
* Limit how many OrganizationConfigurations to update.
|
|
1778
|
-
*/
|
|
1779
1217
|
limit?: number;
|
|
1780
1218
|
};
|
|
1781
|
-
/**
|
|
1782
|
-
* OrganizationConfiguration updateManyAndReturn
|
|
1783
|
-
*/
|
|
1784
1219
|
export type OrganizationConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1785
|
-
/**
|
|
1786
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1787
|
-
*/
|
|
1788
1220
|
select?: Prisma.OrganizationConfigurationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1789
|
-
/**
|
|
1790
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1791
|
-
*/
|
|
1792
1221
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1793
|
-
/**
|
|
1794
|
-
* The data used to update OrganizationConfigurations.
|
|
1795
|
-
*/
|
|
1796
1222
|
data: Prisma.XOR<Prisma.OrganizationConfigurationUpdateManyMutationInput, Prisma.OrganizationConfigurationUncheckedUpdateManyInput>;
|
|
1797
|
-
/**
|
|
1798
|
-
* Filter which OrganizationConfigurations to update
|
|
1799
|
-
*/
|
|
1800
1223
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1801
|
-
/**
|
|
1802
|
-
* Limit how many OrganizationConfigurations to update.
|
|
1803
|
-
*/
|
|
1804
1224
|
limit?: number;
|
|
1805
|
-
/**
|
|
1806
|
-
* Choose, which related nodes to fetch as well
|
|
1807
|
-
*/
|
|
1808
1225
|
include?: Prisma.OrganizationConfigurationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1809
1226
|
};
|
|
1810
|
-
/**
|
|
1811
|
-
* OrganizationConfiguration upsert
|
|
1812
|
-
*/
|
|
1813
1227
|
export type OrganizationConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1814
|
-
/**
|
|
1815
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1816
|
-
*/
|
|
1817
1228
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1818
|
-
/**
|
|
1819
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1820
|
-
*/
|
|
1821
1229
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1822
|
-
/**
|
|
1823
|
-
* Choose, which related nodes to fetch as well
|
|
1824
|
-
*/
|
|
1825
1230
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1826
|
-
/**
|
|
1827
|
-
* The filter to search for the OrganizationConfiguration to update in case it exists.
|
|
1828
|
-
*/
|
|
1829
1231
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1830
|
-
/**
|
|
1831
|
-
* In case the OrganizationConfiguration found by the `where` argument doesn't exist, create a new OrganizationConfiguration with this data.
|
|
1832
|
-
*/
|
|
1833
1232
|
create: Prisma.XOR<Prisma.OrganizationConfigurationCreateInput, Prisma.OrganizationConfigurationUncheckedCreateInput>;
|
|
1834
|
-
/**
|
|
1835
|
-
* In case the OrganizationConfiguration was found with the provided `where` argument, update it with this data.
|
|
1836
|
-
*/
|
|
1837
1233
|
update: Prisma.XOR<Prisma.OrganizationConfigurationUpdateInput, Prisma.OrganizationConfigurationUncheckedUpdateInput>;
|
|
1838
1234
|
};
|
|
1839
|
-
/**
|
|
1840
|
-
* OrganizationConfiguration delete
|
|
1841
|
-
*/
|
|
1842
1235
|
export type OrganizationConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1843
|
-
/**
|
|
1844
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1845
|
-
*/
|
|
1846
1236
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1847
|
-
/**
|
|
1848
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1849
|
-
*/
|
|
1850
1237
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1851
|
-
/**
|
|
1852
|
-
* Choose, which related nodes to fetch as well
|
|
1853
|
-
*/
|
|
1854
1238
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1855
|
-
/**
|
|
1856
|
-
* Filter which OrganizationConfiguration to delete.
|
|
1857
|
-
*/
|
|
1858
1239
|
where: Prisma.OrganizationConfigurationWhereUniqueInput;
|
|
1859
1240
|
};
|
|
1860
|
-
/**
|
|
1861
|
-
* OrganizationConfiguration deleteMany
|
|
1862
|
-
*/
|
|
1863
1241
|
export type OrganizationConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1864
|
-
/**
|
|
1865
|
-
* Filter which OrganizationConfigurations to delete
|
|
1866
|
-
*/
|
|
1867
1242
|
where?: Prisma.OrganizationConfigurationWhereInput;
|
|
1868
|
-
/**
|
|
1869
|
-
* Limit how many OrganizationConfigurations to delete.
|
|
1870
|
-
*/
|
|
1871
1243
|
limit?: number;
|
|
1872
1244
|
};
|
|
1873
|
-
/**
|
|
1874
|
-
* OrganizationConfiguration.openingTimes
|
|
1875
|
-
*/
|
|
1876
1245
|
export type OrganizationConfiguration$openingTimesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1877
|
-
/**
|
|
1878
|
-
* Select specific fields to fetch from the OpeningTimes
|
|
1879
|
-
*/
|
|
1880
1246
|
select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
|
|
1881
|
-
/**
|
|
1882
|
-
* Omit specific fields from the OpeningTimes
|
|
1883
|
-
*/
|
|
1884
1247
|
omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
|
|
1885
|
-
/**
|
|
1886
|
-
* Choose, which related nodes to fetch as well
|
|
1887
|
-
*/
|
|
1888
1248
|
include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
|
|
1889
1249
|
where?: Prisma.OpeningTimesWhereInput;
|
|
1890
1250
|
};
|
|
1891
|
-
/**
|
|
1892
|
-
* OrganizationConfiguration.closingTimes
|
|
1893
|
-
*/
|
|
1894
1251
|
export type OrganizationConfiguration$closingTimesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1895
|
-
/**
|
|
1896
|
-
* Select specific fields to fetch from the ClosingTimes
|
|
1897
|
-
*/
|
|
1898
1252
|
select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
|
|
1899
|
-
/**
|
|
1900
|
-
* Omit specific fields from the ClosingTimes
|
|
1901
|
-
*/
|
|
1902
1253
|
omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
|
|
1903
|
-
/**
|
|
1904
|
-
* Choose, which related nodes to fetch as well
|
|
1905
|
-
*/
|
|
1906
1254
|
include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
|
|
1907
1255
|
where?: Prisma.ClosingTimesWhereInput;
|
|
1908
1256
|
};
|
|
1909
|
-
/**
|
|
1910
|
-
* OrganizationConfiguration.organizations
|
|
1911
|
-
*/
|
|
1912
1257
|
export type OrganizationConfiguration$organizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1913
|
-
/**
|
|
1914
|
-
* Select specific fields to fetch from the Organization
|
|
1915
|
-
*/
|
|
1916
1258
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
1917
|
-
/**
|
|
1918
|
-
* Omit specific fields from the Organization
|
|
1919
|
-
*/
|
|
1920
1259
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
1921
|
-
/**
|
|
1922
|
-
* Choose, which related nodes to fetch as well
|
|
1923
|
-
*/
|
|
1924
1260
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
1925
1261
|
where?: Prisma.OrganizationWhereInput;
|
|
1926
1262
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
@@ -1929,21 +1265,9 @@ export type OrganizationConfiguration$organizationsArgs<ExtArgs extends runtime.
|
|
|
1929
1265
|
skip?: number;
|
|
1930
1266
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
1931
1267
|
};
|
|
1932
|
-
/**
|
|
1933
|
-
* OrganizationConfiguration without action
|
|
1934
|
-
*/
|
|
1935
1268
|
export type OrganizationConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1936
|
-
/**
|
|
1937
|
-
* Select specific fields to fetch from the OrganizationConfiguration
|
|
1938
|
-
*/
|
|
1939
1269
|
select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
|
|
1940
|
-
/**
|
|
1941
|
-
* Omit specific fields from the OrganizationConfiguration
|
|
1942
|
-
*/
|
|
1943
1270
|
omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
|
|
1944
|
-
/**
|
|
1945
|
-
* Choose, which related nodes to fetch as well
|
|
1946
|
-
*/
|
|
1947
1271
|
include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
|
|
1948
1272
|
};
|
|
1949
1273
|
export {};
|