UNPKG

@educrib/database

Version:
1,626 lines (1,462 loc) 3.93 MB
/** * Client **/ import * as runtime from './runtime/library'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise<T> = $Public.PrismaPromise<T> /** * Model vertical * */ export type vertical = $Result.DefaultSelection<Prisma.$verticalPayload> /** * Model category * */ export type category = $Result.DefaultSelection<Prisma.$categoryPayload> /** * Model type * */ export type type = $Result.DefaultSelection<Prisma.$typePayload> /** * Model country * */ export type country = $Result.DefaultSelection<Prisma.$countryPayload> /** * Model location * */ export type location = $Result.DefaultSelection<Prisma.$locationPayload> /** * Model currency * */ export type currency = $Result.DefaultSelection<Prisma.$currencyPayload> /** * Model contactType * */ export type contactType = $Result.DefaultSelection<Prisma.$contactTypePayload> /** * Model curriculum * */ export type curriculum = $Result.DefaultSelection<Prisma.$curriculumPayload> /** * Model accreditation * */ export type accreditation = $Result.DefaultSelection<Prisma.$accreditationPayload> /** * Model university * */ export type university = $Result.DefaultSelection<Prisma.$universityPayload> /** * Model management * */ export type management = $Result.DefaultSelection<Prisma.$managementPayload> /** * Model facility * */ export type facility = $Result.DefaultSelection<Prisma.$facilityPayload> /** * Model designation * */ export type designation = $Result.DefaultSelection<Prisma.$designationPayload> /** * Model media * */ export type media = $Result.DefaultSelection<Prisma.$mediaPayload> /** * Model social * */ export type social = $Result.DefaultSelection<Prisma.$socialPayload> /** * Model durationType * */ export type durationType = $Result.DefaultSelection<Prisma.$durationTypePayload> /** * Model frequency * */ export type frequency = $Result.DefaultSelection<Prisma.$frequencyPayload> /** * Model intake * */ export type intake = $Result.DefaultSelection<Prisma.$intakePayload> /** * Model level * */ export type level = $Result.DefaultSelection<Prisma.$levelPayload> /** * Model course * */ export type course = $Result.DefaultSelection<Prisma.$coursePayload> /** * Model specialization * */ export type specialization = $Result.DefaultSelection<Prisma.$specializationPayload> /** * Model profile * */ export type profile = $Result.DefaultSelection<Prisma.$profilePayload> /** * Model seo * */ export type seo = $Result.DefaultSelection<Prisma.$seoPayload> /** * Model profileCategory * */ export type profileCategory = $Result.DefaultSelection<Prisma.$profileCategoryPayload> /** * Model profileAccreditation * */ export type profileAccreditation = $Result.DefaultSelection<Prisma.$profileAccreditationPayload> /** * Model profileContact * */ export type profileContact = $Result.DefaultSelection<Prisma.$profileContactPayload> /** * Model profileStaff * */ export type profileStaff = $Result.DefaultSelection<Prisma.$profileStaffPayload> /** * Model profileStaffContact * */ export type profileStaffContact = $Result.DefaultSelection<Prisma.$profileStaffContactPayload> /** * Model profileProgramme * */ export type profileProgramme = $Result.DefaultSelection<Prisma.$profileProgrammePayload> /** * Model profileProgrammeFee * */ export type profileProgrammeFee = $Result.DefaultSelection<Prisma.$profileProgrammeFeePayload> /** * Model profileMedia * */ export type profileMedia = $Result.DefaultSelection<Prisma.$profileMediaPayload> /** * Model profileSocial * */ export type profileSocial = $Result.DefaultSelection<Prisma.$profileSocialPayload> /** * Model profileFacility * */ export type profileFacility = $Result.DefaultSelection<Prisma.$profileFacilityPayload> /** * Model profileReport * */ export type profileReport = $Result.DefaultSelection<Prisma.$profileReportPayload> /** * Model profileRequest * */ export type profileRequest = $Result.DefaultSelection<Prisma.$profileRequestPayload> /** * Model profileRelation * */ export type profileRelation = $Result.DefaultSelection<Prisma.$profileRelationPayload> /** * Model profileReview * */ export type profileReview = $Result.DefaultSelection<Prisma.$profileReviewPayload> /** * Model profileEvent * */ export type profileEvent = $Result.DefaultSelection<Prisma.$profileEventPayload> /** * Model profileEventTicket * */ export type profileEventTicket = $Result.DefaultSelection<Prisma.$profileEventTicketPayload> /** * Model profileHostel * */ export type profileHostel = $Result.DefaultSelection<Prisma.$profileHostelPayload> /** * Model profileHostelFee * */ export type profileHostelFee = $Result.DefaultSelection<Prisma.$profileHostelFeePayload> /** * Model profileHostelFacility * */ export type profileHostelFacility = $Result.DefaultSelection<Prisma.$profileHostelFacilityPayload> /** * Model profileHostelContact * */ export type profileHostelContact = $Result.DefaultSelection<Prisma.$profileHostelContactPayload> /** * Model profileJob * */ export type profileJob = $Result.DefaultSelection<Prisma.$profileJobPayload> /** * Model profileJobRequest * */ export type profileJobRequest = $Result.DefaultSelection<Prisma.$profileJobRequestPayload> /** * Model profileInternship * */ export type profileInternship = $Result.DefaultSelection<Prisma.$profileInternshipPayload> /** * Model profileInternshipRequest * */ export type profileInternshipRequest = $Result.DefaultSelection<Prisma.$profileInternshipRequestPayload> /** * Model profileNews * */ export type profileNews = $Result.DefaultSelection<Prisma.$profileNewsPayload> /** * Model profileArticle * */ export type profileArticle = $Result.DefaultSelection<Prisma.$profileArticlePayload> /** * Model profileScholarship * */ export type profileScholarship = $Result.DefaultSelection<Prisma.$profileScholarshipPayload> /** * Model profilePlacement * */ export type profilePlacement = $Result.DefaultSelection<Prisma.$profilePlacementPayload> /** * Model profileRoute * */ export type profileRoute = $Result.DefaultSelection<Prisma.$profileRoutePayload> /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Verticals * const verticals = await prisma.vertical.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export class PrismaClient< T extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof T ? T['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<T['log']> : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Verticals * const verticals = await prisma.vertical.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset<T, Prisma.PrismaClientOptions>); $on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void; /** * Connect with the database */ $connect(): $Utils.JsPromise<void>; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise<void>; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>> $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R> $extends: $Extensions.ExtendsHook<'extends', Prisma.TypeMapCb, ExtArgs> /** * `prisma.vertical`: Exposes CRUD operations for the **vertical** model. * Example usage: * ```ts * // Fetch zero or more Verticals * const verticals = await prisma.vertical.findMany() * ``` */ get vertical(): Prisma.verticalDelegate<ExtArgs>; /** * `prisma.category`: Exposes CRUD operations for the **category** model. * Example usage: * ```ts * // Fetch zero or more Categories * const categories = await prisma.category.findMany() * ``` */ get category(): Prisma.categoryDelegate<ExtArgs>; /** * `prisma.type`: Exposes CRUD operations for the **type** model. * Example usage: * ```ts * // Fetch zero or more Types * const types = await prisma.type.findMany() * ``` */ get type(): Prisma.typeDelegate<ExtArgs>; /** * `prisma.country`: Exposes CRUD operations for the **country** model. * Example usage: * ```ts * // Fetch zero or more Countries * const countries = await prisma.country.findMany() * ``` */ get country(): Prisma.countryDelegate<ExtArgs>; /** * `prisma.location`: Exposes CRUD operations for the **location** model. * Example usage: * ```ts * // Fetch zero or more Locations * const locations = await prisma.location.findMany() * ``` */ get location(): Prisma.locationDelegate<ExtArgs>; /** * `prisma.currency`: Exposes CRUD operations for the **currency** model. * Example usage: * ```ts * // Fetch zero or more Currencies * const currencies = await prisma.currency.findMany() * ``` */ get currency(): Prisma.currencyDelegate<ExtArgs>; /** * `prisma.contactType`: Exposes CRUD operations for the **contactType** model. * Example usage: * ```ts * // Fetch zero or more ContactTypes * const contactTypes = await prisma.contactType.findMany() * ``` */ get contactType(): Prisma.contactTypeDelegate<ExtArgs>; /** * `prisma.curriculum`: Exposes CRUD operations for the **curriculum** model. * Example usage: * ```ts * // Fetch zero or more Curricula * const curricula = await prisma.curriculum.findMany() * ``` */ get curriculum(): Prisma.curriculumDelegate<ExtArgs>; /** * `prisma.accreditation`: Exposes CRUD operations for the **accreditation** model. * Example usage: * ```ts * // Fetch zero or more Accreditations * const accreditations = await prisma.accreditation.findMany() * ``` */ get accreditation(): Prisma.accreditationDelegate<ExtArgs>; /** * `prisma.university`: Exposes CRUD operations for the **university** model. * Example usage: * ```ts * // Fetch zero or more Universities * const universities = await prisma.university.findMany() * ``` */ get university(): Prisma.universityDelegate<ExtArgs>; /** * `prisma.management`: Exposes CRUD operations for the **management** model. * Example usage: * ```ts * // Fetch zero or more Managements * const managements = await prisma.management.findMany() * ``` */ get management(): Prisma.managementDelegate<ExtArgs>; /** * `prisma.facility`: Exposes CRUD operations for the **facility** model. * Example usage: * ```ts * // Fetch zero or more Facilities * const facilities = await prisma.facility.findMany() * ``` */ get facility(): Prisma.facilityDelegate<ExtArgs>; /** * `prisma.designation`: Exposes CRUD operations for the **designation** model. * Example usage: * ```ts * // Fetch zero or more Designations * const designations = await prisma.designation.findMany() * ``` */ get designation(): Prisma.designationDelegate<ExtArgs>; /** * `prisma.media`: Exposes CRUD operations for the **media** model. * Example usage: * ```ts * // Fetch zero or more Media * const media = await prisma.media.findMany() * ``` */ get media(): Prisma.mediaDelegate<ExtArgs>; /** * `prisma.social`: Exposes CRUD operations for the **social** model. * Example usage: * ```ts * // Fetch zero or more Socials * const socials = await prisma.social.findMany() * ``` */ get social(): Prisma.socialDelegate<ExtArgs>; /** * `prisma.durationType`: Exposes CRUD operations for the **durationType** model. * Example usage: * ```ts * // Fetch zero or more DurationTypes * const durationTypes = await prisma.durationType.findMany() * ``` */ get durationType(): Prisma.durationTypeDelegate<ExtArgs>; /** * `prisma.frequency`: Exposes CRUD operations for the **frequency** model. * Example usage: * ```ts * // Fetch zero or more Frequencies * const frequencies = await prisma.frequency.findMany() * ``` */ get frequency(): Prisma.frequencyDelegate<ExtArgs>; /** * `prisma.intake`: Exposes CRUD operations for the **intake** model. * Example usage: * ```ts * // Fetch zero or more Intakes * const intakes = await prisma.intake.findMany() * ``` */ get intake(): Prisma.intakeDelegate<ExtArgs>; /** * `prisma.level`: Exposes CRUD operations for the **level** model. * Example usage: * ```ts * // Fetch zero or more Levels * const levels = await prisma.level.findMany() * ``` */ get level(): Prisma.levelDelegate<ExtArgs>; /** * `prisma.course`: Exposes CRUD operations for the **course** model. * Example usage: * ```ts * // Fetch zero or more Courses * const courses = await prisma.course.findMany() * ``` */ get course(): Prisma.courseDelegate<ExtArgs>; /** * `prisma.specialization`: Exposes CRUD operations for the **specialization** model. * Example usage: * ```ts * // Fetch zero or more Specializations * const specializations = await prisma.specialization.findMany() * ``` */ get specialization(): Prisma.specializationDelegate<ExtArgs>; /** * `prisma.profile`: Exposes CRUD operations for the **profile** model. * Example usage: * ```ts * // Fetch zero or more Profiles * const profiles = await prisma.profile.findMany() * ``` */ get profile(): Prisma.profileDelegate<ExtArgs>; /** * `prisma.seo`: Exposes CRUD operations for the **seo** model. * Example usage: * ```ts * // Fetch zero or more Seos * const seos = await prisma.seo.findMany() * ``` */ get seo(): Prisma.seoDelegate<ExtArgs>; /** * `prisma.profileCategory`: Exposes CRUD operations for the **profileCategory** model. * Example usage: * ```ts * // Fetch zero or more ProfileCategories * const profileCategories = await prisma.profileCategory.findMany() * ``` */ get profileCategory(): Prisma.profileCategoryDelegate<ExtArgs>; /** * `prisma.profileAccreditation`: Exposes CRUD operations for the **profileAccreditation** model. * Example usage: * ```ts * // Fetch zero or more ProfileAccreditations * const profileAccreditations = await prisma.profileAccreditation.findMany() * ``` */ get profileAccreditation(): Prisma.profileAccreditationDelegate<ExtArgs>; /** * `prisma.profileContact`: Exposes CRUD operations for the **profileContact** model. * Example usage: * ```ts * // Fetch zero or more ProfileContacts * const profileContacts = await prisma.profileContact.findMany() * ``` */ get profileContact(): Prisma.profileContactDelegate<ExtArgs>; /** * `prisma.profileStaff`: Exposes CRUD operations for the **profileStaff** model. * Example usage: * ```ts * // Fetch zero or more ProfileStaffs * const profileStaffs = await prisma.profileStaff.findMany() * ``` */ get profileStaff(): Prisma.profileStaffDelegate<ExtArgs>; /** * `prisma.profileStaffContact`: Exposes CRUD operations for the **profileStaffContact** model. * Example usage: * ```ts * // Fetch zero or more ProfileStaffContacts * const profileStaffContacts = await prisma.profileStaffContact.findMany() * ``` */ get profileStaffContact(): Prisma.profileStaffContactDelegate<ExtArgs>; /** * `prisma.profileProgramme`: Exposes CRUD operations for the **profileProgramme** model. * Example usage: * ```ts * // Fetch zero or more ProfileProgrammes * const profileProgrammes = await prisma.profileProgramme.findMany() * ``` */ get profileProgramme(): Prisma.profileProgrammeDelegate<ExtArgs>; /** * `prisma.profileProgrammeFee`: Exposes CRUD operations for the **profileProgrammeFee** model. * Example usage: * ```ts * // Fetch zero or more ProfileProgrammeFees * const profileProgrammeFees = await prisma.profileProgrammeFee.findMany() * ``` */ get profileProgrammeFee(): Prisma.profileProgrammeFeeDelegate<ExtArgs>; /** * `prisma.profileMedia`: Exposes CRUD operations for the **profileMedia** model. * Example usage: * ```ts * // Fetch zero or more ProfileMedias * const profileMedias = await prisma.profileMedia.findMany() * ``` */ get profileMedia(): Prisma.profileMediaDelegate<ExtArgs>; /** * `prisma.profileSocial`: Exposes CRUD operations for the **profileSocial** model. * Example usage: * ```ts * // Fetch zero or more ProfileSocials * const profileSocials = await prisma.profileSocial.findMany() * ``` */ get profileSocial(): Prisma.profileSocialDelegate<ExtArgs>; /** * `prisma.profileFacility`: Exposes CRUD operations for the **profileFacility** model. * Example usage: * ```ts * // Fetch zero or more ProfileFacilities * const profileFacilities = await prisma.profileFacility.findMany() * ``` */ get profileFacility(): Prisma.profileFacilityDelegate<ExtArgs>; /** * `prisma.profileReport`: Exposes CRUD operations for the **profileReport** model. * Example usage: * ```ts * // Fetch zero or more ProfileReports * const profileReports = await prisma.profileReport.findMany() * ``` */ get profileReport(): Prisma.profileReportDelegate<ExtArgs>; /** * `prisma.profileRequest`: Exposes CRUD operations for the **profileRequest** model. * Example usage: * ```ts * // Fetch zero or more ProfileRequests * const profileRequests = await prisma.profileRequest.findMany() * ``` */ get profileRequest(): Prisma.profileRequestDelegate<ExtArgs>; /** * `prisma.profileRelation`: Exposes CRUD operations for the **profileRelation** model. * Example usage: * ```ts * // Fetch zero or more ProfileRelations * const profileRelations = await prisma.profileRelation.findMany() * ``` */ get profileRelation(): Prisma.profileRelationDelegate<ExtArgs>; /** * `prisma.profileReview`: Exposes CRUD operations for the **profileReview** model. * Example usage: * ```ts * // Fetch zero or more ProfileReviews * const profileReviews = await prisma.profileReview.findMany() * ``` */ get profileReview(): Prisma.profileReviewDelegate<ExtArgs>; /** * `prisma.profileEvent`: Exposes CRUD operations for the **profileEvent** model. * Example usage: * ```ts * // Fetch zero or more ProfileEvents * const profileEvents = await prisma.profileEvent.findMany() * ``` */ get profileEvent(): Prisma.profileEventDelegate<ExtArgs>; /** * `prisma.profileEventTicket`: Exposes CRUD operations for the **profileEventTicket** model. * Example usage: * ```ts * // Fetch zero or more ProfileEventTickets * const profileEventTickets = await prisma.profileEventTicket.findMany() * ``` */ get profileEventTicket(): Prisma.profileEventTicketDelegate<ExtArgs>; /** * `prisma.profileHostel`: Exposes CRUD operations for the **profileHostel** model. * Example usage: * ```ts * // Fetch zero or more ProfileHostels * const profileHostels = await prisma.profileHostel.findMany() * ``` */ get profileHostel(): Prisma.profileHostelDelegate<ExtArgs>; /** * `prisma.profileHostelFee`: Exposes CRUD operations for the **profileHostelFee** model. * Example usage: * ```ts * // Fetch zero or more ProfileHostelFees * const profileHostelFees = await prisma.profileHostelFee.findMany() * ``` */ get profileHostelFee(): Prisma.profileHostelFeeDelegate<ExtArgs>; /** * `prisma.profileHostelFacility`: Exposes CRUD operations for the **profileHostelFacility** model. * Example usage: * ```ts * // Fetch zero or more ProfileHostelFacilities * const profileHostelFacilities = await prisma.profileHostelFacility.findMany() * ``` */ get profileHostelFacility(): Prisma.profileHostelFacilityDelegate<ExtArgs>; /** * `prisma.profileHostelContact`: Exposes CRUD operations for the **profileHostelContact** model. * Example usage: * ```ts * // Fetch zero or more ProfileHostelContacts * const profileHostelContacts = await prisma.profileHostelContact.findMany() * ``` */ get profileHostelContact(): Prisma.profileHostelContactDelegate<ExtArgs>; /** * `prisma.profileJob`: Exposes CRUD operations for the **profileJob** model. * Example usage: * ```ts * // Fetch zero or more ProfileJobs * const profileJobs = await prisma.profileJob.findMany() * ``` */ get profileJob(): Prisma.profileJobDelegate<ExtArgs>; /** * `prisma.profileJobRequest`: Exposes CRUD operations for the **profileJobRequest** model. * Example usage: * ```ts * // Fetch zero or more ProfileJobRequests * const profileJobRequests = await prisma.profileJobRequest.findMany() * ``` */ get profileJobRequest(): Prisma.profileJobRequestDelegate<ExtArgs>; /** * `prisma.profileInternship`: Exposes CRUD operations for the **profileInternship** model. * Example usage: * ```ts * // Fetch zero or more ProfileInternships * const profileInternships = await prisma.profileInternship.findMany() * ``` */ get profileInternship(): Prisma.profileInternshipDelegate<ExtArgs>; /** * `prisma.profileInternshipRequest`: Exposes CRUD operations for the **profileInternshipRequest** model. * Example usage: * ```ts * // Fetch zero or more ProfileInternshipRequests * const profileInternshipRequests = await prisma.profileInternshipRequest.findMany() * ``` */ get profileInternshipRequest(): Prisma.profileInternshipRequestDelegate<ExtArgs>; /** * `prisma.profileNews`: Exposes CRUD operations for the **profileNews** model. * Example usage: * ```ts * // Fetch zero or more ProfileNews * const profileNews = await prisma.profileNews.findMany() * ``` */ get profileNews(): Prisma.profileNewsDelegate<ExtArgs>; /** * `prisma.profileArticle`: Exposes CRUD operations for the **profileArticle** model. * Example usage: * ```ts * // Fetch zero or more ProfileArticles * const profileArticles = await prisma.profileArticle.findMany() * ``` */ get profileArticle(): Prisma.profileArticleDelegate<ExtArgs>; /** * `prisma.profileScholarship`: Exposes CRUD operations for the **profileScholarship** model. * Example usage: * ```ts * // Fetch zero or more ProfileScholarships * const profileScholarships = await prisma.profileScholarship.findMany() * ``` */ get profileScholarship(): Prisma.profileScholarshipDelegate<ExtArgs>; /** * `prisma.profilePlacement`: Exposes CRUD operations for the **profilePlacement** model. * Example usage: * ```ts * // Fetch zero or more ProfilePlacements * const profilePlacements = await prisma.profilePlacement.findMany() * ``` */ get profilePlacement(): Prisma.profilePlacementDelegate<ExtArgs>; /** * `prisma.profileRoute`: Exposes CRUD operations for the **profileRoute** model. * Example usage: * ```ts * // Fetch zero or more ProfileRoutes * const profileRoutes = await prisma.profileRoute.findMany() * ``` */ get profileRoute(): Prisma.profileRouteDelegate<ExtArgs>; } export namespace Prisma { export import DMMF = runtime.DMMF export type PrismaPromise<T> = $Public.PrismaPromise<T> /** * Validator */ export import validator = runtime.Public.validator /** * Prisma Errors */ export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError export import NotFoundError = runtime.NotFoundError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric<T> = runtime.Metric<T> export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 5.5.2 * Query Engine version: aebc046ce8b88ebbcb45efe31cbe7d06fd6abc0a */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ /** * From https://github.com/sindresorhus/type-fest/ * Matches a JSON object. * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from. */ export type JsonObject = {[Key in string]?: JsonValue} /** * From https://github.com/sindresorhus/type-fest/ * Matches a JSON array. */ export interface JsonArray extends Array<JsonValue> {} /** * From https://github.com/sindresorhus/type-fest/ * Matches any valid JSON value. */ export type JsonValue = string | number | boolean | JsonObject | JsonArray | null /** * Matches a JSON object. * Unlike `JsonObject`, this type allows undefined and read-only properties. */ export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null} /** * Matches a JSON array. * Unlike `JsonArray`, readonly arrays are assignable to this type. */ export interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {} /** * Matches any valid value that can be used as an input for operations like * create and update as the value of a JSON field. Unlike `JsonValue`, this * type allows read-only arrays and read-only object properties and disallows * `null` at the top level. * * `null` cannot be used as the value of a JSON field because its meaning * would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or * `Prisma.DbNull` to clear the JSON value and set the field to the database * NULL value instead. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values */ export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown } /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick<T, K extends keyof T> = { [P in K]: T[P]; }; export type Enumerable<T> = T | Array<T>; export type RequiredKeys<T> = { [K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K }[keyof T] export type TruthyKeys<T> = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset<T, U> = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset<T, U> = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection<T, U, K> = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T /** * Is T a Record? */ type IsObject<T extends any> = T extends Array<any> ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T /** * From ts-toolbelt */ type __Either<O extends object, K extends Key> = Omit<O, K> & { // Merge all but K [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities }[K] type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>> type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict<O, K> 0: EitherLoose<O, K> }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either<O, K, strict> : never export type Union = any type PatchUndefined<O extends object, O1 extends object> = { [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf<U extends Union> = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite<O extends object, O1 extends object> = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge<U extends object> = IntersectOf<Overwrite<U, { [K in keyof U]-?: At<U, K>; }>>; type Key = string | number | symbol; type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never; type AtStrict<O extends object, K extends Key> = O[K & keyof O]; type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never; export type At<O extends object, K extends Key, strict extends Boolean = 1> = { 1: AtStrict<O, K>; 0: AtLoose<O, K>; }[strict]; export type ComputeRaw<A extends any> = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat<O> = { [K in keyof O]?: O[K]; } & {}; type _Record<K extends keyof any, T> = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand<T> = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast<O extends object, K extends string> = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? K : never]-?: O[P]} & O : never>; type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never; export type Strict<U extends object> = ComputeRaw<_Strict<U>>; /** End Helper Types for "Merge" **/ export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not<B extends Boolean> = { 0: 1 1: 0 }[B] export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has<U extends Union, U1 extends Union> = Not< Extends<Exclude<U1, U>, U1> > export type Or<B1 extends Boolean, B2 extends Boolean> = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys<U extends Union> = U extends unknown ? keyof U : never type Cast<A, B> = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType<T, O> = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'> > = IsObject<T> extends True ? U : T type GetHavingFields<T> = { [K in keyof T]: Or< Or<Extends<'OR', K>, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> : never : {} extends FieldPaths<T[K]> ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion<T> = T extends (infer E)[] ? E : never type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K> type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType> type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType> export const ModelName: { vertical: 'vertical', category: 'category', type: 'type', country: 'country', location: 'location', currency: 'currency', contactType: 'contactType', curriculum: 'curriculum', accreditation: 'accreditation', university: 'university', management: 'management', facility: 'facility', designation: 'designation', media: 'media', social: 'social', durationType: 'durationType', frequency: 'frequency', intake: 'intake', level: 'level', course: 'course', specialization: 'specialization', profile: 'profile', seo: 'seo', profileCategory: 'profileCategory', profileAccreditation: 'profileAccreditation', profileContact: 'profileContact', profileStaff: 'profileStaff', profileStaffContact: 'profileStaffContact', profileProgramme: 'profileProgramme', profileProgrammeFee: 'profileProgrammeFee', profileMedia: 'profileMedia', profileSocial: 'profileSocial', profileFacility: 'profileFacility', profileReport: 'profileReport', profileRequest: 'profileRequest', profileRelation: 'profileRelation', profileReview: 'profileReview', profileEvent: 'profileEvent', profileEventTicket: 'profileEventTicket', profileHostel: 'profileHostel', profileHostelFee: 'profileHostelFee', profileHostelFacility: 'profileHostelFacility', profileHostelContact: 'profileHostelContact', profileJob: 'profileJob', profileJobRequest: 'profileJobRequest', profileInternship: 'profileInternship', profileInternshipRequest: 'profileInternshipRequest', profileNews: 'profileNews', profileArticle: 'profileArticle', profileScholarship: 'profileScholarship', profilePlacement: 'profilePlacement', profileRoute: 'profileRoute' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs}, $Utils.Record<string, any>> { returns: Prisma.TypeMap<this['params']['extArgs']> } export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = { meta: { modelProps: 'vertical' | 'category' | 'type' | 'country' | 'location' | 'currency' | 'contactType' | 'curriculum' | 'accreditation' | 'university' | 'management' | 'facility' | 'designation' | 'media' | 'social' | 'durationType' | 'frequency' | 'intake' | 'level' | 'course' | 'specialization' | 'profile' | 'seo' | 'profileCategory' | 'profileAccreditation' | 'profileContact' | 'profileStaff' | 'profileStaffContact' | 'profileProgramme' | 'profileProgrammeFee' | 'profileMedia' | 'profileSocial' | 'profileFacility' | 'profileReport' | 'profileRequest' | 'profileRelation' | 'profileReview' | 'profileEvent' | 'profileEventTicket' | 'profileHostel' | 'profileHostelFee' | 'profileHostelFacility' | 'profileHostelContact' | 'profileJob' | 'profileJobRequest' | 'profileInternship' | 'profileInternshipRequest' | 'profileNews' | 'profileArticle' | 'profileScholarship' | 'profilePlacement' | 'profileRoute' txIsolationLevel: Prisma.TransactionIsolationLevel }, model: { vertical: { payload: Prisma.$verticalPayload<ExtArgs> fields: Prisma.verticalFieldRefs operations: { findUnique: { args: Prisma.verticalFindUniqueArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> | null } findUniqueOrThrow: { args: Prisma.verticalFindUniqueOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } findFirst: { args: Prisma.verticalFindFirstArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> | null } findFirstOrThrow: { args: Prisma.verticalFindFirstOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } findMany: { args: Prisma.verticalFindManyArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload>[] } create: { args: Prisma.verticalCreateArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } createMany: { args: Prisma.verticalCreateManyArgs<ExtArgs>, result: Prisma.BatchPayload } delete: { args: Prisma.verticalDeleteArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } update: { args: Prisma.verticalUpdateArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } deleteMany: { args: Prisma.verticalDeleteManyArgs<ExtArgs>, result: Prisma.BatchPayload } updateMany: { args: Prisma.verticalUpdateManyArgs<ExtArgs>, result: Prisma.BatchPayload } upsert: { args: Prisma.verticalUpsertArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$verticalPayload> } aggregate: { args: Prisma.VerticalAggregateArgs<ExtArgs>, result: $Utils.Optional<AggregateVertical> } groupBy: { args: Prisma.verticalGroupByArgs<ExtArgs>, result: $Utils.Optional<VerticalGroupByOutputType>[] } count: { args: Prisma.verticalCountArgs<ExtArgs>, result: $Utils.Optional<VerticalCountAggregateOutputType> | number } } } category: { payload: Prisma.$categoryPayload<ExtArgs> fields: Prisma.categoryFieldRefs operations: { findUnique: { args: Prisma.categoryFindUniqueArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> | null } findUniqueOrThrow: { args: Prisma.categoryFindUniqueOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } findFirst: { args: Prisma.categoryFindFirstArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> | null } findFirstOrThrow: { args: Prisma.categoryFindFirstOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } findMany: { args: Prisma.categoryFindManyArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload>[] } create: { args: Prisma.categoryCreateArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } createMany: { args: Prisma.categoryCreateManyArgs<ExtArgs>, result: Prisma.BatchPayload } delete: { args: Prisma.categoryDeleteArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } update: { args: Prisma.categoryUpdateArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } deleteMany: { args: Prisma.categoryDeleteManyArgs<ExtArgs>, result: Prisma.BatchPayload } updateMany: { args: Prisma.categoryUpdateManyArgs<ExtArgs>, result: Prisma.BatchPayload } upsert: { args: Prisma.categoryUpsertArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$categoryPayload> } aggregate: { args: Prisma.CategoryAggregateArgs<ExtArgs>, result: $Utils.Optional<AggregateCategory> } groupBy: { args: Prisma.categoryGroupByArgs<ExtArgs>, result: $Utils.Optional<CategoryGroupByOutputType>[] } count: { args: Prisma.categoryCountArgs<ExtArgs>, result: $Utils.Optional<CategoryCountAggregateOutputType> | number } } } type: { payload: Prisma.$typePayload<ExtArgs> fields: Prisma.typeFieldRefs operations: { findUnique: { args: Prisma.typeFindUniqueArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload> | null } findUniqueOrThrow: { args: Prisma.typeFindUniqueOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload> } findFirst: { args: Prisma.typeFindFirstArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload> | null } findFirstOrThrow: { args: Prisma.typeFindFirstOrThrowArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload> } findMany: { args: Prisma.typeFindManyArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload>[] } create: { args: Prisma.typeCreateArgs<ExtArgs>, result: $Utils.PayloadToResult<Prisma.$typePayload> } createMany: { args: Prisma.typeCreateManyArgs<ExtArgs>, result: Prisma.BatchPayload } delete: { args: Prisma.typeDeleteArgs<ExtArgs>,