@shophost/rest-api 2.0.31 → 2.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -14
- package/src/app.js +53 -1
- package/src/app.js.map +1 -0
- package/src/core/auth/auth.schema.js +41 -1
- package/src/core/auth/auth.schema.js.map +1 -0
- package/src/core/auth/auth.util.js +44 -1
- package/src/core/auth/auth.util.js.map +1 -0
- package/src/core/auth/better-auth.lib.js +100 -1
- package/src/core/auth/better-auth.lib.js.map +1 -0
- package/src/core/auth/generate-password-hash.util.d.ts +3 -0
- package/src/core/auth/generate-password-hash.util.js +30 -1
- package/src/core/auth/generate-password-hash.util.js.map +1 -0
- package/src/core/auth/headers.schema.js +22 -1
- package/src/core/auth/headers.schema.js.map +1 -0
- package/src/core/auth/user.schema.js +30 -1
- package/src/core/auth/user.schema.js.map +1 -0
- package/src/core/db/__generated__/client/browser.d.ts +128 -0
- package/src/core/db/__generated__/client/browser.js +18 -1
- package/src/core/db/__generated__/client/browser.js.map +1 -0
- package/src/core/db/__generated__/client/client.d.ts +143 -0
- package/src/core/db/__generated__/client/client.js +35 -1
- package/src/core/db/__generated__/client/client.js.map +1 -0
- package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
- package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
- package/src/core/db/__generated__/client/enums.js +200 -1
- package/src/core/db/__generated__/client/enums.js.map +1 -0
- package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
- package/src/core/db/__generated__/client/internal/class.js +55 -1
- package/src/core/db/__generated__/client/internal/class.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
- package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
- package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Account.js +2 -1
- package/src/core/db/__generated__/client/models/Account.js.map +1 -0
- package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
- package/src/core/db/__generated__/client/models/Address.js +2 -1
- package/src/core/db/__generated__/client/models/Address.js.map +1 -0
- package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
- package/src/core/db/__generated__/client/models/Campaign.js +2 -1
- package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
- package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/File.d.ts +757 -0
- package/src/core/db/__generated__/client/models/File.js +2 -1
- package/src/core/db/__generated__/client/models/File.js.map +1 -0
- package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Invitation.js +2 -1
- package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
- package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
- package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
- package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
- package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
- package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
- package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Member.js +2 -1
- package/src/core/db/__generated__/client/models/Member.js.map +1 -0
- package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
- package/src/core/db/__generated__/client/models/Modifier.js +2 -1
- package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
- package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
- package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
- package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
- package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
- package/src/core/db/__generated__/client/models/Order.js +2 -1
- package/src/core/db/__generated__/client/models/Order.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
- package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
- package/src/core/db/__generated__/client/models/Organization.js +2 -1
- package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
- package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
- package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
- package/src/core/db/__generated__/client/models/Payment.js +2 -1
- package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
- package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
- package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
- package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
- package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
- package/src/core/db/__generated__/client/models/Product.js +2 -1
- package/src/core/db/__generated__/client/models/Product.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
- package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
- package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
- package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
- package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
- package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
- package/src/core/db/__generated__/client/models/Reservation.js +2 -1
- package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
- package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
- package/src/core/db/__generated__/client/models/Session.js +2 -1
- package/src/core/db/__generated__/client/models/Session.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
- package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
- package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
- package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
- package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
- package/src/core/db/__generated__/client/models/User.d.ts +741 -0
- package/src/core/db/__generated__/client/models/User.js +2 -1
- package/src/core/db/__generated__/client/models/User.js.map +1 -0
- package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
- package/src/core/db/__generated__/client/models/Verification.js +2 -1
- package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
- package/src/core/db/__generated__/client/models.js +2 -1
- package/src/core/db/__generated__/client/models.js.map +1 -0
- package/src/core/db/index.js +2 -1
- package/src/core/db/index.js.map +1 -0
- package/src/core/exceptions/http-exception.js +9 -1
- package/src/core/exceptions/http-exception.js.map +1 -0
- package/src/core/hono/hono.js +123 -1
- package/src/core/hono/hono.js.map +1 -0
- package/src/core/lib/prisma.js +11 -1
- package/src/core/lib/prisma.js.map +1 -0
- package/src/core/logging/pino.js +5 -1
- package/src/core/logging/pino.js.map +1 -0
- package/src/core/notifications/email.service.d.ts +15 -0
- package/src/core/notifications/email.service.js +116 -1
- package/src/core/notifications/email.service.js.map +1 -0
- package/src/core/openapi/openapi.lib.js +26 -1
- package/src/core/openapi/openapi.lib.js.map +1 -0
- package/src/core/types/google-maps.types.js +2 -1
- package/src/core/types/google-maps.types.js.map +1 -0
- package/src/core/utils/currency.util.js +11 -1
- package/src/core/utils/currency.util.js.map +1 -0
- package/src/core/utils/env.util.js +8 -1
- package/src/core/utils/env.util.js.map +1 -0
- package/src/core/utils/object.util.d.ts +10 -0
- package/src/core/utils/object.util.js +39 -1
- package/src/core/utils/object.util.js.map +1 -0
- package/src/core/utils/translations.util.js +2 -0
- package/src/core/utils/translations.util.js.map +1 -0
- package/src/core/utils/zod.util.d.ts +12 -0
- package/src/core/utils/zod.util.js +85 -1
- package/src/core/utils/zod.util.js.map +1 -0
- package/src/db.js +3 -1
- package/src/db.js.map +1 -0
- package/src/features/access/access.handler.js +91 -1
- package/src/features/access/access.handler.js.map +1 -0
- package/src/features/access/access.route.js +220 -1
- package/src/features/access/access.route.js.map +1 -0
- package/src/features/access/access.schema.js +108 -1
- package/src/features/access/access.schema.js.map +1 -0
- package/src/features/access/access.service.js +294 -1
- package/src/features/access/access.service.js.map +1 -0
- package/src/features/cart/cart.handler.js +17 -1
- package/src/features/cart/cart.handler.js.map +1 -0
- package/src/features/cart/cart.route.js +32 -1
- package/src/features/cart/cart.route.js.map +1 -0
- package/src/features/cart/cart.schema.js +39 -1
- package/src/features/cart/cart.schema.js.map +1 -0
- package/src/features/cart/cart.service.d.ts +7 -0
- package/src/features/cart/cart.service.js +97 -1
- package/src/features/cart/cart.service.js.map +1 -0
- package/src/features/cart/cart.util.js +76 -1
- package/src/features/cart/cart.util.js.map +1 -0
- package/src/features/file/file.handler.js +23 -1
- package/src/features/file/file.handler.js.map +1 -0
- package/src/features/file/file.route.js +34 -1
- package/src/features/file/file.route.js.map +1 -0
- package/src/features/file/file.schema.js +77 -1
- package/src/features/file/file.schema.js.map +1 -0
- package/src/features/file/file.service.d.ts +6 -0
- package/src/features/file/file.service.js +66 -1
- package/src/features/file/file.service.js.map +1 -0
- package/src/features/health/health.handler.js +10 -1
- package/src/features/health/health.handler.js.map +1 -0
- package/src/features/health/health.route.js +25 -1
- package/src/features/health/health.route.js.map +1 -0
- package/src/features/index.js +16 -1
- package/src/features/index.js.map +1 -0
- package/src/features/location/location.handler.js +25 -1
- package/src/features/location/location.handler.js.map +1 -0
- package/src/features/location/location.route.js +56 -1
- package/src/features/location/location.route.js.map +1 -0
- package/src/features/location/location.schema.js +50 -1
- package/src/features/location/location.schema.js.map +1 -0
- package/src/features/location/location.service.d.ts +3 -0
- package/src/features/location/location.service.js +141 -1
- package/src/features/location/location.service.js.map +1 -0
- package/src/features/manufacturer/manufacturer.handler.js +53 -1
- package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
- package/src/features/manufacturer/manufacturer.route.js +97 -1
- package/src/features/manufacturer/manufacturer.route.js.map +1 -0
- package/src/features/manufacturer/manufacturer.schema.js +125 -1
- package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
- package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
- package/src/features/manufacturer/manufacturer.service.js +190 -1
- package/src/features/manufacturer/manufacturer.service.js.map +1 -0
- package/src/features/order/emails/order-confirmation.email.js +229 -1
- package/src/features/order/emails/order-confirmation.email.js.map +1 -0
- package/src/features/order/emails/order-notification.email.js +229 -1
- package/src/features/order/emails/order-notification.email.js.map +1 -0
- package/src/features/order/fulfilment.schema.js +3 -1
- package/src/features/order/fulfilment.schema.js.map +1 -0
- package/src/features/order/order.handler.js +54 -1
- package/src/features/order/order.handler.js.map +1 -0
- package/src/features/order/order.route.js +111 -1
- package/src/features/order/order.route.js.map +1 -0
- package/src/features/order/order.schema.js +158 -1
- package/src/features/order/order.schema.js.map +1 -0
- package/src/features/order/order.service.d.ts +15 -0
- package/src/features/order/order.service.js +306 -1
- package/src/features/order/order.service.js.map +1 -0
- package/src/features/order/recipient.schema.js +38 -1
- package/src/features/order/recipient.schema.js.map +1 -0
- package/src/features/organization/legal-entity.schema.js +83 -1
- package/src/features/organization/legal-entity.schema.js.map +1 -0
- package/src/features/organization/organization-configuration.schema.js +115 -1
- package/src/features/organization/organization-configuration.schema.js.map +1 -0
- package/src/features/organization/organization.handler.js +48 -1
- package/src/features/organization/organization.handler.js.map +1 -0
- package/src/features/organization/organization.route.js +84 -1
- package/src/features/organization/organization.route.js.map +1 -0
- package/src/features/organization/organization.schema.js +64 -1
- package/src/features/organization/organization.schema.js.map +1 -0
- package/src/features/organization/organization.service.d.ts +15 -0
- package/src/features/organization/organization.service.js +334 -1
- package/src/features/organization/organization.service.js.map +1 -0
- package/src/features/payment/payment.handler.js +16 -1
- package/src/features/payment/payment.handler.js.map +1 -0
- package/src/features/payment/payment.route.js +22 -1
- package/src/features/payment/payment.route.js.map +1 -0
- package/src/features/payment/payment.schema.js +46 -1
- package/src/features/payment/payment.schema.js.map +1 -0
- package/src/features/payment/payment.service.js +100 -1
- package/src/features/payment/payment.service.js.map +1 -0
- package/src/features/payment/stripe.service.js +164 -1
- package/src/features/payment/stripe.service.js.map +1 -0
- package/src/features/product/product-modifier.schema.js +84 -1
- package/src/features/product/product-modifier.schema.js.map +1 -0
- package/src/features/product/product.handler.js +87 -1
- package/src/features/product/product.handler.js.map +1 -0
- package/src/features/product/product.route.js +179 -1
- package/src/features/product/product.route.js.map +1 -0
- package/src/features/product/product.schema.js +143 -1
- package/src/features/product/product.schema.js.map +1 -0
- package/src/features/product/product.service.d.ts +25 -0
- package/src/features/product/product.service.js +440 -1
- package/src/features/product/product.service.js.map +1 -0
- package/src/features/product-category/product-category.handler.js +59 -1
- package/src/features/product-category/product-category.handler.js.map +1 -0
- package/src/features/product-category/product-category.route.js +139 -1
- package/src/features/product-category/product-category.route.js.map +1 -0
- package/src/features/product-category/product-category.schema.js +86 -1
- package/src/features/product-category/product-category.schema.js.map +1 -0
- package/src/features/product-category/product-category.service.d.ts +22 -0
- package/src/features/product-category/product-category.service.js +220 -1
- package/src/features/product-category/product-category.service.js.map +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
- package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
- package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
- package/src/features/reservation/emails/reservation-notification.email.js +93 -1
- package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
- package/src/features/reservation/reservation.handler.js +65 -1
- package/src/features/reservation/reservation.handler.js.map +1 -0
- package/src/features/reservation/reservation.route.js +167 -1
- package/src/features/reservation/reservation.route.js.map +1 -0
- package/src/features/reservation/reservation.schema.js +51 -1
- package/src/features/reservation/reservation.schema.js.map +1 -0
- package/src/features/reservation/reservation.service.d.ts +18 -0
- package/src/features/reservation/reservation.service.js +231 -1
- package/src/features/reservation/reservation.service.js.map +1 -0
- package/src/features/shipping/shipping.handler.js +32 -1
- package/src/features/shipping/shipping.handler.js.map +1 -0
- package/src/features/shipping/shipping.route.js +51 -1
- package/src/features/shipping/shipping.route.js.map +1 -0
- package/src/features/shipping/shipping.service.d.ts +7 -0
- package/src/features/shipping/shipping.service.js +96 -1
- package/src/features/shipping/shipping.service.js.map +1 -0
- package/src/features/shipping-method/shipping-method.handler.js +60 -1
- package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
- package/src/features/shipping-method/shipping-method.route.js +144 -1
- package/src/features/shipping-method/shipping-method.route.js.map +1 -0
- package/src/features/shipping-method/shipping-method.schema.js +48 -1
- package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
- package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
- package/src/features/shipping-method/shipping-method.service.js +229 -1
- package/src/features/shipping-method/shipping-method.service.js.map +1 -0
- package/src/features/shipping-method/shipping-zone.schema.js +31 -1
- package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
- package/src/features/webhook/webhook.handler.js +50 -1
- package/src/features/webhook/webhook.handler.js.map +1 -0
- package/src/features/webhook/webhook.route.js +33 -1
- package/src/features/webhook/webhook.route.js.map +1 -0
- package/src/index.js +6 -1
- package/src/index.js.map +1 -0
- package/src/integrations/next.js +82 -1
- package/src/integrations/next.js.map +1 -0
- package/src/schemas/address.schema.d.ts +8 -0
- package/src/schemas/address.schema.js +112 -1
- package/src/schemas/address.schema.js.map +1 -0
- package/src/schemas/currency.schema.d.ts +42 -0
- package/src/schemas/currency.schema.js +118 -1
- package/src/schemas/currency.schema.js.map +1 -0
- package/src/schemas/error.schema.js +12 -1
- package/src/schemas/error.schema.js.map +1 -0
- package/src/schemas/index.js +29 -1
- package/src/schemas/index.js.map +1 -0
- package/src/schemas/locales.schema.js +238 -1
- package/src/schemas/locales.schema.js.map +1 -0
- package/src/schemas/number.schema.js +29 -1
- package/src/schemas/number.schema.js.map +1 -0
- package/src/schemas/pagination.schema.js +54 -1
- package/src/schemas/pagination.schema.js.map +1 -0
- package/src/schemas/params.schema.js +20 -1
- package/src/schemas/params.schema.js.map +1 -0
- package/src/schemas/queries.schema.js +6 -1
- package/src/schemas/queries.schema.js.map +1 -0
- package/src/test/global-setup.js +37 -1
- package/src/test/global-setup.js.map +1 -0
- package/src/test/integration/api-fixtures.js +160 -1
- package/src/test/integration/api-fixtures.js.map +1 -0
- package/src/test/integration/seed.js +368 -1
- package/src/test/integration/seed.js.map +1 -0
- package/src/test/integration/test-helpers.js +154 -1
- package/src/test/integration/test-helpers.js.map +1 -0
- package/src/test/setup-test-env.js +7 -1
- package/src/test/setup-test-env.js.map +1 -0
- package/scripts/minify.mjs +0 -110
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
2
|
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model Invitation
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type InvitationModel = runtime.Types.Result.DefaultSelection<Prisma.$InvitationPayload>;
|
|
4
8
|
export type AggregateInvitation = {
|
|
5
9
|
_count: InvitationCountAggregateOutputType | null;
|
|
@@ -63,13 +67,51 @@ export type InvitationCountAggregateInputType = {
|
|
|
63
67
|
_all?: true;
|
|
64
68
|
};
|
|
65
69
|
export type InvitationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
70
|
+
/**
|
|
71
|
+
* Filter which Invitation to aggregate.
|
|
72
|
+
*/
|
|
66
73
|
where?: Prisma.InvitationWhereInput;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
76
|
+
*
|
|
77
|
+
* Determine the order of Invitations to fetch.
|
|
78
|
+
*/
|
|
67
79
|
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
82
|
+
*
|
|
83
|
+
* Sets the start position
|
|
84
|
+
*/
|
|
68
85
|
cursor?: Prisma.InvitationWhereUniqueInput;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
88
|
+
*
|
|
89
|
+
* Take `±n` Invitations from the position of the cursor.
|
|
90
|
+
*/
|
|
69
91
|
take?: number;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Skip the first `n` Invitations.
|
|
96
|
+
*/
|
|
70
97
|
skip?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Count returned Invitations
|
|
102
|
+
**/
|
|
71
103
|
_count?: true | InvitationCountAggregateInputType;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Select which fields to find the minimum value
|
|
108
|
+
**/
|
|
72
109
|
_min?: InvitationMinAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the maximum value
|
|
114
|
+
**/
|
|
73
115
|
_max?: InvitationMaxAggregateInputType;
|
|
74
116
|
};
|
|
75
117
|
export type GetInvitationAggregateType<T extends InvitationAggregateArgs> = {
|
|
@@ -569,22 +611,290 @@ export interface InvitationDelegate<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
569
611
|
name: 'Invitation';
|
|
570
612
|
};
|
|
571
613
|
};
|
|
614
|
+
/**
|
|
615
|
+
* Find zero or one Invitation that matches the filter.
|
|
616
|
+
* @param {InvitationFindUniqueArgs} args - Arguments to find a Invitation
|
|
617
|
+
* @example
|
|
618
|
+
* // Get one Invitation
|
|
619
|
+
* const invitation = await prisma.invitation.findUnique({
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... provide filter here
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
572
625
|
findUnique<T extends InvitationFindUniqueArgs>(args: Prisma.SelectSubset<T, InvitationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
626
|
+
/**
|
|
627
|
+
* Find one Invitation that matches the filter or throw an error with `error.code='P2025'`
|
|
628
|
+
* if no matches were found.
|
|
629
|
+
* @param {InvitationFindUniqueOrThrowArgs} args - Arguments to find a Invitation
|
|
630
|
+
* @example
|
|
631
|
+
* // Get one Invitation
|
|
632
|
+
* const invitation = await prisma.invitation.findUniqueOrThrow({
|
|
633
|
+
* where: {
|
|
634
|
+
* // ... provide filter here
|
|
635
|
+
* }
|
|
636
|
+
* })
|
|
637
|
+
*/
|
|
573
638
|
findUniqueOrThrow<T extends InvitationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InvitationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
639
|
+
/**
|
|
640
|
+
* Find the first Invitation that matches the filter.
|
|
641
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
642
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
643
|
+
* @param {InvitationFindFirstArgs} args - Arguments to find a Invitation
|
|
644
|
+
* @example
|
|
645
|
+
* // Get one Invitation
|
|
646
|
+
* const invitation = await prisma.invitation.findFirst({
|
|
647
|
+
* where: {
|
|
648
|
+
* // ... provide filter here
|
|
649
|
+
* }
|
|
650
|
+
* })
|
|
651
|
+
*/
|
|
574
652
|
findFirst<T extends InvitationFindFirstArgs>(args?: Prisma.SelectSubset<T, InvitationFindFirstArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
653
|
+
/**
|
|
654
|
+
* Find the first Invitation that matches the filter or
|
|
655
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
656
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
657
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
658
|
+
* @param {InvitationFindFirstOrThrowArgs} args - Arguments to find a Invitation
|
|
659
|
+
* @example
|
|
660
|
+
* // Get one Invitation
|
|
661
|
+
* const invitation = await prisma.invitation.findFirstOrThrow({
|
|
662
|
+
* where: {
|
|
663
|
+
* // ... provide filter here
|
|
664
|
+
* }
|
|
665
|
+
* })
|
|
666
|
+
*/
|
|
575
667
|
findFirstOrThrow<T extends InvitationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InvitationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
668
|
+
/**
|
|
669
|
+
* Find zero or more Invitations that matches the filter.
|
|
670
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
671
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
672
|
+
* @param {InvitationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
673
|
+
* @example
|
|
674
|
+
* // Get all Invitations
|
|
675
|
+
* const invitations = await prisma.invitation.findMany()
|
|
676
|
+
*
|
|
677
|
+
* // Get first 10 Invitations
|
|
678
|
+
* const invitations = await prisma.invitation.findMany({ take: 10 })
|
|
679
|
+
*
|
|
680
|
+
* // Only select the `id`
|
|
681
|
+
* const invitationWithIdOnly = await prisma.invitation.findMany({ select: { id: true } })
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
576
684
|
findMany<T extends InvitationFindManyArgs>(args?: Prisma.SelectSubset<T, InvitationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
685
|
+
/**
|
|
686
|
+
* Create a Invitation.
|
|
687
|
+
* @param {InvitationCreateArgs} args - Arguments to create a Invitation.
|
|
688
|
+
* @example
|
|
689
|
+
* // Create one Invitation
|
|
690
|
+
* const Invitation = await prisma.invitation.create({
|
|
691
|
+
* data: {
|
|
692
|
+
* // ... data to create a Invitation
|
|
693
|
+
* }
|
|
694
|
+
* })
|
|
695
|
+
*
|
|
696
|
+
*/
|
|
577
697
|
create<T extends InvitationCreateArgs>(args: Prisma.SelectSubset<T, InvitationCreateArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
698
|
+
/**
|
|
699
|
+
* Create many Invitations.
|
|
700
|
+
* @param {InvitationCreateManyArgs} args - Arguments to create many Invitations.
|
|
701
|
+
* @example
|
|
702
|
+
* // Create many Invitations
|
|
703
|
+
* const invitation = await prisma.invitation.createMany({
|
|
704
|
+
* data: [
|
|
705
|
+
* // ... provide data here
|
|
706
|
+
* ]
|
|
707
|
+
* })
|
|
708
|
+
*
|
|
709
|
+
*/
|
|
578
710
|
createMany<T extends InvitationCreateManyArgs>(args?: Prisma.SelectSubset<T, InvitationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
711
|
+
/**
|
|
712
|
+
* Create many Invitations and returns the data saved in the database.
|
|
713
|
+
* @param {InvitationCreateManyAndReturnArgs} args - Arguments to create many Invitations.
|
|
714
|
+
* @example
|
|
715
|
+
* // Create many Invitations
|
|
716
|
+
* const invitation = await prisma.invitation.createManyAndReturn({
|
|
717
|
+
* data: [
|
|
718
|
+
* // ... provide data here
|
|
719
|
+
* ]
|
|
720
|
+
* })
|
|
721
|
+
*
|
|
722
|
+
* // Create many Invitations and only return the `id`
|
|
723
|
+
* const invitationWithIdOnly = await prisma.invitation.createManyAndReturn({
|
|
724
|
+
* select: { id: true },
|
|
725
|
+
* data: [
|
|
726
|
+
* // ... provide data here
|
|
727
|
+
* ]
|
|
728
|
+
* })
|
|
729
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
730
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
731
|
+
*
|
|
732
|
+
*/
|
|
579
733
|
createManyAndReturn<T extends InvitationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InvitationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
734
|
+
/**
|
|
735
|
+
* Delete a Invitation.
|
|
736
|
+
* @param {InvitationDeleteArgs} args - Arguments to delete one Invitation.
|
|
737
|
+
* @example
|
|
738
|
+
* // Delete one Invitation
|
|
739
|
+
* const Invitation = await prisma.invitation.delete({
|
|
740
|
+
* where: {
|
|
741
|
+
* // ... filter to delete one Invitation
|
|
742
|
+
* }
|
|
743
|
+
* })
|
|
744
|
+
*
|
|
745
|
+
*/
|
|
580
746
|
delete<T extends InvitationDeleteArgs>(args: Prisma.SelectSubset<T, InvitationDeleteArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
747
|
+
/**
|
|
748
|
+
* Update one Invitation.
|
|
749
|
+
* @param {InvitationUpdateArgs} args - Arguments to update one Invitation.
|
|
750
|
+
* @example
|
|
751
|
+
* // Update one Invitation
|
|
752
|
+
* const invitation = await prisma.invitation.update({
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... provide filter here
|
|
755
|
+
* },
|
|
756
|
+
* data: {
|
|
757
|
+
* // ... provide data here
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
581
762
|
update<T extends InvitationUpdateArgs>(args: Prisma.SelectSubset<T, InvitationUpdateArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
763
|
+
/**
|
|
764
|
+
* Delete zero or more Invitations.
|
|
765
|
+
* @param {InvitationDeleteManyArgs} args - Arguments to filter Invitations to delete.
|
|
766
|
+
* @example
|
|
767
|
+
* // Delete a few Invitations
|
|
768
|
+
* const { count } = await prisma.invitation.deleteMany({
|
|
769
|
+
* where: {
|
|
770
|
+
* // ... provide filter here
|
|
771
|
+
* }
|
|
772
|
+
* })
|
|
773
|
+
*
|
|
774
|
+
*/
|
|
582
775
|
deleteMany<T extends InvitationDeleteManyArgs>(args?: Prisma.SelectSubset<T, InvitationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
776
|
+
/**
|
|
777
|
+
* Update zero or more Invitations.
|
|
778
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
779
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
780
|
+
* @param {InvitationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
781
|
+
* @example
|
|
782
|
+
* // Update many Invitations
|
|
783
|
+
* const invitation = await prisma.invitation.updateMany({
|
|
784
|
+
* where: {
|
|
785
|
+
* // ... provide filter here
|
|
786
|
+
* },
|
|
787
|
+
* data: {
|
|
788
|
+
* // ... provide data here
|
|
789
|
+
* }
|
|
790
|
+
* })
|
|
791
|
+
*
|
|
792
|
+
*/
|
|
583
793
|
updateMany<T extends InvitationUpdateManyArgs>(args: Prisma.SelectSubset<T, InvitationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
794
|
+
/**
|
|
795
|
+
* Update zero or more Invitations and returns the data updated in the database.
|
|
796
|
+
* @param {InvitationUpdateManyAndReturnArgs} args - Arguments to update many Invitations.
|
|
797
|
+
* @example
|
|
798
|
+
* // Update many Invitations
|
|
799
|
+
* const invitation = await prisma.invitation.updateManyAndReturn({
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... provide filter here
|
|
802
|
+
* },
|
|
803
|
+
* data: [
|
|
804
|
+
* // ... provide data here
|
|
805
|
+
* ]
|
|
806
|
+
* })
|
|
807
|
+
*
|
|
808
|
+
* // Update zero or more Invitations and only return the `id`
|
|
809
|
+
* const invitationWithIdOnly = await prisma.invitation.updateManyAndReturn({
|
|
810
|
+
* select: { id: true },
|
|
811
|
+
* where: {
|
|
812
|
+
* // ... provide filter here
|
|
813
|
+
* },
|
|
814
|
+
* data: [
|
|
815
|
+
* // ... provide data here
|
|
816
|
+
* ]
|
|
817
|
+
* })
|
|
818
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
819
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
820
|
+
*
|
|
821
|
+
*/
|
|
584
822
|
updateManyAndReturn<T extends InvitationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InvitationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
823
|
+
/**
|
|
824
|
+
* Create or update one Invitation.
|
|
825
|
+
* @param {InvitationUpsertArgs} args - Arguments to update or create a Invitation.
|
|
826
|
+
* @example
|
|
827
|
+
* // Update or create a Invitation
|
|
828
|
+
* const invitation = await prisma.invitation.upsert({
|
|
829
|
+
* create: {
|
|
830
|
+
* // ... data to create a Invitation
|
|
831
|
+
* },
|
|
832
|
+
* update: {
|
|
833
|
+
* // ... in case it already exists, update
|
|
834
|
+
* },
|
|
835
|
+
* where: {
|
|
836
|
+
* // ... the filter for the Invitation we want to update
|
|
837
|
+
* }
|
|
838
|
+
* })
|
|
839
|
+
*/
|
|
585
840
|
upsert<T extends InvitationUpsertArgs>(args: Prisma.SelectSubset<T, InvitationUpsertArgs<ExtArgs>>): Prisma.Prisma__InvitationClient<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
841
|
+
/**
|
|
842
|
+
* Count the number of Invitations.
|
|
843
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
844
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
845
|
+
* @param {InvitationCountArgs} args - Arguments to filter Invitations to count.
|
|
846
|
+
* @example
|
|
847
|
+
* // Count the number of Invitations
|
|
848
|
+
* const count = await prisma.invitation.count({
|
|
849
|
+
* where: {
|
|
850
|
+
* // ... the filter for the Invitations we want to count
|
|
851
|
+
* }
|
|
852
|
+
* })
|
|
853
|
+
**/
|
|
586
854
|
count<T extends InvitationCountArgs>(args?: Prisma.Subset<T, InvitationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InvitationCountAggregateOutputType> : number>;
|
|
855
|
+
/**
|
|
856
|
+
* Allows you to perform aggregations operations on a Invitation.
|
|
857
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
858
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
859
|
+
* @param {InvitationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
860
|
+
* @example
|
|
861
|
+
* // Ordered by age ascending
|
|
862
|
+
* // Where email contains prisma.io
|
|
863
|
+
* // Limited to the 10 users
|
|
864
|
+
* const aggregations = await prisma.user.aggregate({
|
|
865
|
+
* _avg: {
|
|
866
|
+
* age: true,
|
|
867
|
+
* },
|
|
868
|
+
* where: {
|
|
869
|
+
* email: {
|
|
870
|
+
* contains: "prisma.io",
|
|
871
|
+
* },
|
|
872
|
+
* },
|
|
873
|
+
* orderBy: {
|
|
874
|
+
* age: "asc",
|
|
875
|
+
* },
|
|
876
|
+
* take: 10,
|
|
877
|
+
* })
|
|
878
|
+
**/
|
|
587
879
|
aggregate<T extends InvitationAggregateArgs>(args: Prisma.Subset<T, InvitationAggregateArgs>): Prisma.PrismaPromise<GetInvitationAggregateType<T>>;
|
|
880
|
+
/**
|
|
881
|
+
* Group by Invitation.
|
|
882
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
883
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
884
|
+
* @param {InvitationGroupByArgs} args - Group by arguments.
|
|
885
|
+
* @example
|
|
886
|
+
* // Group by city, order by createdAt, get count
|
|
887
|
+
* const result = await prisma.user.groupBy({
|
|
888
|
+
* by: ['city', 'createdAt'],
|
|
889
|
+
* orderBy: {
|
|
890
|
+
* createdAt: true
|
|
891
|
+
* },
|
|
892
|
+
* _count: {
|
|
893
|
+
* _all: true
|
|
894
|
+
* },
|
|
895
|
+
* })
|
|
896
|
+
*
|
|
897
|
+
**/
|
|
588
898
|
groupBy<T extends InvitationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
589
899
|
orderBy: InvitationGroupByArgs['orderBy'];
|
|
590
900
|
} : {
|
|
@@ -603,16 +913,45 @@ export interface InvitationDelegate<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
603
913
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
604
914
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
605
915
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, InvitationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInvitationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
916
|
+
/**
|
|
917
|
+
* Fields of the Invitation model
|
|
918
|
+
*/
|
|
606
919
|
readonly fields: InvitationFieldRefs;
|
|
607
920
|
}
|
|
921
|
+
/**
|
|
922
|
+
* The delegate class that acts as a "Promise-like" for Invitation.
|
|
923
|
+
* Why is this prefixed with `Prisma__`?
|
|
924
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
925
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
926
|
+
*/
|
|
608
927
|
export interface Prisma__InvitationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
609
928
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
610
929
|
organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
611
930
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
931
|
+
/**
|
|
932
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
933
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
934
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
935
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
936
|
+
*/
|
|
612
937
|
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>;
|
|
938
|
+
/**
|
|
939
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
940
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
941
|
+
* @returns A Promise for the completion of the callback.
|
|
942
|
+
*/
|
|
613
943
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
944
|
+
/**
|
|
945
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
946
|
+
* resolved value cannot be modified from the callback.
|
|
947
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
948
|
+
* @returns A Promise for the completion of the callback.
|
|
949
|
+
*/
|
|
614
950
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
615
951
|
}
|
|
952
|
+
/**
|
|
953
|
+
* Fields of the Invitation model
|
|
954
|
+
*/
|
|
616
955
|
export interface InvitationFieldRefs {
|
|
617
956
|
readonly id: Prisma.FieldRef<"Invitation", 'String'>;
|
|
618
957
|
readonly organizationId: Prisma.FieldRef<"Invitation", 'String'>;
|
|
@@ -622,109 +961,403 @@ export interface InvitationFieldRefs {
|
|
|
622
961
|
readonly expiresAt: Prisma.FieldRef<"Invitation", 'DateTime'>;
|
|
623
962
|
readonly inviterId: Prisma.FieldRef<"Invitation", 'String'>;
|
|
624
963
|
}
|
|
964
|
+
/**
|
|
965
|
+
* Invitation findUnique
|
|
966
|
+
*/
|
|
625
967
|
export type InvitationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the Invitation
|
|
970
|
+
*/
|
|
626
971
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the Invitation
|
|
974
|
+
*/
|
|
627
975
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* Choose, which related nodes to fetch as well
|
|
978
|
+
*/
|
|
628
979
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Filter, which Invitation to fetch.
|
|
982
|
+
*/
|
|
629
983
|
where: Prisma.InvitationWhereUniqueInput;
|
|
630
984
|
};
|
|
985
|
+
/**
|
|
986
|
+
* Invitation findUniqueOrThrow
|
|
987
|
+
*/
|
|
631
988
|
export type InvitationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
/**
|
|
990
|
+
* Select specific fields to fetch from the Invitation
|
|
991
|
+
*/
|
|
632
992
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* Omit specific fields from the Invitation
|
|
995
|
+
*/
|
|
633
996
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Choose, which related nodes to fetch as well
|
|
999
|
+
*/
|
|
634
1000
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Filter, which Invitation to fetch.
|
|
1003
|
+
*/
|
|
635
1004
|
where: Prisma.InvitationWhereUniqueInput;
|
|
636
1005
|
};
|
|
1006
|
+
/**
|
|
1007
|
+
* Invitation findFirst
|
|
1008
|
+
*/
|
|
637
1009
|
export type InvitationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1010
|
+
/**
|
|
1011
|
+
* Select specific fields to fetch from the Invitation
|
|
1012
|
+
*/
|
|
638
1013
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* Omit specific fields from the Invitation
|
|
1016
|
+
*/
|
|
639
1017
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Choose, which related nodes to fetch as well
|
|
1020
|
+
*/
|
|
640
1021
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Filter, which Invitation to fetch.
|
|
1024
|
+
*/
|
|
641
1025
|
where?: Prisma.InvitationWhereInput;
|
|
1026
|
+
/**
|
|
1027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1028
|
+
*
|
|
1029
|
+
* Determine the order of Invitations to fetch.
|
|
1030
|
+
*/
|
|
642
1031
|
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
1032
|
+
/**
|
|
1033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1034
|
+
*
|
|
1035
|
+
* Sets the position for searching for Invitations.
|
|
1036
|
+
*/
|
|
643
1037
|
cursor?: Prisma.InvitationWhereUniqueInput;
|
|
1038
|
+
/**
|
|
1039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1040
|
+
*
|
|
1041
|
+
* Take `±n` Invitations from the position of the cursor.
|
|
1042
|
+
*/
|
|
644
1043
|
take?: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1046
|
+
*
|
|
1047
|
+
* Skip the first `n` Invitations.
|
|
1048
|
+
*/
|
|
645
1049
|
skip?: number;
|
|
1050
|
+
/**
|
|
1051
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1052
|
+
*
|
|
1053
|
+
* Filter by unique combinations of Invitations.
|
|
1054
|
+
*/
|
|
646
1055
|
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
647
1056
|
};
|
|
1057
|
+
/**
|
|
1058
|
+
* Invitation findFirstOrThrow
|
|
1059
|
+
*/
|
|
648
1060
|
export type InvitationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* Select specific fields to fetch from the Invitation
|
|
1063
|
+
*/
|
|
649
1064
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* Omit specific fields from the Invitation
|
|
1067
|
+
*/
|
|
650
1068
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Choose, which related nodes to fetch as well
|
|
1071
|
+
*/
|
|
651
1072
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Filter, which Invitation to fetch.
|
|
1075
|
+
*/
|
|
652
1076
|
where?: Prisma.InvitationWhereInput;
|
|
1077
|
+
/**
|
|
1078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1079
|
+
*
|
|
1080
|
+
* Determine the order of Invitations to fetch.
|
|
1081
|
+
*/
|
|
653
1082
|
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
1083
|
+
/**
|
|
1084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1085
|
+
*
|
|
1086
|
+
* Sets the position for searching for Invitations.
|
|
1087
|
+
*/
|
|
654
1088
|
cursor?: Prisma.InvitationWhereUniqueInput;
|
|
1089
|
+
/**
|
|
1090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1091
|
+
*
|
|
1092
|
+
* Take `±n` Invitations from the position of the cursor.
|
|
1093
|
+
*/
|
|
655
1094
|
take?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1097
|
+
*
|
|
1098
|
+
* Skip the first `n` Invitations.
|
|
1099
|
+
*/
|
|
656
1100
|
skip?: number;
|
|
1101
|
+
/**
|
|
1102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1103
|
+
*
|
|
1104
|
+
* Filter by unique combinations of Invitations.
|
|
1105
|
+
*/
|
|
657
1106
|
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
658
1107
|
};
|
|
1108
|
+
/**
|
|
1109
|
+
* Invitation findMany
|
|
1110
|
+
*/
|
|
659
1111
|
export type InvitationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the Invitation
|
|
1114
|
+
*/
|
|
660
1115
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the Invitation
|
|
1118
|
+
*/
|
|
661
1119
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Choose, which related nodes to fetch as well
|
|
1122
|
+
*/
|
|
662
1123
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Filter, which Invitations to fetch.
|
|
1126
|
+
*/
|
|
663
1127
|
where?: Prisma.InvitationWhereInput;
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Determine the order of Invitations to fetch.
|
|
1132
|
+
*/
|
|
664
1133
|
orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Sets the position for listing Invitations.
|
|
1138
|
+
*/
|
|
665
1139
|
cursor?: Prisma.InvitationWhereUniqueInput;
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Take `±n` Invitations from the position of the cursor.
|
|
1144
|
+
*/
|
|
666
1145
|
take?: number;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Skip the first `n` Invitations.
|
|
1150
|
+
*/
|
|
667
1151
|
skip?: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Filter by unique combinations of Invitations.
|
|
1156
|
+
*/
|
|
668
1157
|
distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
|
|
669
1158
|
};
|
|
1159
|
+
/**
|
|
1160
|
+
* Invitation create
|
|
1161
|
+
*/
|
|
670
1162
|
export type InvitationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1163
|
+
/**
|
|
1164
|
+
* Select specific fields to fetch from the Invitation
|
|
1165
|
+
*/
|
|
671
1166
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1167
|
+
/**
|
|
1168
|
+
* Omit specific fields from the Invitation
|
|
1169
|
+
*/
|
|
672
1170
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* Choose, which related nodes to fetch as well
|
|
1173
|
+
*/
|
|
673
1174
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* The data needed to create a Invitation.
|
|
1177
|
+
*/
|
|
674
1178
|
data: Prisma.XOR<Prisma.InvitationCreateInput, Prisma.InvitationUncheckedCreateInput>;
|
|
675
1179
|
};
|
|
1180
|
+
/**
|
|
1181
|
+
* Invitation createMany
|
|
1182
|
+
*/
|
|
676
1183
|
export type InvitationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1184
|
+
/**
|
|
1185
|
+
* The data used to create many Invitations.
|
|
1186
|
+
*/
|
|
677
1187
|
data: Prisma.InvitationCreateManyInput | Prisma.InvitationCreateManyInput[];
|
|
678
1188
|
skipDuplicates?: boolean;
|
|
679
1189
|
};
|
|
1190
|
+
/**
|
|
1191
|
+
* Invitation createManyAndReturn
|
|
1192
|
+
*/
|
|
680
1193
|
export type InvitationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* Select specific fields to fetch from the Invitation
|
|
1196
|
+
*/
|
|
681
1197
|
select?: Prisma.InvitationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Omit specific fields from the Invitation
|
|
1200
|
+
*/
|
|
682
1201
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* The data used to create many Invitations.
|
|
1204
|
+
*/
|
|
683
1205
|
data: Prisma.InvitationCreateManyInput | Prisma.InvitationCreateManyInput[];
|
|
684
1206
|
skipDuplicates?: boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* Choose, which related nodes to fetch as well
|
|
1209
|
+
*/
|
|
685
1210
|
include?: Prisma.InvitationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
686
1211
|
};
|
|
1212
|
+
/**
|
|
1213
|
+
* Invitation update
|
|
1214
|
+
*/
|
|
687
1215
|
export type InvitationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the Invitation
|
|
1218
|
+
*/
|
|
688
1219
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the Invitation
|
|
1222
|
+
*/
|
|
689
1223
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* Choose, which related nodes to fetch as well
|
|
1226
|
+
*/
|
|
690
1227
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* The data needed to update a Invitation.
|
|
1230
|
+
*/
|
|
691
1231
|
data: Prisma.XOR<Prisma.InvitationUpdateInput, Prisma.InvitationUncheckedUpdateInput>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Choose, which Invitation to update.
|
|
1234
|
+
*/
|
|
692
1235
|
where: Prisma.InvitationWhereUniqueInput;
|
|
693
1236
|
};
|
|
1237
|
+
/**
|
|
1238
|
+
* Invitation updateMany
|
|
1239
|
+
*/
|
|
694
1240
|
export type InvitationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* The data used to update Invitations.
|
|
1243
|
+
*/
|
|
695
1244
|
data: Prisma.XOR<Prisma.InvitationUpdateManyMutationInput, Prisma.InvitationUncheckedUpdateManyInput>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Filter which Invitations to update
|
|
1247
|
+
*/
|
|
696
1248
|
where?: Prisma.InvitationWhereInput;
|
|
1249
|
+
/**
|
|
1250
|
+
* Limit how many Invitations to update.
|
|
1251
|
+
*/
|
|
697
1252
|
limit?: number;
|
|
698
1253
|
};
|
|
1254
|
+
/**
|
|
1255
|
+
* Invitation updateManyAndReturn
|
|
1256
|
+
*/
|
|
699
1257
|
export type InvitationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1258
|
+
/**
|
|
1259
|
+
* Select specific fields to fetch from the Invitation
|
|
1260
|
+
*/
|
|
700
1261
|
select?: Prisma.InvitationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1262
|
+
/**
|
|
1263
|
+
* Omit specific fields from the Invitation
|
|
1264
|
+
*/
|
|
701
1265
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* The data used to update Invitations.
|
|
1268
|
+
*/
|
|
702
1269
|
data: Prisma.XOR<Prisma.InvitationUpdateManyMutationInput, Prisma.InvitationUncheckedUpdateManyInput>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Filter which Invitations to update
|
|
1272
|
+
*/
|
|
703
1273
|
where?: Prisma.InvitationWhereInput;
|
|
1274
|
+
/**
|
|
1275
|
+
* Limit how many Invitations to update.
|
|
1276
|
+
*/
|
|
704
1277
|
limit?: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* Choose, which related nodes to fetch as well
|
|
1280
|
+
*/
|
|
705
1281
|
include?: Prisma.InvitationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
706
1282
|
};
|
|
1283
|
+
/**
|
|
1284
|
+
* Invitation upsert
|
|
1285
|
+
*/
|
|
707
1286
|
export type InvitationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1287
|
+
/**
|
|
1288
|
+
* Select specific fields to fetch from the Invitation
|
|
1289
|
+
*/
|
|
708
1290
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1291
|
+
/**
|
|
1292
|
+
* Omit specific fields from the Invitation
|
|
1293
|
+
*/
|
|
709
1294
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1295
|
+
/**
|
|
1296
|
+
* Choose, which related nodes to fetch as well
|
|
1297
|
+
*/
|
|
710
1298
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1299
|
+
/**
|
|
1300
|
+
* The filter to search for the Invitation to update in case it exists.
|
|
1301
|
+
*/
|
|
711
1302
|
where: Prisma.InvitationWhereUniqueInput;
|
|
1303
|
+
/**
|
|
1304
|
+
* In case the Invitation found by the `where` argument doesn't exist, create a new Invitation with this data.
|
|
1305
|
+
*/
|
|
712
1306
|
create: Prisma.XOR<Prisma.InvitationCreateInput, Prisma.InvitationUncheckedCreateInput>;
|
|
1307
|
+
/**
|
|
1308
|
+
* In case the Invitation was found with the provided `where` argument, update it with this data.
|
|
1309
|
+
*/
|
|
713
1310
|
update: Prisma.XOR<Prisma.InvitationUpdateInput, Prisma.InvitationUncheckedUpdateInput>;
|
|
714
1311
|
};
|
|
1312
|
+
/**
|
|
1313
|
+
* Invitation delete
|
|
1314
|
+
*/
|
|
715
1315
|
export type InvitationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1316
|
+
/**
|
|
1317
|
+
* Select specific fields to fetch from the Invitation
|
|
1318
|
+
*/
|
|
716
1319
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* Omit specific fields from the Invitation
|
|
1322
|
+
*/
|
|
717
1323
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1324
|
+
/**
|
|
1325
|
+
* Choose, which related nodes to fetch as well
|
|
1326
|
+
*/
|
|
718
1327
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Filter which Invitation to delete.
|
|
1330
|
+
*/
|
|
719
1331
|
where: Prisma.InvitationWhereUniqueInput;
|
|
720
1332
|
};
|
|
1333
|
+
/**
|
|
1334
|
+
* Invitation deleteMany
|
|
1335
|
+
*/
|
|
721
1336
|
export type InvitationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Filter which Invitations to delete
|
|
1339
|
+
*/
|
|
722
1340
|
where?: Prisma.InvitationWhereInput;
|
|
1341
|
+
/**
|
|
1342
|
+
* Limit how many Invitations to delete.
|
|
1343
|
+
*/
|
|
723
1344
|
limit?: number;
|
|
724
1345
|
};
|
|
1346
|
+
/**
|
|
1347
|
+
* Invitation without action
|
|
1348
|
+
*/
|
|
725
1349
|
export type InvitationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1350
|
+
/**
|
|
1351
|
+
* Select specific fields to fetch from the Invitation
|
|
1352
|
+
*/
|
|
726
1353
|
select?: Prisma.InvitationSelect<ExtArgs> | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* Omit specific fields from the Invitation
|
|
1356
|
+
*/
|
|
727
1357
|
omit?: Prisma.InvitationOmit<ExtArgs> | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* Choose, which related nodes to fetch as well
|
|
1360
|
+
*/
|
|
728
1361
|
include?: Prisma.InvitationInclude<ExtArgs> | null;
|
|
729
1362
|
};
|
|
730
1363
|
export {};
|