@shophost/rest-api 2.0.32 → 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 -123
|
@@ -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 LegalEntity
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
3
7
|
export type LegalEntityModel = runtime.Types.Result.DefaultSelection<Prisma.$LegalEntityPayload>;
|
|
4
8
|
export type AggregateLegalEntity = {
|
|
5
9
|
_count: LegalEntityCountAggregateOutputType | null;
|
|
@@ -93,13 +97,51 @@ export type LegalEntityCountAggregateInputType = {
|
|
|
93
97
|
_all?: true;
|
|
94
98
|
};
|
|
95
99
|
export type LegalEntityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
100
|
+
/**
|
|
101
|
+
* Filter which LegalEntity to aggregate.
|
|
102
|
+
*/
|
|
96
103
|
where?: Prisma.LegalEntityWhereInput;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
106
|
+
*
|
|
107
|
+
* Determine the order of LegalEntities to fetch.
|
|
108
|
+
*/
|
|
97
109
|
orderBy?: Prisma.LegalEntityOrderByWithRelationInput | Prisma.LegalEntityOrderByWithRelationInput[];
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
112
|
+
*
|
|
113
|
+
* Sets the start position
|
|
114
|
+
*/
|
|
98
115
|
cursor?: Prisma.LegalEntityWhereUniqueInput;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
118
|
+
*
|
|
119
|
+
* Take `±n` LegalEntities from the position of the cursor.
|
|
120
|
+
*/
|
|
99
121
|
take?: number;
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
124
|
+
*
|
|
125
|
+
* Skip the first `n` LegalEntities.
|
|
126
|
+
*/
|
|
100
127
|
skip?: number;
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Count returned LegalEntities
|
|
132
|
+
**/
|
|
101
133
|
_count?: true | LegalEntityCountAggregateInputType;
|
|
134
|
+
/**
|
|
135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
136
|
+
*
|
|
137
|
+
* Select which fields to find the minimum value
|
|
138
|
+
**/
|
|
102
139
|
_min?: LegalEntityMinAggregateInputType;
|
|
140
|
+
/**
|
|
141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
142
|
+
*
|
|
143
|
+
* Select which fields to find the maximum value
|
|
144
|
+
**/
|
|
103
145
|
_max?: LegalEntityMaxAggregateInputType;
|
|
104
146
|
};
|
|
105
147
|
export type GetLegalEntityAggregateType<T extends LegalEntityAggregateArgs> = {
|
|
@@ -620,15 +662,27 @@ export type LegalEntityUncheckedUpdateManyWithoutAddressInput = {
|
|
|
620
662
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
621
663
|
deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
622
664
|
};
|
|
665
|
+
/**
|
|
666
|
+
* Count Type LegalEntityCountOutputType
|
|
667
|
+
*/
|
|
623
668
|
export type LegalEntityCountOutputType = {
|
|
624
669
|
organizations: number;
|
|
625
670
|
};
|
|
626
671
|
export type LegalEntityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
627
672
|
organizations?: boolean | LegalEntityCountOutputTypeCountOrganizationsArgs;
|
|
628
673
|
};
|
|
674
|
+
/**
|
|
675
|
+
* LegalEntityCountOutputType without action
|
|
676
|
+
*/
|
|
629
677
|
export type LegalEntityCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
678
|
+
/**
|
|
679
|
+
* Select specific fields to fetch from the LegalEntityCountOutputType
|
|
680
|
+
*/
|
|
630
681
|
select?: Prisma.LegalEntityCountOutputTypeSelect<ExtArgs> | null;
|
|
631
682
|
};
|
|
683
|
+
/**
|
|
684
|
+
* LegalEntityCountOutputType without action
|
|
685
|
+
*/
|
|
632
686
|
export type LegalEntityCountOutputTypeCountOrganizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
633
687
|
where?: Prisma.OrganizationWhereInput;
|
|
634
688
|
};
|
|
@@ -738,22 +792,290 @@ export interface LegalEntityDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
738
792
|
name: 'LegalEntity';
|
|
739
793
|
};
|
|
740
794
|
};
|
|
795
|
+
/**
|
|
796
|
+
* Find zero or one LegalEntity that matches the filter.
|
|
797
|
+
* @param {LegalEntityFindUniqueArgs} args - Arguments to find a LegalEntity
|
|
798
|
+
* @example
|
|
799
|
+
* // Get one LegalEntity
|
|
800
|
+
* const legalEntity = await prisma.legalEntity.findUnique({
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... provide filter here
|
|
803
|
+
* }
|
|
804
|
+
* })
|
|
805
|
+
*/
|
|
741
806
|
findUnique<T extends LegalEntityFindUniqueArgs>(args: Prisma.SelectSubset<T, LegalEntityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
807
|
+
/**
|
|
808
|
+
* Find one LegalEntity that matches the filter or throw an error with `error.code='P2025'`
|
|
809
|
+
* if no matches were found.
|
|
810
|
+
* @param {LegalEntityFindUniqueOrThrowArgs} args - Arguments to find a LegalEntity
|
|
811
|
+
* @example
|
|
812
|
+
* // Get one LegalEntity
|
|
813
|
+
* const legalEntity = await prisma.legalEntity.findUniqueOrThrow({
|
|
814
|
+
* where: {
|
|
815
|
+
* // ... provide filter here
|
|
816
|
+
* }
|
|
817
|
+
* })
|
|
818
|
+
*/
|
|
742
819
|
findUniqueOrThrow<T extends LegalEntityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LegalEntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
820
|
+
/**
|
|
821
|
+
* Find the first LegalEntity that matches the filter.
|
|
822
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
823
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
824
|
+
* @param {LegalEntityFindFirstArgs} args - Arguments to find a LegalEntity
|
|
825
|
+
* @example
|
|
826
|
+
* // Get one LegalEntity
|
|
827
|
+
* const legalEntity = await prisma.legalEntity.findFirst({
|
|
828
|
+
* where: {
|
|
829
|
+
* // ... provide filter here
|
|
830
|
+
* }
|
|
831
|
+
* })
|
|
832
|
+
*/
|
|
743
833
|
findFirst<T extends LegalEntityFindFirstArgs>(args?: Prisma.SelectSubset<T, LegalEntityFindFirstArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
834
|
+
/**
|
|
835
|
+
* Find the first LegalEntity that matches the filter or
|
|
836
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
837
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
838
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
839
|
+
* @param {LegalEntityFindFirstOrThrowArgs} args - Arguments to find a LegalEntity
|
|
840
|
+
* @example
|
|
841
|
+
* // Get one LegalEntity
|
|
842
|
+
* const legalEntity = await prisma.legalEntity.findFirstOrThrow({
|
|
843
|
+
* where: {
|
|
844
|
+
* // ... provide filter here
|
|
845
|
+
* }
|
|
846
|
+
* })
|
|
847
|
+
*/
|
|
744
848
|
findFirstOrThrow<T extends LegalEntityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LegalEntityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
849
|
+
/**
|
|
850
|
+
* Find zero or more LegalEntities that matches the filter.
|
|
851
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
852
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
853
|
+
* @param {LegalEntityFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
854
|
+
* @example
|
|
855
|
+
* // Get all LegalEntities
|
|
856
|
+
* const legalEntities = await prisma.legalEntity.findMany()
|
|
857
|
+
*
|
|
858
|
+
* // Get first 10 LegalEntities
|
|
859
|
+
* const legalEntities = await prisma.legalEntity.findMany({ take: 10 })
|
|
860
|
+
*
|
|
861
|
+
* // Only select the `id`
|
|
862
|
+
* const legalEntityWithIdOnly = await prisma.legalEntity.findMany({ select: { id: true } })
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
745
865
|
findMany<T extends LegalEntityFindManyArgs>(args?: Prisma.SelectSubset<T, LegalEntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
866
|
+
/**
|
|
867
|
+
* Create a LegalEntity.
|
|
868
|
+
* @param {LegalEntityCreateArgs} args - Arguments to create a LegalEntity.
|
|
869
|
+
* @example
|
|
870
|
+
* // Create one LegalEntity
|
|
871
|
+
* const LegalEntity = await prisma.legalEntity.create({
|
|
872
|
+
* data: {
|
|
873
|
+
* // ... data to create a LegalEntity
|
|
874
|
+
* }
|
|
875
|
+
* })
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
746
878
|
create<T extends LegalEntityCreateArgs>(args: Prisma.SelectSubset<T, LegalEntityCreateArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
879
|
+
/**
|
|
880
|
+
* Create many LegalEntities.
|
|
881
|
+
* @param {LegalEntityCreateManyArgs} args - Arguments to create many LegalEntities.
|
|
882
|
+
* @example
|
|
883
|
+
* // Create many LegalEntities
|
|
884
|
+
* const legalEntity = await prisma.legalEntity.createMany({
|
|
885
|
+
* data: [
|
|
886
|
+
* // ... provide data here
|
|
887
|
+
* ]
|
|
888
|
+
* })
|
|
889
|
+
*
|
|
890
|
+
*/
|
|
747
891
|
createMany<T extends LegalEntityCreateManyArgs>(args?: Prisma.SelectSubset<T, LegalEntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
892
|
+
/**
|
|
893
|
+
* Create many LegalEntities and returns the data saved in the database.
|
|
894
|
+
* @param {LegalEntityCreateManyAndReturnArgs} args - Arguments to create many LegalEntities.
|
|
895
|
+
* @example
|
|
896
|
+
* // Create many LegalEntities
|
|
897
|
+
* const legalEntity = await prisma.legalEntity.createManyAndReturn({
|
|
898
|
+
* data: [
|
|
899
|
+
* // ... provide data here
|
|
900
|
+
* ]
|
|
901
|
+
* })
|
|
902
|
+
*
|
|
903
|
+
* // Create many LegalEntities and only return the `id`
|
|
904
|
+
* const legalEntityWithIdOnly = await prisma.legalEntity.createManyAndReturn({
|
|
905
|
+
* select: { id: true },
|
|
906
|
+
* data: [
|
|
907
|
+
* // ... provide data here
|
|
908
|
+
* ]
|
|
909
|
+
* })
|
|
910
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
911
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
912
|
+
*
|
|
913
|
+
*/
|
|
748
914
|
createManyAndReturn<T extends LegalEntityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LegalEntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
915
|
+
/**
|
|
916
|
+
* Delete a LegalEntity.
|
|
917
|
+
* @param {LegalEntityDeleteArgs} args - Arguments to delete one LegalEntity.
|
|
918
|
+
* @example
|
|
919
|
+
* // Delete one LegalEntity
|
|
920
|
+
* const LegalEntity = await prisma.legalEntity.delete({
|
|
921
|
+
* where: {
|
|
922
|
+
* // ... filter to delete one LegalEntity
|
|
923
|
+
* }
|
|
924
|
+
* })
|
|
925
|
+
*
|
|
926
|
+
*/
|
|
749
927
|
delete<T extends LegalEntityDeleteArgs>(args: Prisma.SelectSubset<T, LegalEntityDeleteArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
928
|
+
/**
|
|
929
|
+
* Update one LegalEntity.
|
|
930
|
+
* @param {LegalEntityUpdateArgs} args - Arguments to update one LegalEntity.
|
|
931
|
+
* @example
|
|
932
|
+
* // Update one LegalEntity
|
|
933
|
+
* const legalEntity = await prisma.legalEntity.update({
|
|
934
|
+
* where: {
|
|
935
|
+
* // ... provide filter here
|
|
936
|
+
* },
|
|
937
|
+
* data: {
|
|
938
|
+
* // ... provide data here
|
|
939
|
+
* }
|
|
940
|
+
* })
|
|
941
|
+
*
|
|
942
|
+
*/
|
|
750
943
|
update<T extends LegalEntityUpdateArgs>(args: Prisma.SelectSubset<T, LegalEntityUpdateArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
944
|
+
/**
|
|
945
|
+
* Delete zero or more LegalEntities.
|
|
946
|
+
* @param {LegalEntityDeleteManyArgs} args - Arguments to filter LegalEntities to delete.
|
|
947
|
+
* @example
|
|
948
|
+
* // Delete a few LegalEntities
|
|
949
|
+
* const { count } = await prisma.legalEntity.deleteMany({
|
|
950
|
+
* where: {
|
|
951
|
+
* // ... provide filter here
|
|
952
|
+
* }
|
|
953
|
+
* })
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
751
956
|
deleteMany<T extends LegalEntityDeleteManyArgs>(args?: Prisma.SelectSubset<T, LegalEntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
957
|
+
/**
|
|
958
|
+
* Update zero or more LegalEntities.
|
|
959
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
960
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
961
|
+
* @param {LegalEntityUpdateManyArgs} args - Arguments to update one or more rows.
|
|
962
|
+
* @example
|
|
963
|
+
* // Update many LegalEntities
|
|
964
|
+
* const legalEntity = await prisma.legalEntity.updateMany({
|
|
965
|
+
* where: {
|
|
966
|
+
* // ... provide filter here
|
|
967
|
+
* },
|
|
968
|
+
* data: {
|
|
969
|
+
* // ... provide data here
|
|
970
|
+
* }
|
|
971
|
+
* })
|
|
972
|
+
*
|
|
973
|
+
*/
|
|
752
974
|
updateMany<T extends LegalEntityUpdateManyArgs>(args: Prisma.SelectSubset<T, LegalEntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
975
|
+
/**
|
|
976
|
+
* Update zero or more LegalEntities and returns the data updated in the database.
|
|
977
|
+
* @param {LegalEntityUpdateManyAndReturnArgs} args - Arguments to update many LegalEntities.
|
|
978
|
+
* @example
|
|
979
|
+
* // Update many LegalEntities
|
|
980
|
+
* const legalEntity = await prisma.legalEntity.updateManyAndReturn({
|
|
981
|
+
* where: {
|
|
982
|
+
* // ... provide filter here
|
|
983
|
+
* },
|
|
984
|
+
* data: [
|
|
985
|
+
* // ... provide data here
|
|
986
|
+
* ]
|
|
987
|
+
* })
|
|
988
|
+
*
|
|
989
|
+
* // Update zero or more LegalEntities and only return the `id`
|
|
990
|
+
* const legalEntityWithIdOnly = await prisma.legalEntity.updateManyAndReturn({
|
|
991
|
+
* select: { id: true },
|
|
992
|
+
* where: {
|
|
993
|
+
* // ... provide filter here
|
|
994
|
+
* },
|
|
995
|
+
* data: [
|
|
996
|
+
* // ... provide data here
|
|
997
|
+
* ]
|
|
998
|
+
* })
|
|
999
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1000
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1001
|
+
*
|
|
1002
|
+
*/
|
|
753
1003
|
updateManyAndReturn<T extends LegalEntityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LegalEntityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Create or update one LegalEntity.
|
|
1006
|
+
* @param {LegalEntityUpsertArgs} args - Arguments to update or create a LegalEntity.
|
|
1007
|
+
* @example
|
|
1008
|
+
* // Update or create a LegalEntity
|
|
1009
|
+
* const legalEntity = await prisma.legalEntity.upsert({
|
|
1010
|
+
* create: {
|
|
1011
|
+
* // ... data to create a LegalEntity
|
|
1012
|
+
* },
|
|
1013
|
+
* update: {
|
|
1014
|
+
* // ... in case it already exists, update
|
|
1015
|
+
* },
|
|
1016
|
+
* where: {
|
|
1017
|
+
* // ... the filter for the LegalEntity we want to update
|
|
1018
|
+
* }
|
|
1019
|
+
* })
|
|
1020
|
+
*/
|
|
754
1021
|
upsert<T extends LegalEntityUpsertArgs>(args: Prisma.SelectSubset<T, LegalEntityUpsertArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1022
|
+
/**
|
|
1023
|
+
* Count the number of LegalEntities.
|
|
1024
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1025
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1026
|
+
* @param {LegalEntityCountArgs} args - Arguments to filter LegalEntities to count.
|
|
1027
|
+
* @example
|
|
1028
|
+
* // Count the number of LegalEntities
|
|
1029
|
+
* const count = await prisma.legalEntity.count({
|
|
1030
|
+
* where: {
|
|
1031
|
+
* // ... the filter for the LegalEntities we want to count
|
|
1032
|
+
* }
|
|
1033
|
+
* })
|
|
1034
|
+
**/
|
|
755
1035
|
count<T extends LegalEntityCountArgs>(args?: Prisma.Subset<T, LegalEntityCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], LegalEntityCountAggregateOutputType> : number>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Allows you to perform aggregations operations on a LegalEntity.
|
|
1038
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1039
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1040
|
+
* @param {LegalEntityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1041
|
+
* @example
|
|
1042
|
+
* // Ordered by age ascending
|
|
1043
|
+
* // Where email contains prisma.io
|
|
1044
|
+
* // Limited to the 10 users
|
|
1045
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1046
|
+
* _avg: {
|
|
1047
|
+
* age: true,
|
|
1048
|
+
* },
|
|
1049
|
+
* where: {
|
|
1050
|
+
* email: {
|
|
1051
|
+
* contains: "prisma.io",
|
|
1052
|
+
* },
|
|
1053
|
+
* },
|
|
1054
|
+
* orderBy: {
|
|
1055
|
+
* age: "asc",
|
|
1056
|
+
* },
|
|
1057
|
+
* take: 10,
|
|
1058
|
+
* })
|
|
1059
|
+
**/
|
|
756
1060
|
aggregate<T extends LegalEntityAggregateArgs>(args: Prisma.Subset<T, LegalEntityAggregateArgs>): Prisma.PrismaPromise<GetLegalEntityAggregateType<T>>;
|
|
1061
|
+
/**
|
|
1062
|
+
* Group by LegalEntity.
|
|
1063
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1064
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1065
|
+
* @param {LegalEntityGroupByArgs} args - Group by arguments.
|
|
1066
|
+
* @example
|
|
1067
|
+
* // Group by city, order by createdAt, get count
|
|
1068
|
+
* const result = await prisma.user.groupBy({
|
|
1069
|
+
* by: ['city', 'createdAt'],
|
|
1070
|
+
* orderBy: {
|
|
1071
|
+
* createdAt: true
|
|
1072
|
+
* },
|
|
1073
|
+
* _count: {
|
|
1074
|
+
* _all: true
|
|
1075
|
+
* },
|
|
1076
|
+
* })
|
|
1077
|
+
*
|
|
1078
|
+
**/
|
|
757
1079
|
groupBy<T extends LegalEntityGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
758
1080
|
orderBy: LegalEntityGroupByArgs['orderBy'];
|
|
759
1081
|
} : {
|
|
@@ -772,16 +1094,45 @@ export interface LegalEntityDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
772
1094
|
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
773
1095
|
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
774
1096
|
}[OrderFields]>(args: Prisma.SubsetIntersection<T, LegalEntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLegalEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Fields of the LegalEntity model
|
|
1099
|
+
*/
|
|
775
1100
|
readonly fields: LegalEntityFieldRefs;
|
|
776
1101
|
}
|
|
1102
|
+
/**
|
|
1103
|
+
* The delegate class that acts as a "Promise-like" for LegalEntity.
|
|
1104
|
+
* Why is this prefixed with `Prisma__`?
|
|
1105
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1106
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1107
|
+
*/
|
|
777
1108
|
export interface Prisma__LegalEntityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
778
1109
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
779
1110
|
address<T extends Prisma.AddressDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AddressDefaultArgs<ExtArgs>>): Prisma.Prisma__AddressClient<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
780
1111
|
organizations<T extends Prisma.LegalEntity$organizationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LegalEntity$organizationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1114
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1115
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1116
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1117
|
+
*/
|
|
781
1118
|
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>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1121
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1122
|
+
* @returns A Promise for the completion of the callback.
|
|
1123
|
+
*/
|
|
782
1124
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1127
|
+
* resolved value cannot be modified from the callback.
|
|
1128
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1129
|
+
* @returns A Promise for the completion of the callback.
|
|
1130
|
+
*/
|
|
783
1131
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
784
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Fields of the LegalEntity model
|
|
1135
|
+
*/
|
|
785
1136
|
export interface LegalEntityFieldRefs {
|
|
786
1137
|
readonly id: Prisma.FieldRef<"LegalEntity", 'String'>;
|
|
787
1138
|
readonly name: Prisma.FieldRef<"LegalEntity", 'String'>;
|
|
@@ -796,109 +1147,403 @@ export interface LegalEntityFieldRefs {
|
|
|
796
1147
|
readonly deletedAt: Prisma.FieldRef<"LegalEntity", 'DateTime'>;
|
|
797
1148
|
readonly deletedBy: Prisma.FieldRef<"LegalEntity", 'String'>;
|
|
798
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* LegalEntity findUnique
|
|
1152
|
+
*/
|
|
799
1153
|
export type LegalEntityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1154
|
+
/**
|
|
1155
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1156
|
+
*/
|
|
800
1157
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1158
|
+
/**
|
|
1159
|
+
* Omit specific fields from the LegalEntity
|
|
1160
|
+
*/
|
|
801
1161
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1162
|
+
/**
|
|
1163
|
+
* Choose, which related nodes to fetch as well
|
|
1164
|
+
*/
|
|
802
1165
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* Filter, which LegalEntity to fetch.
|
|
1168
|
+
*/
|
|
803
1169
|
where: Prisma.LegalEntityWhereUniqueInput;
|
|
804
1170
|
};
|
|
1171
|
+
/**
|
|
1172
|
+
* LegalEntity findUniqueOrThrow
|
|
1173
|
+
*/
|
|
805
1174
|
export type LegalEntityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1175
|
+
/**
|
|
1176
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1177
|
+
*/
|
|
806
1178
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Omit specific fields from the LegalEntity
|
|
1181
|
+
*/
|
|
807
1182
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Choose, which related nodes to fetch as well
|
|
1185
|
+
*/
|
|
808
1186
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Filter, which LegalEntity to fetch.
|
|
1189
|
+
*/
|
|
809
1190
|
where: Prisma.LegalEntityWhereUniqueInput;
|
|
810
1191
|
};
|
|
1192
|
+
/**
|
|
1193
|
+
* LegalEntity findFirst
|
|
1194
|
+
*/
|
|
811
1195
|
export type LegalEntityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1196
|
+
/**
|
|
1197
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1198
|
+
*/
|
|
812
1199
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1200
|
+
/**
|
|
1201
|
+
* Omit specific fields from the LegalEntity
|
|
1202
|
+
*/
|
|
813
1203
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Choose, which related nodes to fetch as well
|
|
1206
|
+
*/
|
|
814
1207
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Filter, which LegalEntity to fetch.
|
|
1210
|
+
*/
|
|
815
1211
|
where?: Prisma.LegalEntityWhereInput;
|
|
1212
|
+
/**
|
|
1213
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1214
|
+
*
|
|
1215
|
+
* Determine the order of LegalEntities to fetch.
|
|
1216
|
+
*/
|
|
816
1217
|
orderBy?: Prisma.LegalEntityOrderByWithRelationInput | Prisma.LegalEntityOrderByWithRelationInput[];
|
|
1218
|
+
/**
|
|
1219
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1220
|
+
*
|
|
1221
|
+
* Sets the position for searching for LegalEntities.
|
|
1222
|
+
*/
|
|
817
1223
|
cursor?: Prisma.LegalEntityWhereUniqueInput;
|
|
1224
|
+
/**
|
|
1225
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1226
|
+
*
|
|
1227
|
+
* Take `±n` LegalEntities from the position of the cursor.
|
|
1228
|
+
*/
|
|
818
1229
|
take?: number;
|
|
1230
|
+
/**
|
|
1231
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1232
|
+
*
|
|
1233
|
+
* Skip the first `n` LegalEntities.
|
|
1234
|
+
*/
|
|
819
1235
|
skip?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1238
|
+
*
|
|
1239
|
+
* Filter by unique combinations of LegalEntities.
|
|
1240
|
+
*/
|
|
820
1241
|
distinct?: Prisma.LegalEntityScalarFieldEnum | Prisma.LegalEntityScalarFieldEnum[];
|
|
821
1242
|
};
|
|
1243
|
+
/**
|
|
1244
|
+
* LegalEntity findFirstOrThrow
|
|
1245
|
+
*/
|
|
822
1246
|
export type LegalEntityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1249
|
+
*/
|
|
823
1250
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* Omit specific fields from the LegalEntity
|
|
1253
|
+
*/
|
|
824
1254
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* Choose, which related nodes to fetch as well
|
|
1257
|
+
*/
|
|
825
1258
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1259
|
+
/**
|
|
1260
|
+
* Filter, which LegalEntity to fetch.
|
|
1261
|
+
*/
|
|
826
1262
|
where?: Prisma.LegalEntityWhereInput;
|
|
1263
|
+
/**
|
|
1264
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1265
|
+
*
|
|
1266
|
+
* Determine the order of LegalEntities to fetch.
|
|
1267
|
+
*/
|
|
827
1268
|
orderBy?: Prisma.LegalEntityOrderByWithRelationInput | Prisma.LegalEntityOrderByWithRelationInput[];
|
|
1269
|
+
/**
|
|
1270
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1271
|
+
*
|
|
1272
|
+
* Sets the position for searching for LegalEntities.
|
|
1273
|
+
*/
|
|
828
1274
|
cursor?: Prisma.LegalEntityWhereUniqueInput;
|
|
1275
|
+
/**
|
|
1276
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1277
|
+
*
|
|
1278
|
+
* Take `±n` LegalEntities from the position of the cursor.
|
|
1279
|
+
*/
|
|
829
1280
|
take?: number;
|
|
1281
|
+
/**
|
|
1282
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1283
|
+
*
|
|
1284
|
+
* Skip the first `n` LegalEntities.
|
|
1285
|
+
*/
|
|
830
1286
|
skip?: number;
|
|
1287
|
+
/**
|
|
1288
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1289
|
+
*
|
|
1290
|
+
* Filter by unique combinations of LegalEntities.
|
|
1291
|
+
*/
|
|
831
1292
|
distinct?: Prisma.LegalEntityScalarFieldEnum | Prisma.LegalEntityScalarFieldEnum[];
|
|
832
1293
|
};
|
|
1294
|
+
/**
|
|
1295
|
+
* LegalEntity findMany
|
|
1296
|
+
*/
|
|
833
1297
|
export type LegalEntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
+
/**
|
|
1299
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1300
|
+
*/
|
|
834
1301
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* Omit specific fields from the LegalEntity
|
|
1304
|
+
*/
|
|
835
1305
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Choose, which related nodes to fetch as well
|
|
1308
|
+
*/
|
|
836
1309
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Filter, which LegalEntities to fetch.
|
|
1312
|
+
*/
|
|
837
1313
|
where?: Prisma.LegalEntityWhereInput;
|
|
1314
|
+
/**
|
|
1315
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1316
|
+
*
|
|
1317
|
+
* Determine the order of LegalEntities to fetch.
|
|
1318
|
+
*/
|
|
838
1319
|
orderBy?: Prisma.LegalEntityOrderByWithRelationInput | Prisma.LegalEntityOrderByWithRelationInput[];
|
|
1320
|
+
/**
|
|
1321
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1322
|
+
*
|
|
1323
|
+
* Sets the position for listing LegalEntities.
|
|
1324
|
+
*/
|
|
839
1325
|
cursor?: Prisma.LegalEntityWhereUniqueInput;
|
|
1326
|
+
/**
|
|
1327
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1328
|
+
*
|
|
1329
|
+
* Take `±n` LegalEntities from the position of the cursor.
|
|
1330
|
+
*/
|
|
840
1331
|
take?: number;
|
|
1332
|
+
/**
|
|
1333
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1334
|
+
*
|
|
1335
|
+
* Skip the first `n` LegalEntities.
|
|
1336
|
+
*/
|
|
841
1337
|
skip?: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1340
|
+
*
|
|
1341
|
+
* Filter by unique combinations of LegalEntities.
|
|
1342
|
+
*/
|
|
842
1343
|
distinct?: Prisma.LegalEntityScalarFieldEnum | Prisma.LegalEntityScalarFieldEnum[];
|
|
843
1344
|
};
|
|
1345
|
+
/**
|
|
1346
|
+
* LegalEntity create
|
|
1347
|
+
*/
|
|
844
1348
|
export type LegalEntityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1349
|
+
/**
|
|
1350
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1351
|
+
*/
|
|
845
1352
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Omit specific fields from the LegalEntity
|
|
1355
|
+
*/
|
|
846
1356
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Choose, which related nodes to fetch as well
|
|
1359
|
+
*/
|
|
847
1360
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* The data needed to create a LegalEntity.
|
|
1363
|
+
*/
|
|
848
1364
|
data: Prisma.XOR<Prisma.LegalEntityCreateInput, Prisma.LegalEntityUncheckedCreateInput>;
|
|
849
1365
|
};
|
|
1366
|
+
/**
|
|
1367
|
+
* LegalEntity createMany
|
|
1368
|
+
*/
|
|
850
1369
|
export type LegalEntityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1370
|
+
/**
|
|
1371
|
+
* The data used to create many LegalEntities.
|
|
1372
|
+
*/
|
|
851
1373
|
data: Prisma.LegalEntityCreateManyInput | Prisma.LegalEntityCreateManyInput[];
|
|
852
1374
|
skipDuplicates?: boolean;
|
|
853
1375
|
};
|
|
1376
|
+
/**
|
|
1377
|
+
* LegalEntity createManyAndReturn
|
|
1378
|
+
*/
|
|
854
1379
|
export type LegalEntityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1380
|
+
/**
|
|
1381
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1382
|
+
*/
|
|
855
1383
|
select?: Prisma.LegalEntitySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Omit specific fields from the LegalEntity
|
|
1386
|
+
*/
|
|
856
1387
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The data used to create many LegalEntities.
|
|
1390
|
+
*/
|
|
857
1391
|
data: Prisma.LegalEntityCreateManyInput | Prisma.LegalEntityCreateManyInput[];
|
|
858
1392
|
skipDuplicates?: boolean;
|
|
1393
|
+
/**
|
|
1394
|
+
* Choose, which related nodes to fetch as well
|
|
1395
|
+
*/
|
|
859
1396
|
include?: Prisma.LegalEntityIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
860
1397
|
};
|
|
1398
|
+
/**
|
|
1399
|
+
* LegalEntity update
|
|
1400
|
+
*/
|
|
861
1401
|
export type LegalEntityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1402
|
+
/**
|
|
1403
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1404
|
+
*/
|
|
862
1405
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1406
|
+
/**
|
|
1407
|
+
* Omit specific fields from the LegalEntity
|
|
1408
|
+
*/
|
|
863
1409
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1410
|
+
/**
|
|
1411
|
+
* Choose, which related nodes to fetch as well
|
|
1412
|
+
*/
|
|
864
1413
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* The data needed to update a LegalEntity.
|
|
1416
|
+
*/
|
|
865
1417
|
data: Prisma.XOR<Prisma.LegalEntityUpdateInput, Prisma.LegalEntityUncheckedUpdateInput>;
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which LegalEntity to update.
|
|
1420
|
+
*/
|
|
866
1421
|
where: Prisma.LegalEntityWhereUniqueInput;
|
|
867
1422
|
};
|
|
1423
|
+
/**
|
|
1424
|
+
* LegalEntity updateMany
|
|
1425
|
+
*/
|
|
868
1426
|
export type LegalEntityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1427
|
+
/**
|
|
1428
|
+
* The data used to update LegalEntities.
|
|
1429
|
+
*/
|
|
869
1430
|
data: Prisma.XOR<Prisma.LegalEntityUpdateManyMutationInput, Prisma.LegalEntityUncheckedUpdateManyInput>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Filter which LegalEntities to update
|
|
1433
|
+
*/
|
|
870
1434
|
where?: Prisma.LegalEntityWhereInput;
|
|
1435
|
+
/**
|
|
1436
|
+
* Limit how many LegalEntities to update.
|
|
1437
|
+
*/
|
|
871
1438
|
limit?: number;
|
|
872
1439
|
};
|
|
1440
|
+
/**
|
|
1441
|
+
* LegalEntity updateManyAndReturn
|
|
1442
|
+
*/
|
|
873
1443
|
export type LegalEntityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1444
|
+
/**
|
|
1445
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1446
|
+
*/
|
|
874
1447
|
select?: Prisma.LegalEntitySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Omit specific fields from the LegalEntity
|
|
1450
|
+
*/
|
|
875
1451
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1452
|
+
/**
|
|
1453
|
+
* The data used to update LegalEntities.
|
|
1454
|
+
*/
|
|
876
1455
|
data: Prisma.XOR<Prisma.LegalEntityUpdateManyMutationInput, Prisma.LegalEntityUncheckedUpdateManyInput>;
|
|
1456
|
+
/**
|
|
1457
|
+
* Filter which LegalEntities to update
|
|
1458
|
+
*/
|
|
877
1459
|
where?: Prisma.LegalEntityWhereInput;
|
|
1460
|
+
/**
|
|
1461
|
+
* Limit how many LegalEntities to update.
|
|
1462
|
+
*/
|
|
878
1463
|
limit?: number;
|
|
1464
|
+
/**
|
|
1465
|
+
* Choose, which related nodes to fetch as well
|
|
1466
|
+
*/
|
|
879
1467
|
include?: Prisma.LegalEntityIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
880
1468
|
};
|
|
1469
|
+
/**
|
|
1470
|
+
* LegalEntity upsert
|
|
1471
|
+
*/
|
|
881
1472
|
export type LegalEntityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1473
|
+
/**
|
|
1474
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1475
|
+
*/
|
|
882
1476
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1477
|
+
/**
|
|
1478
|
+
* Omit specific fields from the LegalEntity
|
|
1479
|
+
*/
|
|
883
1480
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1481
|
+
/**
|
|
1482
|
+
* Choose, which related nodes to fetch as well
|
|
1483
|
+
*/
|
|
884
1484
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* The filter to search for the LegalEntity to update in case it exists.
|
|
1487
|
+
*/
|
|
885
1488
|
where: Prisma.LegalEntityWhereUniqueInput;
|
|
1489
|
+
/**
|
|
1490
|
+
* In case the LegalEntity found by the `where` argument doesn't exist, create a new LegalEntity with this data.
|
|
1491
|
+
*/
|
|
886
1492
|
create: Prisma.XOR<Prisma.LegalEntityCreateInput, Prisma.LegalEntityUncheckedCreateInput>;
|
|
1493
|
+
/**
|
|
1494
|
+
* In case the LegalEntity was found with the provided `where` argument, update it with this data.
|
|
1495
|
+
*/
|
|
887
1496
|
update: Prisma.XOR<Prisma.LegalEntityUpdateInput, Prisma.LegalEntityUncheckedUpdateInput>;
|
|
888
1497
|
};
|
|
1498
|
+
/**
|
|
1499
|
+
* LegalEntity delete
|
|
1500
|
+
*/
|
|
889
1501
|
export type LegalEntityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1502
|
+
/**
|
|
1503
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1504
|
+
*/
|
|
890
1505
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1506
|
+
/**
|
|
1507
|
+
* Omit specific fields from the LegalEntity
|
|
1508
|
+
*/
|
|
891
1509
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1510
|
+
/**
|
|
1511
|
+
* Choose, which related nodes to fetch as well
|
|
1512
|
+
*/
|
|
892
1513
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
1514
|
+
/**
|
|
1515
|
+
* Filter which LegalEntity to delete.
|
|
1516
|
+
*/
|
|
893
1517
|
where: Prisma.LegalEntityWhereUniqueInput;
|
|
894
1518
|
};
|
|
1519
|
+
/**
|
|
1520
|
+
* LegalEntity deleteMany
|
|
1521
|
+
*/
|
|
895
1522
|
export type LegalEntityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1523
|
+
/**
|
|
1524
|
+
* Filter which LegalEntities to delete
|
|
1525
|
+
*/
|
|
896
1526
|
where?: Prisma.LegalEntityWhereInput;
|
|
1527
|
+
/**
|
|
1528
|
+
* Limit how many LegalEntities to delete.
|
|
1529
|
+
*/
|
|
897
1530
|
limit?: number;
|
|
898
1531
|
};
|
|
1532
|
+
/**
|
|
1533
|
+
* LegalEntity.organizations
|
|
1534
|
+
*/
|
|
899
1535
|
export type LegalEntity$organizationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1536
|
+
/**
|
|
1537
|
+
* Select specific fields to fetch from the Organization
|
|
1538
|
+
*/
|
|
900
1539
|
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
1540
|
+
/**
|
|
1541
|
+
* Omit specific fields from the Organization
|
|
1542
|
+
*/
|
|
901
1543
|
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Choose, which related nodes to fetch as well
|
|
1546
|
+
*/
|
|
902
1547
|
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
903
1548
|
where?: Prisma.OrganizationWhereInput;
|
|
904
1549
|
orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
|
|
@@ -907,9 +1552,21 @@ export type LegalEntity$organizationsArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
907
1552
|
skip?: number;
|
|
908
1553
|
distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
|
|
909
1554
|
};
|
|
1555
|
+
/**
|
|
1556
|
+
* LegalEntity without action
|
|
1557
|
+
*/
|
|
910
1558
|
export type LegalEntityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1559
|
+
/**
|
|
1560
|
+
* Select specific fields to fetch from the LegalEntity
|
|
1561
|
+
*/
|
|
911
1562
|
select?: Prisma.LegalEntitySelect<ExtArgs> | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* Omit specific fields from the LegalEntity
|
|
1565
|
+
*/
|
|
912
1566
|
omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Choose, which related nodes to fetch as well
|
|
1569
|
+
*/
|
|
913
1570
|
include?: Prisma.LegalEntityInclude<ExtArgs> | null;
|
|
914
1571
|
};
|
|
915
1572
|
export {};
|