From cd99211f05af3fdb24092994a2b8e695523eec99 Mon Sep 17 00:00:00 2001 From: killian-larcher Date: Tue, 17 Dec 2024 20:24:11 +0100 Subject: [PATCH] adding zenstack. --- app/(customer)/dashboard/agents/page.tsx | 10 +- package.json | 6 +- .../20241217174747_2024_12_17/migration.sql | 45 + prisma/schema.prisma | 208 +- schema.zmodel | 218 + src/db.ts | 9 + src/features/permissions.ts | 14 + src/lib/hooks/__model_meta.ts | 754 + src/lib/hooks/account.ts | 334 + src/lib/hooks/agent.ts | 334 + src/lib/hooks/backup.ts | 335 + src/lib/hooks/database.ts | 335 + src/lib/hooks/index.ts | 22 + src/lib/hooks/organization.ts | 334 + src/lib/hooks/project.ts | 334 + src/lib/hooks/restoration.ts | 335 + src/lib/hooks/session.ts | 334 + src/lib/hooks/settings.ts | 335 + src/lib/hooks/user-organization.ts | 334 + src/lib/hooks/user.ts | 335 + src/lib/hooks/verification-token.ts | 334 + src/openapi.yaml | 27521 ++++++++++++++++ src/prisma.ts | 2 +- yarn.lock | 813 +- 24 files changed, 33517 insertions(+), 118 deletions(-) create mode 100644 prisma/migrations/20241217174747_2024_12_17/migration.sql create mode 100644 schema.zmodel create mode 100644 src/db.ts create mode 100644 src/features/permissions.ts create mode 100644 src/lib/hooks/__model_meta.ts create mode 100644 src/lib/hooks/account.ts create mode 100644 src/lib/hooks/agent.ts create mode 100644 src/lib/hooks/backup.ts create mode 100644 src/lib/hooks/database.ts create mode 100644 src/lib/hooks/index.ts create mode 100644 src/lib/hooks/organization.ts create mode 100644 src/lib/hooks/project.ts create mode 100644 src/lib/hooks/restoration.ts create mode 100644 src/lib/hooks/session.ts create mode 100644 src/lib/hooks/settings.ts create mode 100644 src/lib/hooks/user-organization.ts create mode 100644 src/lib/hooks/user.ts create mode 100644 src/lib/hooks/verification-token.ts create mode 100644 src/openapi.yaml diff --git a/app/(customer)/dashboard/agents/page.tsx b/app/(customer)/dashboard/agents/page.tsx index bb88c1a2..7772806e 100644 --- a/app/(customer)/dashboard/agents/page.tsx +++ b/app/(customer)/dashboard/agents/page.tsx @@ -5,11 +5,19 @@ import {CardsWithPagination} from "@/components/wrappers/common/cards-with-pagin import {Button} from "@/components/ui/button"; import Link from 'next/link' import {Page, PageActions, PageContent, PageHeader, PageTitle} from "@/features/layout/page"; +// import {db} from "@/db"; +import {enhance} from "@zenstackhq/runtime"; +import {currentUser} from "@/auth/current-user"; export default async function RoutePage(props: PageParams<{}>) { - const agents = await prisma.agent.findMany({}) + const user = await currentUser(); + const db = enhance(prisma, {user: user}); + + const agents = await db.agent.findMany() + + console.log("aaaa", agents) return ( diff --git a/package.json b/package.json index f34e28c0..fd9411d8 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ "@tanstack/react-query": "^5.59.18", "@tanstack/react-table": "^8.20.5", "@types/ws": "^8.5.13", + "@zenstackhq/runtime": "2.10.1", "argon2": "^0.41.1", "bcrypt": "^5.1.1", "class-variance-authority": "^0.7.0", @@ -86,12 +87,15 @@ "@types/node": "^20", "@types/react": "npm:types-react@19.0.0-rc.1", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1", + "@zenstackhq/openapi": "^2.10.1", + "@zenstackhq/tanstack-query": "^2.10.1", "eslint": "^8", "eslint-config-next": "15.0.3", "postcss": "^8", "prisma": "^5.22.0", "tailwindcss": "^3.4.1", - "typescript": "^5" + "typescript": "^5", + "zenstack": "2.10.1" }, "overrides": { "@types/react": "npm:types-react@19.0.0-rc.1", diff --git a/prisma/migrations/20241217174747_2024_12_17/migration.sql b/prisma/migrations/20241217174747_2024_12_17/migration.sql new file mode 100644 index 00000000..fe0155cb --- /dev/null +++ b/prisma/migrations/20241217174747_2024_12_17/migration.sql @@ -0,0 +1,45 @@ +/* + Warnings: + + - The required column `id` was added to the `verificationtokens` table with a prisma-level default value. This is not possible if the table is not empty. Please add this column as optional, then populate it before making it required. + +*/ +-- AlterTable +ALTER TABLE "accounts" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, +ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "agents" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "backups" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "databases" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "organizations" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "projects" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "restorations" ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "sessions" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, +ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "settings" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, +ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "users_organisations" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, +ADD COLUMN "updated_at" TIMESTAMP(3); + +-- AlterTable +ALTER TABLE "verificationtokens" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, +ADD COLUMN "id" TEXT NOT NULL, +ADD COLUMN "updated_at" TIMESTAMP(3), +ADD CONSTRAINT "verificationtokens_pkey" PRIMARY KEY ("id"); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 3eb37225..4af822ff 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1,50 +1,79 @@ -// This is your Prisma schema file, -// learn more about it in the docs: https://pris.ly/d/prisma-schema - -// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions? -// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init - -generator client { - provider = "prisma-client-js" - binaryTargets = ["native", "linux-musl-openssl-3.0.x", "debian-openssl-3.0.x"] -} +////////////////////////////////////////////////////////////////////////////////////////////// +// DO NOT MODIFY THIS FILE // +// This file is automatically generated by ZenStack CLI and should not be manually updated. // +////////////////////////////////////////////////////////////////////////////////////////////// datasource db { provider = "postgresql" url = env("DATABASE_URL") } +generator client { + provider = "prisma-client-js" + binaryTargets = ["native", "linux-musl-openssl-3.0.x", "debian-openssl-3.0.x"] +} + +enum Role { + pending + user + admin +} + +enum Dbms { + postgresql + mysql + mongodb +} + +enum Status { + waiting + ongoing + failed + success +} + +enum TypeStorage { + local + s3 +} + model Account { - id String @id @default(cuid()) - userId String @map("user_id") + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + userId String @map("user_id") type String provider String - providerAccountId String @map("provider_account_id") - refresh_token String? @db.Text - access_token String? @db.Text + providerAccountId String @map("provider_account_id") + refresh_token String? @db.Text() + access_token String? @db.Text() expires_at Int? token_type String? scope String? - id_token String? @db.Text + id_token String? @db.Text() session_state String? - - user User @relation(fields: [userId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) @@unique([provider, providerAccountId]) @@map("accounts") } model Session { - id String @id @default(cuid()) - sessionToken String @unique @map("session_token") - userId String @map("user_id") + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + sessionToken String @unique() @map("session_token") + userId String @map("user_id") expires DateTime - user User @relation(fields: [userId], references: [id], onDelete: Cascade) + user User @relation(fields: [userId], references: [id], onDelete: Cascade) @@map("sessions") } model VerificationToken { + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") identifier String token String expires DateTime @@ -54,16 +83,16 @@ model VerificationToken { } model User { - id String @id @default(cuid()) + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") name String? - email String? @unique + email String? @unique() emailVerified DateTime? @map("email_verified") image String? role Role password String? authMethod String? @map("auth_method") - createdAt DateTime @default(now()) @map("created_at") - updatedAt DateTime? @updatedAt @map("updated_at") deleted Boolean? @default(false) accounts Account[] sessions Session[] @@ -72,26 +101,22 @@ model User { @@map("users") } -enum Role { - pending - user - admin -} - model Organization { - id String @id @default(cuid()) - slug String @unique + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + slug String @unique() name String - createdAt DateTime @default(now()) @map("created_at") - - projects Project[] - users UserOrganization[] + projects Project[] + users UserOrganization[] @@map("organizations") } model UserOrganization { - id String @id @default(cuid()) + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") userId String organizationId String user User @relation(fields: [userId], references: [id]) @@ -102,106 +127,85 @@ model UserOrganization { } model Project { - id String @id @default(cuid()) - slug String @unique - name String - createdAt DateTime @default(now()) @map("created_at") - + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + slug String @unique() + name String organizationId String @map("organization_id") organization Organization @relation(fields: [organizationId], references: [id]) - - databases Database[] + databases Database[] @@map("projects") } model Agent { - id String @id @default(cuid()) - slug String @unique + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + slug String @unique() name String description String? - lastContact DateTime? @map("last_contact") - createdAt DateTime @default(now()) @map("created_at") - - databases Database[] + lastContact DateTime? @map("last_contact") + databases Database[] @@map("agents") } -enum Dbms { - postgresql - mysql - mongodb -} - model Database { - id String @id @default(cuid()) + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") name String dbms Dbms - generatedId String @unique + generatedId String @unique() description String? - backupPolicy String? @map("backup_policy") - createdAt DateTime @default(now()) @map("created_at") - isWaitingForBackup Boolean? @default(false) + backupPolicy String? @map("backup_policy") + isWaitingForBackup Boolean? @default(false) backupToRestore String? - - agentId String @map("agent_id") - agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade) - lastContact DateTime? @map("last_contact") - - backups Backup[] - restorations Restoration[] - - projectId String? @map("project_id") - project Project? @relation(fields: [projectId], references: [id]) + agentId String @map("agent_id") + agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade) + lastContact DateTime? @map("last_contact") + backups Backup[] + restorations Restoration[] + projectId String? @map("project_id") + project Project? @relation(fields: [projectId], references: [id]) @@map("databases") } -enum Status { - waiting - ongoing - failed - success -} - model Backup { - id String @id @default(cuid()) - status Status @default(waiting) - file String? - createdAt DateTime @default(now()) @map("created_at") - - databaseId String @map("database_id") - database Database @relation(fields: [databaseId], references: [id], onDelete: Cascade) - + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + status Status @default(waiting) + file String? + databaseId String @map("database_id") + database Database @relation(fields: [databaseId], references: [id], onDelete: Cascade) restorations Restoration[] @@map("backups") } model Restoration { - id String @id @default(cuid()) - status Status @default(waiting) - createdAt DateTime @default(now()) @map("created_at") - - backupId String @map("backup_id") - backup Backup @relation(fields: [backupId], references: [id], onDelete: Cascade) - + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") + status Status @default(waiting) + backupId String @map("backup_id") + backup Backup @relation(fields: [backupId], references: [id], onDelete: Cascade) databaseId String? @map("database_id") database Database? @relation(fields: [databaseId], references: [id], onDelete: Cascade) @@map("restorations") } -enum TypeStorage { - local - s3 -} - model Settings { - id String @id @default(cuid()) + id String @id() @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt() @map("updated_at") storage TypeStorage @default(local) - name String @unique + name String @unique() s3EndPointUrl String? s3AccessKeyId String? s3SecretAccessKey String? diff --git a/schema.zmodel b/schema.zmodel new file mode 100644 index 00000000..7dca97bf --- /dev/null +++ b/schema.zmodel @@ -0,0 +1,218 @@ +// This is your Prisma schema file, +// learn more about it in the docs: https://pris.ly/d/prisma-schema + +// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions? +// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init + +// https://zenstack.dev/docs/guides/check-permission + +generator client { + provider = "prisma-client-js" + binaryTargets = ["native", "linux-musl-openssl-3.0.x", "debian-openssl-3.0.x"] +} + +datasource db { + provider = "postgresql" + url = env("DATABASE_URL") +} + +plugin openapi { + provider = "@zenstackhq/openapi" + output = "./src/openapi.yaml" +} + +plugin tanstack_query { + provider = "@zenstackhq/tanstack-query" + output = "./src/lib/hooks" + target = "react" +} + +abstract model Base { + id String @id @default(cuid()) + createdAt DateTime @default(now()) @map("created_at") + updatedAt DateTime? @updatedAt @map("updated_at") +} + +model Account extends Base { + userId String @map("user_id") + type String + provider String + providerAccountId String @map("provider_account_id") + refresh_token String? @db.Text + access_token String? @db.Text + expires_at Int? + token_type String? + scope String? + id_token String? @db.Text + session_state String? + + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + + @@unique([provider, providerAccountId]) + @@map("accounts") +} + +model Session extends Base { + sessionToken String @unique @map("session_token") + userId String @map("user_id") + expires DateTime + user User @relation(fields: [userId], references: [id], onDelete: Cascade) + + @@map("sessions") +} + +model VerificationToken extends Base { + identifier String + token String + expires DateTime + + @@unique([identifier, token]) + @@map("verificationtokens") +} + +model User extends Base { + name String? + email String? @unique @email + emailVerified DateTime? @map("email_verified") + image String? + role Role + password String? @omit @password + authMethod String? @map("auth_method") + deleted Boolean? @default(false) + accounts Account[] + sessions Session[] + organizations UserOrganization[] + + @@map("users") +} + +enum Role { + pending + user + admin +} + +model Organization extends Base { + slug String @unique + name String + + projects Project[] + users UserOrganization[] + + @@map("organizations") +} + +model UserOrganization extends Base { + userId String + organizationId String + user User @relation(fields: [userId], references: [id]) + organization Organization @relation(fields: [organizationId], references: [id]) + + @@unique([userId, organizationId]) + @@map("users_organisations") +} + +model Project extends Base { + slug String @unique + name String + + organizationId String @map("organization_id") + organization Organization @relation(fields: [organizationId], references: [id]) + + databases Database[] + + @@map("projects") +} + +model Agent extends Base { + slug String @unique + name String + description String? + lastContact DateTime? @map("last_contact") + + databases Database[] + + @@allow('all', true) + + @@map("agents") +} + +enum Dbms { + postgresql + mysql + mongodb +} + +model Database extends Base { + name String + dbms Dbms + generatedId String @unique + description String? + backupPolicy String? @map("backup_policy") + isWaitingForBackup Boolean? @default(false) + backupToRestore String? + + agentId String @map("agent_id") + agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade) + lastContact DateTime? @map("last_contact") + + backups Backup[] + restorations Restoration[] + + projectId String? @map("project_id") + project Project? @relation(fields: [projectId], references: [id]) + + @@map("databases") +} + +enum Status { + waiting + ongoing + failed + success +} + +model Backup extends Base { + status Status @default(waiting) + file String? + + databaseId String @map("database_id") + database Database @relation(fields: [databaseId], references: [id], onDelete: Cascade) + + restorations Restoration[] + + @@map("backups") +} + +model Restoration extends Base { + status Status @default(waiting) + + backupId String @map("backup_id") + backup Backup @relation(fields: [backupId], references: [id], onDelete: Cascade) + + databaseId String? @map("database_id") + database Database? @relation(fields: [databaseId], references: [id], onDelete: Cascade) + + @@map("restorations") +} + +enum TypeStorage { + local + s3 +} + +model Settings extends Base { + storage TypeStorage @default(local) + name String @unique + s3EndPointUrl String? + s3AccessKeyId String? + s3SecretAccessKey String? + S3BucketName String? + smtpPassword String? + smtpFrom String? + smtpHost String? + smtpPort String? + smtpUser String? + + @@map("settings") +} diff --git a/src/db.ts b/src/db.ts new file mode 100644 index 00000000..126b9c53 --- /dev/null +++ b/src/db.ts @@ -0,0 +1,9 @@ +import {currentUser} from "@/auth/current-user"; +import {enhance} from "@zenstackhq/runtime"; +import {prisma} from "@/prisma"; + +const user = await currentUser(); +console.log("bbbbbbb", user) + +export const db = enhance(prisma, {user: user}); +console.log("cccccccccc", db) diff --git a/src/features/permissions.ts b/src/features/permissions.ts new file mode 100644 index 00000000..2b66eb94 --- /dev/null +++ b/src/features/permissions.ts @@ -0,0 +1,14 @@ +export const checkPermission = (role) => { + + switch (role) { + case "admin": + break; + case "admin": + break; + case "admin": + break; + case "admin": + break; + } + +} \ No newline at end of file diff --git a/src/lib/hooks/__model_meta.ts b/src/lib/hooks/__model_meta.ts new file mode 100644 index 00000000..c1d0f0fe --- /dev/null +++ b/src/lib/hooks/__model_meta.ts @@ -0,0 +1,754 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +const metadata = { + models: { + account: { + name: 'Account', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, userId: { + name: "userId", + type: "String", + isForeignKey: true, + relationField: 'user', + }, type: { + name: "type", + type: "String", + }, provider: { + name: "provider", + type: "String", + }, providerAccountId: { + name: "providerAccountId", + type: "String", + }, refresh_token: { + name: "refresh_token", + type: "String", + isOptional: true, + }, access_token: { + name: "access_token", + type: "String", + isOptional: true, + }, expires_at: { + name: "expires_at", + type: "Int", + isOptional: true, + }, token_type: { + name: "token_type", + type: "String", + isOptional: true, + }, scope: { + name: "scope", + type: "String", + isOptional: true, + }, id_token: { + name: "id_token", + type: "String", + isOptional: true, + }, session_state: { + name: "session_state", + type: "String", + isOptional: true, + }, user: { + name: "user", + type: "User", + isDataModel: true, + backLink: 'accounts', + isRelationOwner: true, + foreignKeyMapping: { "id": "userId" }, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, provider_providerAccountId: { + name: "provider_providerAccountId", + fields: ["provider", "providerAccountId"] + }, + } + , + } + , + session: { + name: 'Session', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, sessionToken: { + name: "sessionToken", + type: "String", + }, userId: { + name: "userId", + type: "String", + isForeignKey: true, + relationField: 'user', + }, expires: { + name: "expires", + type: "DateTime", + }, user: { + name: "user", + type: "User", + isDataModel: true, + backLink: 'sessions', + isRelationOwner: true, + foreignKeyMapping: { "id": "userId" }, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, sessionToken: { + name: "sessionToken", + fields: ["sessionToken"] + }, + } + , + } + , + verificationToken: { + name: 'VerificationToken', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, identifier: { + name: "identifier", + type: "String", + }, token: { + name: "token", + type: "String", + }, expires: { + name: "expires", + type: "DateTime", + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, identifier_token: { + name: "identifier_token", + fields: ["identifier", "token"] + }, + } + , + } + , + user: { + name: 'User', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, name: { + name: "name", + type: "String", + isOptional: true, + }, email: { + name: "email", + type: "String", + isOptional: true, + }, emailVerified: { + name: "emailVerified", + type: "DateTime", + isOptional: true, + }, image: { + name: "image", + type: "String", + isOptional: true, + }, role: { + name: "role", + type: "Role", + }, password: { + name: "password", + type: "String", + isOptional: true, + }, authMethod: { + name: "authMethod", + type: "String", + isOptional: true, + }, deleted: { + name: "deleted", + type: "Boolean", + isOptional: true, + attributes: [{ "name": "@default", "args": [{ "value": false }] }], + }, accounts: { + name: "accounts", + type: "Account", + isDataModel: true, + isArray: true, + backLink: 'user', + }, sessions: { + name: "sessions", + type: "Session", + isDataModel: true, + isArray: true, + backLink: 'user', + }, organizations: { + name: "organizations", + type: "UserOrganization", + isDataModel: true, + isArray: true, + backLink: 'user', + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, email: { + name: "email", + fields: ["email"] + }, + } + , + } + , + organization: { + name: 'Organization', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, slug: { + name: "slug", + type: "String", + }, name: { + name: "name", + type: "String", + }, projects: { + name: "projects", + type: "Project", + isDataModel: true, + isArray: true, + backLink: 'organization', + }, users: { + name: "users", + type: "UserOrganization", + isDataModel: true, + isArray: true, + backLink: 'organization', + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, slug: { + name: "slug", + fields: ["slug"] + }, + } + , + } + , + userOrganization: { + name: 'UserOrganization', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, userId: { + name: "userId", + type: "String", + isForeignKey: true, + relationField: 'user', + }, organizationId: { + name: "organizationId", + type: "String", + isForeignKey: true, + relationField: 'organization', + }, user: { + name: "user", + type: "User", + isDataModel: true, + backLink: 'organizations', + isRelationOwner: true, + foreignKeyMapping: { "id": "userId" }, + }, organization: { + name: "organization", + type: "Organization", + isDataModel: true, + backLink: 'users', + isRelationOwner: true, + foreignKeyMapping: { "id": "organizationId" }, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, userId_organizationId: { + name: "userId_organizationId", + fields: ["userId", "organizationId"] + }, + } + , + } + , + project: { + name: 'Project', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, slug: { + name: "slug", + type: "String", + }, name: { + name: "name", + type: "String", + }, organizationId: { + name: "organizationId", + type: "String", + isForeignKey: true, + relationField: 'organization', + }, organization: { + name: "organization", + type: "Organization", + isDataModel: true, + backLink: 'projects', + isRelationOwner: true, + foreignKeyMapping: { "id": "organizationId" }, + }, databases: { + name: "databases", + type: "Database", + isDataModel: true, + isArray: true, + backLink: 'project', + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, slug: { + name: "slug", + fields: ["slug"] + }, + } + , + } + , + agent: { + name: 'Agent', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, slug: { + name: "slug", + type: "String", + }, name: { + name: "name", + type: "String", + }, description: { + name: "description", + type: "String", + isOptional: true, + }, lastContact: { + name: "lastContact", + type: "DateTime", + isOptional: true, + }, databases: { + name: "databases", + type: "Database", + isDataModel: true, + isArray: true, + backLink: 'agent', + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, slug: { + name: "slug", + fields: ["slug"] + }, + } + , + } + , + database: { + name: 'Database', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, name: { + name: "name", + type: "String", + }, dbms: { + name: "dbms", + type: "Dbms", + }, generatedId: { + name: "generatedId", + type: "String", + }, description: { + name: "description", + type: "String", + isOptional: true, + }, backupPolicy: { + name: "backupPolicy", + type: "String", + isOptional: true, + }, isWaitingForBackup: { + name: "isWaitingForBackup", + type: "Boolean", + isOptional: true, + attributes: [{ "name": "@default", "args": [{ "value": false }] }], + }, backupToRestore: { + name: "backupToRestore", + type: "String", + isOptional: true, + }, agentId: { + name: "agentId", + type: "String", + isForeignKey: true, + relationField: 'agent', + }, agent: { + name: "agent", + type: "Agent", + isDataModel: true, + backLink: 'databases', + isRelationOwner: true, + foreignKeyMapping: { "id": "agentId" }, + }, lastContact: { + name: "lastContact", + type: "DateTime", + isOptional: true, + }, backups: { + name: "backups", + type: "Backup", + isDataModel: true, + isArray: true, + backLink: 'database', + }, restorations: { + name: "restorations", + type: "Restoration", + isDataModel: true, + isArray: true, + backLink: 'database', + }, projectId: { + name: "projectId", + type: "String", + isOptional: true, + isForeignKey: true, + relationField: 'project', + }, project: { + name: "project", + type: "Project", + isDataModel: true, + isOptional: true, + backLink: 'databases', + isRelationOwner: true, + foreignKeyMapping: { "id": "projectId" }, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, generatedId: { + name: "generatedId", + fields: ["generatedId"] + }, + } + , + } + , + backup: { + name: 'Backup', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, status: { + name: "status", + type: "Status", + attributes: [{ "name": "@default", "args": [] }], + }, file: { + name: "file", + type: "String", + isOptional: true, + }, databaseId: { + name: "databaseId", + type: "String", + isForeignKey: true, + relationField: 'database', + }, database: { + name: "database", + type: "Database", + isDataModel: true, + backLink: 'backups', + isRelationOwner: true, + foreignKeyMapping: { "id": "databaseId" }, + }, restorations: { + name: "restorations", + type: "Restoration", + isDataModel: true, + isArray: true, + backLink: 'backup', + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, + } + , + } + , + restoration: { + name: 'Restoration', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, status: { + name: "status", + type: "Status", + attributes: [{ "name": "@default", "args": [] }], + }, backupId: { + name: "backupId", + type: "String", + isForeignKey: true, + relationField: 'backup', + }, backup: { + name: "backup", + type: "Backup", + isDataModel: true, + backLink: 'restorations', + isRelationOwner: true, + foreignKeyMapping: { "id": "backupId" }, + }, databaseId: { + name: "databaseId", + type: "String", + isOptional: true, + isForeignKey: true, + relationField: 'database', + }, database: { + name: "database", + type: "Database", + isDataModel: true, + isOptional: true, + backLink: 'restorations', + isRelationOwner: true, + foreignKeyMapping: { "id": "databaseId" }, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, + } + , + } + , + settings: { + name: 'Settings', fields: { + id: { + name: "id", + type: "String", + isId: true, + attributes: [{ "name": "@default", "args": [] }], + }, createdAt: { + name: "createdAt", + type: "DateTime", + attributes: [{ "name": "@default", "args": [] }], + }, updatedAt: { + name: "updatedAt", + type: "DateTime", + isOptional: true, + attributes: [{ "name": "@updatedAt", "args": [] }], + }, storage: { + name: "storage", + type: "TypeStorage", + attributes: [{ "name": "@default", "args": [] }], + }, name: { + name: "name", + type: "String", + }, s3EndPointUrl: { + name: "s3EndPointUrl", + type: "String", + isOptional: true, + }, s3AccessKeyId: { + name: "s3AccessKeyId", + type: "String", + isOptional: true, + }, s3SecretAccessKey: { + name: "s3SecretAccessKey", + type: "String", + isOptional: true, + }, S3BucketName: { + name: "S3BucketName", + type: "String", + isOptional: true, + }, smtpPassword: { + name: "smtpPassword", + type: "String", + isOptional: true, + }, smtpFrom: { + name: "smtpFrom", + type: "String", + isOptional: true, + }, smtpHost: { + name: "smtpHost", + type: "String", + isOptional: true, + }, smtpPort: { + name: "smtpPort", + type: "String", + isOptional: true, + }, smtpUser: { + name: "smtpUser", + type: "String", + isOptional: true, + }, + } + , uniqueConstraints: { + id: { + name: "id", + fields: ["id"] + }, name: { + name: "name", + fields: ["name"] + }, + } + , + } + , + } + , + deleteCascade: { + user: ['Account', 'Session'], + agent: ['Database'], + database: ['Backup', 'Restoration'], + backup: ['Restoration'], + } + , + authModel: 'User' +}; +export default metadata; diff --git a/src/lib/hooks/account.ts b/src/lib/hooks/account.ts new file mode 100644 index 00000000..95a00ba9 --- /dev/null +++ b/src/lib/hooks/account.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Account } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateAccount(options?: Omit<(UseMutationOptions<(Account | undefined), DefaultError, Prisma.AccountCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'POST', `${endpoint}/account/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyAccount(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'POST', `${endpoint}/account/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyAccount & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyAccount>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Account', `${endpoint}/account/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyAccount & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyAccount>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Account', `${endpoint}/account/findMany`, args, options, fetch); +} + +export function useFindUniqueAccount & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueAccount & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/findUnique`, args, options, fetch); +} + +export function useFindFirstAccount & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstAccount & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/findFirst`, args, options, fetch); +} + +export function useUpdateAccount(options?: Omit<(UseMutationOptions<(Account | undefined), DefaultError, Prisma.AccountUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'PUT', `${endpoint}/account/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyAccount(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'PUT', `${endpoint}/account/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertAccount(options?: Omit<(UseMutationOptions<(Account | undefined), DefaultError, Prisma.AccountUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'POST', `${endpoint}/account/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteAccount(options?: Omit<(UseMutationOptions<(Account | undefined), DefaultError, Prisma.AccountDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'DELETE', `${endpoint}/account/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyAccount(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Account', 'DELETE', `${endpoint}/account/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateAccount, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateAccount, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/aggregate`, args, options, fetch); +} + +export function useGroupByAccount>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.AccountGroupByArgs['orderBy'] } : { orderBy?: Prisma.AccountGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.AccountGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByAccount>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.AccountGroupByArgs['orderBy'] } : { orderBy?: Prisma.AccountGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.AccountGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/groupBy`, args, options, fetch); +} + +export function useCountAccount : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/count`, args, options, fetch); +} + +export function useSuspenseCountAccount : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Account', `${endpoint}/account/count`, args, options, fetch); +} + +export function useCheckAccount(args: { operation: PolicyCrudKind; where?: { id?: string; userId?: string; type?: string; provider?: string; providerAccountId?: string; refresh_token?: string; access_token?: string; expires_at?: number; token_type?: string; scope?: string; id_token?: string; session_state?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Account', `${endpoint}/account/check`, args, options, fetch); +} diff --git a/src/lib/hooks/agent.ts b/src/lib/hooks/agent.ts new file mode 100644 index 00000000..3a828c6a --- /dev/null +++ b/src/lib/hooks/agent.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Agent } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateAgent(options?: Omit<(UseMutationOptions<(Agent | undefined), DefaultError, Prisma.AgentCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'POST', `${endpoint}/agent/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyAgent(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'POST', `${endpoint}/agent/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyAgent & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyAgent>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Agent', `${endpoint}/agent/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyAgent & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyAgent>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Agent', `${endpoint}/agent/findMany`, args, options, fetch); +} + +export function useFindUniqueAgent & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueAgent & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/findUnique`, args, options, fetch); +} + +export function useFindFirstAgent & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstAgent & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/findFirst`, args, options, fetch); +} + +export function useUpdateAgent(options?: Omit<(UseMutationOptions<(Agent | undefined), DefaultError, Prisma.AgentUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'PUT', `${endpoint}/agent/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyAgent(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'PUT', `${endpoint}/agent/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertAgent(options?: Omit<(UseMutationOptions<(Agent | undefined), DefaultError, Prisma.AgentUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'POST', `${endpoint}/agent/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteAgent(options?: Omit<(UseMutationOptions<(Agent | undefined), DefaultError, Prisma.AgentDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'DELETE', `${endpoint}/agent/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyAgent(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Agent', 'DELETE', `${endpoint}/agent/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateAgent, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateAgent, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/aggregate`, args, options, fetch); +} + +export function useGroupByAgent>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.AgentGroupByArgs['orderBy'] } : { orderBy?: Prisma.AgentGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.AgentGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByAgent>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.AgentGroupByArgs['orderBy'] } : { orderBy?: Prisma.AgentGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.AgentGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/groupBy`, args, options, fetch); +} + +export function useCountAgent : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/count`, args, options, fetch); +} + +export function useSuspenseCountAgent : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Agent', `${endpoint}/agent/count`, args, options, fetch); +} + +export function useCheckAgent(args: { operation: PolicyCrudKind; where?: { id?: string; slug?: string; name?: string; description?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Agent', `${endpoint}/agent/check`, args, options, fetch); +} diff --git a/src/lib/hooks/backup.ts b/src/lib/hooks/backup.ts new file mode 100644 index 00000000..27e4c915 --- /dev/null +++ b/src/lib/hooks/backup.ts @@ -0,0 +1,335 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Backup } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateBackup(options?: Omit<(UseMutationOptions<(Backup | undefined), DefaultError, Prisma.BackupCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'POST', `${endpoint}/backup/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyBackup(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'POST', `${endpoint}/backup/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyBackup & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyBackup>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Backup', `${endpoint}/backup/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyBackup & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyBackup>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Backup', `${endpoint}/backup/findMany`, args, options, fetch); +} + +export function useFindUniqueBackup & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueBackup & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/findUnique`, args, options, fetch); +} + +export function useFindFirstBackup & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstBackup & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/findFirst`, args, options, fetch); +} + +export function useUpdateBackup(options?: Omit<(UseMutationOptions<(Backup | undefined), DefaultError, Prisma.BackupUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'PUT', `${endpoint}/backup/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyBackup(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'PUT', `${endpoint}/backup/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertBackup(options?: Omit<(UseMutationOptions<(Backup | undefined), DefaultError, Prisma.BackupUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'POST', `${endpoint}/backup/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteBackup(options?: Omit<(UseMutationOptions<(Backup | undefined), DefaultError, Prisma.BackupDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'DELETE', `${endpoint}/backup/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyBackup(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Backup', 'DELETE', `${endpoint}/backup/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateBackup, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateBackup, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/aggregate`, args, options, fetch); +} + +export function useGroupByBackup>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.BackupGroupByArgs['orderBy'] } : { orderBy?: Prisma.BackupGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.BackupGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByBackup>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.BackupGroupByArgs['orderBy'] } : { orderBy?: Prisma.BackupGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.BackupGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/groupBy`, args, options, fetch); +} + +export function useCountBackup : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/count`, args, options, fetch); +} + +export function useSuspenseCountBackup : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Backup', `${endpoint}/backup/count`, args, options, fetch); +} +import type { Status } from '@prisma/client'; + +export function useCheckBackup(args: { operation: PolicyCrudKind; where?: { id?: string; status?: Status; file?: string; databaseId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Backup', `${endpoint}/backup/check`, args, options, fetch); +} diff --git a/src/lib/hooks/database.ts b/src/lib/hooks/database.ts new file mode 100644 index 00000000..47b8e502 --- /dev/null +++ b/src/lib/hooks/database.ts @@ -0,0 +1,335 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Database } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateDatabase(options?: Omit<(UseMutationOptions<(Database | undefined), DefaultError, Prisma.DatabaseCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'POST', `${endpoint}/database/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyDatabase(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'POST', `${endpoint}/database/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyDatabase & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyDatabase>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Database', `${endpoint}/database/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyDatabase & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyDatabase>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Database', `${endpoint}/database/findMany`, args, options, fetch); +} + +export function useFindUniqueDatabase & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueDatabase & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/findUnique`, args, options, fetch); +} + +export function useFindFirstDatabase & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstDatabase & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/findFirst`, args, options, fetch); +} + +export function useUpdateDatabase(options?: Omit<(UseMutationOptions<(Database | undefined), DefaultError, Prisma.DatabaseUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'PUT', `${endpoint}/database/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyDatabase(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'PUT', `${endpoint}/database/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertDatabase(options?: Omit<(UseMutationOptions<(Database | undefined), DefaultError, Prisma.DatabaseUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'POST', `${endpoint}/database/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteDatabase(options?: Omit<(UseMutationOptions<(Database | undefined), DefaultError, Prisma.DatabaseDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'DELETE', `${endpoint}/database/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyDatabase(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Database', 'DELETE', `${endpoint}/database/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateDatabase, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateDatabase, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/aggregate`, args, options, fetch); +} + +export function useGroupByDatabase>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.DatabaseGroupByArgs['orderBy'] } : { orderBy?: Prisma.DatabaseGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.DatabaseGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByDatabase>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.DatabaseGroupByArgs['orderBy'] } : { orderBy?: Prisma.DatabaseGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.DatabaseGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/groupBy`, args, options, fetch); +} + +export function useCountDatabase : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/count`, args, options, fetch); +} + +export function useSuspenseCountDatabase : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Database', `${endpoint}/database/count`, args, options, fetch); +} +import type { Dbms } from '@prisma/client'; + +export function useCheckDatabase(args: { operation: PolicyCrudKind; where?: { id?: string; name?: string; dbms?: Dbms; generatedId?: string; description?: string; backupPolicy?: string; isWaitingForBackup?: boolean; backupToRestore?: string; agentId?: string; projectId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Database', `${endpoint}/database/check`, args, options, fetch); +} diff --git a/src/lib/hooks/index.ts b/src/lib/hooks/index.ts new file mode 100644 index 00000000..efdaae92 --- /dev/null +++ b/src/lib/hooks/index.ts @@ -0,0 +1,22 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +export * from './account'; +export * from './session'; +export * from './verification-token'; +export * from './user'; +export * from './organization'; +export * from './user-organization'; +export * from './project'; +export * from './agent'; +export * from './database'; +export * from './backup'; +export * from './restoration'; +export * from './settings'; +export { getQueryKey } from '@zenstackhq/tanstack-query/runtime-v5'; +export { Provider } from '@zenstackhq/tanstack-query/runtime-v5/react'; +export { default as metadata } from './__model_meta'; diff --git a/src/lib/hooks/organization.ts b/src/lib/hooks/organization.ts new file mode 100644 index 00000000..575221b0 --- /dev/null +++ b/src/lib/hooks/organization.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Organization } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateOrganization(options?: Omit<(UseMutationOptions<(Organization | undefined), DefaultError, Prisma.OrganizationCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'POST', `${endpoint}/organization/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'POST', `${endpoint}/organization/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyOrganization & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyOrganization>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Organization', `${endpoint}/organization/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyOrganization & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyOrganization>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Organization', `${endpoint}/organization/findMany`, args, options, fetch); +} + +export function useFindUniqueOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/findUnique`, args, options, fetch); +} + +export function useFindFirstOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/findFirst`, args, options, fetch); +} + +export function useUpdateOrganization(options?: Omit<(UseMutationOptions<(Organization | undefined), DefaultError, Prisma.OrganizationUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'PUT', `${endpoint}/organization/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'PUT', `${endpoint}/organization/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertOrganization(options?: Omit<(UseMutationOptions<(Organization | undefined), DefaultError, Prisma.OrganizationUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'POST', `${endpoint}/organization/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteOrganization(options?: Omit<(UseMutationOptions<(Organization | undefined), DefaultError, Prisma.OrganizationDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'DELETE', `${endpoint}/organization/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Organization', 'DELETE', `${endpoint}/organization/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateOrganization, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateOrganization, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/aggregate`, args, options, fetch); +} + +export function useGroupByOrganization>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.OrganizationGroupByArgs['orderBy'] } : { orderBy?: Prisma.OrganizationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.OrganizationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByOrganization>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.OrganizationGroupByArgs['orderBy'] } : { orderBy?: Prisma.OrganizationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.OrganizationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/groupBy`, args, options, fetch); +} + +export function useCountOrganization : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/count`, args, options, fetch); +} + +export function useSuspenseCountOrganization : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Organization', `${endpoint}/organization/count`, args, options, fetch); +} + +export function useCheckOrganization(args: { operation: PolicyCrudKind; where?: { id?: string; slug?: string; name?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Organization', `${endpoint}/organization/check`, args, options, fetch); +} diff --git a/src/lib/hooks/project.ts b/src/lib/hooks/project.ts new file mode 100644 index 00000000..5664d15b --- /dev/null +++ b/src/lib/hooks/project.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Project } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateProject(options?: Omit<(UseMutationOptions<(Project | undefined), DefaultError, Prisma.ProjectCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'POST', `${endpoint}/project/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyProject(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'POST', `${endpoint}/project/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyProject & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyProject>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Project', `${endpoint}/project/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyProject & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyProject>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Project', `${endpoint}/project/findMany`, args, options, fetch); +} + +export function useFindUniqueProject & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueProject & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/findUnique`, args, options, fetch); +} + +export function useFindFirstProject & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstProject & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/findFirst`, args, options, fetch); +} + +export function useUpdateProject(options?: Omit<(UseMutationOptions<(Project | undefined), DefaultError, Prisma.ProjectUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'PUT', `${endpoint}/project/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyProject(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'PUT', `${endpoint}/project/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertProject(options?: Omit<(UseMutationOptions<(Project | undefined), DefaultError, Prisma.ProjectUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'POST', `${endpoint}/project/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteProject(options?: Omit<(UseMutationOptions<(Project | undefined), DefaultError, Prisma.ProjectDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'DELETE', `${endpoint}/project/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyProject(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Project', 'DELETE', `${endpoint}/project/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateProject, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateProject, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/aggregate`, args, options, fetch); +} + +export function useGroupByProject>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.ProjectGroupByArgs['orderBy'] } : { orderBy?: Prisma.ProjectGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.ProjectGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByProject>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.ProjectGroupByArgs['orderBy'] } : { orderBy?: Prisma.ProjectGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.ProjectGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/groupBy`, args, options, fetch); +} + +export function useCountProject : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/count`, args, options, fetch); +} + +export function useSuspenseCountProject : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Project', `${endpoint}/project/count`, args, options, fetch); +} + +export function useCheckProject(args: { operation: PolicyCrudKind; where?: { id?: string; slug?: string; name?: string; organizationId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Project', `${endpoint}/project/check`, args, options, fetch); +} diff --git a/src/lib/hooks/restoration.ts b/src/lib/hooks/restoration.ts new file mode 100644 index 00000000..1bec9cd4 --- /dev/null +++ b/src/lib/hooks/restoration.ts @@ -0,0 +1,335 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Restoration } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateRestoration(options?: Omit<(UseMutationOptions<(Restoration | undefined), DefaultError, Prisma.RestorationCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'POST', `${endpoint}/restoration/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyRestoration(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'POST', `${endpoint}/restoration/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyRestoration & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyRestoration>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Restoration', `${endpoint}/restoration/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyRestoration & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyRestoration>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Restoration', `${endpoint}/restoration/findMany`, args, options, fetch); +} + +export function useFindUniqueRestoration & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueRestoration & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/findUnique`, args, options, fetch); +} + +export function useFindFirstRestoration & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstRestoration & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/findFirst`, args, options, fetch); +} + +export function useUpdateRestoration(options?: Omit<(UseMutationOptions<(Restoration | undefined), DefaultError, Prisma.RestorationUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'PUT', `${endpoint}/restoration/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyRestoration(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'PUT', `${endpoint}/restoration/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertRestoration(options?: Omit<(UseMutationOptions<(Restoration | undefined), DefaultError, Prisma.RestorationUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'POST', `${endpoint}/restoration/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteRestoration(options?: Omit<(UseMutationOptions<(Restoration | undefined), DefaultError, Prisma.RestorationDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'DELETE', `${endpoint}/restoration/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyRestoration(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Restoration', 'DELETE', `${endpoint}/restoration/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateRestoration, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateRestoration, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/aggregate`, args, options, fetch); +} + +export function useGroupByRestoration>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.RestorationGroupByArgs['orderBy'] } : { orderBy?: Prisma.RestorationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.RestorationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByRestoration>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.RestorationGroupByArgs['orderBy'] } : { orderBy?: Prisma.RestorationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.RestorationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/groupBy`, args, options, fetch); +} + +export function useCountRestoration : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/count`, args, options, fetch); +} + +export function useSuspenseCountRestoration : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Restoration', `${endpoint}/restoration/count`, args, options, fetch); +} +import type { Status } from '@prisma/client'; + +export function useCheckRestoration(args: { operation: PolicyCrudKind; where?: { id?: string; status?: Status; backupId?: string; databaseId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Restoration', `${endpoint}/restoration/check`, args, options, fetch); +} diff --git a/src/lib/hooks/session.ts b/src/lib/hooks/session.ts new file mode 100644 index 00000000..a0b5bcf3 --- /dev/null +++ b/src/lib/hooks/session.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Session } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateSession(options?: Omit<(UseMutationOptions<(Session | undefined), DefaultError, Prisma.SessionCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'POST', `${endpoint}/session/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManySession(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'POST', `${endpoint}/session/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManySession & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/findMany`, args, options, fetch); +} + +export function useInfiniteFindManySession>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Session', `${endpoint}/session/findMany`, args, options, fetch); +} + +export function useSuspenseFindManySession & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManySession>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Session', `${endpoint}/session/findMany`, args, options, fetch); +} + +export function useFindUniqueSession & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueSession & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/findUnique`, args, options, fetch); +} + +export function useFindFirstSession & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstSession & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/findFirst`, args, options, fetch); +} + +export function useUpdateSession(options?: Omit<(UseMutationOptions<(Session | undefined), DefaultError, Prisma.SessionUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'PUT', `${endpoint}/session/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManySession(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'PUT', `${endpoint}/session/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertSession(options?: Omit<(UseMutationOptions<(Session | undefined), DefaultError, Prisma.SessionUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'POST', `${endpoint}/session/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteSession(options?: Omit<(UseMutationOptions<(Session | undefined), DefaultError, Prisma.SessionDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'DELETE', `${endpoint}/session/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManySession(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Session', 'DELETE', `${endpoint}/session/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateSession, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateSession, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/aggregate`, args, options, fetch); +} + +export function useGroupBySession>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.SessionGroupByArgs['orderBy'] } : { orderBy?: Prisma.SessionGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.SessionGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupBySession>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.SessionGroupByArgs['orderBy'] } : { orderBy?: Prisma.SessionGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.SessionGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/groupBy`, args, options, fetch); +} + +export function useCountSession : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/count`, args, options, fetch); +} + +export function useSuspenseCountSession : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Session', `${endpoint}/session/count`, args, options, fetch); +} + +export function useCheckSession(args: { operation: PolicyCrudKind; where?: { id?: string; sessionToken?: string; userId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Session', `${endpoint}/session/check`, args, options, fetch); +} diff --git a/src/lib/hooks/settings.ts b/src/lib/hooks/settings.ts new file mode 100644 index 00000000..ed5be2bb --- /dev/null +++ b/src/lib/hooks/settings.ts @@ -0,0 +1,335 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, Settings } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateSettings(options?: Omit<(UseMutationOptions<(Settings | undefined), DefaultError, Prisma.SettingsCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'POST', `${endpoint}/settings/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManySettings(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'POST', `${endpoint}/settings/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManySettings & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/findMany`, args, options, fetch); +} + +export function useInfiniteFindManySettings>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('Settings', `${endpoint}/settings/findMany`, args, options, fetch); +} + +export function useSuspenseFindManySettings & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManySettings>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('Settings', `${endpoint}/settings/findMany`, args, options, fetch); +} + +export function useFindUniqueSettings & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueSettings & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/findUnique`, args, options, fetch); +} + +export function useFindFirstSettings & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstSettings & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/findFirst`, args, options, fetch); +} + +export function useUpdateSettings(options?: Omit<(UseMutationOptions<(Settings | undefined), DefaultError, Prisma.SettingsUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'PUT', `${endpoint}/settings/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManySettings(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'PUT', `${endpoint}/settings/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertSettings(options?: Omit<(UseMutationOptions<(Settings | undefined), DefaultError, Prisma.SettingsUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'POST', `${endpoint}/settings/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteSettings(options?: Omit<(UseMutationOptions<(Settings | undefined), DefaultError, Prisma.SettingsDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'DELETE', `${endpoint}/settings/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManySettings(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('Settings', 'DELETE', `${endpoint}/settings/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateSettings, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateSettings, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/aggregate`, args, options, fetch); +} + +export function useGroupBySettings>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.SettingsGroupByArgs['orderBy'] } : { orderBy?: Prisma.SettingsGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.SettingsGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupBySettings>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.SettingsGroupByArgs['orderBy'] } : { orderBy?: Prisma.SettingsGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.SettingsGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/groupBy`, args, options, fetch); +} + +export function useCountSettings : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/count`, args, options, fetch); +} + +export function useSuspenseCountSettings : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('Settings', `${endpoint}/settings/count`, args, options, fetch); +} +import type { TypeStorage } from '@prisma/client'; + +export function useCheckSettings(args: { operation: PolicyCrudKind; where?: { id?: string; storage?: TypeStorage; name?: string; s3EndPointUrl?: string; s3AccessKeyId?: string; s3SecretAccessKey?: string; S3BucketName?: string; smtpPassword?: string; smtpFrom?: string; smtpHost?: string; smtpPort?: string; smtpUser?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('Settings', `${endpoint}/settings/check`, args, options, fetch); +} diff --git a/src/lib/hooks/user-organization.ts b/src/lib/hooks/user-organization.ts new file mode 100644 index 00000000..377274f0 --- /dev/null +++ b/src/lib/hooks/user-organization.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, UserOrganization } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateUserOrganization(options?: Omit<(UseMutationOptions<(UserOrganization | undefined), DefaultError, Prisma.UserOrganizationCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'POST', `${endpoint}/userOrganization/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyUserOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'POST', `${endpoint}/userOrganization/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyUserOrganization & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyUserOrganization>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('UserOrganization', `${endpoint}/userOrganization/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyUserOrganization & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyUserOrganization>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('UserOrganization', `${endpoint}/userOrganization/findMany`, args, options, fetch); +} + +export function useFindUniqueUserOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueUserOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/findUnique`, args, options, fetch); +} + +export function useFindFirstUserOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstUserOrganization & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/findFirst`, args, options, fetch); +} + +export function useUpdateUserOrganization(options?: Omit<(UseMutationOptions<(UserOrganization | undefined), DefaultError, Prisma.UserOrganizationUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'PUT', `${endpoint}/userOrganization/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyUserOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'PUT', `${endpoint}/userOrganization/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertUserOrganization(options?: Omit<(UseMutationOptions<(UserOrganization | undefined), DefaultError, Prisma.UserOrganizationUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'POST', `${endpoint}/userOrganization/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteUserOrganization(options?: Omit<(UseMutationOptions<(UserOrganization | undefined), DefaultError, Prisma.UserOrganizationDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'DELETE', `${endpoint}/userOrganization/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyUserOrganization(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('UserOrganization', 'DELETE', `${endpoint}/userOrganization/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateUserOrganization, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateUserOrganization, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/aggregate`, args, options, fetch); +} + +export function useGroupByUserOrganization>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.UserOrganizationGroupByArgs['orderBy'] } : { orderBy?: Prisma.UserOrganizationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.UserOrganizationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByUserOrganization>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.UserOrganizationGroupByArgs['orderBy'] } : { orderBy?: Prisma.UserOrganizationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.UserOrganizationGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/groupBy`, args, options, fetch); +} + +export function useCountUserOrganization : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/count`, args, options, fetch); +} + +export function useSuspenseCountUserOrganization : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('UserOrganization', `${endpoint}/userOrganization/count`, args, options, fetch); +} + +export function useCheckUserOrganization(args: { operation: PolicyCrudKind; where?: { id?: string; userId?: string; organizationId?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('UserOrganization', `${endpoint}/userOrganization/check`, args, options, fetch); +} diff --git a/src/lib/hooks/user.ts b/src/lib/hooks/user.ts new file mode 100644 index 00000000..5132ed4a --- /dev/null +++ b/src/lib/hooks/user.ts @@ -0,0 +1,335 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, User } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateUser(options?: Omit<(UseMutationOptions<(User | undefined), DefaultError, Prisma.UserCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'POST', `${endpoint}/user/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyUser(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'POST', `${endpoint}/user/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyUser & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyUser>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('User', `${endpoint}/user/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyUser & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyUser>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('User', `${endpoint}/user/findMany`, args, options, fetch); +} + +export function useFindUniqueUser & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueUser & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/findUnique`, args, options, fetch); +} + +export function useFindFirstUser & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstUser & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/findFirst`, args, options, fetch); +} + +export function useUpdateUser(options?: Omit<(UseMutationOptions<(User | undefined), DefaultError, Prisma.UserUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'PUT', `${endpoint}/user/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyUser(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'PUT', `${endpoint}/user/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertUser(options?: Omit<(UseMutationOptions<(User | undefined), DefaultError, Prisma.UserUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'POST', `${endpoint}/user/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteUser(options?: Omit<(UseMutationOptions<(User | undefined), DefaultError, Prisma.UserDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'DELETE', `${endpoint}/user/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyUser(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('User', 'DELETE', `${endpoint}/user/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateUser, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateUser, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/aggregate`, args, options, fetch); +} + +export function useGroupByUser>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.UserGroupByArgs['orderBy'] } : { orderBy?: Prisma.UserGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.UserGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByUser>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.UserGroupByArgs['orderBy'] } : { orderBy?: Prisma.UserGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.UserGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/groupBy`, args, options, fetch); +} + +export function useCountUser : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/count`, args, options, fetch); +} + +export function useSuspenseCountUser : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('User', `${endpoint}/user/count`, args, options, fetch); +} +import type { Role } from '@prisma/client'; + +export function useCheckUser(args: { operation: PolicyCrudKind; where?: { id?: string; name?: string; email?: string; image?: string; role?: Role; password?: string; authMethod?: string; deleted?: boolean }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('User', `${endpoint}/user/check`, args, options, fetch); +} diff --git a/src/lib/hooks/verification-token.ts b/src/lib/hooks/verification-token.ts new file mode 100644 index 00000000..804c9f20 --- /dev/null +++ b/src/lib/hooks/verification-token.ts @@ -0,0 +1,334 @@ +/****************************************************************************** +* This file was generated by ZenStack CLI. +******************************************************************************/ + +/* eslint-disable */ +// @ts-nocheck + +import type { Prisma, VerificationToken } from "@prisma/client"; +import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query'; +import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import { useModelQuery, useInfiniteModelQuery, useModelMutation } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { PickEnumerable, CheckSelect, QueryError, ExtraQueryOptions, ExtraMutationOptions } from '@zenstackhq/tanstack-query/runtime-v5'; +import type { PolicyCrudKind } from '@zenstackhq/runtime' +import metadata from './__model_meta'; +type DefaultError = QueryError; +import { useSuspenseModelQuery, useSuspenseInfiniteModelQuery } from '@zenstackhq/tanstack-query/runtime-v5/react'; +import type { UseSuspenseQueryOptions, UseSuspenseInfiniteQueryOptions } from '@tanstack/react-query'; + +export function useCreateVerificationToken(options?: Omit<(UseMutationOptions<(VerificationToken | undefined), DefaultError, Prisma.VerificationTokenCreateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'POST', `${endpoint}/verificationToken/create`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useCreateManyVerificationToken(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'POST', `${endpoint}/verificationToken/createMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useFindManyVerificationToken & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/findMany`, args, options, fetch); +} + +export function useInfiniteFindManyVerificationToken>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useInfiniteModelQuery('VerificationToken', `${endpoint}/verificationToken/findMany`, args, options, fetch); +} + +export function useSuspenseFindManyVerificationToken & { $optimistic?: boolean }>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/findMany`, args, options, fetch); +} + +export function useSuspenseInfiniteFindManyVerificationToken>, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: Omit>, 'queryKey' | 'initialPageParam'>) { + options = options ?? { getNextPageParam: () => null }; + const { endpoint, fetch } = getHooksContext(); + return useSuspenseInfiniteModelQuery('VerificationToken', `${endpoint}/verificationToken/findMany`, args, options, fetch); +} + +export function useFindUniqueVerificationToken & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/findUnique`, args, options, fetch); +} + +export function useSuspenseFindUniqueVerificationToken & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/findUnique`, args, options, fetch); +} + +export function useFindFirstVerificationToken & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/findFirst`, args, options, fetch); +} + +export function useSuspenseFindFirstVerificationToken & { $optimistic?: boolean }, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/findFirst`, args, options, fetch); +} + +export function useUpdateVerificationToken(options?: Omit<(UseMutationOptions<(VerificationToken | undefined), DefaultError, Prisma.VerificationTokenUpdateArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'PUT', `${endpoint}/verificationToken/update`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useUpdateManyVerificationToken(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'PUT', `${endpoint}/verificationToken/updateMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useUpsertVerificationToken(options?: Omit<(UseMutationOptions<(VerificationToken | undefined), DefaultError, Prisma.VerificationTokenUpsertArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'POST', `${endpoint}/verificationToken/upsert`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteVerificationToken(options?: Omit<(UseMutationOptions<(VerificationToken | undefined), DefaultError, Prisma.VerificationTokenDeleteArgs> & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'DELETE', `${endpoint}/verificationToken/delete`, metadata, options, fetch, true) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions<(CheckSelect> | undefined), DefaultError, Prisma.SelectSubset> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as (CheckSelect> | undefined); + }, + }; + return mutation; +} + +export function useDeleteManyVerificationToken(options?: Omit<(UseMutationOptions & ExtraMutationOptions), 'mutationFn'>) { + const { endpoint, fetch } = getHooksContext(); + const _mutation = + useModelMutation('VerificationToken', 'DELETE', `${endpoint}/verificationToken/deleteMany`, metadata, options, fetch, false) + ; + const mutation = { + ..._mutation, + mutateAsync: async ( + args: Prisma.SelectSubset, + options?: Omit<(UseMutationOptions> & ExtraMutationOptions), 'mutationFn'> + ) => { + return (await _mutation.mutateAsync( + args, + options as any + )) as Prisma.BatchPayload; + }, + }; + return mutation; +} + +export function useAggregateVerificationToken, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/aggregate`, args, options, fetch); +} + +export function useSuspenseAggregateVerificationToken, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/aggregate`, args, options, fetch); +} + +export function useGroupByVerificationToken>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.VerificationTokenGroupByArgs['orderBy'] } : { orderBy?: Prisma.VerificationTokenGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.VerificationTokenGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/groupBy`, args, options, fetch); +} + +export function useSuspenseGroupByVerificationToken>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: Prisma.VerificationTokenGroupByArgs['orderBy'] } : { orderBy?: Prisma.VerificationTokenGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends TArgs['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True + ? `Error: "by" must not be empty.` + : HavingValid extends Prisma.False + ? { + [P in HavingFields]: P extends ByFields + ? never + : P extends string + ? `Error: Field "${P}" used in "having" needs to be provided in "by".` + : [ + Error, + 'Field ', + P, + ` in "having" needs to be provided in "by"`, + ] + }[HavingFields] + : 'take' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "take", you also need to provide "orderBy"' + : 'skip' extends Prisma.Keys + ? 'orderBy' extends Prisma.Keys + ? ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields] + : 'Error: If you provide "skip", you also need to provide "orderBy"' + : ByValid extends Prisma.True + ? {} + : { + [P in OrderFields]: P extends ByFields + ? never + : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` + }[OrderFields], TQueryFnData = {} extends InputErrors ? + Array & + { + [P in ((keyof TArgs) & (keyof Prisma.VerificationTokenGroupByOutputType))]: P extends '_count' + ? TArgs[P] extends boolean + ? number + : Prisma.GetScalarType + : Prisma.GetScalarType + } + > : InputErrors, TData = TQueryFnData, TError = DefaultError>(args: Prisma.SelectSubset & InputErrors>, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/groupBy`, args, options, fetch); +} + +export function useCountVerificationToken : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/count`, args, options, fetch); +} + +export function useSuspenseCountVerificationToken : number, TData = TQueryFnData, TError = DefaultError>(args?: Prisma.SelectSubset, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useSuspenseModelQuery('VerificationToken', `${endpoint}/verificationToken/count`, args, options, fetch); +} + +export function useCheckVerificationToken(args: { operation: PolicyCrudKind; where?: { id?: string; identifier?: string; token?: string }; }, options?: (Omit, 'queryKey'> & ExtraQueryOptions)) { + const { endpoint, fetch } = getHooksContext(); + return useModelQuery('VerificationToken', `${endpoint}/verificationToken/check`, args, options, fetch); +} diff --git a/src/openapi.yaml b/src/openapi.yaml new file mode 100644 index 00000000..be83ee51 --- /dev/null +++ b/src/openapi.yaml @@ -0,0 +1,27521 @@ +openapi: 3.1.0 +info: + title: ZenStack Generated API + version: 1.0.0 +tags: + - name: account + description: Account operations + - name: session + description: Session operations + - name: verificationToken + description: VerificationToken operations + - name: user + description: User operations + - name: organization + description: Organization operations + - name: userOrganization + description: UserOrganization operations + - name: project + description: Project operations + - name: agent + description: Agent operations + - name: database + description: Database operations + - name: backup + description: Backup operations + - name: restoration + description: Restoration operations + - name: settings + description: Settings operations +components: + schemas: + Role: + type: string + enum: + - pending + - user + - admin + Dbms: + type: string + enum: + - postgresql + - mysql + - mongodb + Status: + type: string + enum: + - waiting + - ongoing + - failed + - success + TypeStorage: + type: string + enum: + - local + - s3 + AccountScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - userId + - type + - provider + - providerAccountId + - refresh_token + - access_token + - expires_at + - token_type + - scope + - id_token + - session_state + SessionScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - sessionToken + - userId + - expires + VerificationTokenScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - identifier + - token + - expires + UserScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - name + - email + - emailVerified + - image + - role + - password + - authMethod + - deleted + OrganizationScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - slug + - name + UserOrganizationScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - userId + - organizationId + ProjectScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - slug + - name + - organizationId + AgentScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - slug + - name + - description + - lastContact + DatabaseScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - name + - dbms + - generatedId + - description + - backupPolicy + - isWaitingForBackup + - backupToRestore + - agentId + - lastContact + - projectId + BackupScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - status + - file + - databaseId + RestorationScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - status + - backupId + - databaseId + SettingsScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - storage + - name + - s3EndPointUrl + - s3AccessKeyId + - s3SecretAccessKey + - S3BucketName + - smtpPassword + - smtpFrom + - smtpHost + - smtpPort + - smtpUser + SortOrder: + type: string + enum: + - asc + - desc + QueryMode: + type: string + enum: + - default + - insensitive + NullsOrder: + type: string + enum: + - first + - last + Account: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + user: + $ref: "#/components/schemas/User" + required: + - id + - createdAt + - userId + - type + - provider + - providerAccountId + - user + Session: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + userId: + type: string + expires: + type: string + format: date-time + user: + $ref: "#/components/schemas/User" + required: + - id + - createdAt + - sessionToken + - userId + - expires + - user + VerificationToken: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + type: string + token: + type: string + expires: + type: string + format: date-time + required: + - id + - createdAt + - identifier + - token + - expires + User: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + type: array + items: + $ref: "#/components/schemas/Account" + sessions: + type: array + items: + $ref: "#/components/schemas/Session" + organizations: + type: array + items: + $ref: "#/components/schemas/UserOrganization" + required: + - id + - createdAt + - role + Organization: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + projects: + type: array + items: + $ref: "#/components/schemas/Project" + users: + type: array + items: + $ref: "#/components/schemas/UserOrganization" + required: + - id + - createdAt + - slug + - name + UserOrganization: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + organizationId: + type: string + user: + $ref: "#/components/schemas/User" + organization: + $ref: "#/components/schemas/Organization" + required: + - id + - createdAt + - userId + - organizationId + - user + - organization + Project: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organizationId: + type: string + organization: + $ref: "#/components/schemas/Organization" + databases: + type: array + items: + $ref: "#/components/schemas/Database" + required: + - id + - createdAt + - slug + - name + - organizationId + - organization + Agent: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + databases: + type: array + items: + $ref: "#/components/schemas/Database" + required: + - id + - createdAt + - slug + - name + Database: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + agent: + $ref: "#/components/schemas/Agent" + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + backups: + type: array + items: + $ref: "#/components/schemas/Backup" + restorations: + type: array + items: + $ref: "#/components/schemas/Restoration" + projectId: + oneOf: + - type: "null" + - type: string + project: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Project" + required: + - id + - createdAt + - name + - dbms + - generatedId + - agentId + - agent + Backup: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + type: string + database: + $ref: "#/components/schemas/Database" + restorations: + type: array + items: + $ref: "#/components/schemas/Restoration" + required: + - id + - createdAt + - status + - databaseId + - database + Restoration: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backupId: + type: string + backup: + $ref: "#/components/schemas/Backup" + databaseId: + oneOf: + - type: "null" + - type: string + database: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Database" + required: + - id + - createdAt + - status + - backupId + - backup + Settings: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + $ref: "#/components/schemas/TypeStorage" + name: + type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + required: + - id + - createdAt + - storage + - name + AccountWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/AccountWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AccountWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + type: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + provider: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + providerAccountId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + refresh_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + access_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + expires_at: + oneOf: + - $ref: "#/components/schemas/IntNullableFilter" + - type: integer + - type: "null" + token_type: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + scope: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + id_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + session_state: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + AccountOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + userId: + $ref: "#/components/schemas/SortOrder" + type: + $ref: "#/components/schemas/SortOrder" + provider: + $ref: "#/components/schemas/SortOrder" + providerAccountId: + $ref: "#/components/schemas/SortOrder" + refresh_token: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + access_token: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + expires_at: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + token_type: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + scope: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + id_token: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + session_state: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + user: + $ref: "#/components/schemas/UserOrderByWithRelationInput" + AccountWhereUniqueInput: + type: object + properties: + id: + type: string + provider_providerAccountId: + $ref: "#/components/schemas/AccountProviderProviderAccountIdCompoundUniqueInput" + AND: + oneOf: + - $ref: "#/components/schemas/AccountWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AccountWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + type: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + provider: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + providerAccountId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + refresh_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + access_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + expires_at: + oneOf: + - $ref: "#/components/schemas/IntNullableFilter" + - type: integer + - type: "null" + token_type: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + scope: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + id_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + session_state: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + AccountScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + type: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + provider: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + providerAccountId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + refresh_token: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + access_token: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + expires_at: + oneOf: + - $ref: "#/components/schemas/IntNullableWithAggregatesFilter" + - type: integer + - type: "null" + token_type: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + scope: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + id_token: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + session_state: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + SessionWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/SessionWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SessionWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + sessionToken: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + SessionOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + sessionToken: + $ref: "#/components/schemas/SortOrder" + userId: + $ref: "#/components/schemas/SortOrder" + expires: + $ref: "#/components/schemas/SortOrder" + user: + $ref: "#/components/schemas/UserOrderByWithRelationInput" + SessionWhereUniqueInput: + type: object + properties: + id: + type: string + sessionToken: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/SessionWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SessionWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + SessionScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + sessionToken: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + userId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + VerificationTokenWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/VerificationTokenWhereInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/VerificationTokenWhereInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + identifier: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + token: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + VerificationTokenOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + identifier: + $ref: "#/components/schemas/SortOrder" + token: + $ref: "#/components/schemas/SortOrder" + expires: + $ref: "#/components/schemas/SortOrder" + VerificationTokenWhereUniqueInput: + type: object + properties: + id: + type: string + identifier_token: + $ref: "#/components/schemas/VerificationTokenIdentifierTokenCompoundUniqueInput" + AND: + oneOf: + - $ref: "#/components/schemas/VerificationTokenWhereInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/VerificationTokenWhereInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + identifier: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + token: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + VerificationTokenScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + identifier: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + token: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + UserWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/UserWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + email: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + emailVerified: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + image: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/EnumRoleFilter" + - $ref: "#/components/schemas/Role" + password: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + authMethod: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + deleted: + oneOf: + - $ref: "#/components/schemas/BoolNullableFilter" + - type: boolean + - type: "null" + accounts: + $ref: "#/components/schemas/AccountListRelationFilter" + sessions: + $ref: "#/components/schemas/SessionListRelationFilter" + organizations: + $ref: "#/components/schemas/UserOrganizationListRelationFilter" + UserOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + name: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + email: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + emailVerified: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + image: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + role: + $ref: "#/components/schemas/SortOrder" + password: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + authMethod: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + deleted: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + accounts: + $ref: "#/components/schemas/AccountOrderByRelationAggregateInput" + sessions: + $ref: "#/components/schemas/SessionOrderByRelationAggregateInput" + organizations: + $ref: "#/components/schemas/UserOrganizationOrderByRelationAggregateInput" + UserWhereUniqueInput: + type: object + properties: + id: + type: string + email: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/UserWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + emailVerified: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + image: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/EnumRoleFilter" + - $ref: "#/components/schemas/Role" + password: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + authMethod: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + deleted: + oneOf: + - $ref: "#/components/schemas/BoolNullableFilter" + - type: boolean + - type: "null" + accounts: + $ref: "#/components/schemas/AccountListRelationFilter" + sessions: + $ref: "#/components/schemas/SessionListRelationFilter" + organizations: + $ref: "#/components/schemas/UserOrganizationListRelationFilter" + UserScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + email: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + emailVerified: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + image: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/EnumRoleWithAggregatesFilter" + - $ref: "#/components/schemas/Role" + password: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + authMethod: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + deleted: + oneOf: + - $ref: "#/components/schemas/BoolNullableWithAggregatesFilter" + - type: boolean + - type: "null" + OrganizationWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/OrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/OrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + projects: + $ref: "#/components/schemas/ProjectListRelationFilter" + users: + $ref: "#/components/schemas/UserOrganizationListRelationFilter" + OrganizationOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + slug: + $ref: "#/components/schemas/SortOrder" + name: + $ref: "#/components/schemas/SortOrder" + projects: + $ref: "#/components/schemas/ProjectOrderByRelationAggregateInput" + users: + $ref: "#/components/schemas/UserOrganizationOrderByRelationAggregateInput" + OrganizationWhereUniqueInput: + type: object + properties: + id: + type: string + slug: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/OrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/OrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + projects: + $ref: "#/components/schemas/ProjectListRelationFilter" + users: + $ref: "#/components/schemas/UserOrganizationListRelationFilter" + OrganizationScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + UserOrganizationWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + organization: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarRelationFilter" + - $ref: "#/components/schemas/OrganizationWhereInput" + UserOrganizationOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + userId: + $ref: "#/components/schemas/SortOrder" + organizationId: + $ref: "#/components/schemas/SortOrder" + user: + $ref: "#/components/schemas/UserOrderByWithRelationInput" + organization: + $ref: "#/components/schemas/OrganizationOrderByWithRelationInput" + UserOrganizationWhereUniqueInput: + type: object + properties: + id: + type: string + userId_organizationId: + $ref: "#/components/schemas/UserOrganizationUserIdOrganizationIdCompoundUniqueI\ + nput" + AND: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + user: + oneOf: + - $ref: "#/components/schemas/UserScalarRelationFilter" + - $ref: "#/components/schemas/UserWhereInput" + organization: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarRelationFilter" + - $ref: "#/components/schemas/OrganizationWhereInput" + UserOrganizationScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + ProjectWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/ProjectWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/ProjectWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organization: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarRelationFilter" + - $ref: "#/components/schemas/OrganizationWhereInput" + databases: + $ref: "#/components/schemas/DatabaseListRelationFilter" + ProjectOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + slug: + $ref: "#/components/schemas/SortOrder" + name: + $ref: "#/components/schemas/SortOrder" + organizationId: + $ref: "#/components/schemas/SortOrder" + organization: + $ref: "#/components/schemas/OrganizationOrderByWithRelationInput" + databases: + $ref: "#/components/schemas/DatabaseOrderByRelationAggregateInput" + ProjectWhereUniqueInput: + type: object + properties: + id: + type: string + slug: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/ProjectWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/ProjectWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organization: + oneOf: + - $ref: "#/components/schemas/OrganizationScalarRelationFilter" + - $ref: "#/components/schemas/OrganizationWhereInput" + databases: + $ref: "#/components/schemas/DatabaseListRelationFilter" + ProjectScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + AgentWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/AgentWhereInput" + - type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AgentWhereInput" + - type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + databases: + $ref: "#/components/schemas/DatabaseListRelationFilter" + AgentOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + slug: + $ref: "#/components/schemas/SortOrder" + name: + $ref: "#/components/schemas/SortOrder" + description: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + lastContact: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + databases: + $ref: "#/components/schemas/DatabaseOrderByRelationAggregateInput" + AgentWhereUniqueInput: + type: object + properties: + id: + type: string + slug: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/AgentWhereInput" + - type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AgentWhereInput" + - type: array + items: + $ref: "#/components/schemas/AgentWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + databases: + $ref: "#/components/schemas/DatabaseListRelationFilter" + AgentScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + DatabaseWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + dbms: + oneOf: + - $ref: "#/components/schemas/EnumDbmsFilter" + - $ref: "#/components/schemas/Dbms" + generatedId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + backupPolicy: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + isWaitingForBackup: + oneOf: + - $ref: "#/components/schemas/BoolNullableFilter" + - type: boolean + - type: "null" + backupToRestore: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + agentId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + projectId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + agent: + oneOf: + - $ref: "#/components/schemas/AgentScalarRelationFilter" + - $ref: "#/components/schemas/AgentWhereInput" + backups: + $ref: "#/components/schemas/BackupListRelationFilter" + restorations: + $ref: "#/components/schemas/RestorationListRelationFilter" + project: + oneOf: + - $ref: "#/components/schemas/ProjectNullableScalarRelationFilter" + - $ref: "#/components/schemas/ProjectWhereInput" + - type: "null" + DatabaseOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + name: + $ref: "#/components/schemas/SortOrder" + dbms: + $ref: "#/components/schemas/SortOrder" + generatedId: + $ref: "#/components/schemas/SortOrder" + description: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + backupPolicy: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + isWaitingForBackup: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + backupToRestore: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + agentId: + $ref: "#/components/schemas/SortOrder" + lastContact: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + projectId: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + agent: + $ref: "#/components/schemas/AgentOrderByWithRelationInput" + backups: + $ref: "#/components/schemas/BackupOrderByRelationAggregateInput" + restorations: + $ref: "#/components/schemas/RestorationOrderByRelationAggregateInput" + project: + $ref: "#/components/schemas/ProjectOrderByWithRelationInput" + DatabaseWhereUniqueInput: + type: object + properties: + id: + type: string + generatedId: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + dbms: + oneOf: + - $ref: "#/components/schemas/EnumDbmsFilter" + - $ref: "#/components/schemas/Dbms" + description: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + backupPolicy: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + isWaitingForBackup: + oneOf: + - $ref: "#/components/schemas/BoolNullableFilter" + - type: boolean + - type: "null" + backupToRestore: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + agentId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + projectId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + agent: + oneOf: + - $ref: "#/components/schemas/AgentScalarRelationFilter" + - $ref: "#/components/schemas/AgentWhereInput" + backups: + $ref: "#/components/schemas/BackupListRelationFilter" + restorations: + $ref: "#/components/schemas/RestorationListRelationFilter" + project: + oneOf: + - $ref: "#/components/schemas/ProjectNullableScalarRelationFilter" + - $ref: "#/components/schemas/ProjectWhereInput" + - type: "null" + DatabaseScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + dbms: + oneOf: + - $ref: "#/components/schemas/EnumDbmsWithAggregatesFilter" + - $ref: "#/components/schemas/Dbms" + generatedId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + backupPolicy: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + isWaitingForBackup: + oneOf: + - $ref: "#/components/schemas/BoolNullableWithAggregatesFilter" + - type: boolean + - type: "null" + backupToRestore: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + agentId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + projectId: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + BackupWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/BackupWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/BackupWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + databaseId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + database: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarRelationFilter" + - $ref: "#/components/schemas/DatabaseWhereInput" + restorations: + $ref: "#/components/schemas/RestorationListRelationFilter" + BackupOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + status: + $ref: "#/components/schemas/SortOrder" + file: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + databaseId: + $ref: "#/components/schemas/SortOrder" + database: + $ref: "#/components/schemas/DatabaseOrderByWithRelationInput" + restorations: + $ref: "#/components/schemas/RestorationOrderByRelationAggregateInput" + BackupWhereUniqueInput: + type: object + properties: + id: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/BackupWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/BackupWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + databaseId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + database: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarRelationFilter" + - $ref: "#/components/schemas/DatabaseWhereInput" + restorations: + $ref: "#/components/schemas/RestorationListRelationFilter" + BackupScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusWithAggregatesFilter" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + databaseId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + RestorationWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/RestorationWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/RestorationWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + databaseId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + backup: + oneOf: + - $ref: "#/components/schemas/BackupScalarRelationFilter" + - $ref: "#/components/schemas/BackupWhereInput" + database: + oneOf: + - $ref: "#/components/schemas/DatabaseNullableScalarRelationFilter" + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: "null" + RestorationOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + status: + $ref: "#/components/schemas/SortOrder" + backupId: + $ref: "#/components/schemas/SortOrder" + databaseId: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + backup: + $ref: "#/components/schemas/BackupOrderByWithRelationInput" + database: + $ref: "#/components/schemas/DatabaseOrderByWithRelationInput" + RestorationWhereUniqueInput: + type: object + properties: + id: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/RestorationWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/RestorationWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + databaseId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + backup: + oneOf: + - $ref: "#/components/schemas/BackupScalarRelationFilter" + - $ref: "#/components/schemas/BackupWhereInput" + database: + oneOf: + - $ref: "#/components/schemas/DatabaseNullableScalarRelationFilter" + - $ref: "#/components/schemas/DatabaseWhereInput" + - type: "null" + RestorationScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusWithAggregatesFilter" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + databaseId: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + SettingsWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/SettingsWhereInput" + - type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SettingsWhereInput" + - type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + storage: + oneOf: + - $ref: "#/components/schemas/EnumTypeStorageFilter" + - $ref: "#/components/schemas/TypeStorage" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + s3EndPointUrl: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + s3AccessKeyId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + s3SecretAccessKey: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + S3BucketName: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpPassword: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpFrom: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpHost: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpPort: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpUser: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + SettingsOrderByWithRelationInput: + type: object + properties: + id: + $ref: "#/components/schemas/SortOrder" + createdAt: + $ref: "#/components/schemas/SortOrder" + updatedAt: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + storage: + $ref: "#/components/schemas/SortOrder" + name: + $ref: "#/components/schemas/SortOrder" + s3EndPointUrl: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + s3AccessKeyId: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + s3SecretAccessKey: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + S3BucketName: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + smtpPassword: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + smtpFrom: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + smtpHost: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + smtpPort: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + smtpUser: + oneOf: + - $ref: "#/components/schemas/SortOrder" + - $ref: "#/components/schemas/SortOrderInput" + SettingsWhereUniqueInput: + type: object + properties: + id: + type: string + name: + type: string + AND: + oneOf: + - $ref: "#/components/schemas/SettingsWhereInput" + - type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SettingsWhereInput" + - type: array + items: + $ref: "#/components/schemas/SettingsWhereInput" + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + storage: + oneOf: + - $ref: "#/components/schemas/EnumTypeStorageFilter" + - $ref: "#/components/schemas/TypeStorage" + s3EndPointUrl: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + s3AccessKeyId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + s3SecretAccessKey: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + S3BucketName: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpPassword: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpFrom: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpHost: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpPort: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + smtpUser: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + SettingsScalarWhereWithAggregatesInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + OR: + type: array + items: + $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + - type: array + items: + $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + id: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeWithAggregatesFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableWithAggregatesFilter" + - type: string + format: date-time + - type: "null" + storage: + oneOf: + - $ref: "#/components/schemas/EnumTypeStorageWithAggregatesFilter" + - $ref: "#/components/schemas/TypeStorage" + name: + oneOf: + - $ref: "#/components/schemas/StringWithAggregatesFilter" + - type: string + s3EndPointUrl: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + s3AccessKeyId: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + s3SecretAccessKey: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + S3BucketName: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + smtpPassword: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + smtpFrom: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + smtpHost: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + smtpPort: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + smtpUser: + oneOf: + - $ref: "#/components/schemas/StringNullableWithAggregatesFilter" + - type: string + - type: "null" + AccountCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + user: + $ref: "#/components/schemas/UserCreateNestedOneWithoutAccountsInput" + required: + - type + - provider + - providerAccountId + - user + AccountUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + type: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + provider: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + providerAccountId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + refresh_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + access_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + expires_at: + oneOf: + - type: integer + - $ref: "#/components/schemas/NullableIntFieldUpdateOperationsInput" + - type: "null" + token_type: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + scope: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + id_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + session_state: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + user: + $ref: "#/components/schemas/UserUpdateOneRequiredWithoutAccountsNestedInput" + AccountCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + required: + - userId + - type + - provider + - providerAccountId + AccountUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + type: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + provider: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + providerAccountId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + refresh_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + access_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + expires_at: + oneOf: + - type: integer + - $ref: "#/components/schemas/NullableIntFieldUpdateOperationsInput" + - type: "null" + token_type: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + scope: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + id_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + session_state: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + SessionCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + expires: + type: string + format: date-time + user: + $ref: "#/components/schemas/UserCreateNestedOneWithoutSessionsInput" + required: + - sessionToken + - expires + - user + SessionUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + sessionToken: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + user: + $ref: "#/components/schemas/UserUpdateOneRequiredWithoutSessionsNestedInput" + SessionCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + userId: + type: string + expires: + type: string + format: date-time + required: + - sessionToken + - userId + - expires + SessionUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + sessionToken: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + VerificationTokenCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + type: string + token: + type: string + expires: + type: string + format: date-time + required: + - identifier + - token + - expires + VerificationTokenUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + identifier: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + token: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + VerificationTokenCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + type: string + token: + type: string + expires: + type: string + format: date-time + required: + - identifier + - token + - expires + VerificationTokenUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + identifier: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + token: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + UserCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + $ref: "#/components/schemas/AccountCreateNestedManyWithoutUserInput" + sessions: + $ref: "#/components/schemas/SessionCreateNestedManyWithoutUserInput" + organizations: + $ref: "#/components/schemas/UserOrganizationCreateNestedManyWithoutUserInput" + required: + - role + UserUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + accounts: + $ref: "#/components/schemas/AccountUpdateManyWithoutUserNestedInput" + sessions: + $ref: "#/components/schemas/SessionUpdateManyWithoutUserNestedInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithoutUserNestedInput" + UserCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + required: + - role + UserUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + OrganizationCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + projects: + $ref: "#/components/schemas/ProjectCreateNestedManyWithoutOrganizationInput" + users: + $ref: "#/components/schemas/UserOrganizationCreateNestedManyWithoutOrganization\ + Input" + required: + - slug + - name + OrganizationUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + projects: + $ref: "#/components/schemas/ProjectUpdateManyWithoutOrganizationNestedInput" + users: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithoutOrganizationNested\ + Input" + OrganizationCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + required: + - slug + - name + OrganizationUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + UserOrganizationCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + user: + $ref: "#/components/schemas/UserCreateNestedOneWithoutOrganizationsInput" + organization: + $ref: "#/components/schemas/OrganizationCreateNestedOneWithoutUsersInput" + required: + - user + - organization + UserOrganizationUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + user: + $ref: "#/components/schemas/UserUpdateOneRequiredWithoutOrganizationsNestedInpu\ + t" + organization: + $ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutUsersNestedInpu\ + t" + UserOrganizationCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + organizationId: + type: string + required: + - userId + - organizationId + UserOrganizationUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + ProjectCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organization: + $ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput" + databases: + $ref: "#/components/schemas/DatabaseCreateNestedManyWithoutProjectInput" + required: + - slug + - name + - organization + ProjectUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + organization: + $ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\ + nput" + databases: + $ref: "#/components/schemas/DatabaseUpdateManyWithoutProjectNestedInput" + ProjectCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organizationId: + type: string + required: + - slug + - name + - organizationId + ProjectUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + AgentCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + databases: + $ref: "#/components/schemas/DatabaseCreateNestedManyWithoutAgentInput" + required: + - slug + - name + AgentUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + databases: + $ref: "#/components/schemas/DatabaseUpdateManyWithoutAgentNestedInput" + AgentCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + required: + - slug + - name + AgentUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + DatabaseCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + agent: + $ref: "#/components/schemas/AgentCreateNestedOneWithoutDatabasesInput" + backups: + $ref: "#/components/schemas/BackupCreateNestedManyWithoutDatabaseInput" + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutDatabaseInput" + project: + $ref: "#/components/schemas/ProjectCreateNestedOneWithoutDatabasesInput" + required: + - name + - dbms + - generatedId + - agent + DatabaseUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + agent: + $ref: "#/components/schemas/AgentUpdateOneRequiredWithoutDatabasesNestedInput" + backups: + $ref: "#/components/schemas/BackupUpdateManyWithoutDatabaseNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutDatabaseNestedInput" + project: + $ref: "#/components/schemas/ProjectUpdateOneWithoutDatabasesNestedInput" + DatabaseCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + required: + - name + - dbms + - generatedId + - agentId + DatabaseUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + BackupCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + database: + $ref: "#/components/schemas/DatabaseCreateNestedOneWithoutBackupsInput" + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutBackupInput" + required: + - database + BackupUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + database: + $ref: "#/components/schemas/DatabaseUpdateOneRequiredWithoutBackupsNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutBackupNestedInput" + BackupCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + type: string + required: + - databaseId + BackupUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + RestorationCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backup: + $ref: "#/components/schemas/BackupCreateNestedOneWithoutRestorationsInput" + database: + $ref: "#/components/schemas/DatabaseCreateNestedOneWithoutRestorationsInput" + required: + - backup + RestorationUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + backup: + $ref: "#/components/schemas/BackupUpdateOneRequiredWithoutRestorationsNestedInp\ + ut" + database: + $ref: "#/components/schemas/DatabaseUpdateOneWithoutRestorationsNestedInput" + RestorationCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backupId: + type: string + databaseId: + oneOf: + - type: "null" + - type: string + required: + - backupId + RestorationUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + SettingsCreateInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + $ref: "#/components/schemas/TypeStorage" + name: + type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + required: + - name + SettingsUpdateInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + storage: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/EnumTypeStorageFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + s3EndPointUrl: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + s3AccessKeyId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + s3SecretAccessKey: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + S3BucketName: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpPassword: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpFrom: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpHost: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpPort: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpUser: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + SettingsCreateManyInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + $ref: "#/components/schemas/TypeStorage" + name: + type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + required: + - name + SettingsUpdateManyMutationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + storage: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/EnumTypeStorageFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + s3EndPointUrl: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + s3AccessKeyId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + s3SecretAccessKey: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + S3BucketName: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpPassword: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpFrom: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpHost: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpPort: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + smtpUser: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + StringFilter: + type: object + properties: + equals: + type: string + in: + type: array + items: + type: string + notIn: + type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + mode: + $ref: "#/components/schemas/QueryMode" + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringFilter" + DateTimeFilter: + type: object + properties: + equals: + type: string + format: date-time + in: + type: array + items: + type: string + format: date-time + notIn: + type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeFilter" + DateTimeNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + format: date-time + in: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeNullableFilter" + - type: "null" + StringNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + in: + oneOf: + - type: "null" + - type: array + items: + type: string + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + mode: + $ref: "#/components/schemas/QueryMode" + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringNullableFilter" + - type: "null" + IntNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: integer + in: + oneOf: + - type: "null" + - type: array + items: + type: integer + notIn: + oneOf: + - type: "null" + - type: array + items: + type: integer + lt: + type: integer + lte: + type: integer + gt: + type: integer + gte: + type: integer + not: + oneOf: + - type: integer + - $ref: "#/components/schemas/NestedIntNullableFilter" + - type: "null" + UserScalarRelationFilter: + type: object + properties: + is: + $ref: "#/components/schemas/UserWhereInput" + isNot: + $ref: "#/components/schemas/UserWhereInput" + SortOrderInput: + type: object + properties: + sort: + $ref: "#/components/schemas/SortOrder" + nulls: + $ref: "#/components/schemas/NullsOrder" + required: + - sort + AccountProviderProviderAccountIdCompoundUniqueInput: + type: object + properties: + provider: + type: string + providerAccountId: + type: string + required: + - provider + - providerAccountId + StringWithAggregatesFilter: + type: object + properties: + equals: + type: string + in: + type: array + items: + type: string + notIn: + type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + mode: + $ref: "#/components/schemas/QueryMode" + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedStringFilter" + _max: + $ref: "#/components/schemas/NestedStringFilter" + DateTimeWithAggregatesFilter: + type: object + properties: + equals: + type: string + format: date-time + in: + type: array + items: + type: string + format: date-time + notIn: + type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedDateTimeFilter" + _max: + $ref: "#/components/schemas/NestedDateTimeFilter" + DateTimeNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + format: date-time + in: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedDateTimeNullableFilter" + _max: + $ref: "#/components/schemas/NestedDateTimeNullableFilter" + StringNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + in: + oneOf: + - type: "null" + - type: array + items: + type: string + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + mode: + $ref: "#/components/schemas/QueryMode" + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedStringNullableFilter" + _max: + $ref: "#/components/schemas/NestedStringNullableFilter" + IntNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: integer + in: + oneOf: + - type: "null" + - type: array + items: + type: integer + notIn: + oneOf: + - type: "null" + - type: array + items: + type: integer + lt: + type: integer + lte: + type: integer + gt: + type: integer + gte: + type: integer + not: + oneOf: + - type: integer + - $ref: "#/components/schemas/NestedIntNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _avg: + $ref: "#/components/schemas/NestedFloatNullableFilter" + _sum: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedIntNullableFilter" + _max: + $ref: "#/components/schemas/NestedIntNullableFilter" + VerificationTokenIdentifierTokenCompoundUniqueInput: + type: object + properties: + identifier: + type: string + token: + type: string + required: + - identifier + - token + EnumRoleFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Role" + in: + type: array + items: + $ref: "#/components/schemas/Role" + notIn: + type: array + items: + $ref: "#/components/schemas/Role" + not: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/NestedEnumRoleFilter" + BoolNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: boolean + not: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NestedBoolNullableFilter" + - type: "null" + AccountListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/AccountWhereInput" + some: + $ref: "#/components/schemas/AccountWhereInput" + none: + $ref: "#/components/schemas/AccountWhereInput" + SessionListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/SessionWhereInput" + some: + $ref: "#/components/schemas/SessionWhereInput" + none: + $ref: "#/components/schemas/SessionWhereInput" + UserOrganizationListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/UserOrganizationWhereInput" + some: + $ref: "#/components/schemas/UserOrganizationWhereInput" + none: + $ref: "#/components/schemas/UserOrganizationWhereInput" + AccountOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + SessionOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + UserOrganizationOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + EnumRoleWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Role" + in: + type: array + items: + $ref: "#/components/schemas/Role" + notIn: + type: array + items: + $ref: "#/components/schemas/Role" + not: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/NestedEnumRoleWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumRoleFilter" + _max: + $ref: "#/components/schemas/NestedEnumRoleFilter" + BoolNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: boolean + not: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NestedBoolNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedBoolNullableFilter" + _max: + $ref: "#/components/schemas/NestedBoolNullableFilter" + ProjectListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/ProjectWhereInput" + some: + $ref: "#/components/schemas/ProjectWhereInput" + none: + $ref: "#/components/schemas/ProjectWhereInput" + ProjectOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + OrganizationScalarRelationFilter: + type: object + properties: + is: + $ref: "#/components/schemas/OrganizationWhereInput" + isNot: + $ref: "#/components/schemas/OrganizationWhereInput" + UserOrganizationUserIdOrganizationIdCompoundUniqueInput: + type: object + properties: + userId: + type: string + organizationId: + type: string + required: + - userId + - organizationId + DatabaseListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/DatabaseWhereInput" + some: + $ref: "#/components/schemas/DatabaseWhereInput" + none: + $ref: "#/components/schemas/DatabaseWhereInput" + DatabaseOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + EnumDbmsFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Dbms" + in: + type: array + items: + $ref: "#/components/schemas/Dbms" + notIn: + type: array + items: + $ref: "#/components/schemas/Dbms" + not: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/NestedEnumDbmsFilter" + AgentScalarRelationFilter: + type: object + properties: + is: + $ref: "#/components/schemas/AgentWhereInput" + isNot: + $ref: "#/components/schemas/AgentWhereInput" + BackupListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/BackupWhereInput" + some: + $ref: "#/components/schemas/BackupWhereInput" + none: + $ref: "#/components/schemas/BackupWhereInput" + RestorationListRelationFilter: + type: object + properties: + every: + $ref: "#/components/schemas/RestorationWhereInput" + some: + $ref: "#/components/schemas/RestorationWhereInput" + none: + $ref: "#/components/schemas/RestorationWhereInput" + ProjectNullableScalarRelationFilter: + type: object + properties: + is: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectWhereInput" + isNot: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectWhereInput" + BackupOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + RestorationOrderByRelationAggregateInput: + type: object + properties: + _count: + $ref: "#/components/schemas/SortOrder" + EnumDbmsWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Dbms" + in: + type: array + items: + $ref: "#/components/schemas/Dbms" + notIn: + type: array + items: + $ref: "#/components/schemas/Dbms" + not: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/NestedEnumDbmsWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumDbmsFilter" + _max: + $ref: "#/components/schemas/NestedEnumDbmsFilter" + EnumStatusFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Status" + in: + type: array + items: + $ref: "#/components/schemas/Status" + notIn: + type: array + items: + $ref: "#/components/schemas/Status" + not: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/NestedEnumStatusFilter" + DatabaseScalarRelationFilter: + type: object + properties: + is: + $ref: "#/components/schemas/DatabaseWhereInput" + isNot: + $ref: "#/components/schemas/DatabaseWhereInput" + EnumStatusWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Status" + in: + type: array + items: + $ref: "#/components/schemas/Status" + notIn: + type: array + items: + $ref: "#/components/schemas/Status" + not: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/NestedEnumStatusWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumStatusFilter" + _max: + $ref: "#/components/schemas/NestedEnumStatusFilter" + BackupScalarRelationFilter: + type: object + properties: + is: + $ref: "#/components/schemas/BackupWhereInput" + isNot: + $ref: "#/components/schemas/BackupWhereInput" + DatabaseNullableScalarRelationFilter: + type: object + properties: + is: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseWhereInput" + isNot: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseWhereInput" + EnumTypeStorageFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/TypeStorage" + in: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + notIn: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + not: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + EnumTypeStorageWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/TypeStorage" + in: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + notIn: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + not: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/NestedEnumTypeStorageWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + _max: + $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + UserCreateNestedOneWithoutAccountsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutAccountsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutAccountsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + StringFieldUpdateOperationsInput: + type: object + properties: + set: + type: string + DateTimeFieldUpdateOperationsInput: + type: object + properties: + set: + type: string + format: date-time + NullableDateTimeFieldUpdateOperationsInput: + type: object + properties: + set: + oneOf: + - type: "null" + - type: string + format: date-time + NullableStringFieldUpdateOperationsInput: + type: object + properties: + set: + oneOf: + - type: "null" + - type: string + NullableIntFieldUpdateOperationsInput: + type: object + properties: + set: + oneOf: + - type: "null" + - type: integer + increment: + type: integer + decrement: + type: integer + multiply: + type: integer + divide: + type: integer + UserUpdateOneRequiredWithoutAccountsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutAccountsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutAccountsInput" + upsert: + $ref: "#/components/schemas/UserUpsertWithoutAccountsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateToOneWithWhereWithoutAccountsInput" + - $ref: "#/components/schemas/UserUpdateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutAccountsInput" + UserCreateNestedOneWithoutSessionsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutSessionsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutSessionsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + UserUpdateOneRequiredWithoutSessionsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutSessionsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutSessionsInput" + upsert: + $ref: "#/components/schemas/UserUpsertWithoutSessionsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateToOneWithWhereWithoutSessionsInput" + - $ref: "#/components/schemas/UserUpdateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutSessionsInput" + AccountCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/AccountCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + SessionCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/SessionCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + UserOrganizationCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + AccountUncheckedCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/AccountCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + SessionUncheckedCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/SessionCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + UserOrganizationUncheckedCreateNestedManyWithoutUserInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyUserInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + EnumRoleFieldUpdateOperationsInput: + type: object + properties: + set: + $ref: "#/components/schemas/Role" + NullableBoolFieldUpdateOperationsInput: + type: object + properties: + set: + oneOf: + - type: "null" + - type: boolean + AccountUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/AccountUpsertWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpsertWithWhereUniqueWithoutUserInput" + createMany: + $ref: "#/components/schemas/AccountCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/AccountUpdateWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpdateWithWhereUniqueWithoutUserInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/AccountUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereInput" + SessionUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/SessionUpsertWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpsertWithWhereUniqueWithoutUserInput" + createMany: + $ref: "#/components/schemas/SessionCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/SessionUpdateWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpdateWithWhereUniqueWithoutUserInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/SessionUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereInput" + UserOrganizationUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutUserInp\ + ut" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutUserInp\ + ut" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutUserInp\ + ut" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutUserInp\ + ut" + updateMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + AccountUncheckedUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/AccountUpsertWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpsertWithWhereUniqueWithoutUserInput" + createMany: + $ref: "#/components/schemas/AccountCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/AccountWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/AccountWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/AccountUpdateWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpdateWithWhereUniqueWithoutUserInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/AccountUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereInput" + SessionUncheckedUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/SessionUpsertWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpsertWithWhereUniqueWithoutUserInput" + createMany: + $ref: "#/components/schemas/SessionCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/SessionWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/SessionWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/SessionUpdateWithWhereUniqueWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpdateWithWhereUniqueWithoutUserInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/SessionUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereInput" + UserOrganizationUncheckedUpdateManyWithoutUserNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutUserInput" + upsert: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutUserInp\ + ut" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutUserInp\ + ut" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyUserInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutUserInp\ + ut" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutUserInp\ + ut" + updateMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutUserInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + ProjectCreateNestedManyWithoutOrganizationInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + createMany: + $ref: "#/components/schemas/ProjectCreateManyOrganizationInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + UserOrganizationCreateNestedManyWithoutOrganizationInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + ProjectUncheckedCreateNestedManyWithoutOrganizationInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + createMany: + $ref: "#/components/schemas/ProjectCreateManyOrganizationInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + UserOrganizationUncheckedCreateNestedManyWithoutOrganizationInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + ProjectUpdateManyWithoutOrganizationNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + upsert: + oneOf: + - $ref: "#/components/schemas/ProjectUpsertWithWhereUniqueWithoutOrganizationInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/ProjectUpsertWithWhereUniqueWithoutOrganizationInpu\ + t" + createMany: + $ref: "#/components/schemas/ProjectCreateManyOrganizationInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithWhereUniqueWithoutOrganizationInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/ProjectUpdateWithWhereUniqueWithoutOrganizationInpu\ + t" + updateMany: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateManyWithWhereWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUpdateManyWithWhereWithoutOrganizationInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereInput" + UserOrganizationUpdateManyWithoutOrganizationNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + upsert: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutOrganiz\ + ationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutOrganiz\ + ationInput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutOrganiz\ + ationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutOrganiz\ + ationInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutOrganizat\ + ionInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutOrganizat\ + ionInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + ProjectUncheckedUpdateManyWithoutOrganizationNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutOrganizationInput" + upsert: + oneOf: + - $ref: "#/components/schemas/ProjectUpsertWithWhereUniqueWithoutOrganizationInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/ProjectUpsertWithWhereUniqueWithoutOrganizationInpu\ + t" + createMany: + $ref: "#/components/schemas/ProjectCreateManyOrganizationInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/ProjectWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithWhereUniqueWithoutOrganizationInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/ProjectUpdateWithWhereUniqueWithoutOrganizationInpu\ + t" + updateMany: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateManyWithWhereWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectUpdateManyWithWhereWithoutOrganizationInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereInput" + UserOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateOrConnectWithoutOrganizationI\ + nput" + upsert: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutOrganiz\ + ationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpsertWithWhereUniqueWithoutOrganiz\ + ationInput" + createMany: + $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutOrganiz\ + ationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateWithWhereUniqueWithoutOrganiz\ + ationInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutOrganizat\ + ionInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithWhereWithoutOrganizat\ + ionInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + UserCreateNestedOneWithoutOrganizationsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutOrganizationsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutOrganizationsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + OrganizationCreateNestedOneWithoutUsersInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutUsersInput" + connectOrCreate: + $ref: "#/components/schemas/OrganizationCreateOrConnectWithoutUsersInput" + connect: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + UserUpdateOneRequiredWithoutOrganizationsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutOrganizationsInput" + connectOrCreate: + $ref: "#/components/schemas/UserCreateOrConnectWithoutOrganizationsInput" + upsert: + $ref: "#/components/schemas/UserUpsertWithoutOrganizationsInput" + connect: + $ref: "#/components/schemas/UserWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateToOneWithWhereWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUpdateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutOrganizationsInput" + OrganizationUpdateOneRequiredWithoutUsersNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutUsersInput" + connectOrCreate: + $ref: "#/components/schemas/OrganizationCreateOrConnectWithoutUsersInput" + upsert: + $ref: "#/components/schemas/OrganizationUpsertWithoutUsersInput" + connect: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateToOneWithWhereWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUpdateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutUsersInput" + OrganizationCreateNestedOneWithoutProjectsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutProjectsInput" + connectOrCreate: + $ref: "#/components/schemas/OrganizationCreateOrConnectWithoutProjectsInput" + connect: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + DatabaseCreateNestedManyWithoutProjectInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyProjectInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + DatabaseUncheckedCreateNestedManyWithoutProjectInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyProjectInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + OrganizationUpdateOneRequiredWithoutProjectsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutProjectsInput" + connectOrCreate: + $ref: "#/components/schemas/OrganizationCreateOrConnectWithoutProjectsInput" + upsert: + $ref: "#/components/schemas/OrganizationUpsertWithoutProjectsInput" + connect: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateToOneWithWhereWithoutProjectsInpu\ + t" + - $ref: "#/components/schemas/OrganizationUpdateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutProjectsInput" + DatabaseUpdateManyWithoutProjectNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + upsert: + oneOf: + - $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutProjectInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyProjectInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutProjectInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutProjectInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + DatabaseUncheckedUpdateManyWithoutProjectNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutProjectInput" + upsert: + oneOf: + - $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutProjectInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyProjectInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutProjectInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutProjectInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + DatabaseCreateNestedManyWithoutAgentInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutAgentInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyAgentInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + DatabaseUpdateManyWithoutAgentNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutAgentInput" + upsert: + oneOf: + - $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpsertWithWhereUniqueWithoutAgentInput" + createMany: + $ref: "#/components/schemas/DatabaseCreateManyAgentInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/DatabaseWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateWithWhereUniqueWithoutAgentInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseUpdateManyWithWhereWithoutAgentInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + AgentCreateNestedOneWithoutDatabasesInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AgentCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedCreateWithoutDatabasesInput" + connectOrCreate: + $ref: "#/components/schemas/AgentCreateOrConnectWithoutDatabasesInput" + connect: + $ref: "#/components/schemas/AgentWhereUniqueInput" + BackupCreateNestedManyWithoutDatabaseInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/BackupCreateManyDatabaseInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + RestorationCreateNestedManyWithoutDatabaseInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyDatabaseInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + ProjectCreateNestedOneWithoutDatabasesInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutDatabasesInput" + connectOrCreate: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutDatabasesInput" + connect: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + BackupUncheckedCreateNestedManyWithoutDatabaseInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/BackupCreateManyDatabaseInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + RestorationUncheckedCreateNestedManyWithoutDatabaseInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyDatabaseInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + EnumDbmsFieldUpdateOperationsInput: + type: object + properties: + set: + $ref: "#/components/schemas/Dbms" + AgentUpdateOneRequiredWithoutDatabasesNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/AgentCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedCreateWithoutDatabasesInput" + connectOrCreate: + $ref: "#/components/schemas/AgentCreateOrConnectWithoutDatabasesInput" + upsert: + $ref: "#/components/schemas/AgentUpsertWithoutDatabasesInput" + connect: + $ref: "#/components/schemas/AgentWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/AgentUpdateToOneWithWhereWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedUpdateWithoutDatabasesInput" + BackupUpdateManyWithoutDatabaseNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + upsert: + oneOf: + - $ref: "#/components/schemas/BackupUpsertWithWhereUniqueWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpsertWithWhereUniqueWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/BackupCreateManyDatabaseInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithWhereUniqueWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpdateWithWhereUniqueWithoutDatabaseInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/BackupUpdateManyWithWhereWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpdateManyWithWhereWithoutDatabaseInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereInput" + RestorationUpdateManyWithoutDatabaseNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + upsert: + oneOf: + - $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutDatabaseInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutDatabaseInpu\ + t" + createMany: + $ref: "#/components/schemas/RestorationCreateManyDatabaseInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutDatabaseInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutDatabaseInpu\ + t" + updateMany: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutDatabaseInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + ProjectUpdateOneWithoutDatabasesNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutDatabasesInput" + connectOrCreate: + $ref: "#/components/schemas/ProjectCreateOrConnectWithoutDatabasesInput" + upsert: + $ref: "#/components/schemas/ProjectUpsertWithoutDatabasesInput" + disconnect: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectWhereInput" + delete: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectWhereInput" + connect: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateToOneWithWhereWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateWithoutDatabasesInput" + BackupUncheckedUpdateManyWithoutDatabaseNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutDatabaseInput" + upsert: + oneOf: + - $ref: "#/components/schemas/BackupUpsertWithWhereUniqueWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpsertWithWhereUniqueWithoutDatabaseInput" + createMany: + $ref: "#/components/schemas/BackupCreateManyDatabaseInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/BackupWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/BackupWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithWhereUniqueWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpdateWithWhereUniqueWithoutDatabaseInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/BackupUpdateManyWithWhereWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupUpdateManyWithWhereWithoutDatabaseInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereInput" + RestorationUncheckedUpdateManyWithoutDatabaseNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutDatabaseInput" + upsert: + oneOf: + - $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutDatabaseInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutDatabaseInpu\ + t" + createMany: + $ref: "#/components/schemas/RestorationCreateManyDatabaseInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutDatabaseInpu\ + t" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutDatabaseInpu\ + t" + updateMany: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutDatabaseInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + DatabaseCreateNestedOneWithoutBackupsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutBackupsInput" + connectOrCreate: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutBackupsInput" + connect: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + RestorationCreateNestedManyWithoutBackupInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyBackupInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + RestorationUncheckedCreateNestedManyWithoutBackupInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyBackupInputEnvelope" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + EnumStatusFieldUpdateOperationsInput: + type: object + properties: + set: + $ref: "#/components/schemas/Status" + DatabaseUpdateOneRequiredWithoutBackupsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutBackupsInput" + connectOrCreate: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutBackupsInput" + upsert: + $ref: "#/components/schemas/DatabaseUpsertWithoutBackupsInput" + connect: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateToOneWithWhereWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUpdateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutBackupsInput" + RestorationUpdateManyWithoutBackupNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + upsert: + oneOf: + - $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutBackupInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyBackupInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutBackupInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutBackupInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + RestorationUncheckedUpdateManyWithoutBackupNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + connectOrCreate: + oneOf: + - $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateOrConnectWithoutBackupInput" + upsert: + oneOf: + - $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpsertWithWhereUniqueWithoutBackupInput" + createMany: + $ref: "#/components/schemas/RestorationCreateManyBackupInputEnvelope" + set: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + disconnect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + delete: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + connect: + oneOf: + - $ref: "#/components/schemas/RestorationWhereUniqueInput" + - type: array + items: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateWithWhereUniqueWithoutBackupInput" + updateMany: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationUpdateManyWithWhereWithoutBackupInput" + deleteMany: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + BackupCreateNestedOneWithoutRestorationsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutRestorationsInput" + connectOrCreate: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutRestorationsInput" + connect: + $ref: "#/components/schemas/BackupWhereUniqueInput" + DatabaseCreateNestedOneWithoutRestorationsInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutRestorationsInput" + connectOrCreate: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutRestorationsInput" + connect: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + BackupUpdateOneRequiredWithoutRestorationsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutRestorationsInput" + connectOrCreate: + $ref: "#/components/schemas/BackupCreateOrConnectWithoutRestorationsInput" + upsert: + $ref: "#/components/schemas/BackupUpsertWithoutRestorationsInput" + connect: + $ref: "#/components/schemas/BackupWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/BackupUpdateToOneWithWhereWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateWithoutRestorationsInput" + DatabaseUpdateOneWithoutRestorationsNestedInput: + type: object + properties: + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutRestorationsInput" + connectOrCreate: + $ref: "#/components/schemas/DatabaseCreateOrConnectWithoutRestorationsInput" + upsert: + $ref: "#/components/schemas/DatabaseUpsertWithoutRestorationsInput" + disconnect: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseWhereInput" + delete: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseWhereInput" + connect: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateToOneWithWhereWithoutRestorationsInpu\ + t" + - $ref: "#/components/schemas/DatabaseUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutRestorationsInput" + EnumTypeStorageFieldUpdateOperationsInput: + type: object + properties: + set: + $ref: "#/components/schemas/TypeStorage" + NestedStringFilter: + type: object + properties: + equals: + type: string + in: + type: array + items: + type: string + notIn: + type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringFilter" + NestedDateTimeFilter: + type: object + properties: + equals: + type: string + format: date-time + in: + type: array + items: + type: string + format: date-time + notIn: + type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeFilter" + NestedDateTimeNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + format: date-time + in: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeNullableFilter" + - type: "null" + NestedStringNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + in: + oneOf: + - type: "null" + - type: array + items: + type: string + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringNullableFilter" + - type: "null" + NestedIntNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: integer + in: + oneOf: + - type: "null" + - type: array + items: + type: integer + notIn: + oneOf: + - type: "null" + - type: array + items: + type: integer + lt: + type: integer + lte: + type: integer + gt: + type: integer + gte: + type: integer + not: + oneOf: + - type: integer + - $ref: "#/components/schemas/NestedIntNullableFilter" + - type: "null" + NestedStringWithAggregatesFilter: + type: object + properties: + equals: + type: string + in: + type: array + items: + type: string + notIn: + type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedStringFilter" + _max: + $ref: "#/components/schemas/NestedStringFilter" + NestedIntFilter: + type: object + properties: + equals: + type: integer + in: + type: array + items: + type: integer + notIn: + type: array + items: + type: integer + lt: + type: integer + lte: + type: integer + gt: + type: integer + gte: + type: integer + not: + oneOf: + - type: integer + - $ref: "#/components/schemas/NestedIntFilter" + NestedDateTimeWithAggregatesFilter: + type: object + properties: + equals: + type: string + format: date-time + in: + type: array + items: + type: string + format: date-time + notIn: + type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedDateTimeFilter" + _max: + $ref: "#/components/schemas/NestedDateTimeFilter" + NestedDateTimeNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + format: date-time + in: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + format: date-time + lt: + type: string + format: date-time + lte: + type: string + format: date-time + gt: + type: string + format: date-time + gte: + type: string + format: date-time + not: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NestedDateTimeNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedDateTimeNullableFilter" + _max: + $ref: "#/components/schemas/NestedDateTimeNullableFilter" + NestedStringNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: string + in: + oneOf: + - type: "null" + - type: array + items: + type: string + notIn: + oneOf: + - type: "null" + - type: array + items: + type: string + lt: + type: string + lte: + type: string + gt: + type: string + gte: + type: string + contains: + type: string + startsWith: + type: string + endsWith: + type: string + not: + oneOf: + - type: string + - $ref: "#/components/schemas/NestedStringNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedStringNullableFilter" + _max: + $ref: "#/components/schemas/NestedStringNullableFilter" + NestedIntNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: integer + in: + oneOf: + - type: "null" + - type: array + items: + type: integer + notIn: + oneOf: + - type: "null" + - type: array + items: + type: integer + lt: + type: integer + lte: + type: integer + gt: + type: integer + gte: + type: integer + not: + oneOf: + - type: integer + - $ref: "#/components/schemas/NestedIntNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _avg: + $ref: "#/components/schemas/NestedFloatNullableFilter" + _sum: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedIntNullableFilter" + _max: + $ref: "#/components/schemas/NestedIntNullableFilter" + NestedFloatNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: number + in: + oneOf: + - type: "null" + - type: array + items: + type: number + notIn: + oneOf: + - type: "null" + - type: array + items: + type: number + lt: + type: number + lte: + type: number + gt: + type: number + gte: + type: number + not: + oneOf: + - type: number + - $ref: "#/components/schemas/NestedFloatNullableFilter" + - type: "null" + NestedEnumRoleFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Role" + in: + type: array + items: + $ref: "#/components/schemas/Role" + notIn: + type: array + items: + $ref: "#/components/schemas/Role" + not: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/NestedEnumRoleFilter" + NestedBoolNullableFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: boolean + not: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NestedBoolNullableFilter" + - type: "null" + NestedEnumRoleWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Role" + in: + type: array + items: + $ref: "#/components/schemas/Role" + notIn: + type: array + items: + $ref: "#/components/schemas/Role" + not: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/NestedEnumRoleWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumRoleFilter" + _max: + $ref: "#/components/schemas/NestedEnumRoleFilter" + NestedBoolNullableWithAggregatesFilter: + type: object + properties: + equals: + oneOf: + - type: "null" + - type: boolean + not: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NestedBoolNullableWithAggregatesFilter" + - type: "null" + _count: + $ref: "#/components/schemas/NestedIntNullableFilter" + _min: + $ref: "#/components/schemas/NestedBoolNullableFilter" + _max: + $ref: "#/components/schemas/NestedBoolNullableFilter" + NestedEnumDbmsFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Dbms" + in: + type: array + items: + $ref: "#/components/schemas/Dbms" + notIn: + type: array + items: + $ref: "#/components/schemas/Dbms" + not: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/NestedEnumDbmsFilter" + NestedEnumDbmsWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Dbms" + in: + type: array + items: + $ref: "#/components/schemas/Dbms" + notIn: + type: array + items: + $ref: "#/components/schemas/Dbms" + not: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/NestedEnumDbmsWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumDbmsFilter" + _max: + $ref: "#/components/schemas/NestedEnumDbmsFilter" + NestedEnumStatusFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Status" + in: + type: array + items: + $ref: "#/components/schemas/Status" + notIn: + type: array + items: + $ref: "#/components/schemas/Status" + not: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/NestedEnumStatusFilter" + NestedEnumStatusWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/Status" + in: + type: array + items: + $ref: "#/components/schemas/Status" + notIn: + type: array + items: + $ref: "#/components/schemas/Status" + not: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/NestedEnumStatusWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumStatusFilter" + _max: + $ref: "#/components/schemas/NestedEnumStatusFilter" + NestedEnumTypeStorageFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/TypeStorage" + in: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + notIn: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + not: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + NestedEnumTypeStorageWithAggregatesFilter: + type: object + properties: + equals: + $ref: "#/components/schemas/TypeStorage" + in: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + notIn: + type: array + items: + $ref: "#/components/schemas/TypeStorage" + not: + oneOf: + - $ref: "#/components/schemas/TypeStorage" + - $ref: "#/components/schemas/NestedEnumTypeStorageWithAggregatesFilter" + _count: + $ref: "#/components/schemas/NestedIntFilter" + _min: + $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + _max: + $ref: "#/components/schemas/NestedEnumTypeStorageFilter" + UserCreateWithoutAccountsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + sessions: + $ref: "#/components/schemas/SessionCreateNestedManyWithoutUserInput" + organizations: + $ref: "#/components/schemas/UserOrganizationCreateNestedManyWithoutUserInput" + required: + - role + UserUncheckedCreateWithoutAccountsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + sessions: + $ref: "#/components/schemas/SessionUncheckedCreateNestedManyWithoutUserInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateNestedManyWithoutUse\ + rInput" + required: + - role + UserCreateOrConnectWithoutAccountsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutAccountsInput" + required: + - where + - create + UserUpsertWithoutAccountsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutAccountsInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutAccountsInput" + where: + $ref: "#/components/schemas/UserWhereInput" + required: + - update + - create + UserUpdateToOneWithWhereWithoutAccountsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutAccountsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutAccountsInput" + required: + - data + UserUpdateWithoutAccountsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + sessions: + $ref: "#/components/schemas/SessionUpdateManyWithoutUserNestedInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithoutUserNestedInput" + UserUncheckedUpdateWithoutAccountsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + sessions: + $ref: "#/components/schemas/SessionUncheckedUpdateManyWithoutUserNestedInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUncheckedUpdateManyWithoutUserNeste\ + dInput" + UserCreateWithoutSessionsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + $ref: "#/components/schemas/AccountCreateNestedManyWithoutUserInput" + organizations: + $ref: "#/components/schemas/UserOrganizationCreateNestedManyWithoutUserInput" + required: + - role + UserUncheckedCreateWithoutSessionsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + $ref: "#/components/schemas/AccountUncheckedCreateNestedManyWithoutUserInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateNestedManyWithoutUse\ + rInput" + required: + - role + UserCreateOrConnectWithoutSessionsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutSessionsInput" + required: + - where + - create + UserUpsertWithoutSessionsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutSessionsInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutSessionsInput" + where: + $ref: "#/components/schemas/UserWhereInput" + required: + - update + - create + UserUpdateToOneWithWhereWithoutSessionsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutSessionsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutSessionsInput" + required: + - data + UserUpdateWithoutSessionsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + accounts: + $ref: "#/components/schemas/AccountUpdateManyWithoutUserNestedInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithoutUserNestedInput" + UserUncheckedUpdateWithoutSessionsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + accounts: + $ref: "#/components/schemas/AccountUncheckedUpdateManyWithoutUserNestedInput" + organizations: + $ref: "#/components/schemas/UserOrganizationUncheckedUpdateManyWithoutUserNeste\ + dInput" + AccountCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + required: + - type + - provider + - providerAccountId + AccountUncheckedCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + required: + - type + - provider + - providerAccountId + AccountCreateOrConnectWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + required: + - where + - create + AccountCreateManyUserInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/AccountCreateManyUserInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateManyUserInput" + skipDuplicates: + type: boolean + required: + - data + SessionCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + expires: + type: string + format: date-time + required: + - sessionToken + - expires + SessionUncheckedCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + expires: + type: string + format: date-time + required: + - sessionToken + - expires + SessionCreateOrConnectWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + required: + - where + - create + SessionCreateManyUserInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/SessionCreateManyUserInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateManyUserInput" + skipDuplicates: + type: boolean + required: + - data + UserOrganizationCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + organization: + $ref: "#/components/schemas/OrganizationCreateNestedOneWithoutUsersInput" + required: + - organization + UserOrganizationUncheckedCreateWithoutUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + organizationId: + type: string + required: + - organizationId + UserOrganizationCreateOrConnectWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + required: + - where + - create + UserOrganizationCreateManyUserInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateManyUserInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateManyUserInput" + skipDuplicates: + type: boolean + required: + - data + AccountUpsertWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/AccountUpdateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedUpdateWithoutUserInput" + create: + oneOf: + - $ref: "#/components/schemas/AccountCreateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedCreateWithoutUserInput" + required: + - where + - update + - create + AccountUpdateWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/AccountUpdateWithoutUserInput" + - $ref: "#/components/schemas/AccountUncheckedUpdateWithoutUserInput" + required: + - where + - data + AccountUpdateManyWithWhereWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/AccountScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/AccountUpdateManyMutationInput" + - $ref: "#/components/schemas/AccountUncheckedUpdateManyWithoutUserInput" + required: + - where + - data + AccountScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/AccountScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/AccountScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/AccountScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + type: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + provider: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + providerAccountId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + refresh_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + access_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + expires_at: + oneOf: + - $ref: "#/components/schemas/IntNullableFilter" + - type: integer + - type: "null" + token_type: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + scope: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + id_token: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + session_state: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + SessionUpsertWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/SessionUpdateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedUpdateWithoutUserInput" + create: + oneOf: + - $ref: "#/components/schemas/SessionCreateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedCreateWithoutUserInput" + required: + - where + - update + - create + SessionUpdateWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/SessionUpdateWithoutUserInput" + - $ref: "#/components/schemas/SessionUncheckedUpdateWithoutUserInput" + required: + - where + - data + SessionUpdateManyWithWhereWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/SessionScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/SessionUpdateManyMutationInput" + - $ref: "#/components/schemas/SessionUncheckedUpdateManyWithoutUserInput" + required: + - where + - data + SessionScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/SessionScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/SessionScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/SessionScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + sessionToken: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + expires: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + UserOrganizationUpsertWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateWithoutUserInput" + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutUserInput" + required: + - where + - update + - create + UserOrganizationUpdateWithWhereUniqueWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithoutUserInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateWithoutUserInput" + required: + - where + - data + UserOrganizationUpdateManyWithWhereWithoutUserInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyMutationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateManyWithoutUserInput" + required: + - where + - data + UserOrganizationScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + userId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + ProjectCreateWithoutOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + databases: + $ref: "#/components/schemas/DatabaseCreateNestedManyWithoutProjectInput" + required: + - slug + - name + ProjectUncheckedCreateWithoutOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + databases: + $ref: "#/components/schemas/DatabaseUncheckedCreateNestedManyWithoutProjectInpu\ + t" + required: + - slug + - name + ProjectCreateOrConnectWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + required: + - where + - create + ProjectCreateManyOrganizationInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/ProjectCreateManyOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateManyOrganizationInput" + skipDuplicates: + type: boolean + required: + - data + UserOrganizationCreateWithoutOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + user: + $ref: "#/components/schemas/UserCreateNestedOneWithoutOrganizationsInput" + required: + - user + UserOrganizationUncheckedCreateWithoutOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + required: + - userId + UserOrganizationCreateOrConnectWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + required: + - where + - create + UserOrganizationCreateManyOrganizationInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateManyOrganizationInput" + skipDuplicates: + type: boolean + required: + - data + ProjectUpsertWithWhereUniqueWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateWithoutOrganizationInput" + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutOrganizationInput" + required: + - where + - update + - create + ProjectUpdateWithWhereUniqueWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithoutOrganizationInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateWithoutOrganizationInput" + required: + - where + - data + ProjectUpdateManyWithWhereWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateManyMutationInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateManyWithoutOrganizationInput" + required: + - where + - data + ProjectScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/ProjectScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/ProjectScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + slug: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + organizationId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + UserOrganizationUpsertWithWhereUniqueWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateWithoutOrganizationI\ + nput" + create: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedCreateWithoutOrganizationI\ + nput" + required: + - where + - update + - create + UserOrganizationUpdateWithWhereUniqueWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateWithoutOrganizationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateWithoutOrganizationI\ + nput" + required: + - where + - data + UserOrganizationUpdateManyWithWhereWithoutOrganizationInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationUpdateManyMutationInput" + - $ref: "#/components/schemas/UserOrganizationUncheckedUpdateManyWithoutOrganizat\ + ionInput" + required: + - where + - data + UserCreateWithoutOrganizationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + $ref: "#/components/schemas/AccountCreateNestedManyWithoutUserInput" + sessions: + $ref: "#/components/schemas/SessionCreateNestedManyWithoutUserInput" + required: + - role + UserUncheckedCreateWithoutOrganizationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + accounts: + $ref: "#/components/schemas/AccountUncheckedCreateNestedManyWithoutUserInput" + sessions: + $ref: "#/components/schemas/SessionUncheckedCreateNestedManyWithoutUserInput" + required: + - role + UserCreateOrConnectWithoutOrganizationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutOrganizationsInput" + required: + - where + - create + OrganizationCreateWithoutUsersInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + projects: + $ref: "#/components/schemas/ProjectCreateNestedManyWithoutOrganizationInput" + required: + - slug + - name + OrganizationUncheckedCreateWithoutUsersInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + projects: + $ref: "#/components/schemas/ProjectUncheckedCreateNestedManyWithoutOrganization\ + Input" + required: + - slug + - name + OrganizationCreateOrConnectWithoutUsersInput: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutUsersInput" + required: + - where + - create + UserUpsertWithoutOrganizationsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutOrganizationsInput" + create: + oneOf: + - $ref: "#/components/schemas/UserCreateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedCreateWithoutOrganizationsInput" + where: + $ref: "#/components/schemas/UserWhereInput" + required: + - update + - create + UserUpdateToOneWithWhereWithoutOrganizationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/UserUpdateWithoutOrganizationsInput" + - $ref: "#/components/schemas/UserUncheckedUpdateWithoutOrganizationsInput" + required: + - data + UserUpdateWithoutOrganizationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + accounts: + $ref: "#/components/schemas/AccountUpdateManyWithoutUserNestedInput" + sessions: + $ref: "#/components/schemas/SessionUpdateManyWithoutUserNestedInput" + UserUncheckedUpdateWithoutOrganizationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + email: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + emailVerified: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + image: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + role: + oneOf: + - $ref: "#/components/schemas/Role" + - $ref: "#/components/schemas/EnumRoleFieldUpdateOperationsInput" + password: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + authMethod: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + deleted: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + accounts: + $ref: "#/components/schemas/AccountUncheckedUpdateManyWithoutUserNestedInput" + sessions: + $ref: "#/components/schemas/SessionUncheckedUpdateManyWithoutUserNestedInput" + OrganizationUpsertWithoutUsersInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutUsersInput" + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutUsersInput" + where: + $ref: "#/components/schemas/OrganizationWhereInput" + required: + - update + - create + OrganizationUpdateToOneWithWhereWithoutUsersInput: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateWithoutUsersInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutUsersInput" + required: + - data + OrganizationUpdateWithoutUsersInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + projects: + $ref: "#/components/schemas/ProjectUpdateManyWithoutOrganizationNestedInput" + OrganizationUncheckedUpdateWithoutUsersInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + projects: + $ref: "#/components/schemas/ProjectUncheckedUpdateManyWithoutOrganizationNested\ + Input" + OrganizationCreateWithoutProjectsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + users: + $ref: "#/components/schemas/UserOrganizationCreateNestedManyWithoutOrganization\ + Input" + required: + - slug + - name + OrganizationUncheckedCreateWithoutProjectsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + users: + $ref: "#/components/schemas/UserOrganizationUncheckedCreateNestedManyWithoutOrg\ + anizationInput" + required: + - slug + - name + OrganizationCreateOrConnectWithoutProjectsInput: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutProjectsInput" + required: + - where + - create + DatabaseCreateWithoutProjectInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + agent: + $ref: "#/components/schemas/AgentCreateNestedOneWithoutDatabasesInput" + backups: + $ref: "#/components/schemas/BackupCreateNestedManyWithoutDatabaseInput" + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutDatabaseInput" + required: + - name + - dbms + - generatedId + - agent + DatabaseUncheckedCreateWithoutProjectInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + backups: + $ref: "#/components/schemas/BackupUncheckedCreateNestedManyWithoutDatabaseInput" + restorations: + $ref: "#/components/schemas/RestorationUncheckedCreateNestedManyWithoutDatabase\ + Input" + required: + - name + - dbms + - generatedId + - agentId + DatabaseCreateOrConnectWithoutProjectInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + required: + - where + - create + DatabaseCreateManyProjectInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateManyProjectInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateManyProjectInput" + skipDuplicates: + type: boolean + required: + - data + OrganizationUpsertWithoutProjectsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutProjectsInput" + create: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedCreateWithoutProjectsInput" + where: + $ref: "#/components/schemas/OrganizationWhereInput" + required: + - update + - create + OrganizationUpdateToOneWithWhereWithoutProjectsInput: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/OrganizationUpdateWithoutProjectsInput" + - $ref: "#/components/schemas/OrganizationUncheckedUpdateWithoutProjectsInput" + required: + - data + OrganizationUpdateWithoutProjectsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + users: + $ref: "#/components/schemas/UserOrganizationUpdateManyWithoutOrganizationNested\ + Input" + OrganizationUncheckedUpdateWithoutProjectsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + users: + $ref: "#/components/schemas/UserOrganizationUncheckedUpdateManyWithoutOrganizat\ + ionNestedInput" + DatabaseUpsertWithWhereUniqueWithoutProjectInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutProjectInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutProjectInput" + required: + - where + - update + - create + DatabaseUpdateWithWhereUniqueWithoutProjectInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutProjectInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutProjectInput" + required: + - where + - data + DatabaseUpdateManyWithWhereWithoutProjectInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateManyMutationInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateManyWithoutProjectInput" + required: + - where + - data + DatabaseScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/DatabaseScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + name: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + dbms: + oneOf: + - $ref: "#/components/schemas/EnumDbmsFilter" + - $ref: "#/components/schemas/Dbms" + generatedId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + description: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + backupPolicy: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + isWaitingForBackup: + oneOf: + - $ref: "#/components/schemas/BoolNullableFilter" + - type: boolean + - type: "null" + backupToRestore: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + agentId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + lastContact: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + projectId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + DatabaseCreateWithoutAgentInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + backups: + $ref: "#/components/schemas/BackupCreateNestedManyWithoutDatabaseInput" + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutDatabaseInput" + project: + $ref: "#/components/schemas/ProjectCreateNestedOneWithoutDatabasesInput" + required: + - name + - dbms + - generatedId + DatabaseUncheckedCreateWithoutAgentInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + backups: + $ref: "#/components/schemas/BackupUncheckedCreateNestedManyWithoutDatabaseInput" + restorations: + $ref: "#/components/schemas/RestorationUncheckedCreateNestedManyWithoutDatabase\ + Input" + required: + - name + - dbms + - generatedId + DatabaseCreateOrConnectWithoutAgentInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + required: + - where + - create + DatabaseCreateManyAgentInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateManyAgentInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateManyAgentInput" + skipDuplicates: + type: boolean + required: + - data + DatabaseUpsertWithWhereUniqueWithoutAgentInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutAgentInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutAgentInput" + required: + - where + - update + - create + DatabaseUpdateWithWhereUniqueWithoutAgentInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutAgentInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutAgentInput" + required: + - where + - data + DatabaseUpdateManyWithWhereWithoutAgentInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateManyMutationInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateManyWithoutAgentInput" + required: + - where + - data + AgentCreateWithoutDatabasesInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + required: + - slug + - name + AgentUncheckedCreateWithoutDatabasesInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + required: + - slug + - name + AgentCreateOrConnectWithoutDatabasesInput: + type: object + properties: + where: + $ref: "#/components/schemas/AgentWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/AgentCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedCreateWithoutDatabasesInput" + required: + - where + - create + BackupCreateWithoutDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutBackupInput" + BackupUncheckedCreateWithoutDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + restorations: + $ref: "#/components/schemas/RestorationUncheckedCreateNestedManyWithoutBackupIn\ + put" + BackupCreateOrConnectWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + required: + - where + - create + BackupCreateManyDatabaseInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/BackupCreateManyDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateManyDatabaseInput" + skipDuplicates: + type: boolean + required: + - data + RestorationCreateWithoutDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backup: + $ref: "#/components/schemas/BackupCreateNestedOneWithoutRestorationsInput" + required: + - backup + RestorationUncheckedCreateWithoutDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backupId: + type: string + required: + - backupId + RestorationCreateOrConnectWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + required: + - where + - create + RestorationCreateManyDatabaseInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/RestorationCreateManyDatabaseInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateManyDatabaseInput" + skipDuplicates: + type: boolean + required: + - data + ProjectCreateWithoutDatabasesInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organization: + $ref: "#/components/schemas/OrganizationCreateNestedOneWithoutProjectsInput" + required: + - slug + - name + - organization + ProjectUncheckedCreateWithoutDatabasesInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organizationId: + type: string + required: + - slug + - name + - organizationId + ProjectCreateOrConnectWithoutDatabasesInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutDatabasesInput" + required: + - where + - create + AgentUpsertWithoutDatabasesInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/AgentUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedUpdateWithoutDatabasesInput" + create: + oneOf: + - $ref: "#/components/schemas/AgentCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedCreateWithoutDatabasesInput" + where: + $ref: "#/components/schemas/AgentWhereInput" + required: + - update + - create + AgentUpdateToOneWithWhereWithoutDatabasesInput: + type: object + properties: + where: + $ref: "#/components/schemas/AgentWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/AgentUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/AgentUncheckedUpdateWithoutDatabasesInput" + required: + - data + AgentUpdateWithoutDatabasesInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + AgentUncheckedUpdateWithoutDatabasesInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + BackupUpsertWithWhereUniqueWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateWithoutDatabaseInput" + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutDatabaseInput" + required: + - where + - update + - create + BackupUpdateWithWhereUniqueWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithoutDatabaseInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateWithoutDatabaseInput" + required: + - where + - data + BackupUpdateManyWithWhereWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/BackupUpdateManyMutationInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateManyWithoutDatabaseInput" + required: + - where + - data + BackupScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/BackupScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/BackupScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/BackupScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + databaseId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + RestorationUpsertWithWhereUniqueWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateWithoutDatabaseInput" + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutDatabaseInput" + required: + - where + - update + - create + RestorationUpdateWithWhereUniqueWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithoutDatabaseInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateWithoutDatabaseInput" + required: + - where + - data + RestorationUpdateManyWithWhereWithoutDatabaseInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyMutationInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutDatabaseInput" + required: + - where + - data + RestorationScalarWhereInput: + type: object + properties: + AND: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + OR: + type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + NOT: + oneOf: + - $ref: "#/components/schemas/RestorationScalarWhereInput" + - type: array + items: + $ref: "#/components/schemas/RestorationScalarWhereInput" + id: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + createdAt: + oneOf: + - $ref: "#/components/schemas/DateTimeFilter" + - type: string + format: date-time + updatedAt: + oneOf: + - $ref: "#/components/schemas/DateTimeNullableFilter" + - type: string + format: date-time + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/EnumStatusFilter" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - $ref: "#/components/schemas/StringFilter" + - type: string + databaseId: + oneOf: + - $ref: "#/components/schemas/StringNullableFilter" + - type: string + - type: "null" + ProjectUpsertWithoutDatabasesInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateWithoutDatabasesInput" + create: + oneOf: + - $ref: "#/components/schemas/ProjectCreateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedCreateWithoutDatabasesInput" + where: + $ref: "#/components/schemas/ProjectWhereInput" + required: + - update + - create + ProjectUpdateToOneWithWhereWithoutDatabasesInput: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/ProjectUpdateWithoutDatabasesInput" + - $ref: "#/components/schemas/ProjectUncheckedUpdateWithoutDatabasesInput" + required: + - data + ProjectUpdateWithoutDatabasesInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + organization: + $ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutProjectsNestedI\ + nput" + ProjectUncheckedUpdateWithoutDatabasesInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + organizationId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + DatabaseCreateWithoutBackupsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + agent: + $ref: "#/components/schemas/AgentCreateNestedOneWithoutDatabasesInput" + restorations: + $ref: "#/components/schemas/RestorationCreateNestedManyWithoutDatabaseInput" + project: + $ref: "#/components/schemas/ProjectCreateNestedOneWithoutDatabasesInput" + required: + - name + - dbms + - generatedId + - agent + DatabaseUncheckedCreateWithoutBackupsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + restorations: + $ref: "#/components/schemas/RestorationUncheckedCreateNestedManyWithoutDatabase\ + Input" + required: + - name + - dbms + - generatedId + - agentId + DatabaseCreateOrConnectWithoutBackupsInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutBackupsInput" + required: + - where + - create + RestorationCreateWithoutBackupInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + database: + $ref: "#/components/schemas/DatabaseCreateNestedOneWithoutRestorationsInput" + RestorationUncheckedCreateWithoutBackupInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + databaseId: + oneOf: + - type: "null" + - type: string + RestorationCreateOrConnectWithoutBackupInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + required: + - where + - create + RestorationCreateManyBackupInputEnvelope: + type: object + properties: + data: + oneOf: + - $ref: "#/components/schemas/RestorationCreateManyBackupInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateManyBackupInput" + skipDuplicates: + type: boolean + required: + - data + DatabaseUpsertWithoutBackupsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutBackupsInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutBackupsInput" + where: + $ref: "#/components/schemas/DatabaseWhereInput" + required: + - update + - create + DatabaseUpdateToOneWithWhereWithoutBackupsInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutBackupsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutBackupsInput" + required: + - data + DatabaseUpdateWithoutBackupsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + agent: + $ref: "#/components/schemas/AgentUpdateOneRequiredWithoutDatabasesNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutDatabaseNestedInput" + project: + $ref: "#/components/schemas/ProjectUpdateOneWithoutDatabasesNestedInput" + DatabaseUncheckedUpdateWithoutBackupsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + agentId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + projectId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + restorations: + $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutDatabaseNested\ + Input" + RestorationUpsertWithWhereUniqueWithoutBackupInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + update: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateWithoutBackupInput" + create: + oneOf: + - $ref: "#/components/schemas/RestorationCreateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedCreateWithoutBackupInput" + required: + - where + - update + - create + RestorationUpdateWithWhereUniqueWithoutBackupInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + data: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateWithoutBackupInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateWithoutBackupInput" + required: + - where + - data + RestorationUpdateManyWithWhereWithoutBackupInput: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationScalarWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/RestorationUpdateManyMutationInput" + - $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutBackupInput" + required: + - where + - data + BackupCreateWithoutRestorationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + database: + $ref: "#/components/schemas/DatabaseCreateNestedOneWithoutBackupsInput" + required: + - database + BackupUncheckedCreateWithoutRestorationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + type: string + required: + - databaseId + BackupCreateOrConnectWithoutRestorationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutRestorationsInput" + required: + - where + - create + DatabaseCreateWithoutRestorationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + agent: + $ref: "#/components/schemas/AgentCreateNestedOneWithoutDatabasesInput" + backups: + $ref: "#/components/schemas/BackupCreateNestedManyWithoutDatabaseInput" + project: + $ref: "#/components/schemas/ProjectCreateNestedOneWithoutDatabasesInput" + required: + - name + - dbms + - generatedId + - agent + DatabaseUncheckedCreateWithoutRestorationsInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + backups: + $ref: "#/components/schemas/BackupUncheckedCreateNestedManyWithoutDatabaseInput" + required: + - name + - dbms + - generatedId + - agentId + DatabaseCreateOrConnectWithoutRestorationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutRestorationsInput" + required: + - where + - create + BackupUpsertWithoutRestorationsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateWithoutRestorationsInput" + create: + oneOf: + - $ref: "#/components/schemas/BackupCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedCreateWithoutRestorationsInput" + where: + $ref: "#/components/schemas/BackupWhereInput" + required: + - update + - create + BackupUpdateToOneWithWhereWithoutRestorationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/BackupUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/BackupUncheckedUpdateWithoutRestorationsInput" + required: + - data + BackupUpdateWithoutRestorationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + database: + $ref: "#/components/schemas/DatabaseUpdateOneRequiredWithoutBackupsNestedInput" + BackupUncheckedUpdateWithoutRestorationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + databaseId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + DatabaseUpsertWithoutRestorationsInput: + type: object + properties: + update: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutRestorationsInput" + create: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedCreateWithoutRestorationsInput" + where: + $ref: "#/components/schemas/DatabaseWhereInput" + required: + - update + - create + DatabaseUpdateToOneWithWhereWithoutRestorationsInput: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + data: + oneOf: + - $ref: "#/components/schemas/DatabaseUpdateWithoutRestorationsInput" + - $ref: "#/components/schemas/DatabaseUncheckedUpdateWithoutRestorationsInput" + required: + - data + DatabaseUpdateWithoutRestorationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + agent: + $ref: "#/components/schemas/AgentUpdateOneRequiredWithoutDatabasesNestedInput" + backups: + $ref: "#/components/schemas/BackupUpdateManyWithoutDatabaseNestedInput" + project: + $ref: "#/components/schemas/ProjectUpdateOneWithoutDatabasesNestedInput" + DatabaseUncheckedUpdateWithoutRestorationsInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + agentId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + projectId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backups: + $ref: "#/components/schemas/BackupUncheckedUpdateManyWithoutDatabaseNestedInput" + AccountCreateManyUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + required: + - type + - provider + - providerAccountId + SessionCreateManyUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + expires: + type: string + format: date-time + required: + - sessionToken + - expires + UserOrganizationCreateManyUserInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + organizationId: + type: string + required: + - organizationId + AccountUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + type: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + provider: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + providerAccountId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + refresh_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + access_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + expires_at: + oneOf: + - type: integer + - $ref: "#/components/schemas/NullableIntFieldUpdateOperationsInput" + - type: "null" + token_type: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + scope: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + id_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + session_state: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + AccountUncheckedUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + type: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + provider: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + providerAccountId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + refresh_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + access_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + expires_at: + oneOf: + - type: integer + - $ref: "#/components/schemas/NullableIntFieldUpdateOperationsInput" + - type: "null" + token_type: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + scope: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + id_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + session_state: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + AccountUncheckedUpdateManyWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + type: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + provider: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + providerAccountId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + refresh_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + access_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + expires_at: + oneOf: + - type: integer + - $ref: "#/components/schemas/NullableIntFieldUpdateOperationsInput" + - type: "null" + token_type: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + scope: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + id_token: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + session_state: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + SessionUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + sessionToken: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + SessionUncheckedUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + sessionToken: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + SessionUncheckedUpdateManyWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + sessionToken: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + expires: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + UserOrganizationUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + organization: + $ref: "#/components/schemas/OrganizationUpdateOneRequiredWithoutUsersNestedInpu\ + t" + UserOrganizationUncheckedUpdateWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + organizationId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + UserOrganizationUncheckedUpdateManyWithoutUserInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + organizationId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + ProjectCreateManyOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + required: + - slug + - name + UserOrganizationCreateManyOrganizationInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + required: + - userId + ProjectUpdateWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + databases: + $ref: "#/components/schemas/DatabaseUpdateManyWithoutProjectNestedInput" + ProjectUncheckedUpdateWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + databases: + $ref: "#/components/schemas/DatabaseUncheckedUpdateManyWithoutProjectNestedInpu\ + t" + ProjectUncheckedUpdateManyWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + slug: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + UserOrganizationUpdateWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + user: + $ref: "#/components/schemas/UserUpdateOneRequiredWithoutOrganizationsNestedInpu\ + t" + UserOrganizationUncheckedUpdateWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + userId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + UserOrganizationUncheckedUpdateManyWithoutOrganizationInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + userId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + DatabaseCreateManyProjectInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + required: + - name + - dbms + - generatedId + - agentId + DatabaseUpdateWithoutProjectInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + agent: + $ref: "#/components/schemas/AgentUpdateOneRequiredWithoutDatabasesNestedInput" + backups: + $ref: "#/components/schemas/BackupUpdateManyWithoutDatabaseNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutDatabaseNestedInput" + DatabaseUncheckedUpdateWithoutProjectInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + agentId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + backups: + $ref: "#/components/schemas/BackupUncheckedUpdateManyWithoutDatabaseNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutDatabaseNested\ + Input" + DatabaseUncheckedUpdateManyWithoutProjectInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + agentId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + DatabaseCreateManyAgentInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + required: + - name + - dbms + - generatedId + DatabaseUpdateWithoutAgentInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + backups: + $ref: "#/components/schemas/BackupUpdateManyWithoutDatabaseNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutDatabaseNestedInput" + project: + $ref: "#/components/schemas/ProjectUpdateOneWithoutDatabasesNestedInput" + DatabaseUncheckedUpdateWithoutAgentInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + projectId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backups: + $ref: "#/components/schemas/BackupUncheckedUpdateManyWithoutDatabaseNestedInput" + restorations: + $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutDatabaseNested\ + Input" + DatabaseUncheckedUpdateManyWithoutAgentInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + name: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + dbms: + oneOf: + - $ref: "#/components/schemas/Dbms" + - $ref: "#/components/schemas/EnumDbmsFieldUpdateOperationsInput" + generatedId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + description: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + backupPolicy: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + isWaitingForBackup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/NullableBoolFieldUpdateOperationsInput" + - type: "null" + backupToRestore: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + lastContact: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + projectId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + BackupCreateManyDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + RestorationCreateManyDatabaseInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backupId: + type: string + required: + - backupId + BackupUpdateWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + restorations: + $ref: "#/components/schemas/RestorationUpdateManyWithoutBackupNestedInput" + BackupUncheckedUpdateWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + restorations: + $ref: "#/components/schemas/RestorationUncheckedUpdateManyWithoutBackupNestedIn\ + put" + BackupUncheckedUpdateManyWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + file: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + RestorationUpdateWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + backup: + $ref: "#/components/schemas/BackupUpdateOneRequiredWithoutRestorationsNestedInp\ + ut" + RestorationUncheckedUpdateWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + backupId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + RestorationUncheckedUpdateManyWithoutDatabaseInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + backupId: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + RestorationCreateManyBackupInput: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + databaseId: + oneOf: + - type: "null" + - type: string + RestorationUpdateWithoutBackupInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + database: + $ref: "#/components/schemas/DatabaseUpdateOneWithoutRestorationsNestedInput" + RestorationUncheckedUpdateWithoutBackupInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + databaseId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + RestorationUncheckedUpdateManyWithoutBackupInput: + type: object + properties: + id: + oneOf: + - type: string + - $ref: "#/components/schemas/StringFieldUpdateOperationsInput" + createdAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/DateTimeFieldUpdateOperationsInput" + updatedAt: + oneOf: + - type: string + format: date-time + - $ref: "#/components/schemas/NullableDateTimeFieldUpdateOperationsInput" + - type: "null" + status: + oneOf: + - $ref: "#/components/schemas/Status" + - $ref: "#/components/schemas/EnumStatusFieldUpdateOperationsInput" + databaseId: + oneOf: + - type: string + - $ref: "#/components/schemas/NullableStringFieldUpdateOperationsInput" + - type: "null" + UserArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + OrganizationArgs: + type: object + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + ProjectArgs: + type: object + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + AgentArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + DatabaseArgs: + type: object + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + BackupArgs: + type: object + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + AccountInclude: + type: object + properties: + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + SessionInclude: + type: object + properties: + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + UserInclude: + type: object + properties: + accounts: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AccountFindManyArgs" + sessions: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SessionFindManyArgs" + organizations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserCountOutputTypeArgs" + OrganizationInclude: + type: object + properties: + projects: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectFindManyArgs" + users: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationCountOutputTypeArgs" + UserOrganizationInclude: + type: object + properties: + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + organization: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationArgs" + ProjectInclude: + type: object + properties: + organization: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationArgs" + databases: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectCountOutputTypeArgs" + AgentInclude: + type: object + properties: + databases: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentCountOutputTypeArgs" + DatabaseInclude: + type: object + properties: + agent: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentArgs" + backups: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupFindManyArgs" + restorations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationFindManyArgs" + project: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseCountOutputTypeArgs" + BackupInclude: + type: object + properties: + database: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseArgs" + restorations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupCountOutputTypeArgs" + RestorationInclude: + type: object + properties: + backup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupArgs" + database: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseArgs" + UserCountOutputTypeSelect: + type: object + properties: + accounts: + type: boolean + sessions: + type: boolean + organizations: + type: boolean + OrganizationCountOutputTypeSelect: + type: object + properties: + projects: + type: boolean + users: + type: boolean + ProjectCountOutputTypeSelect: + type: object + properties: + databases: + type: boolean + AgentCountOutputTypeSelect: + type: object + properties: + databases: + type: boolean + DatabaseCountOutputTypeSelect: + type: object + properties: + backups: + type: boolean + restorations: + type: boolean + BackupCountOutputTypeSelect: + type: object + properties: + restorations: + type: boolean + UserCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserCountOutputTypeSelect" + OrganizationCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/OrganizationCountOutputTypeSelect" + ProjectCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/ProjectCountOutputTypeSelect" + AgentCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AgentCountOutputTypeSelect" + DatabaseCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/DatabaseCountOutputTypeSelect" + BackupCountOutputTypeArgs: + type: object + properties: + select: + $ref: "#/components/schemas/BackupCountOutputTypeSelect" + AccountSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + type: + type: boolean + provider: + type: boolean + providerAccountId: + type: boolean + refresh_token: + type: boolean + access_token: + type: boolean + expires_at: + type: boolean + token_type: + type: boolean + scope: + type: boolean + id_token: + type: boolean + session_state: + type: boolean + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + SessionSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + sessionToken: + type: boolean + userId: + type: boolean + expires: + type: boolean + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + VerificationTokenSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + identifier: + type: boolean + token: + type: boolean + expires: + type: boolean + UserSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + email: + type: boolean + emailVerified: + type: boolean + image: + type: boolean + role: + type: boolean + password: + type: boolean + authMethod: + type: boolean + deleted: + type: boolean + accounts: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AccountFindManyArgs" + sessions: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SessionFindManyArgs" + organizations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserCountOutputTypeArgs" + OrganizationSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + projects: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectFindManyArgs" + users: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationCountOutputTypeArgs" + UserOrganizationSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + organizationId: + type: boolean + user: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserArgs" + organization: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationArgs" + ProjectSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + organizationId: + type: boolean + organization: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationArgs" + databases: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectCountOutputTypeArgs" + AgentSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + description: + type: boolean + lastContact: + type: boolean + databases: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentCountOutputTypeArgs" + DatabaseSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + dbms: + type: boolean + generatedId: + type: boolean + description: + type: boolean + backupPolicy: + type: boolean + isWaitingForBackup: + type: boolean + backupToRestore: + type: boolean + agentId: + type: boolean + agent: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentArgs" + lastContact: + type: boolean + backups: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupFindManyArgs" + restorations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationFindManyArgs" + projectId: + type: boolean + project: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseCountOutputTypeArgs" + BackupSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + file: + type: boolean + databaseId: + type: boolean + database: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseArgs" + restorations: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationFindManyArgs" + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupCountOutputTypeArgs" + RestorationSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + backupId: + type: boolean + backup: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupArgs" + databaseId: + type: boolean + database: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseArgs" + SettingsSelect: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + storage: + type: boolean + name: + type: boolean + s3EndPointUrl: + type: boolean + s3AccessKeyId: + type: boolean + s3SecretAccessKey: + type: boolean + S3BucketName: + type: boolean + smtpPassword: + type: boolean + smtpFrom: + type: boolean + smtpHost: + type: boolean + smtpPort: + type: boolean + smtpUser: + type: boolean + AccountCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + type: + type: boolean + provider: + type: boolean + providerAccountId: + type: boolean + refresh_token: + type: boolean + access_token: + type: boolean + expires_at: + type: boolean + token_type: + type: boolean + scope: + type: boolean + id_token: + type: boolean + session_state: + type: boolean + _all: + type: boolean + AccountAvgAggregateInput: + type: object + properties: + expires_at: + type: boolean + AccountSumAggregateInput: + type: object + properties: + expires_at: + type: boolean + AccountMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + type: + type: boolean + provider: + type: boolean + providerAccountId: + type: boolean + refresh_token: + type: boolean + access_token: + type: boolean + expires_at: + type: boolean + token_type: + type: boolean + scope: + type: boolean + id_token: + type: boolean + session_state: + type: boolean + AccountMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + type: + type: boolean + provider: + type: boolean + providerAccountId: + type: boolean + refresh_token: + type: boolean + access_token: + type: boolean + expires_at: + type: boolean + token_type: + type: boolean + scope: + type: boolean + id_token: + type: boolean + session_state: + type: boolean + SessionCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + sessionToken: + type: boolean + userId: + type: boolean + expires: + type: boolean + _all: + type: boolean + SessionMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + sessionToken: + type: boolean + userId: + type: boolean + expires: + type: boolean + SessionMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + sessionToken: + type: boolean + userId: + type: boolean + expires: + type: boolean + VerificationTokenCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + identifier: + type: boolean + token: + type: boolean + expires: + type: boolean + _all: + type: boolean + VerificationTokenMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + identifier: + type: boolean + token: + type: boolean + expires: + type: boolean + VerificationTokenMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + identifier: + type: boolean + token: + type: boolean + expires: + type: boolean + UserCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + email: + type: boolean + emailVerified: + type: boolean + image: + type: boolean + role: + type: boolean + password: + type: boolean + authMethod: + type: boolean + deleted: + type: boolean + _all: + type: boolean + UserMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + email: + type: boolean + emailVerified: + type: boolean + image: + type: boolean + role: + type: boolean + password: + type: boolean + authMethod: + type: boolean + deleted: + type: boolean + UserMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + email: + type: boolean + emailVerified: + type: boolean + image: + type: boolean + role: + type: boolean + password: + type: boolean + authMethod: + type: boolean + deleted: + type: boolean + OrganizationCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + _all: + type: boolean + OrganizationMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + OrganizationMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + UserOrganizationCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + organizationId: + type: boolean + _all: + type: boolean + UserOrganizationMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + organizationId: + type: boolean + UserOrganizationMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + userId: + type: boolean + organizationId: + type: boolean + ProjectCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + organizationId: + type: boolean + _all: + type: boolean + ProjectMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + organizationId: + type: boolean + ProjectMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + organizationId: + type: boolean + AgentCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + description: + type: boolean + lastContact: + type: boolean + _all: + type: boolean + AgentMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + description: + type: boolean + lastContact: + type: boolean + AgentMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + slug: + type: boolean + name: + type: boolean + description: + type: boolean + lastContact: + type: boolean + DatabaseCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + dbms: + type: boolean + generatedId: + type: boolean + description: + type: boolean + backupPolicy: + type: boolean + isWaitingForBackup: + type: boolean + backupToRestore: + type: boolean + agentId: + type: boolean + lastContact: + type: boolean + projectId: + type: boolean + _all: + type: boolean + DatabaseMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + dbms: + type: boolean + generatedId: + type: boolean + description: + type: boolean + backupPolicy: + type: boolean + isWaitingForBackup: + type: boolean + backupToRestore: + type: boolean + agentId: + type: boolean + lastContact: + type: boolean + projectId: + type: boolean + DatabaseMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + name: + type: boolean + dbms: + type: boolean + generatedId: + type: boolean + description: + type: boolean + backupPolicy: + type: boolean + isWaitingForBackup: + type: boolean + backupToRestore: + type: boolean + agentId: + type: boolean + lastContact: + type: boolean + projectId: + type: boolean + BackupCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + file: + type: boolean + databaseId: + type: boolean + _all: + type: boolean + BackupMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + file: + type: boolean + databaseId: + type: boolean + BackupMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + file: + type: boolean + databaseId: + type: boolean + RestorationCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + backupId: + type: boolean + databaseId: + type: boolean + _all: + type: boolean + RestorationMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + backupId: + type: boolean + databaseId: + type: boolean + RestorationMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + status: + type: boolean + backupId: + type: boolean + databaseId: + type: boolean + SettingsCountAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + storage: + type: boolean + name: + type: boolean + s3EndPointUrl: + type: boolean + s3AccessKeyId: + type: boolean + s3SecretAccessKey: + type: boolean + S3BucketName: + type: boolean + smtpPassword: + type: boolean + smtpFrom: + type: boolean + smtpHost: + type: boolean + smtpPort: + type: boolean + smtpUser: + type: boolean + _all: + type: boolean + SettingsMinAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + storage: + type: boolean + name: + type: boolean + s3EndPointUrl: + type: boolean + s3AccessKeyId: + type: boolean + s3SecretAccessKey: + type: boolean + S3BucketName: + type: boolean + smtpPassword: + type: boolean + smtpFrom: + type: boolean + smtpHost: + type: boolean + smtpPort: + type: boolean + smtpUser: + type: boolean + SettingsMaxAggregateInput: + type: object + properties: + id: + type: boolean + createdAt: + type: boolean + updatedAt: + type: boolean + storage: + type: boolean + name: + type: boolean + s3EndPointUrl: + type: boolean + s3AccessKeyId: + type: boolean + s3SecretAccessKey: + type: boolean + S3BucketName: + type: boolean + smtpPassword: + type: boolean + smtpFrom: + type: boolean + smtpHost: + type: boolean + smtpPort: + type: boolean + smtpUser: + type: boolean + AggregateAccount: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountCountAggregateOutputType" + _avg: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountAvgAggregateOutputType" + _sum: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountSumAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountMaxAggregateOutputType" + AccountGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + type: + type: string + provider: + type: string + providerAccountId: + type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountCountAggregateOutputType" + _avg: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountAvgAggregateOutputType" + _sum: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountSumAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AccountMaxAggregateOutputType" + required: + - id + - createdAt + - userId + - type + - provider + - providerAccountId + AggregateSession: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionMaxAggregateOutputType" + SessionGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + type: string + userId: + type: string + expires: + type: string + format: date-time + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SessionMaxAggregateOutputType" + required: + - id + - createdAt + - sessionToken + - userId + - expires + AggregateVerificationToken: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenMaxAggregateOutputType" + VerificationTokenGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + type: string + token: + type: string + expires: + type: string + format: date-time + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/VerificationTokenMaxAggregateOutputType" + required: + - id + - createdAt + - identifier + - token + - expires + AggregateUser: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserMaxAggregateOutputType" + UserGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserMaxAggregateOutputType" + required: + - id + - createdAt + - role + AggregateOrganization: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationMaxAggregateOutputType" + OrganizationGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/OrganizationMaxAggregateOutputType" + required: + - id + - createdAt + - slug + - name + AggregateUserOrganization: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationMaxAggregateOutputType" + UserOrganizationGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + type: string + organizationId: + type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/UserOrganizationMaxAggregateOutputType" + required: + - id + - createdAt + - userId + - organizationId + AggregateProject: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectMaxAggregateOutputType" + ProjectGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + organizationId: + type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/ProjectMaxAggregateOutputType" + required: + - id + - createdAt + - slug + - name + - organizationId + AggregateAgent: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentMaxAggregateOutputType" + AgentGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + type: string + name: + type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/AgentMaxAggregateOutputType" + required: + - id + - createdAt + - slug + - name + AggregateDatabase: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseMaxAggregateOutputType" + DatabaseGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + type: string + dbms: + $ref: "#/components/schemas/Dbms" + generatedId: + type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/DatabaseMaxAggregateOutputType" + required: + - id + - createdAt + - name + - dbms + - generatedId + - agentId + AggregateBackup: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupMaxAggregateOutputType" + BackupGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/BackupMaxAggregateOutputType" + required: + - id + - createdAt + - status + - databaseId + AggregateRestoration: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationMaxAggregateOutputType" + RestorationGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + $ref: "#/components/schemas/Status" + backupId: + type: string + databaseId: + oneOf: + - type: "null" + - type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/RestorationMaxAggregateOutputType" + required: + - id + - createdAt + - status + - backupId + AggregateSettings: + type: object + properties: + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsMaxAggregateOutputType" + SettingsGroupByOutputType: + type: object + properties: + id: + type: string + createdAt: + type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + $ref: "#/components/schemas/TypeStorage" + name: + type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + _count: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsCountAggregateOutputType" + _min: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsMinAggregateOutputType" + _max: + oneOf: + - type: "null" + - $ref: "#/components/schemas/SettingsMaxAggregateOutputType" + required: + - id + - createdAt + - storage + - name + AccountCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + userId: + type: integer + type: + type: integer + provider: + type: integer + providerAccountId: + type: integer + refresh_token: + type: integer + access_token: + type: integer + expires_at: + type: integer + token_type: + type: integer + scope: + type: integer + id_token: + type: integer + session_state: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - userId + - type + - provider + - providerAccountId + - refresh_token + - access_token + - expires_at + - token_type + - scope + - id_token + - session_state + - _all + AccountAvgAggregateOutputType: + type: object + properties: + expires_at: + oneOf: + - type: "null" + - type: number + AccountSumAggregateOutputType: + type: object + properties: + expires_at: + oneOf: + - type: "null" + - type: integer + AccountMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + oneOf: + - type: "null" + - type: string + type: + oneOf: + - type: "null" + - type: string + provider: + oneOf: + - type: "null" + - type: string + providerAccountId: + oneOf: + - type: "null" + - type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + AccountMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + oneOf: + - type: "null" + - type: string + type: + oneOf: + - type: "null" + - type: string + provider: + oneOf: + - type: "null" + - type: string + providerAccountId: + oneOf: + - type: "null" + - type: string + refresh_token: + oneOf: + - type: "null" + - type: string + access_token: + oneOf: + - type: "null" + - type: string + expires_at: + oneOf: + - type: "null" + - type: integer + token_type: + oneOf: + - type: "null" + - type: string + scope: + oneOf: + - type: "null" + - type: string + id_token: + oneOf: + - type: "null" + - type: string + session_state: + oneOf: + - type: "null" + - type: string + SessionCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + sessionToken: + type: integer + userId: + type: integer + expires: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - sessionToken + - userId + - expires + - _all + SessionMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + oneOf: + - type: "null" + - type: string + userId: + oneOf: + - type: "null" + - type: string + expires: + oneOf: + - type: "null" + - type: string + format: date-time + SessionMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + sessionToken: + oneOf: + - type: "null" + - type: string + userId: + oneOf: + - type: "null" + - type: string + expires: + oneOf: + - type: "null" + - type: string + format: date-time + VerificationTokenCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + identifier: + type: integer + token: + type: integer + expires: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - identifier + - token + - expires + - _all + VerificationTokenMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + oneOf: + - type: "null" + - type: string + token: + oneOf: + - type: "null" + - type: string + expires: + oneOf: + - type: "null" + - type: string + format: date-time + VerificationTokenMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + identifier: + oneOf: + - type: "null" + - type: string + token: + oneOf: + - type: "null" + - type: string + expires: + oneOf: + - type: "null" + - type: string + format: date-time + UserCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + name: + type: integer + email: + type: integer + emailVerified: + type: integer + image: + type: integer + role: + type: integer + password: + type: integer + authMethod: + type: integer + deleted: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - name + - email + - emailVerified + - image + - role + - password + - authMethod + - deleted + - _all + UserMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + UserMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + email: + oneOf: + - type: "null" + - type: string + emailVerified: + oneOf: + - type: "null" + - type: string + format: date-time + image: + oneOf: + - type: "null" + - type: string + role: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Role" + password: + oneOf: + - type: "null" + - type: string + authMethod: + oneOf: + - type: "null" + - type: string + deleted: + oneOf: + - type: "null" + - type: boolean + OrganizationCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + slug: + type: integer + name: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - slug + - name + - _all + OrganizationMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + OrganizationMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + UserOrganizationCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + userId: + type: integer + organizationId: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - userId + - organizationId + - _all + UserOrganizationMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + oneOf: + - type: "null" + - type: string + organizationId: + oneOf: + - type: "null" + - type: string + UserOrganizationMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + userId: + oneOf: + - type: "null" + - type: string + organizationId: + oneOf: + - type: "null" + - type: string + ProjectCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + slug: + type: integer + name: + type: integer + organizationId: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - slug + - name + - organizationId + - _all + ProjectMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + organizationId: + oneOf: + - type: "null" + - type: string + ProjectMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + organizationId: + oneOf: + - type: "null" + - type: string + AgentCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + slug: + type: integer + name: + type: integer + description: + type: integer + lastContact: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - slug + - name + - description + - lastContact + - _all + AgentMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + AgentMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + slug: + oneOf: + - type: "null" + - type: string + name: + oneOf: + - type: "null" + - type: string + description: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + DatabaseCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + name: + type: integer + dbms: + type: integer + generatedId: + type: integer + description: + type: integer + backupPolicy: + type: integer + isWaitingForBackup: + type: integer + backupToRestore: + type: integer + agentId: + type: integer + lastContact: + type: integer + projectId: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - name + - dbms + - generatedId + - description + - backupPolicy + - isWaitingForBackup + - backupToRestore + - agentId + - lastContact + - projectId + - _all + DatabaseMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + dbms: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Dbms" + generatedId: + oneOf: + - type: "null" + - type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + DatabaseMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + name: + oneOf: + - type: "null" + - type: string + dbms: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Dbms" + generatedId: + oneOf: + - type: "null" + - type: string + description: + oneOf: + - type: "null" + - type: string + backupPolicy: + oneOf: + - type: "null" + - type: string + isWaitingForBackup: + oneOf: + - type: "null" + - type: boolean + backupToRestore: + oneOf: + - type: "null" + - type: string + agentId: + oneOf: + - type: "null" + - type: string + lastContact: + oneOf: + - type: "null" + - type: string + format: date-time + projectId: + oneOf: + - type: "null" + - type: string + BackupCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + status: + type: integer + file: + type: integer + databaseId: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - status + - file + - databaseId + - _all + BackupMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + oneOf: + - type: "null" + - type: string + BackupMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Status" + file: + oneOf: + - type: "null" + - type: string + databaseId: + oneOf: + - type: "null" + - type: string + RestorationCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + status: + type: integer + backupId: + type: integer + databaseId: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - status + - backupId + - databaseId + - _all + RestorationMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - type: "null" + - type: string + databaseId: + oneOf: + - type: "null" + - type: string + RestorationMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + status: + oneOf: + - type: "null" + - $ref: "#/components/schemas/Status" + backupId: + oneOf: + - type: "null" + - type: string + databaseId: + oneOf: + - type: "null" + - type: string + SettingsCountAggregateOutputType: + type: object + properties: + id: + type: integer + createdAt: + type: integer + updatedAt: + type: integer + storage: + type: integer + name: + type: integer + s3EndPointUrl: + type: integer + s3AccessKeyId: + type: integer + s3SecretAccessKey: + type: integer + S3BucketName: + type: integer + smtpPassword: + type: integer + smtpFrom: + type: integer + smtpHost: + type: integer + smtpPort: + type: integer + smtpUser: + type: integer + _all: + type: integer + required: + - id + - createdAt + - updatedAt + - storage + - name + - s3EndPointUrl + - s3AccessKeyId + - s3SecretAccessKey + - S3BucketName + - smtpPassword + - smtpFrom + - smtpHost + - smtpPort + - smtpUser + - _all + SettingsMinAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + oneOf: + - type: "null" + - $ref: "#/components/schemas/TypeStorage" + name: + oneOf: + - type: "null" + - type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + SettingsMaxAggregateOutputType: + type: object + properties: + id: + oneOf: + - type: "null" + - type: string + createdAt: + oneOf: + - type: "null" + - type: string + format: date-time + updatedAt: + oneOf: + - type: "null" + - type: string + format: date-time + storage: + oneOf: + - type: "null" + - $ref: "#/components/schemas/TypeStorage" + name: + oneOf: + - type: "null" + - type: string + s3EndPointUrl: + oneOf: + - type: "null" + - type: string + s3AccessKeyId: + oneOf: + - type: "null" + - type: string + s3SecretAccessKey: + oneOf: + - type: "null" + - type: string + S3BucketName: + oneOf: + - type: "null" + - type: string + smtpPassword: + oneOf: + - type: "null" + - type: string + smtpFrom: + oneOf: + - type: "null" + - type: string + smtpHost: + oneOf: + - type: "null" + - type: string + smtpPort: + oneOf: + - type: "null" + - type: string + smtpUser: + oneOf: + - type: "null" + - type: string + _Meta: + type: object + description: Meta information about the request or response + properties: + serialization: + description: Serialization metadata + additionalProperties: true + _Error: + type: object + required: + - error + properties: + error: + type: object + required: + - message + properties: + prisma: + type: boolean + description: Indicates if the error occurred during a Prisma call + rejectedByPolicy: + type: boolean + description: Indicates if the error was due to rejection by a policy + code: + type: string + description: Prisma error code. Only available when "prisma" field is true. + message: + type: string + description: Error message + reason: + type: string + description: Detailed error reason + zodErrors: + type: object + additionalProperties: true + description: Zod validation errors if the error is due to data validation + failure + additionalProperties: true + BatchPayload: + type: object + properties: + count: + type: integer + AccountCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + data: + $ref: "#/components/schemas/AccountCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/AccountCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/AccountCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + AccountFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + data: + $ref: "#/components/schemas/AccountUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/AccountWhereInput" + data: + $ref: "#/components/schemas/AccountUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + create: + $ref: "#/components/schemas/AccountCreateInput" + update: + $ref: "#/components/schemas/AccountUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/AccountSelect" + include: + $ref: "#/components/schemas/AccountInclude" + where: + $ref: "#/components/schemas/AccountWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AccountSelect" + where: + $ref: "#/components/schemas/AccountWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereInput" + orderBy: + $ref: "#/components/schemas/AccountOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/AccountWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AccountCountAggregateInput" + _min: + $ref: "#/components/schemas/AccountMinAggregateInput" + _max: + $ref: "#/components/schemas/AccountMaxAggregateInput" + _sum: + $ref: "#/components/schemas/AccountSumAggregateInput" + _avg: + $ref: "#/components/schemas/AccountAvgAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + AccountGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AccountWhereInput" + orderBy: + $ref: "#/components/schemas/AccountOrderByWithRelationInput" + by: + $ref: "#/components/schemas/AccountScalarFieldEnum" + having: + $ref: "#/components/schemas/AccountScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AccountCountAggregateInput" + _min: + $ref: "#/components/schemas/AccountMinAggregateInput" + _max: + $ref: "#/components/schemas/AccountMaxAggregateInput" + _sum: + $ref: "#/components/schemas/AccountSumAggregateInput" + _avg: + $ref: "#/components/schemas/AccountAvgAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + data: + $ref: "#/components/schemas/SessionCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/SessionCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/SessionCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + SessionFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + data: + $ref: "#/components/schemas/SessionUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/SessionWhereInput" + data: + $ref: "#/components/schemas/SessionUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + create: + $ref: "#/components/schemas/SessionCreateInput" + update: + $ref: "#/components/schemas/SessionUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/SessionSelect" + include: + $ref: "#/components/schemas/SessionInclude" + where: + $ref: "#/components/schemas/SessionWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SessionSelect" + where: + $ref: "#/components/schemas/SessionWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereInput" + orderBy: + $ref: "#/components/schemas/SessionOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/SessionWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SessionCountAggregateInput" + _min: + $ref: "#/components/schemas/SessionMinAggregateInput" + _max: + $ref: "#/components/schemas/SessionMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + SessionGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SessionWhereInput" + orderBy: + $ref: "#/components/schemas/SessionOrderByWithRelationInput" + by: + $ref: "#/components/schemas/SessionScalarFieldEnum" + having: + $ref: "#/components/schemas/SessionScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SessionCountAggregateInput" + _min: + $ref: "#/components/schemas/SessionMinAggregateInput" + _max: + $ref: "#/components/schemas/SessionMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + data: + $ref: "#/components/schemas/VerificationTokenCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/VerificationTokenCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/VerificationTokenCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereUniqueInput" + data: + $ref: "#/components/schemas/VerificationTokenUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + data: + $ref: "#/components/schemas/VerificationTokenUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereUniqueInput" + create: + $ref: "#/components/schemas/VerificationTokenCreateInput" + update: + $ref: "#/components/schemas/VerificationTokenUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/VerificationTokenSelect" + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + orderBy: + $ref: "#/components/schemas/VerificationTokenOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/VerificationTokenWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/VerificationTokenCountAggregateInput" + _min: + $ref: "#/components/schemas/VerificationTokenMinAggregateInput" + _max: + $ref: "#/components/schemas/VerificationTokenMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + VerificationTokenGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/VerificationTokenWhereInput" + orderBy: + $ref: "#/components/schemas/VerificationTokenOrderByWithRelationInput" + by: + $ref: "#/components/schemas/VerificationTokenScalarFieldEnum" + having: + $ref: "#/components/schemas/VerificationTokenScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/VerificationTokenCountAggregateInput" + _min: + $ref: "#/components/schemas/VerificationTokenMinAggregateInput" + _max: + $ref: "#/components/schemas/VerificationTokenMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + data: + $ref: "#/components/schemas/UserCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/UserCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/UserCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + UserFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + UserFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + data: + $ref: "#/components/schemas/UserUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + data: + $ref: "#/components/schemas/UserUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + UserUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + create: + $ref: "#/components/schemas/UserCreateInput" + update: + $ref: "#/components/schemas/UserUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/UserSelect" + include: + $ref: "#/components/schemas/UserInclude" + where: + $ref: "#/components/schemas/UserWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + UserDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserSelect" + where: + $ref: "#/components/schemas/UserWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + orderBy: + $ref: "#/components/schemas/UserOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/UserWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserCountAggregateInput" + _min: + $ref: "#/components/schemas/UserMinAggregateInput" + _max: + $ref: "#/components/schemas/UserMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserWhereInput" + orderBy: + $ref: "#/components/schemas/UserOrderByWithRelationInput" + by: + $ref: "#/components/schemas/UserScalarFieldEnum" + having: + $ref: "#/components/schemas/UserScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserCountAggregateInput" + _min: + $ref: "#/components/schemas/UserMinAggregateInput" + _max: + $ref: "#/components/schemas/UserMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + data: + $ref: "#/components/schemas/OrganizationCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/OrganizationCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/OrganizationCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + OrganizationFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + data: + $ref: "#/components/schemas/OrganizationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + data: + $ref: "#/components/schemas/OrganizationUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + create: + $ref: "#/components/schemas/OrganizationCreateInput" + update: + $ref: "#/components/schemas/OrganizationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + include: + $ref: "#/components/schemas/OrganizationInclude" + where: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/OrganizationSelect" + where: + $ref: "#/components/schemas/OrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + orderBy: + $ref: "#/components/schemas/OrganizationOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/OrganizationWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationCountAggregateInput" + _min: + $ref: "#/components/schemas/OrganizationMinAggregateInput" + _max: + $ref: "#/components/schemas/OrganizationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + OrganizationGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/OrganizationWhereInput" + orderBy: + $ref: "#/components/schemas/OrganizationOrderByWithRelationInput" + by: + $ref: "#/components/schemas/OrganizationScalarFieldEnum" + having: + $ref: "#/components/schemas/OrganizationScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/OrganizationCountAggregateInput" + _min: + $ref: "#/components/schemas/OrganizationMinAggregateInput" + _max: + $ref: "#/components/schemas/OrganizationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + data: + $ref: "#/components/schemas/UserOrganizationCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/UserOrganizationCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/UserOrganizationCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + data: + $ref: "#/components/schemas/UserOrganizationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + data: + $ref: "#/components/schemas/UserOrganizationUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + create: + $ref: "#/components/schemas/UserOrganizationCreateInput" + update: + $ref: "#/components/schemas/UserOrganizationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + include: + $ref: "#/components/schemas/UserOrganizationInclude" + where: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/UserOrganizationSelect" + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + orderBy: + $ref: "#/components/schemas/UserOrganizationOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/UserOrganizationWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationCountAggregateInput" + _min: + $ref: "#/components/schemas/UserOrganizationMinAggregateInput" + _max: + $ref: "#/components/schemas/UserOrganizationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + UserOrganizationGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/UserOrganizationWhereInput" + orderBy: + $ref: "#/components/schemas/UserOrganizationOrderByWithRelationInput" + by: + $ref: "#/components/schemas/UserOrganizationScalarFieldEnum" + having: + $ref: "#/components/schemas/UserOrganizationScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/UserOrganizationCountAggregateInput" + _min: + $ref: "#/components/schemas/UserOrganizationMinAggregateInput" + _max: + $ref: "#/components/schemas/UserOrganizationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + data: + $ref: "#/components/schemas/ProjectCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/ProjectCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/ProjectCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + ProjectFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + data: + $ref: "#/components/schemas/ProjectUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/ProjectWhereInput" + data: + $ref: "#/components/schemas/ProjectUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + create: + $ref: "#/components/schemas/ProjectCreateInput" + update: + $ref: "#/components/schemas/ProjectUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + include: + $ref: "#/components/schemas/ProjectInclude" + where: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/ProjectSelect" + where: + $ref: "#/components/schemas/ProjectWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereInput" + orderBy: + $ref: "#/components/schemas/ProjectOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/ProjectWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectCountAggregateInput" + _min: + $ref: "#/components/schemas/ProjectMinAggregateInput" + _max: + $ref: "#/components/schemas/ProjectMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + ProjectGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/ProjectWhereInput" + orderBy: + $ref: "#/components/schemas/ProjectOrderByWithRelationInput" + by: + $ref: "#/components/schemas/ProjectScalarFieldEnum" + having: + $ref: "#/components/schemas/ProjectScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/ProjectCountAggregateInput" + _min: + $ref: "#/components/schemas/ProjectMinAggregateInput" + _max: + $ref: "#/components/schemas/ProjectMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + data: + $ref: "#/components/schemas/AgentCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/AgentCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/AgentCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + AgentFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereUniqueInput" + data: + $ref: "#/components/schemas/AgentUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/AgentWhereInput" + data: + $ref: "#/components/schemas/AgentUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereUniqueInput" + create: + $ref: "#/components/schemas/AgentCreateInput" + update: + $ref: "#/components/schemas/AgentUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/AgentSelect" + include: + $ref: "#/components/schemas/AgentInclude" + where: + $ref: "#/components/schemas/AgentWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AgentWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/AgentSelect" + where: + $ref: "#/components/schemas/AgentWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AgentWhereInput" + orderBy: + $ref: "#/components/schemas/AgentOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/AgentWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentCountAggregateInput" + _min: + $ref: "#/components/schemas/AgentMinAggregateInput" + _max: + $ref: "#/components/schemas/AgentMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + AgentGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/AgentWhereInput" + orderBy: + $ref: "#/components/schemas/AgentOrderByWithRelationInput" + by: + $ref: "#/components/schemas/AgentScalarFieldEnum" + having: + $ref: "#/components/schemas/AgentScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/AgentCountAggregateInput" + _min: + $ref: "#/components/schemas/AgentMinAggregateInput" + _max: + $ref: "#/components/schemas/AgentMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + data: + $ref: "#/components/schemas/DatabaseCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/DatabaseCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/DatabaseCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + DatabaseFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + data: + $ref: "#/components/schemas/DatabaseUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + data: + $ref: "#/components/schemas/DatabaseUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + create: + $ref: "#/components/schemas/DatabaseCreateInput" + update: + $ref: "#/components/schemas/DatabaseUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + include: + $ref: "#/components/schemas/DatabaseInclude" + where: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/DatabaseSelect" + where: + $ref: "#/components/schemas/DatabaseWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + orderBy: + $ref: "#/components/schemas/DatabaseOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/DatabaseWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseCountAggregateInput" + _min: + $ref: "#/components/schemas/DatabaseMinAggregateInput" + _max: + $ref: "#/components/schemas/DatabaseMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + DatabaseGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/DatabaseWhereInput" + orderBy: + $ref: "#/components/schemas/DatabaseOrderByWithRelationInput" + by: + $ref: "#/components/schemas/DatabaseScalarFieldEnum" + having: + $ref: "#/components/schemas/DatabaseScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/DatabaseCountAggregateInput" + _min: + $ref: "#/components/schemas/DatabaseMinAggregateInput" + _max: + $ref: "#/components/schemas/DatabaseMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + data: + $ref: "#/components/schemas/BackupCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/BackupCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/BackupCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + BackupFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + data: + $ref: "#/components/schemas/BackupUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/BackupWhereInput" + data: + $ref: "#/components/schemas/BackupUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + create: + $ref: "#/components/schemas/BackupCreateInput" + update: + $ref: "#/components/schemas/BackupUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/BackupSelect" + include: + $ref: "#/components/schemas/BackupInclude" + where: + $ref: "#/components/schemas/BackupWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/BackupSelect" + where: + $ref: "#/components/schemas/BackupWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereInput" + orderBy: + $ref: "#/components/schemas/BackupOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/BackupWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupCountAggregateInput" + _min: + $ref: "#/components/schemas/BackupMinAggregateInput" + _max: + $ref: "#/components/schemas/BackupMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + BackupGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/BackupWhereInput" + orderBy: + $ref: "#/components/schemas/BackupOrderByWithRelationInput" + by: + $ref: "#/components/schemas/BackupScalarFieldEnum" + having: + $ref: "#/components/schemas/BackupScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/BackupCountAggregateInput" + _min: + $ref: "#/components/schemas/BackupMinAggregateInput" + _max: + $ref: "#/components/schemas/BackupMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + data: + $ref: "#/components/schemas/RestorationCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/RestorationCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/RestorationCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + RestorationFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + data: + $ref: "#/components/schemas/RestorationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/RestorationWhereInput" + data: + $ref: "#/components/schemas/RestorationUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + create: + $ref: "#/components/schemas/RestorationCreateInput" + update: + $ref: "#/components/schemas/RestorationUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + include: + $ref: "#/components/schemas/RestorationInclude" + where: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/RestorationSelect" + where: + $ref: "#/components/schemas/RestorationWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereInput" + orderBy: + $ref: "#/components/schemas/RestorationOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/RestorationWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationCountAggregateInput" + _min: + $ref: "#/components/schemas/RestorationMinAggregateInput" + _max: + $ref: "#/components/schemas/RestorationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + RestorationGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/RestorationWhereInput" + orderBy: + $ref: "#/components/schemas/RestorationOrderByWithRelationInput" + by: + $ref: "#/components/schemas/RestorationScalarFieldEnum" + having: + $ref: "#/components/schemas/RestorationScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/RestorationCountAggregateInput" + _min: + $ref: "#/components/schemas/RestorationMinAggregateInput" + _max: + $ref: "#/components/schemas/RestorationMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsCreateArgs: + type: object + required: + - data + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + data: + $ref: "#/components/schemas/SettingsCreateInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsCreateManyArgs: + type: object + required: + - data + properties: + data: + oneOf: + - $ref: "#/components/schemas/SettingsCreateManyInput" + - type: array + items: + $ref: "#/components/schemas/SettingsCreateManyInput" + skipDuplicates: + type: boolean + description: Do not insert records with unique fields or ID fields that already + exist. + meta: + $ref: "#/components/schemas/_Meta" + SettingsFindUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsFindFirstArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsFindManyArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsUpdateArgs: + type: object + required: + - where + - data + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereUniqueInput" + data: + $ref: "#/components/schemas/SettingsUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsUpdateManyArgs: + type: object + required: + - data + properties: + where: + $ref: "#/components/schemas/SettingsWhereInput" + data: + $ref: "#/components/schemas/SettingsUpdateManyMutationInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsUpsertArgs: + type: object + required: + - create + - update + - where + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereUniqueInput" + create: + $ref: "#/components/schemas/SettingsCreateInput" + update: + $ref: "#/components/schemas/SettingsUpdateInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsDeleteUniqueArgs: + type: object + required: + - where + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereUniqueInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsDeleteManyArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SettingsWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsCountArgs: + type: object + properties: + select: + $ref: "#/components/schemas/SettingsSelect" + where: + $ref: "#/components/schemas/SettingsWhereInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsAggregateArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SettingsWhereInput" + orderBy: + $ref: "#/components/schemas/SettingsOrderByWithRelationInput" + cursor: + $ref: "#/components/schemas/SettingsWhereUniqueInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SettingsCountAggregateInput" + _min: + $ref: "#/components/schemas/SettingsMinAggregateInput" + _max: + $ref: "#/components/schemas/SettingsMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" + SettingsGroupByArgs: + type: object + properties: + where: + $ref: "#/components/schemas/SettingsWhereInput" + orderBy: + $ref: "#/components/schemas/SettingsOrderByWithRelationInput" + by: + $ref: "#/components/schemas/SettingsScalarFieldEnum" + having: + $ref: "#/components/schemas/SettingsScalarWhereWithAggregatesInput" + take: + type: integer + skip: + type: integer + _count: + oneOf: + - type: boolean + - $ref: "#/components/schemas/SettingsCountAggregateInput" + _min: + $ref: "#/components/schemas/SettingsMinAggregateInput" + _max: + $ref: "#/components/schemas/SettingsMaxAggregateInput" + meta: + $ref: "#/components/schemas/_Meta" +paths: + /account/create: + post: + operationId: createAccount + description: Create a new Account + tags: + - account + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AccountCreateArgs" + /account/createMany: + post: + operationId: createManyAccount + description: Create several Account + tags: + - account + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AccountCreateManyArgs" + /account/findUnique: + get: + operationId: findUniqueAccount + description: Find one unique Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/findFirst: + get: + operationId: findFirstAccount + description: Find the first Account matching the given condition + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/findMany: + get: + operationId: findManyAccount + description: Find a list of Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/update: + patch: + operationId: updateAccount + description: Update a Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AccountUpdateArgs" + /account/updateMany: + patch: + operationId: updateManyAccount + description: Update Accounts matching the given condition + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AccountUpdateManyArgs" + /account/upsert: + post: + operationId: upsertAccount + description: Upsert a Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AccountUpsertArgs" + /account/delete: + delete: + operationId: deleteAccount + description: Delete one unique Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Account" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/deleteMany: + delete: + operationId: deleteManyAccount + description: Delete Accounts matching the given condition + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/count: + get: + operationId: countAccount + description: Find a list of Account + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/AccountCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/aggregate: + get: + operationId: aggregateAccount + description: Aggregate Accounts + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateAccount" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /account/groupBy: + get: + operationId: groupByAccount + description: Group Accounts by fields + tags: + - account + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/AccountGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AccountGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/create: + post: + operationId: createSession + description: Create a new Session + tags: + - session + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SessionCreateArgs" + /session/createMany: + post: + operationId: createManySession + description: Create several Session + tags: + - session + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SessionCreateManyArgs" + /session/findUnique: + get: + operationId: findUniqueSession + description: Find one unique Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/findFirst: + get: + operationId: findFirstSession + description: Find the first Session matching the given condition + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/findMany: + get: + operationId: findManySession + description: Find a list of Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/update: + patch: + operationId: updateSession + description: Update a Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SessionUpdateArgs" + /session/updateMany: + patch: + operationId: updateManySession + description: Update Sessions matching the given condition + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SessionUpdateManyArgs" + /session/upsert: + post: + operationId: upsertSession + description: Upsert a Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SessionUpsertArgs" + /session/delete: + delete: + operationId: deleteSession + description: Delete one unique Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Session" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/deleteMany: + delete: + operationId: deleteManySession + description: Delete Sessions matching the given condition + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/count: + get: + operationId: countSession + description: Find a list of Session + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/SessionCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/aggregate: + get: + operationId: aggregateSession + description: Aggregate Sessions + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateSession" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /session/groupBy: + get: + operationId: groupBySession + description: Group Sessions by fields + tags: + - session + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/SessionGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SessionGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/create: + post: + operationId: createVerificationToken + description: Create a new VerificationToken + tags: + - verificationToken + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenCreateArgs" + /verificationToken/createMany: + post: + operationId: createManyVerificationToken + description: Create several VerificationToken + tags: + - verificationToken + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenCreateManyArgs" + /verificationToken/findUnique: + get: + operationId: findUniqueVerificationToken + description: Find one unique VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/findFirst: + get: + operationId: findFirstVerificationToken + description: Find the first VerificationToken matching the given condition + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/findMany: + get: + operationId: findManyVerificationToken + description: Find a list of VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/update: + patch: + operationId: updateVerificationToken + description: Update a VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenUpdateArgs" + /verificationToken/updateMany: + patch: + operationId: updateManyVerificationToken + description: Update VerificationTokens matching the given condition + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenUpdateManyArgs" + /verificationToken/upsert: + post: + operationId: upsertVerificationToken + description: Upsert a VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenUpsertArgs" + /verificationToken/delete: + delete: + operationId: deleteVerificationToken + description: Delete one unique VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/VerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/deleteMany: + delete: + operationId: deleteManyVerificationToken + description: Delete VerificationTokens matching the given condition + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/count: + get: + operationId: countVerificationToken + description: Find a list of VerificationToken + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/VerificationTokenCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/aggregate: + get: + operationId: aggregateVerificationToken + description: Aggregate VerificationTokens + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateVerificationToken" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /verificationToken/groupBy: + get: + operationId: groupByVerificationToken + description: Group VerificationTokens by fields + tags: + - verificationToken + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/VerificationTokenGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationTokenGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/create: + post: + operationId: createUser + description: Create a new User + tags: + - user + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserCreateArgs" + /user/createMany: + post: + operationId: createManyUser + description: Create several User + tags: + - user + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserCreateManyArgs" + /user/findUnique: + get: + operationId: findUniqueUser + description: Find one unique User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/findFirst: + get: + operationId: findFirstUser + description: Find the first User matching the given condition + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/findMany: + get: + operationId: findManyUser + description: Find a list of User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/update: + patch: + operationId: updateUser + description: Update a User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserUpdateArgs" + /user/updateMany: + patch: + operationId: updateManyUser + description: Update Users matching the given condition + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserUpdateManyArgs" + /user/upsert: + post: + operationId: upsertUser + description: Upsert a User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserUpsertArgs" + /user/delete: + delete: + operationId: deleteUser + description: Delete one unique User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/User" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/deleteMany: + delete: + operationId: deleteManyUser + description: Delete Users matching the given condition + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/count: + get: + operationId: countUser + description: Find a list of User + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/UserCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/aggregate: + get: + operationId: aggregateUser + description: Aggregate Users + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateUser" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /user/groupBy: + get: + operationId: groupByUser + description: Group Users by fields + tags: + - user + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/UserGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/create: + post: + operationId: createOrganization + description: Create a new Organization + tags: + - organization + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationCreateArgs" + /organization/createMany: + post: + operationId: createManyOrganization + description: Create several Organization + tags: + - organization + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationCreateManyArgs" + /organization/findUnique: + get: + operationId: findUniqueOrganization + description: Find one unique Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/findFirst: + get: + operationId: findFirstOrganization + description: Find the first Organization matching the given condition + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/findMany: + get: + operationId: findManyOrganization + description: Find a list of Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/update: + patch: + operationId: updateOrganization + description: Update a Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationUpdateArgs" + /organization/updateMany: + patch: + operationId: updateManyOrganization + description: Update Organizations matching the given condition + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationUpdateManyArgs" + /organization/upsert: + post: + operationId: upsertOrganization + description: Upsert a Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationUpsertArgs" + /organization/delete: + delete: + operationId: deleteOrganization + description: Delete one unique Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Organization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/deleteMany: + delete: + operationId: deleteManyOrganization + description: Delete Organizations matching the given condition + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/count: + get: + operationId: countOrganization + description: Find a list of Organization + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/OrganizationCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/aggregate: + get: + operationId: aggregateOrganization + description: Aggregate Organizations + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /organization/groupBy: + get: + operationId: groupByOrganization + description: Group Organizations by fields + tags: + - organization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/OrganizationGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/OrganizationGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/create: + post: + operationId: createUserOrganization + description: Create a new UserOrganization + tags: + - userOrganization + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationCreateArgs" + /userOrganization/createMany: + post: + operationId: createManyUserOrganization + description: Create several UserOrganization + tags: + - userOrganization + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationCreateManyArgs" + /userOrganization/findUnique: + get: + operationId: findUniqueUserOrganization + description: Find one unique UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/findFirst: + get: + operationId: findFirstUserOrganization + description: Find the first UserOrganization matching the given condition + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/findMany: + get: + operationId: findManyUserOrganization + description: Find a list of UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/update: + patch: + operationId: updateUserOrganization + description: Update a UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationUpdateArgs" + /userOrganization/updateMany: + patch: + operationId: updateManyUserOrganization + description: Update UserOrganizations matching the given condition + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationUpdateManyArgs" + /userOrganization/upsert: + post: + operationId: upsertUserOrganization + description: Upsert a UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationUpsertArgs" + /userOrganization/delete: + delete: + operationId: deleteUserOrganization + description: Delete one unique UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/UserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/deleteMany: + delete: + operationId: deleteManyUserOrganization + description: Delete UserOrganizations matching the given condition + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/count: + get: + operationId: countUserOrganization + description: Find a list of UserOrganization + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/UserOrganizationCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/aggregate: + get: + operationId: aggregateUserOrganization + description: Aggregate UserOrganizations + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateUserOrganization" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /userOrganization/groupBy: + get: + operationId: groupByUserOrganization + description: Group UserOrganizations by fields + tags: + - userOrganization + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/UserOrganizationGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/UserOrganizationGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/create: + post: + operationId: createProject + description: Create a new Project + tags: + - project + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectCreateArgs" + /project/createMany: + post: + operationId: createManyProject + description: Create several Project + tags: + - project + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectCreateManyArgs" + /project/findUnique: + get: + operationId: findUniqueProject + description: Find one unique Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/findFirst: + get: + operationId: findFirstProject + description: Find the first Project matching the given condition + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/findMany: + get: + operationId: findManyProject + description: Find a list of Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/update: + patch: + operationId: updateProject + description: Update a Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectUpdateArgs" + /project/updateMany: + patch: + operationId: updateManyProject + description: Update Projects matching the given condition + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectUpdateManyArgs" + /project/upsert: + post: + operationId: upsertProject + description: Upsert a Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectUpsertArgs" + /project/delete: + delete: + operationId: deleteProject + description: Delete one unique Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Project" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/deleteMany: + delete: + operationId: deleteManyProject + description: Delete Projects matching the given condition + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/count: + get: + operationId: countProject + description: Find a list of Project + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/ProjectCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/aggregate: + get: + operationId: aggregateProject + description: Aggregate Projects + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateProject" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /project/groupBy: + get: + operationId: groupByProject + description: Group Projects by fields + tags: + - project + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/ProjectGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/ProjectGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/create: + post: + operationId: createAgent + description: Create a new Agent + tags: + - agent + security: [] + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentCreateArgs" + /agent/createMany: + post: + operationId: createManyAgent + description: Create several Agent + tags: + - agent + security: [] + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentCreateManyArgs" + /agent/findUnique: + get: + operationId: findUniqueAgent + description: Find one unique Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/findFirst: + get: + operationId: findFirstAgent + description: Find the first Agent matching the given condition + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/findMany: + get: + operationId: findManyAgent + description: Find a list of Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/update: + patch: + operationId: updateAgent + description: Update a Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentUpdateArgs" + /agent/updateMany: + patch: + operationId: updateManyAgent + description: Update Agents matching the given condition + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentUpdateManyArgs" + /agent/upsert: + post: + operationId: upsertAgent + description: Upsert a Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AgentUpsertArgs" + /agent/delete: + delete: + operationId: deleteAgent + description: Delete one unique Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Agent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/deleteMany: + delete: + operationId: deleteManyAgent + description: Delete Agents matching the given condition + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/count: + get: + operationId: countAgent + description: Find a list of Agent + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/AgentCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/aggregate: + get: + operationId: aggregateAgent + description: Aggregate Agents + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateAgent" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /agent/groupBy: + get: + operationId: groupByAgent + description: Group Agents by fields + tags: + - agent + security: [] + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/AgentGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/AgentGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/create: + post: + operationId: createDatabase + description: Create a new Database + tags: + - database + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseCreateArgs" + /database/createMany: + post: + operationId: createManyDatabase + description: Create several Database + tags: + - database + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseCreateManyArgs" + /database/findUnique: + get: + operationId: findUniqueDatabase + description: Find one unique Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/findFirst: + get: + operationId: findFirstDatabase + description: Find the first Database matching the given condition + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/findMany: + get: + operationId: findManyDatabase + description: Find a list of Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/update: + patch: + operationId: updateDatabase + description: Update a Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseUpdateArgs" + /database/updateMany: + patch: + operationId: updateManyDatabase + description: Update Databases matching the given condition + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseUpdateManyArgs" + /database/upsert: + post: + operationId: upsertDatabase + description: Upsert a Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseUpsertArgs" + /database/delete: + delete: + operationId: deleteDatabase + description: Delete one unique Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Database" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/deleteMany: + delete: + operationId: deleteManyDatabase + description: Delete Databases matching the given condition + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/count: + get: + operationId: countDatabase + description: Find a list of Database + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/DatabaseCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/aggregate: + get: + operationId: aggregateDatabase + description: Aggregate Databases + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateDatabase" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /database/groupBy: + get: + operationId: groupByDatabase + description: Group Databases by fields + tags: + - database + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/DatabaseGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/DatabaseGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/create: + post: + operationId: createBackup + description: Create a new Backup + tags: + - backup + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BackupCreateArgs" + /backup/createMany: + post: + operationId: createManyBackup + description: Create several Backup + tags: + - backup + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BackupCreateManyArgs" + /backup/findUnique: + get: + operationId: findUniqueBackup + description: Find one unique Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/findFirst: + get: + operationId: findFirstBackup + description: Find the first Backup matching the given condition + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/findMany: + get: + operationId: findManyBackup + description: Find a list of Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/update: + patch: + operationId: updateBackup + description: Update a Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BackupUpdateArgs" + /backup/updateMany: + patch: + operationId: updateManyBackup + description: Update Backups matching the given condition + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BackupUpdateManyArgs" + /backup/upsert: + post: + operationId: upsertBackup + description: Upsert a Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/BackupUpsertArgs" + /backup/delete: + delete: + operationId: deleteBackup + description: Delete one unique Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Backup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/deleteMany: + delete: + operationId: deleteManyBackup + description: Delete Backups matching the given condition + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/count: + get: + operationId: countBackup + description: Find a list of Backup + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/BackupCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/aggregate: + get: + operationId: aggregateBackup + description: Aggregate Backups + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateBackup" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /backup/groupBy: + get: + operationId: groupByBackup + description: Group Backups by fields + tags: + - backup + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/BackupGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/BackupGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/create: + post: + operationId: createRestoration + description: Create a new Restoration + tags: + - restoration + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationCreateArgs" + /restoration/createMany: + post: + operationId: createManyRestoration + description: Create several Restoration + tags: + - restoration + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationCreateManyArgs" + /restoration/findUnique: + get: + operationId: findUniqueRestoration + description: Find one unique Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/findFirst: + get: + operationId: findFirstRestoration + description: Find the first Restoration matching the given condition + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/findMany: + get: + operationId: findManyRestoration + description: Find a list of Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/update: + patch: + operationId: updateRestoration + description: Update a Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationUpdateArgs" + /restoration/updateMany: + patch: + operationId: updateManyRestoration + description: Update Restorations matching the given condition + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationUpdateManyArgs" + /restoration/upsert: + post: + operationId: upsertRestoration + description: Upsert a Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationUpsertArgs" + /restoration/delete: + delete: + operationId: deleteRestoration + description: Delete one unique Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Restoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/deleteMany: + delete: + operationId: deleteManyRestoration + description: Delete Restorations matching the given condition + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/count: + get: + operationId: countRestoration + description: Find a list of Restoration + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/RestorationCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/aggregate: + get: + operationId: aggregateRestoration + description: Aggregate Restorations + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateRestoration" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /restoration/groupBy: + get: + operationId: groupByRestoration + description: Group Restorations by fields + tags: + - restoration + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/RestorationGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/RestorationGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/create: + post: + operationId: createSettings + description: Create a new Settings + tags: + - settings + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsCreateArgs" + /settings/createMany: + post: + operationId: createManySettings + description: Create several Settings + tags: + - settings + responses: + "201": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsCreateManyArgs" + /settings/findUnique: + get: + operationId: findUniqueSettings + description: Find one unique Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsFindUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/findFirst: + get: + operationId: findFirstSettings + description: Find the first Settings matching the given condition + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsFindFirstArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/findMany: + get: + operationId: findManySettings + description: Find a list of Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsFindManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/update: + patch: + operationId: updateSettings + description: Update a Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsUpdateArgs" + /settings/updateMany: + patch: + operationId: updateManySettings + description: Update Settingss matching the given condition + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsUpdateManyArgs" + /settings/upsert: + post: + operationId: upsertSettings + description: Upsert a Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsUpsertArgs" + /settings/delete: + delete: + operationId: deleteSettings + description: Delete one unique Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/Settings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsDeleteUniqueArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/deleteMany: + delete: + operationId: deleteManySettings + description: Delete Settingss matching the given condition + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/BatchPayload" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsDeleteManyArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/count: + get: + operationId: countSettings + description: Find a list of Settings + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + oneOf: + - type: integer + - $ref: "#/components/schemas/SettingsCountAggregateOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsCountArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/aggregate: + get: + operationId: aggregateSettings + description: Aggregate Settingss + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + $ref: "#/components/schemas/AggregateSettings" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsAggregateArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} + /settings/groupBy: + get: + operationId: groupBySettings + description: Group Settingss by fields + tags: + - settings + responses: + "200": + description: Successful operation + content: + application/json: + schema: + type: object + required: + - data + properties: + data: + type: array + items: + $ref: "#/components/schemas/SettingsGroupByOutputType" + description: The Prisma response data serialized with superjson + meta: + $ref: "#/components/schemas/_Meta" + description: The superjson serialization metadata for the "data" field + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Invalid request + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is forbidden + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/_Error" + description: Request is unprocessable due to validation errors + parameters: + - name: q + in: query + required: true + description: Superjson-serialized Prisma query object + content: + application/json: + schema: + $ref: "#/components/schemas/SettingsGroupByArgs" + - name: meta + in: query + description: Superjson serialization metadata for parameter "q" + content: + application/json: + schema: {} diff --git a/src/prisma.ts b/src/prisma.ts index 49516058..d6c4a835 100644 --- a/src/prisma.ts +++ b/src/prisma.ts @@ -1,4 +1,4 @@ -import { PrismaClient } from '@prisma/client' +import {PrismaClient} from '@prisma/client' const prismaClientSingleton = () => { return new PrismaClient() diff --git a/yarn.lock b/yarn.lock index dfa5c00d..0b427fb5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -198,6 +198,33 @@ resolved "https://registry.yarnpkg.com/@balena/dockerignore/-/dockerignore-1.0.2.tgz#9ffe4726915251e8eb69f44ef3547e0da2c03e0d" integrity sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q== +"@chevrotain/cst-dts-gen@10.4.2": + version "10.4.2" + resolved "https://registry.yarnpkg.com/@chevrotain/cst-dts-gen/-/cst-dts-gen-10.4.2.tgz#a3426dba2c48cf6c90e49a0676aea750e8f43e88" + integrity sha512-0+4bNjlndNWMoVLH/+y4uHnf6GrTipsC+YTppJxelVJo+xeRVQ0s2PpkdDCVTsu7efyj+8r1gFiwVXsp6JZ0iQ== + dependencies: + "@chevrotain/gast" "10.4.2" + "@chevrotain/types" "10.4.2" + lodash "4.17.21" + +"@chevrotain/gast@10.4.2": + version "10.4.2" + resolved "https://registry.yarnpkg.com/@chevrotain/gast/-/gast-10.4.2.tgz#236dc48e54cba16260c03bece25d5a3b6e2f5dab" + integrity sha512-4ZAn8/mjkmYonilSJ60gGj1tAF0cVWYUMlIGA0e4ATAc3a648aCnvpBw7zlPHDQjFp50XC13iyWEgWAKiRKTOA== + dependencies: + "@chevrotain/types" "10.4.2" + lodash "4.17.21" + +"@chevrotain/types@10.4.2": + version "10.4.2" + resolved "https://registry.yarnpkg.com/@chevrotain/types/-/types-10.4.2.tgz#18be6b7a3226b121fccec08c2ba8433219a6813c" + integrity sha512-QzSCjg6G4MvIoLeIgOiMR0IgzkGEQqrNJJIr3T5ETRa7l4Av4AMIiEctV99mvDr57iXwwk0/kr3RJxiU36Nevw== + +"@chevrotain/utils@10.4.2": + version "10.4.2" + resolved "https://registry.yarnpkg.com/@chevrotain/utils/-/utils-10.4.2.tgz#87735732184cc5a2f8aad2f3454082294ef3c924" + integrity sha512-V34dacxWLwKcvcy32dx96ADJVdB7kOJLm7LyBkBQw5u5HC9WdEFw2G17zml+U3ivavGTrGPJHl8o9/UJm0PlUw== + "@emnapi/runtime@^1.2.0": version "1.3.1" resolved "https://registry.yarnpkg.com/@emnapi/runtime/-/runtime-1.3.1.tgz#0fcaa575afc31f455fd33534c19381cfce6c6f60" @@ -717,6 +744,11 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.0.3.tgz#940a6f7b370cdde0cc67eabe945d9e6d97e0be9f" integrity sha512-VNAz+HN4OGgvZs6MOoVfnn41kBzT+M+tB+OK4cww6DNyWS6wKaDpaAm/qLeOUbnMh0oVx1+mg0uoYARF69dJyA== +"@noble/hashes@^1.1.5": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.6.1.tgz#df6e5943edcea504bac61395926d6fd67869a0d5" + integrity sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -753,6 +785,13 @@ resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.2.1.tgz#cb0d111ef700136f4580349ff0226bf25c853f23" integrity sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw== +"@paralleldrive/cuid2@^2.2.0": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@paralleldrive/cuid2/-/cuid2-2.2.2.tgz#7f91364d53b89e2c9cb9e02e8dd0f129e834455f" + integrity sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA== + dependencies: + "@noble/hashes" "^1.1.5" + "@phc/format@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@phc/format/-/format-1.0.0.tgz#b5627003b3216dc4362125b13f48a4daa76680e4" @@ -773,11 +812,21 @@ resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.22.0.tgz#58af56ed7f6f313df9fb1042b6224d3174bbf412" integrity sha512-AUt44v3YJeggO2ZU5BkXI7M4hu9BF2zzH2iF2V5pyXT/lRTyWiElZ7It+bRH1EshoMRxHgpYg4VB6rCM+mG5jQ== +"@prisma/debug@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-6.0.1.tgz#8407544dd89c8bf85a6e9889ea263fe0e1ccebe2" + integrity sha512-jQylgSOf7ibTVxqBacnAlVGvek6fQxJIYCQOeX2KexsfypNzXjJQSS2o5s+Mjj2Np93iSOQUaw6TvPj8syhG4w== + "@prisma/engines-version@5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2": version "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2" resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2.tgz#d534dd7235c1ba5a23bacd5b92cc0ca3894c28f4" integrity sha512-2PTmxFR2yHW/eB3uqWtcgRcgAbG1rwG9ZriSvQw+nnb7c4uCr3RAcGMb6/zfE88SKlC1Nj2ziUvc96Z379mHgQ== +"@prisma/engines-version@5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e": + version "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e.tgz#2db5a05d014aac504e8574da6b96ac3d9a617526" + integrity sha512-JmIds0Q2/vsOmnuTJYxY4LE+sajqjYKhLtdOT6y4imojqv5d/aeVEfbBGC74t8Be1uSp0OP8lxIj2OqoKbLsfQ== + "@prisma/engines@5.22.0": version "5.22.0" resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.22.0.tgz#28f3f52a2812c990a8b66eb93a0987816a5b6d84" @@ -788,6 +837,16 @@ "@prisma/fetch-engine" "5.22.0" "@prisma/get-platform" "5.22.0" +"@prisma/engines@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-6.0.1.tgz#b64afa9b4e2bedc2b6488b15f9d867c8672b33ee" + integrity sha512-4hxzI+YQIR2uuDyVsDooFZGu5AtixbvM2psp+iayDZ4hRrAHo/YwgA17N23UWq7G6gRu18NvuNMb48qjP3DPQw== + dependencies: + "@prisma/debug" "6.0.1" + "@prisma/engines-version" "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + "@prisma/fetch-engine" "6.0.1" + "@prisma/get-platform" "6.0.1" + "@prisma/fetch-engine@5.22.0": version "5.22.0" resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.22.0.tgz#4fb691b483a450c5548aac2f837b267dd50ef52e" @@ -797,6 +856,22 @@ "@prisma/engines-version" "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2" "@prisma/get-platform" "5.22.0" +"@prisma/fetch-engine@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-6.0.1.tgz#1e3affb7a749caaf366239c7d61ae7b19d3e7e00" + integrity sha512-T36bWFVGeGYYSyYOj9d+O9G3sBC+pAyMC+jc45iSL63/Haq1GrYjQPgPMxrEj9m739taXrupoysRedQ+VyvM/Q== + dependencies: + "@prisma/debug" "6.0.1" + "@prisma/engines-version" "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + "@prisma/get-platform" "6.0.1" + +"@prisma/generator-helper@6.0.1", "@prisma/generator-helper@6.0.x": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-6.0.1.tgz#b62c438274a5ea1614f843d719122f50c32599cb" + integrity sha512-Qhli2Rtr0fyRcI490oLgSVlUSXp3cdbnL/yqrnChYyziourszWqqw7U5IEoOsvyWJ9iaOupduf9Sde7knUEA/Q== + dependencies: + "@prisma/debug" "6.0.1" + "@prisma/get-platform@5.22.0": version "5.22.0" resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.22.0.tgz#fc675bc9d12614ca2dade0506c9c4a77e7dddacd" @@ -804,6 +879,41 @@ dependencies: "@prisma/debug" "5.22.0" +"@prisma/get-platform@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-6.0.1.tgz#322dae7e8862c9b849384b820b81ecd4006e1d63" + integrity sha512-zspC9vlxAqx4E6epMPMLLBMED2VD8axDe8sPnquZ8GOsn6tiacWK0oxrGK4UAHYzYUVuMVUApJbdXB2dFpLhvg== + dependencies: + "@prisma/debug" "6.0.1" + +"@prisma/internals@6.0.x": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-6.0.1.tgz#c7075fe8d60fb600baeeec6cfd813da99320d013" + integrity sha512-Ke2MF5pYnejQ7q9Y0tFt1NO+ZEHCKp+KmzoW8mAtRWSKsShbHtdt6qIdlub1jWOdJU+XJ1OLc6Rcxws4xo3NWQ== + dependencies: + "@prisma/debug" "6.0.1" + "@prisma/engines" "6.0.1" + "@prisma/fetch-engine" "6.0.1" + "@prisma/generator-helper" "6.0.1" + "@prisma/get-platform" "6.0.1" + "@prisma/prisma-schema-wasm" "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + "@prisma/schema-files-loader" "6.0.1" + arg "5.0.2" + prompts "2.4.2" + +"@prisma/prisma-schema-wasm@5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e": + version "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + resolved "https://registry.yarnpkg.com/@prisma/prisma-schema-wasm/-/prisma-schema-wasm-5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e.tgz#295921753f54a408c79a57a91a502c9d88747ea9" + integrity sha512-P3SgHov1WPxPqCkk4ck2RsU6x+XDBAfODZdabridyIHKZGj4MFEIiBbaD0LUpht4cH4Q7yDH5mg4e38ifz1KYQ== + +"@prisma/schema-files-loader@6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@prisma/schema-files-loader/-/schema-files-loader-6.0.1.tgz#d4a826194262ffdee59fbc86b5fdf605ad7509cd" + integrity sha512-p7M3cSGtFrwvhN4W4GS+vGjjJlxJE19pywFyLiLzD8YzOif7rCdfqj4t9NL3lK+8ICTGp9hGPH9FoA9Atd4vxQ== + dependencies: + "@prisma/prisma-schema-wasm" "5.23.0-27.5dbef10bdbfb579e07d35cc85fb1518d357cb99e" + fs-extra "11.1.1" + "@radix-ui/number@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@radix-ui/number/-/number-1.1.0.tgz#1e95610461a09cdf8bb05c152e76ca1278d5da46" @@ -1612,6 +1722,16 @@ resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.20.5.tgz#3974f0b090bed11243d4107283824167a395cf1d" integrity sha512-P9dF7XbibHph2PFRz8gfBKEXEY/HJPOhym8CHmjF8y3q5mWpKx9xtZapXQUWCgkqvsK0R46Azuz+VaxD4Xl+Tg== +"@ts-morph/common@~0.17.0": + version "0.17.0" + resolved "https://registry.yarnpkg.com/@ts-morph/common/-/common-0.17.0.tgz#de0d405df10857907469fef8d9363893b4163fd1" + integrity sha512-RMSSvSfs9kb0VzkvQ2NWobwnj7TxCA9vI/IjR9bDHqgAyVbu2T0DN4wiKVqomyDWqO7dPr/tErSfq7urQ1Q37g== + dependencies: + fast-glob "^3.2.11" + minimatch "^5.1.0" + mkdirp "^1.0.4" + path-browserify "^1.0.1" + "@types/cookie@0.6.0": version "0.6.0" resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.6.0.tgz#eac397f28bf1d6ae0ae081363eca2f425bedf0d5" @@ -1699,6 +1819,13 @@ dependencies: undici-types "~6.19.2" +"@types/node@^20.12.7": + version "20.17.10" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.10.tgz#3f7166190aece19a0d1d364d75c8b0b5778c1e18" + integrity sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA== + dependencies: + undici-types "~6.19.2" + "@types/prop-types@*": version "15.7.13" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.13.tgz#2af91918ee12d9d32914feb13f5326658461b451" @@ -1819,6 +1946,88 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== +"@zenstackhq/language@2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@zenstackhq/language/-/language-2.10.1.tgz#4a4810fb64ddec126c5779887fc01e39ac920bf7" + integrity sha512-5LxgVgDThV6tOB5NZkThOUGizawnX2EHaNTUFTFICgXU334VM/66SiWz0uB45AyuAmPjBSHtw6rz0u/hISjpcg== + dependencies: + langium "1.3.1" + +"@zenstackhq/openapi@^2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@zenstackhq/openapi/-/openapi-2.10.1.tgz#825244ebb9d0bb9ba5b8dc7dc81125d41b419e5e" + integrity sha512-pBStkmP8RumzO1ElGmHxq9YOQB+zfz51p7PvrYWC0ZhyN4P0Lf0LR7qk2vJdMIWwzJtbbNqeH8ewcbik6ZaEOQ== + dependencies: + "@zenstackhq/runtime" "2.10.1" + "@zenstackhq/sdk" "2.10.1" + change-case "^4.1.2" + lower-case-first "^2.0.2" + openapi-types "^12.1.0" + semver "^7.5.2" + tiny-invariant "^1.3.1" + ts-pattern "^4.3.0" + upper-case-first "^2.0.2" + yaml "^2.2.2" + zod "^3.22.4" + zod-validation-error "^1.5.0" + +"@zenstackhq/runtime@2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@zenstackhq/runtime/-/runtime-2.10.1.tgz#6591f1d294c78ba6ed1a1ea557d6678c8c3c0f11" + integrity sha512-UicnnHQF8i0wy0yWf0Nuy53mb00KTrkJ3sGgG3bRUeKtyjcg4G9vSY4/qiUgLGSOAcqKn0btHQqB0GA5LCaAqQ== + dependencies: + bcryptjs "^2.4.3" + buffer "^6.0.3" + change-case "^4.1.2" + decimal.js-light "^2.5.1" + deepmerge "^4.3.1" + is-plain-object "^5.0.0" + logic-solver "^2.0.1" + lower-case-first "^2.0.2" + pluralize "^8.0.0" + safe-json-stringify "^1.2.0" + semver "^7.5.2" + superjson "^1.13.0" + tiny-invariant "^1.3.1" + traverse "^0.6.10" + ts-pattern "^4.3.0" + tslib "^2.4.1" + upper-case-first "^2.0.2" + uuid "^9.0.0" + zod "^3.22.4" + zod-validation-error "^1.5.0" + +"@zenstackhq/sdk@2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@zenstackhq/sdk/-/sdk-2.10.1.tgz#d28a6cf916c1c3ac2614c2ef692222ab1e6fc280" + integrity sha512-d5W+JOgAReMcQt4H5obvS4lK808f5Om25sfIET7pxHfoG7b50VHD9TDFcE67DcDr3Rdd7muEu5gx6obgNmFzng== + dependencies: + "@prisma/generator-helper" "6.0.x" + "@prisma/internals" "6.0.x" + "@zenstackhq/language" "2.10.1" + "@zenstackhq/runtime" "2.10.1" + langium "1.3.1" + lower-case-first "^2.0.2" + semver "^7.5.2" + ts-morph "^16.0.0" + ts-pattern "^4.3.0" + upper-case-first "^2.0.2" + +"@zenstackhq/tanstack-query@^2.10.1": + version "2.10.1" + resolved "https://registry.yarnpkg.com/@zenstackhq/tanstack-query/-/tanstack-query-2.10.1.tgz#e00cb98ceea7e7a98d5f93a507a6744333b11a3e" + integrity sha512-NvF5ByJXH45LJui40MvIa1Zy+dgg/Whv/IfeZ/WI4bS1NEAHw4QLi6Cy0DsTNuVXWjANZLwOWwy4+woyXw9dZQ== + dependencies: + "@zenstackhq/runtime" "2.10.1" + "@zenstackhq/sdk" "2.10.1" + change-case "^4.1.2" + cross-fetch "^4.0.0" + lower-case-first "^2.0.2" + semver "^7.5.2" + ts-morph "^16.0.0" + ts-pattern "^4.3.0" + upper-case-first "^2.0.2" + "@zxing/text-encoding@0.9.0": version "0.9.0" resolved "https://registry.yarnpkg.com/@zxing/text-encoding/-/text-encoding-0.9.0.tgz#fb50ffabc6c7c66a0c96b4c03e3d9be74864b70b" @@ -1869,6 +2078,13 @@ ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" @@ -1917,7 +2133,7 @@ are-we-there-yet@^2.0.0: delegates "^1.0.0" readable-stream "^3.6.0" -arg@^5.0.2: +arg@5.0.2, arg@^5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== @@ -2049,6 +2265,11 @@ ast-types-flow@^0.0.8: resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz#0a85e1c92695769ac13a428bb653e7538bea27d6" integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ== +async-exit-hook@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/async-exit-hook/-/async-exit-hook-2.0.1.tgz#8bd8b024b0ec9b1c01cccb9af9db29bd717dfaf3" + integrity sha512-NW2cX8m1Q7KPA7a5M2ULQeZ2wR5qI5PAbw5L0UOMxdioVk9PMZ0h1TmyZEkPYrCvYjDlFICusOu1dlEKAAeXBw== + async@^3.2.4: version "3.2.6" resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" @@ -2101,6 +2322,11 @@ bcrypt@^5.1.1: "@mapbox/node-pre-gyp" "^1.0.11" node-addon-api "^5.0.0" +bcryptjs@^2.4.3: + version "2.4.3" + resolved "https://registry.yarnpkg.com/bcryptjs/-/bcryptjs-2.4.3.tgz#9ab5627b93e60621ff7cdac5da9733027df1d0cb" + integrity sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ== + binary-extensions@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" @@ -2172,6 +2398,14 @@ buffer@^5.5.0: base64-js "^1.3.1" ieee754 "^1.1.13" +buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + buildcheck@~0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/buildcheck/-/buildcheck-0.0.6.tgz#89aa6e417cfd1e2196e3f8fe915eb709d2fe4238" @@ -2200,6 +2434,14 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== + dependencies: + pascal-case "^3.1.2" + tslib "^2.0.3" + camelcase-css@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" @@ -2215,7 +2457,16 @@ caniuse-lite@^1.0.30001669: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz#5380ede637a33b9f9f1fc6045ea99bd142f3da5e" integrity sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA== -chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0: +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + +chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -2223,6 +2474,43 @@ chalk@4.1.2, chalk@^4.0.0, chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +change-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" + integrity sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A== + dependencies: + camel-case "^4.1.2" + capital-case "^1.0.4" + constant-case "^3.0.4" + dot-case "^3.0.4" + header-case "^2.0.4" + no-case "^3.0.4" + param-case "^3.0.4" + pascal-case "^3.1.2" + path-case "^3.0.4" + sentence-case "^3.0.4" + snake-case "^3.0.4" + tslib "^2.0.3" + +chevrotain-allstar@~0.1.4: + version "0.1.7" + resolved "https://registry.yarnpkg.com/chevrotain-allstar/-/chevrotain-allstar-0.1.7.tgz#66cb0eed6ce53c9ef07621a29fcf149a9f3bc48d" + integrity sha512-oMSHkXVCDQxnj3tDCqcEoMnNIEiYlAYT0FVja1PaLrT3njXGvg5JXTXs/tk2NI42SR3LMJyqTNgjR4VyDIf19w== + dependencies: + lodash "^4.17.21" + +chevrotain@~10.4.2: + version "10.4.2" + resolved "https://registry.yarnpkg.com/chevrotain/-/chevrotain-10.4.2.tgz#9abeac6a60134931c0a0788b206400e5f7a3daba" + integrity sha512-gzF5GxE0Ckti5kZVuKEZycLntB5X2aj9RVY0r4/220GwQjdnljU+/t3kP74/FMWC7IzCDDEjQ9wsFUf0WCdSHg== + dependencies: + "@chevrotain/cst-dts-gen" "10.4.2" + "@chevrotain/gast" "10.4.2" + "@chevrotain/types" "10.4.2" + "@chevrotain/utils" "10.4.2" + lodash "4.17.21" + regexp-to-ast "0.5.0" + chokidar@^3.5.3: version "3.6.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" @@ -2304,6 +2592,11 @@ cmdk@^1.0.0: "@radix-ui/react-primitive" "^2.0.0" use-sync-external-store "^1.2.2" +code-block-writer@^11.0.3: + version "11.0.3" + resolved "https://registry.yarnpkg.com/code-block-writer/-/code-block-writer-11.0.3.tgz#9eec2993edfb79bfae845fbc093758c0a0b73b76" + integrity sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw== + color-convert@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" @@ -2337,6 +2630,11 @@ color@^4.2.3: color-convert "^2.0.1" color-string "^1.9.0" +colors@1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + commander@11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906" @@ -2352,6 +2650,11 @@ commander@^4.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -2370,6 +2673,15 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== +constant-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-3.0.4.tgz#3b84a9aeaf4cf31ec45e6bf5de91bdfb0589faf1" + integrity sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case "^2.0.2" + convert-source-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" @@ -2390,6 +2702,13 @@ cookie@~0.7.2: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== +copy-anything@^3.0.2: + version "3.0.5" + resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-3.0.5.tgz#2d92dce8c498f790fa7ad16b01a1ae5a45b020a0" + integrity sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w== + dependencies: + is-what "^4.1.8" + cors@~2.8.5: version "2.8.5" resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" @@ -2406,6 +2725,13 @@ cpu-features@~0.0.10: buildcheck "~0.0.6" nan "^2.19.0" +cross-fetch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" + integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== + dependencies: + node-fetch "^2.6.12" + cross-spawn@^7.0.0, cross-spawn@^7.0.2: version "7.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.5.tgz#910aac880ff5243da96b728bc6521a5f6c2f2f82" @@ -2552,7 +2878,7 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -decimal.js-light@^2.4.1: +decimal.js-light@^2.4.1, decimal.js-light@^2.5.1: version "2.5.1" resolved "https://registry.yarnpkg.com/decimal.js-light/-/decimal.js-light-2.5.1.tgz#134fd32508f19e208f4fb2f8dac0d2626a867934" integrity sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg== @@ -2693,6 +3019,14 @@ domutils@^3.0.1: domelementtype "^2.3.0" domhandler "^5.0.3" +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" @@ -2741,6 +3075,15 @@ emoji-regex@^9.2.2: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== +emphasize@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/emphasize/-/emphasize-4.2.0.tgz#6b6fdc4d212cb7eafea1c7cdd595dfd6cfc508d9" + integrity sha512-yGKvcFUHlBsUPwlxTlzKLR8+zhpbitkFOMCUxN8fTJng9bdH3WNzUGkhdaGdjndSUgqmMPBN7umfwnUdLz5Axg== + dependencies: + chalk "^4.0.0" + highlight.js "~10.4.0" + lowlight "~1.17.0" + end-of-stream@^1.1.0, end-of-stream@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" @@ -3196,7 +3539,7 @@ fast-glob@3.3.1: merge2 "^1.3.0" micromatch "^4.0.4" -fast-glob@^3.3.0, fast-glob@^3.3.2: +fast-glob@^3.2.11, fast-glob@^3.3.0, fast-glob@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -3231,6 +3574,13 @@ fastq@^1.6.0: dependencies: reusify "^1.0.4" +fault@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.4.tgz#eafcfc0a6d214fc94601e170df29954a4f842f13" + integrity sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA== + dependencies: + format "^0.2.0" + file-entry-cache@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" @@ -3287,11 +3637,25 @@ foreground-child@^3.1.0: cross-spawn "^7.0.0" signal-exit "^4.0.1" +format@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" + integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== + fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== +fs-extra@11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" + integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" @@ -3457,7 +3821,7 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -graceful-fs@^4.2.11, graceful-fs@^4.2.4: +graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -3513,6 +3877,19 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: dependencies: function-bind "^1.1.2" +header-case@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/header-case/-/header-case-2.0.4.tgz#5a42e63b55177349cf405beb8d775acabb92c063" + integrity sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q== + dependencies: + capital-case "^1.0.4" + tslib "^2.0.3" + +highlight.js@~10.4.0: + version "10.4.1" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.1.tgz#d48fbcf4a9971c4361b3f95f302747afe19dbad0" + integrity sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg== + html-to-text@9.0.5: version "9.0.5" resolved "https://registry.yarnpkg.com/html-to-text/-/html-to-text-9.0.5.tgz#6149a0f618ae7a0db8085dca9bbf96d32bb8368d" @@ -3534,6 +3911,14 @@ htmlparser2@^8.0.2: domutils "^3.0.1" entities "^4.4.0" +https-proxy-agent@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" + integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + dependencies: + agent-base "6" + debug "4" + https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -3542,7 +3927,7 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" -ieee754@^1.1.13: +ieee754@^1.1.13, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -3770,6 +4155,11 @@ is-path-inside@^3.0.3: resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + is-regex@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" @@ -3836,6 +4226,11 @@ is-weakset@^2.0.3: call-bind "^1.0.7" get-intrinsic "^1.2.4" +is-what@^4.1.8: + version "4.1.16" + resolved "https://registry.yarnpkg.com/is-what/-/is-what-4.1.16.tgz#1ad860a19da8b4895ad5495da3182ce2acdd7a6f" + integrity sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A== + isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -3945,6 +4340,15 @@ json5@^2.2.3: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5: version "3.3.5" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" @@ -3962,6 +4366,22 @@ keyv@^4.5.3: dependencies: json-buffer "3.0.1" +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +langium@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/langium/-/langium-1.3.1.tgz#08f570a3e506141f482d32e71814a0d5c991c75c" + integrity sha512-xC+DnAunl6cZIgYjRpgm3s1kYAB5/Wycsj24iYaXG9uai7SgvMaFZSrRvdA5rUK/lSta/CRvgF+ZFoEKEOFJ5w== + dependencies: + chevrotain "~10.4.2" + chevrotain-allstar "~0.1.4" + vscode-languageserver "~8.0.2" + vscode-languageserver-textdocument "~1.0.8" + vscode-uri "~3.0.7" + language-subtag-registry@^0.3.20: version "0.3.23" resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz#23529e04d9e3b74679d70142df3fd2eb6ec572e7" @@ -4014,7 +4434,7 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash@^4.17.21: +lodash@4.17.21, lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -4027,6 +4447,13 @@ log-symbols@4.1.0, log-symbols@^4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +logic-solver@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/logic-solver/-/logic-solver-2.0.1.tgz#e9fa47002eb5d8cda7616d41639b97552eb674be" + integrity sha512-F1oCywXUzvAF4Z98mMyXySUCpUU3hNyc+JfYV3g2x/4BupC/xv94iPJuHh9us2XX5UrvY5lnKUXNvjcJNQBJ/g== + dependencies: + underscore "^1.7.0" + loose-envify@^1.0.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -4034,6 +4461,28 @@ loose-envify@^1.0.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lower-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-2.0.2.tgz#64c2324a2250bf7c37c5901e76a5b5309301160b" + integrity sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg== + dependencies: + tslib "^2.0.3" + +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== + dependencies: + tslib "^2.0.3" + +lowlight@~1.17.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.17.0.tgz#a1143b2fba8239df8cd5893f9fe97aaf8465af4a" + integrity sha512-vmtBgYKD+QVNy7tIa7ulz5d//Il9R4MooOVh4nkOf9R9Cb/Dk5TXMSTieg/vDulkBkIWj59/BIlyFQxT9X1oAQ== + dependencies: + fault "^1.0.0" + highlight.js "~10.4.0" + lru-cache@^10.2.0: version "10.4.3" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" @@ -4114,6 +4563,13 @@ minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^5.1.0: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + minimatch@^9.0.1, minimatch@^9.0.4: version "9.0.5" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" @@ -4171,12 +4627,19 @@ minizlib@^2.1.1: minipass "^3.0.0" yallist "^4.0.0" +mixpanel@^0.17.0: + version "0.17.0" + resolved "https://registry.yarnpkg.com/mixpanel/-/mixpanel-0.17.0.tgz#ec57b068598c620cf039a5e504fb37c97ebfe8ce" + integrity sha512-DY5WeOy/hmkPrNiiZugJpWR0iMuOwuj1a3u0bgwB2eUFRV6oIew/pIahhpawdbNjb+Bye4a8ID3gefeNPvL81g== + dependencies: + https-proxy-agent "5.0.0" + mkdirp-classic@^0.5.2: version "0.5.3" resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== -mkdirp@^1.0.3: +mkdirp@^1.0.3, mkdirp@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== @@ -4292,6 +4755,14 @@ next@15.0.3: "@next/swc-win32-x64-msvc" "15.0.3" sharp "^0.33.5" +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== + dependencies: + lower-case "^2.0.2" + tslib "^2.0.3" + node-addon-api@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" @@ -4302,7 +4773,7 @@ node-addon-api@^8.1.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-8.2.2.tgz#3658f78d04d260aa95931d3bbc45f22ce433b821" integrity sha512-9emqXAKhVoNrQ792nLI/wpzPpJ/bj/YXxW0CvAau1+RdGBcCRF1Dmz7719zgVsQNrzHl9Tzn3ImZ4qWFarWL0A== -node-fetch@^2.6.7: +node-fetch@^2.6.12, node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -4439,6 +4910,11 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" +openapi-types@^12.1.0: + version "12.1.3" + resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.1.3.tgz#471995eb26c4b97b7bd356aacf7b91b73e777dd3" + integrity sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw== + optionator@^0.9.3: version "0.9.4" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" @@ -4451,7 +4927,7 @@ optionator@^0.9.3: type-check "^0.4.0" word-wrap "^1.2.5" -ora@5.4.1: +ora@5.4.1, ora@^5.4.1: version "5.4.1" resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== @@ -4485,6 +4961,14 @@ package-json-from-dist@^1.0.0: resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -4500,6 +4984,27 @@ parseley@^0.12.0: leac "^0.6.0" peberminta "^0.9.0" +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + +path-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f" + integrity sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -4553,6 +5058,11 @@ pirates@^4.0.1: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== +pluralize@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" + integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== + possible-typed-array-names@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" @@ -4652,6 +5162,16 @@ pretty-format@^3.8.0: resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385" integrity sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew== +pretty-repl@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/pretty-repl/-/pretty-repl-4.0.1.tgz#b449d775c82a13cb71474a880f682fc5ef327dde" + integrity sha512-Ve+ZNS5fwxylks3TTR4su7SaNAHVOh++7J5R8VKFAHIjmAMS8X79rnETc/JJoqay52cfgeHum7vm2+9hFSys9Q== + dependencies: + ansi-regex "^5.0.1" + chalk "^4.1.1" + emphasize "^4.2.0" + strip-ansi "^6.0.0" + prisma@^5.22.0: version "5.22.0" resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.22.0.tgz#1f6717ff487cdef5f5799cc1010459920e2e6197" @@ -4666,6 +5186,14 @@ prismjs@1.29.0: resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12" integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q== +prompts@2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + prop-types@^15.6.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" @@ -4894,6 +5422,11 @@ regenerator-runtime@^0.14.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== +regexp-to-ast@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/regexp-to-ast/-/regexp-to-ast-0.5.0.tgz#56c73856bee5e1fef7f73a00f1473452ab712a24" + integrity sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw== + regexp.prototype.flags@^1.5.2: version "1.5.3" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz#b3ae40b1d2499b8350ab2c3fe6ef3845d3a96f42" @@ -4974,6 +5507,11 @@ safe-buffer@~5.2.0: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safe-json-stringify@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz#356e44bc98f1f93ce45df14bcd7c01cda86e0afd" + integrity sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg== + safe-regex-test@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" @@ -5010,11 +5548,20 @@ semver@^6.0.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.5, semver@^7.5.3, semver@^7.6.0, semver@^7.6.3: +semver@^7.3.5, semver@^7.3.7, semver@^7.5.2, semver@^7.5.3, semver@^7.6.0, semver@^7.6.3: version "7.6.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== +sentence-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f" + integrity sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -5110,6 +5657,24 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +sleep-promise@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/sleep-promise/-/sleep-promise-9.1.0.tgz#101ebe65700bcd184709da95d960967b02b79d03" + integrity sha512-UHYzVpz9Xn8b+jikYSD6bqvf754xL2uBUzDFwiU6NcdZeifPr6UfgU43xpkPu67VMS88+TI2PSI7Eohgqf2fKA== + +snake-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" + integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + socket.io-adapter@~2.5.2: version "2.5.5" resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-2.5.5.tgz#c7a1f9c703d7756844751b6ff9abfc1780664082" @@ -5338,6 +5903,11 @@ strip-bom@^3.0.0: resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== +strip-color@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/strip-color/-/strip-color-0.1.0.tgz#106f65d3d3e6a2d9401cac0eb0ce8b8a702b4f7b" + integrity sha512-p9LsUieSjWNNAxVCXLeilaDlmuUOrDS5/dF9znM1nZc7EGX5+zEFC0bEevsNIaldjlks+2jns5Siz6F9iK6jwA== + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -5375,13 +5945,28 @@ sucrase@^3.32.0: pirates "^4.0.1" ts-interface-checker "^0.1.9" -supports-color@^7.1.0: +superjson@^1.13.0: + version "1.13.3" + resolved "https://registry.yarnpkg.com/superjson/-/superjson-1.13.3.tgz#3bd64046f6c0a47062850bb3180ef352a471f930" + integrity sha512-mJiVjfd2vokfDxsQPOwJ/PtanO87LhpYY88ubI5dUB1Ab58Txbyje3+jpm+/83R/fevaq/107NNhtYBLuoTrFg== + dependencies: + copy-anything "^3.0.2" + +supports-color@^7.0.0, supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" +supports-hyperlinks@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -5463,6 +6048,14 @@ tar@^6.1.11: mkdirp "^1.0.3" yallist "^4.0.0" +terminal-link@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -5506,6 +6099,15 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +traverse@^0.6.10: + version "0.6.10" + resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.10.tgz#4c93482381d794dee046882c036f3c4eee481324" + integrity sha512-hN4uFRxbK+PX56DxYiGHsTn2dME3TVr9vbNqlQGcGcPhJAn+tdP126iA+TArMpI4YSgnTkMWyoLl5bf81Hi5TA== + dependencies: + gopd "^1.0.1" + typedarray.prototype.slice "^1.0.3" + which-typed-array "^1.1.15" + ts-api-utils@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.4.0.tgz#709c6f2076e511a81557f3d07a0cbd566ae8195c" @@ -5516,6 +6118,19 @@ ts-interface-checker@^0.1.9: resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== +ts-morph@^16.0.0: + version "16.0.0" + resolved "https://registry.yarnpkg.com/ts-morph/-/ts-morph-16.0.0.tgz#35caca7c286dd70e09e5f72af47536bf3b6a27af" + integrity sha512-jGNF0GVpFj0orFw55LTsQxVYEUOCWBAbR5Ls7fTYE5pQsbW18ssTb/6UXx/GYAEjS+DQTp8VoTw0vqYMiaaQuw== + dependencies: + "@ts-morph/common" "~0.17.0" + code-block-writer "^11.0.3" + +ts-pattern@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ts-pattern/-/ts-pattern-4.3.0.tgz#7a995b39342f1b00d1507c2d2f3b90ea16e178a6" + integrity sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg== + tsconfig-paths@^3.15.0: version "3.15.0" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" @@ -5526,7 +6141,7 @@ tsconfig-paths@^3.15.0: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@2, tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0: +tslib@2, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.4.1: version "2.8.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== @@ -5548,6 +6163,11 @@ type-fest@^0.20.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + typed-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" @@ -5592,6 +6212,18 @@ typed-array-length@^1.0.6: is-typed-array "^1.1.13" possible-typed-array-names "^1.0.0" +typedarray.prototype.slice@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/typedarray.prototype.slice/-/typedarray.prototype.slice-1.0.3.tgz#bce2f685d3279f543239e4d595e0d021731d2d1a" + integrity sha512-8WbVAQAUlENo1q3c3zZYuy5k9VzBQvp8AX9WOtbvyWlLM1v5JaSRmjubLjzHF4JFtptjH/5c/i95yaElvcjC0A== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.0" + es-errors "^1.3.0" + typed-array-buffer "^1.0.2" + typed-array-byte-offset "^1.0.2" + typescript@^5: version "5.6.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" @@ -5607,11 +6239,21 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +underscore@^1.7.0: + version "1.13.7" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.7.tgz#970e33963af9a7dda228f17ebe8399e5fbe63a10" + integrity sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g== + undici-types@~6.19.2, undici-types@~6.19.8: version "6.19.8" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + update-browserslist-db@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5" @@ -5620,6 +6262,20 @@ update-browserslist-db@^1.1.1: escalade "^3.2.0" picocolors "^1.1.0" +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== + dependencies: + tslib "^2.0.3" + +upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-2.0.2.tgz#d89810823faab1df1549b7d97a76f8662bae6f7a" + integrity sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg== + dependencies: + tslib "^2.0.3" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -5676,6 +6332,11 @@ uuid@^11.0.3: resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.0.3.tgz#248451cac9d1a4a4128033e765d137e2b2c49a3d" integrity sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg== +uuid@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + vary@^1: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" @@ -5708,6 +6369,80 @@ victory-vendor@^36.6.8: d3-time "^3.0.0" d3-timer "^3.0.1" +vscode-jsonrpc@8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.0.2.tgz#f239ed2cd6004021b6550af9fd9d3e47eee3cac9" + integrity sha512-RY7HwI/ydoC1Wwg4gJ3y6LpU9FJRZAUnTYMXthqhFXXu77ErDd/xkREpGuk4MyYkk4a+XDWAMqe0S3KkelYQEQ== + +vscode-jsonrpc@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz#cb9989c65e219e18533cc38e767611272d274c94" + integrity sha512-6TDy/abTQk+zDGYazgbIPc+4JoXdwC8NHU9Pbn4UJP1fehUyZmM4RHp5IthX7A6L5KS30PRui+j+tbbMMMafdw== + +vscode-jsonrpc@^8.0.2: + version "8.2.1" + resolved "https://registry.yarnpkg.com/vscode-jsonrpc/-/vscode-jsonrpc-8.2.1.tgz#a322cc0f1d97f794ffd9c4cd2a898a0bde097f34" + integrity sha512-kdjOSJ2lLIn7r1rtrMbbNCHjyMPfRnowdKjBQ+mGq6NAW5QY2bEZC/khaC5OR8svbbjvLEaIXkOq45e2X9BIbQ== + +vscode-languageclient@^8.0.2: + version "8.1.0" + resolved "https://registry.yarnpkg.com/vscode-languageclient/-/vscode-languageclient-8.1.0.tgz#3e67d5d841481ac66ddbdaa55b4118742f6a9f3f" + integrity sha512-GL4QdbYUF/XxQlAsvYWZRV3V34kOkpRlvV60/72ghHfsYFnS/v2MANZ9P6sHmxFcZKOse8O+L9G7Czg0NUWing== + dependencies: + minimatch "^5.1.0" + semver "^7.3.7" + vscode-languageserver-protocol "3.17.3" + +vscode-languageserver-protocol@3.17.2: + version "3.17.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.2.tgz#beaa46aea06ed061576586c5e11368a9afc1d378" + integrity sha512-8kYisQ3z/SQ2kyjlNeQxbkkTNmVFoQCqkmGrzLH6A9ecPlgTbp3wDTnUNqaUxYr4vlAcloxx8zwy7G5WdguYNg== + dependencies: + vscode-jsonrpc "8.0.2" + vscode-languageserver-types "3.17.2" + +vscode-languageserver-protocol@3.17.3: + version "3.17.3" + resolved "https://registry.yarnpkg.com/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.3.tgz#6d0d54da093f0c0ee3060b81612cce0f11060d57" + integrity sha512-924/h0AqsMtA5yK22GgMtCYiMdCOtWTSGgUOkgEDX+wk2b0x4sAfLiO4NxBxqbiVtz7K7/1/RgVrVI0NClZwqA== + dependencies: + vscode-jsonrpc "8.1.0" + vscode-languageserver-types "3.17.3" + +vscode-languageserver-textdocument@^1.0.7, vscode-languageserver-textdocument@~1.0.8: + version "1.0.12" + resolved "https://registry.yarnpkg.com/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz#457ee04271ab38998a093c68c2342f53f6e4a631" + integrity sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA== + +vscode-languageserver-types@3.17.2: + version "3.17.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.2.tgz#b2c2e7de405ad3d73a883e91989b850170ffc4f2" + integrity sha512-zHhCWatviizPIq9B7Vh9uvrH6x3sK8itC84HkamnBWoDFJtzBf7SWlpLCZUit72b3os45h6RWQNC9xHRDF8dRA== + +vscode-languageserver-types@3.17.3: + version "3.17.3" + resolved "https://registry.yarnpkg.com/vscode-languageserver-types/-/vscode-languageserver-types-3.17.3.tgz#72d05e47b73be93acb84d6e311b5786390f13f64" + integrity sha512-SYU4z1dL0PyIMd4Vj8YOqFvHu7Hz/enbWtpfnVbJHU4Nd1YNYx8u0ennumc6h48GQNeOLxmwySmnADouT/AuZA== + +vscode-languageserver@^8.0.2: + version "8.1.0" + resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-8.1.0.tgz#5024253718915d84576ce6662dd46a791498d827" + integrity sha512-eUt8f1z2N2IEUDBsKaNapkz7jl5QpskN2Y0G01T/ItMxBxw1fJwvtySGB9QMecatne8jFIWJGWI61dWjyTLQsw== + dependencies: + vscode-languageserver-protocol "3.17.3" + +vscode-languageserver@~8.0.2: + version "8.0.2" + resolved "https://registry.yarnpkg.com/vscode-languageserver/-/vscode-languageserver-8.0.2.tgz#cfe2f0996d9dfd40d3854e786b2821604dfec06d" + integrity sha512-bpEt2ggPxKzsAOZlXmCJ50bV7VrxwCS5BI4+egUmure/oI/t4OlFzi/YNtVvY24A2UDOZAgwFGgnZPwqSJubkA== + dependencies: + vscode-languageserver-protocol "3.17.2" + +vscode-uri@^3.0.6, vscode-uri@~3.0.7: + version "3.0.8" + resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.0.8.tgz#1770938d3e72588659a172d0fd4642780083ff9f" + integrity sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw== + wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -5867,6 +6602,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@^2.2.2: + version "2.6.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.6.1.tgz#42f2b1ba89203f374609572d5349fb8686500773" + integrity sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg== + yaml@^2.3.4: version "2.6.0" resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.6.0.tgz#14059ad9d0b1680d0f04d3a60fe00f3a857303c3" @@ -5877,6 +6617,53 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== +zenstack@2.10.1: + version "2.10.1" + resolved "https://registry.yarnpkg.com/zenstack/-/zenstack-2.10.1.tgz#07a5a169f43786e668f96ef218420f41a6bd1aa0" + integrity sha512-EF6l0f4mhK10eh2Sq/M8xaDuvuF+CMFreq3XSDtN7fNQJT22Yw78cUzAYSfbbwsxtT8+jWsDusK1tHsAnvrIRg== + dependencies: + "@paralleldrive/cuid2" "^2.2.0" + "@types/node" "^20.12.7" + "@zenstackhq/language" "2.10.1" + "@zenstackhq/sdk" "2.10.1" + async-exit-hook "^2.0.1" + change-case "^4.1.2" + colors "1.4.0" + commander "^8.3.0" + deepmerge "^4.3.1" + langium "1.3.1" + lower-case-first "^2.0.2" + mixpanel "^0.17.0" + ora "^5.4.1" + pluralize "^8.0.0" + pretty-repl "^4.0.0" + semver "^7.5.2" + sleep-promise "^9.1.0" + strip-color "^0.1.0" + terminal-link "^2.0.0" + tiny-invariant "^1.3.1" + ts-morph "^16.0.0" + ts-pattern "^4.3.0" + upper-case-first "^2.0.2" + uuid "^9.0.0" + vscode-jsonrpc "^8.0.2" + vscode-languageclient "^8.0.2" + vscode-languageserver "^8.0.2" + vscode-languageserver-textdocument "^1.0.7" + vscode-uri "^3.0.6" + zod "^3.22.4" + zod-validation-error "^1.5.0" + +zod-validation-error@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-1.5.0.tgz#2b355007a1c3b7fb04fa476bfad4e7b3fd5491e3" + integrity sha512-/7eFkAI4qV0tcxMBB/3+d2c1P6jzzZYdYSlBuAklzMuCrJu5bzJfHS0yVAS87dRHVlhftd6RFJDIvv03JgkSbw== + +zod@^3.22.4: + version "3.24.1" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.1.tgz#27445c912738c8ad1e9de1bea0359fa44d9d35ee" + integrity sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A== + zod@^3.23.8: version "3.23.8" resolved "https://registry.yarnpkg.com/zod/-/zod-3.23.8.tgz#e37b957b5d52079769fb8097099b592f0ef4067d"